@icanbwell/composite 1.816.0 → 1.816.1
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.
- package/288.index.js +1 -1
- package/288.index.js.map +1 -1
- package/{170.index.js → 572.index.js} +2 -2
- package/572.index.js.map +1 -0
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/native.js +1 -1
- package/package.json +3 -3
- package/170.index.js.map +0 -1
package/288.index.js
CHANGED
|
@@ -5632,7 +5632,7 @@ Take a look at the reducer(s) handling this action type: `+Xe.type+`.
|
|
|
5632
5632
|
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),Nt.warnIfExceeded()),mt}}}}function xa(e){return typeof e=="boolean"}function Po(){return function(t){return Us(t)}}function Us(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,a=e.serializableCheck,u=a===void 0?!0:a,d=new Oo;if(r&&(xa(r)?d.push(St):d.push(St.withExtraArgument(r.extraArgument))),!1)var A,h;return d}var $s=!0;function cu(e){var t=Po(),r=e||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,u=a===void 0?t():a,d=r.devTools,A=d===void 0?!0:d,h=r.preloadedState,v=h===void 0?void 0:h,B=r.enhancers,te=B===void 0?void 0:B,me;if(typeof i=="function")me=i;else if(yn(i))me=de(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var Ee=u;if(typeof Ee=="function"&&(Ee=Ee(t),!$s&&!Array.isArray(Ee)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!$s&&Ee.some(function(mt){return typeof mt!="function"}))throw new Error("each middleware provided to configureStore must be a function");var be=et.apply(void 0,Ee),Ye=Ve;A&&(Ye=yi(Br({trace:!$s},typeof A=="object"&&A)));var Ke=[be];Array.isArray(te)?Ke=Ft([be],te):typeof te=="function"&&(Ke=te(Ke));var Xe=Ye.apply(void 0,Ke);return Re(me,v,Xe)}function la(e,t){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Br(Br({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function Tn(e){return yn(e)&&typeof e.type=="string"&&Object.keys(e).every(an)}function an(e){return["type","payload","error","meta"].indexOf(e)>-1}function lu(e){return""+e}function Ae(e){var t={},r=[],n,i={addCase:function(a,u){var d=typeof a=="string"?a:a.type;if(d in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[d]=u,i},addMatcher:function(a,u){return r.push({matcher:a,reducer:u}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,r,n]}function qe(e){return typeof e=="function"}var rt=!1;function Bt(e,t,r,n){r===void 0&&(r=[]);var i=typeof t=="function"?Ae(t):[t,r,n],a=i[0],u=i[1],d=i[2],A;if(qe(e))A=function(){return nt(e())};else{var h=nt(e);A=function(){return h}}function v(B,te){B===void 0&&(B=A());var me=Ft([a[te.type]],u.filter(function(Ee){var be=Ee.matcher;return be(te)}).map(function(Ee){var be=Ee.reducer;return be}));return me.filter(function(Ee){return!!Ee}).length===0&&(me=[d]),me.reduce(function(Ee,be){if(be)if(Me(Ee)){var Ye=Ee,Ke=be(Ye,te);return Ke===void 0?Ee:Ke}else{if(Te(Ee))return je(Ee,function(Xe){return be(Xe,te)});var Ke=be(Ee,te);if(Ke===void 0){if(Ee===null)return Ee;throw Error("A case reducer on a non-draftable value must not return undefined")}return Ke}return Ee},B)}return v.getInitialState=A,v}var xr=!1;function kr(e,t){return e+"/"+t}function on(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:nt(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},u={},d={};i.forEach(function(v){var B=n[v],te=kr(t,v),me,Ee;"reducer"in B?(me=B.reducer,Ee=B.prepare):me=B,a[v]=me,u[te]=me,d[v]=Ee?la(te,Ee):la(te)});function A(){var v=typeof e.extraReducers=="function"?Ae(e.extraReducers):[e.extraReducers],B=v[0],te=B===void 0?{}:B,me=v[1],Ee=me===void 0?[]:me,be=v[2],Ye=be===void 0?void 0:be,Ke=Br(Br({},te),u);return Bt(r,function(Xe){for(var mt in Ke)Xe.addCase(mt,Ke[mt]);for(var Nt=0,rr=Ee;Nt<rr.length;Nt++){var Pr=rr[Nt];Xe.addMatcher(Pr.matcher,Pr.reducer)}Ye&&Xe.addDefaultCase(Ye)})}var h;return{name:t,reducer:function(v,B){return h||(h=A()),h(v,B)},actions:d,caseReducers:a,getInitialState:function(){return h||(h=A()),h.getInitialState()}}}function er(){return{ids:[],entities:{}}}function An(){function e(t){return t===void 0&&(t={}),Object.assign(er(),t)}return{getInitialState:e}}function ni(){function e(t){var r=function(h){return h.ids},n=function(h){return h.entities},i=ui(r,n,function(h,v){return h.map(function(B){return v[B]})}),a=function(h,v){return v},u=function(h,v){return h[v]},d=ui(r,function(h){return h.length});if(!t)return{selectIds:r,selectEntities:n,selectAll:i,selectTotal:d,selectById:ui(n,a,u)};var A=ui(t,n);return{selectIds:ui(t,r),selectEntities:A,selectAll:ui(t,i),selectTotal:ui(t,d),selectById:ui(A,a,u)}}return{getSelectors:e}}function hi(e){var t=sn(function(r,n){return e(n)});return function(n){return t(n,void 0)}}function sn(e){return function(r,n){function i(u){return Tn(u)}var a=function(u){i(n)?e(n.payload,u):e(n,u)};return isDraft3(r)?(a(r),r):createNextState3(r,a)}}function Jn(e,t){var r=t(e);return r}function Qi(e){return Array.isArray(e)||(e=Object.values(e)),e}function no(e,t,r){e=Qi(e);for(var n=[],i=[],a=0,u=e;a<u.length;a++){var d=u[a],A=Jn(d,t);A in r.entities?i.push({id:A,changes:d}):n.push(d)}return[n,i]}function du(e){function t(Ee,be){var Ye=Jn(Ee,e);Ye in be.entities||(be.ids.push(Ye),be.entities[Ye]=Ee)}function r(Ee,be){Ee=Qi(Ee);for(var Ye=0,Ke=Ee;Ye<Ke.length;Ye++){var Xe=Ke[Ye];t(Xe,be)}}function n(Ee,be){var Ye=Jn(Ee,e);Ye in be.entities||be.ids.push(Ye),be.entities[Ye]=Ee}function i(Ee,be){Ee=Qi(Ee);for(var Ye=0,Ke=Ee;Ye<Ke.length;Ye++){var Xe=Ke[Ye];n(Xe,be)}}function a(Ee,be){Ee=Qi(Ee),be.ids=[],be.entities={},r(Ee,be)}function u(Ee,be){return d([Ee],be)}function d(Ee,be){var Ye=!1;Ee.forEach(function(Ke){Ke in be.entities&&(delete be.entities[Ke],Ye=!0)}),Ye&&(be.ids=be.ids.filter(function(Ke){return Ke in be.entities}))}function A(Ee){Object.assign(Ee,{ids:[],entities:{}})}function h(Ee,be,Ye){var Ke=Ye.entities[be.id],Xe=Object.assign({},Ke,be.changes),mt=Jn(Xe,e),Nt=mt!==be.id;return Nt&&(Ee[be.id]=mt,delete Ye.entities[be.id]),Ye.entities[mt]=Xe,Nt}function v(Ee,be){return B([Ee],be)}function B(Ee,be){var Ye={},Ke={};Ee.forEach(function(Nt){Nt.id in be.entities&&(Ke[Nt.id]={id:Nt.id,changes:Br(Br({},Ke[Nt.id]?Ke[Nt.id].changes:null),Nt.changes)})}),Ee=Object.values(Ke);var Xe=Ee.length>0;if(Xe){var mt=Ee.filter(function(Nt){return h(Ye,Nt,be)}).length>0;mt&&(be.ids=Object.keys(be.entities))}}function te(Ee,be){return me([Ee],be)}function me(Ee,be){var Ye=no(Ee,e,be),Ke=Ye[0],Xe=Ye[1];B(Xe,be),r(Ke,be)}return{removeAll:hi(A),addOne:sn(t),addMany:sn(r),setOne:sn(n),setMany:sn(i),setAll:sn(a),updateOne:sn(v),updateMany:sn(B),upsertOne:sn(te),upsertMany:sn(me),removeOne:sn(u),removeMany:sn(d)}}function fu(e,t){var r=du(e),n=r.removeOne,i=r.removeMany,a=r.removeAll;function u(Xe,mt){return d([Xe],mt)}function d(Xe,mt){Xe=Qi(Xe);var Nt=Xe.filter(function(rr){return!(Jn(rr,e)in mt.entities)});Nt.length!==0&&Ye(Nt,mt)}function A(Xe,mt){return h([Xe],mt)}function h(Xe,mt){Xe=Qi(Xe),Xe.length!==0&&Ye(Xe,mt)}function v(Xe,mt){Xe=Qi(Xe),mt.entities={},mt.ids=[],d(Xe,mt)}function B(Xe,mt){return te([Xe],mt)}function te(Xe,mt){for(var Nt=!1,rr=0,Pr=Xe;rr<Pr.length;rr++){var Lr=Pr[rr],mn=mt.entities[Lr.id];if(!!mn){Nt=!0,Object.assign(mn,Lr.changes);var Ga=e(mn);Lr.id!==Ga&&(delete mt.entities[Lr.id],mt.entities[Ga]=mn)}}Nt&&Ke(mt)}function me(Xe,mt){return Ee([Xe],mt)}function Ee(Xe,mt){var Nt=no(Xe,e,mt),rr=Nt[0],Pr=Nt[1];te(Pr,mt),d(rr,mt)}function be(Xe,mt){if(Xe.length!==mt.length)return!1;for(var Nt=0;Nt<Xe.length&&Nt<mt.length;Nt++)if(Xe[Nt]!==mt[Nt])return!1;return!0}function Ye(Xe,mt){Xe.forEach(function(Nt){mt.entities[e(Nt)]=Nt}),Ke(mt)}function Ke(Xe){var mt=Object.values(Xe.entities);mt.sort(t);var Nt=mt.map(e),rr=Xe.ids;be(rr,Nt)||(Xe.ids=Nt)}return{removeOne:n,removeMany:i,removeAll:a,addOne:sn(u),updateOne:sn(B),upsertOne:sn(me),setOne:sn(A),setMany:sn(h),setAll:sn(v),addMany:sn(d),updateMany:sn(te),upsertMany:sn(Ee)}}function Kf(e){e===void 0&&(e={});var t=Br({sortComparer:!1,selectId:function(d){return d.id}},e),r=t.selectId,n=t.sortComparer,i=An(),a=ni(),u=n?fu(r,n):du(r);return Br(Br(Br({selectId:r,sortComparer:n},i),a),u)}var ac="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ii=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=ac[Math.random()*64|0];return t},oc=["name","message","stack","code"],Si=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),sc=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),uc=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=oc;r<n.length;r++){var i=n[r];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},Mo=function(){function e(t,r,n){var i=la(t+"/fulfilled",function(v,B,te,me){return{payload:v,meta:Ei(Br({},me||{}),{arg:te,requestId:B,requestStatus:"fulfilled"})}}),a=la(t+"/pending",function(v,B,te){return{payload:void 0,meta:Ei(Br({},te||{}),{arg:B,requestId:v,requestStatus:"pending"})}}),u=la(t+"/rejected",function(v,B,te,me,Ee){return{payload:me,error:(n&&n.serializeError||uc)(v||"Rejected"),meta:Ei(Br({},Ee||{}),{arg:te,requestId:B,rejectedWithValue:!!me,requestStatus:"rejected",aborted:v?.name==="AbortError",condition:v?.name==="ConditionError"})}}),d=!1,A=typeof AbortController<"u"?AbortController:function(){function v(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return v.prototype.abort=function(){},v}();function h(v){return function(B,te,me){var Ee=n?.idGenerator?n.idGenerator(v):Ii(),be=new A,Ye,Ke=new Promise(function(rr,Pr){return be.signal.addEventListener("abort",function(){return Pr({name:"AbortError",message:Ye||"Aborted"})})}),Xe=!1;function mt(rr){Xe&&(Ye=rr,be.abort())}var Nt=function(){return Hn(this,null,function(){var rr,Pr,Lr,mn,Ga,gy;return It(this,function(Ri){switch(Ri.label){case 0:return Ri.trys.push([0,4,,5]),mn=(rr=n?.condition)==null?void 0:rr.call(n,v,{getState:te,extra:me}),io(mn)?[4,mn]:[3,2];case 1:mn=Ri.sent(),Ri.label=2;case 2:if(mn===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return Xe=!0,B(a(Ee,v,(Pr=n?.getPendingMeta)==null?void 0:Pr.call(n,{requestId:Ee,arg:v},{getState:te,extra:me}))),[4,Promise.race([Ke,Promise.resolve(r(v,{dispatch:B,getState:te,extra:me,requestId:Ee,signal:be.signal,abort:mt,rejectWithValue:function(pi,Wf){return new Si(pi,Wf)},fulfillWithValue:function(pi,Wf){return new sc(pi,Wf)}})).then(function(pi){if(pi instanceof Si)throw pi;return pi instanceof sc?i(pi.payload,Ee,v,pi.meta):i(pi,Ee,v)})])];case 3:return Lr=Ri.sent(),[3,5];case 4:return Ga=Ri.sent(),Lr=Ga instanceof Si?u(null,Ee,v,Ga.payload,Ga.meta):u(Ga,Ee,v),[3,5];case 5:return gy=n&&!n.dispatchConditionRejection&&u.match(Lr)&&Lr.meta.condition,gy||B(Lr),[2,Lr]}})})}();return Object.assign(Nt,{abort:mt,requestId:Ee,arg:v,unwrap:function(){return Nt.then(_u)}})}}return Object.assign(h,{pending:a,rejected:u,fulfilled:i,typePrefix:t})}return e.withTypes=e,e}();function _u(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function io(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Dn=function(e){return e&&typeof e.match=="function"},Fa=function(e,t){return Dn(e)?e.match(t):e(t)};function as(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(r){return e.some(function(n){return Fa(n,r)})}}function cc(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(r){return e.every(function(n){return Fa(n,r)})}}function Ta(e,t){if(!e||!e.meta)return!1;var r=typeof e.meta.requestId=="string",n=t.indexOf(e.meta.requestStatus)>-1;return r&&n}function Q(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function _(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length===0?function(r){return Ta(r,["pending"])}:Q(e)?function(r){var n=e.map(function(a){return a.pending}),i=as.apply(void 0,n);return i(r)}:_()(e[0])}function E(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length===0?function(r){return Ta(r,["rejected"])}:Q(e)?function(r){var n=e.map(function(a){return a.rejected}),i=as.apply(void 0,n);return i(r)}:E()(e[0])}function I(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=function(n){return n&&n.meta&&n.meta.rejectedWithValue};return e.length===0?function(n){var i=cc(E.apply(void 0,e),r);return i(n)}:Q(e)?function(n){var i=cc(E.apply(void 0,e),r);return i(n)}:I()(e[0])}function Z(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length===0?function(r){return Ta(r,["fulfilled"])}:Q(e)?function(r){var n=e.map(function(a){return a.fulfilled}),i=as.apply(void 0,n);return i(r)}:Z()(e[0])}function oe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length===0?function(r){return Ta(r,["pending","fulfilled","rejected"])}:Q(e)?function(r){for(var n=[],i=0,a=e;i<a.length;i++){var u=a[i];n.push(u.pending,u.rejected,u.fulfilled)}var d=as.apply(void 0,n);return d(r)}:oe()(e[0])}var fe=function(e,t){if(typeof e!="function")throw new TypeError(t+" is not a function")},we=function(){},Fe=function(e,t){return t===void 0&&(t=we),e.catch(t),e},Ge=function(e,t){e.addEventListener("abort",t,{once:!0})},Je=function(e,t){var r=e.signal;r.aborted||("reason"in r||Object.defineProperty(r,"reason",{enumerable:!0,value:t,configurable:!0,writable:!0}),e.abort(t))},it="task",Ze="listener",gt="completed",wt="cancelled",Pt="task-"+wt,xt="task-"+gt,kt=Ze+"-"+wt,Ar=Ze+"-"+gt,$t=function(){function e(t){this.code=t,this.name="TaskAbortError",this.message=it+" "+wt+" (reason: "+t+")"}return e}(),nr=function(e){if(e.aborted)throw new $t(e.reason)},Mr=function(e){return Fe(new Promise(function(t,r){var n=function(){return r(new $t(e.reason))};e.aborted?n():Ge(e,n)}))},yr=function(e,t){return Hn(void 0,null,function(){var r,n;return It(this,function(i){switch(i.label){case 0:return i.trys.push([0,3,4,5]),[4,Promise.resolve()];case 1:return i.sent(),[4,e()];case 2:return r=i.sent(),[2,{status:"ok",value:r}];case 3:return n=i.sent(),[2,{status:n instanceof $t?"cancelled":"rejected",error:n}];case 4:return t?.(),[7];case 5:return[2]}})})},Er=function(e){return function(t){return Fe(Promise.race([Mr(e),t]).then(function(r){return nr(e),r}))}},gn=function(e){var t=Er(e);return function(r){return t(new Promise(function(n){return setTimeout(n,r)}))}},qi=Object.assign,wn={},ci="listenerMiddleware",pu=function(e){var t=function(r){return Ge(e,function(){return Je(r,e.reason)})};return function(r){fe(r,"taskExecutor");var n=new AbortController;t(n);var i=yr(function(){return Hn(void 0,null,function(){var a;return It(this,function(u){switch(u.label){case 0:return nr(e),nr(n.signal),[4,r({pause:Er(n.signal),delay:gn(n.signal),signal:n.signal})];case 1:return a=u.sent(),nr(n.signal),[2,a]}})})},function(){return Je(n,xt)});return{result:Er(e)(i),cancel:function(){Je(n,Pt)}}}},zf=function(e,t){var r=function(n,i){return Hn(void 0,null,function(){var a,u,d,A;return It(this,function(h){switch(h.label){case 0:nr(t),a=function(){},u=new Promise(function(v){a=e({predicate:n,effect:function(B,te){te.unsubscribe(),v([B,te.getState(),te.getOriginalState()])}})}),d=[Mr(t),u],i!=null&&d.push(new Promise(function(v){return setTimeout(v,i,null)})),h.label=1;case 1:return h.trys.push([1,,3,4]),[4,Promise.race(d)];case 2:return A=h.sent(),nr(t),[2,A];case 3:return a(),[7];case 4:return[2]}})})};return function(n,i){return Fe(r(n,i))}},Gs=function(e){var t=e.type,r=e.actionCreator,n=e.matcher,i=e.predicate,a=e.effect;if(t)i=la(t).match;else if(r)t=r.type,i=r.match;else if(n)i=n;else if(!i)throw new Error("Creating or removing a listener requires one of the known fields for matching an action");return fe(a,"options.listener"),{predicate:i,type:t,effect:a}},Il=function(e){var t=Gs(e),r=t.type,n=t.predicate,i=t.effect,a=Ii(),u={id:a,effect:i,type:r,predicate:n,pending:new Set,unsubscribe:function(){throw new Error("Unsubscribe not initialized")}};return u},Va=function(e){return function(){e.forEach(da),e.clear()}},gi=function(e,t,r){try{e(t,r)}catch(n){setTimeout(function(){throw n},0)}},Nl=la(ci+"/add"),Ni=la(ci+"/removeAll"),my=la(ci+"/remove"),hu=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];console.error.apply(console,Ft([ci+"/error"],e))},da=function(e){e.pending.forEach(function(t){Je(t,kt)})};function Ey(e){var t=this;e===void 0&&(e={});var r=new Map,n=e.extra,i=e.onError,a=i===void 0?hu:i;fe(a,"onError");var u=function(me){return me.unsubscribe=function(){return r.delete(me.id)},r.set(me.id,me),function(Ee){me.unsubscribe(),Ee?.cancelActive&&da(me)}},d=function(me){for(var Ee=0,be=Array.from(r.values());Ee<be.length;Ee++){var Ye=be[Ee];if(me(Ye))return Ye}},A=function(me){var Ee=d(function(be){return be.effect===me.effect});return Ee||(Ee=Il(me)),u(Ee)},h=function(me){var Ee=Gs(me),be=Ee.type,Ye=Ee.effect,Ke=Ee.predicate,Xe=d(function(mt){var Nt=typeof be=="string"?mt.type===be:mt.predicate===Ke;return Nt&&mt.effect===Ye});return Xe&&(Xe.unsubscribe(),me.cancelActive&&da(Xe)),!!Xe},v=function(me,Ee,be,Ye){return Hn(t,null,function(){var Ke,Xe,mt;return It(this,function(Nt){switch(Nt.label){case 0:Ke=new AbortController,Xe=zf(A,Ke.signal),Nt.label=1;case 1:return Nt.trys.push([1,3,4,5]),me.pending.add(Ke),[4,Promise.resolve(me.effect(Ee,qi({},be,{getOriginalState:Ye,condition:function(rr,Pr){return Xe(rr,Pr).then(Boolean)},take:Xe,delay:gn(Ke.signal),pause:Er(Ke.signal),extra:n,signal:Ke.signal,fork:pu(Ke.signal),unsubscribe:me.unsubscribe,subscribe:function(){r.set(me.id,me)},cancelActiveListeners:function(){me.pending.forEach(function(rr,Pr,Lr){rr!==Ke&&(Je(rr,kt),Lr.delete(rr))})}})))];case 2:return Nt.sent(),[3,5];case 3:return mt=Nt.sent(),mt instanceof $t||gi(a,mt,{raisedBy:"effect"}),[3,5];case 4:return Je(Ke,Ar),me.pending.delete(Ke),[7];case 5:return[2]}})})},B=Va(r),te=function(me){return function(Ee){return function(be){if(Nl.match(be))return A(be.payload);if(Ni.match(be)){B();return}if(my.match(be))return h(be.payload);var Ye=me.getState(),Ke=function(){if(Ye===wn)throw new Error(ci+": getOriginalState can only be called synchronously");return Ye},Xe;try{if(Xe=Ee(be),r.size>0)for(var mt=me.getState(),Nt=Array.from(r.values()),rr=0,Pr=Nt;rr<Pr.length;rr++){var Lr=Pr[rr],mn=!1;try{mn=Lr.predicate(be,mt,Ye)}catch(Ga){mn=!1,gi(a,Ga,{raisedBy:"predicate"})}!mn||v(Lr,be,me,Ke)}}finally{Ye=wn}return Xe}}};return{middleware:te,startListening:A,stopListening:h,clearListeners:B}}var Zh="RTK_autoBatch",rN=function(){return function(e){var t;return{payload:e,meta:(t={},t[Zh]=!0,t)}}},eS,yy=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:p.g):function(e){return(eS||(eS=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Ty=function(e){return function(t){setTimeout(t,e)}},Xf=function(e){return e===void 0&&(e={type:"raf"}),function(t){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(void 0,r),a=!0,u=!1,d=!1,A=new Set,h=e.type==="tick"?yy:e.type==="raf"?requestAnimationFrame:e.type==="callback"?e.queueNotification:Ty(e.timeout),v=function(){d=!1,u&&(u=!1,A.forEach(function(B){return B()}))};return Object.assign({},i,{subscribe:function(B){var te=function(){return a&&B()},me=i.subscribe(te);return A.add(B),function(){me(),A.delete(B)}},dispatch:function(B){var te;try{return a=!((te=B?.meta)!=null&&te[Zh]),u=!a,u&&(d||(d=!0,h(v))),i.dispatch(B)}finally{a=!0}}})}}};zr();const We=on({name:"client",initialState:{},reducers:{replace:(e,{payload:t})=>t}}),ht=e=>e.client,ot={},jt=on({name:"user",initialState:ot,reducers:{replace:(e,{payload:t})=>t,updateTokens:(e,{payload:{accessToken:t,idToken:r,refreshToken:n}})=>{e.tokenData&&(e.tokenData.accessToken.jwtToken=t,e.tokenData.idToken.jwtToken=r,e.tokenData.refreshToken.token=n||e.tokenData.refreshToken.token)},logout:()=>ot}}),Tr=e=>e.user.tokenData,fn=e=>e.user,li=on({name:"telemetry",initialState:{},reducers:{replace:(e,{payload:t})=>t}}),In=e=>e.telemetry,Ll=on({name:"metadata",initialState:{},reducers:{replace:(e,{payload:t})=>t}}),Ay=e=>e.metadata,Aa=de({[We.name]:We.reducer,[jt.name]:jt.reducer,[li.name]:li.reducer,[Ll.name]:Ll.reducer}),Dl=e=>cu({reducer:Aa,preloadedState:e});We.actions;const Jf=jt.actions;var Li;(function(e){e.one="1.0.0"})(Li||(Li={}));const ii="orchestrator:state-service",wl=e=>({id:ii,create:()=>{const t=Dl(e);return{[Li.one]:()=>({featureService:{getStore:()=>t,getState:()=>t.getState(),getUser:()=>fn(t.getState()),getUserTokenData:()=>Tr(t.getState()),getClientContext:()=>ht(t.getState()),getTelemetryConfig:()=>In(t.getState()),setUser:r=>t.dispatch(Jf.replace(r)),updateTokens:r=>t.dispatch(Jf.updateTokens(r)),logoutUser:()=>t.dispatch(Jf.logout()),getMetadata:()=>Ay(t.getState())}})}}});var qr;(function(e){e.one="1.0.0"})(qr||(qr={}));const ao="orchestrator:api-client",tS={id:ao,dependencies:{featureServices:{[ii]:Li.one}},create:({featureServices:e})=>{const t=e[ii],{apiMap:r}=t.getClientContext(),n=new ie.ApiClient(r);return{[qr.one]:()=>({featureService:n})}}};var Ul=p(7799),Su=p(6843),nN=p(1085),Cy=p(4041),lc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ba=function(e){return e&&e.Math==Math&&e},Di=Ba(typeof globalThis=="object"&&globalThis)||Ba(typeof window=="object"&&window)||Ba(typeof self=="object"&&self)||Ba(typeof lc=="object"&&lc)||function(){return this}()||Function("return this")(),$l={},di=function(e){try{return!!e()}catch{return!0}},rS=di,ka=!rS(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Gl=di,xl=!Gl(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),dc=xl,oo=Function.prototype.call,ja=dc?oo.bind(oo):function(){return oo.apply(oo,arguments)},Zf={},nS={}.propertyIsEnumerable,iS=Object.getOwnPropertyDescriptor,Fl=iS&&!nS.call({1:2},1);Zf.f=Fl?function(t){var r=iS(this,t);return!!r&&r.enumerable}:nS;var gu=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},Vl=xl,aS=Function.prototype,oS=aS.bind,e_=aS.call,Oy=Vl&&oS.bind(e_,e_),Hr=Vl?function(e){return e&&Oy(e)}:function(e){return e&&function(){return e_.apply(e,arguments)}},wi=Hr,by=wi({}.toString),Ry=wi("".slice),Bl=function(e){return Ry(by(e),8,-1)},Py=Hr,t_=di,fc=Bl,_c=Object,vu=Py("".split),mu=t_(function(){return!_c("z").propertyIsEnumerable(0)})?function(e){return fc(e)=="String"?vu(e,""):_c(e)}:_c,pc=TypeError,os=function(e){if(e==null)throw pc("Can't call method on "+e);return e},Eu=mu,My=os,hc=function(e){return Eu(My(e))},Ui=function(e){return typeof e=="function"},Iy=Ui,Sc=function(e){return typeof e=="object"?e!==null:Iy(e)},yu=Di,gc=Ui,sS=function(e){return gc(e)?e:void 0},_e=function(e,t){return arguments.length<2?sS(yu[e]):yu[e]&&yu[e][t]},Tu=Hr,kl=Tu({}.isPrototypeOf),Ca=_e,Yr=Ca("navigator","userAgent")||"",uS=Di,r_=Yr,cS=uS.process,ss=uS.Deno,lS=cS&&cS.versions||ss&&ss.version,dS=lS&&lS.v8,Qa,jl;dS&&(Qa=dS.split("."),jl=Qa[0]>0&&Qa[0]<4?1:+(Qa[0]+Qa[1])),!jl&&r_&&(Qa=r_.match(/Edge\/(\d+)/),(!Qa||Qa[1]>=74)&&(Qa=r_.match(/Chrome\/(\d+)/),Qa&&(jl=+Qa[1])));var Ny=jl,so=Ny,Ly=di,fS=!!Object.getOwnPropertySymbols&&!Ly(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&so&&so<41}),Dy=fS,_S=Dy&&!Symbol.sham&&typeof Symbol.iterator=="symbol",wy=_e,Io=Ui,Uy=kl,$y=_S,Gy=Object,pS=$y?function(e){return typeof e=="symbol"}:function(e){var t=wy("Symbol");return Io(t)&&Uy(t.prototype,Gy(e))},xy=String,xs=function(e){try{return xy(e)}catch{return"Object"}},Fy=Ui,Vy=xs,qa=TypeError,By=function(e){if(Fy(e))return e;throw qa(Vy(e)+" is not a function")},ky=By,hS=function(e,t){var r=e[t];return r==null?void 0:ky(r)},n_=ja,i_=Ui,Ql=Sc,SS=TypeError,jy=function(e,t){var r,n;if(t==="string"&&i_(r=e.toString)&&!Ql(n=n_(r,e))||i_(r=e.valueOf)&&!Ql(n=n_(r,e))||t!=="string"&&i_(r=e.toString)&&!Ql(n=n_(r,e)))return n;throw SS("Can't convert object to primitive value")},ql={exports:{}},Hl=Di,vc=Object.defineProperty,Au=function(e,t){try{vc(Hl,e,{value:t,configurable:!0,writable:!0})}catch{Hl[e]=t}return t},Qy=Di,gS=Au,vS="__core-js_shared__",No=Qy[vS]||gS(vS,{}),mc=No,us=mc;(ql.exports=function(e,t){return us[e]||(us[e]=t!==void 0?t:{})})("versions",[]).push({version:"3.24.1",mode:"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Oa=os,qy=Object,Ec=function(e){return qy(Oa(e))},mS=Hr,yc=Ec,cs=mS({}.hasOwnProperty),uo=Object.hasOwn||function(t,r){return cs(yc(t),r)},Hy=Hr,Yl=0,Yy=Math.random(),ES=Hy(1 .toString),Ti=function(e){return"Symbol("+(e===void 0?"":e)+")_"+ES(++Yl+Yy,36)},a_=Di,yS=ql.exports,Ha=uo,o_=Ti,Tc=fS,ls=_S,Fs=yS("wks"),ai=a_.Symbol,Wl=ai&&ai.for,Wy=ls?ai:ai&&ai.withoutSetter||o_,co=function(e){if(!Ha(Fs,e)||!(Tc||typeof Fs[e]=="string")){var t="Symbol."+e;Tc&&Ha(ai,e)?Fs[e]=ai[e]:ls&&Wl?Fs[e]=Wl(t):Fs[e]=Wy(t)}return Fs[e]},Ky=ja,Kl=Sc,TS=pS,Ac=hS,AS=jy,zy=co,Xy=TypeError,Cc=zy("toPrimitive"),Jy=function(e,t){if(!Kl(e)||TS(e))return e;var r=Ac(e,Cc),n;if(r){if(t===void 0&&(t="default"),n=Ky(r,e,t),!Kl(n)||TS(n))return n;throw Xy("Can't convert object to primitive value")}return t===void 0&&(t="number"),AS(e,t)},Zy=Jy,s_=pS,u_=function(e){var t=Zy(e,"string");return s_(t)?t:t+""},eT=Di,CS=Sc,c_=eT.document,OS=CS(c_)&&CS(c_.createElement),Oc=function(e){return OS?c_.createElement(e):{}},tT=ka,l_=di,bS=Oc,d_=!tT&&!l_(function(){return Object.defineProperty(bS("div"),"a",{get:function(){return 7}}).a!=7}),RS=ka,zl=ja,rT=Zf,PS=gu,MS=hc,nT=u_,IS=uo,iT=d_,Xl=Object.getOwnPropertyDescriptor;$l.f=RS?Xl:function(t,r){if(t=MS(t),r=nT(r),iT)try{return Xl(t,r)}catch{}if(IS(t,r))return PS(!zl(rT.f,t,r),t[r])};var Lo={},f_=ka,aT=di,Jl=f_&&aT(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),$r=Sc,oT=String,sT=TypeError,ba=function(e){if($r(e))return e;throw sT(oT(e)+" is not an object")},NS=ka,uT=d_,cT=Jl,Hi=ba,LS=u_,Zl=TypeError,bc=Object.defineProperty,DS=Object.getOwnPropertyDescriptor,ed="enumerable",Yi="configurable",lo="writable";Lo.f=NS?cT?function(t,r,n){if(Hi(t),r=LS(r),Hi(n),typeof t=="function"&&r==="prototype"&&"value"in n&&lo in n&&!n[lo]){var i=DS(t,r);i&&i[lo]&&(t[r]=n.value,n={configurable:Yi in n?n[Yi]:i[Yi],enumerable:ed in n?n[ed]:i[ed],writable:!1})}return bc(t,r,n)}:bc:function(t,r,n){if(Hi(t),r=LS(r),Hi(n),uT)try{return bc(t,r,n)}catch{}if("get"in n||"set"in n)throw Zl("Accessors not supported");return"value"in n&&(t[r]=n.value),t};var __=ka,wS=Lo,td=gu,Cu=__?function(e,t,r){return wS.f(e,t,td(1,r))}:function(e,t,r){return e[t]=r,e},rd={exports:{}},nd=ka,p_=uo,id=Function.prototype,ds=nd&&Object.getOwnPropertyDescriptor,h_=p_(id,"name"),fs=h_&&function(){}.name==="something",US=h_&&(!nd||nd&&ds(id,"name").configurable),S_={EXISTS:h_,PROPER:fs,CONFIGURABLE:US},g_=Hr,lT=Ui,v_=mc,dT=g_(Function.toString);lT(v_.inspectSource)||(v_.inspectSource=function(e){return dT(e)});var m_=v_.inspectSource,$S=Di,fT=Ui,GS=m_,E_=$S.WeakMap,ta=fT(E_)&&/native code/.test(GS(E_)),fo=ql.exports,_T=Ti,xS=fo("keys"),Ou=function(e){return xS[e]||(xS[e]=_T(e))},_s={},FS=ta,y_=Di,T_=Hr,VS=Sc,bu=Cu,Vs=uo,A_=mc,BS=Ou,kS=_s,Rc="Object already initialized",ad=y_.TypeError,od=y_.WeakMap,Ru,ps,sd,jS=function(e){return sd(e)?ps(e):Ru(e,{})},ud=function(e){return function(t){var r;if(!VS(t)||(r=ps(t)).type!==e)throw ad("Incompatible receiver, "+e+" required");return r}};if(FS||A_.state){var hs=A_.state||(A_.state=new od),C_=T_(hs.get),QS=T_(hs.has),qS=T_(hs.set);Ru=function(e,t){if(QS(hs,e))throw new ad(Rc);return t.facade=e,qS(hs,e,t),t},ps=function(e){return C_(hs,e)||{}},sd=function(e){return QS(hs,e)}}else{var ra=BS("state");kS[ra]=!0,Ru=function(e,t){if(Vs(e,ra))throw new ad(Rc);return t.facade=e,bu(e,ra,t),t},ps=function(e){return Vs(e,ra)?e[ra]:{}},sd=function(e){return Vs(e,ra)}}var cd={set:Ru,get:ps,has:sd,enforce:jS,getterFor:ud},HS=di,pT=Ui,Pc=uo,O_=ka,hT=S_.CONFIGURABLE,Do=m_,ld=cd,b_=ld.enforce,R_=ld.get,Bs=Object.defineProperty,Pu=O_&&!HS(function(){return Bs(function(){},"length",{value:8}).length!==8}),cr=String(String).split("String"),dd=rd.exports=function(e,t,r){String(t).slice(0,7)==="Symbol("&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Pc(e,"name")||hT&&e.name!==t)&&(O_?Bs(e,"name",{value:t,configurable:!0}):e.name=t),Pu&&r&&Pc(r,"arity")&&e.length!==r.arity&&Bs(e,"length",{value:r.arity});try{r&&Pc(r,"constructor")&&r.constructor?O_&&Bs(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=b_(e);return Pc(n,"source")||(n.source=cr.join(typeof t=="string"?t:"")),e};Function.prototype.toString=dd(function(){return pT(this)&&R_(this).source||Do(this)},"toString");var P_=Ui,ks=Lo,ST=rd.exports,M_=Au,Mc=function(e,t,r,n){n||(n={});var i=n.enumerable,a=n.name!==void 0?n.name:t;if(P_(r)&&ST(r,a,n),n.global)i?e[t]=r:M_(t,r);else{try{n.unsafe?e[t]&&(i=!0):delete e[t]}catch{}i?e[t]=r:ks.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},$i={},gT=Math.ceil,vT=Math.floor,YS=Math.trunc||function(t){var r=+t;return(r>0?vT:gT)(r)},mT=YS,Ic=function(e){var t=+e;return t!==t||t===0?0:mT(t)},ET=Ic,yT=Math.max,TT=Math.min,wo=function(e,t){var r=ET(e);return r<0?yT(r+t,0):TT(r,t)},Wi=Ic,I_=Math.min,WS=function(e){return e>0?I_(Wi(e),9007199254740991):0},N_=WS,AT=function(e){return N_(e.length)},CT=hc,Nc=wo,KS=AT,L_=function(e){return function(t,r,n){var i=CT(t),a=KS(i),u=Nc(n,a),d;if(e&&r!=r){for(;a>u;)if(d=i[u++],d!=d)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===r)return e||u||0;return!e&&-1}},OT={includes:L_(!0),indexOf:L_(!1)},bT=Hr,D_=uo,RT=hc,zS=OT.indexOf,XS=_s,JS=bT([].push),fd=function(e,t){var r=RT(e),n=0,i=[],a;for(a in r)!D_(XS,a)&&D_(r,a)&&JS(i,a);for(;t.length>n;)D_(r,a=t[n++])&&(~zS(i,a)||JS(i,a));return i},_d=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Lc=fd,w_=_d,ZS=w_.concat("length","prototype");$i.f=Object.getOwnPropertyNames||function(t){return Lc(t,ZS)};var pd={};pd.f=Object.getOwnPropertySymbols;var hd=_e,eg=Hr,_o=$i,js=pd,PT=ba,tg=eg([].concat),MT=hd("Reflect","ownKeys")||function(t){var r=_o.f(PT(t)),n=js.f;return n?tg(r,n(t)):r},rg=uo,IT=MT,NT=$l,LT=Lo,DT=function(e,t,r){for(var n=IT(t),i=LT.f,a=NT.f,u=0;u<n.length;u++){var d=n[u];!rg(e,d)&&!(r&&rg(r,d))&&i(e,d,a(t,d))}},wT=di,UT=Ui,$T=/#|\.prototype\./,Dc=function(e,t){var r=ng[GT(e)];return r==ag?!0:r==ig?!1:UT(t)?wT(t):!!t},GT=Dc.normalize=function(e){return String(e).replace($T,".").toLowerCase()},ng=Dc.data={},ig=Dc.NATIVE="N",ag=Dc.POLYFILL="P",xT=Dc,U_=Di,FT=$l.f,og=Cu,VT=Mc,BT=Au,kT=DT,jT=xT,Sd=function(e,t){var r=e.target,n=e.global,i=e.stat,a,u,d,A,h,v;if(n?u=U_:i?u=U_[r]||BT(r,{}):u=(U_[r]||{}).prototype,u)for(d in t){if(h=t[d],e.dontCallGetSet?(v=FT(u,d),A=v&&v.value):A=u[d],a=jT(n?d:r+(i?".":"#")+d,e.forced),!a&&A!==void 0){if(typeof h==typeof A)continue;kT(h,A)}(e.sham||A&&A.sham)&&og(h,"sham",!0),VT(u,d,h,e)}},QT=co,Ra=QT("toStringTag"),sg={};sg[Ra]="z";var qT=String(sg)==="[object z]",HT=qT,ug=Ui,gd=Bl,YT=co,WT=YT("toStringTag"),KT=Object,$_=gd(function(){return arguments}())=="Arguments",zT=function(e,t){try{return e[t]}catch{}},XT=HT?gd:function(e){var t,r,n;return e===void 0?"Undefined":e===null?"Null":typeof(r=zT(t=KT(e),WT))=="string"?r:$_?gd(t):(n=gd(t))=="Object"&&ug(t.callee)?"Arguments":n},JT=XT,ZT=String,wc=function(e){if(JT(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return ZT(e)},cg=`
|
|
5633
5633
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,eA=Hr,tA=os,rA=wc,nA=cg,lg=eA("".replace),vd="["+nA+"]",iA=RegExp("^"+vd+vd+"*"),aA=RegExp(vd+vd+"*$"),G_=function(e){return function(t){var r=rA(tA(t));return e&1&&(r=lg(r,iA,"")),e&2&&(r=lg(r,aA,"")),r}},oA={start:G_(1),end:G_(2),trim:G_(3)},dg=Di,sA=di,uA=Hr,cA=wc,x_=oA.trim,F_=cg,Uc=dg.parseInt,fg=dg.Symbol,_g=fg&&fg.iterator,pg=/^[+-]?0x/i,lA=uA(pg.exec),dA=Uc(F_+"08")!==8||Uc(F_+"0x16")!==22||_g&&!sA(function(){Uc(Object(_g))}),fA=dA?function(t,r){var n=x_(cA(t));return Uc(n,r>>>0||(lA(pg,n)?16:10))}:Uc,_A=Sd,V_=fA;_A({global:!0,forced:parseInt!=V_},{parseInt:V_});var pA=ba,md=function(){var e=pA(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},B_=di,hA=Di,k_=hA.RegExp,j_=B_(function(){var e=k_("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),SA=j_||B_(function(){return!k_("a","y").sticky}),gA=j_||B_(function(){var e=k_("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),vA={BROKEN_CARET:gA,MISSED_STICKY:SA,UNSUPPORTED_Y:j_},hg={},mA=fd,EA=_d,Sg=Object.keys||function(t){return mA(t,EA)},yA=ka,TA=Jl,AA=Lo,CA=ba,OA=hc,gg=Sg;hg.f=yA&&!TA?Object.defineProperties:function(t,r){CA(t);for(var n=OA(r),i=gg(r),a=i.length,u=0,d;a>u;)AA.f(t,d=i[u++],n[d]);return t};var vg=_e,bA=vg("document","documentElement"),RA=ba,PA=hg,mg=_d,Ed=_s,MA=bA,IA=Oc,NA=Ou,Eg=">",yg="<",Q_="prototype",q_="script",Tg=NA("IE_PROTO"),H_=function(){},Ag=function(e){return yg+q_+Eg+e+yg+"/"+q_+Eg},Cg=function(e){e.write(Ag("")),e.close();var t=e.parentWindow.Object;return e=null,t},yd=function(){var e=IA("iframe"),t="java"+q_+":",r;return e.style.display="none",MA.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(Ag("document.F=Object")),r.close(),r.F},Td,$c=function(){try{Td=new ActiveXObject("htmlfile")}catch{}$c=typeof document<"u"?document.domain&&Td?Cg(Td):yd():Cg(Td);for(var e=mg.length;e--;)delete $c[Q_][mg[e]];return $c()};Ed[Tg]=!0;var Ad=Object.create||function(t,r){var n;return t!==null?(H_[Q_]=RA(t),n=new H_,H_[Q_]=null,n[Tg]=t):n=$c(),r===void 0?n:PA.f(n,r)},Y_=di,Og=Di,bg=Og.RegExp,Rg=Y_(function(){var e=bg(".","s");return!(e.dotAll&&e.exec(`
|
|
5634
5634
|
`)&&e.flags==="s")}),Pg=di,LA=Di,DA=LA.RegExp,wA=Pg(function(){var e=DA("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),Uo=ja,Qs=Hr,UA=wc,$A=md,W_=vA,Mg=ql.exports,GA=Ad,xA=cd.get,FA=Rg,VA=wA,BA=Mg("native-string-replace",String.prototype.replace),Cd=RegExp.prototype.exec,K_=Cd,kA=Qs("".charAt),jA=Qs("".indexOf),QA=Qs("".replace),z_=Qs("".slice),X_=function(){var e=/a/,t=/b*/g;return Uo(Cd,e,"a"),Uo(Cd,t,"a"),e.lastIndex!==0||t.lastIndex!==0}(),Pa=W_.BROKEN_CARET,J_=/()??/.exec("")[1]!==void 0,qA=X_||J_||Pa||FA||VA;qA&&(K_=function(t){var r=this,n=xA(r),i=UA(t),a=n.raw,u,d,A,h,v,B,te;if(a)return a.lastIndex=r.lastIndex,u=Uo(K_,a,i),r.lastIndex=a.lastIndex,u;var me=n.groups,Ee=Pa&&r.sticky,be=Uo($A,r),Ye=r.source,Ke=0,Xe=i;if(Ee&&(be=QA(be,"y",""),jA(be,"g")===-1&&(be+="g"),Xe=z_(i,r.lastIndex),r.lastIndex>0&&(!r.multiline||r.multiline&&kA(i,r.lastIndex-1)!==`
|
|
5635
|
-
`)&&(Ye="(?: "+Ye+")",Xe=" "+Xe,Ke++),d=new RegExp("^(?:"+Ye+")",be)),J_&&(d=new RegExp("^"+Ye+"$(?!\\s)",be)),X_&&(A=r.lastIndex),h=Uo(Cd,Ee?d:r,Xe),Ee?h?(h.input=z_(h.input,Ke),h[0]=z_(h[0],Ke),h.index=r.lastIndex,r.lastIndex+=h[0].length):r.lastIndex=0:X_&&h&&(r.lastIndex=r.global?h.index+h[0].length:A),J_&&h&&h.length>1&&Uo(BA,h[0],d,function(){for(v=1;v<arguments.length-2;v++)arguments[v]===void 0&&(h[v]=void 0)}),h&&me)for(h.groups=B=GA(null),v=0;v<me.length;v++)te=me[v],B[te[0]]=h[te[1]];return h});var $o=K_,Cr=Sd,Ig=$o;Cr({target:"RegExp",proto:!0,forced:/./.exec!==Ig},{exec:Ig});var na=xl,Zn=Function.prototype,Ng=Zn.apply,Go=Zn.call,HA=typeof Reflect=="object"&&Reflect.apply||(na?Go.bind(Ng):function(){return Go.apply(Ng,arguments)}),Lg=Hr,Dg=Mc,YA=$o,wg=di,Od=co,WA=Cu,xo=Od("species"),bd=RegExp.prototype,Rd=function(e,t,r,n){var i=Od(e),a=!wg(function(){var h={};return h[i]=function(){return 7},""[e](h)!=7}),u=a&&!wg(function(){var h=!1,v=/a/;return e==="split"&&(v={},v.constructor={},v.constructor[xo]=function(){return v},v.flags="",v[i]=/./[i]),v.exec=function(){return h=!0,null},v[i](""),!h});if(!a||!u||r){var d=Lg(/./[i]),A=t(i,""[e],function(h,v,B,te,me){var Ee=Lg(h),be=v.exec;return be===YA||be===bd.exec?a&&!me?{done:!0,value:d(v,B,te)}:{done:!0,value:Ee(B,v,te)}:{done:!1}});Dg(String.prototype,e,A[0]),Dg(bd,i,A[1])}n&&WA(bd[i],"sham",!0)},Vn=Hr,ei=Ic,Ug=wc,KA=os,zA=Vn("".charAt),$g=Vn("".charCodeAt),XA=Vn("".slice),Gg=function(e){return function(t,r){var n=Ug(KA(t)),i=ei(r),a=n.length,u,d;return i<0||i>=a?e?"":void 0:(u=$g(n,i),u<55296||u>56319||i+1===a||(d=$g(n,i+1))<56320||d>57343?e?zA(n,i):u:e?XA(n,i,i+2):(u-55296<<10)+(d-56320)+65536)}},JA={codeAt:Gg(!1),charAt:Gg(!0)},xg=JA.charAt,Gc=function(e,t,r){return t+(r?xg(e,t).length:1)},xc=Hr,ZA=Ec,Fg=Math.floor,Mu=xc("".charAt),fa=xc("".replace),Ss=xc("".slice),eC=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,tC=/\$([$&'`]|\d{1,2})/g,rC=function(e,t,r,n,i,a){var u=r+e.length,d=n.length,A=tC;return i!==void 0&&(i=ZA(i),A=eC),fa(a,A,function(h,v){var B;switch(Mu(v,0)){case"$":return"$";case"&":return e;case"`":return Ss(t,0,r);case"'":return Ss(t,u);case"<":B=i[Ss(v,1,-1)];break;default:var te=+v;if(te===0)return h;if(te>d){var me=Fg(te/10);return me===0?h:me<=d?n[me-1]===void 0?Mu(v,1):n[me-1]+Mu(v,1):h}B=n[te-1]}return B===void 0?"":B})},Vg=ja,nC=ba,Bg=Ui,Fo=Bl,Dr=$o,kg=TypeError,Ma=function(e,t){var r=e.exec;if(Bg(r)){var n=Vg(r,e,t);return n!==null&&nC(n),n}if(Fo(e)==="RegExp")return Vg(Dr,e,t);throw kg("RegExp#exec called on incompatible receiver")},jg=HA,Qg=ja,tn=Hr,iC=Rd,qg=di,Pd=ba,aC=Ui,oC=Ic,sC=WS,Iu=wc,uC=os,cC=Gc,lC=hS,dC=rC,fC=Ma,_C=co,Z_=_C("replace"),pC=Math.max,hC=Math.min,ep=tn([].concat),tp=tn([].push),Md=tn("".indexOf),Hg=tn("".slice),SC=function(e){return e===void 0?e:String(e)},gC=function(){return"a".replace(/./,"$0")==="$0"}(),vi=function(){return/./[Z_]?/./[Z_]("a","$0")==="":!1}(),ia=!qg(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"});iC("replace",function(e,t,r){var n=vi?"$":"$0";return[function(a,u){var d=uC(this),A=a==null?void 0:lC(a,Z_);return A?Qg(A,a,d,u):Qg(t,Iu(d),a,u)},function(i,a){var u=Pd(this),d=Iu(i);if(typeof a=="string"&&Md(a,n)===-1&&Md(a,"$<")===-1){var A=r(t,u,d,a);if(A.done)return A.value}var h=aC(a);h||(a=Iu(a));var v=u.global;if(v){var B=u.unicode;u.lastIndex=0}for(var te=[];;){var me=fC(u,d);if(me===null||(tp(te,me),!v))break;var Ee=Iu(me[0]);Ee===""&&(u.lastIndex=cC(d,sC(u.lastIndex),B))}for(var be="",Ye=0,Ke=0;Ke<te.length;Ke++){me=te[Ke];for(var Xe=Iu(me[0]),mt=pC(hC(oC(me.index),d.length),0),Nt=[],rr=1;rr<me.length;rr++)tp(Nt,SC(me[rr]));var Pr=me.groups;if(h){var Lr=ep([Xe],Nt,mt,d);Pr!==void 0&&tp(Lr,Pr);var mn=Iu(jg(a,void 0,Lr))}else mn=dC(Xe,d,mt,Nt,Pr,a);mt>=Ye&&(be+=Hg(d,Ye,mt)+mn,Ye=mt+Xe.length)}return be+Hg(d,Ye)}]},!ia||!gC||vi);var vC=co,mC=Ad,EC=Lo.f,Id=vC("unscopables"),rp=Array.prototype;rp[Id]==null&&EC(rp,Id,{configurable:!0,value:mC(null)});var yC=function(e){rp[Id][e]=!0},np={},Yg=di,TC=!Yg(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),AC=uo,CC=Ui,Wg=Ec,Kg=Ou,OC=TC,zg=Kg("IE_PROTO"),ip=Object,bC=ip.prototype,qs=OC?ip.getPrototypeOf:function(e){var t=Wg(e);if(AC(t,zg))return t[zg];var r=t.constructor;return CC(r)&&t instanceof r?r.prototype:t instanceof ip?bC:null},RC=di,PC=Ui,Xg=qs,MC=Mc,IC=co,Nd=IC("iterator"),ap=!1,Hs,op,sp;[].keys&&(sp=[].keys(),"next"in sp?(op=Xg(Xg(sp)),op!==Object.prototype&&(Hs=op)):ap=!0);var NC=Hs==null||RC(function(){var e={};return Hs[Nd].call(e)!==e});NC&&(Hs={}),PC(Hs[Nd])||MC(Hs,Nd,function(){return this});var Jg={IteratorPrototype:Hs,BUGGY_SAFARI_ITERATORS:ap},LC=Lo.f,DC=uo,wC=co,Zg=wC("toStringTag"),ev=function(e,t,r){e&&!r&&(e=e.prototype),e&&!DC(e,Zg)&&LC(e,Zg,{configurable:!0,value:t})},UC=Jg.IteratorPrototype,$C=Ad,GC=gu,xC=ev,FC=np,VC=function(){return this},BC=function(e,t,r,n){var i=t+" Iterator";return e.prototype=$C(UC,{next:GC(+!n,r)}),xC(e,i,!1),FC[i]=VC,e},kC=Ui,jC=String,QC=TypeError,qC=function(e){if(typeof e=="object"||kC(e))return e;throw QC("Can't set "+jC(e)+" as a prototype")},HC=Hr,YC=ba,WC=qC,KC=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=HC(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),r(t,[]),e=t instanceof Array}catch{}return function(i,a){return YC(i),WC(a),e?r(i,a):i.__proto__=a,i}}():void 0),up=Sd,tv=ja,cp=S_,zC=Ui,XC=BC,rv=qs,Ld=KC,JC=ev,ZC=Cu,lp=Mc,aa=co,dp=np,nv=Jg,eO=cp.PROPER,tO=cp.CONFIGURABLE,iv=nv.IteratorPrototype,Nu=nv.BUGGY_SAFARI_ITERATORS,Fc=aa("iterator"),Dd="keys",Vc="values",av="entries",rO=function(){return this},nO=function(e,t,r,n,i,a,u){XC(r,t,n);var d=function(Ke){if(Ke===i&&te)return te;if(!Nu&&Ke in v)return v[Ke];switch(Ke){case Dd:return function(){return new r(this,Ke)};case Vc:return function(){return new r(this,Ke)};case av:return function(){return new r(this,Ke)}}return function(){return new r(this)}},A=t+" Iterator",h=!1,v=e.prototype,B=v[Fc]||v["@@iterator"]||i&&v[i],te=!Nu&&B||d(i),me=t=="Array"&&v.entries||B,Ee,be,Ye;if(me&&(Ee=rv(me.call(new e)),Ee!==Object.prototype&&Ee.next&&(rv(Ee)!==iv&&(Ld?Ld(Ee,iv):zC(Ee[Fc])||lp(Ee,Fc,rO)),JC(Ee,A,!0))),eO&&i==Vc&&B&&B.name!==Vc&&(tO?ZC(v,"name",Vc):(h=!0,te=function(){return tv(B,this)})),i)if(be={values:d(Vc),keys:a?te:d(Dd),entries:d(av)},u)for(Ye in be)(Nu||h||!(Ye in v))&&lp(v,Ye,be[Ye]);else up({target:t,proto:!0,forced:Nu||h},be);return v[Fc]!==te&&lp(v,Fc,te,{name:i}),dp[t]=te,be},ov=hc,fp=yC,sv=np,uv=cd,_p=Lo.f,pp=nO,iO=ka,cv="Array Iterator",aO=uv.set,oO=uv.getterFor(cv),sO=pp(Array,"Array",function(e,t){aO(this,{type:cv,target:ov(e),index:0,kind:t})},function(){var e=oO(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):r=="keys"?{value:n,done:!1}:r=="values"?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}},"values"),lv=sv.Arguments=sv.Array;if(fp("keys"),fp("values"),fp("entries"),iO&&lv.name!=="values")try{_p(lv,"name",{value:"values"})}catch{}var uO={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},cO=Oc,hp=cO("span").classList,dv=hp&&hp.constructor&&hp.constructor.prototype,lO=dv===Object.prototype?void 0:dv,fv=Di,_v=uO,dO=lO,Bc=sO,Sp=Cu,pv=co,gp=pv("iterator"),hv=pv("toStringTag"),vp=Bc.values,Sv=function(e,t){if(e){if(e[gp]!==vp)try{Sp(e,gp,vp)}catch{e[gp]=vp}if(e[hv]||Sp(e,hv,t),_v[t]){for(var r in Bc)if(e[r]!==Bc[r])try{Sp(e,r,Bc[r])}catch{e[r]=Bc[r]}}}};for(var o in _v)Sv(fv[o]&&fv[o].prototype,o);Sv(dO,"DOMTokenList");function s(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function S(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r}var F,ne,Se;function Le(e){let t=0;if(e.length===0)return t;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t=t&t;return t}class Be{constructor({definitions:t,uuid:r,appVersion:n}){F.set(this,void 0),ne.set(this,void 0),Se.set(this,void 0),S(this,F,t,"f"),S(this,ne,parseInt(`0x${r.replace(/-/g,"")}`),"f"),S(this,Se,n,"f")}getFeatureFlagVariant(t,r){const n=s(this,F,"f").find(a=>a.name===t);let i=0;if(n){const a=Le(n.id),u=Math.abs(s(this,ne,"f")-a)%100;return n.variants.find(({percent:A})=>(i=A+i,u<i))||{name:"control",percent:100-i,value:r}}}getFeatureFlagValue(t,r){const n=this.getFeatureFlagVariant(t,r);if(n&&s(this,Se,"f")){if(n.exactVersion){if(!Su.valid(s(this,Se,"f"))||!Su.valid(n.exactVersion)||!Su.eq(s(this,Se,"f"),n.exactVersion))return r}else if(n.minimumRequiredVersion&&(!Su.valid(s(this,Se,"f"))||!Su.valid(n.minimumRequiredVersion)||Su.lt(s(this,Se,"f"),n.minimumRequiredVersion)))return r}return n?.value||r}}F=new WeakMap,ne=new WeakMap,Se=new WeakMap;var ze=ka,yt=Hr,Tt=ja,bt=di,Gt=Sg,Jt=pd,fr=Zf,Ur=Ec,_r=mu,Ir=Object.assign,Wr=Object.defineProperty,_a=yt([].concat),Ki=!Ir||bt(function(){if(ze&&Ir({b:1},Ir(Wr({},"a",{enumerable:!0,get:function(){Wr(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(i){t[i]=i}),Ir({},e)[r]!=7||Gt(Ir({},t)).join("")!=n})?function(t,r){for(var n=Ur(t),i=arguments.length,a=1,u=Jt.f,d=fr.f;i>a;)for(var A=_r(arguments[a++]),h=u?_a(Gt(A),u(A)):Gt(A),v=h.length,B=0,te;v>B;)te=h[B++],(!ze||Tt(d,A,te))&&(n[te]=A[te]);return n}:Ir,pa=Sd,ti=Ki;pa({target:"Object",stat:!0,arity:2,forced:Object.assign!==ti},{assign:ti});const Ia=null,gs=({children:e,featureFlags:t})=>jsx(Ia.Provider,Object.assign({value:t},{children:e}));function fO(e,t){const r=React.useContext(Ia);return r?.getFeatureFlagValue(e,t)||t}var mp;(function(e){e.one="1.0.0"})(mp||(mp={}));const gv="orchestrator:feature-flags-service",ZQ={id:gv,dependencies:{featureServices:{[ii]:Li.one},externals:{}},create:({featureServices:e})=>{var t;const r=e[ii],n="b0e74b60-1797-4d34-b90a-712a93f4e732",i=r.getClientContext(),a=new Be({uuid:n,definitions:((t=i?.featureFlagConfiguration)===null||t===void 0?void 0:t.featureFlagDefinitions)||[],appVersion:r.getMetadata().version});return{[mp.one]:()=>({featureService:a})}}};var iN=p(3170),Lu;(function(e){e.one="1.0.0"})(Lu||(Lu={}));const Ys="orchestrator:logging-service",eq={id:Ys,dependencies:{featureServices:{[ii]:Li.one,[gv]:mp.one}},create:({featureServices:e})=>{const t=e[ii],r=e[gv],{environment:n,slug:i}=t.getClientContext(),a=t.getTelemetryConfig(),{version:u}=t.getMetadata(),d=r.getFeatureFlagValue("client log url",void 0),A=(0,iN.default)({url:typeof d=="string"?d:void 0,telemetry:a,environment:n,clientSlug:i,appVersion:u});return{[Lu.one]:()=>({featureService:A})}}};var vv;(function(e){e.one="1.0.0"})(vv||(vv={}));const aN="orchestrator:theme-service",tq={id:aN,dependencies:{featureServices:{[ao]:qr.one,[ii]:Li.one,[Ys]:Lu.one}},create:({featureServices:e})=>{const t=e[ao],r=e[ii],n=e[Ys],{slug:i}=r.getClientContext(),a=new Ul.ThemeFactory(t,i);return a.createTheme().catch(u=>{n.error(u,"Error occurred while prefetching theme")}),{[vv.one]:()=>({featureService:a})}}};var oN=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},mv=function(e){return e&&e.Math==Math&&e},Fi=mv(typeof globalThis=="object"&&globalThis)||mv(typeof window=="object"&&window)||mv(typeof self=="object"&&self)||mv(typeof oN=="object"&&oN)||function(){return this}()||Function("return this")(),Ev={},Ya=function(e){try{return!!e()}catch{return!0}},rq=Ya,Vo=!rq(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),nq=Ya,yv=!nq(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),iq=yv,Tv=Function.prototype.call,po=iq?Tv.bind(Tv):function(){return Tv.apply(Tv,arguments)},_O={},sN={}.propertyIsEnumerable,uN=Object.getOwnPropertyDescriptor,aq=uN&&!sN.call({1:2},1);_O.f=aq?function(t){var r=uN(this,t);return!!r&&r.enumerable}:sN;var pO=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},cN=yv,lN=Function.prototype,oq=lN.bind,hO=lN.call,sq=cN&&oq.bind(hO,hO),Na=cN?function(e){return e&&sq(e)}:function(e){return e&&function(){return hO.apply(e,arguments)}},dN=Na,uq=dN({}.toString),cq=dN("".slice),SO=function(e){return cq(uq(e),8,-1)},lq=Na,dq=Ya,fq=SO,gO=Object,_q=lq("".split),fN=dq(function(){return!gO("z").propertyIsEnumerable(0)})?function(e){return fq(e)=="String"?_q(e,""):gO(e)}:gO,pq=TypeError,_N=function(e){if(e==null)throw pq("Can't call method on "+e);return e},hq=fN,Sq=_N,Ep=function(e){return hq(Sq(e))},Ai=function(e){return typeof e=="function"},gq=Ai,kc=function(e){return typeof e=="object"?e!==null:gq(e)},vO=Fi,vq=Ai,mq=function(e){return vq(e)?e:void 0},Du=function(e,t){return arguments.length<2?mq(vO[e]):vO[e]&&vO[e][t]},Eq=Na,mO=Eq({}.isPrototypeOf),yq=Du,Av=yq("navigator","userAgent")||"",pN=Fi,EO=Av,hN=pN.process,SN=pN.Deno,gN=hN&&hN.versions||SN&&SN.version,vN=gN&&gN.v8,Bo,Cv;vN&&(Bo=vN.split("."),Cv=Bo[0]>0&&Bo[0]<4?1:+(Bo[0]+Bo[1])),!Cv&&EO&&(Bo=EO.match(/Edge\/(\d+)/),(!Bo||Bo[1]>=74)&&(Bo=EO.match(/Chrome\/(\d+)/),Bo&&(Cv=+Bo[1])));var mN=Cv,EN=mN,Tq=Ya,yN=!!Object.getOwnPropertySymbols&&!Tq(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&EN&&EN<41}),Aq=yN,TN=Aq&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Cq=Du,Oq=Ai,bq=mO,Rq=TN,Pq=Object,AN=Rq?function(e){return typeof e=="symbol"}:function(e){var t=Cq("Symbol");return Oq(t)&&bq(t.prototype,Pq(e))},Mq=String,Ov=function(e){try{return Mq(e)}catch{return"Object"}},Iq=Ai,Nq=Ov,Lq=TypeError,jc=function(e){if(Iq(e))return e;throw Lq(Nq(e)+" is not a function")},Dq=jc,yO=function(e,t){var r=e[t];return r==null?void 0:Dq(r)},TO=po,AO=Ai,CO=kc,wq=TypeError,Uq=function(e,t){var r,n;if(t==="string"&&AO(r=e.toString)&&!CO(n=TO(r,e))||AO(r=e.valueOf)&&!CO(n=TO(r,e))||t!=="string"&&AO(r=e.toString)&&!CO(n=TO(r,e)))return n;throw wq("Can't convert object to primitive value")},OO={exports:{}},CN=Fi,$q=Object.defineProperty,bO=function(e,t){try{$q(CN,e,{value:t,configurable:!0,writable:!0})}catch{CN[e]=t}return t},Gq=Fi,xq=bO,ON="__core-js_shared__",Fq=Gq[ON]||xq(ON,{}),RO=Fq,bN=RO;(OO.exports=function(e,t){return bN[e]||(bN[e]=t!==void 0?t:{})})("versions",[]).push({version:"3.24.1",mode:"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Vq=_N,Bq=Object,PO=function(e){return Bq(Vq(e))},kq=Na,jq=PO,Qq=kq({}.hasOwnProperty),vs=Object.hasOwn||function(t,r){return Qq(jq(t),r)},qq=Na,Hq=0,Yq=Math.random(),Wq=qq(1 .toString),RN=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Wq(++Hq+Yq,36)},Kq=Fi,zq=OO.exports,PN=vs,Xq=RN,MN=yN,IN=TN,wd=zq("wks"),Qc=Kq.Symbol,NN=Qc&&Qc.for,Jq=IN?Qc:Qc&&Qc.withoutSetter||Xq,La=function(e){if(!PN(wd,e)||!(MN||typeof wd[e]=="string")){var t="Symbol."+e;MN&&PN(Qc,e)?wd[e]=Qc[e]:IN&&NN?wd[e]=NN(t):wd[e]=Jq(t)}return wd[e]},Zq=po,LN=kc,DN=AN,eH=yO,tH=Uq,rH=La,nH=TypeError,iH=rH("toPrimitive"),aH=function(e,t){if(!LN(e)||DN(e))return e;var r=eH(e,iH),n;if(r){if(t===void 0&&(t="default"),n=Zq(r,e,t),!LN(n)||DN(n))return n;throw nH("Can't convert object to primitive value")}return t===void 0&&(t="number"),tH(e,t)},oH=aH,sH=AN,wN=function(e){var t=oH(e,"string");return sH(t)?t:t+""},uH=Fi,UN=kc,MO=uH.document,cH=UN(MO)&&UN(MO.createElement),bv=function(e){return cH?MO.createElement(e):{}},lH=Vo,dH=Ya,fH=bv,$N=!lH&&!dH(function(){return Object.defineProperty(fH("div"),"a",{get:function(){return 7}}).a!=7}),_H=Vo,pH=po,hH=_O,SH=pO,gH=Ep,vH=wN,mH=vs,EH=$N,GN=Object.getOwnPropertyDescriptor;Ev.f=_H?GN:function(t,r){if(t=gH(t),r=vH(r),EH)try{return GN(t,r)}catch{}if(mH(t,r))return SH(!pH(hH.f,t,r),t[r])};var Ws={},yH=Vo,TH=Ya,xN=yH&&TH(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),AH=kc,CH=String,OH=TypeError,ms=function(e){if(AH(e))return e;throw OH(CH(e)+" is not an object")},bH=Vo,RH=$N,PH=xN,Rv=ms,FN=wN,MH=TypeError,IO=Object.defineProperty,IH=Object.getOwnPropertyDescriptor,NO="enumerable",LO="configurable",DO="writable";Ws.f=bH?PH?function(t,r,n){if(Rv(t),r=FN(r),Rv(n),typeof t=="function"&&r==="prototype"&&"value"in n&&DO in n&&!n[DO]){var i=IH(t,r);i&&i[DO]&&(t[r]=n.value,n={configurable:LO in n?n[LO]:i[LO],enumerable:NO in n?n[NO]:i[NO],writable:!1})}return IO(t,r,n)}:IO:function(t,r,n){if(Rv(t),r=FN(r),Rv(n),RH)try{return IO(t,r,n)}catch{}if("get"in n||"set"in n)throw MH("Accessors not supported");return"value"in n&&(t[r]=n.value),t};var NH=Vo,LH=Ws,DH=pO,Pv=NH?function(e,t,r){return LH.f(e,t,DH(1,r))}:function(e,t,r){return e[t]=r,e},VN={exports:{}},wO=Vo,wH=vs,BN=Function.prototype,UH=wO&&Object.getOwnPropertyDescriptor,UO=wH(BN,"name"),$H=UO&&function(){}.name==="something",GH=UO&&(!wO||wO&&UH(BN,"name").configurable),kN={EXISTS:UO,PROPER:$H,CONFIGURABLE:GH},xH=Na,FH=Ai,$O=RO,VH=xH(Function.toString);FH($O.inspectSource)||($O.inspectSource=function(e){return VH(e)});var Mv=$O.inspectSource,BH=Fi,kH=Ai,jH=Mv,jN=BH.WeakMap,QH=kH(jN)&&/native code/.test(jH(jN)),qH=OO.exports,HH=RN,QN=qH("keys"),GO=function(e){return QN[e]||(QN[e]=HH(e))},xO={},YH=QH,qN=Fi,FO=Na,WH=kc,KH=Pv,VO=vs,BO=RO,zH=GO,XH=xO,HN="Object already initialized",kO=qN.TypeError,JH=qN.WeakMap,Iv,yp,Nv,ZH=function(e){return Nv(e)?yp(e):Iv(e,{})},eY=function(e){return function(t){var r;if(!WH(t)||(r=yp(t)).type!==e)throw kO("Incompatible receiver, "+e+" required");return r}};if(YH||BO.state){var qc=BO.state||(BO.state=new JH),tY=FO(qc.get),YN=FO(qc.has),rY=FO(qc.set);Iv=function(e,t){if(YN(qc,e))throw new kO(HN);return t.facade=e,rY(qc,e,t),t},yp=function(e){return tY(qc,e)||{}},Nv=function(e){return YN(qc,e)}}else{var Ud=zH("state");XH[Ud]=!0,Iv=function(e,t){if(VO(e,Ud))throw new kO(HN);return t.facade=e,KH(e,Ud,t),t},yp=function(e){return VO(e,Ud)?e[Ud]:{}},Nv=function(e){return VO(e,Ud)}}var jO={set:Iv,get:yp,has:Nv,enforce:ZH,getterFor:eY},nY=Ya,iY=Ai,Lv=vs,QO=Vo,aY=kN.CONFIGURABLE,oY=Mv,WN=jO,sY=WN.enforce,uY=WN.get,Dv=Object.defineProperty,cY=QO&&!nY(function(){return Dv(function(){},"length",{value:8}).length!==8}),lY=String(String).split("String"),dY=VN.exports=function(e,t,r){String(t).slice(0,7)==="Symbol("&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Lv(e,"name")||aY&&e.name!==t)&&(QO?Dv(e,"name",{value:t,configurable:!0}):e.name=t),cY&&r&&Lv(r,"arity")&&e.length!==r.arity&&Dv(e,"length",{value:r.arity});try{r&&Lv(r,"constructor")&&r.constructor?QO&&Dv(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=sY(e);return Lv(n,"source")||(n.source=lY.join(typeof t=="string"?t:"")),e};Function.prototype.toString=dY(function(){return iY(this)&&uY(this).source||oY(this)},"toString");var fY=Ai,_Y=Ws,pY=VN.exports,hY=bO,Tp=function(e,t,r,n){n||(n={});var i=n.enumerable,a=n.name!==void 0?n.name:t;if(fY(r)&&pY(r,a,n),n.global)i?e[t]=r:hY(t,r);else{try{n.unsafe?e[t]&&(i=!0):delete e[t]}catch{}i?e[t]=r:_Y.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},KN={},SY=Math.ceil,gY=Math.floor,vY=Math.trunc||function(t){var r=+t;return(r>0?gY:SY)(r)},mY=vY,zN=function(e){var t=+e;return t!==t||t===0?0:mY(t)},EY=zN,yY=Math.max,TY=Math.min,AY=function(e,t){var r=EY(e);return r<0?yY(r+t,0):TY(r,t)},CY=zN,OY=Math.min,bY=function(e){return e>0?OY(CY(e),9007199254740991):0},RY=bY,XN=function(e){return RY(e.length)},PY=Ep,MY=AY,IY=XN,JN=function(e){return function(t,r,n){var i=PY(t),a=IY(i),u=MY(n,a),d;if(e&&r!=r){for(;a>u;)if(d=i[u++],d!=d)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===r)return e||u||0;return!e&&-1}},NY={includes:JN(!0),indexOf:JN(!1)},LY=Na,qO=vs,DY=Ep,wY=NY.indexOf,UY=xO,ZN=LY([].push),eL=function(e,t){var r=DY(e),n=0,i=[],a;for(a in r)!qO(UY,a)&&qO(r,a)&&ZN(i,a);for(;t.length>n;)qO(r,a=t[n++])&&(~wY(i,a)||ZN(i,a));return i},HO=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],$Y=eL,GY=HO,xY=GY.concat("length","prototype");KN.f=Object.getOwnPropertyNames||function(t){return $Y(t,xY)};var YO={};YO.f=Object.getOwnPropertySymbols;var FY=Du,VY=Na,BY=KN,kY=YO,jY=ms,QY=VY([].concat),qY=FY("Reflect","ownKeys")||function(t){var r=BY.f(jY(t)),n=kY.f;return n?QY(r,n(t)):r},tL=vs,HY=qY,YY=Ev,WY=Ws,KY=function(e,t,r){for(var n=HY(t),i=WY.f,a=YY.f,u=0;u<n.length;u++){var d=n[u];!tL(e,d)&&!(r&&tL(r,d))&&i(e,d,a(t,d))}},zY=Ya,XY=Ai,JY=/#|\.prototype\./,Ap=function(e,t){var r=e2[ZY(e)];return r==r2?!0:r==t2?!1:XY(t)?zY(t):!!t},ZY=Ap.normalize=function(e){return String(e).replace(JY,".").toLowerCase()},e2=Ap.data={},t2=Ap.NATIVE="N",r2=Ap.POLYFILL="P",rL=Ap,WO=Fi,n2=Ev.f,i2=Pv,a2=Tp,o2=bO,s2=KY,u2=rL,wu=function(e,t){var r=e.target,n=e.global,i=e.stat,a,u,d,A,h,v;if(n?u=WO:i?u=WO[r]||o2(r,{}):u=(WO[r]||{}).prototype,u)for(d in t){if(h=t[d],e.dontCallGetSet?(v=n2(u,d),A=v&&v.value):A=u[d],a=u2(n?d:r+(i?".":"#")+d,e.forced),!a&&A!==void 0){if(typeof h==typeof A)continue;s2(h,A)}(e.sham||A&&A.sham)&&i2(h,"sham",!0),a2(u,d,h,e)}},c2=Ai,l2=String,d2=TypeError,f2=function(e){if(typeof e=="object"||c2(e))return e;throw d2("Can't set "+l2(e)+" as a prototype")},_2=Na,p2=ms,h2=f2,nL=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=_2(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),r(t,[]),e=t instanceof Array}catch{}return function(i,a){return p2(i),h2(a),e?r(i,a):i.__proto__=a,i}}():void 0),S2=Ws.f,g2=vs,v2=La,iL=v2("toStringTag"),KO=function(e,t,r){e&&!r&&(e=e.prototype),e&&!g2(e,iL)&&S2(e,iL,{configurable:!0,value:t})},m2=Du,aL=m2("document","documentElement"),Cp={},E2=eL,y2=HO,oL=Object.keys||function(t){return E2(t,y2)},sL=Vo,T2=Na,A2=po,C2=Ya,zO=oL,O2=YO,b2=_O,R2=PO,P2=fN,$d=Object.assign,uL=Object.defineProperty,M2=T2([].concat),I2=!$d||C2(function(){if(sL&&$d({b:1},$d(uL({},"a",{enumerable:!0,get:function(){uL(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(i){t[i]=i}),$d({},e)[r]!=7||zO($d({},t)).join("")!=n})?function(t,r){for(var n=R2(t),i=arguments.length,a=1,u=O2.f,d=b2.f;i>a;)for(var A=P2(arguments[a++]),h=u?M2(zO(A),u(A)):zO(A),v=h.length,B=0,te;v>B;)te=h[B++],(!sL||A2(d,A,te))&&(n[te]=A[te]);return n}:$d,N2=wu,cL=I2;N2({target:"Object",stat:!0,arity:2,forced:Object.assign!==cL},{assign:cL});const L2={setProfileProperties(){},trackEvent(){},reset(){console.warn("Reset method not implemented for analytics context.")}},lL=null,YNe=({children:e,analyticsService:t})=>jsx(lL.Provider,Object.assign({value:t||L2},{children:e}));function D2(){return useContext(lL)}var dL={},w2=Vo,U2=xN,$2=Ws,G2=ms,x2=Ep,F2=oL;dL.f=w2&&!U2?Object.defineProperties:function(t,r){G2(t);for(var n=x2(r),i=F2(r),a=i.length,u=0,d;a>u;)$2.f(t,d=i[u++],n[d]);return t};var V2=ms,B2=dL,fL=HO,k2=xO,j2=aL,Q2=bv,q2=GO,_L=">",pL="<",XO="prototype",JO="script",hL=q2("IE_PROTO"),ZO=function(){},SL=function(e){return pL+JO+_L+e+pL+"/"+JO+_L},gL=function(e){e.write(SL("")),e.close();var t=e.parentWindow.Object;return e=null,t},H2=function(){var e=Q2("iframe"),t="java"+JO+":",r;return e.style.display="none",j2.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(SL("document.F=Object")),r.close(),r.F},wv,Uv=function(){try{wv=new ActiveXObject("htmlfile")}catch{}Uv=typeof document<"u"?document.domain&&wv?gL(wv):H2():gL(wv);for(var e=fL.length;e--;)delete Uv[XO][fL[e]];return Uv()};k2[hL]=!0;var vL=Object.create||function(t,r){var n;return t!==null?(ZO[XO]=V2(t),n=new ZO,ZO[XO]=null,n[hL]=t):n=Uv(),r===void 0?n:B2.f(n,r)},Y2=La,W2=vL,K2=Ws.f,eb=Y2("unscopables"),tb=Array.prototype;tb[eb]==null&&K2(tb,eb,{configurable:!0,value:W2(null)});var z2=function(e){tb[eb][e]=!0},X2=Ya,J2=!X2(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Z2=vs,e8=Ai,t8=PO,r8=GO,n8=J2,mL=r8("IE_PROTO"),rb=Object,i8=rb.prototype,EL=n8?rb.getPrototypeOf:function(e){var t=t8(e);if(Z2(t,mL))return t[mL];var r=t.constructor;return e8(r)&&t instanceof r?r.prototype:t instanceof rb?i8:null},a8=Ya,o8=Ai,yL=EL,s8=Tp,u8=La,nb=u8("iterator"),TL=!1,Hc,ib,ab;[].keys&&(ab=[].keys(),"next"in ab?(ib=yL(yL(ab)),ib!==Object.prototype&&(Hc=ib)):TL=!0);var c8=Hc==null||a8(function(){var e={};return Hc[nb].call(e)!==e});c8&&(Hc={}),o8(Hc[nb])||s8(Hc,nb,function(){return this});var AL={IteratorPrototype:Hc,BUGGY_SAFARI_ITERATORS:TL},l8=AL.IteratorPrototype,d8=vL,f8=pO,_8=KO,p8=Cp,h8=function(){return this},S8=function(e,t,r,n){var i=t+" Iterator";return e.prototype=d8(l8,{next:f8(+!n,r)}),_8(e,i,!1),p8[i]=h8,e},g8=wu,v8=po,CL=kN,m8=Ai,E8=S8,OL=EL,bL=nL,y8=KO,T8=Pv,ob=Tp,A8=La,C8=Cp,RL=AL,O8=CL.PROPER,b8=CL.CONFIGURABLE,PL=RL.IteratorPrototype,$v=RL.BUGGY_SAFARI_ITERATORS,Op=A8("iterator"),ML="keys",bp="values",IL="entries",R8=function(){return this},P8=function(e,t,r,n,i,a,u){E8(r,t,n);var d=function(Ke){if(Ke===i&&te)return te;if(!$v&&Ke in v)return v[Ke];switch(Ke){case ML:return function(){return new r(this,Ke)};case bp:return function(){return new r(this,Ke)};case IL:return function(){return new r(this,Ke)}}return function(){return new r(this)}},A=t+" Iterator",h=!1,v=e.prototype,B=v[Op]||v["@@iterator"]||i&&v[i],te=!$v&&B||d(i),me=t=="Array"&&v.entries||B,Ee,be,Ye;if(me&&(Ee=OL(me.call(new e)),Ee!==Object.prototype&&Ee.next&&(OL(Ee)!==PL&&(bL?bL(Ee,PL):m8(Ee[Op])||ob(Ee,Op,R8)),y8(Ee,A,!0))),O8&&i==bp&&B&&B.name!==bp&&(b8?T8(v,"name",bp):(h=!0,te=function(){return v8(B,this)})),i)if(be={values:d(bp),keys:a?te:d(ML),entries:d(IL)},u)for(Ye in be)($v||h||!(Ye in v))&&ob(v,Ye,be[Ye]);else g8({target:t,proto:!0,forced:$v||h},be);return v[Op]!==te&&ob(v,Op,te,{name:i}),C8[t]=te,be},M8=Ep,sb=z2,NL=Cp,LL=jO,I8=Ws.f,N8=P8,L8=Vo,DL="Array Iterator",D8=LL.set,w8=LL.getterFor(DL),U8=N8(Array,"Array",function(e,t){D8(this,{type:DL,target:M8(e),index:0,kind:t})},function(){var e=w8(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):r=="keys"?{value:n,done:!1}:r=="values"?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}},"values"),wL=NL.Arguments=NL.Array;if(sb("keys"),sb("values"),sb("entries"),L8&&wL.name!=="values")try{I8(wL,"name",{value:"values"})}catch{}var $8={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},G8=bv,ub=G8("span").classList,UL=ub&&ub.constructor&&ub.constructor.prototype,x8=UL===Object.prototype?void 0:UL,$L=Fi,GL=$8,F8=x8,Rp=U8,cb=Pv,xL=La,lb=xL("iterator"),FL=xL("toStringTag"),db=Rp.values,VL=function(e,t){if(e){if(e[lb]!==db)try{cb(e,lb,db)}catch{e[lb]=db}if(e[FL]||cb(e,FL,t),GL[t]){for(var r in Rp)if(e[r]!==Rp[r])try{cb(e,r,Rp[r])}catch{e[r]=Rp[r]}}}};for(var fb in GL)VL($L[fb]&&$L[fb].prototype,fb);VL(F8,"DOMTokenList");const BL=Cy.createContext({customProperties:{},prefixArray:[],trackEvent(){},setProfileProperties(){},updateCustomProperty(){},clearCustomProperty(){},updateCustomProperties(){},clearCustomProperties(){},setPrefixArray(){},pushPrefix(){},popPrefix(){},reset(){console.warn("Reset method not implemented for custom analytics context.")}}),WNe=({children:e})=>{const{trackEvent:t,setProfileProperties:r}=D2(),[n,i]=useState({}),B={trackEvent:(te,me=void 0,Ee=void 0)=>{const be=[te],Ye=Object.assign(Object.assign({},n),me);Object.keys(Ye).length&&be.push(Ye),Ee&&be.push(Ee),t(...be)},setProfileProperties:r,customProperties:n,updateCustomProperty:(te,me)=>{i(Ee=>Object.assign(Object.assign({},Ee),{[te]:me}))},clearCustomProperty:te=>{n==null||delete n[te],i(Object.assign({},n))},updateCustomProperties:te=>{i(me=>Object.assign(Object.assign({},me),te))},clearCustomProperties:()=>{i({})},reset:()=>{console.warn("Reset method not implemented for custom analytics context.")}};return jsx(BL.Provider,Object.assign({value:B},{children:e}))};function KNe(){return useContext(BL)}var Gd=p(6934),V8=p(5250),B8=SO,k8=Fi,Gv=B8(k8.process)=="process",j8=Du,Q8=Ws,q8=La,H8=Vo,kL=q8("species"),Y8=function(e){var t=j8(e),r=Q8.f;H8&&t&&!t[kL]&&r(t,kL,{configurable:!0,get:function(){return this}})},W8=mO,K8=TypeError,z8=function(e,t){if(W8(t,e))return e;throw K8("Incorrect invocation")},X8=La,J8=X8("toStringTag"),jL={};jL[J8]="z";var Z8=String(jL)==="[object z]",eW=Z8,tW=Ai,xv=SO,rW=La,nW=rW("toStringTag"),iW=Object,aW=xv(function(){return arguments}())=="Arguments",oW=function(e,t){try{return e[t]}catch{}},QL=eW?xv:function(e){var t,r,n;return e===void 0?"Undefined":e===null?"Null":typeof(r=oW(t=iW(e),nW))=="string"?r:aW?xv(t):(n=xv(t))=="Object"&&tW(t.callee)?"Arguments":n},sW=Na,uW=Ya,qL=Ai,cW=QL,lW=Du,dW=Mv,HL=function(){},fW=[],YL=lW("Reflect","construct"),_b=/^\s*(?:class|function)\b/,_W=sW(_b.exec),pW=!_b.exec(HL),Pp=function(t){if(!qL(t))return!1;try{return YL(HL,fW,t),!0}catch{return!1}},WL=function(t){if(!qL(t))return!1;switch(cW(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return pW||!!_W(_b,dW(t))}catch{return!0}};WL.sham=!0;var hW=!YL||uW(function(){var e;return Pp(Pp.call)||!Pp(Object)||!Pp(function(){e=!0})||e})?WL:Pp,SW=hW,gW=Ov,vW=TypeError,mW=function(e){if(SW(e))return e;throw vW(gW(e)+" is not a constructor")},KL=ms,EW=mW,yW=La,TW=yW("species"),AW=function(e,t){var r=KL(e).constructor,n;return r===void 0||(n=KL(r)[TW])==null?t:EW(n)},CW=yv,zL=Function.prototype,XL=zL.apply,JL=zL.call,OW=typeof Reflect=="object"&&Reflect.apply||(CW?JL.bind(XL):function(){return JL.apply(XL,arguments)}),ZL=Na,bW=jc,RW=yv,PW=ZL(ZL.bind),pb=function(e,t){return bW(e),t===void 0?e:RW?PW(e,t):function(){return e.apply(t,arguments)}},MW=Na,IW=MW([].slice),NW=TypeError,LW=function(e,t){if(e<t)throw NW("Not enough arguments");return e},DW=Av,eD=/(?:ipad|iphone|ipod).*applewebkit/i.test(DW),Wa=Fi,wW=OW,UW=pb,tD=Ai,$W=vs,GW=Ya,rD=aL,xW=IW,nD=bv,FW=LW,VW=eD,BW=Gv,hb=Wa.setImmediate,Sb=Wa.clearImmediate,kW=Wa.process,gb=Wa.Dispatch,jW=Wa.Function,iD=Wa.MessageChannel,QW=Wa.String,vb=0,Mp={},aD="onreadystatechange",Ip,Yc,mb,Eb;try{Ip=Wa.location}catch{}var yb=function(e){if($W(Mp,e)){var t=Mp[e];delete Mp[e],t()}},Tb=function(e){return function(){yb(e)}},oD=function(e){yb(e.data)},sD=function(e){Wa.postMessage(QW(e),Ip.protocol+"//"+Ip.host)};(!hb||!Sb)&&(hb=function(t){FW(arguments.length,1);var r=tD(t)?t:jW(t),n=xW(arguments,1);return Mp[++vb]=function(){wW(r,void 0,n)},Yc(vb),vb},Sb=function(t){delete Mp[t]},BW?Yc=function(e){kW.nextTick(Tb(e))}:gb&&gb.now?Yc=function(e){gb.now(Tb(e))}:iD&&!VW?(mb=new iD,Eb=mb.port2,mb.port1.onmessage=oD,Yc=UW(Eb.postMessage,Eb)):Wa.addEventListener&&tD(Wa.postMessage)&&!Wa.importScripts&&Ip&&Ip.protocol!=="file:"&&!GW(sD)?(Yc=sD,Wa.addEventListener("message",oD,!1)):aD in nD("script")?Yc=function(e){rD.appendChild(nD("script"))[aD]=function(){rD.removeChild(this),yb(e)}}:Yc=function(e){setTimeout(Tb(e),0)});var uD={set:hb,clear:Sb},qW=Av,HW=Fi,YW=/ipad|iphone|ipod/i.test(qW)&&HW.Pebble!==void 0,WW=Av,KW=/web0s(?!.*chrome)/i.test(WW),Wc=Fi,cD=pb,zW=Ev.f,Ab=uD.set,XW=eD,JW=YW,ZW=KW,Cb=Gv,lD=Wc.MutationObserver||Wc.WebKitMutationObserver,dD=Wc.document,fD=Wc.process,Fv=Wc.Promise,_D=zW(Wc,"queueMicrotask"),pD=_D&&_D.value,Np,Kc,Lp,xd,Ob,bb,Vv,hD;pD||(Np=function(){var e,t;for(Cb&&(e=fD.domain)&&e.exit();Kc;){t=Kc.fn,Kc=Kc.next;try{t()}catch(r){throw Kc?xd():Lp=void 0,r}}Lp=void 0,e&&e.enter()},!XW&&!Cb&&!ZW&&lD&&dD?(Ob=!0,bb=dD.createTextNode(""),new lD(Np).observe(bb,{characterData:!0}),xd=function(){bb.data=Ob=!Ob}):!JW&&Fv&&Fv.resolve?(Vv=Fv.resolve(void 0),Vv.constructor=Fv,hD=cD(Vv.then,Vv),xd=function(){hD(Np)}):Cb?xd=function(){fD.nextTick(Np)}:(Ab=cD(Ab,Wc),xd=function(){Ab(Np)}));var eK=pD||function(e){var t={fn:e,next:void 0};Lp&&(Lp.next=t),Kc||(Kc=t,xd()),Lp=t},tK=Fi,rK=function(e,t){var r=tK.console;r&&r.error&&(arguments.length==1?r.error(e):r.error(e,t))},Rb=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},SD=function(){this.head=null,this.tail=null};SD.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}};var nK=SD,iK=Fi,Bv=iK.Promise,gD=typeof Deno=="object"&&Deno&&typeof Deno.version=="object",aK=gD,oK=Gv,sK=!aK&&!oK&&typeof window=="object"&&typeof document=="object",uK=Fi,Dp=Bv,cK=Ai,lK=rL,dK=Mv,fK=La,_K=sK,pK=gD,Pb=mN;Dp&&Dp.prototype;var hK=fK("species"),Mb=!1,vD=cK(uK.PromiseRejectionEvent),SK=lK("Promise",function(){var e=dK(Dp),t=e!==String(Dp);if(!t&&Pb===66)return!0;if(!Pb||Pb<51||!/native code/.test(e)){var r=new Dp(function(a){a(1)}),n=function(a){a(function(){},function(){})},i=r.constructor={};if(i[hK]=n,Mb=r.then(function(){})instanceof n,!Mb)return!0}return!t&&(_K||pK)&&!vD}),wp={CONSTRUCTOR:SK,REJECTION_EVENT:vD,SUBCLASSING:Mb},Fd={},mD=jc,gK=function(e){var t,r;this.promise=new e(function(n,i){if(t!==void 0||r!==void 0)throw TypeError("Bad Promise constructor");t=n,r=i}),this.resolve=mD(t),this.reject=mD(r)};Fd.f=function(e){return new gK(e)};var vK=wu,kv=Gv,Uu=Fi,Vd=po,ED=Tp,yD=nL,mK=KO,EK=Y8,yK=jc,jv=Ai,TK=kc,AK=z8,CK=AW,TD=uD.set,Ib=eK,OK=rK,bK=Rb,RK=nK,AD=jO,Qv=Bv,Nb=wp,CD=Fd,qv="Promise",OD=Nb.CONSTRUCTOR,PK=Nb.REJECTION_EVENT,MK=Nb.SUBCLASSING,Lb=AD.getterFor(qv),IK=AD.set,Bd=Qv&&Qv.prototype,zc=Qv,Hv=Bd,bD=Uu.TypeError,Db=Uu.document,wb=Uu.process,Ub=CD.f,NK=Ub,LK=!!(Db&&Db.createEvent&&Uu.dispatchEvent),RD="unhandledrejection",DK="rejectionhandled",PD=0,MD=1,wK=2,$b=1,ID=2,Yv,ND,UK,LD,DD=function(e){var t;return TK(e)&&jv(t=e.then)?t:!1},wD=function(e,t){var r=t.value,n=t.state==MD,i=n?e.ok:e.fail,a=e.resolve,u=e.reject,d=e.domain,A,h,v;try{i?(n||(t.rejection===ID&&GK(t),t.rejection=$b),i===!0?A=r:(d&&d.enter(),A=i(r),d&&(d.exit(),v=!0)),A===e.promise?u(bD("Promise-chain cycle")):(h=DD(A))?Vd(h,A,a,u):a(A)):u(r)}catch(B){d&&!v&&d.exit(),u(B)}},UD=function(e,t){e.notified||(e.notified=!0,Ib(function(){for(var r=e.reactions,n;n=r.get();)wD(n,e);e.notified=!1,t&&!e.rejection&&$K(e)}))},$D=function(e,t,r){var n,i;LK?(n=Db.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),Uu.dispatchEvent(n)):n={promise:t,reason:r},!PK&&(i=Uu["on"+e])?i(n):e===RD&&OK("Unhandled promise rejection",r)},$K=function(e){Vd(TD,Uu,function(){var t=e.facade,r=e.value,n=GD(e),i;if(n&&(i=bK(function(){kv?wb.emit("unhandledRejection",r,t):$D(RD,t,r)}),e.rejection=kv||GD(e)?ID:$b,i.error))throw i.value})},GD=function(e){return e.rejection!==$b&&!e.parent},GK=function(e){Vd(TD,Uu,function(){var t=e.facade;kv?wb.emit("rejectionHandled",t):$D(DK,t,e.value)})},kd=function(e,t,r){return function(n){e(t,n,r)}},jd=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=wK,UD(e,!0))},Gb=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw bD("Promise can't be resolved itself");var n=DD(t);n?Ib(function(){var i={done:!1};try{Vd(n,t,kd(Gb,i,e),kd(jd,i,e))}catch(a){jd(i,a,e)}}):(e.value=t,e.state=MD,UD(e,!1))}catch(i){jd({done:!1},i,e)}}};if(OD&&(zc=function(t){AK(this,Hv),yK(t),Vd(Yv,this);var r=Lb(this);try{t(kd(Gb,r),kd(jd,r))}catch(n){jd(r,n)}},Hv=zc.prototype,Yv=function(t){IK(this,{type:qv,done:!1,notified:!1,parent:!1,reactions:new RK,rejection:!1,state:PD,value:void 0})},Yv.prototype=ED(Hv,"then",function(t,r){var n=Lb(this),i=Ub(CK(this,zc));return n.parent=!0,i.ok=jv(t)?t:!0,i.fail=jv(r)&&r,i.domain=kv?wb.domain:void 0,n.state==PD?n.reactions.add(i):Ib(function(){wD(i,n)}),i.promise}),ND=function(){var e=new Yv,t=Lb(e);this.promise=e,this.resolve=kd(Gb,t),this.reject=kd(jd,t)},CD.f=Ub=function(e){return e===zc||e===UK?new ND(e):NK(e)},jv(Qv)&&Bd!==Object.prototype)){LD=Bd.then,MK||ED(Bd,"then",function(t,r){var n=this;return new zc(function(i,a){Vd(LD,n,i,a)}).then(t,r)},{unsafe:!0});try{delete Bd.constructor}catch{}yD&&yD(Bd,Hv)}vK({global:!0,constructor:!0,wrap:!0,forced:OD},{Promise:zc}),mK(zc,qv,!1),EK(qv);var xK=La,FK=Cp,VK=xK("iterator"),BK=Array.prototype,kK=function(e){return e!==void 0&&(FK.Array===e||BK[VK]===e)},jK=QL,xD=yO,QK=Cp,qK=La,HK=qK("iterator"),FD=function(e){if(e!=null)return xD(e,HK)||xD(e,"@@iterator")||QK[jK(e)]},YK=po,WK=jc,KK=ms,zK=Ov,XK=FD,JK=TypeError,ZK=function(e,t){var r=arguments.length<2?XK(e):t;if(WK(r))return KK(YK(r,e));throw JK(zK(e)+" is not iterable")},ez=po,VD=ms,tz=yO,rz=function(e,t,r){var n,i;VD(e);try{if(n=tz(e,"return"),!n){if(t==="throw")throw r;return r}n=ez(n,e)}catch(a){i=!0,n=a}if(t==="throw")throw r;if(i)throw n;return VD(n),r},nz=pb,iz=po,az=ms,oz=Ov,sz=kK,uz=XN,BD=mO,cz=ZK,lz=FD,kD=rz,dz=TypeError,Wv=function(e,t){this.stopped=e,this.result=t},jD=Wv.prototype,QD=function(e,t,r){var n=r&&r.that,i=!!(r&&r.AS_ENTRIES),a=!!(r&&r.IS_RECORD),u=!!(r&&r.IS_ITERATOR),d=!!(r&&r.INTERRUPTED),A=nz(t,n),h,v,B,te,me,Ee,be,Ye=function(Xe){return h&&kD(h,"normal",Xe),new Wv(!0,Xe)},Ke=function(Xe){return i?(az(Xe),d?A(Xe[0],Xe[1],Ye):A(Xe[0],Xe[1])):d?A(Xe,Ye):A(Xe)};if(a)h=e.iterator;else if(u)h=e;else{if(v=lz(e),!v)throw dz(oz(e)+" is not iterable");if(sz(v)){for(B=0,te=uz(e);te>B;B++)if(me=Ke(e[B]),me&&BD(jD,me))return me;return new Wv(!1)}h=cz(e,v)}for(Ee=a?e.next:h.next;!(be=iz(Ee,h)).done;){try{me=Ke(be.value)}catch(Xe){kD(h,"throw",Xe)}if(typeof me=="object"&&me&&BD(jD,me))return me}return new Wv(!1)},fz=La,qD=fz("iterator"),HD=!1;try{var _z=0,YD={next:function(){return{done:!!_z++}},return:function(){HD=!0}};YD[qD]=function(){return this},Array.from(YD,function(){throw 2})}catch{}var pz=function(e,t){if(!t&&!HD)return!1;var r=!1;try{var n={};n[qD]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch{}return r},hz=Bv,Sz=pz,gz=wp.CONSTRUCTOR,WD=gz||!Sz(function(e){hz.all(e).then(void 0,function(){})}),vz=wu,mz=po,Ez=jc,yz=Fd,Tz=Rb,Az=QD,Cz=WD;vz({target:"Promise",stat:!0,forced:Cz},{all:function(t){var r=this,n=yz.f(r),i=n.resolve,a=n.reject,u=Tz(function(){var d=Ez(r.resolve),A=[],h=0,v=1;Az(t,function(B){var te=h++,me=!1;v++,mz(d,r,B).then(function(Ee){me||(me=!0,A[te]=Ee,--v||i(A))},a)}),--v||i(A)});return u.error&&a(u.value),n.promise}});var Oz=wu,bz=wp.CONSTRUCTOR,xb=Bv,Rz=Du,Pz=Ai,Mz=Tp,KD=xb&&xb.prototype;if(Oz({target:"Promise",proto:!0,forced:bz,real:!0},{catch:function(e){return this.then(void 0,e)}}),Pz(xb)){var zD=Rz("Promise").prototype.catch;KD.catch!==zD&&Mz(KD,"catch",zD,{unsafe:!0})}var Iz=wu,Nz=po,Lz=jc,Dz=Fd,wz=Rb,Uz=QD,$z=WD;Iz({target:"Promise",stat:!0,forced:$z},{race:function(t){var r=this,n=Dz.f(r),i=n.reject,a=wz(function(){var u=Lz(r.resolve);Uz(t,function(d){Nz(u,r,d).then(n.resolve,i)})});return a.error&&i(a.value),n.promise}});var Gz=wu,xz=po,Fz=Fd,Vz=wp.CONSTRUCTOR;Gz({target:"Promise",stat:!0,forced:Vz},{reject:function(t){var r=Fz.f(this);return xz(r.reject,void 0,t),r.promise}});var Bz=ms,kz=kc,jz=Fd,Qz=function(e,t){if(Bz(e),kz(t)&&t.constructor===e)return t;var r=jz.f(e),n=r.resolve;return n(t),r.promise},qz=wu,Hz=Du,Yz=wp.CONSTRUCTOR,Wz=Qz;Hz("Promise"),qz({target:"Promise",stat:!0,forced:Yz},{resolve:function(t){return Wz(this,t)}});function Kz(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function XD(e,t,r,n){function i(a){return a instanceof r?a:new r(function(u){u(a)})}return new(r||(r=Promise))(function(a,u){function d(v){try{h(n.next(v))}catch(B){u(B)}}function A(v){try{h(n.throw(v))}catch(B){u(B)}}function h(v){v.done?a(v.value):i(v.value).then(d,A)}h((n=n.apply(e,t||[])).next())})}class Fb{static initializeGoogleTagManager(t){return XD(this,void 0,void 0,function*(){return new Fb(t).init()})}constructor({gaKey:t,eventMap:r,dataLayerName:n}){this.dataLayerName="",this.gaKey=t,this.eventMap=r||[],this.dataLayerName=n||"dataLayer",window[this.dataLayerName]=window[this.dataLayerName]||[],this.dataLayer=window[this.dataLayerName]}init(){var t;return XD(this,void 0,void 0,function*(){this.dataLayer.push({"gtm.start":new Date().getTime(),event:"gtm.js"});const r=document.createElement("script");return r.async=!0,r.src=`https://www.googletagmanager.com/gtm.js?id=${this.gaKey}${this.dataLayerName!=="dataLayer"?`&l=${this.dataLayerName}`:""}`,(t=document.head.parentNode)===null||t===void 0||t.append(r),new Promise((n,i)=>{r.onload=()=>n(this),r.onerror=i})})}setProfileProperties(t){}trackEvent(t,r={}){const n=this.eventMap.find(i=>i.key===t);n&&this.dataLayer.push(Object.assign(Object.assign({},r),{event:n.value}))}reset(){console.warn("Reset method not implemented for google tag manager.")}}class zz{constructor(t,r,n){Gd.init(t.key),r&&Gd.register(r),n&&this.setProfileProperties(n)}setProfileProperties(t){var{id:r}=t,n=Kz(t,["id"]);r&&Gd.identify(r),Gd.people.set(n)}trackEvent(t,r){Gd.track(t,r)}reset(){Gd.reset()}}class Xz{constructor(t=[]){this.services=t,(0,V8.bindAll)(this,"trackEvent","append")}setProfileProperties(t){this.services.forEach(r=>r.setProfileProperties(t))}trackEvent(t,r){this.services.forEach(n=>n.trackEvent(t,r))}append(t){this.services.push(t)}reset(){this.services.forEach(t=>t.reset())}}function Jz(e,t,r){const n=new Xz;return e&&(e?.mixPanel&&e?.mixPanel.length&&e.mixPanel.forEach(i=>{n.append(new zz(i,t,r))}),e?.googleTagManager&&e.googleTagManager.length&&e.googleTagManager.forEach(i=>n.append(new Fb(i)))),n}class zNe{constructor({script:t}){var r;if(t){const n=document.createElement("script");n.async=!0,n.src=t,(r=document.head.parentNode)===null||r===void 0||r.append(n),this.adobeAnalytics=new Promise((i,a)=>{n.onload=()=>i(this),n.onerror=()=>a("Failed to inject script")})}else throw new Error("Adobe analytics is not initialized")}setProfileProperties(t){console.warn("SetProfileProperties method is not implemented for adobe analytics")}trackEvent(t,r={}){console.warn("TrackEvent method is not implemented for adobe analytics")}reset(){console.warn("Reset method is not implemented for adobe analytics")}}var Qd;(function(e){e.one="1.0.0"})(Qd||(Qd={}));const Up="orchestrator:analytics-service",Zz={id:Up,dependencies:{featureServices:{[ii]:Li.one}},create:({featureServices:e})=>{const t=e[ii],{client:r,app:n,slug:i,frontendEnvironment:a}=t.getClientContext(),{version:u}=t.getMetadata(),d=Jz(a?.analytics||{},{client:r,app:n,clientSlug:i,appVersion:u},{});return t.getStore().subscribe(()=>{var A,h,v,B;const te=t.getUser();!((h=(A=te?.tokenData)===null||A===void 0?void 0:A.idToken)===null||h===void 0)&&h.payload&&d.setProfileProperties({id:te.tokenData.idToken.payload["custom:bwellFhirPersonId"],clientPersonId:te.tokenData.idToken.payload["custom:clientFhirPersonId"],clientPatientId:te.tokenData.idToken.payload["custom:clientFhirPatientId"],isInternalTestUser:(B=(v=te.meta)===null||v===void 0?void 0:v.tag)===null||B===void 0?void 0:B.some(me=>me.code==="bwelltestuser")})}),{[Qd.one]:()=>({featureService:d})}}};var Vb=p(8577),Kv;(function(e){e.one="1.0.0"})(Kv||(Kv={}));const JD="orchestrator:auth-service",e3={id:JD,dependencies:{featureServices:{[ao]:qr.one},externals:{}},create:({featureServices:e})=>{const t=e[ao],r=new Vb.Auth(t);return{[Kv.one]:()=>({featureService:r})}}};function XNe(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function JNe(e,t,r,n){function i(a){return a instanceof r?a:new r(function(u){u(a)})}return new(r||(r=Promise))(function(a,u){function d(v){try{h(n.next(v))}catch(B){u(B)}}function A(v){try{h(n.throw(v))}catch(B){u(B)}}function h(v){v.done?a(v.value):i(v.value).then(d,A)}h((n=n.apply(e,t||[])).next())})}function ko(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function t3(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r}var jo=p(934),Es=p(9226),Qo,$p,ys;const{ROUTE_NAVIGATION_DELEGATE:r3}=Es.ErrorCode;class n3{constructor(){Qo.add(this),$p.set(this,void 0)}setDelegate(t){t3(this,$p,t,"f")}navigate(t,r){return typeof t=="number"?ko(this,Qo,"a",ys).navigate(t):ko(this,Qo,"a",ys).navigate(t,r)}has(t){return ko(this,Qo,"a",ys).has(t)}getPath(t){return ko(this,Qo,"a",ys).getPath(t)}getHref(t){return ko(this,Qo,"a",ys).getHref(t)}getSearchParams(){return ko(this,Qo,"a",ys).getSearchParams()}setSearchParams(t,r){ko(this,Qo,"a",ys).setSearchParams(t,r)}getUrlParams(){return ko(this,Qo,"a",ys).getUrlParams()}getId(t){return ko(this,Qo,"a",ys).getId(t)}}$p=new WeakMap,Qo=new WeakSet,ys=function(){if(!ko(this,$p,"f"))throw new jo.b("route navigation delegate has not been set",{errorCode:r3});return ko(this,$p,"f")};var zv;(function(e){e.one="1.0.0"})(zv||(zv={}));const ZD="orchestrator:navigation-service",i3={id:ZD,create:()=>{const e=new n3;return{[zv.one]:()=>({featureService:e})}}},Or=e=>typeof e=="string",Gp=()=>{let e,t;const r=new Promise((n,i)=>{e=n,t=i});return r.resolve=e,r.reject=t,r},e0=e=>e==null?"":""+e,a3=(e,t,r)=>{e.forEach(n=>{t[n]&&(r[n]=t[n])})},o3=/###/g,t0=e=>e&&e.indexOf("###")>-1?e.replace(o3,"."):e,r0=e=>!e||Or(e),xp=(e,t,r)=>{const n=Or(t)?t.split("."):t;let i=0;for(;i<n.length-1;){if(r0(e))return{};const a=t0(n[i]);!e[a]&&r&&(e[a]=new r),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={},++i}return r0(e)?{}:{obj:e,k:t0(n[i])}},n0=(e,t,r)=>{const{obj:n,k:i}=xp(e,t,Object);if(n!==void 0||t.length===1){n[i]=r;return}let a=t[t.length-1],u=t.slice(0,t.length-1),d=xp(e,u,Object);for(;d.obj===void 0&&u.length;)a=`${u[u.length-1]}.${a}`,u=u.slice(0,u.length-1),d=xp(e,u,Object),d?.obj&&typeof d.obj[`${d.k}.${a}`]<"u"&&(d.obj=void 0);d.obj[`${d.k}.${a}`]=r},s3=(e,t,r,n)=>{const{obj:i,k:a}=xp(e,t,Object);i[a]=i[a]||[],i[a].push(r)},Xv=(e,t)=>{const{obj:r,k:n}=xp(e,t);if(!!r&&!!Object.prototype.hasOwnProperty.call(r,n))return r[n]},u3=(e,t,r)=>{const n=Xv(e,r);return n!==void 0?n:Xv(t,r)},i0=(e,t,r)=>{for(const n in t)n!=="__proto__"&&n!=="constructor"&&(n in e?Or(e[n])||e[n]instanceof String||Or(t[n])||t[n]instanceof String?r&&(e[n]=t[n]):i0(e[n],t[n],r):e[n]=t[n]);return e},qd=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var c3={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const l3=e=>Or(e)?e.replace(/[&<>"'\/]/g,t=>c3[t]):e;class d3{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}}const f3=[" ",",","?","!",";"],_3=new d3(20),p3=(e,t,r)=>{t=t||"",r=r||"";const n=f3.filter(u=>t.indexOf(u)<0&&r.indexOf(u)<0);if(n.length===0)return!0;const i=_3.getRegExp(`(${n.map(u=>u==="?"?"\\?":u).join("|")})`);let a=!i.test(e);if(!a){const u=e.indexOf(r);u>0&&!i.test(e.substring(0,u))&&(a=!0)}return a},Bb=function(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const n=t.split(r);let i=e;for(let a=0;a<n.length;){if(!i||typeof i!="object")return;let u,d="";for(let A=a;A<n.length;++A)if(A!==a&&(d+=r),d+=n[A],u=i[d],u!==void 0){if(["string","number","boolean"].indexOf(typeof u)>-1&&A<n.length-1)continue;a+=A-a+1;break}i=u}return i},Jv=e=>e?.replace("_","-"),h3={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class Zv{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,r)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=t||h3,this.options=r,this.debug=r.debug}log(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"log","",!0)}warn(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"warn","",!0)}error(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"error","")}deprecate(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}forward(t,r,n,i){return i&&!this.debug?null:(Or(t[0])&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[r](t))}create(t){return new Zv(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Zv(this.logger,t)}}var Ts=new Zv;class em{constructor(){this.observers={}}on(t,r){return t.split(" ").forEach(n=>{this.observers[n]||(this.observers[n]=new Map);const i=this.observers[n].get(r)||0;this.observers[n].set(r,i+1)}),this}off(t,r){if(!!this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(u=>{let[d,A]=u;for(let h=0;h<A;h++)d(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(u=>{let[d,A]=u;for(let h=0;h<A;h++)d.apply(d,[t,...n])})}}class a0 extends em{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=r,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 r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,u=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let d;t.indexOf(".")>-1?d=t.split("."):(d=[t,r],n&&(Array.isArray(n)?d.push(...n):Or(n)&&a?d.push(...n.split(a)):d.push(n)));const A=Xv(this.data,d);return!A&&!r&&!n&&t.indexOf(".")>-1&&(t=d[0],r=d[1],n=d.slice(2).join(".")),A||!u||!Or(n)?A:Bb(this.data?.[t]?.[r],n,a)}addResource(t,r,n,i){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const u=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let d=[t,r];n&&(d=d.concat(u?n.split(u):n)),t.indexOf(".")>-1&&(d=t.split("."),i=r,r=d[1]),this.addNamespaces(r),n0(this.data,d,i),a.silent||this.emit("added",t,r,n,i)}addResources(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const a in n)(Or(n[a])||Array.isArray(n[a]))&&this.addResource(t,r,a,n[a],{silent:!0});i.silent||this.emit("added",t,r,n)}addResourceBundle(t,r,n,i,a){let u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},d=[t,r];t.indexOf(".")>-1&&(d=t.split("."),i=n,n=r,r=d[1]),this.addNamespaces(r);let A=Xv(this.data,d)||{};u.skipCopy||(n=JSON.parse(JSON.stringify(n))),i?i0(A,n,a):A={...A,...n},n0(this.data,d,A),u.silent||this.emit("added",t,r,n)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(i=>r[i]&&Object.keys(r[i]).length>0)}toJSON(){return this.data}}var o0={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,i){return e.forEach(a=>{t=this.processors[a]?.process(t,r,n,i)??t}),t}};const s0={},u0=e=>!Or(e)&&typeof e!="boolean"&&typeof e!="number";class tm extends em{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),a3(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Ts.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};return t==null?!1:this.resolve(t,r)?.res!==void 0}extractFromKey(t,r){let n=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");const i=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let a=r.ns||this.options.defaultNS||[];const u=n&&t.indexOf(n)>-1,d=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!p3(t,n,i);if(u&&!d){const A=t.match(this.interpolator.nestingRegexp);if(A&&A.length>0)return{key:t,namespaces:Or(a)?[a]:a};const h=t.split(n);(n!==i||n===i&&this.options.ns.indexOf(h[0])>-1)&&(a=h.shift()),t=h.join(i)}return{key:t,namespaces:Or(a)?[a]:a}}translate(t,r,n){if(typeof r!="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),typeof r=="object"&&(r={...r}),r||(r={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const i=r.returnDetails!==void 0?r.returnDetails:this.options.returnDetails,a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,{key:u,namespaces:d}=this.extractFromKey(t[t.length-1],r),A=d[d.length-1],h=r.lng||this.language,v=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(h?.toLowerCase()==="cimode"){if(v){const Ri=r.nsSeparator||this.options.nsSeparator;return i?{res:`${A}${Ri}${u}`,usedKey:u,exactUsedKey:u,usedLng:h,usedNS:A,usedParams:this.getUsedParamsDetails(r)}:`${A}${Ri}${u}`}return i?{res:u,usedKey:u,exactUsedKey:u,usedLng:h,usedNS:A,usedParams:this.getUsedParamsDetails(r)}:u}const B=this.resolve(t,r);let te=B?.res;const me=B?.usedKey||u,Ee=B?.exactUsedKey||u,be=["[object Number]","[object Function]","[object RegExp]"],Ye=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,Ke=!this.i18nFormat||this.i18nFormat.handleAsObject,Xe=r.count!==void 0&&!Or(r.count),mt=tm.hasDefaultValue(r),Nt=Xe?this.pluralResolver.getSuffix(h,r.count,r):"",rr=r.ordinal&&Xe?this.pluralResolver.getSuffix(h,r.count,{ordinal:!1}):"",Pr=Xe&&!r.ordinal&&r.count===0,Lr=Pr&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${Nt}`]||r[`defaultValue${rr}`]||r.defaultValue;let mn=te;Ke&&!te&&mt&&(mn=Lr);const Ga=u0(mn),gy=Object.prototype.toString.apply(mn);if(Ke&&mn&&Ga&&be.indexOf(gy)<0&&!(Or(Ye)&&Array.isArray(mn))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const Ri=this.options.returnedObjectHandler?this.options.returnedObjectHandler(me,mn,{...r,ns:d}):`key '${u} (${this.language})' returned an object instead of string.`;return i?(B.res=Ri,B.usedParams=this.getUsedParamsDetails(r),B):Ri}if(a){const Ri=Array.isArray(mn),pi=Ri?[]:{},Wf=Ri?Ee:me;for(const Ds in mn)if(Object.prototype.hasOwnProperty.call(mn,Ds)){const uu=`${Wf}${a}${Ds}`;mt&&!te?pi[Ds]=this.translate(uu,{...r,defaultValue:u0(Lr)?Lr[Ds]:void 0,joinArrays:!1,ns:d}):pi[Ds]=this.translate(uu,{...r,joinArrays:!1,ns:d}),pi[Ds]===uu&&(pi[Ds]=mn[Ds])}te=pi}}else if(Ke&&Or(Ye)&&Array.isArray(te))te=te.join(Ye),te&&(te=this.extendTranslation(te,t,r,n));else{let Ri=!1,pi=!1;!this.isValidLookup(te)&&mt&&(Ri=!0,te=Lr),this.isValidLookup(te)||(pi=!0,te=u);const Ds=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&pi?void 0:te,uu=mt&&Lr!==te&&this.options.updateMissing;if(pi||Ri||uu){if(this.logger.log(uu?"updateKey":"missingKey",h,A,u,uu?Lr:te),a){const to=this.resolve(u,{...r,keySeparator:!1});to&&to.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 Xh=[];const vy=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&vy&&vy[0])for(let to=0;to<vy.length;to++)Xh.push(vy[to]);else this.options.saveMissingTo==="all"?Xh=this.languageUtils.toResolveHierarchy(r.lng||this.language):Xh.push(r.lng||this.language);const XQ=(to,Ml,Jh)=>{const JQ=mt&&Jh!==te?Jh:Ds;this.options.missingKeyHandler?this.options.missingKeyHandler(to,A,Ml,JQ,uu,r):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(to,A,Ml,JQ,uu,r),this.emit("missingKey",to,A,Ml,te)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Xe?Xh.forEach(to=>{const Ml=this.pluralResolver.getSuffixes(to,r);Pr&&r[`defaultValue${this.options.pluralSeparator}zero`]&&Ml.indexOf(`${this.options.pluralSeparator}zero`)<0&&Ml.push(`${this.options.pluralSeparator}zero`),Ml.forEach(Jh=>{XQ([to],u+Jh,r[`defaultValue${Jh}`]||Lr)})}):XQ(Xh,u,Lr))}te=this.extendTranslation(te,t,r,B,n),pi&&te===u&&this.options.appendNamespaceToMissingKey&&(te=`${A}:${u}`),(pi||Ri)&&this.options.parseMissingKeyHandler&&(te=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${A}:${u}`:u,Ri?te:void 0))}return i?(B.res=te,B.usedParams=this.getUsedParamsDetails(r),B):te}extendTranslation(t,r,n,i,a){var u=this;if(this.i18nFormat?.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const h=Or(t)&&(n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let v;if(h){const te=t.match(this.interpolator.nestingRegexp);v=te&&te.length}let B=n.replace&&!Or(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(B={...this.options.interpolation.defaultVariables,...B}),t=this.interpolator.interpolate(t,B,n.lng||this.language||i.usedLng,n),h){const te=t.match(this.interpolator.nestingRegexp),me=te&&te.length;v<me&&(n.nest=!1)}!n.lng&&i&&i.res&&(n.lng=this.language||i.usedLng),n.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var te=arguments.length,me=new Array(te),Ee=0;Ee<te;Ee++)me[Ee]=arguments[Ee];return a?.[0]===me[0]&&!n.context?(u.logger.warn(`It seems you are nesting recursively key: ${me[0]} in key: ${r[0]}`),null):u.translate(...me,r)},n)),n.interpolation&&this.interpolator.reset()}const d=n.postProcess||this.options.postProcess,A=Or(d)?[d]:d;return t!=null&&A?.length&&n.applyPostProcessor!==!1&&(t=o0.handle(A,t,r,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),t}resolve(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,i,a,u,d;return Or(t)&&(t=[t]),t.forEach(A=>{if(this.isValidLookup(n))return;const h=this.extractFromKey(A,r),v=h.key;i=v;let B=h.namespaces;this.options.fallbackNS&&(B=B.concat(this.options.fallbackNS));const te=r.count!==void 0&&!Or(r.count),me=te&&!r.ordinal&&r.count===0,Ee=r.context!==void 0&&(Or(r.context)||typeof r.context=="number")&&r.context!=="",be=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);B.forEach(Ye=>{this.isValidLookup(n)||(d=Ye,!s0[`${be[0]}-${Ye}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(d)&&(s0[`${be[0]}-${Ye}`]=!0,this.logger.warn(`key "${i}" for languages "${be.join(", ")}" won't get resolved as namespace "${d}" 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!!!")),be.forEach(Ke=>{if(this.isValidLookup(n))return;u=Ke;const Xe=[v];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(Xe,v,Ke,Ye,r);else{let Nt;te&&(Nt=this.pluralResolver.getSuffix(Ke,r.count,r));const rr=`${this.options.pluralSeparator}zero`,Pr=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(te&&(Xe.push(v+Nt),r.ordinal&&Nt.indexOf(Pr)===0&&Xe.push(v+Nt.replace(Pr,this.options.pluralSeparator)),me&&Xe.push(v+rr)),Ee){const Lr=`${v}${this.options.contextSeparator}${r.context}`;Xe.push(Lr),te&&(Xe.push(Lr+Nt),r.ordinal&&Nt.indexOf(Pr)===0&&Xe.push(Lr+Nt.replace(Pr,this.options.pluralSeparator)),me&&Xe.push(Lr+rr))}}let mt;for(;mt=Xe.pop();)this.isValidLookup(n)||(a=mt,n=this.getResource(Ke,Ye,mt,r))}))})}),{res:n,usedKey:i,exactUsedKey:a,usedLng:u,usedNS:d}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat?.getResource?this.i18nFormat.getResource(t,r,n,i):this.resourceStore.getResource(t,r,n,i)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&!Or(t.replace);let i=n?t.replace:t;if(n&&typeof t.count<"u"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!n){i={...i};for(const a of r)delete i[a]}return i}static hasDefaultValue(t){const r="defaultValue";for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&r===n.substring(0,r.length)&&t[n]!==void 0)return!0;return!1}}class c0{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Ts.create("languageUtils")}getScriptPartFromCode(t){if(t=Jv(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=Jv(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(Or(t)&&t.indexOf("-")>-1){let r;try{r=Intl.getCanonicalLocales(t)[0]}catch{}return r&&this.options.lowerCaseLng&&(r=r.toLowerCase()),r||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(n=>{if(r)return;const i=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(i))&&(r=i)}),!r&&this.options.supportedLngs&&t.forEach(n=>{if(r)return;const i=this.getLanguagePartFromCode(n);if(this.isSupportedCode(i))return r=i;r=this.options.supportedLngs.find(a=>{if(a===i)return a;if(!(a.indexOf("-")<0&&i.indexOf("-")<0)&&(a.indexOf("-")>0&&i.indexOf("-")<0&&a.substring(0,a.indexOf("-"))===i||a.indexOf(i)===0&&i.length>1))return a})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),Or(t)&&(t=[t]),Array.isArray(t))return t;if(!r)return t.default||[];let n=t[r];return n||(n=t[this.getScriptPartFromCode(r)]),n||(n=t[this.formatLanguageCode(r)]),n||(n=t[this.getLanguagePartFromCode(r)]),n||(n=t.default),n||[]}toResolveHierarchy(t,r){const n=this.getFallbackCodes(r||this.options.fallbackLng||[],t),i=[],a=u=>{!u||(this.isSupportedCode(u)?i.push(u):this.logger.warn(`rejecting language code not found in supportedLngs: ${u}`))};return Or(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(t))):Or(t)&&a(this.formatLanguageCode(t)),n.forEach(u=>{i.indexOf(u)<0&&a(this.formatLanguageCode(u))}),i}}const l0={zero:0,one:1,two:2,few:3,many:4,other:5},d0={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class S3{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=r,this.logger=Ts.create("pluralResolver"),this.pluralRulesCache={}}addRule(t,r){this.rules[t]=r}clearCache(){this.pluralRulesCache={}}getRule(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Jv(t==="dev"?"en":t),i=r.ordinal?"ordinal":"cardinal",a=JSON.stringify({cleanedCode:n,type:i});if(a in this.pluralRulesCache)return this.pluralRulesCache[a];let u;try{u=new Intl.PluralRules(n,{type:i})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),d0;if(!t.match(/-|_/))return d0;const A=this.languageUtils.getLanguagePartFromCode(t);u=this.getRule(A,r)}return this.pluralRulesCache[a]=u,u}needsPlural(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(t,r);return n||(n=this.getRule("dev",r)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,n).map(i=>`${r}${i}`)}getSuffixes(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(t,r);return n||(n=this.getRule("dev",r)),n?n.resolvedOptions().pluralCategories.sort((i,a)=>l0[i]-l0[a]).map(i=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i}`):[]}getSuffix(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(t,n);return i?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i.select(r)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",r,n))}}const f0=function(e,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=u3(e,t,r);return!a&&i&&Or(r)&&(a=Bb(e,r,n),a===void 0&&(a=Bb(t,r,n))),a},kb=e=>e.replace(/\$/g,"$$$$");class g3{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Ts.create("interpolator"),this.options=t,this.format=t?.interpolation?.format||(r=>r),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:r,escapeValue:n,useRawValueToEscape:i,prefix:a,prefixEscaped:u,suffix:d,suffixEscaped:A,formatSeparator:h,unescapeSuffix:v,unescapePrefix:B,nestingPrefix:te,nestingPrefixEscaped:me,nestingSuffix:Ee,nestingSuffixEscaped:be,nestingOptionsSeparator:Ye,maxReplaces:Ke,alwaysFormat:Xe}=t.interpolation;this.escape=r!==void 0?r:l3,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=a?qd(a):u||"{{",this.suffix=d?qd(d):A||"}}",this.formatSeparator=h||",",this.unescapePrefix=v?"":B||"-",this.unescapeSuffix=this.unescapePrefix?"":v||"",this.nestingPrefix=te?qd(te):me||qd("$t("),this.nestingSuffix=Ee?qd(Ee):be||qd(")"),this.nestingOptionsSeparator=Ye||",",this.maxReplaces=Ke||1e3,this.alwaysFormat=Xe!==void 0?Xe:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,n)=>r?.source===n?(r.lastIndex=0,r):new RegExp(n,"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,r,n,i){let a,u,d;const A=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},h=me=>{if(me.indexOf(this.formatSeparator)<0){const Ke=f0(r,A,me,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(Ke,void 0,n,{...i,...r,interpolationkey:me}):Ke}const Ee=me.split(this.formatSeparator),be=Ee.shift().trim(),Ye=Ee.join(this.formatSeparator).trim();return this.format(f0(r,A,be,this.options.keySeparator,this.options.ignoreJSONStructure),Ye,n,{...i,...r,interpolationkey:be})};this.resetRegExp();const v=i?.missingInterpolationHandler||this.options.missingInterpolationHandler,B=i?.interpolation?.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:me=>kb(me)},{regex:this.regexp,safeValue:me=>this.escapeValue?kb(this.escape(me)):kb(me)}].forEach(me=>{for(d=0;a=me.regex.exec(t);){const Ee=a[1].trim();if(u=h(Ee),u===void 0)if(typeof v=="function"){const Ye=v(t,a,i);u=Or(Ye)?Ye:""}else if(i&&Object.prototype.hasOwnProperty.call(i,Ee))u="";else if(B){u=a[0];continue}else this.logger.warn(`missed to pass in variable ${Ee} for interpolating ${t}`),u="";else!Or(u)&&!this.useRawValueToEscape&&(u=e0(u));const be=me.safeValue(u);if(t=t.replace(a[0],be),B?(me.regex.lastIndex+=u.length,me.regex.lastIndex-=a[0].length):me.regex.lastIndex=0,d++,d>=this.maxReplaces)break}}),t}nest(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,a,u;const d=(A,h)=>{const v=this.nestingOptionsSeparator;if(A.indexOf(v)<0)return A;const B=A.split(new RegExp(`${v}[ ]*{`));let te=`{${B[1]}`;A=B[0],te=this.interpolate(te,u);const me=te.match(/'/g),Ee=te.match(/"/g);((me?.length??0)%2===0&&!Ee||Ee.length%2!==0)&&(te=te.replace(/'/g,'"'));try{u=JSON.parse(te),h&&(u={...h,...u})}catch(be){return this.logger.warn(`failed parsing options string in nesting for key ${A}`,be),`${A}${v}${te}`}return u.defaultValue&&u.defaultValue.indexOf(this.prefix)>-1&&delete u.defaultValue,A};for(;i=this.nestingRegexp.exec(t);){let A=[];u={...n},u=u.replace&&!Or(u.replace)?u.replace:u,u.applyPostProcessor=!1,delete u.defaultValue;let h=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const v=i[1].split(this.formatSeparator).map(B=>B.trim());i[1]=v.shift(),A=v,h=!0}if(a=r(d.call(this,i[1].trim(),u),u),a&&i[0]===t&&!Or(a))return a;Or(a)||(a=e0(a)),a||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),a=""),h&&(a=A.reduce((v,B)=>this.format(v,B,n.lng,{...n,interpolationkey:i[1].trim()}),a.trim())),t=t.replace(i[0],a),this.regexp.lastIndex=0}return t}}const v3=e=>{let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const n=e.split("(");t=n[0].toLowerCase().trim();const i=n[1].substring(0,n[1].length-1);t==="currency"&&i.indexOf(":")<0?r.currency||(r.currency=i.trim()):t==="relativetime"&&i.indexOf(":")<0?r.range||(r.range=i.trim()):i.split(";").forEach(u=>{if(u){const[d,...A]=u.split(":"),h=A.join(":").trim().replace(/^'+|'+$/g,""),v=d.trim();r[v]||(r[v]=h),h==="false"&&(r[v]=!1),h==="true"&&(r[v]=!0),isNaN(h)||(r[v]=parseInt(h,10))}})}return{formatName:t,formatOptions:r}},Hd=e=>{const t={};return(r,n,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});const u=n+JSON.stringify(a);let d=t[u];return d||(d=e(Jv(n),i),t[u]=d),d(r)}};class m3{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Ts.create("formatter"),this.options=t,this.formats={number:Hd((r,n)=>{const i=new Intl.NumberFormat(r,{...n});return a=>i.format(a)}),currency:Hd((r,n)=>{const i=new Intl.NumberFormat(r,{...n,style:"currency"});return a=>i.format(a)}),datetime:Hd((r,n)=>{const i=new Intl.DateTimeFormat(r,{...n});return a=>i.format(a)}),relativetime:Hd((r,n)=>{const i=new Intl.RelativeTimeFormat(r,{...n});return a=>i.format(a,n.range||"day")}),list:Hd((r,n)=>{const i=new Intl.ListFormat(r,{...n});return a=>i.format(a)})},this.init(t)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=r.interpolation.formatSeparator||","}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=Hd(r)}format(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=r.split(this.formatSeparator);if(a.length>1&&a[0].indexOf("(")>1&&a[0].indexOf(")")<0&&a.find(d=>d.indexOf(")")>-1)){const d=a.findIndex(A=>A.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,d)].join(this.formatSeparator)}return a.reduce((d,A)=>{const{formatName:h,formatOptions:v}=v3(A);if(this.formats[h]){let B=d;try{const te=i?.formatParams?.[i.interpolationkey]||{},me=te.locale||te.lng||i.locale||i.lng||n;B=this.formats[h](d,me,{...v,...i,...te})}catch(te){this.logger.warn(te)}return B}else this.logger.warn(`there was no format function for ${h}`);return d},t)}}const E3=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class y3 extends em{constructor(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=r,this.services=n,this.languageUtils=n.languageUtils,this.options=i,this.logger=Ts.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,i.backend,i)}queueLoad(t,r,n,i){const a={},u={},d={},A={};return t.forEach(h=>{let v=!0;r.forEach(B=>{const te=`${h}|${B}`;!n.reload&&this.store.hasResourceBundle(h,B)?this.state[te]=2:this.state[te]<0||(this.state[te]===1?u[te]===void 0&&(u[te]=!0):(this.state[te]=1,v=!1,u[te]===void 0&&(u[te]=!0),a[te]===void 0&&(a[te]=!0),A[B]===void 0&&(A[B]=!0)))}),v||(d[h]=!0)}),(Object.keys(a).length||Object.keys(u).length)&&this.queue.push({pending:u,pendingCount:Object.keys(u).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(a),pending:Object.keys(u),toLoadLanguages:Object.keys(d),toLoadNamespaces:Object.keys(A)}}loaded(t,r,n){const i=t.split("|"),a=i[0],u=i[1];r&&this.emit("failedLoading",a,u,r),!r&&n&&this.store.addResourceBundle(a,u,n,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2,r&&n&&(this.state[t]=0);const d={};this.queue.forEach(A=>{s3(A.loaded,[a],u),E3(A,t),r&&A.errors.push(r),A.pendingCount===0&&!A.done&&(Object.keys(A.loaded).forEach(h=>{d[h]||(d[h]={});const v=A.loaded[h];v.length&&v.forEach(B=>{d[h][B]===void 0&&(d[h][B]=!0)})}),A.done=!0,A.errors.length?A.callback(A.errors):A.callback())}),this.emit("loaded",d),this.queue=this.queue.filter(A=>!A.done)}read(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,u=arguments.length>5?arguments[5]:void 0;if(!t.length)return u(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:n,tried:i,wait:a,callback:u});return}this.readingCalls++;const d=(h,v)=>{if(this.readingCalls--,this.waitingReads.length>0){const B=this.waitingReads.shift();this.read(B.lng,B.ns,B.fcName,B.tried,B.wait,B.callback)}if(h&&v&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,t,r,n,i+1,a*2,u)},a);return}u(h,v)},A=this.backend[n].bind(this.backend);if(A.length===2){try{const h=A(t,r);h&&typeof h.then=="function"?h.then(v=>d(null,v)).catch(d):d(null,h)}catch(h){d(h)}return}return A(t,r,d)}prepareLoading(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=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."),i&&i();Or(t)&&(t=this.languageUtils.toResolveHierarchy(t)),Or(r)&&(r=[r]);const a=this.queueLoad(t,r,n,i);if(!a.toLoad.length)return a.pending.length||i(),null;a.toLoad.forEach(u=>{this.loadOne(u)})}load(t,r,n){this.prepareLoading(t,r,{},n)}reload(t,r,n){this.prepareLoading(t,r,{reload:!0},n)}loadOne(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const n=t.split("|"),i=n[0],a=n[1];this.read(i,a,"read",void 0,void 0,(u,d)=>{u&&this.logger.warn(`${r}loading namespace ${a} for language ${i} failed`,u),!u&&d&&this.logger.log(`${r}loaded namespace ${a} for language ${i}`,d),this.loaded(t,u,d)})}saveMissing(t,r,n,i,a){let u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},d=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(r)){this.logger.warn(`did not save key "${n}" as the namespace "${r}" 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(!(n==null||n==="")){if(this.backend?.create){const A={...u,isUpdate:a},h=this.backend.create.bind(this.backend);if(h.length<6)try{let v;h.length===5?v=h(t,r,n,i,A):v=h(t,r,n,i),v&&typeof v.then=="function"?v.then(B=>d(null,B)).catch(d):d(null,v)}catch(v){d(v)}else h(t,r,n,i,d,A)}!t||!t[0]||this.store.addResource(t[0],r,n,i)}}}const _0=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),Or(e[1])&&(t.defaultValue=e[1]),Or(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const r=e[3]||e[2];Object.keys(r).forEach(n=>{t[n]=r[n]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),p0=e=>(Or(e.ns)&&(e.ns=[e.ns]),Or(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Or(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e),rm=()=>{},T3=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(r=>{typeof e[r]=="function"&&(e[r]=e[r].bind(e))})};class Fp extends em{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(super(),this.options=p0(t),this.services={},this.logger=Ts,this.modules={external:[]},T3(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(){var t=this;let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof r=="function"&&(n=r,r={}),r.defaultNS==null&&r.ns&&(Or(r.ns)?r.defaultNS=r.ns:r.ns.indexOf("translation")<0&&(r.defaultNS=r.ns[0]));const i=_0();this.options={...i,...this.options,...p0(r)},this.options.interpolation={...i.interpolation,...this.options.interpolation},r.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=r.keySeparator),r.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=r.nsSeparator);const a=v=>v?typeof v=="function"?new v:v:null;if(!this.options.isClone){this.modules.logger?Ts.init(a(this.modules.logger),this.options):Ts.init(null,this.options);let v;this.modules.formatter?v=this.modules.formatter:v=m3;const B=new c0(this.options);this.store=new a0(this.options.resources,this.options);const te=this.services;te.logger=Ts,te.resourceStore=this.store,te.languageUtils=B,te.pluralResolver=new S3(B,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),v&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(te.formatter=a(v),te.formatter.init(te,this.options),this.options.interpolation.format=te.formatter.format.bind(te.formatter)),te.interpolator=new g3(this.options),te.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},te.backendConnector=new y3(a(this.modules.backend),te.resourceStore,te,this.options),te.backendConnector.on("*",function(me){for(var Ee=arguments.length,be=new Array(Ee>1?Ee-1:0),Ye=1;Ye<Ee;Ye++)be[Ye-1]=arguments[Ye];t.emit(me,...be)}),this.modules.languageDetector&&(te.languageDetector=a(this.modules.languageDetector),te.languageDetector.init&&te.languageDetector.init(te,this.options.detection,this.options)),this.modules.i18nFormat&&(te.i18nFormat=a(this.modules.i18nFormat),te.i18nFormat.init&&te.i18nFormat.init(this)),this.translator=new tm(this.services,this.options),this.translator.on("*",function(me){for(var Ee=arguments.length,be=new Array(Ee>1?Ee-1:0),Ye=1;Ye<Ee;Ye++)be[Ye-1]=arguments[Ye];t.emit(me,...be)}),this.modules.external.forEach(me=>{me.init&&me.init(this)})}if(this.format=this.options.interpolation.format,n||(n=rm),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const v=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);v.length>0&&v[0]!=="dev"&&(this.options.lng=v[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(v=>{this[v]=function(){return t.store[v](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(v=>{this[v]=function(){return t.store[v](...arguments),t}});const A=Gp(),h=()=>{const v=(B,te)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),A.resolve(te),n(B,te)};if(this.languages&&!this.isInitialized)return v(null,this.t.bind(this));this.changeLanguage(this.options.lng,v)};return this.options.resources||!this.options.initAsync?h():setTimeout(h,0),A}loadResources(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:rm;const i=Or(t)?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(i?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const a=[],u=d=>{if(!d||d==="cimode")return;this.services.languageUtils.toResolveHierarchy(d).forEach(h=>{h!=="cimode"&&a.indexOf(h)<0&&a.push(h)})};i?u(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(A=>u(A)),this.options.preload?.forEach?.(d=>u(d)),this.services.backendConnector.load(a,this.options.ns,d=>{!d&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(d)})}else n(null)}reloadResources(t,r,n){const i=Gp();return typeof t=="function"&&(n=t,t=void 0),typeof r=="function"&&(n=r,r=void 0),t||(t=this.languages),r||(r=this.options.ns),n||(n=rm),this.services.backendConnector.reload(t,r,a=>{i.resolve(),n(a)}),i}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"&&o0.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 r=0;r<this.languages.length;r++){const n=this.languages[r];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}changeLanguage(t,r){var n=this;this.isLanguageChangingTo=t;const i=Gp();this.emit("languageChanging",t);const a=A=>{this.language=A,this.languages=this.services.languageUtils.toResolveHierarchy(A),this.resolvedLanguage=void 0,this.setResolvedLanguage(A)},u=(A,h)=>{h?(a(h),this.translator.changeLanguage(h),this.isLanguageChangingTo=void 0,this.emit("languageChanged",h),this.logger.log("languageChanged",h)):this.isLanguageChangingTo=void 0,i.resolve(function(){return n.t(...arguments)}),r&&r(A,function(){return n.t(...arguments)})},d=A=>{!t&&!A&&this.services.languageDetector&&(A=[]);const h=Or(A)?A:this.services.languageUtils.getBestMatchFromCodes(A);h&&(this.language||a(h),this.translator.language||this.translator.changeLanguage(h),this.services.languageDetector?.cacheUserLanguage?.(h)),this.loadResources(h,v=>{u(v,h)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?d(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(d):this.services.languageDetector.detect(d):d(t),i}getFixedT(t,r,n){var i=this;const a=function(u,d){let A;if(typeof d!="object"){for(var h=arguments.length,v=new Array(h>2?h-2:0),B=2;B<h;B++)v[B-2]=arguments[B];A=i.options.overloadTranslationOptionHandler([u,d].concat(v))}else A={...d};A.lng=A.lng||a.lng,A.lngs=A.lngs||a.lngs,A.ns=A.ns||a.ns,A.keyPrefix!==""&&(A.keyPrefix=A.keyPrefix||n||a.keyPrefix);const te=i.options.keySeparator||".";let me;return A.keyPrefix&&Array.isArray(u)?me=u.map(Ee=>`${A.keyPrefix}${te}${Ee}`):me=A.keyPrefix?`${A.keyPrefix}${te}${u}`:u,i.t(me,A)};return Or(t)?a.lng=t:a.lngs=t,a.ns=r,a.keyPrefix=n,a}t(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.translator?.translate(...r)}exists(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.translator?.exists(...r)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let r=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 n=r.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,a=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const u=(d,A)=>{const h=this.services.backendConnector.state[`${d}|${A}`];return h===-1||h===0||h===2};if(r.precheck){const d=r.precheck(this,u);if(d!==void 0)return d}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||u(n,t)&&(!i||u(a,t)))}loadNamespaces(t,r){const n=Gp();return this.options.ns?(Or(t)&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{n.resolve(),r&&r(i)}),n):(r&&r(),Promise.resolve())}loadLanguages(t,r){const n=Gp();Or(t)&&(t=[t]);const i=this.options.preload||[],a=t.filter(u=>i.indexOf(u)<0&&this.services.languageUtils.isSupportedCode(u));return a.length?(this.options.preload=i.concat(a),this.loadResources(u=>{n.resolve(),r&&r(u)}),n):(r&&r(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!t)return"rtl";const r=["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"],n=this.services?.languageUtils||new c0(_0());return r.indexOf(n.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new Fp(t,r)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:rm;const n=t.forkResourceStore;n&&delete t.forkResourceStore;const i={...this.options,...t,isClone:!0},a=new Fp(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),["store","services","language"].forEach(d=>{a[d]=this[d]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},n){const d=Object.keys(this.store.data).reduce((A,h)=>(A[h]={...this.store.data[h]},Object.keys(A[h]).reduce((v,B)=>(v[B]={...A[h][B]},v),{})),{});a.store=new a0(d,i),a.services.resourceStore=a.store}return a.translator=new tm(a.services,i),a.translator.on("*",function(d){for(var A=arguments.length,h=new Array(A>1?A-1:0),v=1;v<A;v++)h[v-1]=arguments[v];a.emit(d,...h)}),a.init(i,r),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const oa=Fp.createInstance();oa.createInstance=Fp.createInstance;const ZNe=oa.createInstance,eLe=oa.dir,tLe=oa.init,rLe=oa.loadResources,nLe=oa.reloadResources,iLe=oa.use,aLe=oa.changeLanguage,oLe=oa.getFixedT,sLe=oa.t,uLe=oa.exists,cLe=oa.setDefaultNamespace,lLe=oa.hasLoadedNamespace,dLe=oa.loadNamespaces,fLe=oa.loadLanguages;var h0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},qo=function(e){try{return!!e()}catch{return!0}},A3=qo,S0=!A3(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),g0=S0,v0=Function.prototype,C3=v0.bind,jb=v0.call,O3=g0&&C3.bind(jb,jb),Ho=g0?function(e){return e&&O3(e)}:function(e){return e&&function(){return jb.apply(e,arguments)}},m0=Ho,b3=m0({}.toString),R3=m0("".slice),P3=function(e){return R3(b3(e),8,-1)},M3=Ho,I3=qo,N3=P3,Qb=Object,L3=M3("".split),E0=I3(function(){return!Qb("z").propertyIsEnumerable(0)})?function(e){return N3(e)=="String"?L3(e,""):Qb(e)}:Qb,D3=TypeError,y0=function(e){if(e==null)throw D3("Can't call method on "+e);return e},w3=E0,U3=y0,Vp=function(e){return w3(U3(e))},nm=function(e){return e&&e.Math==Math&&e},As=nm(typeof globalThis=="object"&&globalThis)||nm(typeof window=="object"&&window)||nm(typeof self=="object"&&self)||nm(typeof h0=="object"&&h0)||function(){return this}()||Function("return this")(),qb={exports:{}},T0=As,$3=Object.defineProperty,Hb=function(e,t){try{$3(T0,e,{value:t,configurable:!0,writable:!0})}catch{T0[e]=t}return t},G3=As,x3=Hb,A0="__core-js_shared__",F3=G3[A0]||x3(A0,{}),Yb=F3,C0=Yb;(qb.exports=function(e,t){return C0[e]||(C0[e]=t!==void 0?t:{})})("versions",[]).push({version:"3.24.1",mode:"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"});var V3=y0,B3=Object,Wb=function(e){return B3(V3(e))},k3=Ho,j3=Wb,Q3=k3({}.hasOwnProperty),Ks=Object.hasOwn||function(t,r){return Q3(j3(t),r)},q3=Ho,H3=0,Y3=Math.random(),W3=q3(1 .toString),O0=function(e){return"Symbol("+(e===void 0?"":e)+")_"+W3(++H3+Y3,36)},Da=function(e){return typeof e=="function"},Kb=As,K3=Da,z3=function(e){return K3(e)?e:void 0},im=function(e,t){return arguments.length<2?z3(Kb[e]):Kb[e]&&Kb[e][t]},X3=im,J3=X3("navigator","userAgent")||"",b0=As,zb=J3,R0=b0.process,P0=b0.Deno,M0=R0&&R0.versions||P0&&P0.version,I0=M0&&M0.v8,Yo,am;I0&&(Yo=I0.split("."),am=Yo[0]>0&&Yo[0]<4?1:+(Yo[0]+Yo[1])),!am&&zb&&(Yo=zb.match(/Edge\/(\d+)/),(!Yo||Yo[1]>=74)&&(Yo=zb.match(/Chrome\/(\d+)/),Yo&&(am=+Yo[1])));var Z3=am,N0=Z3,e4=qo,L0=!!Object.getOwnPropertySymbols&&!e4(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&N0&&N0<41}),t4=L0,D0=t4&&!Symbol.sham&&typeof Symbol.iterator=="symbol",r4=As,n4=qb.exports,w0=Ks,i4=O0,U0=L0,$0=D0,Yd=n4("wks"),Xc=r4.Symbol,G0=Xc&&Xc.for,a4=$0?Xc:Xc&&Xc.withoutSetter||i4,Wd=function(e){if(!w0(Yd,e)||!(U0||typeof Yd[e]=="string")){var t="Symbol."+e;U0&&w0(Xc,e)?Yd[e]=Xc[e]:$0&&G0?Yd[e]=G0(t):Yd[e]=a4(t)}return Yd[e]},o4=Da,Bp=function(e){return typeof e=="object"?e!==null:o4(e)},s4=Bp,u4=String,c4=TypeError,kp=function(e){if(s4(e))return e;throw c4(u4(e)+" is not an object")},x0={},l4=qo,Cs=!l4(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),d4=Cs,f4=qo,F0=d4&&f4(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),$u={},_4=As,V0=Bp,Xb=_4.document,p4=V0(Xb)&&V0(Xb.createElement),Jb=function(e){return p4?Xb.createElement(e):{}},h4=Cs,S4=qo,g4=Jb,B0=!h4&&!S4(function(){return Object.defineProperty(g4("div"),"a",{get:function(){return 7}}).a!=7}),v4=S0,om=Function.prototype.call,jp=v4?om.bind(om):function(){return om.apply(om,arguments)},m4=Ho,E4=m4({}.isPrototypeOf),y4=im,T4=Da,A4=E4,C4=D0,O4=Object,k0=C4?function(e){return typeof e=="symbol"}:function(e){var t=y4("Symbol");return T4(t)&&A4(t.prototype,O4(e))},b4=String,R4=function(e){try{return b4(e)}catch{return"Object"}},P4=Da,M4=R4,I4=TypeError,N4=function(e){if(P4(e))return e;throw I4(M4(e)+" is not a function")},L4=N4,D4=function(e,t){var r=e[t];return r==null?void 0:L4(r)},Zb=jp,eR=Da,tR=Bp,w4=TypeError,U4=function(e,t){var r,n;if(t==="string"&&eR(r=e.toString)&&!tR(n=Zb(r,e))||eR(r=e.valueOf)&&!tR(n=Zb(r,e))||t!=="string"&&eR(r=e.toString)&&!tR(n=Zb(r,e)))return n;throw w4("Can't convert object to primitive value")},$4=jp,j0=Bp,Q0=k0,G4=D4,x4=U4,F4=Wd,V4=TypeError,B4=F4("toPrimitive"),k4=function(e,t){if(!j0(e)||Q0(e))return e;var r=G4(e,B4),n;if(r){if(t===void 0&&(t="default"),n=$4(r,e,t),!j0(n)||Q0(n))return n;throw V4("Can't convert object to primitive value")}return t===void 0&&(t="number"),x4(e,t)},j4=k4,Q4=k0,q0=function(e){var t=j4(e,"string");return Q4(t)?t:t+""},q4=Cs,H4=B0,Y4=F0,sm=kp,H0=q0,W4=TypeError,rR=Object.defineProperty,K4=Object.getOwnPropertyDescriptor,nR="enumerable",iR="configurable",aR="writable";$u.f=q4?Y4?function(t,r,n){if(sm(t),r=H0(r),sm(n),typeof t=="function"&&r==="prototype"&&"value"in n&&aR in n&&!n[aR]){var i=K4(t,r);i&&i[aR]&&(t[r]=n.value,n={configurable:iR in n?n[iR]:i[iR],enumerable:nR in n?n[nR]:i[nR],writable:!1})}return rR(t,r,n)}:rR:function(t,r,n){if(sm(t),r=H0(r),sm(n),H4)try{return rR(t,r,n)}catch{}if("get"in n||"set"in n)throw W4("Accessors not supported");return"value"in n&&(t[r]=n.value),t};var z4=Math.ceil,X4=Math.floor,J4=Math.trunc||function(t){var r=+t;return(r>0?X4:z4)(r)},Z4=J4,Y0=function(e){var t=+e;return t!==t||t===0?0:Z4(t)},e6=Y0,t6=Math.max,r6=Math.min,n6=function(e,t){var r=e6(e);return r<0?t6(r+t,0):r6(r,t)},i6=Y0,a6=Math.min,o6=function(e){return e>0?a6(i6(e),9007199254740991):0},s6=o6,u6=function(e){return s6(e.length)},c6=Vp,l6=n6,d6=u6,W0=function(e){return function(t,r,n){var i=c6(t),a=d6(i),u=l6(n,a),d;if(e&&r!=r){for(;a>u;)if(d=i[u++],d!=d)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===r)return e||u||0;return!e&&-1}},f6={includes:W0(!0),indexOf:W0(!1)},oR={},_6=Ho,sR=Ks,p6=Vp,h6=f6.indexOf,S6=oR,K0=_6([].push),z0=function(e,t){var r=p6(e),n=0,i=[],a;for(a in r)!sR(S6,a)&&sR(r,a)&&K0(i,a);for(;t.length>n;)sR(r,a=t[n++])&&(~h6(i,a)||K0(i,a));return i},uR=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],g6=z0,v6=uR,X0=Object.keys||function(t){return g6(t,v6)},m6=Cs,E6=F0,y6=$u,T6=kp,A6=Vp,C6=X0;x0.f=m6&&!E6?Object.defineProperties:function(t,r){T6(t);for(var n=A6(r),i=C6(r),a=i.length,u=0,d;a>u;)y6.f(t,d=i[u++],n[d]);return t};var O6=im,b6=O6("document","documentElement"),R6=qb.exports,P6=O0,J0=R6("keys"),cR=function(e){return J0[e]||(J0[e]=P6(e))},M6=kp,I6=x0,Z0=uR,N6=oR,L6=b6,D6=Jb,w6=cR,ew=">",tw="<",lR="prototype",dR="script",rw=w6("IE_PROTO"),fR=function(){},nw=function(e){return tw+dR+ew+e+tw+"/"+dR+ew},iw=function(e){e.write(nw("")),e.close();var t=e.parentWindow.Object;return e=null,t},U6=function(){var e=D6("iframe"),t="java"+dR+":",r;return e.style.display="none",L6.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(nw("document.F=Object")),r.close(),r.F},um,cm=function(){try{um=new ActiveXObject("htmlfile")}catch{}cm=typeof document<"u"?document.domain&&um?iw(um):U6():iw(um);for(var e=Z0.length;e--;)delete cm[lR][Z0[e]];return cm()};N6[rw]=!0;var aw=Object.create||function(t,r){var n;return t!==null?(fR[lR]=M6(t),n=new fR,fR[lR]=null,n[rw]=t):n=cm(),r===void 0?n:I6.f(n,r)},$6=Wd,G6=aw,x6=$u.f,_R=$6("unscopables"),pR=Array.prototype;pR[_R]==null&&x6(pR,_R,{configurable:!0,value:G6(null)});var F6=function(e){pR[_R][e]=!0},hR={},V6=Ho,B6=Da,SR=Yb,k6=V6(Function.toString);B6(SR.inspectSource)||(SR.inspectSource=function(e){return k6(e)});var ow=SR.inspectSource,j6=As,Q6=Da,q6=ow,sw=j6.WeakMap,H6=Q6(sw)&&/native code/.test(q6(sw)),gR=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},Y6=Cs,W6=$u,K6=gR,lm=Y6?function(e,t,r){return W6.f(e,t,K6(1,r))}:function(e,t,r){return e[t]=r,e},z6=H6,uw=As,vR=Ho,X6=Bp,J6=lm,mR=Ks,ER=Yb,Z6=cR,e5=oR,cw="Object already initialized",yR=uw.TypeError,t5=uw.WeakMap,dm,Qp,fm,r5=function(e){return fm(e)?Qp(e):dm(e,{})},n5=function(e){return function(t){var r;if(!X6(t)||(r=Qp(t)).type!==e)throw yR("Incompatible receiver, "+e+" required");return r}};if(z6||ER.state){var Jc=ER.state||(ER.state=new t5),i5=vR(Jc.get),lw=vR(Jc.has),a5=vR(Jc.set);dm=function(e,t){if(lw(Jc,e))throw new yR(cw);return t.facade=e,a5(Jc,e,t),t},Qp=function(e){return i5(Jc,e)||{}},fm=function(e){return lw(Jc,e)}}else{var Kd=Z6("state");e5[Kd]=!0,dm=function(e,t){if(mR(e,Kd))throw new yR(cw);return t.facade=e,J6(e,Kd,t),t},Qp=function(e){return mR(e,Kd)?e[Kd]:{}},fm=function(e){return mR(e,Kd)}}var dw={set:dm,get:Qp,has:fm,enforce:r5,getterFor:n5},TR={},AR={},fw={}.propertyIsEnumerable,_w=Object.getOwnPropertyDescriptor,o5=_w&&!fw.call({1:2},1);AR.f=o5?function(t){var r=_w(this,t);return!!r&&r.enumerable}:fw;var s5=Cs,u5=jp,c5=AR,l5=gR,d5=Vp,f5=q0,_5=Ks,p5=B0,pw=Object.getOwnPropertyDescriptor;TR.f=s5?pw:function(t,r){if(t=d5(t),r=f5(r),p5)try{return pw(t,r)}catch{}if(_5(t,r))return l5(!u5(c5.f,t,r),t[r])};var hw={exports:{}},CR=Cs,h5=Ks,Sw=Function.prototype,S5=CR&&Object.getOwnPropertyDescriptor,OR=h5(Sw,"name"),g5=OR&&function(){}.name==="something",v5=OR&&(!CR||CR&&S5(Sw,"name").configurable),gw={EXISTS:OR,PROPER:g5,CONFIGURABLE:v5},m5=qo,E5=Da,_m=Ks,bR=Cs,y5=gw.CONFIGURABLE,T5=ow,vw=dw,A5=vw.enforce,C5=vw.get,pm=Object.defineProperty,O5=bR&&!m5(function(){return pm(function(){},"length",{value:8}).length!==8}),b5=String(String).split("String"),R5=hw.exports=function(e,t,r){String(t).slice(0,7)==="Symbol("&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!_m(e,"name")||y5&&e.name!==t)&&(bR?pm(e,"name",{value:t,configurable:!0}):e.name=t),O5&&r&&_m(r,"arity")&&e.length!==r.arity&&pm(e,"length",{value:r.arity});try{r&&_m(r,"constructor")&&r.constructor?bR&&pm(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=A5(e);return _m(n,"source")||(n.source=b5.join(typeof t=="string"?t:"")),e};Function.prototype.toString=R5(function(){return E5(this)&&C5(this).source||T5(this)},"toString");var P5=Da,M5=$u,I5=hw.exports,N5=Hb,RR=function(e,t,r,n){n||(n={});var i=n.enumerable,a=n.name!==void 0?n.name:t;if(P5(r)&&I5(r,a,n),n.global)i?e[t]=r:N5(t,r);else{try{n.unsafe?e[t]&&(i=!0):delete e[t]}catch{}i?e[t]=r:M5.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},mw={},L5=z0,D5=uR,w5=D5.concat("length","prototype");mw.f=Object.getOwnPropertyNames||function(t){return L5(t,w5)};var PR={};PR.f=Object.getOwnPropertySymbols;var U5=im,$5=Ho,G5=mw,x5=PR,F5=kp,V5=$5([].concat),B5=U5("Reflect","ownKeys")||function(t){var r=G5.f(F5(t)),n=x5.f;return n?V5(r,n(t)):r},Ew=Ks,k5=B5,j5=TR,Q5=$u,q5=function(e,t,r){for(var n=k5(t),i=Q5.f,a=j5.f,u=0;u<n.length;u++){var d=n[u];!Ew(e,d)&&!(r&&Ew(r,d))&&i(e,d,a(t,d))}},H5=qo,Y5=Da,W5=/#|\.prototype\./,qp=function(e,t){var r=z5[K5(e)];return r==J5?!0:r==X5?!1:Y5(t)?H5(t):!!t},K5=qp.normalize=function(e){return String(e).replace(W5,".").toLowerCase()},z5=qp.data={},X5=qp.NATIVE="N",J5=qp.POLYFILL="P",Z5=qp,MR=As,eX=TR.f,tX=lm,rX=RR,nX=Hb,iX=q5,aX=Z5,yw=function(e,t){var r=e.target,n=e.global,i=e.stat,a,u,d,A,h,v;if(n?u=MR:i?u=MR[r]||nX(r,{}):u=(MR[r]||{}).prototype,u)for(d in t){if(h=t[d],e.dontCallGetSet?(v=eX(u,d),A=v&&v.value):A=u[d],a=aX(n?d:r+(i?".":"#")+d,e.forced),!a&&A!==void 0){if(typeof h==typeof A)continue;iX(h,A)}(e.sham||A&&A.sham)&&tX(h,"sham",!0),rX(u,d,h,e)}},oX=qo,sX=!oX(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),uX=Ks,cX=Da,lX=Wb,dX=cR,fX=sX,Tw=dX("IE_PROTO"),IR=Object,_X=IR.prototype,Aw=fX?IR.getPrototypeOf:function(e){var t=lX(e);if(uX(t,Tw))return t[Tw];var r=t.constructor;return cX(r)&&t instanceof r?r.prototype:t instanceof IR?_X:null},pX=qo,hX=Da,Cw=Aw,SX=RR,gX=Wd,NR=gX("iterator"),Ow=!1,Zc,LR,DR;[].keys&&(DR=[].keys(),"next"in DR?(LR=Cw(Cw(DR)),LR!==Object.prototype&&(Zc=LR)):Ow=!0);var vX=Zc==null||pX(function(){var e={};return Zc[NR].call(e)!==e});vX&&(Zc={}),hX(Zc[NR])||SX(Zc,NR,function(){return this});var bw={IteratorPrototype:Zc,BUGGY_SAFARI_ITERATORS:Ow},mX=$u.f,EX=Ks,yX=Wd,Rw=yX("toStringTag"),Pw=function(e,t,r){e&&!r&&(e=e.prototype),e&&!EX(e,Rw)&&mX(e,Rw,{configurable:!0,value:t})},TX=bw.IteratorPrototype,AX=aw,CX=gR,OX=Pw,bX=hR,RX=function(){return this},PX=function(e,t,r,n){var i=t+" Iterator";return e.prototype=AX(TX,{next:CX(+!n,r)}),OX(e,i,!1),bX[i]=RX,e},MX=Da,IX=String,NX=TypeError,LX=function(e){if(typeof e=="object"||MX(e))return e;throw NX("Can't set "+IX(e)+" as a prototype")},DX=Ho,wX=kp,UX=LX,$X=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=DX(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),r(t,[]),e=t instanceof Array}catch{}return function(i,a){return wX(i),UX(a),e?r(i,a):i.__proto__=a,i}}():void 0),GX=yw,xX=jp,Mw=gw,FX=Da,VX=PX,Iw=Aw,Nw=$X,BX=Pw,kX=lm,wR=RR,jX=Wd,QX=hR,Lw=bw,qX=Mw.PROPER,HX=Mw.CONFIGURABLE,Dw=Lw.IteratorPrototype,hm=Lw.BUGGY_SAFARI_ITERATORS,Hp=jX("iterator"),ww="keys",Yp="values",Uw="entries",YX=function(){return this},WX=function(e,t,r,n,i,a,u){VX(r,t,n);var d=function(Ke){if(Ke===i&&te)return te;if(!hm&&Ke in v)return v[Ke];switch(Ke){case ww:return function(){return new r(this,Ke)};case Yp:return function(){return new r(this,Ke)};case Uw:return function(){return new r(this,Ke)}}return function(){return new r(this)}},A=t+" Iterator",h=!1,v=e.prototype,B=v[Hp]||v["@@iterator"]||i&&v[i],te=!hm&&B||d(i),me=t=="Array"&&v.entries||B,Ee,be,Ye;if(me&&(Ee=Iw(me.call(new e)),Ee!==Object.prototype&&Ee.next&&(Iw(Ee)!==Dw&&(Nw?Nw(Ee,Dw):FX(Ee[Hp])||wR(Ee,Hp,YX)),BX(Ee,A,!0))),qX&&i==Yp&&B&&B.name!==Yp&&(HX?kX(v,"name",Yp):(h=!0,te=function(){return xX(B,this)})),i)if(be={values:d(Yp),keys:a?te:d(ww),entries:d(Uw)},u)for(Ye in be)(hm||h||!(Ye in v))&&wR(v,Ye,be[Ye]);else GX({target:t,proto:!0,forced:hm||h},be);return v[Hp]!==te&&wR(v,Hp,te,{name:i}),QX[t]=te,be},KX=Vp,UR=F6,$w=hR,Gw=dw,zX=$u.f,XX=WX,JX=Cs,xw="Array Iterator",ZX=Gw.set,e7=Gw.getterFor(xw),t7=XX(Array,"Array",function(e,t){ZX(this,{type:xw,target:KX(e),index:0,kind:t})},function(){var e=e7(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):r=="keys"?{value:n,done:!1}:r=="values"?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}},"values"),Fw=$w.Arguments=$w.Array;if(UR("keys"),UR("values"),UR("entries"),JX&&Fw.name!=="values")try{zX(Fw,"name",{value:"values"})}catch{}var r7={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},n7=Jb,$R=n7("span").classList,Vw=$R&&$R.constructor&&$R.constructor.prototype,i7=Vw===Object.prototype?void 0:Vw,Bw=As,kw=r7,a7=i7,Wp=t7,GR=lm,jw=Wd,xR=jw("iterator"),Qw=jw("toStringTag"),FR=Wp.values,qw=function(e,t){if(e){if(e[xR]!==FR)try{GR(e,xR,FR)}catch{e[xR]=FR}if(e[Qw]||GR(e,Qw,t),kw[t]){for(var r in Wp)if(e[r]!==Wp[r])try{GR(e,r,Wp[r])}catch{e[r]=Wp[r]}}}};for(var VR in kw)qw(Bw[VR]&&Bw[VR].prototype,VR);qw(a7,"DOMTokenList");var Hw=Cs,o7=Ho,s7=jp,u7=qo,BR=X0,c7=PR,l7=AR,d7=Wb,f7=E0,zd=Object.assign,Yw=Object.defineProperty,_7=o7([].concat),p7=!zd||u7(function(){if(Hw&&zd({b:1},zd(Yw({},"a",{enumerable:!0,get:function(){Yw(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(i){t[i]=i}),zd({},e)[r]!=7||BR(zd({},t)).join("")!=n})?function(t,r){for(var n=d7(t),i=arguments.length,a=1,u=c7.f,d=l7.f;i>a;)for(var A=f7(arguments[a++]),h=u?_7(BR(A),u(A)):BR(A),v=h.length,B=0,te;v>B;)te=h[B++],(!Hw||s7(d,A,te))&&(n[te]=A[te]);return n}:zd,h7=yw,Ww=p7;h7({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ww},{assign:Ww});function Sm(e,t,r,n){function i(a){return a instanceof r?a:new r(function(u){u(a)})}return new(r||(r=Promise))(function(a,u){function d(v){try{h(n.next(v))}catch(B){u(B)}}function A(v){try{h(n.throw(v))}catch(B){u(B)}}function h(v){v.done?a(v.value):i(v.value).then(d,A)}h((n=n.apply(e,t||[])).next())})}function _n(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function Gu(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r}const kR=null,_Le=({children:e,i18n:t})=>jsx(kR.Provider,Object.assign({value:t},{children:e})),pLe=()=>{const e=useContext(kR);if(e===void 0)throw new Error("useTranslation must be used within an I18nProvider");return e.t},S7=e=>{const[t,r]=useState(!e.isLoaded),[n,i]=useState();return useEffect(()=>{e.isLoaded||Sm(void 0,void 0,void 0,function*(){try{yield e.load()}catch(a){i(a)}finally{r(!1)}})},[]),{loading:t,error:n}},hLe=e=>{const t=g7(),r=useMemo(()=>t.child(e),[]),{loading:n,error:i}=S7(r);return{loading:n,error:i,i18n:r}},g7=()=>{const e=useContext(kR);if(e===void 0)throw new Error("I18n instance hooks must be used within an I18nProvider");return e};var Ue=p(4370);let gm=e=>e,Kw,zw,Xw,Jw;const v7=(0,Ue.default)(Kw||(Kw=gm`
|
|
5635
|
+
`)&&(Ye="(?: "+Ye+")",Xe=" "+Xe,Ke++),d=new RegExp("^(?:"+Ye+")",be)),J_&&(d=new RegExp("^"+Ye+"$(?!\\s)",be)),X_&&(A=r.lastIndex),h=Uo(Cd,Ee?d:r,Xe),Ee?h?(h.input=z_(h.input,Ke),h[0]=z_(h[0],Ke),h.index=r.lastIndex,r.lastIndex+=h[0].length):r.lastIndex=0:X_&&h&&(r.lastIndex=r.global?h.index+h[0].length:A),J_&&h&&h.length>1&&Uo(BA,h[0],d,function(){for(v=1;v<arguments.length-2;v++)arguments[v]===void 0&&(h[v]=void 0)}),h&&me)for(h.groups=B=GA(null),v=0;v<me.length;v++)te=me[v],B[te[0]]=h[te[1]];return h});var $o=K_,Cr=Sd,Ig=$o;Cr({target:"RegExp",proto:!0,forced:/./.exec!==Ig},{exec:Ig});var na=xl,Zn=Function.prototype,Ng=Zn.apply,Go=Zn.call,HA=typeof Reflect=="object"&&Reflect.apply||(na?Go.bind(Ng):function(){return Go.apply(Ng,arguments)}),Lg=Hr,Dg=Mc,YA=$o,wg=di,Od=co,WA=Cu,xo=Od("species"),bd=RegExp.prototype,Rd=function(e,t,r,n){var i=Od(e),a=!wg(function(){var h={};return h[i]=function(){return 7},""[e](h)!=7}),u=a&&!wg(function(){var h=!1,v=/a/;return e==="split"&&(v={},v.constructor={},v.constructor[xo]=function(){return v},v.flags="",v[i]=/./[i]),v.exec=function(){return h=!0,null},v[i](""),!h});if(!a||!u||r){var d=Lg(/./[i]),A=t(i,""[e],function(h,v,B,te,me){var Ee=Lg(h),be=v.exec;return be===YA||be===bd.exec?a&&!me?{done:!0,value:d(v,B,te)}:{done:!0,value:Ee(B,v,te)}:{done:!1}});Dg(String.prototype,e,A[0]),Dg(bd,i,A[1])}n&&WA(bd[i],"sham",!0)},Vn=Hr,ei=Ic,Ug=wc,KA=os,zA=Vn("".charAt),$g=Vn("".charCodeAt),XA=Vn("".slice),Gg=function(e){return function(t,r){var n=Ug(KA(t)),i=ei(r),a=n.length,u,d;return i<0||i>=a?e?"":void 0:(u=$g(n,i),u<55296||u>56319||i+1===a||(d=$g(n,i+1))<56320||d>57343?e?zA(n,i):u:e?XA(n,i,i+2):(u-55296<<10)+(d-56320)+65536)}},JA={codeAt:Gg(!1),charAt:Gg(!0)},xg=JA.charAt,Gc=function(e,t,r){return t+(r?xg(e,t).length:1)},xc=Hr,ZA=Ec,Fg=Math.floor,Mu=xc("".charAt),fa=xc("".replace),Ss=xc("".slice),eC=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,tC=/\$([$&'`]|\d{1,2})/g,rC=function(e,t,r,n,i,a){var u=r+e.length,d=n.length,A=tC;return i!==void 0&&(i=ZA(i),A=eC),fa(a,A,function(h,v){var B;switch(Mu(v,0)){case"$":return"$";case"&":return e;case"`":return Ss(t,0,r);case"'":return Ss(t,u);case"<":B=i[Ss(v,1,-1)];break;default:var te=+v;if(te===0)return h;if(te>d){var me=Fg(te/10);return me===0?h:me<=d?n[me-1]===void 0?Mu(v,1):n[me-1]+Mu(v,1):h}B=n[te-1]}return B===void 0?"":B})},Vg=ja,nC=ba,Bg=Ui,Fo=Bl,Dr=$o,kg=TypeError,Ma=function(e,t){var r=e.exec;if(Bg(r)){var n=Vg(r,e,t);return n!==null&&nC(n),n}if(Fo(e)==="RegExp")return Vg(Dr,e,t);throw kg("RegExp#exec called on incompatible receiver")},jg=HA,Qg=ja,tn=Hr,iC=Rd,qg=di,Pd=ba,aC=Ui,oC=Ic,sC=WS,Iu=wc,uC=os,cC=Gc,lC=hS,dC=rC,fC=Ma,_C=co,Z_=_C("replace"),pC=Math.max,hC=Math.min,ep=tn([].concat),tp=tn([].push),Md=tn("".indexOf),Hg=tn("".slice),SC=function(e){return e===void 0?e:String(e)},gC=function(){return"a".replace(/./,"$0")==="$0"}(),vi=function(){return/./[Z_]?/./[Z_]("a","$0")==="":!1}(),ia=!qg(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"});iC("replace",function(e,t,r){var n=vi?"$":"$0";return[function(a,u){var d=uC(this),A=a==null?void 0:lC(a,Z_);return A?Qg(A,a,d,u):Qg(t,Iu(d),a,u)},function(i,a){var u=Pd(this),d=Iu(i);if(typeof a=="string"&&Md(a,n)===-1&&Md(a,"$<")===-1){var A=r(t,u,d,a);if(A.done)return A.value}var h=aC(a);h||(a=Iu(a));var v=u.global;if(v){var B=u.unicode;u.lastIndex=0}for(var te=[];;){var me=fC(u,d);if(me===null||(tp(te,me),!v))break;var Ee=Iu(me[0]);Ee===""&&(u.lastIndex=cC(d,sC(u.lastIndex),B))}for(var be="",Ye=0,Ke=0;Ke<te.length;Ke++){me=te[Ke];for(var Xe=Iu(me[0]),mt=pC(hC(oC(me.index),d.length),0),Nt=[],rr=1;rr<me.length;rr++)tp(Nt,SC(me[rr]));var Pr=me.groups;if(h){var Lr=ep([Xe],Nt,mt,d);Pr!==void 0&&tp(Lr,Pr);var mn=Iu(jg(a,void 0,Lr))}else mn=dC(Xe,d,mt,Nt,Pr,a);mt>=Ye&&(be+=Hg(d,Ye,mt)+mn,Ye=mt+Xe.length)}return be+Hg(d,Ye)}]},!ia||!gC||vi);var vC=co,mC=Ad,EC=Lo.f,Id=vC("unscopables"),rp=Array.prototype;rp[Id]==null&&EC(rp,Id,{configurable:!0,value:mC(null)});var yC=function(e){rp[Id][e]=!0},np={},Yg=di,TC=!Yg(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),AC=uo,CC=Ui,Wg=Ec,Kg=Ou,OC=TC,zg=Kg("IE_PROTO"),ip=Object,bC=ip.prototype,qs=OC?ip.getPrototypeOf:function(e){var t=Wg(e);if(AC(t,zg))return t[zg];var r=t.constructor;return CC(r)&&t instanceof r?r.prototype:t instanceof ip?bC:null},RC=di,PC=Ui,Xg=qs,MC=Mc,IC=co,Nd=IC("iterator"),ap=!1,Hs,op,sp;[].keys&&(sp=[].keys(),"next"in sp?(op=Xg(Xg(sp)),op!==Object.prototype&&(Hs=op)):ap=!0);var NC=Hs==null||RC(function(){var e={};return Hs[Nd].call(e)!==e});NC&&(Hs={}),PC(Hs[Nd])||MC(Hs,Nd,function(){return this});var Jg={IteratorPrototype:Hs,BUGGY_SAFARI_ITERATORS:ap},LC=Lo.f,DC=uo,wC=co,Zg=wC("toStringTag"),ev=function(e,t,r){e&&!r&&(e=e.prototype),e&&!DC(e,Zg)&&LC(e,Zg,{configurable:!0,value:t})},UC=Jg.IteratorPrototype,$C=Ad,GC=gu,xC=ev,FC=np,VC=function(){return this},BC=function(e,t,r,n){var i=t+" Iterator";return e.prototype=$C(UC,{next:GC(+!n,r)}),xC(e,i,!1),FC[i]=VC,e},kC=Ui,jC=String,QC=TypeError,qC=function(e){if(typeof e=="object"||kC(e))return e;throw QC("Can't set "+jC(e)+" as a prototype")},HC=Hr,YC=ba,WC=qC,KC=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=HC(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),r(t,[]),e=t instanceof Array}catch{}return function(i,a){return YC(i),WC(a),e?r(i,a):i.__proto__=a,i}}():void 0),up=Sd,tv=ja,cp=S_,zC=Ui,XC=BC,rv=qs,Ld=KC,JC=ev,ZC=Cu,lp=Mc,aa=co,dp=np,nv=Jg,eO=cp.PROPER,tO=cp.CONFIGURABLE,iv=nv.IteratorPrototype,Nu=nv.BUGGY_SAFARI_ITERATORS,Fc=aa("iterator"),Dd="keys",Vc="values",av="entries",rO=function(){return this},nO=function(e,t,r,n,i,a,u){XC(r,t,n);var d=function(Ke){if(Ke===i&&te)return te;if(!Nu&&Ke in v)return v[Ke];switch(Ke){case Dd:return function(){return new r(this,Ke)};case Vc:return function(){return new r(this,Ke)};case av:return function(){return new r(this,Ke)}}return function(){return new r(this)}},A=t+" Iterator",h=!1,v=e.prototype,B=v[Fc]||v["@@iterator"]||i&&v[i],te=!Nu&&B||d(i),me=t=="Array"&&v.entries||B,Ee,be,Ye;if(me&&(Ee=rv(me.call(new e)),Ee!==Object.prototype&&Ee.next&&(rv(Ee)!==iv&&(Ld?Ld(Ee,iv):zC(Ee[Fc])||lp(Ee,Fc,rO)),JC(Ee,A,!0))),eO&&i==Vc&&B&&B.name!==Vc&&(tO?ZC(v,"name",Vc):(h=!0,te=function(){return tv(B,this)})),i)if(be={values:d(Vc),keys:a?te:d(Dd),entries:d(av)},u)for(Ye in be)(Nu||h||!(Ye in v))&&lp(v,Ye,be[Ye]);else up({target:t,proto:!0,forced:Nu||h},be);return v[Fc]!==te&&lp(v,Fc,te,{name:i}),dp[t]=te,be},ov=hc,fp=yC,sv=np,uv=cd,_p=Lo.f,pp=nO,iO=ka,cv="Array Iterator",aO=uv.set,oO=uv.getterFor(cv),sO=pp(Array,"Array",function(e,t){aO(this,{type:cv,target:ov(e),index:0,kind:t})},function(){var e=oO(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):r=="keys"?{value:n,done:!1}:r=="values"?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}},"values"),lv=sv.Arguments=sv.Array;if(fp("keys"),fp("values"),fp("entries"),iO&&lv.name!=="values")try{_p(lv,"name",{value:"values"})}catch{}var uO={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},cO=Oc,hp=cO("span").classList,dv=hp&&hp.constructor&&hp.constructor.prototype,lO=dv===Object.prototype?void 0:dv,fv=Di,_v=uO,dO=lO,Bc=sO,Sp=Cu,pv=co,gp=pv("iterator"),hv=pv("toStringTag"),vp=Bc.values,Sv=function(e,t){if(e){if(e[gp]!==vp)try{Sp(e,gp,vp)}catch{e[gp]=vp}if(e[hv]||Sp(e,hv,t),_v[t]){for(var r in Bc)if(e[r]!==Bc[r])try{Sp(e,r,Bc[r])}catch{e[r]=Bc[r]}}}};for(var o in _v)Sv(fv[o]&&fv[o].prototype,o);Sv(dO,"DOMTokenList");function s(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function S(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r}var F,ne,Se;function Le(e){let t=0;if(e.length===0)return t;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t=t&t;return t}class Be{constructor({definitions:t,uuid:r,appVersion:n}){F.set(this,void 0),ne.set(this,void 0),Se.set(this,void 0),S(this,F,t,"f"),S(this,ne,parseInt(`0x${r.replace(/-/g,"")}`),"f"),S(this,Se,n,"f")}getFeatureFlagVariant(t,r){const n=s(this,F,"f").find(a=>a.name===t);let i=0;if(n){const a=Le(n.id),u=Math.abs(s(this,ne,"f")-a)%100;return n.variants.find(({percent:A})=>(i=A+i,u<i))||{name:"control",percent:100-i,value:r}}}getFeatureFlagValue(t,r){const n=this.getFeatureFlagVariant(t,r);if(n&&s(this,Se,"f")){if(n.exactVersion){if(!Su.valid(s(this,Se,"f"))||!Su.valid(n.exactVersion)||!Su.eq(s(this,Se,"f"),n.exactVersion))return r}else if(n.minimumRequiredVersion&&(!Su.valid(s(this,Se,"f"))||!Su.valid(n.minimumRequiredVersion)||Su.lt(s(this,Se,"f"),n.minimumRequiredVersion)))return r}return n?.value||r}}F=new WeakMap,ne=new WeakMap,Se=new WeakMap;var ze=ka,yt=Hr,Tt=ja,bt=di,Gt=Sg,Jt=pd,fr=Zf,Ur=Ec,_r=mu,Ir=Object.assign,Wr=Object.defineProperty,_a=yt([].concat),Ki=!Ir||bt(function(){if(ze&&Ir({b:1},Ir(Wr({},"a",{enumerable:!0,get:function(){Wr(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(i){t[i]=i}),Ir({},e)[r]!=7||Gt(Ir({},t)).join("")!=n})?function(t,r){for(var n=Ur(t),i=arguments.length,a=1,u=Jt.f,d=fr.f;i>a;)for(var A=_r(arguments[a++]),h=u?_a(Gt(A),u(A)):Gt(A),v=h.length,B=0,te;v>B;)te=h[B++],(!ze||Tt(d,A,te))&&(n[te]=A[te]);return n}:Ir,pa=Sd,ti=Ki;pa({target:"Object",stat:!0,arity:2,forced:Object.assign!==ti},{assign:ti});const Ia=null,gs=({children:e,featureFlags:t})=>jsx(Ia.Provider,Object.assign({value:t},{children:e}));function fO(e,t){const r=React.useContext(Ia);return r?.getFeatureFlagValue(e,t)||t}var mp;(function(e){e.one="1.0.0"})(mp||(mp={}));const gv="orchestrator:feature-flags-service",ZQ={id:gv,dependencies:{featureServices:{[ii]:Li.one},externals:{}},create:({featureServices:e})=>{var t;const r=e[ii],n="b0e74b60-1797-4d34-b90a-712a93f4e732",i=r.getClientContext(),a=new Be({uuid:n,definitions:((t=i?.featureFlagConfiguration)===null||t===void 0?void 0:t.featureFlagDefinitions)||[],appVersion:r.getMetadata().version});return{[mp.one]:()=>({featureService:a})}}};var iN=p(572),Lu;(function(e){e.one="1.0.0"})(Lu||(Lu={}));const Ys="orchestrator:logging-service",eq={id:Ys,dependencies:{featureServices:{[ii]:Li.one,[gv]:mp.one}},create:({featureServices:e})=>{const t=e[ii],r=e[gv],{environment:n,slug:i}=t.getClientContext(),a=t.getTelemetryConfig(),{version:u}=t.getMetadata(),d=r.getFeatureFlagValue("client log url",void 0),A=(0,iN.default)({url:typeof d=="string"?d:void 0,telemetry:a,environment:n,clientSlug:i,appVersion:u});return{[Lu.one]:()=>({featureService:A})}}};var vv;(function(e){e.one="1.0.0"})(vv||(vv={}));const aN="orchestrator:theme-service",tq={id:aN,dependencies:{featureServices:{[ao]:qr.one,[ii]:Li.one,[Ys]:Lu.one}},create:({featureServices:e})=>{const t=e[ao],r=e[ii],n=e[Ys],{slug:i}=r.getClientContext(),a=new Ul.ThemeFactory(t,i);return a.createTheme().catch(u=>{n.error(u,"Error occurred while prefetching theme")}),{[vv.one]:()=>({featureService:a})}}};var oN=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},mv=function(e){return e&&e.Math==Math&&e},Fi=mv(typeof globalThis=="object"&&globalThis)||mv(typeof window=="object"&&window)||mv(typeof self=="object"&&self)||mv(typeof oN=="object"&&oN)||function(){return this}()||Function("return this")(),Ev={},Ya=function(e){try{return!!e()}catch{return!0}},rq=Ya,Vo=!rq(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),nq=Ya,yv=!nq(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),iq=yv,Tv=Function.prototype.call,po=iq?Tv.bind(Tv):function(){return Tv.apply(Tv,arguments)},_O={},sN={}.propertyIsEnumerable,uN=Object.getOwnPropertyDescriptor,aq=uN&&!sN.call({1:2},1);_O.f=aq?function(t){var r=uN(this,t);return!!r&&r.enumerable}:sN;var pO=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},cN=yv,lN=Function.prototype,oq=lN.bind,hO=lN.call,sq=cN&&oq.bind(hO,hO),Na=cN?function(e){return e&&sq(e)}:function(e){return e&&function(){return hO.apply(e,arguments)}},dN=Na,uq=dN({}.toString),cq=dN("".slice),SO=function(e){return cq(uq(e),8,-1)},lq=Na,dq=Ya,fq=SO,gO=Object,_q=lq("".split),fN=dq(function(){return!gO("z").propertyIsEnumerable(0)})?function(e){return fq(e)=="String"?_q(e,""):gO(e)}:gO,pq=TypeError,_N=function(e){if(e==null)throw pq("Can't call method on "+e);return e},hq=fN,Sq=_N,Ep=function(e){return hq(Sq(e))},Ai=function(e){return typeof e=="function"},gq=Ai,kc=function(e){return typeof e=="object"?e!==null:gq(e)},vO=Fi,vq=Ai,mq=function(e){return vq(e)?e:void 0},Du=function(e,t){return arguments.length<2?mq(vO[e]):vO[e]&&vO[e][t]},Eq=Na,mO=Eq({}.isPrototypeOf),yq=Du,Av=yq("navigator","userAgent")||"",pN=Fi,EO=Av,hN=pN.process,SN=pN.Deno,gN=hN&&hN.versions||SN&&SN.version,vN=gN&&gN.v8,Bo,Cv;vN&&(Bo=vN.split("."),Cv=Bo[0]>0&&Bo[0]<4?1:+(Bo[0]+Bo[1])),!Cv&&EO&&(Bo=EO.match(/Edge\/(\d+)/),(!Bo||Bo[1]>=74)&&(Bo=EO.match(/Chrome\/(\d+)/),Bo&&(Cv=+Bo[1])));var mN=Cv,EN=mN,Tq=Ya,yN=!!Object.getOwnPropertySymbols&&!Tq(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&EN&&EN<41}),Aq=yN,TN=Aq&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Cq=Du,Oq=Ai,bq=mO,Rq=TN,Pq=Object,AN=Rq?function(e){return typeof e=="symbol"}:function(e){var t=Cq("Symbol");return Oq(t)&&bq(t.prototype,Pq(e))},Mq=String,Ov=function(e){try{return Mq(e)}catch{return"Object"}},Iq=Ai,Nq=Ov,Lq=TypeError,jc=function(e){if(Iq(e))return e;throw Lq(Nq(e)+" is not a function")},Dq=jc,yO=function(e,t){var r=e[t];return r==null?void 0:Dq(r)},TO=po,AO=Ai,CO=kc,wq=TypeError,Uq=function(e,t){var r,n;if(t==="string"&&AO(r=e.toString)&&!CO(n=TO(r,e))||AO(r=e.valueOf)&&!CO(n=TO(r,e))||t!=="string"&&AO(r=e.toString)&&!CO(n=TO(r,e)))return n;throw wq("Can't convert object to primitive value")},OO={exports:{}},CN=Fi,$q=Object.defineProperty,bO=function(e,t){try{$q(CN,e,{value:t,configurable:!0,writable:!0})}catch{CN[e]=t}return t},Gq=Fi,xq=bO,ON="__core-js_shared__",Fq=Gq[ON]||xq(ON,{}),RO=Fq,bN=RO;(OO.exports=function(e,t){return bN[e]||(bN[e]=t!==void 0?t:{})})("versions",[]).push({version:"3.24.1",mode:"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Vq=_N,Bq=Object,PO=function(e){return Bq(Vq(e))},kq=Na,jq=PO,Qq=kq({}.hasOwnProperty),vs=Object.hasOwn||function(t,r){return Qq(jq(t),r)},qq=Na,Hq=0,Yq=Math.random(),Wq=qq(1 .toString),RN=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Wq(++Hq+Yq,36)},Kq=Fi,zq=OO.exports,PN=vs,Xq=RN,MN=yN,IN=TN,wd=zq("wks"),Qc=Kq.Symbol,NN=Qc&&Qc.for,Jq=IN?Qc:Qc&&Qc.withoutSetter||Xq,La=function(e){if(!PN(wd,e)||!(MN||typeof wd[e]=="string")){var t="Symbol."+e;MN&&PN(Qc,e)?wd[e]=Qc[e]:IN&&NN?wd[e]=NN(t):wd[e]=Jq(t)}return wd[e]},Zq=po,LN=kc,DN=AN,eH=yO,tH=Uq,rH=La,nH=TypeError,iH=rH("toPrimitive"),aH=function(e,t){if(!LN(e)||DN(e))return e;var r=eH(e,iH),n;if(r){if(t===void 0&&(t="default"),n=Zq(r,e,t),!LN(n)||DN(n))return n;throw nH("Can't convert object to primitive value")}return t===void 0&&(t="number"),tH(e,t)},oH=aH,sH=AN,wN=function(e){var t=oH(e,"string");return sH(t)?t:t+""},uH=Fi,UN=kc,MO=uH.document,cH=UN(MO)&&UN(MO.createElement),bv=function(e){return cH?MO.createElement(e):{}},lH=Vo,dH=Ya,fH=bv,$N=!lH&&!dH(function(){return Object.defineProperty(fH("div"),"a",{get:function(){return 7}}).a!=7}),_H=Vo,pH=po,hH=_O,SH=pO,gH=Ep,vH=wN,mH=vs,EH=$N,GN=Object.getOwnPropertyDescriptor;Ev.f=_H?GN:function(t,r){if(t=gH(t),r=vH(r),EH)try{return GN(t,r)}catch{}if(mH(t,r))return SH(!pH(hH.f,t,r),t[r])};var Ws={},yH=Vo,TH=Ya,xN=yH&&TH(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),AH=kc,CH=String,OH=TypeError,ms=function(e){if(AH(e))return e;throw OH(CH(e)+" is not an object")},bH=Vo,RH=$N,PH=xN,Rv=ms,FN=wN,MH=TypeError,IO=Object.defineProperty,IH=Object.getOwnPropertyDescriptor,NO="enumerable",LO="configurable",DO="writable";Ws.f=bH?PH?function(t,r,n){if(Rv(t),r=FN(r),Rv(n),typeof t=="function"&&r==="prototype"&&"value"in n&&DO in n&&!n[DO]){var i=IH(t,r);i&&i[DO]&&(t[r]=n.value,n={configurable:LO in n?n[LO]:i[LO],enumerable:NO in n?n[NO]:i[NO],writable:!1})}return IO(t,r,n)}:IO:function(t,r,n){if(Rv(t),r=FN(r),Rv(n),RH)try{return IO(t,r,n)}catch{}if("get"in n||"set"in n)throw MH("Accessors not supported");return"value"in n&&(t[r]=n.value),t};var NH=Vo,LH=Ws,DH=pO,Pv=NH?function(e,t,r){return LH.f(e,t,DH(1,r))}:function(e,t,r){return e[t]=r,e},VN={exports:{}},wO=Vo,wH=vs,BN=Function.prototype,UH=wO&&Object.getOwnPropertyDescriptor,UO=wH(BN,"name"),$H=UO&&function(){}.name==="something",GH=UO&&(!wO||wO&&UH(BN,"name").configurable),kN={EXISTS:UO,PROPER:$H,CONFIGURABLE:GH},xH=Na,FH=Ai,$O=RO,VH=xH(Function.toString);FH($O.inspectSource)||($O.inspectSource=function(e){return VH(e)});var Mv=$O.inspectSource,BH=Fi,kH=Ai,jH=Mv,jN=BH.WeakMap,QH=kH(jN)&&/native code/.test(jH(jN)),qH=OO.exports,HH=RN,QN=qH("keys"),GO=function(e){return QN[e]||(QN[e]=HH(e))},xO={},YH=QH,qN=Fi,FO=Na,WH=kc,KH=Pv,VO=vs,BO=RO,zH=GO,XH=xO,HN="Object already initialized",kO=qN.TypeError,JH=qN.WeakMap,Iv,yp,Nv,ZH=function(e){return Nv(e)?yp(e):Iv(e,{})},eY=function(e){return function(t){var r;if(!WH(t)||(r=yp(t)).type!==e)throw kO("Incompatible receiver, "+e+" required");return r}};if(YH||BO.state){var qc=BO.state||(BO.state=new JH),tY=FO(qc.get),YN=FO(qc.has),rY=FO(qc.set);Iv=function(e,t){if(YN(qc,e))throw new kO(HN);return t.facade=e,rY(qc,e,t),t},yp=function(e){return tY(qc,e)||{}},Nv=function(e){return YN(qc,e)}}else{var Ud=zH("state");XH[Ud]=!0,Iv=function(e,t){if(VO(e,Ud))throw new kO(HN);return t.facade=e,KH(e,Ud,t),t},yp=function(e){return VO(e,Ud)?e[Ud]:{}},Nv=function(e){return VO(e,Ud)}}var jO={set:Iv,get:yp,has:Nv,enforce:ZH,getterFor:eY},nY=Ya,iY=Ai,Lv=vs,QO=Vo,aY=kN.CONFIGURABLE,oY=Mv,WN=jO,sY=WN.enforce,uY=WN.get,Dv=Object.defineProperty,cY=QO&&!nY(function(){return Dv(function(){},"length",{value:8}).length!==8}),lY=String(String).split("String"),dY=VN.exports=function(e,t,r){String(t).slice(0,7)==="Symbol("&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Lv(e,"name")||aY&&e.name!==t)&&(QO?Dv(e,"name",{value:t,configurable:!0}):e.name=t),cY&&r&&Lv(r,"arity")&&e.length!==r.arity&&Dv(e,"length",{value:r.arity});try{r&&Lv(r,"constructor")&&r.constructor?QO&&Dv(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=sY(e);return Lv(n,"source")||(n.source=lY.join(typeof t=="string"?t:"")),e};Function.prototype.toString=dY(function(){return iY(this)&&uY(this).source||oY(this)},"toString");var fY=Ai,_Y=Ws,pY=VN.exports,hY=bO,Tp=function(e,t,r,n){n||(n={});var i=n.enumerable,a=n.name!==void 0?n.name:t;if(fY(r)&&pY(r,a,n),n.global)i?e[t]=r:hY(t,r);else{try{n.unsafe?e[t]&&(i=!0):delete e[t]}catch{}i?e[t]=r:_Y.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},KN={},SY=Math.ceil,gY=Math.floor,vY=Math.trunc||function(t){var r=+t;return(r>0?gY:SY)(r)},mY=vY,zN=function(e){var t=+e;return t!==t||t===0?0:mY(t)},EY=zN,yY=Math.max,TY=Math.min,AY=function(e,t){var r=EY(e);return r<0?yY(r+t,0):TY(r,t)},CY=zN,OY=Math.min,bY=function(e){return e>0?OY(CY(e),9007199254740991):0},RY=bY,XN=function(e){return RY(e.length)},PY=Ep,MY=AY,IY=XN,JN=function(e){return function(t,r,n){var i=PY(t),a=IY(i),u=MY(n,a),d;if(e&&r!=r){for(;a>u;)if(d=i[u++],d!=d)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===r)return e||u||0;return!e&&-1}},NY={includes:JN(!0),indexOf:JN(!1)},LY=Na,qO=vs,DY=Ep,wY=NY.indexOf,UY=xO,ZN=LY([].push),eL=function(e,t){var r=DY(e),n=0,i=[],a;for(a in r)!qO(UY,a)&&qO(r,a)&&ZN(i,a);for(;t.length>n;)qO(r,a=t[n++])&&(~wY(i,a)||ZN(i,a));return i},HO=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],$Y=eL,GY=HO,xY=GY.concat("length","prototype");KN.f=Object.getOwnPropertyNames||function(t){return $Y(t,xY)};var YO={};YO.f=Object.getOwnPropertySymbols;var FY=Du,VY=Na,BY=KN,kY=YO,jY=ms,QY=VY([].concat),qY=FY("Reflect","ownKeys")||function(t){var r=BY.f(jY(t)),n=kY.f;return n?QY(r,n(t)):r},tL=vs,HY=qY,YY=Ev,WY=Ws,KY=function(e,t,r){for(var n=HY(t),i=WY.f,a=YY.f,u=0;u<n.length;u++){var d=n[u];!tL(e,d)&&!(r&&tL(r,d))&&i(e,d,a(t,d))}},zY=Ya,XY=Ai,JY=/#|\.prototype\./,Ap=function(e,t){var r=e2[ZY(e)];return r==r2?!0:r==t2?!1:XY(t)?zY(t):!!t},ZY=Ap.normalize=function(e){return String(e).replace(JY,".").toLowerCase()},e2=Ap.data={},t2=Ap.NATIVE="N",r2=Ap.POLYFILL="P",rL=Ap,WO=Fi,n2=Ev.f,i2=Pv,a2=Tp,o2=bO,s2=KY,u2=rL,wu=function(e,t){var r=e.target,n=e.global,i=e.stat,a,u,d,A,h,v;if(n?u=WO:i?u=WO[r]||o2(r,{}):u=(WO[r]||{}).prototype,u)for(d in t){if(h=t[d],e.dontCallGetSet?(v=n2(u,d),A=v&&v.value):A=u[d],a=u2(n?d:r+(i?".":"#")+d,e.forced),!a&&A!==void 0){if(typeof h==typeof A)continue;s2(h,A)}(e.sham||A&&A.sham)&&i2(h,"sham",!0),a2(u,d,h,e)}},c2=Ai,l2=String,d2=TypeError,f2=function(e){if(typeof e=="object"||c2(e))return e;throw d2("Can't set "+l2(e)+" as a prototype")},_2=Na,p2=ms,h2=f2,nL=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=_2(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),r(t,[]),e=t instanceof Array}catch{}return function(i,a){return p2(i),h2(a),e?r(i,a):i.__proto__=a,i}}():void 0),S2=Ws.f,g2=vs,v2=La,iL=v2("toStringTag"),KO=function(e,t,r){e&&!r&&(e=e.prototype),e&&!g2(e,iL)&&S2(e,iL,{configurable:!0,value:t})},m2=Du,aL=m2("document","documentElement"),Cp={},E2=eL,y2=HO,oL=Object.keys||function(t){return E2(t,y2)},sL=Vo,T2=Na,A2=po,C2=Ya,zO=oL,O2=YO,b2=_O,R2=PO,P2=fN,$d=Object.assign,uL=Object.defineProperty,M2=T2([].concat),I2=!$d||C2(function(){if(sL&&$d({b:1},$d(uL({},"a",{enumerable:!0,get:function(){uL(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(i){t[i]=i}),$d({},e)[r]!=7||zO($d({},t)).join("")!=n})?function(t,r){for(var n=R2(t),i=arguments.length,a=1,u=O2.f,d=b2.f;i>a;)for(var A=P2(arguments[a++]),h=u?M2(zO(A),u(A)):zO(A),v=h.length,B=0,te;v>B;)te=h[B++],(!sL||A2(d,A,te))&&(n[te]=A[te]);return n}:$d,N2=wu,cL=I2;N2({target:"Object",stat:!0,arity:2,forced:Object.assign!==cL},{assign:cL});const L2={setProfileProperties(){},trackEvent(){},reset(){console.warn("Reset method not implemented for analytics context.")}},lL=null,YNe=({children:e,analyticsService:t})=>jsx(lL.Provider,Object.assign({value:t||L2},{children:e}));function D2(){return useContext(lL)}var dL={},w2=Vo,U2=xN,$2=Ws,G2=ms,x2=Ep,F2=oL;dL.f=w2&&!U2?Object.defineProperties:function(t,r){G2(t);for(var n=x2(r),i=F2(r),a=i.length,u=0,d;a>u;)$2.f(t,d=i[u++],n[d]);return t};var V2=ms,B2=dL,fL=HO,k2=xO,j2=aL,Q2=bv,q2=GO,_L=">",pL="<",XO="prototype",JO="script",hL=q2("IE_PROTO"),ZO=function(){},SL=function(e){return pL+JO+_L+e+pL+"/"+JO+_L},gL=function(e){e.write(SL("")),e.close();var t=e.parentWindow.Object;return e=null,t},H2=function(){var e=Q2("iframe"),t="java"+JO+":",r;return e.style.display="none",j2.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(SL("document.F=Object")),r.close(),r.F},wv,Uv=function(){try{wv=new ActiveXObject("htmlfile")}catch{}Uv=typeof document<"u"?document.domain&&wv?gL(wv):H2():gL(wv);for(var e=fL.length;e--;)delete Uv[XO][fL[e]];return Uv()};k2[hL]=!0;var vL=Object.create||function(t,r){var n;return t!==null?(ZO[XO]=V2(t),n=new ZO,ZO[XO]=null,n[hL]=t):n=Uv(),r===void 0?n:B2.f(n,r)},Y2=La,W2=vL,K2=Ws.f,eb=Y2("unscopables"),tb=Array.prototype;tb[eb]==null&&K2(tb,eb,{configurable:!0,value:W2(null)});var z2=function(e){tb[eb][e]=!0},X2=Ya,J2=!X2(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Z2=vs,e8=Ai,t8=PO,r8=GO,n8=J2,mL=r8("IE_PROTO"),rb=Object,i8=rb.prototype,EL=n8?rb.getPrototypeOf:function(e){var t=t8(e);if(Z2(t,mL))return t[mL];var r=t.constructor;return e8(r)&&t instanceof r?r.prototype:t instanceof rb?i8:null},a8=Ya,o8=Ai,yL=EL,s8=Tp,u8=La,nb=u8("iterator"),TL=!1,Hc,ib,ab;[].keys&&(ab=[].keys(),"next"in ab?(ib=yL(yL(ab)),ib!==Object.prototype&&(Hc=ib)):TL=!0);var c8=Hc==null||a8(function(){var e={};return Hc[nb].call(e)!==e});c8&&(Hc={}),o8(Hc[nb])||s8(Hc,nb,function(){return this});var AL={IteratorPrototype:Hc,BUGGY_SAFARI_ITERATORS:TL},l8=AL.IteratorPrototype,d8=vL,f8=pO,_8=KO,p8=Cp,h8=function(){return this},S8=function(e,t,r,n){var i=t+" Iterator";return e.prototype=d8(l8,{next:f8(+!n,r)}),_8(e,i,!1),p8[i]=h8,e},g8=wu,v8=po,CL=kN,m8=Ai,E8=S8,OL=EL,bL=nL,y8=KO,T8=Pv,ob=Tp,A8=La,C8=Cp,RL=AL,O8=CL.PROPER,b8=CL.CONFIGURABLE,PL=RL.IteratorPrototype,$v=RL.BUGGY_SAFARI_ITERATORS,Op=A8("iterator"),ML="keys",bp="values",IL="entries",R8=function(){return this},P8=function(e,t,r,n,i,a,u){E8(r,t,n);var d=function(Ke){if(Ke===i&&te)return te;if(!$v&&Ke in v)return v[Ke];switch(Ke){case ML:return function(){return new r(this,Ke)};case bp:return function(){return new r(this,Ke)};case IL:return function(){return new r(this,Ke)}}return function(){return new r(this)}},A=t+" Iterator",h=!1,v=e.prototype,B=v[Op]||v["@@iterator"]||i&&v[i],te=!$v&&B||d(i),me=t=="Array"&&v.entries||B,Ee,be,Ye;if(me&&(Ee=OL(me.call(new e)),Ee!==Object.prototype&&Ee.next&&(OL(Ee)!==PL&&(bL?bL(Ee,PL):m8(Ee[Op])||ob(Ee,Op,R8)),y8(Ee,A,!0))),O8&&i==bp&&B&&B.name!==bp&&(b8?T8(v,"name",bp):(h=!0,te=function(){return v8(B,this)})),i)if(be={values:d(bp),keys:a?te:d(ML),entries:d(IL)},u)for(Ye in be)($v||h||!(Ye in v))&&ob(v,Ye,be[Ye]);else g8({target:t,proto:!0,forced:$v||h},be);return v[Op]!==te&&ob(v,Op,te,{name:i}),C8[t]=te,be},M8=Ep,sb=z2,NL=Cp,LL=jO,I8=Ws.f,N8=P8,L8=Vo,DL="Array Iterator",D8=LL.set,w8=LL.getterFor(DL),U8=N8(Array,"Array",function(e,t){D8(this,{type:DL,target:M8(e),index:0,kind:t})},function(){var e=w8(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):r=="keys"?{value:n,done:!1}:r=="values"?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}},"values"),wL=NL.Arguments=NL.Array;if(sb("keys"),sb("values"),sb("entries"),L8&&wL.name!=="values")try{I8(wL,"name",{value:"values"})}catch{}var $8={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},G8=bv,ub=G8("span").classList,UL=ub&&ub.constructor&&ub.constructor.prototype,x8=UL===Object.prototype?void 0:UL,$L=Fi,GL=$8,F8=x8,Rp=U8,cb=Pv,xL=La,lb=xL("iterator"),FL=xL("toStringTag"),db=Rp.values,VL=function(e,t){if(e){if(e[lb]!==db)try{cb(e,lb,db)}catch{e[lb]=db}if(e[FL]||cb(e,FL,t),GL[t]){for(var r in Rp)if(e[r]!==Rp[r])try{cb(e,r,Rp[r])}catch{e[r]=Rp[r]}}}};for(var fb in GL)VL($L[fb]&&$L[fb].prototype,fb);VL(F8,"DOMTokenList");const BL=Cy.createContext({customProperties:{},prefixArray:[],trackEvent(){},setProfileProperties(){},updateCustomProperty(){},clearCustomProperty(){},updateCustomProperties(){},clearCustomProperties(){},setPrefixArray(){},pushPrefix(){},popPrefix(){},reset(){console.warn("Reset method not implemented for custom analytics context.")}}),WNe=({children:e})=>{const{trackEvent:t,setProfileProperties:r}=D2(),[n,i]=useState({}),B={trackEvent:(te,me=void 0,Ee=void 0)=>{const be=[te],Ye=Object.assign(Object.assign({},n),me);Object.keys(Ye).length&&be.push(Ye),Ee&&be.push(Ee),t(...be)},setProfileProperties:r,customProperties:n,updateCustomProperty:(te,me)=>{i(Ee=>Object.assign(Object.assign({},Ee),{[te]:me}))},clearCustomProperty:te=>{n==null||delete n[te],i(Object.assign({},n))},updateCustomProperties:te=>{i(me=>Object.assign(Object.assign({},me),te))},clearCustomProperties:()=>{i({})},reset:()=>{console.warn("Reset method not implemented for custom analytics context.")}};return jsx(BL.Provider,Object.assign({value:B},{children:e}))};function KNe(){return useContext(BL)}var Gd=p(6934),V8=p(5250),B8=SO,k8=Fi,Gv=B8(k8.process)=="process",j8=Du,Q8=Ws,q8=La,H8=Vo,kL=q8("species"),Y8=function(e){var t=j8(e),r=Q8.f;H8&&t&&!t[kL]&&r(t,kL,{configurable:!0,get:function(){return this}})},W8=mO,K8=TypeError,z8=function(e,t){if(W8(t,e))return e;throw K8("Incorrect invocation")},X8=La,J8=X8("toStringTag"),jL={};jL[J8]="z";var Z8=String(jL)==="[object z]",eW=Z8,tW=Ai,xv=SO,rW=La,nW=rW("toStringTag"),iW=Object,aW=xv(function(){return arguments}())=="Arguments",oW=function(e,t){try{return e[t]}catch{}},QL=eW?xv:function(e){var t,r,n;return e===void 0?"Undefined":e===null?"Null":typeof(r=oW(t=iW(e),nW))=="string"?r:aW?xv(t):(n=xv(t))=="Object"&&tW(t.callee)?"Arguments":n},sW=Na,uW=Ya,qL=Ai,cW=QL,lW=Du,dW=Mv,HL=function(){},fW=[],YL=lW("Reflect","construct"),_b=/^\s*(?:class|function)\b/,_W=sW(_b.exec),pW=!_b.exec(HL),Pp=function(t){if(!qL(t))return!1;try{return YL(HL,fW,t),!0}catch{return!1}},WL=function(t){if(!qL(t))return!1;switch(cW(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return pW||!!_W(_b,dW(t))}catch{return!0}};WL.sham=!0;var hW=!YL||uW(function(){var e;return Pp(Pp.call)||!Pp(Object)||!Pp(function(){e=!0})||e})?WL:Pp,SW=hW,gW=Ov,vW=TypeError,mW=function(e){if(SW(e))return e;throw vW(gW(e)+" is not a constructor")},KL=ms,EW=mW,yW=La,TW=yW("species"),AW=function(e,t){var r=KL(e).constructor,n;return r===void 0||(n=KL(r)[TW])==null?t:EW(n)},CW=yv,zL=Function.prototype,XL=zL.apply,JL=zL.call,OW=typeof Reflect=="object"&&Reflect.apply||(CW?JL.bind(XL):function(){return JL.apply(XL,arguments)}),ZL=Na,bW=jc,RW=yv,PW=ZL(ZL.bind),pb=function(e,t){return bW(e),t===void 0?e:RW?PW(e,t):function(){return e.apply(t,arguments)}},MW=Na,IW=MW([].slice),NW=TypeError,LW=function(e,t){if(e<t)throw NW("Not enough arguments");return e},DW=Av,eD=/(?:ipad|iphone|ipod).*applewebkit/i.test(DW),Wa=Fi,wW=OW,UW=pb,tD=Ai,$W=vs,GW=Ya,rD=aL,xW=IW,nD=bv,FW=LW,VW=eD,BW=Gv,hb=Wa.setImmediate,Sb=Wa.clearImmediate,kW=Wa.process,gb=Wa.Dispatch,jW=Wa.Function,iD=Wa.MessageChannel,QW=Wa.String,vb=0,Mp={},aD="onreadystatechange",Ip,Yc,mb,Eb;try{Ip=Wa.location}catch{}var yb=function(e){if($W(Mp,e)){var t=Mp[e];delete Mp[e],t()}},Tb=function(e){return function(){yb(e)}},oD=function(e){yb(e.data)},sD=function(e){Wa.postMessage(QW(e),Ip.protocol+"//"+Ip.host)};(!hb||!Sb)&&(hb=function(t){FW(arguments.length,1);var r=tD(t)?t:jW(t),n=xW(arguments,1);return Mp[++vb]=function(){wW(r,void 0,n)},Yc(vb),vb},Sb=function(t){delete Mp[t]},BW?Yc=function(e){kW.nextTick(Tb(e))}:gb&&gb.now?Yc=function(e){gb.now(Tb(e))}:iD&&!VW?(mb=new iD,Eb=mb.port2,mb.port1.onmessage=oD,Yc=UW(Eb.postMessage,Eb)):Wa.addEventListener&&tD(Wa.postMessage)&&!Wa.importScripts&&Ip&&Ip.protocol!=="file:"&&!GW(sD)?(Yc=sD,Wa.addEventListener("message",oD,!1)):aD in nD("script")?Yc=function(e){rD.appendChild(nD("script"))[aD]=function(){rD.removeChild(this),yb(e)}}:Yc=function(e){setTimeout(Tb(e),0)});var uD={set:hb,clear:Sb},qW=Av,HW=Fi,YW=/ipad|iphone|ipod/i.test(qW)&&HW.Pebble!==void 0,WW=Av,KW=/web0s(?!.*chrome)/i.test(WW),Wc=Fi,cD=pb,zW=Ev.f,Ab=uD.set,XW=eD,JW=YW,ZW=KW,Cb=Gv,lD=Wc.MutationObserver||Wc.WebKitMutationObserver,dD=Wc.document,fD=Wc.process,Fv=Wc.Promise,_D=zW(Wc,"queueMicrotask"),pD=_D&&_D.value,Np,Kc,Lp,xd,Ob,bb,Vv,hD;pD||(Np=function(){var e,t;for(Cb&&(e=fD.domain)&&e.exit();Kc;){t=Kc.fn,Kc=Kc.next;try{t()}catch(r){throw Kc?xd():Lp=void 0,r}}Lp=void 0,e&&e.enter()},!XW&&!Cb&&!ZW&&lD&&dD?(Ob=!0,bb=dD.createTextNode(""),new lD(Np).observe(bb,{characterData:!0}),xd=function(){bb.data=Ob=!Ob}):!JW&&Fv&&Fv.resolve?(Vv=Fv.resolve(void 0),Vv.constructor=Fv,hD=cD(Vv.then,Vv),xd=function(){hD(Np)}):Cb?xd=function(){fD.nextTick(Np)}:(Ab=cD(Ab,Wc),xd=function(){Ab(Np)}));var eK=pD||function(e){var t={fn:e,next:void 0};Lp&&(Lp.next=t),Kc||(Kc=t,xd()),Lp=t},tK=Fi,rK=function(e,t){var r=tK.console;r&&r.error&&(arguments.length==1?r.error(e):r.error(e,t))},Rb=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},SD=function(){this.head=null,this.tail=null};SD.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}};var nK=SD,iK=Fi,Bv=iK.Promise,gD=typeof Deno=="object"&&Deno&&typeof Deno.version=="object",aK=gD,oK=Gv,sK=!aK&&!oK&&typeof window=="object"&&typeof document=="object",uK=Fi,Dp=Bv,cK=Ai,lK=rL,dK=Mv,fK=La,_K=sK,pK=gD,Pb=mN;Dp&&Dp.prototype;var hK=fK("species"),Mb=!1,vD=cK(uK.PromiseRejectionEvent),SK=lK("Promise",function(){var e=dK(Dp),t=e!==String(Dp);if(!t&&Pb===66)return!0;if(!Pb||Pb<51||!/native code/.test(e)){var r=new Dp(function(a){a(1)}),n=function(a){a(function(){},function(){})},i=r.constructor={};if(i[hK]=n,Mb=r.then(function(){})instanceof n,!Mb)return!0}return!t&&(_K||pK)&&!vD}),wp={CONSTRUCTOR:SK,REJECTION_EVENT:vD,SUBCLASSING:Mb},Fd={},mD=jc,gK=function(e){var t,r;this.promise=new e(function(n,i){if(t!==void 0||r!==void 0)throw TypeError("Bad Promise constructor");t=n,r=i}),this.resolve=mD(t),this.reject=mD(r)};Fd.f=function(e){return new gK(e)};var vK=wu,kv=Gv,Uu=Fi,Vd=po,ED=Tp,yD=nL,mK=KO,EK=Y8,yK=jc,jv=Ai,TK=kc,AK=z8,CK=AW,TD=uD.set,Ib=eK,OK=rK,bK=Rb,RK=nK,AD=jO,Qv=Bv,Nb=wp,CD=Fd,qv="Promise",OD=Nb.CONSTRUCTOR,PK=Nb.REJECTION_EVENT,MK=Nb.SUBCLASSING,Lb=AD.getterFor(qv),IK=AD.set,Bd=Qv&&Qv.prototype,zc=Qv,Hv=Bd,bD=Uu.TypeError,Db=Uu.document,wb=Uu.process,Ub=CD.f,NK=Ub,LK=!!(Db&&Db.createEvent&&Uu.dispatchEvent),RD="unhandledrejection",DK="rejectionhandled",PD=0,MD=1,wK=2,$b=1,ID=2,Yv,ND,UK,LD,DD=function(e){var t;return TK(e)&&jv(t=e.then)?t:!1},wD=function(e,t){var r=t.value,n=t.state==MD,i=n?e.ok:e.fail,a=e.resolve,u=e.reject,d=e.domain,A,h,v;try{i?(n||(t.rejection===ID&&GK(t),t.rejection=$b),i===!0?A=r:(d&&d.enter(),A=i(r),d&&(d.exit(),v=!0)),A===e.promise?u(bD("Promise-chain cycle")):(h=DD(A))?Vd(h,A,a,u):a(A)):u(r)}catch(B){d&&!v&&d.exit(),u(B)}},UD=function(e,t){e.notified||(e.notified=!0,Ib(function(){for(var r=e.reactions,n;n=r.get();)wD(n,e);e.notified=!1,t&&!e.rejection&&$K(e)}))},$D=function(e,t,r){var n,i;LK?(n=Db.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),Uu.dispatchEvent(n)):n={promise:t,reason:r},!PK&&(i=Uu["on"+e])?i(n):e===RD&&OK("Unhandled promise rejection",r)},$K=function(e){Vd(TD,Uu,function(){var t=e.facade,r=e.value,n=GD(e),i;if(n&&(i=bK(function(){kv?wb.emit("unhandledRejection",r,t):$D(RD,t,r)}),e.rejection=kv||GD(e)?ID:$b,i.error))throw i.value})},GD=function(e){return e.rejection!==$b&&!e.parent},GK=function(e){Vd(TD,Uu,function(){var t=e.facade;kv?wb.emit("rejectionHandled",t):$D(DK,t,e.value)})},kd=function(e,t,r){return function(n){e(t,n,r)}},jd=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=wK,UD(e,!0))},Gb=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw bD("Promise can't be resolved itself");var n=DD(t);n?Ib(function(){var i={done:!1};try{Vd(n,t,kd(Gb,i,e),kd(jd,i,e))}catch(a){jd(i,a,e)}}):(e.value=t,e.state=MD,UD(e,!1))}catch(i){jd({done:!1},i,e)}}};if(OD&&(zc=function(t){AK(this,Hv),yK(t),Vd(Yv,this);var r=Lb(this);try{t(kd(Gb,r),kd(jd,r))}catch(n){jd(r,n)}},Hv=zc.prototype,Yv=function(t){IK(this,{type:qv,done:!1,notified:!1,parent:!1,reactions:new RK,rejection:!1,state:PD,value:void 0})},Yv.prototype=ED(Hv,"then",function(t,r){var n=Lb(this),i=Ub(CK(this,zc));return n.parent=!0,i.ok=jv(t)?t:!0,i.fail=jv(r)&&r,i.domain=kv?wb.domain:void 0,n.state==PD?n.reactions.add(i):Ib(function(){wD(i,n)}),i.promise}),ND=function(){var e=new Yv,t=Lb(e);this.promise=e,this.resolve=kd(Gb,t),this.reject=kd(jd,t)},CD.f=Ub=function(e){return e===zc||e===UK?new ND(e):NK(e)},jv(Qv)&&Bd!==Object.prototype)){LD=Bd.then,MK||ED(Bd,"then",function(t,r){var n=this;return new zc(function(i,a){Vd(LD,n,i,a)}).then(t,r)},{unsafe:!0});try{delete Bd.constructor}catch{}yD&&yD(Bd,Hv)}vK({global:!0,constructor:!0,wrap:!0,forced:OD},{Promise:zc}),mK(zc,qv,!1),EK(qv);var xK=La,FK=Cp,VK=xK("iterator"),BK=Array.prototype,kK=function(e){return e!==void 0&&(FK.Array===e||BK[VK]===e)},jK=QL,xD=yO,QK=Cp,qK=La,HK=qK("iterator"),FD=function(e){if(e!=null)return xD(e,HK)||xD(e,"@@iterator")||QK[jK(e)]},YK=po,WK=jc,KK=ms,zK=Ov,XK=FD,JK=TypeError,ZK=function(e,t){var r=arguments.length<2?XK(e):t;if(WK(r))return KK(YK(r,e));throw JK(zK(e)+" is not iterable")},ez=po,VD=ms,tz=yO,rz=function(e,t,r){var n,i;VD(e);try{if(n=tz(e,"return"),!n){if(t==="throw")throw r;return r}n=ez(n,e)}catch(a){i=!0,n=a}if(t==="throw")throw r;if(i)throw n;return VD(n),r},nz=pb,iz=po,az=ms,oz=Ov,sz=kK,uz=XN,BD=mO,cz=ZK,lz=FD,kD=rz,dz=TypeError,Wv=function(e,t){this.stopped=e,this.result=t},jD=Wv.prototype,QD=function(e,t,r){var n=r&&r.that,i=!!(r&&r.AS_ENTRIES),a=!!(r&&r.IS_RECORD),u=!!(r&&r.IS_ITERATOR),d=!!(r&&r.INTERRUPTED),A=nz(t,n),h,v,B,te,me,Ee,be,Ye=function(Xe){return h&&kD(h,"normal",Xe),new Wv(!0,Xe)},Ke=function(Xe){return i?(az(Xe),d?A(Xe[0],Xe[1],Ye):A(Xe[0],Xe[1])):d?A(Xe,Ye):A(Xe)};if(a)h=e.iterator;else if(u)h=e;else{if(v=lz(e),!v)throw dz(oz(e)+" is not iterable");if(sz(v)){for(B=0,te=uz(e);te>B;B++)if(me=Ke(e[B]),me&&BD(jD,me))return me;return new Wv(!1)}h=cz(e,v)}for(Ee=a?e.next:h.next;!(be=iz(Ee,h)).done;){try{me=Ke(be.value)}catch(Xe){kD(h,"throw",Xe)}if(typeof me=="object"&&me&&BD(jD,me))return me}return new Wv(!1)},fz=La,qD=fz("iterator"),HD=!1;try{var _z=0,YD={next:function(){return{done:!!_z++}},return:function(){HD=!0}};YD[qD]=function(){return this},Array.from(YD,function(){throw 2})}catch{}var pz=function(e,t){if(!t&&!HD)return!1;var r=!1;try{var n={};n[qD]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch{}return r},hz=Bv,Sz=pz,gz=wp.CONSTRUCTOR,WD=gz||!Sz(function(e){hz.all(e).then(void 0,function(){})}),vz=wu,mz=po,Ez=jc,yz=Fd,Tz=Rb,Az=QD,Cz=WD;vz({target:"Promise",stat:!0,forced:Cz},{all:function(t){var r=this,n=yz.f(r),i=n.resolve,a=n.reject,u=Tz(function(){var d=Ez(r.resolve),A=[],h=0,v=1;Az(t,function(B){var te=h++,me=!1;v++,mz(d,r,B).then(function(Ee){me||(me=!0,A[te]=Ee,--v||i(A))},a)}),--v||i(A)});return u.error&&a(u.value),n.promise}});var Oz=wu,bz=wp.CONSTRUCTOR,xb=Bv,Rz=Du,Pz=Ai,Mz=Tp,KD=xb&&xb.prototype;if(Oz({target:"Promise",proto:!0,forced:bz,real:!0},{catch:function(e){return this.then(void 0,e)}}),Pz(xb)){var zD=Rz("Promise").prototype.catch;KD.catch!==zD&&Mz(KD,"catch",zD,{unsafe:!0})}var Iz=wu,Nz=po,Lz=jc,Dz=Fd,wz=Rb,Uz=QD,$z=WD;Iz({target:"Promise",stat:!0,forced:$z},{race:function(t){var r=this,n=Dz.f(r),i=n.reject,a=wz(function(){var u=Lz(r.resolve);Uz(t,function(d){Nz(u,r,d).then(n.resolve,i)})});return a.error&&i(a.value),n.promise}});var Gz=wu,xz=po,Fz=Fd,Vz=wp.CONSTRUCTOR;Gz({target:"Promise",stat:!0,forced:Vz},{reject:function(t){var r=Fz.f(this);return xz(r.reject,void 0,t),r.promise}});var Bz=ms,kz=kc,jz=Fd,Qz=function(e,t){if(Bz(e),kz(t)&&t.constructor===e)return t;var r=jz.f(e),n=r.resolve;return n(t),r.promise},qz=wu,Hz=Du,Yz=wp.CONSTRUCTOR,Wz=Qz;Hz("Promise"),qz({target:"Promise",stat:!0,forced:Yz},{resolve:function(t){return Wz(this,t)}});function Kz(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function XD(e,t,r,n){function i(a){return a instanceof r?a:new r(function(u){u(a)})}return new(r||(r=Promise))(function(a,u){function d(v){try{h(n.next(v))}catch(B){u(B)}}function A(v){try{h(n.throw(v))}catch(B){u(B)}}function h(v){v.done?a(v.value):i(v.value).then(d,A)}h((n=n.apply(e,t||[])).next())})}class Fb{static initializeGoogleTagManager(t){return XD(this,void 0,void 0,function*(){return new Fb(t).init()})}constructor({gaKey:t,eventMap:r,dataLayerName:n}){this.dataLayerName="",this.gaKey=t,this.eventMap=r||[],this.dataLayerName=n||"dataLayer",window[this.dataLayerName]=window[this.dataLayerName]||[],this.dataLayer=window[this.dataLayerName]}init(){var t;return XD(this,void 0,void 0,function*(){this.dataLayer.push({"gtm.start":new Date().getTime(),event:"gtm.js"});const r=document.createElement("script");return r.async=!0,r.src=`https://www.googletagmanager.com/gtm.js?id=${this.gaKey}${this.dataLayerName!=="dataLayer"?`&l=${this.dataLayerName}`:""}`,(t=document.head.parentNode)===null||t===void 0||t.append(r),new Promise((n,i)=>{r.onload=()=>n(this),r.onerror=i})})}setProfileProperties(t){}trackEvent(t,r={}){const n=this.eventMap.find(i=>i.key===t);n&&this.dataLayer.push(Object.assign(Object.assign({},r),{event:n.value}))}reset(){console.warn("Reset method not implemented for google tag manager.")}}class zz{constructor(t,r,n){Gd.init(t.key),r&&Gd.register(r),n&&this.setProfileProperties(n)}setProfileProperties(t){var{id:r}=t,n=Kz(t,["id"]);r&&Gd.identify(r),Gd.people.set(n)}trackEvent(t,r){Gd.track(t,r)}reset(){Gd.reset()}}class Xz{constructor(t=[]){this.services=t,(0,V8.bindAll)(this,"trackEvent","append")}setProfileProperties(t){this.services.forEach(r=>r.setProfileProperties(t))}trackEvent(t,r){this.services.forEach(n=>n.trackEvent(t,r))}append(t){this.services.push(t)}reset(){this.services.forEach(t=>t.reset())}}function Jz(e,t,r){const n=new Xz;return e&&(e?.mixPanel&&e?.mixPanel.length&&e.mixPanel.forEach(i=>{n.append(new zz(i,t,r))}),e?.googleTagManager&&e.googleTagManager.length&&e.googleTagManager.forEach(i=>n.append(new Fb(i)))),n}class zNe{constructor({script:t}){var r;if(t){const n=document.createElement("script");n.async=!0,n.src=t,(r=document.head.parentNode)===null||r===void 0||r.append(n),this.adobeAnalytics=new Promise((i,a)=>{n.onload=()=>i(this),n.onerror=()=>a("Failed to inject script")})}else throw new Error("Adobe analytics is not initialized")}setProfileProperties(t){console.warn("SetProfileProperties method is not implemented for adobe analytics")}trackEvent(t,r={}){console.warn("TrackEvent method is not implemented for adobe analytics")}reset(){console.warn("Reset method is not implemented for adobe analytics")}}var Qd;(function(e){e.one="1.0.0"})(Qd||(Qd={}));const Up="orchestrator:analytics-service",Zz={id:Up,dependencies:{featureServices:{[ii]:Li.one}},create:({featureServices:e})=>{const t=e[ii],{client:r,app:n,slug:i,frontendEnvironment:a}=t.getClientContext(),{version:u}=t.getMetadata(),d=Jz(a?.analytics||{},{client:r,app:n,clientSlug:i,appVersion:u},{});return t.getStore().subscribe(()=>{var A,h,v,B;const te=t.getUser();!((h=(A=te?.tokenData)===null||A===void 0?void 0:A.idToken)===null||h===void 0)&&h.payload&&d.setProfileProperties({id:te.tokenData.idToken.payload["custom:bwellFhirPersonId"],clientPersonId:te.tokenData.idToken.payload["custom:clientFhirPersonId"],clientPatientId:te.tokenData.idToken.payload["custom:clientFhirPatientId"],isInternalTestUser:(B=(v=te.meta)===null||v===void 0?void 0:v.tag)===null||B===void 0?void 0:B.some(me=>me.code==="bwelltestuser")})}),{[Qd.one]:()=>({featureService:d})}}};var Vb=p(8577),Kv;(function(e){e.one="1.0.0"})(Kv||(Kv={}));const JD="orchestrator:auth-service",e3={id:JD,dependencies:{featureServices:{[ao]:qr.one},externals:{}},create:({featureServices:e})=>{const t=e[ao],r=new Vb.Auth(t);return{[Kv.one]:()=>({featureService:r})}}};function XNe(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function JNe(e,t,r,n){function i(a){return a instanceof r?a:new r(function(u){u(a)})}return new(r||(r=Promise))(function(a,u){function d(v){try{h(n.next(v))}catch(B){u(B)}}function A(v){try{h(n.throw(v))}catch(B){u(B)}}function h(v){v.done?a(v.value):i(v.value).then(d,A)}h((n=n.apply(e,t||[])).next())})}function ko(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function t3(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r}var jo=p(934),Es=p(9226),Qo,$p,ys;const{ROUTE_NAVIGATION_DELEGATE:r3}=Es.ErrorCode;class n3{constructor(){Qo.add(this),$p.set(this,void 0)}setDelegate(t){t3(this,$p,t,"f")}navigate(t,r){return typeof t=="number"?ko(this,Qo,"a",ys).navigate(t):ko(this,Qo,"a",ys).navigate(t,r)}has(t){return ko(this,Qo,"a",ys).has(t)}getPath(t){return ko(this,Qo,"a",ys).getPath(t)}getHref(t){return ko(this,Qo,"a",ys).getHref(t)}getSearchParams(){return ko(this,Qo,"a",ys).getSearchParams()}setSearchParams(t,r){ko(this,Qo,"a",ys).setSearchParams(t,r)}getUrlParams(){return ko(this,Qo,"a",ys).getUrlParams()}getId(t){return ko(this,Qo,"a",ys).getId(t)}}$p=new WeakMap,Qo=new WeakSet,ys=function(){if(!ko(this,$p,"f"))throw new jo.b("route navigation delegate has not been set",{errorCode:r3});return ko(this,$p,"f")};var zv;(function(e){e.one="1.0.0"})(zv||(zv={}));const ZD="orchestrator:navigation-service",i3={id:ZD,create:()=>{const e=new n3;return{[zv.one]:()=>({featureService:e})}}},Or=e=>typeof e=="string",Gp=()=>{let e,t;const r=new Promise((n,i)=>{e=n,t=i});return r.resolve=e,r.reject=t,r},e0=e=>e==null?"":""+e,a3=(e,t,r)=>{e.forEach(n=>{t[n]&&(r[n]=t[n])})},o3=/###/g,t0=e=>e&&e.indexOf("###")>-1?e.replace(o3,"."):e,r0=e=>!e||Or(e),xp=(e,t,r)=>{const n=Or(t)?t.split("."):t;let i=0;for(;i<n.length-1;){if(r0(e))return{};const a=t0(n[i]);!e[a]&&r&&(e[a]=new r),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={},++i}return r0(e)?{}:{obj:e,k:t0(n[i])}},n0=(e,t,r)=>{const{obj:n,k:i}=xp(e,t,Object);if(n!==void 0||t.length===1){n[i]=r;return}let a=t[t.length-1],u=t.slice(0,t.length-1),d=xp(e,u,Object);for(;d.obj===void 0&&u.length;)a=`${u[u.length-1]}.${a}`,u=u.slice(0,u.length-1),d=xp(e,u,Object),d?.obj&&typeof d.obj[`${d.k}.${a}`]<"u"&&(d.obj=void 0);d.obj[`${d.k}.${a}`]=r},s3=(e,t,r,n)=>{const{obj:i,k:a}=xp(e,t,Object);i[a]=i[a]||[],i[a].push(r)},Xv=(e,t)=>{const{obj:r,k:n}=xp(e,t);if(!!r&&!!Object.prototype.hasOwnProperty.call(r,n))return r[n]},u3=(e,t,r)=>{const n=Xv(e,r);return n!==void 0?n:Xv(t,r)},i0=(e,t,r)=>{for(const n in t)n!=="__proto__"&&n!=="constructor"&&(n in e?Or(e[n])||e[n]instanceof String||Or(t[n])||t[n]instanceof String?r&&(e[n]=t[n]):i0(e[n],t[n],r):e[n]=t[n]);return e},qd=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var c3={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const l3=e=>Or(e)?e.replace(/[&<>"'\/]/g,t=>c3[t]):e;class d3{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}}const f3=[" ",",","?","!",";"],_3=new d3(20),p3=(e,t,r)=>{t=t||"",r=r||"";const n=f3.filter(u=>t.indexOf(u)<0&&r.indexOf(u)<0);if(n.length===0)return!0;const i=_3.getRegExp(`(${n.map(u=>u==="?"?"\\?":u).join("|")})`);let a=!i.test(e);if(!a){const u=e.indexOf(r);u>0&&!i.test(e.substring(0,u))&&(a=!0)}return a},Bb=function(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const n=t.split(r);let i=e;for(let a=0;a<n.length;){if(!i||typeof i!="object")return;let u,d="";for(let A=a;A<n.length;++A)if(A!==a&&(d+=r),d+=n[A],u=i[d],u!==void 0){if(["string","number","boolean"].indexOf(typeof u)>-1&&A<n.length-1)continue;a+=A-a+1;break}i=u}return i},Jv=e=>e?.replace("_","-"),h3={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class Zv{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,r)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=t||h3,this.options=r,this.debug=r.debug}log(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"log","",!0)}warn(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"warn","",!0)}error(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"error","")}deprecate(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}forward(t,r,n,i){return i&&!this.debug?null:(Or(t[0])&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[r](t))}create(t){return new Zv(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Zv(this.logger,t)}}var Ts=new Zv;class em{constructor(){this.observers={}}on(t,r){return t.split(" ").forEach(n=>{this.observers[n]||(this.observers[n]=new Map);const i=this.observers[n].get(r)||0;this.observers[n].set(r,i+1)}),this}off(t,r){if(!!this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(u=>{let[d,A]=u;for(let h=0;h<A;h++)d(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(u=>{let[d,A]=u;for(let h=0;h<A;h++)d.apply(d,[t,...n])})}}class a0 extends em{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=r,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 r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,u=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let d;t.indexOf(".")>-1?d=t.split("."):(d=[t,r],n&&(Array.isArray(n)?d.push(...n):Or(n)&&a?d.push(...n.split(a)):d.push(n)));const A=Xv(this.data,d);return!A&&!r&&!n&&t.indexOf(".")>-1&&(t=d[0],r=d[1],n=d.slice(2).join(".")),A||!u||!Or(n)?A:Bb(this.data?.[t]?.[r],n,a)}addResource(t,r,n,i){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const u=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let d=[t,r];n&&(d=d.concat(u?n.split(u):n)),t.indexOf(".")>-1&&(d=t.split("."),i=r,r=d[1]),this.addNamespaces(r),n0(this.data,d,i),a.silent||this.emit("added",t,r,n,i)}addResources(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const a in n)(Or(n[a])||Array.isArray(n[a]))&&this.addResource(t,r,a,n[a],{silent:!0});i.silent||this.emit("added",t,r,n)}addResourceBundle(t,r,n,i,a){let u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},d=[t,r];t.indexOf(".")>-1&&(d=t.split("."),i=n,n=r,r=d[1]),this.addNamespaces(r);let A=Xv(this.data,d)||{};u.skipCopy||(n=JSON.parse(JSON.stringify(n))),i?i0(A,n,a):A={...A,...n},n0(this.data,d,A),u.silent||this.emit("added",t,r,n)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(i=>r[i]&&Object.keys(r[i]).length>0)}toJSON(){return this.data}}var o0={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,i){return e.forEach(a=>{t=this.processors[a]?.process(t,r,n,i)??t}),t}};const s0={},u0=e=>!Or(e)&&typeof e!="boolean"&&typeof e!="number";class tm extends em{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),a3(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Ts.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};return t==null?!1:this.resolve(t,r)?.res!==void 0}extractFromKey(t,r){let n=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");const i=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let a=r.ns||this.options.defaultNS||[];const u=n&&t.indexOf(n)>-1,d=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!p3(t,n,i);if(u&&!d){const A=t.match(this.interpolator.nestingRegexp);if(A&&A.length>0)return{key:t,namespaces:Or(a)?[a]:a};const h=t.split(n);(n!==i||n===i&&this.options.ns.indexOf(h[0])>-1)&&(a=h.shift()),t=h.join(i)}return{key:t,namespaces:Or(a)?[a]:a}}translate(t,r,n){if(typeof r!="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),typeof r=="object"&&(r={...r}),r||(r={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const i=r.returnDetails!==void 0?r.returnDetails:this.options.returnDetails,a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,{key:u,namespaces:d}=this.extractFromKey(t[t.length-1],r),A=d[d.length-1],h=r.lng||this.language,v=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(h?.toLowerCase()==="cimode"){if(v){const Ri=r.nsSeparator||this.options.nsSeparator;return i?{res:`${A}${Ri}${u}`,usedKey:u,exactUsedKey:u,usedLng:h,usedNS:A,usedParams:this.getUsedParamsDetails(r)}:`${A}${Ri}${u}`}return i?{res:u,usedKey:u,exactUsedKey:u,usedLng:h,usedNS:A,usedParams:this.getUsedParamsDetails(r)}:u}const B=this.resolve(t,r);let te=B?.res;const me=B?.usedKey||u,Ee=B?.exactUsedKey||u,be=["[object Number]","[object Function]","[object RegExp]"],Ye=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,Ke=!this.i18nFormat||this.i18nFormat.handleAsObject,Xe=r.count!==void 0&&!Or(r.count),mt=tm.hasDefaultValue(r),Nt=Xe?this.pluralResolver.getSuffix(h,r.count,r):"",rr=r.ordinal&&Xe?this.pluralResolver.getSuffix(h,r.count,{ordinal:!1}):"",Pr=Xe&&!r.ordinal&&r.count===0,Lr=Pr&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${Nt}`]||r[`defaultValue${rr}`]||r.defaultValue;let mn=te;Ke&&!te&&mt&&(mn=Lr);const Ga=u0(mn),gy=Object.prototype.toString.apply(mn);if(Ke&&mn&&Ga&&be.indexOf(gy)<0&&!(Or(Ye)&&Array.isArray(mn))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const Ri=this.options.returnedObjectHandler?this.options.returnedObjectHandler(me,mn,{...r,ns:d}):`key '${u} (${this.language})' returned an object instead of string.`;return i?(B.res=Ri,B.usedParams=this.getUsedParamsDetails(r),B):Ri}if(a){const Ri=Array.isArray(mn),pi=Ri?[]:{},Wf=Ri?Ee:me;for(const Ds in mn)if(Object.prototype.hasOwnProperty.call(mn,Ds)){const uu=`${Wf}${a}${Ds}`;mt&&!te?pi[Ds]=this.translate(uu,{...r,defaultValue:u0(Lr)?Lr[Ds]:void 0,joinArrays:!1,ns:d}):pi[Ds]=this.translate(uu,{...r,joinArrays:!1,ns:d}),pi[Ds]===uu&&(pi[Ds]=mn[Ds])}te=pi}}else if(Ke&&Or(Ye)&&Array.isArray(te))te=te.join(Ye),te&&(te=this.extendTranslation(te,t,r,n));else{let Ri=!1,pi=!1;!this.isValidLookup(te)&&mt&&(Ri=!0,te=Lr),this.isValidLookup(te)||(pi=!0,te=u);const Ds=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&pi?void 0:te,uu=mt&&Lr!==te&&this.options.updateMissing;if(pi||Ri||uu){if(this.logger.log(uu?"updateKey":"missingKey",h,A,u,uu?Lr:te),a){const to=this.resolve(u,{...r,keySeparator:!1});to&&to.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 Xh=[];const vy=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&vy&&vy[0])for(let to=0;to<vy.length;to++)Xh.push(vy[to]);else this.options.saveMissingTo==="all"?Xh=this.languageUtils.toResolveHierarchy(r.lng||this.language):Xh.push(r.lng||this.language);const XQ=(to,Ml,Jh)=>{const JQ=mt&&Jh!==te?Jh:Ds;this.options.missingKeyHandler?this.options.missingKeyHandler(to,A,Ml,JQ,uu,r):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(to,A,Ml,JQ,uu,r),this.emit("missingKey",to,A,Ml,te)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Xe?Xh.forEach(to=>{const Ml=this.pluralResolver.getSuffixes(to,r);Pr&&r[`defaultValue${this.options.pluralSeparator}zero`]&&Ml.indexOf(`${this.options.pluralSeparator}zero`)<0&&Ml.push(`${this.options.pluralSeparator}zero`),Ml.forEach(Jh=>{XQ([to],u+Jh,r[`defaultValue${Jh}`]||Lr)})}):XQ(Xh,u,Lr))}te=this.extendTranslation(te,t,r,B,n),pi&&te===u&&this.options.appendNamespaceToMissingKey&&(te=`${A}:${u}`),(pi||Ri)&&this.options.parseMissingKeyHandler&&(te=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${A}:${u}`:u,Ri?te:void 0))}return i?(B.res=te,B.usedParams=this.getUsedParamsDetails(r),B):te}extendTranslation(t,r,n,i,a){var u=this;if(this.i18nFormat?.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const h=Or(t)&&(n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let v;if(h){const te=t.match(this.interpolator.nestingRegexp);v=te&&te.length}let B=n.replace&&!Or(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(B={...this.options.interpolation.defaultVariables,...B}),t=this.interpolator.interpolate(t,B,n.lng||this.language||i.usedLng,n),h){const te=t.match(this.interpolator.nestingRegexp),me=te&&te.length;v<me&&(n.nest=!1)}!n.lng&&i&&i.res&&(n.lng=this.language||i.usedLng),n.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var te=arguments.length,me=new Array(te),Ee=0;Ee<te;Ee++)me[Ee]=arguments[Ee];return a?.[0]===me[0]&&!n.context?(u.logger.warn(`It seems you are nesting recursively key: ${me[0]} in key: ${r[0]}`),null):u.translate(...me,r)},n)),n.interpolation&&this.interpolator.reset()}const d=n.postProcess||this.options.postProcess,A=Or(d)?[d]:d;return t!=null&&A?.length&&n.applyPostProcessor!==!1&&(t=o0.handle(A,t,r,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),t}resolve(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,i,a,u,d;return Or(t)&&(t=[t]),t.forEach(A=>{if(this.isValidLookup(n))return;const h=this.extractFromKey(A,r),v=h.key;i=v;let B=h.namespaces;this.options.fallbackNS&&(B=B.concat(this.options.fallbackNS));const te=r.count!==void 0&&!Or(r.count),me=te&&!r.ordinal&&r.count===0,Ee=r.context!==void 0&&(Or(r.context)||typeof r.context=="number")&&r.context!=="",be=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);B.forEach(Ye=>{this.isValidLookup(n)||(d=Ye,!s0[`${be[0]}-${Ye}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(d)&&(s0[`${be[0]}-${Ye}`]=!0,this.logger.warn(`key "${i}" for languages "${be.join(", ")}" won't get resolved as namespace "${d}" 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!!!")),be.forEach(Ke=>{if(this.isValidLookup(n))return;u=Ke;const Xe=[v];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(Xe,v,Ke,Ye,r);else{let Nt;te&&(Nt=this.pluralResolver.getSuffix(Ke,r.count,r));const rr=`${this.options.pluralSeparator}zero`,Pr=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(te&&(Xe.push(v+Nt),r.ordinal&&Nt.indexOf(Pr)===0&&Xe.push(v+Nt.replace(Pr,this.options.pluralSeparator)),me&&Xe.push(v+rr)),Ee){const Lr=`${v}${this.options.contextSeparator}${r.context}`;Xe.push(Lr),te&&(Xe.push(Lr+Nt),r.ordinal&&Nt.indexOf(Pr)===0&&Xe.push(Lr+Nt.replace(Pr,this.options.pluralSeparator)),me&&Xe.push(Lr+rr))}}let mt;for(;mt=Xe.pop();)this.isValidLookup(n)||(a=mt,n=this.getResource(Ke,Ye,mt,r))}))})}),{res:n,usedKey:i,exactUsedKey:a,usedLng:u,usedNS:d}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat?.getResource?this.i18nFormat.getResource(t,r,n,i):this.resourceStore.getResource(t,r,n,i)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&!Or(t.replace);let i=n?t.replace:t;if(n&&typeof t.count<"u"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!n){i={...i};for(const a of r)delete i[a]}return i}static hasDefaultValue(t){const r="defaultValue";for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&r===n.substring(0,r.length)&&t[n]!==void 0)return!0;return!1}}class c0{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Ts.create("languageUtils")}getScriptPartFromCode(t){if(t=Jv(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=Jv(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(Or(t)&&t.indexOf("-")>-1){let r;try{r=Intl.getCanonicalLocales(t)[0]}catch{}return r&&this.options.lowerCaseLng&&(r=r.toLowerCase()),r||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(n=>{if(r)return;const i=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(i))&&(r=i)}),!r&&this.options.supportedLngs&&t.forEach(n=>{if(r)return;const i=this.getLanguagePartFromCode(n);if(this.isSupportedCode(i))return r=i;r=this.options.supportedLngs.find(a=>{if(a===i)return a;if(!(a.indexOf("-")<0&&i.indexOf("-")<0)&&(a.indexOf("-")>0&&i.indexOf("-")<0&&a.substring(0,a.indexOf("-"))===i||a.indexOf(i)===0&&i.length>1))return a})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),Or(t)&&(t=[t]),Array.isArray(t))return t;if(!r)return t.default||[];let n=t[r];return n||(n=t[this.getScriptPartFromCode(r)]),n||(n=t[this.formatLanguageCode(r)]),n||(n=t[this.getLanguagePartFromCode(r)]),n||(n=t.default),n||[]}toResolveHierarchy(t,r){const n=this.getFallbackCodes(r||this.options.fallbackLng||[],t),i=[],a=u=>{!u||(this.isSupportedCode(u)?i.push(u):this.logger.warn(`rejecting language code not found in supportedLngs: ${u}`))};return Or(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(t))):Or(t)&&a(this.formatLanguageCode(t)),n.forEach(u=>{i.indexOf(u)<0&&a(this.formatLanguageCode(u))}),i}}const l0={zero:0,one:1,two:2,few:3,many:4,other:5},d0={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class S3{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=r,this.logger=Ts.create("pluralResolver"),this.pluralRulesCache={}}addRule(t,r){this.rules[t]=r}clearCache(){this.pluralRulesCache={}}getRule(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Jv(t==="dev"?"en":t),i=r.ordinal?"ordinal":"cardinal",a=JSON.stringify({cleanedCode:n,type:i});if(a in this.pluralRulesCache)return this.pluralRulesCache[a];let u;try{u=new Intl.PluralRules(n,{type:i})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),d0;if(!t.match(/-|_/))return d0;const A=this.languageUtils.getLanguagePartFromCode(t);u=this.getRule(A,r)}return this.pluralRulesCache[a]=u,u}needsPlural(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(t,r);return n||(n=this.getRule("dev",r)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,n).map(i=>`${r}${i}`)}getSuffixes(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(t,r);return n||(n=this.getRule("dev",r)),n?n.resolvedOptions().pluralCategories.sort((i,a)=>l0[i]-l0[a]).map(i=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i}`):[]}getSuffix(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(t,n);return i?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i.select(r)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",r,n))}}const f0=function(e,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=u3(e,t,r);return!a&&i&&Or(r)&&(a=Bb(e,r,n),a===void 0&&(a=Bb(t,r,n))),a},kb=e=>e.replace(/\$/g,"$$$$");class g3{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Ts.create("interpolator"),this.options=t,this.format=t?.interpolation?.format||(r=>r),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:r,escapeValue:n,useRawValueToEscape:i,prefix:a,prefixEscaped:u,suffix:d,suffixEscaped:A,formatSeparator:h,unescapeSuffix:v,unescapePrefix:B,nestingPrefix:te,nestingPrefixEscaped:me,nestingSuffix:Ee,nestingSuffixEscaped:be,nestingOptionsSeparator:Ye,maxReplaces:Ke,alwaysFormat:Xe}=t.interpolation;this.escape=r!==void 0?r:l3,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=a?qd(a):u||"{{",this.suffix=d?qd(d):A||"}}",this.formatSeparator=h||",",this.unescapePrefix=v?"":B||"-",this.unescapeSuffix=this.unescapePrefix?"":v||"",this.nestingPrefix=te?qd(te):me||qd("$t("),this.nestingSuffix=Ee?qd(Ee):be||qd(")"),this.nestingOptionsSeparator=Ye||",",this.maxReplaces=Ke||1e3,this.alwaysFormat=Xe!==void 0?Xe:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,n)=>r?.source===n?(r.lastIndex=0,r):new RegExp(n,"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,r,n,i){let a,u,d;const A=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},h=me=>{if(me.indexOf(this.formatSeparator)<0){const Ke=f0(r,A,me,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(Ke,void 0,n,{...i,...r,interpolationkey:me}):Ke}const Ee=me.split(this.formatSeparator),be=Ee.shift().trim(),Ye=Ee.join(this.formatSeparator).trim();return this.format(f0(r,A,be,this.options.keySeparator,this.options.ignoreJSONStructure),Ye,n,{...i,...r,interpolationkey:be})};this.resetRegExp();const v=i?.missingInterpolationHandler||this.options.missingInterpolationHandler,B=i?.interpolation?.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:me=>kb(me)},{regex:this.regexp,safeValue:me=>this.escapeValue?kb(this.escape(me)):kb(me)}].forEach(me=>{for(d=0;a=me.regex.exec(t);){const Ee=a[1].trim();if(u=h(Ee),u===void 0)if(typeof v=="function"){const Ye=v(t,a,i);u=Or(Ye)?Ye:""}else if(i&&Object.prototype.hasOwnProperty.call(i,Ee))u="";else if(B){u=a[0];continue}else this.logger.warn(`missed to pass in variable ${Ee} for interpolating ${t}`),u="";else!Or(u)&&!this.useRawValueToEscape&&(u=e0(u));const be=me.safeValue(u);if(t=t.replace(a[0],be),B?(me.regex.lastIndex+=u.length,me.regex.lastIndex-=a[0].length):me.regex.lastIndex=0,d++,d>=this.maxReplaces)break}}),t}nest(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,a,u;const d=(A,h)=>{const v=this.nestingOptionsSeparator;if(A.indexOf(v)<0)return A;const B=A.split(new RegExp(`${v}[ ]*{`));let te=`{${B[1]}`;A=B[0],te=this.interpolate(te,u);const me=te.match(/'/g),Ee=te.match(/"/g);((me?.length??0)%2===0&&!Ee||Ee.length%2!==0)&&(te=te.replace(/'/g,'"'));try{u=JSON.parse(te),h&&(u={...h,...u})}catch(be){return this.logger.warn(`failed parsing options string in nesting for key ${A}`,be),`${A}${v}${te}`}return u.defaultValue&&u.defaultValue.indexOf(this.prefix)>-1&&delete u.defaultValue,A};for(;i=this.nestingRegexp.exec(t);){let A=[];u={...n},u=u.replace&&!Or(u.replace)?u.replace:u,u.applyPostProcessor=!1,delete u.defaultValue;let h=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const v=i[1].split(this.formatSeparator).map(B=>B.trim());i[1]=v.shift(),A=v,h=!0}if(a=r(d.call(this,i[1].trim(),u),u),a&&i[0]===t&&!Or(a))return a;Or(a)||(a=e0(a)),a||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),a=""),h&&(a=A.reduce((v,B)=>this.format(v,B,n.lng,{...n,interpolationkey:i[1].trim()}),a.trim())),t=t.replace(i[0],a),this.regexp.lastIndex=0}return t}}const v3=e=>{let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const n=e.split("(");t=n[0].toLowerCase().trim();const i=n[1].substring(0,n[1].length-1);t==="currency"&&i.indexOf(":")<0?r.currency||(r.currency=i.trim()):t==="relativetime"&&i.indexOf(":")<0?r.range||(r.range=i.trim()):i.split(";").forEach(u=>{if(u){const[d,...A]=u.split(":"),h=A.join(":").trim().replace(/^'+|'+$/g,""),v=d.trim();r[v]||(r[v]=h),h==="false"&&(r[v]=!1),h==="true"&&(r[v]=!0),isNaN(h)||(r[v]=parseInt(h,10))}})}return{formatName:t,formatOptions:r}},Hd=e=>{const t={};return(r,n,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});const u=n+JSON.stringify(a);let d=t[u];return d||(d=e(Jv(n),i),t[u]=d),d(r)}};class m3{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Ts.create("formatter"),this.options=t,this.formats={number:Hd((r,n)=>{const i=new Intl.NumberFormat(r,{...n});return a=>i.format(a)}),currency:Hd((r,n)=>{const i=new Intl.NumberFormat(r,{...n,style:"currency"});return a=>i.format(a)}),datetime:Hd((r,n)=>{const i=new Intl.DateTimeFormat(r,{...n});return a=>i.format(a)}),relativetime:Hd((r,n)=>{const i=new Intl.RelativeTimeFormat(r,{...n});return a=>i.format(a,n.range||"day")}),list:Hd((r,n)=>{const i=new Intl.ListFormat(r,{...n});return a=>i.format(a)})},this.init(t)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=r.interpolation.formatSeparator||","}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=Hd(r)}format(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=r.split(this.formatSeparator);if(a.length>1&&a[0].indexOf("(")>1&&a[0].indexOf(")")<0&&a.find(d=>d.indexOf(")")>-1)){const d=a.findIndex(A=>A.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,d)].join(this.formatSeparator)}return a.reduce((d,A)=>{const{formatName:h,formatOptions:v}=v3(A);if(this.formats[h]){let B=d;try{const te=i?.formatParams?.[i.interpolationkey]||{},me=te.locale||te.lng||i.locale||i.lng||n;B=this.formats[h](d,me,{...v,...i,...te})}catch(te){this.logger.warn(te)}return B}else this.logger.warn(`there was no format function for ${h}`);return d},t)}}const E3=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class y3 extends em{constructor(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=r,this.services=n,this.languageUtils=n.languageUtils,this.options=i,this.logger=Ts.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,i.backend,i)}queueLoad(t,r,n,i){const a={},u={},d={},A={};return t.forEach(h=>{let v=!0;r.forEach(B=>{const te=`${h}|${B}`;!n.reload&&this.store.hasResourceBundle(h,B)?this.state[te]=2:this.state[te]<0||(this.state[te]===1?u[te]===void 0&&(u[te]=!0):(this.state[te]=1,v=!1,u[te]===void 0&&(u[te]=!0),a[te]===void 0&&(a[te]=!0),A[B]===void 0&&(A[B]=!0)))}),v||(d[h]=!0)}),(Object.keys(a).length||Object.keys(u).length)&&this.queue.push({pending:u,pendingCount:Object.keys(u).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(a),pending:Object.keys(u),toLoadLanguages:Object.keys(d),toLoadNamespaces:Object.keys(A)}}loaded(t,r,n){const i=t.split("|"),a=i[0],u=i[1];r&&this.emit("failedLoading",a,u,r),!r&&n&&this.store.addResourceBundle(a,u,n,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2,r&&n&&(this.state[t]=0);const d={};this.queue.forEach(A=>{s3(A.loaded,[a],u),E3(A,t),r&&A.errors.push(r),A.pendingCount===0&&!A.done&&(Object.keys(A.loaded).forEach(h=>{d[h]||(d[h]={});const v=A.loaded[h];v.length&&v.forEach(B=>{d[h][B]===void 0&&(d[h][B]=!0)})}),A.done=!0,A.errors.length?A.callback(A.errors):A.callback())}),this.emit("loaded",d),this.queue=this.queue.filter(A=>!A.done)}read(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,u=arguments.length>5?arguments[5]:void 0;if(!t.length)return u(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:n,tried:i,wait:a,callback:u});return}this.readingCalls++;const d=(h,v)=>{if(this.readingCalls--,this.waitingReads.length>0){const B=this.waitingReads.shift();this.read(B.lng,B.ns,B.fcName,B.tried,B.wait,B.callback)}if(h&&v&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,t,r,n,i+1,a*2,u)},a);return}u(h,v)},A=this.backend[n].bind(this.backend);if(A.length===2){try{const h=A(t,r);h&&typeof h.then=="function"?h.then(v=>d(null,v)).catch(d):d(null,h)}catch(h){d(h)}return}return A(t,r,d)}prepareLoading(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=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."),i&&i();Or(t)&&(t=this.languageUtils.toResolveHierarchy(t)),Or(r)&&(r=[r]);const a=this.queueLoad(t,r,n,i);if(!a.toLoad.length)return a.pending.length||i(),null;a.toLoad.forEach(u=>{this.loadOne(u)})}load(t,r,n){this.prepareLoading(t,r,{},n)}reload(t,r,n){this.prepareLoading(t,r,{reload:!0},n)}loadOne(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const n=t.split("|"),i=n[0],a=n[1];this.read(i,a,"read",void 0,void 0,(u,d)=>{u&&this.logger.warn(`${r}loading namespace ${a} for language ${i} failed`,u),!u&&d&&this.logger.log(`${r}loaded namespace ${a} for language ${i}`,d),this.loaded(t,u,d)})}saveMissing(t,r,n,i,a){let u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},d=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(r)){this.logger.warn(`did not save key "${n}" as the namespace "${r}" 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(!(n==null||n==="")){if(this.backend?.create){const A={...u,isUpdate:a},h=this.backend.create.bind(this.backend);if(h.length<6)try{let v;h.length===5?v=h(t,r,n,i,A):v=h(t,r,n,i),v&&typeof v.then=="function"?v.then(B=>d(null,B)).catch(d):d(null,v)}catch(v){d(v)}else h(t,r,n,i,d,A)}!t||!t[0]||this.store.addResource(t[0],r,n,i)}}}const _0=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),Or(e[1])&&(t.defaultValue=e[1]),Or(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const r=e[3]||e[2];Object.keys(r).forEach(n=>{t[n]=r[n]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),p0=e=>(Or(e.ns)&&(e.ns=[e.ns]),Or(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Or(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e),rm=()=>{},T3=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(r=>{typeof e[r]=="function"&&(e[r]=e[r].bind(e))})};class Fp extends em{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(super(),this.options=p0(t),this.services={},this.logger=Ts,this.modules={external:[]},T3(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(){var t=this;let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof r=="function"&&(n=r,r={}),r.defaultNS==null&&r.ns&&(Or(r.ns)?r.defaultNS=r.ns:r.ns.indexOf("translation")<0&&(r.defaultNS=r.ns[0]));const i=_0();this.options={...i,...this.options,...p0(r)},this.options.interpolation={...i.interpolation,...this.options.interpolation},r.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=r.keySeparator),r.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=r.nsSeparator);const a=v=>v?typeof v=="function"?new v:v:null;if(!this.options.isClone){this.modules.logger?Ts.init(a(this.modules.logger),this.options):Ts.init(null,this.options);let v;this.modules.formatter?v=this.modules.formatter:v=m3;const B=new c0(this.options);this.store=new a0(this.options.resources,this.options);const te=this.services;te.logger=Ts,te.resourceStore=this.store,te.languageUtils=B,te.pluralResolver=new S3(B,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),v&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(te.formatter=a(v),te.formatter.init(te,this.options),this.options.interpolation.format=te.formatter.format.bind(te.formatter)),te.interpolator=new g3(this.options),te.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},te.backendConnector=new y3(a(this.modules.backend),te.resourceStore,te,this.options),te.backendConnector.on("*",function(me){for(var Ee=arguments.length,be=new Array(Ee>1?Ee-1:0),Ye=1;Ye<Ee;Ye++)be[Ye-1]=arguments[Ye];t.emit(me,...be)}),this.modules.languageDetector&&(te.languageDetector=a(this.modules.languageDetector),te.languageDetector.init&&te.languageDetector.init(te,this.options.detection,this.options)),this.modules.i18nFormat&&(te.i18nFormat=a(this.modules.i18nFormat),te.i18nFormat.init&&te.i18nFormat.init(this)),this.translator=new tm(this.services,this.options),this.translator.on("*",function(me){for(var Ee=arguments.length,be=new Array(Ee>1?Ee-1:0),Ye=1;Ye<Ee;Ye++)be[Ye-1]=arguments[Ye];t.emit(me,...be)}),this.modules.external.forEach(me=>{me.init&&me.init(this)})}if(this.format=this.options.interpolation.format,n||(n=rm),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const v=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);v.length>0&&v[0]!=="dev"&&(this.options.lng=v[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(v=>{this[v]=function(){return t.store[v](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(v=>{this[v]=function(){return t.store[v](...arguments),t}});const A=Gp(),h=()=>{const v=(B,te)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),A.resolve(te),n(B,te)};if(this.languages&&!this.isInitialized)return v(null,this.t.bind(this));this.changeLanguage(this.options.lng,v)};return this.options.resources||!this.options.initAsync?h():setTimeout(h,0),A}loadResources(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:rm;const i=Or(t)?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(i?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const a=[],u=d=>{if(!d||d==="cimode")return;this.services.languageUtils.toResolveHierarchy(d).forEach(h=>{h!=="cimode"&&a.indexOf(h)<0&&a.push(h)})};i?u(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(A=>u(A)),this.options.preload?.forEach?.(d=>u(d)),this.services.backendConnector.load(a,this.options.ns,d=>{!d&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(d)})}else n(null)}reloadResources(t,r,n){const i=Gp();return typeof t=="function"&&(n=t,t=void 0),typeof r=="function"&&(n=r,r=void 0),t||(t=this.languages),r||(r=this.options.ns),n||(n=rm),this.services.backendConnector.reload(t,r,a=>{i.resolve(),n(a)}),i}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"&&o0.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 r=0;r<this.languages.length;r++){const n=this.languages[r];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}changeLanguage(t,r){var n=this;this.isLanguageChangingTo=t;const i=Gp();this.emit("languageChanging",t);const a=A=>{this.language=A,this.languages=this.services.languageUtils.toResolveHierarchy(A),this.resolvedLanguage=void 0,this.setResolvedLanguage(A)},u=(A,h)=>{h?(a(h),this.translator.changeLanguage(h),this.isLanguageChangingTo=void 0,this.emit("languageChanged",h),this.logger.log("languageChanged",h)):this.isLanguageChangingTo=void 0,i.resolve(function(){return n.t(...arguments)}),r&&r(A,function(){return n.t(...arguments)})},d=A=>{!t&&!A&&this.services.languageDetector&&(A=[]);const h=Or(A)?A:this.services.languageUtils.getBestMatchFromCodes(A);h&&(this.language||a(h),this.translator.language||this.translator.changeLanguage(h),this.services.languageDetector?.cacheUserLanguage?.(h)),this.loadResources(h,v=>{u(v,h)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?d(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(d):this.services.languageDetector.detect(d):d(t),i}getFixedT(t,r,n){var i=this;const a=function(u,d){let A;if(typeof d!="object"){for(var h=arguments.length,v=new Array(h>2?h-2:0),B=2;B<h;B++)v[B-2]=arguments[B];A=i.options.overloadTranslationOptionHandler([u,d].concat(v))}else A={...d};A.lng=A.lng||a.lng,A.lngs=A.lngs||a.lngs,A.ns=A.ns||a.ns,A.keyPrefix!==""&&(A.keyPrefix=A.keyPrefix||n||a.keyPrefix);const te=i.options.keySeparator||".";let me;return A.keyPrefix&&Array.isArray(u)?me=u.map(Ee=>`${A.keyPrefix}${te}${Ee}`):me=A.keyPrefix?`${A.keyPrefix}${te}${u}`:u,i.t(me,A)};return Or(t)?a.lng=t:a.lngs=t,a.ns=r,a.keyPrefix=n,a}t(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.translator?.translate(...r)}exists(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.translator?.exists(...r)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let r=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 n=r.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,a=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const u=(d,A)=>{const h=this.services.backendConnector.state[`${d}|${A}`];return h===-1||h===0||h===2};if(r.precheck){const d=r.precheck(this,u);if(d!==void 0)return d}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||u(n,t)&&(!i||u(a,t)))}loadNamespaces(t,r){const n=Gp();return this.options.ns?(Or(t)&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{n.resolve(),r&&r(i)}),n):(r&&r(),Promise.resolve())}loadLanguages(t,r){const n=Gp();Or(t)&&(t=[t]);const i=this.options.preload||[],a=t.filter(u=>i.indexOf(u)<0&&this.services.languageUtils.isSupportedCode(u));return a.length?(this.options.preload=i.concat(a),this.loadResources(u=>{n.resolve(),r&&r(u)}),n):(r&&r(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!t)return"rtl";const r=["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"],n=this.services?.languageUtils||new c0(_0());return r.indexOf(n.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new Fp(t,r)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:rm;const n=t.forkResourceStore;n&&delete t.forkResourceStore;const i={...this.options,...t,isClone:!0},a=new Fp(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),["store","services","language"].forEach(d=>{a[d]=this[d]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},n){const d=Object.keys(this.store.data).reduce((A,h)=>(A[h]={...this.store.data[h]},Object.keys(A[h]).reduce((v,B)=>(v[B]={...A[h][B]},v),{})),{});a.store=new a0(d,i),a.services.resourceStore=a.store}return a.translator=new tm(a.services,i),a.translator.on("*",function(d){for(var A=arguments.length,h=new Array(A>1?A-1:0),v=1;v<A;v++)h[v-1]=arguments[v];a.emit(d,...h)}),a.init(i,r),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const oa=Fp.createInstance();oa.createInstance=Fp.createInstance;const ZNe=oa.createInstance,eLe=oa.dir,tLe=oa.init,rLe=oa.loadResources,nLe=oa.reloadResources,iLe=oa.use,aLe=oa.changeLanguage,oLe=oa.getFixedT,sLe=oa.t,uLe=oa.exists,cLe=oa.setDefaultNamespace,lLe=oa.hasLoadedNamespace,dLe=oa.loadNamespaces,fLe=oa.loadLanguages;var h0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},qo=function(e){try{return!!e()}catch{return!0}},A3=qo,S0=!A3(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),g0=S0,v0=Function.prototype,C3=v0.bind,jb=v0.call,O3=g0&&C3.bind(jb,jb),Ho=g0?function(e){return e&&O3(e)}:function(e){return e&&function(){return jb.apply(e,arguments)}},m0=Ho,b3=m0({}.toString),R3=m0("".slice),P3=function(e){return R3(b3(e),8,-1)},M3=Ho,I3=qo,N3=P3,Qb=Object,L3=M3("".split),E0=I3(function(){return!Qb("z").propertyIsEnumerable(0)})?function(e){return N3(e)=="String"?L3(e,""):Qb(e)}:Qb,D3=TypeError,y0=function(e){if(e==null)throw D3("Can't call method on "+e);return e},w3=E0,U3=y0,Vp=function(e){return w3(U3(e))},nm=function(e){return e&&e.Math==Math&&e},As=nm(typeof globalThis=="object"&&globalThis)||nm(typeof window=="object"&&window)||nm(typeof self=="object"&&self)||nm(typeof h0=="object"&&h0)||function(){return this}()||Function("return this")(),qb={exports:{}},T0=As,$3=Object.defineProperty,Hb=function(e,t){try{$3(T0,e,{value:t,configurable:!0,writable:!0})}catch{T0[e]=t}return t},G3=As,x3=Hb,A0="__core-js_shared__",F3=G3[A0]||x3(A0,{}),Yb=F3,C0=Yb;(qb.exports=function(e,t){return C0[e]||(C0[e]=t!==void 0?t:{})})("versions",[]).push({version:"3.24.1",mode:"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"});var V3=y0,B3=Object,Wb=function(e){return B3(V3(e))},k3=Ho,j3=Wb,Q3=k3({}.hasOwnProperty),Ks=Object.hasOwn||function(t,r){return Q3(j3(t),r)},q3=Ho,H3=0,Y3=Math.random(),W3=q3(1 .toString),O0=function(e){return"Symbol("+(e===void 0?"":e)+")_"+W3(++H3+Y3,36)},Da=function(e){return typeof e=="function"},Kb=As,K3=Da,z3=function(e){return K3(e)?e:void 0},im=function(e,t){return arguments.length<2?z3(Kb[e]):Kb[e]&&Kb[e][t]},X3=im,J3=X3("navigator","userAgent")||"",b0=As,zb=J3,R0=b0.process,P0=b0.Deno,M0=R0&&R0.versions||P0&&P0.version,I0=M0&&M0.v8,Yo,am;I0&&(Yo=I0.split("."),am=Yo[0]>0&&Yo[0]<4?1:+(Yo[0]+Yo[1])),!am&&zb&&(Yo=zb.match(/Edge\/(\d+)/),(!Yo||Yo[1]>=74)&&(Yo=zb.match(/Chrome\/(\d+)/),Yo&&(am=+Yo[1])));var Z3=am,N0=Z3,e4=qo,L0=!!Object.getOwnPropertySymbols&&!e4(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&N0&&N0<41}),t4=L0,D0=t4&&!Symbol.sham&&typeof Symbol.iterator=="symbol",r4=As,n4=qb.exports,w0=Ks,i4=O0,U0=L0,$0=D0,Yd=n4("wks"),Xc=r4.Symbol,G0=Xc&&Xc.for,a4=$0?Xc:Xc&&Xc.withoutSetter||i4,Wd=function(e){if(!w0(Yd,e)||!(U0||typeof Yd[e]=="string")){var t="Symbol."+e;U0&&w0(Xc,e)?Yd[e]=Xc[e]:$0&&G0?Yd[e]=G0(t):Yd[e]=a4(t)}return Yd[e]},o4=Da,Bp=function(e){return typeof e=="object"?e!==null:o4(e)},s4=Bp,u4=String,c4=TypeError,kp=function(e){if(s4(e))return e;throw c4(u4(e)+" is not an object")},x0={},l4=qo,Cs=!l4(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),d4=Cs,f4=qo,F0=d4&&f4(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),$u={},_4=As,V0=Bp,Xb=_4.document,p4=V0(Xb)&&V0(Xb.createElement),Jb=function(e){return p4?Xb.createElement(e):{}},h4=Cs,S4=qo,g4=Jb,B0=!h4&&!S4(function(){return Object.defineProperty(g4("div"),"a",{get:function(){return 7}}).a!=7}),v4=S0,om=Function.prototype.call,jp=v4?om.bind(om):function(){return om.apply(om,arguments)},m4=Ho,E4=m4({}.isPrototypeOf),y4=im,T4=Da,A4=E4,C4=D0,O4=Object,k0=C4?function(e){return typeof e=="symbol"}:function(e){var t=y4("Symbol");return T4(t)&&A4(t.prototype,O4(e))},b4=String,R4=function(e){try{return b4(e)}catch{return"Object"}},P4=Da,M4=R4,I4=TypeError,N4=function(e){if(P4(e))return e;throw I4(M4(e)+" is not a function")},L4=N4,D4=function(e,t){var r=e[t];return r==null?void 0:L4(r)},Zb=jp,eR=Da,tR=Bp,w4=TypeError,U4=function(e,t){var r,n;if(t==="string"&&eR(r=e.toString)&&!tR(n=Zb(r,e))||eR(r=e.valueOf)&&!tR(n=Zb(r,e))||t!=="string"&&eR(r=e.toString)&&!tR(n=Zb(r,e)))return n;throw w4("Can't convert object to primitive value")},$4=jp,j0=Bp,Q0=k0,G4=D4,x4=U4,F4=Wd,V4=TypeError,B4=F4("toPrimitive"),k4=function(e,t){if(!j0(e)||Q0(e))return e;var r=G4(e,B4),n;if(r){if(t===void 0&&(t="default"),n=$4(r,e,t),!j0(n)||Q0(n))return n;throw V4("Can't convert object to primitive value")}return t===void 0&&(t="number"),x4(e,t)},j4=k4,Q4=k0,q0=function(e){var t=j4(e,"string");return Q4(t)?t:t+""},q4=Cs,H4=B0,Y4=F0,sm=kp,H0=q0,W4=TypeError,rR=Object.defineProperty,K4=Object.getOwnPropertyDescriptor,nR="enumerable",iR="configurable",aR="writable";$u.f=q4?Y4?function(t,r,n){if(sm(t),r=H0(r),sm(n),typeof t=="function"&&r==="prototype"&&"value"in n&&aR in n&&!n[aR]){var i=K4(t,r);i&&i[aR]&&(t[r]=n.value,n={configurable:iR in n?n[iR]:i[iR],enumerable:nR in n?n[nR]:i[nR],writable:!1})}return rR(t,r,n)}:rR:function(t,r,n){if(sm(t),r=H0(r),sm(n),H4)try{return rR(t,r,n)}catch{}if("get"in n||"set"in n)throw W4("Accessors not supported");return"value"in n&&(t[r]=n.value),t};var z4=Math.ceil,X4=Math.floor,J4=Math.trunc||function(t){var r=+t;return(r>0?X4:z4)(r)},Z4=J4,Y0=function(e){var t=+e;return t!==t||t===0?0:Z4(t)},e6=Y0,t6=Math.max,r6=Math.min,n6=function(e,t){var r=e6(e);return r<0?t6(r+t,0):r6(r,t)},i6=Y0,a6=Math.min,o6=function(e){return e>0?a6(i6(e),9007199254740991):0},s6=o6,u6=function(e){return s6(e.length)},c6=Vp,l6=n6,d6=u6,W0=function(e){return function(t,r,n){var i=c6(t),a=d6(i),u=l6(n,a),d;if(e&&r!=r){for(;a>u;)if(d=i[u++],d!=d)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===r)return e||u||0;return!e&&-1}},f6={includes:W0(!0),indexOf:W0(!1)},oR={},_6=Ho,sR=Ks,p6=Vp,h6=f6.indexOf,S6=oR,K0=_6([].push),z0=function(e,t){var r=p6(e),n=0,i=[],a;for(a in r)!sR(S6,a)&&sR(r,a)&&K0(i,a);for(;t.length>n;)sR(r,a=t[n++])&&(~h6(i,a)||K0(i,a));return i},uR=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],g6=z0,v6=uR,X0=Object.keys||function(t){return g6(t,v6)},m6=Cs,E6=F0,y6=$u,T6=kp,A6=Vp,C6=X0;x0.f=m6&&!E6?Object.defineProperties:function(t,r){T6(t);for(var n=A6(r),i=C6(r),a=i.length,u=0,d;a>u;)y6.f(t,d=i[u++],n[d]);return t};var O6=im,b6=O6("document","documentElement"),R6=qb.exports,P6=O0,J0=R6("keys"),cR=function(e){return J0[e]||(J0[e]=P6(e))},M6=kp,I6=x0,Z0=uR,N6=oR,L6=b6,D6=Jb,w6=cR,ew=">",tw="<",lR="prototype",dR="script",rw=w6("IE_PROTO"),fR=function(){},nw=function(e){return tw+dR+ew+e+tw+"/"+dR+ew},iw=function(e){e.write(nw("")),e.close();var t=e.parentWindow.Object;return e=null,t},U6=function(){var e=D6("iframe"),t="java"+dR+":",r;return e.style.display="none",L6.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(nw("document.F=Object")),r.close(),r.F},um,cm=function(){try{um=new ActiveXObject("htmlfile")}catch{}cm=typeof document<"u"?document.domain&&um?iw(um):U6():iw(um);for(var e=Z0.length;e--;)delete cm[lR][Z0[e]];return cm()};N6[rw]=!0;var aw=Object.create||function(t,r){var n;return t!==null?(fR[lR]=M6(t),n=new fR,fR[lR]=null,n[rw]=t):n=cm(),r===void 0?n:I6.f(n,r)},$6=Wd,G6=aw,x6=$u.f,_R=$6("unscopables"),pR=Array.prototype;pR[_R]==null&&x6(pR,_R,{configurable:!0,value:G6(null)});var F6=function(e){pR[_R][e]=!0},hR={},V6=Ho,B6=Da,SR=Yb,k6=V6(Function.toString);B6(SR.inspectSource)||(SR.inspectSource=function(e){return k6(e)});var ow=SR.inspectSource,j6=As,Q6=Da,q6=ow,sw=j6.WeakMap,H6=Q6(sw)&&/native code/.test(q6(sw)),gR=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},Y6=Cs,W6=$u,K6=gR,lm=Y6?function(e,t,r){return W6.f(e,t,K6(1,r))}:function(e,t,r){return e[t]=r,e},z6=H6,uw=As,vR=Ho,X6=Bp,J6=lm,mR=Ks,ER=Yb,Z6=cR,e5=oR,cw="Object already initialized",yR=uw.TypeError,t5=uw.WeakMap,dm,Qp,fm,r5=function(e){return fm(e)?Qp(e):dm(e,{})},n5=function(e){return function(t){var r;if(!X6(t)||(r=Qp(t)).type!==e)throw yR("Incompatible receiver, "+e+" required");return r}};if(z6||ER.state){var Jc=ER.state||(ER.state=new t5),i5=vR(Jc.get),lw=vR(Jc.has),a5=vR(Jc.set);dm=function(e,t){if(lw(Jc,e))throw new yR(cw);return t.facade=e,a5(Jc,e,t),t},Qp=function(e){return i5(Jc,e)||{}},fm=function(e){return lw(Jc,e)}}else{var Kd=Z6("state");e5[Kd]=!0,dm=function(e,t){if(mR(e,Kd))throw new yR(cw);return t.facade=e,J6(e,Kd,t),t},Qp=function(e){return mR(e,Kd)?e[Kd]:{}},fm=function(e){return mR(e,Kd)}}var dw={set:dm,get:Qp,has:fm,enforce:r5,getterFor:n5},TR={},AR={},fw={}.propertyIsEnumerable,_w=Object.getOwnPropertyDescriptor,o5=_w&&!fw.call({1:2},1);AR.f=o5?function(t){var r=_w(this,t);return!!r&&r.enumerable}:fw;var s5=Cs,u5=jp,c5=AR,l5=gR,d5=Vp,f5=q0,_5=Ks,p5=B0,pw=Object.getOwnPropertyDescriptor;TR.f=s5?pw:function(t,r){if(t=d5(t),r=f5(r),p5)try{return pw(t,r)}catch{}if(_5(t,r))return l5(!u5(c5.f,t,r),t[r])};var hw={exports:{}},CR=Cs,h5=Ks,Sw=Function.prototype,S5=CR&&Object.getOwnPropertyDescriptor,OR=h5(Sw,"name"),g5=OR&&function(){}.name==="something",v5=OR&&(!CR||CR&&S5(Sw,"name").configurable),gw={EXISTS:OR,PROPER:g5,CONFIGURABLE:v5},m5=qo,E5=Da,_m=Ks,bR=Cs,y5=gw.CONFIGURABLE,T5=ow,vw=dw,A5=vw.enforce,C5=vw.get,pm=Object.defineProperty,O5=bR&&!m5(function(){return pm(function(){},"length",{value:8}).length!==8}),b5=String(String).split("String"),R5=hw.exports=function(e,t,r){String(t).slice(0,7)==="Symbol("&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!_m(e,"name")||y5&&e.name!==t)&&(bR?pm(e,"name",{value:t,configurable:!0}):e.name=t),O5&&r&&_m(r,"arity")&&e.length!==r.arity&&pm(e,"length",{value:r.arity});try{r&&_m(r,"constructor")&&r.constructor?bR&&pm(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=A5(e);return _m(n,"source")||(n.source=b5.join(typeof t=="string"?t:"")),e};Function.prototype.toString=R5(function(){return E5(this)&&C5(this).source||T5(this)},"toString");var P5=Da,M5=$u,I5=hw.exports,N5=Hb,RR=function(e,t,r,n){n||(n={});var i=n.enumerable,a=n.name!==void 0?n.name:t;if(P5(r)&&I5(r,a,n),n.global)i?e[t]=r:N5(t,r);else{try{n.unsafe?e[t]&&(i=!0):delete e[t]}catch{}i?e[t]=r:M5.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},mw={},L5=z0,D5=uR,w5=D5.concat("length","prototype");mw.f=Object.getOwnPropertyNames||function(t){return L5(t,w5)};var PR={};PR.f=Object.getOwnPropertySymbols;var U5=im,$5=Ho,G5=mw,x5=PR,F5=kp,V5=$5([].concat),B5=U5("Reflect","ownKeys")||function(t){var r=G5.f(F5(t)),n=x5.f;return n?V5(r,n(t)):r},Ew=Ks,k5=B5,j5=TR,Q5=$u,q5=function(e,t,r){for(var n=k5(t),i=Q5.f,a=j5.f,u=0;u<n.length;u++){var d=n[u];!Ew(e,d)&&!(r&&Ew(r,d))&&i(e,d,a(t,d))}},H5=qo,Y5=Da,W5=/#|\.prototype\./,qp=function(e,t){var r=z5[K5(e)];return r==J5?!0:r==X5?!1:Y5(t)?H5(t):!!t},K5=qp.normalize=function(e){return String(e).replace(W5,".").toLowerCase()},z5=qp.data={},X5=qp.NATIVE="N",J5=qp.POLYFILL="P",Z5=qp,MR=As,eX=TR.f,tX=lm,rX=RR,nX=Hb,iX=q5,aX=Z5,yw=function(e,t){var r=e.target,n=e.global,i=e.stat,a,u,d,A,h,v;if(n?u=MR:i?u=MR[r]||nX(r,{}):u=(MR[r]||{}).prototype,u)for(d in t){if(h=t[d],e.dontCallGetSet?(v=eX(u,d),A=v&&v.value):A=u[d],a=aX(n?d:r+(i?".":"#")+d,e.forced),!a&&A!==void 0){if(typeof h==typeof A)continue;iX(h,A)}(e.sham||A&&A.sham)&&tX(h,"sham",!0),rX(u,d,h,e)}},oX=qo,sX=!oX(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),uX=Ks,cX=Da,lX=Wb,dX=cR,fX=sX,Tw=dX("IE_PROTO"),IR=Object,_X=IR.prototype,Aw=fX?IR.getPrototypeOf:function(e){var t=lX(e);if(uX(t,Tw))return t[Tw];var r=t.constructor;return cX(r)&&t instanceof r?r.prototype:t instanceof IR?_X:null},pX=qo,hX=Da,Cw=Aw,SX=RR,gX=Wd,NR=gX("iterator"),Ow=!1,Zc,LR,DR;[].keys&&(DR=[].keys(),"next"in DR?(LR=Cw(Cw(DR)),LR!==Object.prototype&&(Zc=LR)):Ow=!0);var vX=Zc==null||pX(function(){var e={};return Zc[NR].call(e)!==e});vX&&(Zc={}),hX(Zc[NR])||SX(Zc,NR,function(){return this});var bw={IteratorPrototype:Zc,BUGGY_SAFARI_ITERATORS:Ow},mX=$u.f,EX=Ks,yX=Wd,Rw=yX("toStringTag"),Pw=function(e,t,r){e&&!r&&(e=e.prototype),e&&!EX(e,Rw)&&mX(e,Rw,{configurable:!0,value:t})},TX=bw.IteratorPrototype,AX=aw,CX=gR,OX=Pw,bX=hR,RX=function(){return this},PX=function(e,t,r,n){var i=t+" Iterator";return e.prototype=AX(TX,{next:CX(+!n,r)}),OX(e,i,!1),bX[i]=RX,e},MX=Da,IX=String,NX=TypeError,LX=function(e){if(typeof e=="object"||MX(e))return e;throw NX("Can't set "+IX(e)+" as a prototype")},DX=Ho,wX=kp,UX=LX,$X=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=DX(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),r(t,[]),e=t instanceof Array}catch{}return function(i,a){return wX(i),UX(a),e?r(i,a):i.__proto__=a,i}}():void 0),GX=yw,xX=jp,Mw=gw,FX=Da,VX=PX,Iw=Aw,Nw=$X,BX=Pw,kX=lm,wR=RR,jX=Wd,QX=hR,Lw=bw,qX=Mw.PROPER,HX=Mw.CONFIGURABLE,Dw=Lw.IteratorPrototype,hm=Lw.BUGGY_SAFARI_ITERATORS,Hp=jX("iterator"),ww="keys",Yp="values",Uw="entries",YX=function(){return this},WX=function(e,t,r,n,i,a,u){VX(r,t,n);var d=function(Ke){if(Ke===i&&te)return te;if(!hm&&Ke in v)return v[Ke];switch(Ke){case ww:return function(){return new r(this,Ke)};case Yp:return function(){return new r(this,Ke)};case Uw:return function(){return new r(this,Ke)}}return function(){return new r(this)}},A=t+" Iterator",h=!1,v=e.prototype,B=v[Hp]||v["@@iterator"]||i&&v[i],te=!hm&&B||d(i),me=t=="Array"&&v.entries||B,Ee,be,Ye;if(me&&(Ee=Iw(me.call(new e)),Ee!==Object.prototype&&Ee.next&&(Iw(Ee)!==Dw&&(Nw?Nw(Ee,Dw):FX(Ee[Hp])||wR(Ee,Hp,YX)),BX(Ee,A,!0))),qX&&i==Yp&&B&&B.name!==Yp&&(HX?kX(v,"name",Yp):(h=!0,te=function(){return xX(B,this)})),i)if(be={values:d(Yp),keys:a?te:d(ww),entries:d(Uw)},u)for(Ye in be)(hm||h||!(Ye in v))&&wR(v,Ye,be[Ye]);else GX({target:t,proto:!0,forced:hm||h},be);return v[Hp]!==te&&wR(v,Hp,te,{name:i}),QX[t]=te,be},KX=Vp,UR=F6,$w=hR,Gw=dw,zX=$u.f,XX=WX,JX=Cs,xw="Array Iterator",ZX=Gw.set,e7=Gw.getterFor(xw),t7=XX(Array,"Array",function(e,t){ZX(this,{type:xw,target:KX(e),index:0,kind:t})},function(){var e=e7(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):r=="keys"?{value:n,done:!1}:r=="values"?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}},"values"),Fw=$w.Arguments=$w.Array;if(UR("keys"),UR("values"),UR("entries"),JX&&Fw.name!=="values")try{zX(Fw,"name",{value:"values"})}catch{}var r7={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},n7=Jb,$R=n7("span").classList,Vw=$R&&$R.constructor&&$R.constructor.prototype,i7=Vw===Object.prototype?void 0:Vw,Bw=As,kw=r7,a7=i7,Wp=t7,GR=lm,jw=Wd,xR=jw("iterator"),Qw=jw("toStringTag"),FR=Wp.values,qw=function(e,t){if(e){if(e[xR]!==FR)try{GR(e,xR,FR)}catch{e[xR]=FR}if(e[Qw]||GR(e,Qw,t),kw[t]){for(var r in Wp)if(e[r]!==Wp[r])try{GR(e,r,Wp[r])}catch{e[r]=Wp[r]}}}};for(var VR in kw)qw(Bw[VR]&&Bw[VR].prototype,VR);qw(a7,"DOMTokenList");var Hw=Cs,o7=Ho,s7=jp,u7=qo,BR=X0,c7=PR,l7=AR,d7=Wb,f7=E0,zd=Object.assign,Yw=Object.defineProperty,_7=o7([].concat),p7=!zd||u7(function(){if(Hw&&zd({b:1},zd(Yw({},"a",{enumerable:!0,get:function(){Yw(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(i){t[i]=i}),zd({},e)[r]!=7||BR(zd({},t)).join("")!=n})?function(t,r){for(var n=d7(t),i=arguments.length,a=1,u=c7.f,d=l7.f;i>a;)for(var A=f7(arguments[a++]),h=u?_7(BR(A),u(A)):BR(A),v=h.length,B=0,te;v>B;)te=h[B++],(!Hw||s7(d,A,te))&&(n[te]=A[te]);return n}:zd,h7=yw,Ww=p7;h7({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ww},{assign:Ww});function Sm(e,t,r,n){function i(a){return a instanceof r?a:new r(function(u){u(a)})}return new(r||(r=Promise))(function(a,u){function d(v){try{h(n.next(v))}catch(B){u(B)}}function A(v){try{h(n.throw(v))}catch(B){u(B)}}function h(v){v.done?a(v.value):i(v.value).then(d,A)}h((n=n.apply(e,t||[])).next())})}function _n(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function Gu(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r}const kR=null,_Le=({children:e,i18n:t})=>jsx(kR.Provider,Object.assign({value:t},{children:e})),pLe=()=>{const e=useContext(kR);if(e===void 0)throw new Error("useTranslation must be used within an I18nProvider");return e.t},S7=e=>{const[t,r]=useState(!e.isLoaded),[n,i]=useState();return useEffect(()=>{e.isLoaded||Sm(void 0,void 0,void 0,function*(){try{yield e.load()}catch(a){i(a)}finally{r(!1)}})},[]),{loading:t,error:n}},hLe=e=>{const t=g7(),r=useMemo(()=>t.child(e),[]),{loading:n,error:i}=S7(r);return{loading:n,error:i,i18n:r}},g7=()=>{const e=useContext(kR);if(e===void 0)throw new Error("I18n instance hooks must be used within an I18nProvider");return e};var Ue=p(4370);let gm=e=>e,Kw,zw,Xw,Jw;const v7=(0,Ue.default)(Kw||(Kw=gm`
|
|
5636
5636
|
query GetPersonDOBAndZip($id: ID!) {
|
|
5637
5637
|
getPersonById(id: $id) {
|
|
5638
5638
|
birthDate
|