@icanbwell/composite 1.884.2 → 1.885.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/447.index.js CHANGED
@@ -5843,7 +5843,7 @@ Take a look at the reducer(s) handling this action type: `+Xe.type+`.
5843
5843
  (See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),Nt.warnIfExceeded()),gt}}}}function ja(e){return typeof e=="boolean"}function Io(){return function(t){return Gs(t)}}function Gs(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,c=a===void 0?!0:a,d=new Ro;if(r&&(ja(r)?d.push(ht):d.push(ht.withExtraArgument(r.extraArgument))),!1)var y,h;return d}var Fs=!0;function fu(e){var t=Io(),r=e||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,c=a===void 0?t():a,d=r.devTools,y=d===void 0?!0:d,h=r.preloadedState,g=h===void 0?void 0:h,x=r.enhancers,z=x===void 0?void 0:x,ve;if(typeof i=="function")ve=i;else if(An(i))ve=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 ye=c;if(typeof ye=="function"&&(ye=ye(t),!Fs&&!Array.isArray(ye)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Fs&&ye.some(function(gt){return typeof gt!="function"}))throw new Error("each middleware provided to configureStore must be a function");var Re=et.apply(void 0,ye),Ye=xe;y&&(Ye=Oi(Br({trace:!Fs},typeof y=="object"&&y)));var Ke=[Re];Array.isArray(z)?Ke=Ft([Re],z):typeof z=="function"&&(Ke=z(Ke));var Xe=Ye.apply(void 0,Ke);return Oe(ve,g,Xe)}function _a(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 Cn(e){return An(e)&&typeof e.type=="string"&&Object.keys(e).every(un)}function un(e){return["type","payload","error","meta"].indexOf(e)>-1}function _u(e){return""+e}function be(e){var t={},r=[],n,i={addCase:function(a,c){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]=c,i},addMatcher:function(a,c){return r.push({matcher:a,reducer:c}),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"?be(t):[t,r,n],a=i[0],c=i[1],d=i[2],y;if(qe(e))y=function(){return nt(e())};else{var h=nt(e);y=function(){return h}}function g(x,z){x===void 0&&(x=y());var ve=Ft([a[z.type]],c.filter(function(ye){var Re=ye.matcher;return Re(z)}).map(function(ye){var Re=ye.reducer;return Re}));return ve.filter(function(ye){return!!ye}).length===0&&(ve=[d]),ve.reduce(function(ye,Re){if(Re)if(Me(ye)){var Ye=ye,Ke=Re(Ye,z);return Ke===void 0?ye:Ke}else{if(Te(ye))return je(ye,function(Xe){return Re(Xe,z)});var Ke=Re(ye,z);if(Ke===void 0){if(ye===null)return ye;throw Error("A case reducer on a non-draftable value must not return undefined")}return Ke}return ye},x)}return g.getInitialState=y,g}var Fr=!1;function kr(e,t){return e+"/"+t}function cn(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={},c={},d={};i.forEach(function(g){var x=n[g],z=kr(t,g),ve,ye;"reducer"in x?(ve=x.reducer,ye=x.prepare):ve=x,a[g]=ve,c[z]=ve,d[g]=ye?_a(z,ye):_a(z)});function y(){var g=typeof e.extraReducers=="function"?be(e.extraReducers):[e.extraReducers],x=g[0],z=x===void 0?{}:x,ve=g[1],ye=ve===void 0?[]:ve,Re=g[2],Ye=Re===void 0?void 0:Re,Ke=Br(Br({},z),c);return Bt(r,function(Xe){for(var gt in Ke)Xe.addCase(gt,Ke[gt]);for(var Nt=0,ir=ye;Nt<ir.length;Nt++){var Mr=ir[Nt];Xe.addMatcher(Mr.matcher,Mr.reducer)}Ye&&Xe.addDefaultCase(Ye)})}var h;return{name:t,reducer:function(g,x){return h||(h=y()),h(g,x)},actions:d,caseReducers:a,getInitialState:function(){return h||(h=y()),h.getInitialState()}}}function rr(){return{ids:[],entities:{}}}function bn(){function e(t){return t===void 0&&(t={}),Object.assign(rr(),t)}return{getInitialState:e}}function si(){function e(t){var r=function(h){return h.ids},n=function(h){return h.entities},i=fi(r,n,function(h,g){return h.map(function(x){return g[x]})}),a=function(h,g){return g},c=function(h,g){return h[g]},d=fi(r,function(h){return h.length});if(!t)return{selectIds:r,selectEntities:n,selectAll:i,selectTotal:d,selectById:fi(n,a,c)};var y=fi(t,n);return{selectIds:fi(t,r),selectEntities:y,selectAll:fi(t,i),selectTotal:fi(t,d),selectById:fi(y,a,c)}}return{getSelectors:e}}function gi(e){var t=ln(function(r,n){return e(n)});return function(n){return t(n,void 0)}}function ln(e){return function(r,n){function i(c){return Cn(c)}var a=function(c){i(n)?e(n.payload,c):e(n,c)};return isDraft3(r)?(a(r),r):createNextState3(r,a)}}function ti(e,t){var r=t(e);return r}function Wi(e){return Array.isArray(e)||(e=Object.values(e)),e}function uo(e,t,r){e=Wi(e);for(var n=[],i=[],a=0,c=e;a<c.length;a++){var d=c[a],y=ti(d,t);y in r.entities?i.push({id:y,changes:d}):n.push(d)}return[n,i]}function pu(e){function t(ye,Re){var Ye=ti(ye,e);Ye in Re.entities||(Re.ids.push(Ye),Re.entities[Ye]=ye)}function r(ye,Re){ye=Wi(ye);for(var Ye=0,Ke=ye;Ye<Ke.length;Ye++){var Xe=Ke[Ye];t(Xe,Re)}}function n(ye,Re){var Ye=ti(ye,e);Ye in Re.entities||Re.ids.push(Ye),Re.entities[Ye]=ye}function i(ye,Re){ye=Wi(ye);for(var Ye=0,Ke=ye;Ye<Ke.length;Ye++){var Xe=Ke[Ye];n(Xe,Re)}}function a(ye,Re){ye=Wi(ye),Re.ids=[],Re.entities={},r(ye,Re)}function c(ye,Re){return d([ye],Re)}function d(ye,Re){var Ye=!1;ye.forEach(function(Ke){Ke in Re.entities&&(delete Re.entities[Ke],Ye=!0)}),Ye&&(Re.ids=Re.ids.filter(function(Ke){return Ke in Re.entities}))}function y(ye){Object.assign(ye,{ids:[],entities:{}})}function h(ye,Re,Ye){var Ke=Ye.entities[Re.id],Xe=Object.assign({},Ke,Re.changes),gt=ti(Xe,e),Nt=gt!==Re.id;return Nt&&(ye[Re.id]=gt,delete Ye.entities[Re.id]),Ye.entities[gt]=Xe,Nt}function g(ye,Re){return x([ye],Re)}function x(ye,Re){var Ye={},Ke={};ye.forEach(function(Nt){Nt.id in Re.entities&&(Ke[Nt.id]={id:Nt.id,changes:Br(Br({},Ke[Nt.id]?Ke[Nt.id].changes:null),Nt.changes)})}),ye=Object.values(Ke);var Xe=ye.length>0;if(Xe){var gt=ye.filter(function(Nt){return h(Ye,Nt,Re)}).length>0;gt&&(Re.ids=Object.keys(Re.entities))}}function z(ye,Re){return ve([ye],Re)}function ve(ye,Re){var Ye=uo(ye,e,Re),Ke=Ye[0],Xe=Ye[1];x(Xe,Re),r(Ke,Re)}return{removeAll:gi(y),addOne:ln(t),addMany:ln(r),setOne:ln(n),setMany:ln(i),setAll:ln(a),updateOne:ln(g),updateMany:ln(x),upsertOne:ln(z),upsertMany:ln(ve),removeOne:ln(c),removeMany:ln(d)}}function hu(e,t){var r=pu(e),n=r.removeOne,i=r.removeMany,a=r.removeAll;function c(Xe,gt){return d([Xe],gt)}function d(Xe,gt){Xe=Wi(Xe);var Nt=Xe.filter(function(ir){return!(ti(ir,e)in gt.entities)});Nt.length!==0&&Ye(Nt,gt)}function y(Xe,gt){return h([Xe],gt)}function h(Xe,gt){Xe=Wi(Xe),Xe.length!==0&&Ye(Xe,gt)}function g(Xe,gt){Xe=Wi(Xe),gt.entities={},gt.ids=[],d(Xe,gt)}function x(Xe,gt){return z([Xe],gt)}function z(Xe,gt){for(var Nt=!1,ir=0,Mr=Xe;ir<Mr.length;ir++){var Lr=Mr[ir],Tn=gt.entities[Lr.id];if(!!Tn){Nt=!0,Object.assign(Tn,Lr.changes);var ka=e(Tn);Lr.id!==ka&&(delete gt.entities[Lr.id],gt.entities[ka]=Tn)}}Nt&&Ke(gt)}function ve(Xe,gt){return ye([Xe],gt)}function ye(Xe,gt){var Nt=uo(Xe,e,gt),ir=Nt[0],Mr=Nt[1];z(Mr,gt),d(ir,gt)}function Re(Xe,gt){if(Xe.length!==gt.length)return!1;for(var Nt=0;Nt<Xe.length&&Nt<gt.length;Nt++)if(Xe[Nt]!==gt[Nt])return!1;return!0}function Ye(Xe,gt){Xe.forEach(function(Nt){gt.entities[e(Nt)]=Nt}),Ke(gt)}function Ke(Xe){var gt=Object.values(Xe.entities);gt.sort(t);var Nt=gt.map(e),ir=Xe.ids;Re(ir,Nt)||(Xe.ids=Nt)}return{removeOne:n,removeMany:i,removeAll:a,addOne:ln(c),updateOne:ln(x),upsertOne:ln(ve),setOne:ln(y),setMany:ln(h),setAll:ln(g),addMany:ln(d),updateMany:ln(z),upsertMany:ln(ye)}}function r_(e){e===void 0&&(e={});var t=Br({sortComparer:!1,selectId:function(d){return d.id}},e),r=t.selectId,n=t.sortComparer,i=bn(),a=si(),c=n?hu(r,n):pu(r);return Br(Br(Br({selectId:r,sortComparer:n},i),a),c)}var uc="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Di=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=uc[Math.random()*64|0];return t},cc=["name","message","stack","code"],vi=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),lc=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),dc=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=cc;r<n.length;r++){var i=n[r];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},No=function(){function e(t,r,n){var i=_a(t+"/fulfilled",function(g,x,z,ve){return{payload:g,meta:bi(Br({},ve||{}),{arg:z,requestId:x,requestStatus:"fulfilled"})}}),a=_a(t+"/pending",function(g,x,z){return{payload:void 0,meta:bi(Br({},z||{}),{arg:x,requestId:g,requestStatus:"pending"})}}),c=_a(t+"/rejected",function(g,x,z,ve,ye){return{payload:ve,error:(n&&n.serializeError||dc)(g||"Rejected"),meta:bi(Br({},ye||{}),{arg:z,requestId:x,rejectedWithValue:!!ve,requestStatus:"rejected",aborted:g?.name==="AbortError",condition:g?.name==="ConditionError"})}}),d=!1,y=typeof AbortController<"u"?AbortController:function(){function g(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return g.prototype.abort=function(){},g}();function h(g){return function(x,z,ve){var ye=n?.idGenerator?n.idGenerator(g):Di(),Re=new y,Ye,Ke=new Promise(function(ir,Mr){return Re.signal.addEventListener("abort",function(){return Mr({name:"AbortError",message:Ye||"Aborted"})})}),Xe=!1;function gt(ir){Xe&&(Ye=ir,Re.abort())}var Nt=function(){return Yn(this,null,function(){var ir,Mr,Lr,Tn,ka,Ny;return Mt(this,function(Ni){switch(Ni.label){case 0:return Ni.trys.push([0,4,,5]),Tn=(ir=n?.condition)==null?void 0:ir.call(n,g,{getState:z,extra:ve}),co(Tn)?[4,Tn]:[3,2];case 1:Tn=Ni.sent(),Ni.label=2;case 2:if(Tn===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return Xe=!0,x(a(ye,g,(Mr=n?.getPendingMeta)==null?void 0:Mr.call(n,{requestId:ye,arg:g},{getState:z,extra:ve}))),[4,Promise.race([Ke,Promise.resolve(r(g,{dispatch:x,getState:z,extra:ve,requestId:ye,signal:Re.signal,abort:gt,rejectWithValue:function(mi,t_){return new vi(mi,t_)},fulfillWithValue:function(mi,t_){return new lc(mi,t_)}})).then(function(mi){if(mi instanceof vi)throw mi;return mi instanceof lc?i(mi.payload,ye,g,mi.meta):i(mi,ye,g)})])];case 3:return Lr=Ni.sent(),[3,5];case 4:return ka=Ni.sent(),Lr=ka instanceof vi?c(null,ye,g,ka.payload,ka.meta):c(ka,ye,g),[3,5];case 5:return Ny=n&&!n.dispatchConditionRejection&&c.match(Lr)&&Lr.meta.condition,Ny||x(Lr),[2,Lr]}})})}();return Object.assign(Nt,{abort:gt,requestId:ye,arg:g,unwrap:function(){return Nt.then(Su)}})}}return Object.assign(h,{pending:a,rejected:c,fulfilled:i,typePrefix:t})}return e.withTypes=e,e}();function Su(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function co(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Gn=function(e){return e&&typeof e.match=="function"},Qa=function(e,t){return Gn(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 Qa(n,r)})}}function fc(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(r){return e.every(function(n){return Qa(n,r)})}}function ba(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 p(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length===0?function(r){return ba(r,["pending"])}:Q(e)?function(r){var n=e.map(function(a){return a.pending}),i=as.apply(void 0,n);return i(r)}:p()(e[0])}function T(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length===0?function(r){return ba(r,["rejected"])}:Q(e)?function(r){var n=e.map(function(a){return a.rejected}),i=as.apply(void 0,n);return i(r)}:T()(e[0])}function N(){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=fc(T.apply(void 0,e),r);return i(n)}:Q(e)?function(n){var i=fc(T.apply(void 0,e),r);return i(n)}:N()(e[0])}function ee(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length===0?function(r){return ba(r,["fulfilled"])}:Q(e)?function(r){var n=e.map(function(a){return a.fulfilled}),i=as.apply(void 0,n);return i(r)}:ee()(e[0])}function oe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length===0?function(r){return ba(r,["pending","fulfilled","rejected"])}:Q(e)?function(r){for(var n=[],i=0,a=e;i<a.length;i++){var c=a[i];n.push(c.pending,c.rejected,c.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")},Ue=function(){},Ve=function(e,t){return t===void 0&&(t=Ue),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",St="completed",Dt="cancelled",Pt="task-"+Dt,Gt="task-"+St,kt=Ze+"-"+Dt,Ar=Ze+"-"+St,Ut=function(){function e(t){this.code=t,this.name="TaskAbortError",this.message=it+" "+Dt+" (reason: "+t+")"}return e}(),or=function(e){if(e.aborted)throw new Ut(e.reason)},Ir=function(e){return Ve(new Promise(function(t,r){var n=function(){return r(new Ut(e.reason))};e.aborted?n():Ge(e,n)}))},Er=function(e,t){return Yn(void 0,null,function(){var r,n;return Mt(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 Ut?"cancelled":"rejected",error:n}];case 4:return t?.(),[7];case 5:return[2]}})})},vr=function(e){return function(t){return Ve(Promise.race([Ir(e),t]).then(function(r){return or(e),r}))}},En=function(e){var t=vr(e);return function(r){return t(new Promise(function(n){return setTimeout(n,r)}))}},Ki=Object.assign,Fn={},_i="listenerMiddleware",mu=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=Er(function(){return Yn(void 0,null,function(){var a;return Mt(this,function(c){switch(c.label){case 0:return or(e),or(n.signal),[4,r({pause:vr(n.signal),delay:En(n.signal),signal:n.signal})];case 1:return a=c.sent(),or(n.signal),[2,a]}})})},function(){return Je(n,Gt)});return{result:vr(e)(i),cancel:function(){Je(n,Pt)}}}},n_=function(e,t){var r=function(n,i){return Yn(void 0,null,function(){var a,c,d,y;return Mt(this,function(h){switch(h.label){case 0:or(t),a=function(){},c=new Promise(function(g){a=e({predicate:n,effect:function(x,z){z.unsubscribe(),g([x,z.getState(),z.getOriginalState()])}})}),d=[Ir(t),c],i!=null&&d.push(new Promise(function(g){return setTimeout(g,i,null)})),h.label=1;case 1:return h.trys.push([1,,3,4]),[4,Promise.race(d)];case 2:return y=h.sent(),or(t),[2,y];case 3:return a(),[7];case 4:return[2]}})})};return function(n,i){return Ve(r(n,i))}},xs=function(e){var t=e.type,r=e.actionCreator,n=e.matcher,i=e.predicate,a=e.effect;if(t)i=_a(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}},$l=function(e){var t=xs(e),r=t.type,n=t.predicate,i=t.effect,a=Di(),c={id:a,effect:i,type:r,predicate:n,pending:new Set,unsubscribe:function(){throw new Error("Unsubscribe not initialized")}};return c},qa=function(e){return function(){e.forEach(pa),e.clear()}},Ei=function(e,t,r){try{e(t,r)}catch(n){setTimeout(function(){throw n},0)}},Gl=_a(_i+"/add"),wi=_a(_i+"/removeAll"),Dy=_a(_i+"/remove"),gu=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];console.error.apply(console,Ft([_i+"/error"],e))},pa=function(e){e.pending.forEach(function(t){Je(t,kt)})};function wy(e){var t=this;e===void 0&&(e={});var r=new Map,n=e.extra,i=e.onError,a=i===void 0?gu:i;fe(a,"onError");var c=function(ve){return ve.unsubscribe=function(){return r.delete(ve.id)},r.set(ve.id,ve),function(ye){ve.unsubscribe(),ye?.cancelActive&&pa(ve)}},d=function(ve){for(var ye=0,Re=Array.from(r.values());ye<Re.length;ye++){var Ye=Re[ye];if(ve(Ye))return Ye}},y=function(ve){var ye=d(function(Re){return Re.effect===ve.effect});return ye||(ye=$l(ve)),c(ye)},h=function(ve){var ye=xs(ve),Re=ye.type,Ye=ye.effect,Ke=ye.predicate,Xe=d(function(gt){var Nt=typeof Re=="string"?gt.type===Re:gt.predicate===Ke;return Nt&&gt.effect===Ye});return Xe&&(Xe.unsubscribe(),ve.cancelActive&&pa(Xe)),!!Xe},g=function(ve,ye,Re,Ye){return Yn(t,null,function(){var Ke,Xe,gt;return Mt(this,function(Nt){switch(Nt.label){case 0:Ke=new AbortController,Xe=n_(y,Ke.signal),Nt.label=1;case 1:return Nt.trys.push([1,3,4,5]),ve.pending.add(Ke),[4,Promise.resolve(ve.effect(ye,Ki({},Re,{getOriginalState:Ye,condition:function(ir,Mr){return Xe(ir,Mr).then(Boolean)},take:Xe,delay:En(Ke.signal),pause:vr(Ke.signal),extra:n,signal:Ke.signal,fork:mu(Ke.signal),unsubscribe:ve.unsubscribe,subscribe:function(){r.set(ve.id,ve)},cancelActiveListeners:function(){ve.pending.forEach(function(ir,Mr,Lr){ir!==Ke&&(Je(ir,kt),Lr.delete(ir))})}})))];case 2:return Nt.sent(),[3,5];case 3:return gt=Nt.sent(),gt instanceof Ut||Ei(a,gt,{raisedBy:"effect"}),[3,5];case 4:return Je(Ke,Ar),ve.pending.delete(Ke),[7];case 5:return[2]}})})},x=qa(r),z=function(ve){return function(ye){return function(Re){if(Gl.match(Re))return y(Re.payload);if(wi.match(Re)){x();return}if(Dy.match(Re))return h(Re.payload);var Ye=ve.getState(),Ke=function(){if(Ye===Fn)throw new Error(_i+": getOriginalState can only be called synchronously");return Ye},Xe;try{if(Xe=ye(Re),r.size>0)for(var gt=ve.getState(),Nt=Array.from(r.values()),ir=0,Mr=Nt;ir<Mr.length;ir++){var Lr=Mr[ir],Tn=!1;try{Tn=Lr.predicate(Re,gt,Ye)}catch(ka){Tn=!1,Ei(a,ka,{raisedBy:"predicate"})}!Tn||g(Lr,Re,ve,Ke)}}finally{Ye=Fn}return Xe}}};return{middleware:z,startListening:y,stopListening:h,clearListeners:x}}var cS="RTK_autoBatch",CN=function(){return function(e){var t;return{payload:e,meta:(t={},t[cS]=!0,t)}}},lS,Uy=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:_.g):function(e){return(lS||(lS=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},$y=function(e){return function(t){setTimeout(t,e)}},i_=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,c=!1,d=!1,y=new Set,h=e.type==="tick"?Uy:e.type==="raf"?requestAnimationFrame:e.type==="callback"?e.queueNotification:$y(e.timeout),g=function(){d=!1,c&&(c=!1,y.forEach(function(x){return x()}))};return Object.assign({},i,{subscribe:function(x){var z=function(){return a&&x()},ve=i.subscribe(z);return y.add(x),function(){ve(),y.delete(x)}},dispatch:function(x){var z;try{return a=!((z=x?.meta)!=null&&z[cS]),c=!a,c&&(d||(d=!0,h(g))),i.dispatch(x)}finally{a=!0}}})}}};an();const We=cn({name:"client",initialState:{},reducers:{replace:(e,{payload:t})=>t}}),_t=e=>e.client,ot={},Qt=cn({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}}),yr=e=>e.user.tokenData,pn=e=>e.user,pi=cn({name:"telemetry",initialState:{},reducers:{replace:(e,{payload:t})=>t}}),Dn=e=>e.telemetry,Fl=cn({name:"metadata",initialState:{},reducers:{replace:(e,{payload:t})=>t}}),Gy=e=>e.metadata,Oa=de({[We.name]:We.reducer,[Qt.name]:Qt.reducer,[pi.name]:pi.reducer,[Fl.name]:Fl.reducer}),xl=e=>fu({reducer:Oa,preloadedState:e});We.actions;const a_=Qt.actions;var Ui;(function(e){e.one="1.0.0"})(Ui||(Ui={}));const ui="orchestrator:state-service",Vl=e=>({id:ui,create:()=>{const t=xl(e);return{[Ui.one]:()=>({featureService:{getStore:()=>t,getState:()=>t.getState(),getUser:()=>pn(t.getState()),getUserTokenData:()=>yr(t.getState()),getClientContext:()=>_t(t.getState()),getTelemetryConfig:()=>Dn(t.getState()),setUser:r=>t.dispatch(a_.replace(r)),updateTokens:r=>t.dispatch(a_.updateTokens(r)),logoutUser:()=>t.dispatch(a_.logout()),getMetadata:()=>Gy(t.getState())}})}}});var Hr;(function(e){e.one="1.0.0"})(Hr||(Hr={}));const lo="orchestrator:api-client",dS={id:lo,dependencies:{featureServices:{[ui]:Ui.one}},create:({featureServices:e})=>{const t=e[ui],{apiMap:r}=t.getClientContext(),n=new te.ApiClient(r);return{[Hr.one]:()=>({featureService:n})}}};var Bl=_(7799),vu=_(6843),bN=_(1085),Fy=_(4041),_c=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ha=function(e){return e&&e.Math==Math&&e},$i=Ha(typeof globalThis=="object"&&globalThis)||Ha(typeof window=="object"&&window)||Ha(typeof self=="object"&&self)||Ha(typeof _c=="object"&&_c)||function(){return this}()||Function("return this")(),kl={},hi=function(e){try{return!!e()}catch{return!0}},fS=hi,Ya=!fS(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),jl=hi,Ql=!jl(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),pc=Ql,fo=Function.prototype.call,Wa=pc?fo.bind(fo):function(){return fo.apply(fo,arguments)},o_={},_S={}.propertyIsEnumerable,pS=Object.getOwnPropertyDescriptor,ql=pS&&!_S.call({1:2},1);o_.f=ql?function(t){var r=pS(this,t);return!!r&&r.enumerable}:_S;var Eu=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},Hl=Ql,hS=Function.prototype,SS=hS.bind,s_=hS.call,xy=Hl&&SS.bind(s_,s_),Yr=Hl?function(e){return e&&xy(e)}:function(e){return e&&function(){return s_.apply(e,arguments)}},Gi=Yr,Vy=Gi({}.toString),By=Gi("".slice),Yl=function(e){return By(Vy(e),8,-1)},ky=Yr,u_=hi,hc=Yl,Sc=Object,yu=ky("".split),Tu=u_(function(){return!Sc("z").propertyIsEnumerable(0)})?function(e){return hc(e)=="String"?yu(e,""):Sc(e)}:Sc,mc=TypeError,os=function(e){if(e==null)throw mc("Can't call method on "+e);return e},Au=Tu,jy=os,gc=function(e){return Au(jy(e))},Fi=function(e){return typeof e=="function"},Qy=Fi,vc=function(e){return typeof e=="object"?e!==null:Qy(e)},Cu=$i,Ec=Fi,mS=function(e){return Ec(e)?e:void 0},_e=function(e,t){return arguments.length<2?mS(Cu[e]):Cu[e]&&Cu[e][t]},bu=Yr,Wl=bu({}.isPrototypeOf),Ra=_e,Wr=Ra("navigator","userAgent")||"",gS=$i,c_=Wr,vS=gS.process,ss=gS.Deno,ES=vS&&vS.versions||ss&&ss.version,yS=ES&&ES.v8,Ka,Kl;yS&&(Ka=yS.split("."),Kl=Ka[0]>0&&Ka[0]<4?1:+(Ka[0]+Ka[1])),!Kl&&c_&&(Ka=c_.match(/Edge\/(\d+)/),(!Ka||Ka[1]>=74)&&(Ka=c_.match(/Chrome\/(\d+)/),Ka&&(Kl=+Ka[1])));var qy=Kl,_o=qy,Hy=hi,TS=!!Object.getOwnPropertySymbols&&!Hy(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&_o&&_o<41}),Yy=TS,AS=Yy&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Wy=_e,Lo=Fi,Ky=Wl,zy=AS,Xy=Object,CS=zy?function(e){return typeof e=="symbol"}:function(e){var t=Wy("Symbol");return Lo(t)&&Ky(t.prototype,Xy(e))},Jy=String,Vs=function(e){try{return Jy(e)}catch{return"Object"}},Zy=Fi,eT=Vs,za=TypeError,tT=function(e){if(Zy(e))return e;throw za(eT(e)+" is not a function")},rT=tT,bS=function(e,t){var r=e[t];return r==null?void 0:rT(r)},l_=Wa,d_=Fi,zl=vc,OS=TypeError,nT=function(e,t){var r,n;if(t==="string"&&d_(r=e.toString)&&!zl(n=l_(r,e))||d_(r=e.valueOf)&&!zl(n=l_(r,e))||t!=="string"&&d_(r=e.toString)&&!zl(n=l_(r,e)))return n;throw OS("Can't convert object to primitive value")},Xl={exports:{}},Jl=$i,yc=Object.defineProperty,Ou=function(e,t){try{yc(Jl,e,{value:t,configurable:!0,writable:!0})}catch{Jl[e]=t}return t},iT=$i,RS=Ou,PS="__core-js_shared__",Do=iT[PS]||RS(PS,{}),Tc=Do,us=Tc;(Xl.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 Pa=os,aT=Object,Ac=function(e){return aT(Pa(e))},MS=Yr,Cc=Ac,cs=MS({}.hasOwnProperty),po=Object.hasOwn||function(t,r){return cs(Cc(t),r)},oT=Yr,Zl=0,sT=Math.random(),IS=oT(1 .toString),Ri=function(e){return"Symbol("+(e===void 0?"":e)+")_"+IS(++Zl+sT,36)},f_=$i,NS=Xl.exports,Xa=po,__=Ri,bc=TS,ls=AS,Bs=NS("wks"),ci=f_.Symbol,ed=ci&&ci.for,uT=ls?ci:ci&&ci.withoutSetter||__,ho=function(e){if(!Xa(Bs,e)||!(bc||typeof Bs[e]=="string")){var t="Symbol."+e;bc&&Xa(ci,e)?Bs[e]=ci[e]:ls&&ed?Bs[e]=ed(t):Bs[e]=uT(t)}return Bs[e]},cT=Wa,td=vc,LS=CS,Oc=bS,DS=nT,lT=ho,dT=TypeError,Rc=lT("toPrimitive"),fT=function(e,t){if(!td(e)||LS(e))return e;var r=Oc(e,Rc),n;if(r){if(t===void 0&&(t="default"),n=cT(r,e,t),!td(n)||LS(n))return n;throw dT("Can't convert object to primitive value")}return t===void 0&&(t="number"),DS(e,t)},_T=fT,p_=CS,h_=function(e){var t=_T(e,"string");return p_(t)?t:t+""},pT=$i,wS=vc,S_=pT.document,US=wS(S_)&&wS(S_.createElement),Pc=function(e){return US?S_.createElement(e):{}},hT=Ya,m_=hi,$S=Pc,g_=!hT&&!m_(function(){return Object.defineProperty($S("div"),"a",{get:function(){return 7}}).a!=7}),GS=Ya,rd=Wa,ST=o_,FS=Eu,xS=gc,mT=h_,VS=po,gT=g_,nd=Object.getOwnPropertyDescriptor;kl.f=GS?nd:function(t,r){if(t=xS(t),r=mT(r),gT)try{return nd(t,r)}catch{}if(VS(t,r))return FS(!rd(ST.f,t,r),t[r])};var wo={},v_=Ya,vT=hi,id=v_&&vT(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),Ur=vc,ET=String,yT=TypeError,Ma=function(e){if(Ur(e))return e;throw yT(ET(e)+" is not an object")},BS=Ya,TT=g_,AT=id,zi=Ma,kS=h_,ad=TypeError,Mc=Object.defineProperty,jS=Object.getOwnPropertyDescriptor,od="enumerable",Xi="configurable",So="writable";wo.f=BS?AT?function(t,r,n){if(zi(t),r=kS(r),zi(n),typeof t=="function"&&r==="prototype"&&"value"in n&&So in n&&!n[So]){var i=jS(t,r);i&&i[So]&&(t[r]=n.value,n={configurable:Xi in n?n[Xi]:i[Xi],enumerable:od in n?n[od]:i[od],writable:!1})}return Mc(t,r,n)}:Mc:function(t,r,n){if(zi(t),r=kS(r),zi(n),TT)try{return Mc(t,r,n)}catch{}if("get"in n||"set"in n)throw ad("Accessors not supported");return"value"in n&&(t[r]=n.value),t};var E_=Ya,QS=wo,sd=Eu,Ru=E_?function(e,t,r){return QS.f(e,t,sd(1,r))}:function(e,t,r){return e[t]=r,e},ud={exports:{}},cd=Ya,y_=po,ld=Function.prototype,ds=cd&&Object.getOwnPropertyDescriptor,T_=y_(ld,"name"),fs=T_&&function(){}.name==="something",qS=T_&&(!cd||cd&&ds(ld,"name").configurable),A_={EXISTS:T_,PROPER:fs,CONFIGURABLE:qS},C_=Yr,CT=Fi,b_=Tc,bT=C_(Function.toString);CT(b_.inspectSource)||(b_.inspectSource=function(e){return bT(e)});var O_=b_.inspectSource,HS=$i,OT=Fi,YS=O_,R_=HS.WeakMap,na=OT(R_)&&/native code/.test(YS(R_)),mo=Xl.exports,RT=Ri,WS=mo("keys"),Pu=function(e){return WS[e]||(WS[e]=RT(e))},_s={},KS=na,P_=$i,M_=Yr,zS=vc,Mu=Ru,ks=po,I_=Tc,XS=Pu,JS=_s,Ic="Object already initialized",dd=P_.TypeError,fd=P_.WeakMap,Iu,ps,_d,ZS=function(e){return _d(e)?ps(e):Iu(e,{})},pd=function(e){return function(t){var r;if(!zS(t)||(r=ps(t)).type!==e)throw dd("Incompatible receiver, "+e+" required");return r}};if(KS||I_.state){var hs=I_.state||(I_.state=new fd),N_=M_(hs.get),em=M_(hs.has),tm=M_(hs.set);Iu=function(e,t){if(em(hs,e))throw new dd(Ic);return t.facade=e,tm(hs,e,t),t},ps=function(e){return N_(hs,e)||{}},_d=function(e){return em(hs,e)}}else{var ia=XS("state");JS[ia]=!0,Iu=function(e,t){if(ks(e,ia))throw new dd(Ic);return t.facade=e,Mu(e,ia,t),t},ps=function(e){return ks(e,ia)?e[ia]:{}},_d=function(e){return ks(e,ia)}}var hd={set:Iu,get:ps,has:_d,enforce:ZS,getterFor:pd},rm=hi,PT=Fi,Nc=po,L_=Ya,MT=A_.CONFIGURABLE,Uo=O_,Sd=hd,D_=Sd.enforce,w_=Sd.get,js=Object.defineProperty,Nu=L_&&!rm(function(){return js(function(){},"length",{value:8}).length!==8}),lr=String(String).split("String"),md=ud.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),(!Nc(e,"name")||MT&&e.name!==t)&&(L_?js(e,"name",{value:t,configurable:!0}):e.name=t),Nu&&r&&Nc(r,"arity")&&e.length!==r.arity&&js(e,"length",{value:r.arity});try{r&&Nc(r,"constructor")&&r.constructor?L_&&js(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=D_(e);return Nc(n,"source")||(n.source=lr.join(typeof t=="string"?t:"")),e};Function.prototype.toString=md(function(){return PT(this)&&w_(this).source||Uo(this)},"toString");var U_=Fi,Qs=wo,IT=ud.exports,$_=Ou,Lc=function(e,t,r,n){n||(n={});var i=n.enumerable,a=n.name!==void 0?n.name:t;if(U_(r)&&IT(r,a,n),n.global)i?e[t]=r:$_(t,r);else{try{n.unsafe?e[t]&&(i=!0):delete e[t]}catch{}i?e[t]=r:Qs.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},xi={},NT=Math.ceil,LT=Math.floor,nm=Math.trunc||function(t){var r=+t;return(r>0?LT:NT)(r)},DT=nm,Dc=function(e){var t=+e;return t!==t||t===0?0:DT(t)},wT=Dc,UT=Math.max,$T=Math.min,$o=function(e,t){var r=wT(e);return r<0?UT(r+t,0):$T(r,t)},Ji=Dc,G_=Math.min,im=function(e){return e>0?G_(Ji(e),9007199254740991):0},F_=im,GT=function(e){return F_(e.length)},FT=gc,wc=$o,am=GT,x_=function(e){return function(t,r,n){var i=FT(t),a=am(i),c=wc(n,a),d;if(e&&r!=r){for(;a>c;)if(d=i[c++],d!=d)return!0}else for(;a>c;c++)if((e||c in i)&&i[c]===r)return e||c||0;return!e&&-1}},xT={includes:x_(!0),indexOf:x_(!1)},VT=Yr,V_=po,BT=gc,om=xT.indexOf,sm=_s,um=VT([].push),gd=function(e,t){var r=BT(e),n=0,i=[],a;for(a in r)!V_(sm,a)&&V_(r,a)&&um(i,a);for(;t.length>n;)V_(r,a=t[n++])&&(~om(i,a)||um(i,a));return i},vd=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Uc=gd,B_=vd,cm=B_.concat("length","prototype");xi.f=Object.getOwnPropertyNames||function(t){return Uc(t,cm)};var Ed={};Ed.f=Object.getOwnPropertySymbols;var yd=_e,lm=Yr,go=xi,qs=Ed,kT=Ma,dm=lm([].concat),jT=yd("Reflect","ownKeys")||function(t){var r=go.f(kT(t)),n=qs.f;return n?dm(r,n(t)):r},fm=po,QT=jT,qT=kl,HT=wo,YT=function(e,t,r){for(var n=QT(t),i=HT.f,a=qT.f,c=0;c<n.length;c++){var d=n[c];!fm(e,d)&&!(r&&fm(r,d))&&i(e,d,a(t,d))}},WT=hi,KT=Fi,zT=/#|\.prototype\./,$c=function(e,t){var r=_m[XT(e)];return r==hm?!0:r==pm?!1:KT(t)?WT(t):!!t},XT=$c.normalize=function(e){return String(e).replace(zT,".").toLowerCase()},_m=$c.data={},pm=$c.NATIVE="N",hm=$c.POLYFILL="P",JT=$c,k_=$i,ZT=kl.f,Sm=Ru,eA=Lc,tA=Ou,rA=YT,nA=JT,Td=function(e,t){var r=e.target,n=e.global,i=e.stat,a,c,d,y,h,g;if(n?c=k_:i?c=k_[r]||tA(r,{}):c=(k_[r]||{}).prototype,c)for(d in t){if(h=t[d],e.dontCallGetSet?(g=ZT(c,d),y=g&&g.value):y=c[d],a=nA(n?d:r+(i?".":"#")+d,e.forced),!a&&y!==void 0){if(typeof h==typeof y)continue;rA(h,y)}(e.sham||y&&y.sham)&&Sm(h,"sham",!0),eA(c,d,h,e)}},iA=ho,Ia=iA("toStringTag"),mm={};mm[Ia]="z";var aA=String(mm)==="[object z]",oA=aA,gm=Fi,Ad=Yl,sA=ho,uA=sA("toStringTag"),cA=Object,j_=Ad(function(){return arguments}())=="Arguments",lA=function(e,t){try{return e[t]}catch{}},dA=oA?Ad:function(e){var t,r,n;return e===void 0?"Undefined":e===null?"Null":typeof(r=lA(t=cA(e),uA))=="string"?r:j_?Ad(t):(n=Ad(t))=="Object"&&gm(t.callee)?"Arguments":n},fA=dA,_A=String,Gc=function(e){if(fA(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return _A(e)},vm=`
5844
5844
  \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,pA=Yr,hA=os,SA=Gc,mA=vm,Em=pA("".replace),Cd="["+mA+"]",gA=RegExp("^"+Cd+Cd+"*"),vA=RegExp(Cd+Cd+"*$"),Q_=function(e){return function(t){var r=SA(hA(t));return e&1&&(r=Em(r,gA,"")),e&2&&(r=Em(r,vA,"")),r}},EA={start:Q_(1),end:Q_(2),trim:Q_(3)},ym=$i,yA=hi,TA=Yr,AA=Gc,q_=EA.trim,H_=vm,Fc=ym.parseInt,Tm=ym.Symbol,Am=Tm&&Tm.iterator,Cm=/^[+-]?0x/i,CA=TA(Cm.exec),bA=Fc(H_+"08")!==8||Fc(H_+"0x16")!==22||Am&&!yA(function(){Fc(Object(Am))}),OA=bA?function(t,r){var n=q_(AA(t));return Fc(n,r>>>0||(CA(Cm,n)?16:10))}:Fc,RA=Td,Y_=OA;RA({global:!0,forced:parseInt!=Y_},{parseInt:Y_});var PA=Ma,bd=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},W_=hi,MA=$i,K_=MA.RegExp,z_=W_(function(){var e=K_("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),IA=z_||W_(function(){return!K_("a","y").sticky}),NA=z_||W_(function(){var e=K_("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),LA={BROKEN_CARET:NA,MISSED_STICKY:IA,UNSUPPORTED_Y:z_},bm={},DA=gd,wA=vd,Om=Object.keys||function(t){return DA(t,wA)},UA=Ya,$A=id,GA=wo,FA=Ma,xA=gc,Rm=Om;bm.f=UA&&!$A?Object.defineProperties:function(t,r){FA(t);for(var n=xA(r),i=Rm(r),a=i.length,c=0,d;a>c;)GA.f(t,d=i[c++],n[d]);return t};var Pm=_e,VA=Pm("document","documentElement"),BA=Ma,kA=bm,Mm=vd,Od=_s,jA=VA,QA=Pc,qA=Pu,Im=">",Nm="<",X_="prototype",J_="script",Lm=qA("IE_PROTO"),Z_=function(){},Dm=function(e){return Nm+J_+Im+e+Nm+"/"+J_+Im},wm=function(e){e.write(Dm("")),e.close();var t=e.parentWindow.Object;return e=null,t},Rd=function(){var e=QA("iframe"),t="java"+J_+":",r;return e.style.display="none",jA.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(Dm("document.F=Object")),r.close(),r.F},Pd,xc=function(){try{Pd=new ActiveXObject("htmlfile")}catch{}xc=typeof document<"u"?document.domain&&Pd?wm(Pd):Rd():wm(Pd);for(var e=Mm.length;e--;)delete xc[X_][Mm[e]];return xc()};Od[Lm]=!0;var Md=Object.create||function(t,r){var n;return t!==null?(Z_[X_]=BA(t),n=new Z_,Z_[X_]=null,n[Lm]=t):n=xc(),r===void 0?n:kA.f(n,r)},ep=hi,Um=$i,$m=Um.RegExp,Gm=ep(function(){var e=$m(".","s");return!(e.dotAll&&e.exec(`
5845
5845
  `)&&e.flags==="s")}),Fm=hi,HA=$i,YA=HA.RegExp,WA=Fm(function(){var e=YA("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),Go=Wa,Hs=Yr,KA=Gc,zA=bd,tp=LA,xm=Xl.exports,XA=Md,JA=hd.get,ZA=Gm,eC=WA,tC=xm("native-string-replace",String.prototype.replace),Id=RegExp.prototype.exec,rp=Id,rC=Hs("".charAt),nC=Hs("".indexOf),iC=Hs("".replace),np=Hs("".slice),ip=function(){var e=/a/,t=/b*/g;return Go(Id,e,"a"),Go(Id,t,"a"),e.lastIndex!==0||t.lastIndex!==0}(),Na=tp.BROKEN_CARET,ap=/()??/.exec("")[1]!==void 0,aC=ip||ap||Na||ZA||eC;aC&&(rp=function(t){var r=this,n=JA(r),i=KA(t),a=n.raw,c,d,y,h,g,x,z;if(a)return a.lastIndex=r.lastIndex,c=Go(rp,a,i),r.lastIndex=a.lastIndex,c;var ve=n.groups,ye=Na&&r.sticky,Re=Go(zA,r),Ye=r.source,Ke=0,Xe=i;if(ye&&(Re=iC(Re,"y",""),nC(Re,"g")===-1&&(Re+="g"),Xe=np(i,r.lastIndex),r.lastIndex>0&&(!r.multiline||r.multiline&&rC(i,r.lastIndex-1)!==`
5846
- `)&&(Ye="(?: "+Ye+")",Xe=" "+Xe,Ke++),d=new RegExp("^(?:"+Ye+")",Re)),ap&&(d=new RegExp("^"+Ye+"$(?!\\s)",Re)),ip&&(y=r.lastIndex),h=Go(Id,ye?d:r,Xe),ye?h?(h.input=np(h.input,Ke),h[0]=np(h[0],Ke),h.index=r.lastIndex,r.lastIndex+=h[0].length):r.lastIndex=0:ip&&h&&(r.lastIndex=r.global?h.index+h[0].length:y),ap&&h&&h.length>1&&Go(tC,h[0],d,function(){for(g=1;g<arguments.length-2;g++)arguments[g]===void 0&&(h[g]=void 0)}),h&&ve)for(h.groups=x=XA(null),g=0;g<ve.length;g++)z=ve[g],x[z[0]]=h[z[1]];return h});var Fo=rp,Cr=Td,Vm=Fo;Cr({target:"RegExp",proto:!0,forced:/./.exec!==Vm},{exec:Vm});var aa=Ql,ri=Function.prototype,Bm=ri.apply,xo=ri.call,oC=typeof Reflect=="object"&&Reflect.apply||(aa?xo.bind(Bm):function(){return xo.apply(Bm,arguments)}),km=Yr,jm=Lc,sC=Fo,Qm=hi,Nd=ho,uC=Ru,Vo=Nd("species"),Ld=RegExp.prototype,Dd=function(e,t,r,n){var i=Nd(e),a=!Qm(function(){var h={};return h[i]=function(){return 7},""[e](h)!=7}),c=a&&!Qm(function(){var h=!1,g=/a/;return e==="split"&&(g={},g.constructor={},g.constructor[Vo]=function(){return g},g.flags="",g[i]=/./[i]),g.exec=function(){return h=!0,null},g[i](""),!h});if(!a||!c||r){var d=km(/./[i]),y=t(i,""[e],function(h,g,x,z,ve){var ye=km(h),Re=g.exec;return Re===sC||Re===Ld.exec?a&&!ve?{done:!0,value:d(g,x,z)}:{done:!0,value:ye(x,g,z)}:{done:!1}});jm(String.prototype,e,y[0]),jm(Ld,i,y[1])}n&&uC(Ld[i],"sham",!0)},kn=Yr,ni=Dc,qm=Gc,cC=os,lC=kn("".charAt),Hm=kn("".charCodeAt),dC=kn("".slice),Ym=function(e){return function(t,r){var n=qm(cC(t)),i=ni(r),a=n.length,c,d;return i<0||i>=a?e?"":void 0:(c=Hm(n,i),c<55296||c>56319||i+1===a||(d=Hm(n,i+1))<56320||d>57343?e?lC(n,i):c:e?dC(n,i,i+2):(c-55296<<10)+(d-56320)+65536)}},fC={codeAt:Ym(!1),charAt:Ym(!0)},Wm=fC.charAt,Vc=function(e,t,r){return t+(r?Wm(e,t).length:1)},Bc=Yr,_C=Ac,Km=Math.floor,Lu=Bc("".charAt),ha=Bc("".replace),Ss=Bc("".slice),pC=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,hC=/\$([$&'`]|\d{1,2})/g,SC=function(e,t,r,n,i,a){var c=r+e.length,d=n.length,y=hC;return i!==void 0&&(i=_C(i),y=pC),ha(a,y,function(h,g){var x;switch(Lu(g,0)){case"$":return"$";case"&":return e;case"`":return Ss(t,0,r);case"'":return Ss(t,c);case"<":x=i[Ss(g,1,-1)];break;default:var z=+g;if(z===0)return h;if(z>d){var ve=Km(z/10);return ve===0?h:ve<=d?n[ve-1]===void 0?Lu(g,1):n[ve-1]+Lu(g,1):h}x=n[z-1]}return x===void 0?"":x})},zm=Wa,mC=Ma,Xm=Fi,Bo=Yl,Dr=Fo,Jm=TypeError,La=function(e,t){var r=e.exec;if(Xm(r)){var n=zm(r,e,t);return n!==null&&mC(n),n}if(Bo(e)==="RegExp")return zm(Dr,e,t);throw Jm("RegExp#exec called on incompatible receiver")},Zm=oC,eg=Wa,tn=Yr,gC=Dd,tg=hi,wd=Ma,vC=Fi,EC=Dc,yC=im,Du=Gc,TC=os,AC=Vc,CC=bS,bC=SC,OC=La,RC=ho,op=RC("replace"),PC=Math.max,MC=Math.min,sp=tn([].concat),up=tn([].push),Ud=tn("".indexOf),rg=tn("".slice),IC=function(e){return e===void 0?e:String(e)},NC=function(){return"a".replace(/./,"$0")==="$0"}(),yi=function(){return/./[op]?/./[op]("a","$0")==="":!1}(),oa=!tg(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"});gC("replace",function(e,t,r){var n=yi?"$":"$0";return[function(a,c){var d=TC(this),y=a==null?void 0:CC(a,op);return y?eg(y,a,d,c):eg(t,Du(d),a,c)},function(i,a){var c=wd(this),d=Du(i);if(typeof a=="string"&&Ud(a,n)===-1&&Ud(a,"$<")===-1){var y=r(t,c,d,a);if(y.done)return y.value}var h=vC(a);h||(a=Du(a));var g=c.global;if(g){var x=c.unicode;c.lastIndex=0}for(var z=[];;){var ve=OC(c,d);if(ve===null||(up(z,ve),!g))break;var ye=Du(ve[0]);ye===""&&(c.lastIndex=AC(d,yC(c.lastIndex),x))}for(var Re="",Ye=0,Ke=0;Ke<z.length;Ke++){ve=z[Ke];for(var Xe=Du(ve[0]),gt=PC(MC(EC(ve.index),d.length),0),Nt=[],ir=1;ir<ve.length;ir++)up(Nt,IC(ve[ir]));var Mr=ve.groups;if(h){var Lr=sp([Xe],Nt,gt,d);Mr!==void 0&&up(Lr,Mr);var Tn=Du(Zm(a,void 0,Lr))}else Tn=bC(Xe,d,gt,Nt,Mr,a);gt>=Ye&&(Re+=rg(d,Ye,gt)+Tn,Ye=gt+Xe.length)}return Re+rg(d,Ye)}]},!oa||!NC||yi);var LC=ho,DC=Md,wC=wo.f,$d=LC("unscopables"),cp=Array.prototype;cp[$d]==null&&wC(cp,$d,{configurable:!0,value:DC(null)});var UC=function(e){cp[$d][e]=!0},lp={},ng=hi,$C=!ng(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),GC=po,FC=Fi,ig=Ac,ag=Pu,xC=$C,og=ag("IE_PROTO"),dp=Object,VC=dp.prototype,Ys=xC?dp.getPrototypeOf:function(e){var t=ig(e);if(GC(t,og))return t[og];var r=t.constructor;return FC(r)&&t instanceof r?r.prototype:t instanceof dp?VC:null},BC=hi,kC=Fi,sg=Ys,jC=Lc,QC=ho,Gd=QC("iterator"),fp=!1,Ws,_p,pp;[].keys&&(pp=[].keys(),"next"in pp?(_p=sg(sg(pp)),_p!==Object.prototype&&(Ws=_p)):fp=!0);var qC=Ws==null||BC(function(){var e={};return Ws[Gd].call(e)!==e});qC&&(Ws={}),kC(Ws[Gd])||jC(Ws,Gd,function(){return this});var ug={IteratorPrototype:Ws,BUGGY_SAFARI_ITERATORS:fp},HC=wo.f,YC=po,WC=ho,cg=WC("toStringTag"),lg=function(e,t,r){e&&!r&&(e=e.prototype),e&&!YC(e,cg)&&HC(e,cg,{configurable:!0,value:t})},KC=ug.IteratorPrototype,zC=Md,XC=Eu,JC=lg,ZC=lp,eb=function(){return this},tb=function(e,t,r,n){var i=t+" Iterator";return e.prototype=zC(KC,{next:XC(+!n,r)}),JC(e,i,!1),ZC[i]=eb,e},rb=Fi,nb=String,ib=TypeError,ab=function(e){if(typeof e=="object"||rb(e))return e;throw ib("Can't set "+nb(e)+" as a prototype")},ob=Yr,sb=Ma,ub=ab,cb=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=ob(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),r(t,[]),e=t instanceof Array}catch{}return function(i,a){return sb(i),ub(a),e?r(i,a):i.__proto__=a,i}}():void 0),hp=Td,dg=Wa,Sp=A_,lb=Fi,db=tb,fg=Ys,Fd=cb,fb=lg,_b=Ru,mp=Lc,sa=ho,gp=lp,_g=ug,pb=Sp.PROPER,hb=Sp.CONFIGURABLE,pg=_g.IteratorPrototype,wu=_g.BUGGY_SAFARI_ITERATORS,kc=sa("iterator"),xd="keys",jc="values",hg="entries",Sb=function(){return this},mb=function(e,t,r,n,i,a,c){db(r,t,n);var d=function(Ke){if(Ke===i&&z)return z;if(!wu&&Ke in g)return g[Ke];switch(Ke){case xd:return function(){return new r(this,Ke)};case jc:return function(){return new r(this,Ke)};case hg:return function(){return new r(this,Ke)}}return function(){return new r(this)}},y=t+" Iterator",h=!1,g=e.prototype,x=g[kc]||g["@@iterator"]||i&&g[i],z=!wu&&x||d(i),ve=t=="Array"&&g.entries||x,ye,Re,Ye;if(ve&&(ye=fg(ve.call(new e)),ye!==Object.prototype&&ye.next&&(fg(ye)!==pg&&(Fd?Fd(ye,pg):lb(ye[kc])||mp(ye,kc,Sb)),fb(ye,y,!0))),pb&&i==jc&&x&&x.name!==jc&&(hb?_b(g,"name",jc):(h=!0,z=function(){return dg(x,this)})),i)if(Re={values:d(jc),keys:a?z:d(xd),entries:d(hg)},c)for(Ye in Re)(wu||h||!(Ye in g))&&mp(g,Ye,Re[Ye]);else hp({target:t,proto:!0,forced:wu||h},Re);return g[kc]!==z&&mp(g,kc,z,{name:i}),gp[t]=z,Re},Sg=gc,vp=UC,mg=lp,gg=hd,Ep=wo.f,yp=mb,gb=Ya,vg="Array Iterator",vb=gg.set,Eb=gg.getterFor(vg),yb=yp(Array,"Array",function(e,t){vb(this,{type:vg,target:Sg(e),index:0,kind:t})},function(){var e=Eb(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"),Eg=mg.Arguments=mg.Array;if(vp("keys"),vp("values"),vp("entries"),gb&&Eg.name!=="values")try{Ep(Eg,"name",{value:"values"})}catch{}var Tb={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},Ab=Pc,Tp=Ab("span").classList,yg=Tp&&Tp.constructor&&Tp.constructor.prototype,Cb=yg===Object.prototype?void 0:yg,Tg=$i,Ag=Tb,bb=Cb,Qc=yb,Ap=Ru,Cg=ho,Cp=Cg("iterator"),bg=Cg("toStringTag"),bp=Qc.values,Og=function(e,t){if(e){if(e[Cp]!==bp)try{Ap(e,Cp,bp)}catch{e[Cp]=bp}if(e[bg]||Ap(e,bg,t),Ag[t]){for(var r in Qc)if(e[r]!==Qc[r])try{Ap(e,r,Qc[r])}catch{e[r]=Qc[r]}}}};for(var o in Ag)Og(Tg[o]&&Tg[o].prototype,o);Og(bb,"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,ie,me;function Ne(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),ie.set(this,void 0),me.set(this,void 0),S(this,F,t,"f"),S(this,ie,parseInt(`0x${r.replace(/-/g,"")}`),"f"),S(this,me,n,"f")}getFeatureFlagVariant(t,r){const n=s(this,F,"f").find(a=>a.name===t);let i=0;if(n){const a=Ne(n.id),c=Math.abs(s(this,ie,"f")-a)%100;return n.variants.find(({percent:y})=>(i=y+i,c<i))||{name:"control",percent:100-i,value:r}}}getFeatureFlagValue(t,r){const n=this.getFeatureFlagVariant(t,r);if(n&&s(this,me,"f")){if(n.exactVersion){if(!vu.valid(s(this,me,"f"))||!vu.valid(n.exactVersion)||!vu.eq(s(this,me,"f"),n.exactVersion))return r}else if(n.minimumRequiredVersion&&(!vu.valid(s(this,me,"f"))||!vu.valid(n.minimumRequiredVersion)||vu.lt(s(this,me,"f"),n.minimumRequiredVersion)))return r}return n?.value||r}}F=new WeakMap,ie=new WeakMap,me=new WeakMap;var ze=Ya,vt=Yr,Et=Wa,bt=hi,$t=Om,Jt=Ed,fr=o_,wr=Ac,_r=Tu,Nr=Object.assign,Kr=Object.defineProperty,Sa=vt([].concat),Zi=!Nr||bt(function(){if(ze&&Nr({b:1},Nr(Kr({},"a",{enumerable:!0,get:function(){Kr(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}),Nr({},e)[r]!=7||$t(Nr({},t)).join("")!=n})?function(t,r){for(var n=wr(t),i=arguments.length,a=1,c=Jt.f,d=fr.f;i>a;)for(var y=_r(arguments[a++]),h=c?Sa($t(y),c(y)):$t(y),g=h.length,x=0,z;g>x;)z=h[x++],(!ze||Et(d,y,z))&&(n[z]=y[z]);return n}:Nr,ma=Td,ii=Zi;ma({target:"Object",stat:!0,arity:2,forced:Object.assign!==ii},{assign:ii});const Da=null,ms=({children:e,featureFlags:t})=>jsx(Da.Provider,Object.assign({value:t},{children:e}));function Ob(e,t){const r=React.useContext(Da);return r?.getFeatureFlagValue(e,t)||t}var Op;(function(e){e.one="1.0.0"})(Op||(Op={}));const Rg="orchestrator:feature-flags-service",Fq={id:Rg,dependencies:{featureServices:{[ui]:Ui.one},externals:{}},create:({featureServices:e})=>{var t;const r=e[ui],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{[Op.one]:()=>({featureService:a})}}};var ON=_(572),Uu;(function(e){e.one="1.0.0"})(Uu||(Uu={}));const Ks="orchestrator:logging-service",xq={id:Ks,dependencies:{featureServices:{[ui]:Ui.one,[Rg]:Op.one}},create:({featureServices:e})=>{const t=e[ui],r=e[Rg],{environment:n,slug:i}=t.getClientContext(),a=t.getTelemetryConfig(),{version:c}=t.getMetadata(),d=r.getFeatureFlagValue("client log url",void 0),y=(0,ON.default)({url:typeof d=="string"?d:void 0,telemetry:a,environment:n,clientSlug:i,appVersion:c});return{[Uu.one]:()=>({featureService:y})}}};var Pg;(function(e){e.one="1.0.0"})(Pg||(Pg={}));const RN="orchestrator:theme-service",Vq={id:RN,dependencies:{featureServices:{[lo]:Hr.one,[ui]:Ui.one,[Ks]:Uu.one}},create:({featureServices:e})=>{const t=e[lo],r=e[ui],n=e[Ks],{slug:i}=r.getClientContext(),a=new Bl.ThemeFactory(t,i);return a.createTheme().catch(c=>{n.error(c,"Error occurred while prefetching theme")}),{[Pg.one]:()=>({featureService:a})}}};var PN=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Mg=function(e){return e&&e.Math==Math&&e},Qi=Mg(typeof globalThis=="object"&&globalThis)||Mg(typeof window=="object"&&window)||Mg(typeof self=="object"&&self)||Mg(typeof PN=="object"&&PN)||function(){return this}()||Function("return this")(),Ig={},Ja=function(e){try{return!!e()}catch{return!0}},Bq=Ja,ko=!Bq(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),kq=Ja,Ng=!kq(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),jq=Ng,Lg=Function.prototype.call,vo=jq?Lg.bind(Lg):function(){return Lg.apply(Lg,arguments)},Rb={},MN={}.propertyIsEnumerable,IN=Object.getOwnPropertyDescriptor,Qq=IN&&!MN.call({1:2},1);Rb.f=Qq?function(t){var r=IN(this,t);return!!r&&r.enumerable}:MN;var Pb=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},NN=Ng,LN=Function.prototype,qq=LN.bind,Mb=LN.call,Hq=NN&&qq.bind(Mb,Mb),wa=NN?function(e){return e&&Hq(e)}:function(e){return e&&function(){return Mb.apply(e,arguments)}},DN=wa,Yq=DN({}.toString),Wq=DN("".slice),Ib=function(e){return Wq(Yq(e),8,-1)},Kq=wa,zq=Ja,Xq=Ib,Nb=Object,Jq=Kq("".split),wN=zq(function(){return!Nb("z").propertyIsEnumerable(0)})?function(e){return Xq(e)=="String"?Jq(e,""):Nb(e)}:Nb,Zq=TypeError,UN=function(e){if(e==null)throw Zq("Can't call method on "+e);return e},eH=wN,tH=UN,Rp=function(e){return eH(tH(e))},Pi=function(e){return typeof e=="function"},rH=Pi,qc=function(e){return typeof e=="object"?e!==null:rH(e)},Lb=Qi,nH=Pi,iH=function(e){return nH(e)?e:void 0},$u=function(e,t){return arguments.length<2?iH(Lb[e]):Lb[e]&&Lb[e][t]},aH=wa,Db=aH({}.isPrototypeOf),oH=$u,Dg=oH("navigator","userAgent")||"",$N=Qi,wb=Dg,GN=$N.process,FN=$N.Deno,xN=GN&&GN.versions||FN&&FN.version,VN=xN&&xN.v8,jo,wg;VN&&(jo=VN.split("."),wg=jo[0]>0&&jo[0]<4?1:+(jo[0]+jo[1])),!wg&&wb&&(jo=wb.match(/Edge\/(\d+)/),(!jo||jo[1]>=74)&&(jo=wb.match(/Chrome\/(\d+)/),jo&&(wg=+jo[1])));var BN=wg,kN=BN,sH=Ja,jN=!!Object.getOwnPropertySymbols&&!sH(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&kN&&kN<41}),uH=jN,QN=uH&&!Symbol.sham&&typeof Symbol.iterator=="symbol",cH=$u,lH=Pi,dH=Db,fH=QN,_H=Object,qN=fH?function(e){return typeof e=="symbol"}:function(e){var t=cH("Symbol");return lH(t)&&dH(t.prototype,_H(e))},pH=String,Ug=function(e){try{return pH(e)}catch{return"Object"}},hH=Pi,SH=Ug,mH=TypeError,Hc=function(e){if(hH(e))return e;throw mH(SH(e)+" is not a function")},gH=Hc,Ub=function(e,t){var r=e[t];return r==null?void 0:gH(r)},$b=vo,Gb=Pi,Fb=qc,vH=TypeError,EH=function(e,t){var r,n;if(t==="string"&&Gb(r=e.toString)&&!Fb(n=$b(r,e))||Gb(r=e.valueOf)&&!Fb(n=$b(r,e))||t!=="string"&&Gb(r=e.toString)&&!Fb(n=$b(r,e)))return n;throw vH("Can't convert object to primitive value")},xb={exports:{}},HN=Qi,yH=Object.defineProperty,Vb=function(e,t){try{yH(HN,e,{value:t,configurable:!0,writable:!0})}catch{HN[e]=t}return t},TH=Qi,AH=Vb,YN="__core-js_shared__",CH=TH[YN]||AH(YN,{}),Bb=CH,WN=Bb;(xb.exports=function(e,t){return WN[e]||(WN[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 bH=UN,OH=Object,kb=function(e){return OH(bH(e))},RH=wa,PH=kb,MH=RH({}.hasOwnProperty),gs=Object.hasOwn||function(t,r){return MH(PH(t),r)},IH=wa,NH=0,LH=Math.random(),DH=IH(1 .toString),KN=function(e){return"Symbol("+(e===void 0?"":e)+")_"+DH(++NH+LH,36)},wH=Qi,UH=xb.exports,zN=gs,$H=KN,XN=jN,JN=QN,Vd=UH("wks"),Yc=wH.Symbol,ZN=Yc&&Yc.for,GH=JN?Yc:Yc&&Yc.withoutSetter||$H,Ua=function(e){if(!zN(Vd,e)||!(XN||typeof Vd[e]=="string")){var t="Symbol."+e;XN&&zN(Yc,e)?Vd[e]=Yc[e]:JN&&ZN?Vd[e]=ZN(t):Vd[e]=GH(t)}return Vd[e]},FH=vo,eL=qc,tL=qN,xH=Ub,VH=EH,BH=Ua,kH=TypeError,jH=BH("toPrimitive"),QH=function(e,t){if(!eL(e)||tL(e))return e;var r=xH(e,jH),n;if(r){if(t===void 0&&(t="default"),n=FH(r,e,t),!eL(n)||tL(n))return n;throw kH("Can't convert object to primitive value")}return t===void 0&&(t="number"),VH(e,t)},qH=QH,HH=qN,rL=function(e){var t=qH(e,"string");return HH(t)?t:t+""},YH=Qi,nL=qc,jb=YH.document,WH=nL(jb)&&nL(jb.createElement),$g=function(e){return WH?jb.createElement(e):{}},KH=ko,zH=Ja,XH=$g,iL=!KH&&!zH(function(){return Object.defineProperty(XH("div"),"a",{get:function(){return 7}}).a!=7}),JH=ko,ZH=vo,eY=Rb,tY=Pb,rY=Rp,nY=rL,iY=gs,aY=iL,aL=Object.getOwnPropertyDescriptor;Ig.f=JH?aL:function(t,r){if(t=rY(t),r=nY(r),aY)try{return aL(t,r)}catch{}if(iY(t,r))return tY(!ZH(eY.f,t,r),t[r])};var zs={},oY=ko,sY=Ja,oL=oY&&sY(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),uY=qc,cY=String,lY=TypeError,vs=function(e){if(uY(e))return e;throw lY(cY(e)+" is not an object")},dY=ko,fY=iL,_Y=oL,Gg=vs,sL=rL,pY=TypeError,Qb=Object.defineProperty,hY=Object.getOwnPropertyDescriptor,qb="enumerable",Hb="configurable",Yb="writable";zs.f=dY?_Y?function(t,r,n){if(Gg(t),r=sL(r),Gg(n),typeof t=="function"&&r==="prototype"&&"value"in n&&Yb in n&&!n[Yb]){var i=hY(t,r);i&&i[Yb]&&(t[r]=n.value,n={configurable:Hb in n?n[Hb]:i[Hb],enumerable:qb in n?n[qb]:i[qb],writable:!1})}return Qb(t,r,n)}:Qb:function(t,r,n){if(Gg(t),r=sL(r),Gg(n),fY)try{return Qb(t,r,n)}catch{}if("get"in n||"set"in n)throw pY("Accessors not supported");return"value"in n&&(t[r]=n.value),t};var SY=ko,mY=zs,gY=Pb,Fg=SY?function(e,t,r){return mY.f(e,t,gY(1,r))}:function(e,t,r){return e[t]=r,e},uL={exports:{}},Wb=ko,vY=gs,cL=Function.prototype,EY=Wb&&Object.getOwnPropertyDescriptor,Kb=vY(cL,"name"),yY=Kb&&function(){}.name==="something",TY=Kb&&(!Wb||Wb&&EY(cL,"name").configurable),lL={EXISTS:Kb,PROPER:yY,CONFIGURABLE:TY},AY=wa,CY=Pi,zb=Bb,bY=AY(Function.toString);CY(zb.inspectSource)||(zb.inspectSource=function(e){return bY(e)});var xg=zb.inspectSource,OY=Qi,RY=Pi,PY=xg,dL=OY.WeakMap,MY=RY(dL)&&/native code/.test(PY(dL)),IY=xb.exports,NY=KN,fL=IY("keys"),Xb=function(e){return fL[e]||(fL[e]=NY(e))},Jb={},LY=MY,_L=Qi,Zb=wa,DY=qc,wY=Fg,eO=gs,tO=Bb,UY=Xb,$Y=Jb,pL="Object already initialized",rO=_L.TypeError,GY=_L.WeakMap,Vg,Pp,Bg,FY=function(e){return Bg(e)?Pp(e):Vg(e,{})},xY=function(e){return function(t){var r;if(!DY(t)||(r=Pp(t)).type!==e)throw rO("Incompatible receiver, "+e+" required");return r}};if(LY||tO.state){var Wc=tO.state||(tO.state=new GY),VY=Zb(Wc.get),hL=Zb(Wc.has),BY=Zb(Wc.set);Vg=function(e,t){if(hL(Wc,e))throw new rO(pL);return t.facade=e,BY(Wc,e,t),t},Pp=function(e){return VY(Wc,e)||{}},Bg=function(e){return hL(Wc,e)}}else{var Bd=UY("state");$Y[Bd]=!0,Vg=function(e,t){if(eO(e,Bd))throw new rO(pL);return t.facade=e,wY(e,Bd,t),t},Pp=function(e){return eO(e,Bd)?e[Bd]:{}},Bg=function(e){return eO(e,Bd)}}var nO={set:Vg,get:Pp,has:Bg,enforce:FY,getterFor:xY},kY=Ja,jY=Pi,kg=gs,iO=ko,QY=lL.CONFIGURABLE,qY=xg,SL=nO,HY=SL.enforce,YY=SL.get,jg=Object.defineProperty,WY=iO&&!kY(function(){return jg(function(){},"length",{value:8}).length!==8}),KY=String(String).split("String"),zY=uL.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),(!kg(e,"name")||QY&&e.name!==t)&&(iO?jg(e,"name",{value:t,configurable:!0}):e.name=t),WY&&r&&kg(r,"arity")&&e.length!==r.arity&&jg(e,"length",{value:r.arity});try{r&&kg(r,"constructor")&&r.constructor?iO&&jg(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=HY(e);return kg(n,"source")||(n.source=KY.join(typeof t=="string"?t:"")),e};Function.prototype.toString=zY(function(){return jY(this)&&YY(this).source||qY(this)},"toString");var XY=Pi,JY=zs,ZY=uL.exports,e2=Vb,Mp=function(e,t,r,n){n||(n={});var i=n.enumerable,a=n.name!==void 0?n.name:t;if(XY(r)&&ZY(r,a,n),n.global)i?e[t]=r:e2(t,r);else{try{n.unsafe?e[t]&&(i=!0):delete e[t]}catch{}i?e[t]=r:JY.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},mL={},t2=Math.ceil,r2=Math.floor,n2=Math.trunc||function(t){var r=+t;return(r>0?r2:t2)(r)},i2=n2,gL=function(e){var t=+e;return t!==t||t===0?0:i2(t)},a2=gL,o2=Math.max,s2=Math.min,u2=function(e,t){var r=a2(e);return r<0?o2(r+t,0):s2(r,t)},c2=gL,l2=Math.min,d2=function(e){return e>0?l2(c2(e),9007199254740991):0},f2=d2,vL=function(e){return f2(e.length)},_2=Rp,p2=u2,h2=vL,EL=function(e){return function(t,r,n){var i=_2(t),a=h2(i),c=p2(n,a),d;if(e&&r!=r){for(;a>c;)if(d=i[c++],d!=d)return!0}else for(;a>c;c++)if((e||c in i)&&i[c]===r)return e||c||0;return!e&&-1}},S2={includes:EL(!0),indexOf:EL(!1)},m2=wa,aO=gs,g2=Rp,v2=S2.indexOf,E2=Jb,yL=m2([].push),TL=function(e,t){var r=g2(e),n=0,i=[],a;for(a in r)!aO(E2,a)&&aO(r,a)&&yL(i,a);for(;t.length>n;)aO(r,a=t[n++])&&(~v2(i,a)||yL(i,a));return i},oO=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],y2=TL,T2=oO,A2=T2.concat("length","prototype");mL.f=Object.getOwnPropertyNames||function(t){return y2(t,A2)};var sO={};sO.f=Object.getOwnPropertySymbols;var C2=$u,b2=wa,O2=mL,R2=sO,P2=vs,M2=b2([].concat),I2=C2("Reflect","ownKeys")||function(t){var r=O2.f(P2(t)),n=R2.f;return n?M2(r,n(t)):r},AL=gs,N2=I2,L2=Ig,D2=zs,w2=function(e,t,r){for(var n=N2(t),i=D2.f,a=L2.f,c=0;c<n.length;c++){var d=n[c];!AL(e,d)&&!(r&&AL(r,d))&&i(e,d,a(t,d))}},U2=Ja,$2=Pi,G2=/#|\.prototype\./,Ip=function(e,t){var r=x2[F2(e)];return r==B2?!0:r==V2?!1:$2(t)?U2(t):!!t},F2=Ip.normalize=function(e){return String(e).replace(G2,".").toLowerCase()},x2=Ip.data={},V2=Ip.NATIVE="N",B2=Ip.POLYFILL="P",CL=Ip,uO=Qi,k2=Ig.f,j2=Fg,Q2=Mp,q2=Vb,H2=w2,Y2=CL,Gu=function(e,t){var r=e.target,n=e.global,i=e.stat,a,c,d,y,h,g;if(n?c=uO:i?c=uO[r]||q2(r,{}):c=(uO[r]||{}).prototype,c)for(d in t){if(h=t[d],e.dontCallGetSet?(g=k2(c,d),y=g&&g.value):y=c[d],a=Y2(n?d:r+(i?".":"#")+d,e.forced),!a&&y!==void 0){if(typeof h==typeof y)continue;H2(h,y)}(e.sham||y&&y.sham)&&j2(h,"sham",!0),Q2(c,d,h,e)}},W2=Pi,K2=String,z2=TypeError,X2=function(e){if(typeof e=="object"||W2(e))return e;throw z2("Can't set "+K2(e)+" as a prototype")},J2=wa,Z2=vs,e8=X2,bL=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=J2(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),r(t,[]),e=t instanceof Array}catch{}return function(i,a){return Z2(i),e8(a),e?r(i,a):i.__proto__=a,i}}():void 0),t8=zs.f,r8=gs,n8=Ua,OL=n8("toStringTag"),cO=function(e,t,r){e&&!r&&(e=e.prototype),e&&!r8(e,OL)&&t8(e,OL,{configurable:!0,value:t})},i8=$u,RL=i8("document","documentElement"),Np={},a8=TL,o8=oO,PL=Object.keys||function(t){return a8(t,o8)},ML=ko,s8=wa,u8=vo,c8=Ja,lO=PL,l8=sO,d8=Rb,f8=kb,_8=wN,kd=Object.assign,IL=Object.defineProperty,p8=s8([].concat),h8=!kd||c8(function(){if(ML&&kd({b:1},kd(IL({},"a",{enumerable:!0,get:function(){IL(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}),kd({},e)[r]!=7||lO(kd({},t)).join("")!=n})?function(t,r){for(var n=f8(t),i=arguments.length,a=1,c=l8.f,d=d8.f;i>a;)for(var y=_8(arguments[a++]),h=c?p8(lO(y),c(y)):lO(y),g=h.length,x=0,z;g>x;)z=h[x++],(!ML||u8(d,y,z))&&(n[z]=y[z]);return n}:kd,S8=Gu,NL=h8;S8({target:"Object",stat:!0,arity:2,forced:Object.assign!==NL},{assign:NL});const m8={setProfileProperties(){},trackEvent(){},reset(){console.warn("Reset method not implemented for analytics context.")}},LL=null,nDe=({children:e,analyticsService:t})=>jsx(LL.Provider,Object.assign({value:t||m8},{children:e}));function g8(){return useContext(LL)}var DL={},v8=ko,E8=oL,y8=zs,T8=vs,A8=Rp,C8=PL;DL.f=v8&&!E8?Object.defineProperties:function(t,r){T8(t);for(var n=A8(r),i=C8(r),a=i.length,c=0,d;a>c;)y8.f(t,d=i[c++],n[d]);return t};var b8=vs,O8=DL,wL=oO,R8=Jb,P8=RL,M8=$g,I8=Xb,UL=">",$L="<",dO="prototype",fO="script",GL=I8("IE_PROTO"),_O=function(){},FL=function(e){return $L+fO+UL+e+$L+"/"+fO+UL},xL=function(e){e.write(FL("")),e.close();var t=e.parentWindow.Object;return e=null,t},N8=function(){var e=M8("iframe"),t="java"+fO+":",r;return e.style.display="none",P8.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(FL("document.F=Object")),r.close(),r.F},Qg,qg=function(){try{Qg=new ActiveXObject("htmlfile")}catch{}qg=typeof document<"u"?document.domain&&Qg?xL(Qg):N8():xL(Qg);for(var e=wL.length;e--;)delete qg[dO][wL[e]];return qg()};R8[GL]=!0;var VL=Object.create||function(t,r){var n;return t!==null?(_O[dO]=b8(t),n=new _O,_O[dO]=null,n[GL]=t):n=qg(),r===void 0?n:O8.f(n,r)},L8=Ua,D8=VL,w8=zs.f,pO=L8("unscopables"),hO=Array.prototype;hO[pO]==null&&w8(hO,pO,{configurable:!0,value:D8(null)});var U8=function(e){hO[pO][e]=!0},$8=Ja,G8=!$8(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),F8=gs,x8=Pi,V8=kb,B8=Xb,k8=G8,BL=B8("IE_PROTO"),SO=Object,j8=SO.prototype,kL=k8?SO.getPrototypeOf:function(e){var t=V8(e);if(F8(t,BL))return t[BL];var r=t.constructor;return x8(r)&&t instanceof r?r.prototype:t instanceof SO?j8:null},Q8=Ja,q8=Pi,jL=kL,H8=Mp,Y8=Ua,mO=Y8("iterator"),QL=!1,Kc,gO,vO;[].keys&&(vO=[].keys(),"next"in vO?(gO=jL(jL(vO)),gO!==Object.prototype&&(Kc=gO)):QL=!0);var W8=Kc==null||Q8(function(){var e={};return Kc[mO].call(e)!==e});W8&&(Kc={}),q8(Kc[mO])||H8(Kc,mO,function(){return this});var qL={IteratorPrototype:Kc,BUGGY_SAFARI_ITERATORS:QL},K8=qL.IteratorPrototype,z8=VL,X8=Pb,J8=cO,Z8=Np,eW=function(){return this},tW=function(e,t,r,n){var i=t+" Iterator";return e.prototype=z8(K8,{next:X8(+!n,r)}),J8(e,i,!1),Z8[i]=eW,e},rW=Gu,nW=vo,HL=lL,iW=Pi,aW=tW,YL=kL,WL=bL,oW=cO,sW=Fg,EO=Mp,uW=Ua,cW=Np,KL=qL,lW=HL.PROPER,dW=HL.CONFIGURABLE,zL=KL.IteratorPrototype,Hg=KL.BUGGY_SAFARI_ITERATORS,Lp=uW("iterator"),XL="keys",Dp="values",JL="entries",fW=function(){return this},_W=function(e,t,r,n,i,a,c){aW(r,t,n);var d=function(Ke){if(Ke===i&&z)return z;if(!Hg&&Ke in g)return g[Ke];switch(Ke){case XL:return function(){return new r(this,Ke)};case Dp:return function(){return new r(this,Ke)};case JL:return function(){return new r(this,Ke)}}return function(){return new r(this)}},y=t+" Iterator",h=!1,g=e.prototype,x=g[Lp]||g["@@iterator"]||i&&g[i],z=!Hg&&x||d(i),ve=t=="Array"&&g.entries||x,ye,Re,Ye;if(ve&&(ye=YL(ve.call(new e)),ye!==Object.prototype&&ye.next&&(YL(ye)!==zL&&(WL?WL(ye,zL):iW(ye[Lp])||EO(ye,Lp,fW)),oW(ye,y,!0))),lW&&i==Dp&&x&&x.name!==Dp&&(dW?sW(g,"name",Dp):(h=!0,z=function(){return nW(x,this)})),i)if(Re={values:d(Dp),keys:a?z:d(XL),entries:d(JL)},c)for(Ye in Re)(Hg||h||!(Ye in g))&&EO(g,Ye,Re[Ye]);else rW({target:t,proto:!0,forced:Hg||h},Re);return g[Lp]!==z&&EO(g,Lp,z,{name:i}),cW[t]=z,Re},pW=Rp,yO=U8,ZL=Np,eD=nO,hW=zs.f,SW=_W,mW=ko,tD="Array Iterator",gW=eD.set,vW=eD.getterFor(tD),EW=SW(Array,"Array",function(e,t){gW(this,{type:tD,target:pW(e),index:0,kind:t})},function(){var e=vW(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"),rD=ZL.Arguments=ZL.Array;if(yO("keys"),yO("values"),yO("entries"),mW&&rD.name!=="values")try{hW(rD,"name",{value:"values"})}catch{}var yW={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},TW=$g,TO=TW("span").classList,nD=TO&&TO.constructor&&TO.constructor.prototype,AW=nD===Object.prototype?void 0:nD,iD=Qi,aD=yW,CW=AW,wp=EW,AO=Fg,oD=Ua,CO=oD("iterator"),sD=oD("toStringTag"),bO=wp.values,uD=function(e,t){if(e){if(e[CO]!==bO)try{AO(e,CO,bO)}catch{e[CO]=bO}if(e[sD]||AO(e,sD,t),aD[t]){for(var r in wp)if(e[r]!==wp[r])try{AO(e,r,wp[r])}catch{e[r]=wp[r]}}}};for(var OO in aD)uD(iD[OO]&&iD[OO].prototype,OO);uD(CW,"DOMTokenList");const cD=Fy.createContext({customProperties:{},prefixArray:[],trackEvent(){},setProfileProperties(){},updateCustomProperty(){},clearCustomProperty(){},updateCustomProperties(){},clearCustomProperties(){},setPrefixArray(){},pushPrefix(){},popPrefix(){},reset(){console.warn("Reset method not implemented for custom analytics context.")}}),iDe=({children:e})=>{const{trackEvent:t,setProfileProperties:r}=g8(),[n,i]=useState({}),x={trackEvent:(z,ve=void 0,ye=void 0)=>{const Re=[z],Ye=Object.assign(Object.assign({},n),ve);Object.keys(Ye).length&&Re.push(Ye),ye&&Re.push(ye),t(...Re)},setProfileProperties:r,customProperties:n,updateCustomProperty:(z,ve)=>{i(ye=>Object.assign(Object.assign({},ye),{[z]:ve}))},clearCustomProperty:z=>{n==null||delete n[z],i(Object.assign({},n))},updateCustomProperties:z=>{i(ve=>Object.assign(Object.assign({},ve),z))},clearCustomProperties:()=>{i({})},reset:()=>{console.warn("Reset method not implemented for custom analytics context.")}};return jsx(cD.Provider,Object.assign({value:x},{children:e}))};function aDe(){return useContext(cD)}var jd=_(6934),bW=_(5250),OW=Ib,RW=Qi,Yg=OW(RW.process)=="process",PW=$u,MW=zs,IW=Ua,NW=ko,lD=IW("species"),LW=function(e){var t=PW(e),r=MW.f;NW&&t&&!t[lD]&&r(t,lD,{configurable:!0,get:function(){return this}})},DW=Db,wW=TypeError,UW=function(e,t){if(DW(t,e))return e;throw wW("Incorrect invocation")},$W=Ua,GW=$W("toStringTag"),dD={};dD[GW]="z";var FW=String(dD)==="[object z]",xW=FW,VW=Pi,Wg=Ib,BW=Ua,kW=BW("toStringTag"),jW=Object,QW=Wg(function(){return arguments}())=="Arguments",qW=function(e,t){try{return e[t]}catch{}},fD=xW?Wg:function(e){var t,r,n;return e===void 0?"Undefined":e===null?"Null":typeof(r=qW(t=jW(e),kW))=="string"?r:QW?Wg(t):(n=Wg(t))=="Object"&&VW(t.callee)?"Arguments":n},HW=wa,YW=Ja,_D=Pi,WW=fD,KW=$u,zW=xg,pD=function(){},XW=[],hD=KW("Reflect","construct"),RO=/^\s*(?:class|function)\b/,JW=HW(RO.exec),ZW=!RO.exec(pD),Up=function(t){if(!_D(t))return!1;try{return hD(pD,XW,t),!0}catch{return!1}},SD=function(t){if(!_D(t))return!1;switch(WW(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ZW||!!JW(RO,zW(t))}catch{return!0}};SD.sham=!0;var eK=!hD||YW(function(){var e;return Up(Up.call)||!Up(Object)||!Up(function(){e=!0})||e})?SD:Up,tK=eK,rK=Ug,nK=TypeError,iK=function(e){if(tK(e))return e;throw nK(rK(e)+" is not a constructor")},mD=vs,aK=iK,oK=Ua,sK=oK("species"),uK=function(e,t){var r=mD(e).constructor,n;return r===void 0||(n=mD(r)[sK])==null?t:aK(n)},cK=Ng,gD=Function.prototype,vD=gD.apply,ED=gD.call,lK=typeof Reflect=="object"&&Reflect.apply||(cK?ED.bind(vD):function(){return ED.apply(vD,arguments)}),yD=wa,dK=Hc,fK=Ng,_K=yD(yD.bind),PO=function(e,t){return dK(e),t===void 0?e:fK?_K(e,t):function(){return e.apply(t,arguments)}},pK=wa,hK=pK([].slice),SK=TypeError,mK=function(e,t){if(e<t)throw SK("Not enough arguments");return e},gK=Dg,TD=/(?:ipad|iphone|ipod).*applewebkit/i.test(gK),Za=Qi,vK=lK,EK=PO,AD=Pi,yK=gs,TK=Ja,CD=RL,AK=hK,bD=$g,CK=mK,bK=TD,OK=Yg,MO=Za.setImmediate,IO=Za.clearImmediate,RK=Za.process,NO=Za.Dispatch,PK=Za.Function,OD=Za.MessageChannel,MK=Za.String,LO=0,$p={},RD="onreadystatechange",Gp,zc,DO,wO;try{Gp=Za.location}catch{}var UO=function(e){if(yK($p,e)){var t=$p[e];delete $p[e],t()}},$O=function(e){return function(){UO(e)}},PD=function(e){UO(e.data)},MD=function(e){Za.postMessage(MK(e),Gp.protocol+"//"+Gp.host)};(!MO||!IO)&&(MO=function(t){CK(arguments.length,1);var r=AD(t)?t:PK(t),n=AK(arguments,1);return $p[++LO]=function(){vK(r,void 0,n)},zc(LO),LO},IO=function(t){delete $p[t]},OK?zc=function(e){RK.nextTick($O(e))}:NO&&NO.now?zc=function(e){NO.now($O(e))}:OD&&!bK?(DO=new OD,wO=DO.port2,DO.port1.onmessage=PD,zc=EK(wO.postMessage,wO)):Za.addEventListener&&AD(Za.postMessage)&&!Za.importScripts&&Gp&&Gp.protocol!=="file:"&&!TK(MD)?(zc=MD,Za.addEventListener("message",PD,!1)):RD in bD("script")?zc=function(e){CD.appendChild(bD("script"))[RD]=function(){CD.removeChild(this),UO(e)}}:zc=function(e){setTimeout($O(e),0)});var ID={set:MO,clear:IO},IK=Dg,NK=Qi,LK=/ipad|iphone|ipod/i.test(IK)&&NK.Pebble!==void 0,DK=Dg,wK=/web0s(?!.*chrome)/i.test(DK),Xc=Qi,ND=PO,UK=Ig.f,GO=ID.set,$K=TD,GK=LK,FK=wK,FO=Yg,LD=Xc.MutationObserver||Xc.WebKitMutationObserver,DD=Xc.document,wD=Xc.process,Kg=Xc.Promise,UD=UK(Xc,"queueMicrotask"),$D=UD&&UD.value,Fp,Jc,xp,Qd,xO,VO,zg,GD;$D||(Fp=function(){var e,t;for(FO&&(e=wD.domain)&&e.exit();Jc;){t=Jc.fn,Jc=Jc.next;try{t()}catch(r){throw Jc?Qd():xp=void 0,r}}xp=void 0,e&&e.enter()},!$K&&!FO&&!FK&&LD&&DD?(xO=!0,VO=DD.createTextNode(""),new LD(Fp).observe(VO,{characterData:!0}),Qd=function(){VO.data=xO=!xO}):!GK&&Kg&&Kg.resolve?(zg=Kg.resolve(void 0),zg.constructor=Kg,GD=ND(zg.then,zg),Qd=function(){GD(Fp)}):FO?Qd=function(){wD.nextTick(Fp)}:(GO=ND(GO,Xc),Qd=function(){GO(Fp)}));var xK=$D||function(e){var t={fn:e,next:void 0};xp&&(xp.next=t),Jc||(Jc=t,Qd()),xp=t},VK=Qi,BK=function(e,t){var r=VK.console;r&&r.error&&(arguments.length==1?r.error(e):r.error(e,t))},BO=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},FD=function(){this.head=null,this.tail=null};FD.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 kK=FD,jK=Qi,Xg=jK.Promise,xD=typeof Deno=="object"&&Deno&&typeof Deno.version=="object",QK=xD,qK=Yg,HK=!QK&&!qK&&typeof window=="object"&&typeof document=="object",YK=Qi,Vp=Xg,WK=Pi,KK=CL,zK=xg,XK=Ua,JK=HK,ZK=xD,kO=BN;Vp&&Vp.prototype;var ez=XK("species"),jO=!1,VD=WK(YK.PromiseRejectionEvent),tz=KK("Promise",function(){var e=zK(Vp),t=e!==String(Vp);if(!t&&kO===66)return!0;if(!kO||kO<51||!/native code/.test(e)){var r=new Vp(function(a){a(1)}),n=function(a){a(function(){},function(){})},i=r.constructor={};if(i[ez]=n,jO=r.then(function(){})instanceof n,!jO)return!0}return!t&&(JK||ZK)&&!VD}),Bp={CONSTRUCTOR:tz,REJECTION_EVENT:VD,SUBCLASSING:jO},qd={},BD=Hc,rz=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=BD(t),this.reject=BD(r)};qd.f=function(e){return new rz(e)};var nz=Gu,Jg=Yg,Fu=Qi,Hd=vo,kD=Mp,jD=bL,iz=cO,az=LW,oz=Hc,Zg=Pi,sz=qc,uz=UW,cz=uK,QD=ID.set,QO=xK,lz=BK,dz=BO,fz=kK,qD=nO,ev=Xg,qO=Bp,HD=qd,tv="Promise",YD=qO.CONSTRUCTOR,_z=qO.REJECTION_EVENT,pz=qO.SUBCLASSING,HO=qD.getterFor(tv),hz=qD.set,Yd=ev&&ev.prototype,Zc=ev,rv=Yd,WD=Fu.TypeError,YO=Fu.document,WO=Fu.process,KO=HD.f,Sz=KO,mz=!!(YO&&YO.createEvent&&Fu.dispatchEvent),KD="unhandledrejection",gz="rejectionhandled",zD=0,XD=1,vz=2,zO=1,JD=2,nv,ZD,Ez,e0,t0=function(e){var t;return sz(e)&&Zg(t=e.then)?t:!1},r0=function(e,t){var r=t.value,n=t.state==XD,i=n?e.ok:e.fail,a=e.resolve,c=e.reject,d=e.domain,y,h,g;try{i?(n||(t.rejection===JD&&Tz(t),t.rejection=zO),i===!0?y=r:(d&&d.enter(),y=i(r),d&&(d.exit(),g=!0)),y===e.promise?c(WD("Promise-chain cycle")):(h=t0(y))?Hd(h,y,a,c):a(y)):c(r)}catch(x){d&&!g&&d.exit(),c(x)}},n0=function(e,t){e.notified||(e.notified=!0,QO(function(){for(var r=e.reactions,n;n=r.get();)r0(n,e);e.notified=!1,t&&!e.rejection&&yz(e)}))},i0=function(e,t,r){var n,i;mz?(n=YO.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),Fu.dispatchEvent(n)):n={promise:t,reason:r},!_z&&(i=Fu["on"+e])?i(n):e===KD&&lz("Unhandled promise rejection",r)},yz=function(e){Hd(QD,Fu,function(){var t=e.facade,r=e.value,n=a0(e),i;if(n&&(i=dz(function(){Jg?WO.emit("unhandledRejection",r,t):i0(KD,t,r)}),e.rejection=Jg||a0(e)?JD:zO,i.error))throw i.value})},a0=function(e){return e.rejection!==zO&&!e.parent},Tz=function(e){Hd(QD,Fu,function(){var t=e.facade;Jg?WO.emit("rejectionHandled",t):i0(gz,t,e.value)})},Wd=function(e,t,r){return function(n){e(t,n,r)}},Kd=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=vz,n0(e,!0))},XO=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw WD("Promise can't be resolved itself");var n=t0(t);n?QO(function(){var i={done:!1};try{Hd(n,t,Wd(XO,i,e),Wd(Kd,i,e))}catch(a){Kd(i,a,e)}}):(e.value=t,e.state=XD,n0(e,!1))}catch(i){Kd({done:!1},i,e)}}};if(YD&&(Zc=function(t){uz(this,rv),oz(t),Hd(nv,this);var r=HO(this);try{t(Wd(XO,r),Wd(Kd,r))}catch(n){Kd(r,n)}},rv=Zc.prototype,nv=function(t){hz(this,{type:tv,done:!1,notified:!1,parent:!1,reactions:new fz,rejection:!1,state:zD,value:void 0})},nv.prototype=kD(rv,"then",function(t,r){var n=HO(this),i=KO(cz(this,Zc));return n.parent=!0,i.ok=Zg(t)?t:!0,i.fail=Zg(r)&&r,i.domain=Jg?WO.domain:void 0,n.state==zD?n.reactions.add(i):QO(function(){r0(i,n)}),i.promise}),ZD=function(){var e=new nv,t=HO(e);this.promise=e,this.resolve=Wd(XO,t),this.reject=Wd(Kd,t)},HD.f=KO=function(e){return e===Zc||e===Ez?new ZD(e):Sz(e)},Zg(ev)&&Yd!==Object.prototype)){e0=Yd.then,pz||kD(Yd,"then",function(t,r){var n=this;return new Zc(function(i,a){Hd(e0,n,i,a)}).then(t,r)},{unsafe:!0});try{delete Yd.constructor}catch{}jD&&jD(Yd,rv)}nz({global:!0,constructor:!0,wrap:!0,forced:YD},{Promise:Zc}),iz(Zc,tv,!1),az(tv);var Az=Ua,Cz=Np,bz=Az("iterator"),Oz=Array.prototype,Rz=function(e){return e!==void 0&&(Cz.Array===e||Oz[bz]===e)},Pz=fD,o0=Ub,Mz=Np,Iz=Ua,Nz=Iz("iterator"),s0=function(e){if(e!=null)return o0(e,Nz)||o0(e,"@@iterator")||Mz[Pz(e)]},Lz=vo,Dz=Hc,wz=vs,Uz=Ug,$z=s0,Gz=TypeError,Fz=function(e,t){var r=arguments.length<2?$z(e):t;if(Dz(r))return wz(Lz(r,e));throw Gz(Uz(e)+" is not iterable")},xz=vo,u0=vs,Vz=Ub,Bz=function(e,t,r){var n,i;u0(e);try{if(n=Vz(e,"return"),!n){if(t==="throw")throw r;return r}n=xz(n,e)}catch(a){i=!0,n=a}if(t==="throw")throw r;if(i)throw n;return u0(n),r},kz=PO,jz=vo,Qz=vs,qz=Ug,Hz=Rz,Yz=vL,c0=Db,Wz=Fz,Kz=s0,l0=Bz,zz=TypeError,iv=function(e,t){this.stopped=e,this.result=t},d0=iv.prototype,f0=function(e,t,r){var n=r&&r.that,i=!!(r&&r.AS_ENTRIES),a=!!(r&&r.IS_RECORD),c=!!(r&&r.IS_ITERATOR),d=!!(r&&r.INTERRUPTED),y=kz(t,n),h,g,x,z,ve,ye,Re,Ye=function(Xe){return h&&l0(h,"normal",Xe),new iv(!0,Xe)},Ke=function(Xe){return i?(Qz(Xe),d?y(Xe[0],Xe[1],Ye):y(Xe[0],Xe[1])):d?y(Xe,Ye):y(Xe)};if(a)h=e.iterator;else if(c)h=e;else{if(g=Kz(e),!g)throw zz(qz(e)+" is not iterable");if(Hz(g)){for(x=0,z=Yz(e);z>x;x++)if(ve=Ke(e[x]),ve&&c0(d0,ve))return ve;return new iv(!1)}h=Wz(e,g)}for(ye=a?e.next:h.next;!(Re=jz(ye,h)).done;){try{ve=Ke(Re.value)}catch(Xe){l0(h,"throw",Xe)}if(typeof ve=="object"&&ve&&c0(d0,ve))return ve}return new iv(!1)},Xz=Ua,_0=Xz("iterator"),p0=!1;try{var Jz=0,h0={next:function(){return{done:!!Jz++}},return:function(){p0=!0}};h0[_0]=function(){return this},Array.from(h0,function(){throw 2})}catch{}var Zz=function(e,t){if(!t&&!p0)return!1;var r=!1;try{var n={};n[_0]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch{}return r},e3=Xg,t3=Zz,r3=Bp.CONSTRUCTOR,S0=r3||!t3(function(e){e3.all(e).then(void 0,function(){})}),n3=Gu,i3=vo,a3=Hc,o3=qd,s3=BO,u3=f0,c3=S0;n3({target:"Promise",stat:!0,forced:c3},{all:function(t){var r=this,n=o3.f(r),i=n.resolve,a=n.reject,c=s3(function(){var d=a3(r.resolve),y=[],h=0,g=1;u3(t,function(x){var z=h++,ve=!1;g++,i3(d,r,x).then(function(ye){ve||(ve=!0,y[z]=ye,--g||i(y))},a)}),--g||i(y)});return c.error&&a(c.value),n.promise}});var l3=Gu,d3=Bp.CONSTRUCTOR,JO=Xg,f3=$u,_3=Pi,p3=Mp,m0=JO&&JO.prototype;if(l3({target:"Promise",proto:!0,forced:d3,real:!0},{catch:function(e){return this.then(void 0,e)}}),_3(JO)){var g0=f3("Promise").prototype.catch;m0.catch!==g0&&p3(m0,"catch",g0,{unsafe:!0})}var h3=Gu,S3=vo,m3=Hc,g3=qd,v3=BO,E3=f0,y3=S0;h3({target:"Promise",stat:!0,forced:y3},{race:function(t){var r=this,n=g3.f(r),i=n.reject,a=v3(function(){var c=m3(r.resolve);E3(t,function(d){S3(c,r,d).then(n.resolve,i)})});return a.error&&i(a.value),n.promise}});var T3=Gu,A3=vo,C3=qd,b3=Bp.CONSTRUCTOR;T3({target:"Promise",stat:!0,forced:b3},{reject:function(t){var r=C3.f(this);return A3(r.reject,void 0,t),r.promise}});var O3=vs,R3=qc,P3=qd,M3=function(e,t){if(O3(e),R3(t)&&t.constructor===e)return t;var r=P3.f(e),n=r.resolve;return n(t),r.promise},I3=Gu,N3=$u,L3=Bp.CONSTRUCTOR,D3=M3;N3("Promise"),I3({target:"Promise",stat:!0,forced:L3},{resolve:function(t){return D3(this,t)}});function w3(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 v0(e,t,r,n){function i(a){return a instanceof r?a:new r(function(c){c(a)})}return new(r||(r=Promise))(function(a,c){function d(g){try{h(n.next(g))}catch(x){c(x)}}function y(g){try{h(n.throw(g))}catch(x){c(x)}}function h(g){g.done?a(g.value):i(g.value).then(d,y)}h((n=n.apply(e,t||[])).next())})}class ZO{static initializeGoogleTagManager(t){return v0(this,void 0,void 0,function*(){return new ZO(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 v0(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 U3{constructor(t,r,n){jd.init(t.key),r&&jd.register(r),n&&this.setProfileProperties(n)}setProfileProperties(t){var{id:r}=t,n=w3(t,["id"]);r&&jd.identify(r),jd.people.set(n)}trackEvent(t,r){jd.track(t,r)}reset(){jd.reset()}}class $3{constructor(t=[]){this.services=t,(0,bW.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 G3(e,t,r){const n=new $3;return e&&(e?.mixPanel&&e?.mixPanel.length&&e.mixPanel.forEach(i=>{n.append(new U3(i,t,r))}),e?.googleTagManager&&e.googleTagManager.length&&e.googleTagManager.forEach(i=>n.append(new ZO(i)))),n}class oDe{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 zd;(function(e){e.one="1.0.0"})(zd||(zd={}));const kp="orchestrator:analytics-service",F3={id:kp,dependencies:{featureServices:{[ui]:Ui.one}},create:({featureServices:e})=>{const t=e[ui],{client:r,app:n,slug:i,frontendEnvironment:a}=t.getClientContext(),{version:c}=t.getMetadata(),d=G3(a?.analytics||{},{client:r,app:n,clientSlug:i,appVersion:c},{});return t.getStore().subscribe(()=>{var y,h,g,x;const z=t.getUser();!((h=(y=z?.tokenData)===null||y===void 0?void 0:y.idToken)===null||h===void 0)&&h.payload&&d.setProfileProperties({id:z.tokenData.idToken.payload["custom:bwellFhirPersonId"],clientPersonId:z.tokenData.idToken.payload["custom:clientFhirPersonId"],clientPatientId:z.tokenData.idToken.payload["custom:clientFhirPatientId"],isInternalTestUser:(x=(g=z.meta)===null||g===void 0?void 0:g.tag)===null||x===void 0?void 0:x.some(ve=>ve.code==="bwelltestuser")})}),{[zd.one]:()=>({featureService:d})}}};var eR=_(8577),av;(function(e){e.one="1.0.0"})(av||(av={}));const E0="orchestrator:auth-service",x3={id:E0,dependencies:{featureServices:{[lo]:Hr.one},externals:{}},create:({featureServices:e})=>{const t=e[lo],r=new eR.Auth(t);return{[av.one]:()=>({featureService:r})}}};function sDe(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 uDe(e,t,r,n){function i(a){return a instanceof r?a:new r(function(c){c(a)})}return new(r||(r=Promise))(function(a,c){function d(g){try{h(n.next(g))}catch(x){c(x)}}function y(g){try{h(n.throw(g))}catch(x){c(x)}}function h(g){g.done?a(g.value):i(g.value).then(d,y)}h((n=n.apply(e,t||[])).next())})}function Qo(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 V3(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 qo=_(934),Es=_(9226),Ho,jp,ys;const{ROUTE_NAVIGATION_DELEGATE:B3}=Es.ErrorCode;class k3{constructor(){Ho.add(this),jp.set(this,void 0)}setDelegate(t){V3(this,jp,t,"f")}navigate(t,r){return typeof t=="number"?Qo(this,Ho,"a",ys).navigate(t):Qo(this,Ho,"a",ys).navigate(t,r)}has(t){return Qo(this,Ho,"a",ys).has(t)}getPath(t){return Qo(this,Ho,"a",ys).getPath(t)}getHref(t){return Qo(this,Ho,"a",ys).getHref(t)}getSearchParams(){return Qo(this,Ho,"a",ys).getSearchParams()}setSearchParams(t,r){Qo(this,Ho,"a",ys).setSearchParams(t,r)}getUrlParams(){return Qo(this,Ho,"a",ys).getUrlParams()}getId(t){return Qo(this,Ho,"a",ys).getId(t)}}jp=new WeakMap,Ho=new WeakSet,ys=function(){if(!Qo(this,jp,"f"))throw new qo.b("route navigation delegate has not been set",{errorCode:B3});return Qo(this,jp,"f")};var ov;(function(e){e.one="1.0.0"})(ov||(ov={}));const y0="orchestrator:navigation-service",j3={id:y0,create:()=>{const e=new k3;return{[ov.one]:()=>({featureService:e})}}},br=e=>typeof e=="string",Qp=()=>{let e,t;const r=new Promise((n,i)=>{e=n,t=i});return r.resolve=e,r.reject=t,r},T0=e=>e==null?"":""+e,Q3=(e,t,r)=>{e.forEach(n=>{t[n]&&(r[n]=t[n])})},q3=/###/g,A0=e=>e&&e.indexOf("###")>-1?e.replace(q3,"."):e,C0=e=>!e||br(e),qp=(e,t,r)=>{const n=br(t)?t.split("."):t;let i=0;for(;i<n.length-1;){if(C0(e))return{};const a=A0(n[i]);!e[a]&&r&&(e[a]=new r),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={},++i}return C0(e)?{}:{obj:e,k:A0(n[i])}},b0=(e,t,r)=>{const{obj:n,k:i}=qp(e,t,Object);if(n!==void 0||t.length===1){n[i]=r;return}let a=t[t.length-1],c=t.slice(0,t.length-1),d=qp(e,c,Object);for(;d.obj===void 0&&c.length;)a=`${c[c.length-1]}.${a}`,c=c.slice(0,c.length-1),d=qp(e,c,Object),d?.obj&&typeof d.obj[`${d.k}.${a}`]<"u"&&(d.obj=void 0);d.obj[`${d.k}.${a}`]=r},H3=(e,t,r,n)=>{const{obj:i,k:a}=qp(e,t,Object);i[a]=i[a]||[],i[a].push(r)},sv=(e,t)=>{const{obj:r,k:n}=qp(e,t);if(!!r&&!!Object.prototype.hasOwnProperty.call(r,n))return r[n]},Y3=(e,t,r)=>{const n=sv(e,r);return n!==void 0?n:sv(t,r)},O0=(e,t,r)=>{for(const n in t)n!=="__proto__"&&n!=="constructor"&&(n in e?br(e[n])||e[n]instanceof String||br(t[n])||t[n]instanceof String?r&&(e[n]=t[n]):O0(e[n],t[n],r):e[n]=t[n]);return e},Xd=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var W3={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const K3=e=>br(e)?e.replace(/[&<>"'\/]/g,t=>W3[t]):e;class z3{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 X3=[" ",",","?","!",";"],J3=new z3(20),Z3=(e,t,r)=>{t=t||"",r=r||"";const n=X3.filter(c=>t.indexOf(c)<0&&r.indexOf(c)<0);if(n.length===0)return!0;const i=J3.getRegExp(`(${n.map(c=>c==="?"?"\\?":c).join("|")})`);let a=!i.test(e);if(!a){const c=e.indexOf(r);c>0&&!i.test(e.substring(0,c))&&(a=!0)}return a},tR=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 c,d="";for(let y=a;y<n.length;++y)if(y!==a&&(d+=r),d+=n[y],c=i[d],c!==void 0){if(["string","number","boolean"].indexOf(typeof c)>-1&&y<n.length-1)continue;a+=y-a+1;break}i=c}return i},uv=e=>e?.replace("_","-"),e4={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 cv{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||e4,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:(br(t[0])&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[r](t))}create(t){return new cv(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new cv(this.logger,t)}}var Ts=new cv;class lv{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(c=>{let[d,y]=c;for(let h=0;h<y;h++)d(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(c=>{let[d,y]=c;for(let h=0;h<y;h++)d.apply(d,[t,...n])})}}class R0 extends lv{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,c=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):br(n)&&a?d.push(...n.split(a)):d.push(n)));const y=sv(this.data,d);return!y&&!r&&!n&&t.indexOf(".")>-1&&(t=d[0],r=d[1],n=d.slice(2).join(".")),y||!c||!br(n)?y:tR(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 c=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let d=[t,r];n&&(d=d.concat(c?n.split(c):n)),t.indexOf(".")>-1&&(d=t.split("."),i=r,r=d[1]),this.addNamespaces(r),b0(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)(br(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 c=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 y=sv(this.data,d)||{};c.skipCopy||(n=JSON.parse(JSON.stringify(n))),i?O0(y,n,a):y={...y,...n},b0(this.data,d,y),c.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 P0={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 M0={},I0=e=>!br(e)&&typeof e!="boolean"&&typeof e!="number";class dv extends lv{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Q3(["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 c=n&&t.indexOf(n)>-1,d=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!Z3(t,n,i);if(c&&!d){const y=t.match(this.interpolator.nestingRegexp);if(y&&y.length>0)return{key:t,namespaces:br(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:br(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:c,namespaces:d}=this.extractFromKey(t[t.length-1],r),y=d[d.length-1],h=r.lng||this.language,g=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(h?.toLowerCase()==="cimode"){if(g){const Ni=r.nsSeparator||this.options.nsSeparator;return i?{res:`${y}${Ni}${c}`,usedKey:c,exactUsedKey:c,usedLng:h,usedNS:y,usedParams:this.getUsedParamsDetails(r)}:`${y}${Ni}${c}`}return i?{res:c,usedKey:c,exactUsedKey:c,usedLng:h,usedNS:y,usedParams:this.getUsedParamsDetails(r)}:c}const x=this.resolve(t,r);let z=x?.res;const ve=x?.usedKey||c,ye=x?.exactUsedKey||c,Re=["[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&&!br(r.count),gt=dv.hasDefaultValue(r),Nt=Xe?this.pluralResolver.getSuffix(h,r.count,r):"",ir=r.ordinal&&Xe?this.pluralResolver.getSuffix(h,r.count,{ordinal:!1}):"",Mr=Xe&&!r.ordinal&&r.count===0,Lr=Mr&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${Nt}`]||r[`defaultValue${ir}`]||r.defaultValue;let Tn=z;Ke&&!z&&gt&&(Tn=Lr);const ka=I0(Tn),Ny=Object.prototype.toString.apply(Tn);if(Ke&&Tn&&ka&&Re.indexOf(Ny)<0&&!(br(Ye)&&Array.isArray(Tn))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const Ni=this.options.returnedObjectHandler?this.options.returnedObjectHandler(ve,Tn,{...r,ns:d}):`key '${c} (${this.language})' returned an object instead of string.`;return i?(x.res=Ni,x.usedParams=this.getUsedParamsDetails(r),x):Ni}if(a){const Ni=Array.isArray(Tn),mi=Ni?[]:{},t_=Ni?ye:ve;for(const Us in Tn)if(Object.prototype.hasOwnProperty.call(Tn,Us)){const du=`${t_}${a}${Us}`;gt&&!z?mi[Us]=this.translate(du,{...r,defaultValue:I0(Lr)?Lr[Us]:void 0,joinArrays:!1,ns:d}):mi[Us]=this.translate(du,{...r,joinArrays:!1,ns:d}),mi[Us]===du&&(mi[Us]=Tn[Us])}z=mi}}else if(Ke&&br(Ye)&&Array.isArray(z))z=z.join(Ye),z&&(z=this.extendTranslation(z,t,r,n));else{let Ni=!1,mi=!1;!this.isValidLookup(z)&&gt&&(Ni=!0,z=Lr),this.isValidLookup(z)||(mi=!0,z=c);const Us=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&mi?void 0:z,du=gt&&Lr!==z&&this.options.updateMissing;if(mi||Ni||du){if(this.logger.log(du?"updateKey":"missingKey",h,y,c,du?Lr:z),a){const oo=this.resolve(c,{...r,keySeparator:!1});oo&&oo.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 sS=[];const Ly=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Ly&&Ly[0])for(let oo=0;oo<Ly.length;oo++)sS.push(Ly[oo]);else this.options.saveMissingTo==="all"?sS=this.languageUtils.toResolveHierarchy(r.lng||this.language):sS.push(r.lng||this.language);const $q=(oo,Ul,uS)=>{const Gq=gt&&uS!==z?uS:Us;this.options.missingKeyHandler?this.options.missingKeyHandler(oo,y,Ul,Gq,du,r):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(oo,y,Ul,Gq,du,r),this.emit("missingKey",oo,y,Ul,z)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Xe?sS.forEach(oo=>{const Ul=this.pluralResolver.getSuffixes(oo,r);Mr&&r[`defaultValue${this.options.pluralSeparator}zero`]&&Ul.indexOf(`${this.options.pluralSeparator}zero`)<0&&Ul.push(`${this.options.pluralSeparator}zero`),Ul.forEach(uS=>{$q([oo],c+uS,r[`defaultValue${uS}`]||Lr)})}):$q(sS,c,Lr))}z=this.extendTranslation(z,t,r,x,n),mi&&z===c&&this.options.appendNamespaceToMissingKey&&(z=`${y}:${c}`),(mi||Ni)&&this.options.parseMissingKeyHandler&&(z=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${y}:${c}`:c,Ni?z:void 0))}return i?(x.res=z,x.usedParams=this.getUsedParamsDetails(r),x):z}extendTranslation(t,r,n,i,a){var c=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=br(t)&&(n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let g;if(h){const z=t.match(this.interpolator.nestingRegexp);g=z&&z.length}let x=n.replace&&!br(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(x={...this.options.interpolation.defaultVariables,...x}),t=this.interpolator.interpolate(t,x,n.lng||this.language||i.usedLng,n),h){const z=t.match(this.interpolator.nestingRegexp),ve=z&&z.length;g<ve&&(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 z=arguments.length,ve=new Array(z),ye=0;ye<z;ye++)ve[ye]=arguments[ye];return a?.[0]===ve[0]&&!n.context?(c.logger.warn(`It seems you are nesting recursively key: ${ve[0]} in key: ${r[0]}`),null):c.translate(...ve,r)},n)),n.interpolation&&this.interpolator.reset()}const d=n.postProcess||this.options.postProcess,y=br(d)?[d]:d;return t!=null&&y?.length&&n.applyPostProcessor!==!1&&(t=P0.handle(y,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,c,d;return br(t)&&(t=[t]),t.forEach(y=>{if(this.isValidLookup(n))return;const h=this.extractFromKey(y,r),g=h.key;i=g;let x=h.namespaces;this.options.fallbackNS&&(x=x.concat(this.options.fallbackNS));const z=r.count!==void 0&&!br(r.count),ve=z&&!r.ordinal&&r.count===0,ye=r.context!==void 0&&(br(r.context)||typeof r.context=="number")&&r.context!=="",Re=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);x.forEach(Ye=>{this.isValidLookup(n)||(d=Ye,!M0[`${Re[0]}-${Ye}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(d)&&(M0[`${Re[0]}-${Ye}`]=!0,this.logger.warn(`key "${i}" for languages "${Re.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!!!")),Re.forEach(Ke=>{if(this.isValidLookup(n))return;c=Ke;const Xe=[g];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(Xe,g,Ke,Ye,r);else{let Nt;z&&(Nt=this.pluralResolver.getSuffix(Ke,r.count,r));const ir=`${this.options.pluralSeparator}zero`,Mr=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(z&&(Xe.push(g+Nt),r.ordinal&&Nt.indexOf(Mr)===0&&Xe.push(g+Nt.replace(Mr,this.options.pluralSeparator)),ve&&Xe.push(g+ir)),ye){const Lr=`${g}${this.options.contextSeparator}${r.context}`;Xe.push(Lr),z&&(Xe.push(Lr+Nt),r.ordinal&&Nt.indexOf(Mr)===0&&Xe.push(Lr+Nt.replace(Mr,this.options.pluralSeparator)),ve&&Xe.push(Lr+ir))}}let gt;for(;gt=Xe.pop();)this.isValidLookup(n)||(a=gt,n=this.getResource(Ke,Ye,gt,r))}))})}),{res:n,usedKey:i,exactUsedKey:a,usedLng:c,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&&!br(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 N0{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Ts.create("languageUtils")}getScriptPartFromCode(t){if(t=uv(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=uv(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(br(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)),br(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=c=>{!c||(this.isSupportedCode(c)?i.push(c):this.logger.warn(`rejecting language code not found in supportedLngs: ${c}`))};return br(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))):br(t)&&a(this.formatLanguageCode(t)),n.forEach(c=>{i.indexOf(c)<0&&a(this.formatLanguageCode(c))}),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 t4{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=uv(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 c;try{c=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 y=this.languageUtils.getLanguagePartFromCode(t);c=this.getRule(y,r)}return this.pluralRulesCache[a]=c,c}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 w0=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=Y3(e,t,r);return!a&&i&&br(r)&&(a=tR(e,r,n),a===void 0&&(a=tR(t,r,n))),a},rR=e=>e.replace(/\$/g,"$$$$");class r4{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:c,suffix:d,suffixEscaped:y,formatSeparator:h,unescapeSuffix:g,unescapePrefix:x,nestingPrefix:z,nestingPrefixEscaped:ve,nestingSuffix:ye,nestingSuffixEscaped:Re,nestingOptionsSeparator:Ye,maxReplaces:Ke,alwaysFormat:Xe}=t.interpolation;this.escape=r!==void 0?r:K3,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=a?Xd(a):c||"{{",this.suffix=d?Xd(d):y||"}}",this.formatSeparator=h||",",this.unescapePrefix=g?"":x||"-",this.unescapeSuffix=this.unescapePrefix?"":g||"",this.nestingPrefix=z?Xd(z):ve||Xd("$t("),this.nestingSuffix=ye?Xd(ye):Re||Xd(")"),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,c,d;const y=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},h=ve=>{if(ve.indexOf(this.formatSeparator)<0){const Ke=w0(r,y,ve,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(Ke,void 0,n,{...i,...r,interpolationkey:ve}):Ke}const ye=ve.split(this.formatSeparator),Re=ye.shift().trim(),Ye=ye.join(this.formatSeparator).trim();return this.format(w0(r,y,Re,this.options.keySeparator,this.options.ignoreJSONStructure),Ye,n,{...i,...r,interpolationkey:Re})};this.resetRegExp();const g=i?.missingInterpolationHandler||this.options.missingInterpolationHandler,x=i?.interpolation?.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:ve=>rR(ve)},{regex:this.regexp,safeValue:ve=>this.escapeValue?rR(this.escape(ve)):rR(ve)}].forEach(ve=>{for(d=0;a=ve.regex.exec(t);){const ye=a[1].trim();if(c=h(ye),c===void 0)if(typeof g=="function"){const Ye=g(t,a,i);c=br(Ye)?Ye:""}else if(i&&Object.prototype.hasOwnProperty.call(i,ye))c="";else if(x){c=a[0];continue}else this.logger.warn(`missed to pass in variable ${ye} for interpolating ${t}`),c="";else!br(c)&&!this.useRawValueToEscape&&(c=T0(c));const Re=ve.safeValue(c);if(t=t.replace(a[0],Re),x?(ve.regex.lastIndex+=c.length,ve.regex.lastIndex-=a[0].length):ve.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,c;const d=(y,h)=>{const g=this.nestingOptionsSeparator;if(y.indexOf(g)<0)return y;const x=y.split(new RegExp(`${g}[ ]*{`));let z=`{${x[1]}`;y=x[0],z=this.interpolate(z,c);const ve=z.match(/'/g),ye=z.match(/"/g);((ve?.length??0)%2===0&&!ye||ye.length%2!==0)&&(z=z.replace(/'/g,'"'));try{c=JSON.parse(z),h&&(c={...h,...c})}catch(Re){return this.logger.warn(`failed parsing options string in nesting for key ${y}`,Re),`${y}${g}${z}`}return c.defaultValue&&c.defaultValue.indexOf(this.prefix)>-1&&delete c.defaultValue,y};for(;i=this.nestingRegexp.exec(t);){let y=[];c={...n},c=c.replace&&!br(c.replace)?c.replace:c,c.applyPostProcessor=!1,delete c.defaultValue;let h=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const g=i[1].split(this.formatSeparator).map(x=>x.trim());i[1]=g.shift(),y=g,h=!0}if(a=r(d.call(this,i[1].trim(),c),c),a&&i[0]===t&&!br(a))return a;br(a)||(a=T0(a)),a||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),a=""),h&&(a=y.reduce((g,x)=>this.format(g,x,n.lng,{...n,interpolationkey:i[1].trim()}),a.trim())),t=t.replace(i[0],a),this.regexp.lastIndex=0}return t}}const n4=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(c=>{if(c){const[d,...y]=c.split(":"),h=y.join(":").trim().replace(/^'+|'+$/g,""),g=d.trim();r[g]||(r[g]=h),h==="false"&&(r[g]=!1),h==="true"&&(r[g]=!0),isNaN(h)||(r[g]=parseInt(h,10))}})}return{formatName:t,formatOptions:r}},Jd=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 c=n+JSON.stringify(a);let d=t[c];return d||(d=e(uv(n),i),t[c]=d),d(r)}};class i4{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Ts.create("formatter"),this.options=t,this.formats={number:Jd((r,n)=>{const i=new Intl.NumberFormat(r,{...n});return a=>i.format(a)}),currency:Jd((r,n)=>{const i=new Intl.NumberFormat(r,{...n,style:"currency"});return a=>i.format(a)}),datetime:Jd((r,n)=>{const i=new Intl.DateTimeFormat(r,{...n});return a=>i.format(a)}),relativetime:Jd((r,n)=>{const i=new Intl.RelativeTimeFormat(r,{...n});return a=>i.format(a,n.range||"day")}),list:Jd((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()]=Jd(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(y=>y.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,d)].join(this.formatSeparator)}return a.reduce((d,y)=>{const{formatName:h,formatOptions:g}=n4(y);if(this.formats[h]){let x=d;try{const z=i?.formatParams?.[i.interpolationkey]||{},ve=z.locale||z.lng||i.locale||i.lng||n;x=this.formats[h](d,ve,{...g,...i,...z})}catch(z){this.logger.warn(z)}return x}else this.logger.warn(`there was no format function for ${h}`);return d},t)}}const a4=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class o4 extends lv{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={},c={},d={},y={};return t.forEach(h=>{let g=!0;r.forEach(x=>{const z=`${h}|${x}`;!n.reload&&this.store.hasResourceBundle(h,x)?this.state[z]=2:this.state[z]<0||(this.state[z]===1?c[z]===void 0&&(c[z]=!0):(this.state[z]=1,g=!1,c[z]===void 0&&(c[z]=!0),a[z]===void 0&&(a[z]=!0),y[x]===void 0&&(y[x]=!0)))}),g||(d[h]=!0)}),(Object.keys(a).length||Object.keys(c).length)&&this.queue.push({pending:c,pendingCount:Object.keys(c).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(a),pending:Object.keys(c),toLoadLanguages:Object.keys(d),toLoadNamespaces:Object.keys(y)}}loaded(t,r,n){const i=t.split("|"),a=i[0],c=i[1];r&&this.emit("failedLoading",a,c,r),!r&&n&&this.store.addResourceBundle(a,c,n,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2,r&&n&&(this.state[t]=0);const d={};this.queue.forEach(y=>{H3(y.loaded,[a],c),a4(y,t),r&&y.errors.push(r),y.pendingCount===0&&!y.done&&(Object.keys(y.loaded).forEach(h=>{d[h]||(d[h]={});const g=y.loaded[h];g.length&&g.forEach(x=>{d[h][x]===void 0&&(d[h][x]=!0)})}),y.done=!0,y.errors.length?y.callback(y.errors):y.callback())}),this.emit("loaded",d),this.queue=this.queue.filter(y=>!y.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,c=arguments.length>5?arguments[5]:void 0;if(!t.length)return c(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:n,tried:i,wait:a,callback:c});return}this.readingCalls++;const d=(h,g)=>{if(this.readingCalls--,this.waitingReads.length>0){const x=this.waitingReads.shift();this.read(x.lng,x.ns,x.fcName,x.tried,x.wait,x.callback)}if(h&&g&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,t,r,n,i+1,a*2,c)},a);return}c(h,g)},y=this.backend[n].bind(this.backend);if(y.length===2){try{const h=y(t,r);h&&typeof h.then=="function"?h.then(g=>d(null,g)).catch(d):d(null,h)}catch(h){d(h)}return}return y(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();br(t)&&(t=this.languageUtils.toResolveHierarchy(t)),br(r)&&(r=[r]);const a=this.queueLoad(t,r,n,i);if(!a.toLoad.length)return a.pending.length||i(),null;a.toLoad.forEach(c=>{this.loadOne(c)})}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,(c,d)=>{c&&this.logger.warn(`${r}loading namespace ${a} for language ${i} failed`,c),!c&&d&&this.logger.log(`${r}loaded namespace ${a} for language ${i}`,d),this.loaded(t,c,d)})}saveMissing(t,r,n,i,a){let c=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 y={...c,isUpdate:a},h=this.backend.create.bind(this.backend);if(h.length<6)try{let g;h.length===5?g=h(t,r,n,i,y):g=h(t,r,n,i),g&&typeof g.then=="function"?g.then(x=>d(null,x)).catch(d):d(null,g)}catch(g){d(g)}else h(t,r,n,i,d,y)}!t||!t[0]||this.store.addResource(t[0],r,n,i)}}}const U0=()=>({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]),br(e[1])&&(t.defaultValue=e[1]),br(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}}),$0=e=>(br(e.ns)&&(e.ns=[e.ns]),br(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),br(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),fv=()=>{},s4=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(r=>{typeof e[r]=="function"&&(e[r]=e[r].bind(e))})};class Hp extends lv{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(super(),this.options=$0(t),this.services={},this.logger=Ts,this.modules={external:[]},s4(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&&(br(r.ns)?r.defaultNS=r.ns:r.ns.indexOf("translation")<0&&(r.defaultNS=r.ns[0]));const i=U0();this.options={...i,...this.options,...$0(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=g=>g?typeof g=="function"?new g:g:null;if(!this.options.isClone){this.modules.logger?Ts.init(a(this.modules.logger),this.options):Ts.init(null,this.options);let g;this.modules.formatter?g=this.modules.formatter:g=i4;const x=new N0(this.options);this.store=new R0(this.options.resources,this.options);const z=this.services;z.logger=Ts,z.resourceStore=this.store,z.languageUtils=x,z.pluralResolver=new t4(x,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),g&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(z.formatter=a(g),z.formatter.init(z,this.options),this.options.interpolation.format=z.formatter.format.bind(z.formatter)),z.interpolator=new r4(this.options),z.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},z.backendConnector=new o4(a(this.modules.backend),z.resourceStore,z,this.options),z.backendConnector.on("*",function(ve){for(var ye=arguments.length,Re=new Array(ye>1?ye-1:0),Ye=1;Ye<ye;Ye++)Re[Ye-1]=arguments[Ye];t.emit(ve,...Re)}),this.modules.languageDetector&&(z.languageDetector=a(this.modules.languageDetector),z.languageDetector.init&&z.languageDetector.init(z,this.options.detection,this.options)),this.modules.i18nFormat&&(z.i18nFormat=a(this.modules.i18nFormat),z.i18nFormat.init&&z.i18nFormat.init(this)),this.translator=new dv(this.services,this.options),this.translator.on("*",function(ve){for(var ye=arguments.length,Re=new Array(ye>1?ye-1:0),Ye=1;Ye<ye;Ye++)Re[Ye-1]=arguments[Ye];t.emit(ve,...Re)}),this.modules.external.forEach(ve=>{ve.init&&ve.init(this)})}if(this.format=this.options.interpolation.format,n||(n=fv),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const g=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);g.length>0&&g[0]!=="dev"&&(this.options.lng=g[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(g=>{this[g]=function(){return t.store[g](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(g=>{this[g]=function(){return t.store[g](...arguments),t}});const y=Qp(),h=()=>{const g=(x,z)=>{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),y.resolve(z),n(x,z)};if(this.languages&&!this.isInitialized)return g(null,this.t.bind(this));this.changeLanguage(this.options.lng,g)};return this.options.resources||!this.options.initAsync?h():setTimeout(h,0),y}loadResources(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fv;const i=br(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=[],c=d=>{if(!d||d==="cimode")return;this.services.languageUtils.toResolveHierarchy(d).forEach(h=>{h!=="cimode"&&a.indexOf(h)<0&&a.push(h)})};i?c(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(y=>c(y)),this.options.preload?.forEach?.(d=>c(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=Qp();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=fv),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"&&P0.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=Qp();this.emit("languageChanging",t);const a=y=>{this.language=y,this.languages=this.services.languageUtils.toResolveHierarchy(y),this.resolvedLanguage=void 0,this.setResolvedLanguage(y)},c=(y,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(y,function(){return n.t(...arguments)})},d=y=>{!t&&!y&&this.services.languageDetector&&(y=[]);const h=br(y)?y:this.services.languageUtils.getBestMatchFromCodes(y);h&&(this.language||a(h),this.translator.language||this.translator.changeLanguage(h),this.services.languageDetector?.cacheUserLanguage?.(h)),this.loadResources(h,g=>{c(g,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(c,d){let y;if(typeof d!="object"){for(var h=arguments.length,g=new Array(h>2?h-2:0),x=2;x<h;x++)g[x-2]=arguments[x];y=i.options.overloadTranslationOptionHandler([c,d].concat(g))}else y={...d};y.lng=y.lng||a.lng,y.lngs=y.lngs||a.lngs,y.ns=y.ns||a.ns,y.keyPrefix!==""&&(y.keyPrefix=y.keyPrefix||n||a.keyPrefix);const z=i.options.keySeparator||".";let ve;return y.keyPrefix&&Array.isArray(c)?ve=c.map(ye=>`${y.keyPrefix}${z}${ye}`):ve=y.keyPrefix?`${y.keyPrefix}${z}${c}`:c,i.t(ve,y)};return br(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 c=(d,y)=>{const h=this.services.backendConnector.state[`${d}|${y}`];return h===-1||h===0||h===2};if(r.precheck){const d=r.precheck(this,c);if(d!==void 0)return d}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||c(n,t)&&(!i||c(a,t)))}loadNamespaces(t,r){const n=Qp();return this.options.ns?(br(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=Qp();br(t)&&(t=[t]);const i=this.options.preload||[],a=t.filter(c=>i.indexOf(c)<0&&this.services.languageUtils.isSupportedCode(c));return a.length?(this.options.preload=i.concat(a),this.loadResources(c=>{n.resolve(),r&&r(c)}),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 N0(U0());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 Hp(t,r)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fv;const n=t.forkResourceStore;n&&delete t.forkResourceStore;const i={...this.options,...t,isClone:!0},a=new Hp(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((y,h)=>(y[h]={...this.store.data[h]},Object.keys(y[h]).reduce((g,x)=>(g[x]={...y[h][x]},g),{})),{});a.store=new R0(d,i),a.services.resourceStore=a.store}return a.translator=new dv(a.services,i),a.translator.on("*",function(d){for(var y=arguments.length,h=new Array(y>1?y-1:0),g=1;g<y;g++)h[g-1]=arguments[g];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 ua=Hp.createInstance();ua.createInstance=Hp.createInstance;const cDe=ua.createInstance,lDe=ua.dir,dDe=ua.init,fDe=ua.loadResources,_De=ua.reloadResources,pDe=ua.use,hDe=ua.changeLanguage,SDe=ua.getFixedT,mDe=ua.t,gDe=ua.exists,vDe=ua.setDefaultNamespace,EDe=ua.hasLoadedNamespace,yDe=ua.loadNamespaces,TDe=ua.loadLanguages;var G0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yo=function(e){try{return!!e()}catch{return!0}},u4=Yo,F0=!u4(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),x0=F0,V0=Function.prototype,c4=V0.bind,nR=V0.call,l4=x0&&c4.bind(nR,nR),Wo=x0?function(e){return e&&l4(e)}:function(e){return e&&function(){return nR.apply(e,arguments)}},B0=Wo,d4=B0({}.toString),f4=B0("".slice),_4=function(e){return f4(d4(e),8,-1)},p4=Wo,h4=Yo,S4=_4,iR=Object,m4=p4("".split),k0=h4(function(){return!iR("z").propertyIsEnumerable(0)})?function(e){return S4(e)=="String"?m4(e,""):iR(e)}:iR,g4=TypeError,j0=function(e){if(e==null)throw g4("Can't call method on "+e);return e},v4=k0,E4=j0,Yp=function(e){return v4(E4(e))},_v=function(e){return e&&e.Math==Math&&e},As=_v(typeof globalThis=="object"&&globalThis)||_v(typeof window=="object"&&window)||_v(typeof self=="object"&&self)||_v(typeof G0=="object"&&G0)||function(){return this}()||Function("return this")(),aR={exports:{}},Q0=As,y4=Object.defineProperty,oR=function(e,t){try{y4(Q0,e,{value:t,configurable:!0,writable:!0})}catch{Q0[e]=t}return t},T4=As,A4=oR,q0="__core-js_shared__",C4=T4[q0]||A4(q0,{}),sR=C4,H0=sR;(aR.exports=function(e,t){return H0[e]||(H0[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 b4=j0,O4=Object,uR=function(e){return O4(b4(e))},R4=Wo,P4=uR,M4=R4({}.hasOwnProperty),Xs=Object.hasOwn||function(t,r){return M4(P4(t),r)},I4=Wo,N4=0,L4=Math.random(),D4=I4(1 .toString),Y0=function(e){return"Symbol("+(e===void 0?"":e)+")_"+D4(++N4+L4,36)},$a=function(e){return typeof e=="function"},cR=As,w4=$a,U4=function(e){return w4(e)?e:void 0},pv=function(e,t){return arguments.length<2?U4(cR[e]):cR[e]&&cR[e][t]},$4=pv,G4=$4("navigator","userAgent")||"",W0=As,lR=G4,K0=W0.process,z0=W0.Deno,X0=K0&&K0.versions||z0&&z0.version,J0=X0&&X0.v8,Ko,hv;J0&&(Ko=J0.split("."),hv=Ko[0]>0&&Ko[0]<4?1:+(Ko[0]+Ko[1])),!hv&&lR&&(Ko=lR.match(/Edge\/(\d+)/),(!Ko||Ko[1]>=74)&&(Ko=lR.match(/Chrome\/(\d+)/),Ko&&(hv=+Ko[1])));var F4=hv,Z0=F4,x4=Yo,ew=!!Object.getOwnPropertySymbols&&!x4(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Z0&&Z0<41}),V4=ew,tw=V4&&!Symbol.sham&&typeof Symbol.iterator=="symbol",B4=As,k4=aR.exports,rw=Xs,j4=Y0,nw=ew,iw=tw,Zd=k4("wks"),el=B4.Symbol,aw=el&&el.for,Q4=iw?el:el&&el.withoutSetter||j4,ef=function(e){if(!rw(Zd,e)||!(nw||typeof Zd[e]=="string")){var t="Symbol."+e;nw&&rw(el,e)?Zd[e]=el[e]:iw&&aw?Zd[e]=aw(t):Zd[e]=Q4(t)}return Zd[e]},q4=$a,Wp=function(e){return typeof e=="object"?e!==null:q4(e)},H4=Wp,Y4=String,W4=TypeError,Kp=function(e){if(H4(e))return e;throw W4(Y4(e)+" is not an object")},ow={},K4=Yo,Cs=!K4(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),z4=Cs,X4=Yo,sw=z4&&X4(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),xu={},J4=As,uw=Wp,dR=J4.document,Z4=uw(dR)&&uw(dR.createElement),fR=function(e){return Z4?dR.createElement(e):{}},e6=Cs,t6=Yo,r6=fR,cw=!e6&&!t6(function(){return Object.defineProperty(r6("div"),"a",{get:function(){return 7}}).a!=7}),n6=F0,Sv=Function.prototype.call,zp=n6?Sv.bind(Sv):function(){return Sv.apply(Sv,arguments)},i6=Wo,a6=i6({}.isPrototypeOf),o6=pv,s6=$a,u6=a6,c6=tw,l6=Object,lw=c6?function(e){return typeof e=="symbol"}:function(e){var t=o6("Symbol");return s6(t)&&u6(t.prototype,l6(e))},d6=String,f6=function(e){try{return d6(e)}catch{return"Object"}},_6=$a,p6=f6,h6=TypeError,S6=function(e){if(_6(e))return e;throw h6(p6(e)+" is not a function")},m6=S6,g6=function(e,t){var r=e[t];return r==null?void 0:m6(r)},_R=zp,pR=$a,hR=Wp,v6=TypeError,E6=function(e,t){var r,n;if(t==="string"&&pR(r=e.toString)&&!hR(n=_R(r,e))||pR(r=e.valueOf)&&!hR(n=_R(r,e))||t!=="string"&&pR(r=e.toString)&&!hR(n=_R(r,e)))return n;throw v6("Can't convert object to primitive value")},y6=zp,dw=Wp,fw=lw,T6=g6,A6=E6,C6=ef,b6=TypeError,O6=C6("toPrimitive"),R6=function(e,t){if(!dw(e)||fw(e))return e;var r=T6(e,O6),n;if(r){if(t===void 0&&(t="default"),n=y6(r,e,t),!dw(n)||fw(n))return n;throw b6("Can't convert object to primitive value")}return t===void 0&&(t="number"),A6(e,t)},P6=R6,M6=lw,_w=function(e){var t=P6(e,"string");return M6(t)?t:t+""},I6=Cs,N6=cw,L6=sw,mv=Kp,pw=_w,D6=TypeError,SR=Object.defineProperty,w6=Object.getOwnPropertyDescriptor,mR="enumerable",gR="configurable",vR="writable";xu.f=I6?L6?function(t,r,n){if(mv(t),r=pw(r),mv(n),typeof t=="function"&&r==="prototype"&&"value"in n&&vR in n&&!n[vR]){var i=w6(t,r);i&&i[vR]&&(t[r]=n.value,n={configurable:gR in n?n[gR]:i[gR],enumerable:mR in n?n[mR]:i[mR],writable:!1})}return SR(t,r,n)}:SR:function(t,r,n){if(mv(t),r=pw(r),mv(n),N6)try{return SR(t,r,n)}catch{}if("get"in n||"set"in n)throw D6("Accessors not supported");return"value"in n&&(t[r]=n.value),t};var U6=Math.ceil,$6=Math.floor,G6=Math.trunc||function(t){var r=+t;return(r>0?$6:U6)(r)},F6=G6,hw=function(e){var t=+e;return t!==t||t===0?0:F6(t)},x6=hw,V6=Math.max,B6=Math.min,k6=function(e,t){var r=x6(e);return r<0?V6(r+t,0):B6(r,t)},j6=hw,Q6=Math.min,q6=function(e){return e>0?Q6(j6(e),9007199254740991):0},H6=q6,Y6=function(e){return H6(e.length)},W6=Yp,K6=k6,z6=Y6,Sw=function(e){return function(t,r,n){var i=W6(t),a=z6(i),c=K6(n,a),d;if(e&&r!=r){for(;a>c;)if(d=i[c++],d!=d)return!0}else for(;a>c;c++)if((e||c in i)&&i[c]===r)return e||c||0;return!e&&-1}},X6={includes:Sw(!0),indexOf:Sw(!1)},ER={},J6=Wo,yR=Xs,Z6=Yp,e5=X6.indexOf,t5=ER,mw=J6([].push),gw=function(e,t){var r=Z6(e),n=0,i=[],a;for(a in r)!yR(t5,a)&&yR(r,a)&&mw(i,a);for(;t.length>n;)yR(r,a=t[n++])&&(~e5(i,a)||mw(i,a));return i},TR=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],r5=gw,n5=TR,vw=Object.keys||function(t){return r5(t,n5)},i5=Cs,a5=sw,o5=xu,s5=Kp,u5=Yp,c5=vw;ow.f=i5&&!a5?Object.defineProperties:function(t,r){s5(t);for(var n=u5(r),i=c5(r),a=i.length,c=0,d;a>c;)o5.f(t,d=i[c++],n[d]);return t};var l5=pv,d5=l5("document","documentElement"),f5=aR.exports,_5=Y0,Ew=f5("keys"),AR=function(e){return Ew[e]||(Ew[e]=_5(e))},p5=Kp,h5=ow,yw=TR,S5=ER,m5=d5,g5=fR,v5=AR,Tw=">",Aw="<",CR="prototype",bR="script",Cw=v5("IE_PROTO"),OR=function(){},bw=function(e){return Aw+bR+Tw+e+Aw+"/"+bR+Tw},Ow=function(e){e.write(bw("")),e.close();var t=e.parentWindow.Object;return e=null,t},E5=function(){var e=g5("iframe"),t="java"+bR+":",r;return e.style.display="none",m5.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(bw("document.F=Object")),r.close(),r.F},gv,vv=function(){try{gv=new ActiveXObject("htmlfile")}catch{}vv=typeof document<"u"?document.domain&&gv?Ow(gv):E5():Ow(gv);for(var e=yw.length;e--;)delete vv[CR][yw[e]];return vv()};S5[Cw]=!0;var Rw=Object.create||function(t,r){var n;return t!==null?(OR[CR]=p5(t),n=new OR,OR[CR]=null,n[Cw]=t):n=vv(),r===void 0?n:h5.f(n,r)},y5=ef,T5=Rw,A5=xu.f,RR=y5("unscopables"),PR=Array.prototype;PR[RR]==null&&A5(PR,RR,{configurable:!0,value:T5(null)});var C5=function(e){PR[RR][e]=!0},MR={},b5=Wo,O5=$a,IR=sR,R5=b5(Function.toString);O5(IR.inspectSource)||(IR.inspectSource=function(e){return R5(e)});var Pw=IR.inspectSource,P5=As,M5=$a,I5=Pw,Mw=P5.WeakMap,N5=M5(Mw)&&/native code/.test(I5(Mw)),NR=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},L5=Cs,D5=xu,w5=NR,Ev=L5?function(e,t,r){return D5.f(e,t,w5(1,r))}:function(e,t,r){return e[t]=r,e},U5=N5,Iw=As,LR=Wo,$5=Wp,G5=Ev,DR=Xs,wR=sR,F5=AR,x5=ER,Nw="Object already initialized",UR=Iw.TypeError,V5=Iw.WeakMap,yv,Xp,Tv,B5=function(e){return Tv(e)?Xp(e):yv(e,{})},k5=function(e){return function(t){var r;if(!$5(t)||(r=Xp(t)).type!==e)throw UR("Incompatible receiver, "+e+" required");return r}};if(U5||wR.state){var tl=wR.state||(wR.state=new V5),j5=LR(tl.get),Lw=LR(tl.has),Q5=LR(tl.set);yv=function(e,t){if(Lw(tl,e))throw new UR(Nw);return t.facade=e,Q5(tl,e,t),t},Xp=function(e){return j5(tl,e)||{}},Tv=function(e){return Lw(tl,e)}}else{var tf=F5("state");x5[tf]=!0,yv=function(e,t){if(DR(e,tf))throw new UR(Nw);return t.facade=e,G5(e,tf,t),t},Xp=function(e){return DR(e,tf)?e[tf]:{}},Tv=function(e){return DR(e,tf)}}var Dw={set:yv,get:Xp,has:Tv,enforce:B5,getterFor:k5},$R={},GR={},ww={}.propertyIsEnumerable,Uw=Object.getOwnPropertyDescriptor,q5=Uw&&!ww.call({1:2},1);GR.f=q5?function(t){var r=Uw(this,t);return!!r&&r.enumerable}:ww;var H5=Cs,Y5=zp,W5=GR,K5=NR,z5=Yp,X5=_w,J5=Xs,Z5=cw,$w=Object.getOwnPropertyDescriptor;$R.f=H5?$w:function(t,r){if(t=z5(t),r=X5(r),Z5)try{return $w(t,r)}catch{}if(J5(t,r))return K5(!Y5(W5.f,t,r),t[r])};var Gw={exports:{}},FR=Cs,eX=Xs,Fw=Function.prototype,tX=FR&&Object.getOwnPropertyDescriptor,xR=eX(Fw,"name"),rX=xR&&function(){}.name==="something",nX=xR&&(!FR||FR&&tX(Fw,"name").configurable),xw={EXISTS:xR,PROPER:rX,CONFIGURABLE:nX},iX=Yo,aX=$a,Av=Xs,VR=Cs,oX=xw.CONFIGURABLE,sX=Pw,Vw=Dw,uX=Vw.enforce,cX=Vw.get,Cv=Object.defineProperty,lX=VR&&!iX(function(){return Cv(function(){},"length",{value:8}).length!==8}),dX=String(String).split("String"),fX=Gw.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),(!Av(e,"name")||oX&&e.name!==t)&&(VR?Cv(e,"name",{value:t,configurable:!0}):e.name=t),lX&&r&&Av(r,"arity")&&e.length!==r.arity&&Cv(e,"length",{value:r.arity});try{r&&Av(r,"constructor")&&r.constructor?VR&&Cv(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=uX(e);return Av(n,"source")||(n.source=dX.join(typeof t=="string"?t:"")),e};Function.prototype.toString=fX(function(){return aX(this)&&cX(this).source||sX(this)},"toString");var _X=$a,pX=xu,hX=Gw.exports,SX=oR,BR=function(e,t,r,n){n||(n={});var i=n.enumerable,a=n.name!==void 0?n.name:t;if(_X(r)&&hX(r,a,n),n.global)i?e[t]=r:SX(t,r);else{try{n.unsafe?e[t]&&(i=!0):delete e[t]}catch{}i?e[t]=r:pX.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Bw={},mX=gw,gX=TR,vX=gX.concat("length","prototype");Bw.f=Object.getOwnPropertyNames||function(t){return mX(t,vX)};var kR={};kR.f=Object.getOwnPropertySymbols;var EX=pv,yX=Wo,TX=Bw,AX=kR,CX=Kp,bX=yX([].concat),OX=EX("Reflect","ownKeys")||function(t){var r=TX.f(CX(t)),n=AX.f;return n?bX(r,n(t)):r},kw=Xs,RX=OX,PX=$R,MX=xu,IX=function(e,t,r){for(var n=RX(t),i=MX.f,a=PX.f,c=0;c<n.length;c++){var d=n[c];!kw(e,d)&&!(r&&kw(r,d))&&i(e,d,a(t,d))}},NX=Yo,LX=$a,DX=/#|\.prototype\./,Jp=function(e,t){var r=UX[wX(e)];return r==GX?!0:r==$X?!1:LX(t)?NX(t):!!t},wX=Jp.normalize=function(e){return String(e).replace(DX,".").toLowerCase()},UX=Jp.data={},$X=Jp.NATIVE="N",GX=Jp.POLYFILL="P",FX=Jp,jR=As,xX=$R.f,VX=Ev,BX=BR,kX=oR,jX=IX,QX=FX,jw=function(e,t){var r=e.target,n=e.global,i=e.stat,a,c,d,y,h,g;if(n?c=jR:i?c=jR[r]||kX(r,{}):c=(jR[r]||{}).prototype,c)for(d in t){if(h=t[d],e.dontCallGetSet?(g=xX(c,d),y=g&&g.value):y=c[d],a=QX(n?d:r+(i?".":"#")+d,e.forced),!a&&y!==void 0){if(typeof h==typeof y)continue;jX(h,y)}(e.sham||y&&y.sham)&&VX(h,"sham",!0),BX(c,d,h,e)}},qX=Yo,HX=!qX(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),YX=Xs,WX=$a,KX=uR,zX=AR,XX=HX,Qw=zX("IE_PROTO"),QR=Object,JX=QR.prototype,qw=XX?QR.getPrototypeOf:function(e){var t=KX(e);if(YX(t,Qw))return t[Qw];var r=t.constructor;return WX(r)&&t instanceof r?r.prototype:t instanceof QR?JX:null},ZX=Yo,e7=$a,Hw=qw,t7=BR,r7=ef,qR=r7("iterator"),Yw=!1,rl,HR,YR;[].keys&&(YR=[].keys(),"next"in YR?(HR=Hw(Hw(YR)),HR!==Object.prototype&&(rl=HR)):Yw=!0);var n7=rl==null||ZX(function(){var e={};return rl[qR].call(e)!==e});n7&&(rl={}),e7(rl[qR])||t7(rl,qR,function(){return this});var Ww={IteratorPrototype:rl,BUGGY_SAFARI_ITERATORS:Yw},i7=xu.f,a7=Xs,o7=ef,Kw=o7("toStringTag"),zw=function(e,t,r){e&&!r&&(e=e.prototype),e&&!a7(e,Kw)&&i7(e,Kw,{configurable:!0,value:t})},s7=Ww.IteratorPrototype,u7=Rw,c7=NR,l7=zw,d7=MR,f7=function(){return this},_7=function(e,t,r,n){var i=t+" Iterator";return e.prototype=u7(s7,{next:c7(+!n,r)}),l7(e,i,!1),d7[i]=f7,e},p7=$a,h7=String,S7=TypeError,m7=function(e){if(typeof e=="object"||p7(e))return e;throw S7("Can't set "+h7(e)+" as a prototype")},g7=Wo,v7=Kp,E7=m7,y7=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=g7(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),r(t,[]),e=t instanceof Array}catch{}return function(i,a){return v7(i),E7(a),e?r(i,a):i.__proto__=a,i}}():void 0),T7=jw,A7=zp,Xw=xw,C7=$a,b7=_7,Jw=qw,Zw=y7,O7=zw,R7=Ev,WR=BR,P7=ef,M7=MR,eU=Ww,I7=Xw.PROPER,N7=Xw.CONFIGURABLE,tU=eU.IteratorPrototype,bv=eU.BUGGY_SAFARI_ITERATORS,Zp=P7("iterator"),rU="keys",eh="values",nU="entries",L7=function(){return this},D7=function(e,t,r,n,i,a,c){b7(r,t,n);var d=function(Ke){if(Ke===i&&z)return z;if(!bv&&Ke in g)return g[Ke];switch(Ke){case rU:return function(){return new r(this,Ke)};case eh:return function(){return new r(this,Ke)};case nU:return function(){return new r(this,Ke)}}return function(){return new r(this)}},y=t+" Iterator",h=!1,g=e.prototype,x=g[Zp]||g["@@iterator"]||i&&g[i],z=!bv&&x||d(i),ve=t=="Array"&&g.entries||x,ye,Re,Ye;if(ve&&(ye=Jw(ve.call(new e)),ye!==Object.prototype&&ye.next&&(Jw(ye)!==tU&&(Zw?Zw(ye,tU):C7(ye[Zp])||WR(ye,Zp,L7)),O7(ye,y,!0))),I7&&i==eh&&x&&x.name!==eh&&(N7?R7(g,"name",eh):(h=!0,z=function(){return A7(x,this)})),i)if(Re={values:d(eh),keys:a?z:d(rU),entries:d(nU)},c)for(Ye in Re)(bv||h||!(Ye in g))&&WR(g,Ye,Re[Ye]);else T7({target:t,proto:!0,forced:bv||h},Re);return g[Zp]!==z&&WR(g,Zp,z,{name:i}),M7[t]=z,Re},w7=Yp,KR=C5,iU=MR,aU=Dw,U7=xu.f,$7=D7,G7=Cs,oU="Array Iterator",F7=aU.set,x7=aU.getterFor(oU),V7=$7(Array,"Array",function(e,t){F7(this,{type:oU,target:w7(e),index:0,kind:t})},function(){var e=x7(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"),sU=iU.Arguments=iU.Array;if(KR("keys"),KR("values"),KR("entries"),G7&&sU.name!=="values")try{U7(sU,"name",{value:"values"})}catch{}var B7={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},k7=fR,zR=k7("span").classList,uU=zR&&zR.constructor&&zR.constructor.prototype,j7=uU===Object.prototype?void 0:uU,cU=As,lU=B7,Q7=j7,th=V7,XR=Ev,dU=ef,JR=dU("iterator"),fU=dU("toStringTag"),ZR=th.values,_U=function(e,t){if(e){if(e[JR]!==ZR)try{XR(e,JR,ZR)}catch{e[JR]=ZR}if(e[fU]||XR(e,fU,t),lU[t]){for(var r in th)if(e[r]!==th[r])try{XR(e,r,th[r])}catch{e[r]=th[r]}}}};for(var eP in lU)_U(cU[eP]&&cU[eP].prototype,eP);_U(Q7,"DOMTokenList");var pU=Cs,q7=Wo,H7=zp,Y7=Yo,tP=vw,W7=kR,K7=GR,z7=uR,X7=k0,rf=Object.assign,hU=Object.defineProperty,J7=q7([].concat),Z7=!rf||Y7(function(){if(pU&&rf({b:1},rf(hU({},"a",{enumerable:!0,get:function(){hU(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}),rf({},e)[r]!=7||tP(rf({},t)).join("")!=n})?function(t,r){for(var n=z7(t),i=arguments.length,a=1,c=W7.f,d=K7.f;i>a;)for(var y=X7(arguments[a++]),h=c?J7(tP(y),c(y)):tP(y),g=h.length,x=0,z;g>x;)z=h[x++],(!pU||H7(d,y,z))&&(n[z]=y[z]);return n}:rf,e9=jw,SU=Z7;e9({target:"Object",stat:!0,arity:2,forced:Object.assign!==SU},{assign:SU});function Ov(e,t,r,n){function i(a){return a instanceof r?a:new r(function(c){c(a)})}return new(r||(r=Promise))(function(a,c){function d(g){try{h(n.next(g))}catch(x){c(x)}}function y(g){try{h(n.throw(g))}catch(x){c(x)}}function h(g){g.done?a(g.value):i(g.value).then(d,y)}h((n=n.apply(e,t||[])).next())})}function hn(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 Vu(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 rP=null,ADe=({children:e,i18n:t})=>jsx(rP.Provider,Object.assign({value:t},{children:e})),CDe=()=>{const e=useContext(rP);if(e===void 0)throw new Error("useTranslation must be used within an I18nProvider");return e.t},t9=e=>{const[t,r]=useState(!e.isLoaded),[n,i]=useState();return useEffect(()=>{e.isLoaded||Ov(void 0,void 0,void 0,function*(){try{yield e.load()}catch(a){i(a)}finally{r(!1)}})},[]),{loading:t,error:n}},bDe=e=>{const t=r9(),r=useMemo(()=>t.child(e),[]),{loading:n,error:i}=t9(r);return{loading:n,error:i,i18n:r}},r9=()=>{const e=useContext(rP);if(e===void 0)throw new Error("I18n instance hooks must be used within an I18nProvider");return e};var De=_(4370);let Rv=e=>e,mU,gU,vU,EU;const n9=(0,De.default)(mU||(mU=Rv`
5846
+ `)&&(Ye="(?: "+Ye+")",Xe=" "+Xe,Ke++),d=new RegExp("^(?:"+Ye+")",Re)),ap&&(d=new RegExp("^"+Ye+"$(?!\\s)",Re)),ip&&(y=r.lastIndex),h=Go(Id,ye?d:r,Xe),ye?h?(h.input=np(h.input,Ke),h[0]=np(h[0],Ke),h.index=r.lastIndex,r.lastIndex+=h[0].length):r.lastIndex=0:ip&&h&&(r.lastIndex=r.global?h.index+h[0].length:y),ap&&h&&h.length>1&&Go(tC,h[0],d,function(){for(g=1;g<arguments.length-2;g++)arguments[g]===void 0&&(h[g]=void 0)}),h&&ve)for(h.groups=x=XA(null),g=0;g<ve.length;g++)z=ve[g],x[z[0]]=h[z[1]];return h});var Fo=rp,Cr=Td,Vm=Fo;Cr({target:"RegExp",proto:!0,forced:/./.exec!==Vm},{exec:Vm});var aa=Ql,ri=Function.prototype,Bm=ri.apply,xo=ri.call,oC=typeof Reflect=="object"&&Reflect.apply||(aa?xo.bind(Bm):function(){return xo.apply(Bm,arguments)}),km=Yr,jm=Lc,sC=Fo,Qm=hi,Nd=ho,uC=Ru,Vo=Nd("species"),Ld=RegExp.prototype,Dd=function(e,t,r,n){var i=Nd(e),a=!Qm(function(){var h={};return h[i]=function(){return 7},""[e](h)!=7}),c=a&&!Qm(function(){var h=!1,g=/a/;return e==="split"&&(g={},g.constructor={},g.constructor[Vo]=function(){return g},g.flags="",g[i]=/./[i]),g.exec=function(){return h=!0,null},g[i](""),!h});if(!a||!c||r){var d=km(/./[i]),y=t(i,""[e],function(h,g,x,z,ve){var ye=km(h),Re=g.exec;return Re===sC||Re===Ld.exec?a&&!ve?{done:!0,value:d(g,x,z)}:{done:!0,value:ye(x,g,z)}:{done:!1}});jm(String.prototype,e,y[0]),jm(Ld,i,y[1])}n&&uC(Ld[i],"sham",!0)},kn=Yr,ni=Dc,qm=Gc,cC=os,lC=kn("".charAt),Hm=kn("".charCodeAt),dC=kn("".slice),Ym=function(e){return function(t,r){var n=qm(cC(t)),i=ni(r),a=n.length,c,d;return i<0||i>=a?e?"":void 0:(c=Hm(n,i),c<55296||c>56319||i+1===a||(d=Hm(n,i+1))<56320||d>57343?e?lC(n,i):c:e?dC(n,i,i+2):(c-55296<<10)+(d-56320)+65536)}},fC={codeAt:Ym(!1),charAt:Ym(!0)},Wm=fC.charAt,Vc=function(e,t,r){return t+(r?Wm(e,t).length:1)},Bc=Yr,_C=Ac,Km=Math.floor,Lu=Bc("".charAt),ha=Bc("".replace),Ss=Bc("".slice),pC=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,hC=/\$([$&'`]|\d{1,2})/g,SC=function(e,t,r,n,i,a){var c=r+e.length,d=n.length,y=hC;return i!==void 0&&(i=_C(i),y=pC),ha(a,y,function(h,g){var x;switch(Lu(g,0)){case"$":return"$";case"&":return e;case"`":return Ss(t,0,r);case"'":return Ss(t,c);case"<":x=i[Ss(g,1,-1)];break;default:var z=+g;if(z===0)return h;if(z>d){var ve=Km(z/10);return ve===0?h:ve<=d?n[ve-1]===void 0?Lu(g,1):n[ve-1]+Lu(g,1):h}x=n[z-1]}return x===void 0?"":x})},zm=Wa,mC=Ma,Xm=Fi,Bo=Yl,Dr=Fo,Jm=TypeError,La=function(e,t){var r=e.exec;if(Xm(r)){var n=zm(r,e,t);return n!==null&&mC(n),n}if(Bo(e)==="RegExp")return zm(Dr,e,t);throw Jm("RegExp#exec called on incompatible receiver")},Zm=oC,eg=Wa,tn=Yr,gC=Dd,tg=hi,wd=Ma,vC=Fi,EC=Dc,yC=im,Du=Gc,TC=os,AC=Vc,CC=bS,bC=SC,OC=La,RC=ho,op=RC("replace"),PC=Math.max,MC=Math.min,sp=tn([].concat),up=tn([].push),Ud=tn("".indexOf),rg=tn("".slice),IC=function(e){return e===void 0?e:String(e)},NC=function(){return"a".replace(/./,"$0")==="$0"}(),yi=function(){return/./[op]?/./[op]("a","$0")==="":!1}(),oa=!tg(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"});gC("replace",function(e,t,r){var n=yi?"$":"$0";return[function(a,c){var d=TC(this),y=a==null?void 0:CC(a,op);return y?eg(y,a,d,c):eg(t,Du(d),a,c)},function(i,a){var c=wd(this),d=Du(i);if(typeof a=="string"&&Ud(a,n)===-1&&Ud(a,"$<")===-1){var y=r(t,c,d,a);if(y.done)return y.value}var h=vC(a);h||(a=Du(a));var g=c.global;if(g){var x=c.unicode;c.lastIndex=0}for(var z=[];;){var ve=OC(c,d);if(ve===null||(up(z,ve),!g))break;var ye=Du(ve[0]);ye===""&&(c.lastIndex=AC(d,yC(c.lastIndex),x))}for(var Re="",Ye=0,Ke=0;Ke<z.length;Ke++){ve=z[Ke];for(var Xe=Du(ve[0]),gt=PC(MC(EC(ve.index),d.length),0),Nt=[],ir=1;ir<ve.length;ir++)up(Nt,IC(ve[ir]));var Mr=ve.groups;if(h){var Lr=sp([Xe],Nt,gt,d);Mr!==void 0&&up(Lr,Mr);var Tn=Du(Zm(a,void 0,Lr))}else Tn=bC(Xe,d,gt,Nt,Mr,a);gt>=Ye&&(Re+=rg(d,Ye,gt)+Tn,Ye=gt+Xe.length)}return Re+rg(d,Ye)}]},!oa||!NC||yi);var LC=ho,DC=Md,wC=wo.f,$d=LC("unscopables"),cp=Array.prototype;cp[$d]==null&&wC(cp,$d,{configurable:!0,value:DC(null)});var UC=function(e){cp[$d][e]=!0},lp={},ng=hi,$C=!ng(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),GC=po,FC=Fi,ig=Ac,ag=Pu,xC=$C,og=ag("IE_PROTO"),dp=Object,VC=dp.prototype,Ys=xC?dp.getPrototypeOf:function(e){var t=ig(e);if(GC(t,og))return t[og];var r=t.constructor;return FC(r)&&t instanceof r?r.prototype:t instanceof dp?VC:null},BC=hi,kC=Fi,sg=Ys,jC=Lc,QC=ho,Gd=QC("iterator"),fp=!1,Ws,_p,pp;[].keys&&(pp=[].keys(),"next"in pp?(_p=sg(sg(pp)),_p!==Object.prototype&&(Ws=_p)):fp=!0);var qC=Ws==null||BC(function(){var e={};return Ws[Gd].call(e)!==e});qC&&(Ws={}),kC(Ws[Gd])||jC(Ws,Gd,function(){return this});var ug={IteratorPrototype:Ws,BUGGY_SAFARI_ITERATORS:fp},HC=wo.f,YC=po,WC=ho,cg=WC("toStringTag"),lg=function(e,t,r){e&&!r&&(e=e.prototype),e&&!YC(e,cg)&&HC(e,cg,{configurable:!0,value:t})},KC=ug.IteratorPrototype,zC=Md,XC=Eu,JC=lg,ZC=lp,eb=function(){return this},tb=function(e,t,r,n){var i=t+" Iterator";return e.prototype=zC(KC,{next:XC(+!n,r)}),JC(e,i,!1),ZC[i]=eb,e},rb=Fi,nb=String,ib=TypeError,ab=function(e){if(typeof e=="object"||rb(e))return e;throw ib("Can't set "+nb(e)+" as a prototype")},ob=Yr,sb=Ma,ub=ab,cb=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=ob(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),r(t,[]),e=t instanceof Array}catch{}return function(i,a){return sb(i),ub(a),e?r(i,a):i.__proto__=a,i}}():void 0),hp=Td,dg=Wa,Sp=A_,lb=Fi,db=tb,fg=Ys,Fd=cb,fb=lg,_b=Ru,mp=Lc,sa=ho,gp=lp,_g=ug,pb=Sp.PROPER,hb=Sp.CONFIGURABLE,pg=_g.IteratorPrototype,wu=_g.BUGGY_SAFARI_ITERATORS,kc=sa("iterator"),xd="keys",jc="values",hg="entries",Sb=function(){return this},mb=function(e,t,r,n,i,a,c){db(r,t,n);var d=function(Ke){if(Ke===i&&z)return z;if(!wu&&Ke in g)return g[Ke];switch(Ke){case xd:return function(){return new r(this,Ke)};case jc:return function(){return new r(this,Ke)};case hg:return function(){return new r(this,Ke)}}return function(){return new r(this)}},y=t+" Iterator",h=!1,g=e.prototype,x=g[kc]||g["@@iterator"]||i&&g[i],z=!wu&&x||d(i),ve=t=="Array"&&g.entries||x,ye,Re,Ye;if(ve&&(ye=fg(ve.call(new e)),ye!==Object.prototype&&ye.next&&(fg(ye)!==pg&&(Fd?Fd(ye,pg):lb(ye[kc])||mp(ye,kc,Sb)),fb(ye,y,!0))),pb&&i==jc&&x&&x.name!==jc&&(hb?_b(g,"name",jc):(h=!0,z=function(){return dg(x,this)})),i)if(Re={values:d(jc),keys:a?z:d(xd),entries:d(hg)},c)for(Ye in Re)(wu||h||!(Ye in g))&&mp(g,Ye,Re[Ye]);else hp({target:t,proto:!0,forced:wu||h},Re);return g[kc]!==z&&mp(g,kc,z,{name:i}),gp[t]=z,Re},Sg=gc,vp=UC,mg=lp,gg=hd,Ep=wo.f,yp=mb,gb=Ya,vg="Array Iterator",vb=gg.set,Eb=gg.getterFor(vg),yb=yp(Array,"Array",function(e,t){vb(this,{type:vg,target:Sg(e),index:0,kind:t})},function(){var e=Eb(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"),Eg=mg.Arguments=mg.Array;if(vp("keys"),vp("values"),vp("entries"),gb&&Eg.name!=="values")try{Ep(Eg,"name",{value:"values"})}catch{}var Tb={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},Ab=Pc,Tp=Ab("span").classList,yg=Tp&&Tp.constructor&&Tp.constructor.prototype,Cb=yg===Object.prototype?void 0:yg,Tg=$i,Ag=Tb,bb=Cb,Qc=yb,Ap=Ru,Cg=ho,Cp=Cg("iterator"),bg=Cg("toStringTag"),bp=Qc.values,Og=function(e,t){if(e){if(e[Cp]!==bp)try{Ap(e,Cp,bp)}catch{e[Cp]=bp}if(e[bg]||Ap(e,bg,t),Ag[t]){for(var r in Qc)if(e[r]!==Qc[r])try{Ap(e,r,Qc[r])}catch{e[r]=Qc[r]}}}};for(var o in Ag)Og(Tg[o]&&Tg[o].prototype,o);Og(bb,"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,ie,me;function Ne(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),ie.set(this,void 0),me.set(this,void 0),S(this,F,t,"f"),S(this,ie,parseInt(`0x${r.replace(/-/g,"")}`),"f"),S(this,me,n,"f")}getFeatureFlagVariant(t,r){const n=s(this,F,"f").find(a=>a.name===t);let i=0;if(n){const a=Ne(n.id),c=Math.abs(s(this,ie,"f")-a)%100;return n.variants.find(({percent:y})=>(i=y+i,c<i))||{name:"control",percent:100-i,value:r}}}getFeatureFlagValue(t,r){const n=this.getFeatureFlagVariant(t,r);if(n&&s(this,me,"f")){if(n.exactVersion){if(!vu.valid(s(this,me,"f"))||!vu.valid(n.exactVersion)||!vu.eq(s(this,me,"f"),n.exactVersion))return r}else if(n.minimumRequiredVersion&&(!vu.valid(s(this,me,"f"))||!vu.valid(n.minimumRequiredVersion)||vu.lt(s(this,me,"f"),n.minimumRequiredVersion)))return r}return n?.value||r}}F=new WeakMap,ie=new WeakMap,me=new WeakMap;var ze=Ya,vt=Yr,Et=Wa,bt=hi,$t=Om,Jt=Ed,fr=o_,wr=Ac,_r=Tu,Nr=Object.assign,Kr=Object.defineProperty,Sa=vt([].concat),Zi=!Nr||bt(function(){if(ze&&Nr({b:1},Nr(Kr({},"a",{enumerable:!0,get:function(){Kr(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}),Nr({},e)[r]!=7||$t(Nr({},t)).join("")!=n})?function(t,r){for(var n=wr(t),i=arguments.length,a=1,c=Jt.f,d=fr.f;i>a;)for(var y=_r(arguments[a++]),h=c?Sa($t(y),c(y)):$t(y),g=h.length,x=0,z;g>x;)z=h[x++],(!ze||Et(d,y,z))&&(n[z]=y[z]);return n}:Nr,ma=Td,ii=Zi;ma({target:"Object",stat:!0,arity:2,forced:Object.assign!==ii},{assign:ii});const Da=null,ms=({children:e,featureFlags:t})=>jsx(Da.Provider,Object.assign({value:t},{children:e}));function Ob(e,t){const r=React.useContext(Da);return r?.getFeatureFlagValue(e,t)||t}var Op;(function(e){e.one="1.0.0"})(Op||(Op={}));const Rg="orchestrator:feature-flags-service",Fq={id:Rg,dependencies:{featureServices:{[ui]:Ui.one},externals:{}},create:({featureServices:e})=>{var t;const r=e[ui],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{[Op.one]:()=>({featureService:a})}}};var ON=_(572),Uu;(function(e){e.one="1.0.0"})(Uu||(Uu={}));const Ks="orchestrator:logging-service",xq={id:Ks,dependencies:{featureServices:{[ui]:Ui.one,[Rg]:Op.one}},create:({featureServices:e})=>{const t=e[ui],r=e[Rg],{environment:n,slug:i}=t.getClientContext(),a=t.getTelemetryConfig(),{version:c}=t.getMetadata(),d=r.getFeatureFlagValue("client log url",void 0),y=(0,ON.default)({url:typeof d=="string"?d:void 0,telemetry:a,environment:n,clientSlug:i,appVersion:c});return{[Uu.one]:()=>({featureService:y})}}};var Pg;(function(e){e.one="1.0.0"})(Pg||(Pg={}));const RN="orchestrator:theme-service",Vq={id:RN,dependencies:{featureServices:{[lo]:Hr.one,[ui]:Ui.one,[Ks]:Uu.one}},create:({featureServices:e})=>{const t=e[lo],r=e[ui],n=e[Ks],{slug:i}=r.getClientContext(),a=new Bl.ThemeFactory(t,i);return a.createTheme().catch(c=>{n.error(c,"Error occurred while prefetching theme")}),a.getTheme().catch(c=>{n.error(c,"Error occurred while prefetching new theme")}),{[Pg.one]:()=>({featureService:a})}}};var PN=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Mg=function(e){return e&&e.Math==Math&&e},Qi=Mg(typeof globalThis=="object"&&globalThis)||Mg(typeof window=="object"&&window)||Mg(typeof self=="object"&&self)||Mg(typeof PN=="object"&&PN)||function(){return this}()||Function("return this")(),Ig={},Ja=function(e){try{return!!e()}catch{return!0}},Bq=Ja,ko=!Bq(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),kq=Ja,Ng=!kq(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),jq=Ng,Lg=Function.prototype.call,vo=jq?Lg.bind(Lg):function(){return Lg.apply(Lg,arguments)},Rb={},MN={}.propertyIsEnumerable,IN=Object.getOwnPropertyDescriptor,Qq=IN&&!MN.call({1:2},1);Rb.f=Qq?function(t){var r=IN(this,t);return!!r&&r.enumerable}:MN;var Pb=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},NN=Ng,LN=Function.prototype,qq=LN.bind,Mb=LN.call,Hq=NN&&qq.bind(Mb,Mb),wa=NN?function(e){return e&&Hq(e)}:function(e){return e&&function(){return Mb.apply(e,arguments)}},DN=wa,Yq=DN({}.toString),Wq=DN("".slice),Ib=function(e){return Wq(Yq(e),8,-1)},Kq=wa,zq=Ja,Xq=Ib,Nb=Object,Jq=Kq("".split),wN=zq(function(){return!Nb("z").propertyIsEnumerable(0)})?function(e){return Xq(e)=="String"?Jq(e,""):Nb(e)}:Nb,Zq=TypeError,UN=function(e){if(e==null)throw Zq("Can't call method on "+e);return e},eH=wN,tH=UN,Rp=function(e){return eH(tH(e))},Pi=function(e){return typeof e=="function"},rH=Pi,qc=function(e){return typeof e=="object"?e!==null:rH(e)},Lb=Qi,nH=Pi,iH=function(e){return nH(e)?e:void 0},$u=function(e,t){return arguments.length<2?iH(Lb[e]):Lb[e]&&Lb[e][t]},aH=wa,Db=aH({}.isPrototypeOf),oH=$u,Dg=oH("navigator","userAgent")||"",$N=Qi,wb=Dg,GN=$N.process,FN=$N.Deno,xN=GN&&GN.versions||FN&&FN.version,VN=xN&&xN.v8,jo,wg;VN&&(jo=VN.split("."),wg=jo[0]>0&&jo[0]<4?1:+(jo[0]+jo[1])),!wg&&wb&&(jo=wb.match(/Edge\/(\d+)/),(!jo||jo[1]>=74)&&(jo=wb.match(/Chrome\/(\d+)/),jo&&(wg=+jo[1])));var BN=wg,kN=BN,sH=Ja,jN=!!Object.getOwnPropertySymbols&&!sH(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&kN&&kN<41}),uH=jN,QN=uH&&!Symbol.sham&&typeof Symbol.iterator=="symbol",cH=$u,lH=Pi,dH=Db,fH=QN,_H=Object,qN=fH?function(e){return typeof e=="symbol"}:function(e){var t=cH("Symbol");return lH(t)&&dH(t.prototype,_H(e))},pH=String,Ug=function(e){try{return pH(e)}catch{return"Object"}},hH=Pi,SH=Ug,mH=TypeError,Hc=function(e){if(hH(e))return e;throw mH(SH(e)+" is not a function")},gH=Hc,Ub=function(e,t){var r=e[t];return r==null?void 0:gH(r)},$b=vo,Gb=Pi,Fb=qc,vH=TypeError,EH=function(e,t){var r,n;if(t==="string"&&Gb(r=e.toString)&&!Fb(n=$b(r,e))||Gb(r=e.valueOf)&&!Fb(n=$b(r,e))||t!=="string"&&Gb(r=e.toString)&&!Fb(n=$b(r,e)))return n;throw vH("Can't convert object to primitive value")},xb={exports:{}},HN=Qi,yH=Object.defineProperty,Vb=function(e,t){try{yH(HN,e,{value:t,configurable:!0,writable:!0})}catch{HN[e]=t}return t},TH=Qi,AH=Vb,YN="__core-js_shared__",CH=TH[YN]||AH(YN,{}),Bb=CH,WN=Bb;(xb.exports=function(e,t){return WN[e]||(WN[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 bH=UN,OH=Object,kb=function(e){return OH(bH(e))},RH=wa,PH=kb,MH=RH({}.hasOwnProperty),gs=Object.hasOwn||function(t,r){return MH(PH(t),r)},IH=wa,NH=0,LH=Math.random(),DH=IH(1 .toString),KN=function(e){return"Symbol("+(e===void 0?"":e)+")_"+DH(++NH+LH,36)},wH=Qi,UH=xb.exports,zN=gs,$H=KN,XN=jN,JN=QN,Vd=UH("wks"),Yc=wH.Symbol,ZN=Yc&&Yc.for,GH=JN?Yc:Yc&&Yc.withoutSetter||$H,Ua=function(e){if(!zN(Vd,e)||!(XN||typeof Vd[e]=="string")){var t="Symbol."+e;XN&&zN(Yc,e)?Vd[e]=Yc[e]:JN&&ZN?Vd[e]=ZN(t):Vd[e]=GH(t)}return Vd[e]},FH=vo,eL=qc,tL=qN,xH=Ub,VH=EH,BH=Ua,kH=TypeError,jH=BH("toPrimitive"),QH=function(e,t){if(!eL(e)||tL(e))return e;var r=xH(e,jH),n;if(r){if(t===void 0&&(t="default"),n=FH(r,e,t),!eL(n)||tL(n))return n;throw kH("Can't convert object to primitive value")}return t===void 0&&(t="number"),VH(e,t)},qH=QH,HH=qN,rL=function(e){var t=qH(e,"string");return HH(t)?t:t+""},YH=Qi,nL=qc,jb=YH.document,WH=nL(jb)&&nL(jb.createElement),$g=function(e){return WH?jb.createElement(e):{}},KH=ko,zH=Ja,XH=$g,iL=!KH&&!zH(function(){return Object.defineProperty(XH("div"),"a",{get:function(){return 7}}).a!=7}),JH=ko,ZH=vo,eY=Rb,tY=Pb,rY=Rp,nY=rL,iY=gs,aY=iL,aL=Object.getOwnPropertyDescriptor;Ig.f=JH?aL:function(t,r){if(t=rY(t),r=nY(r),aY)try{return aL(t,r)}catch{}if(iY(t,r))return tY(!ZH(eY.f,t,r),t[r])};var zs={},oY=ko,sY=Ja,oL=oY&&sY(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),uY=qc,cY=String,lY=TypeError,vs=function(e){if(uY(e))return e;throw lY(cY(e)+" is not an object")},dY=ko,fY=iL,_Y=oL,Gg=vs,sL=rL,pY=TypeError,Qb=Object.defineProperty,hY=Object.getOwnPropertyDescriptor,qb="enumerable",Hb="configurable",Yb="writable";zs.f=dY?_Y?function(t,r,n){if(Gg(t),r=sL(r),Gg(n),typeof t=="function"&&r==="prototype"&&"value"in n&&Yb in n&&!n[Yb]){var i=hY(t,r);i&&i[Yb]&&(t[r]=n.value,n={configurable:Hb in n?n[Hb]:i[Hb],enumerable:qb in n?n[qb]:i[qb],writable:!1})}return Qb(t,r,n)}:Qb:function(t,r,n){if(Gg(t),r=sL(r),Gg(n),fY)try{return Qb(t,r,n)}catch{}if("get"in n||"set"in n)throw pY("Accessors not supported");return"value"in n&&(t[r]=n.value),t};var SY=ko,mY=zs,gY=Pb,Fg=SY?function(e,t,r){return mY.f(e,t,gY(1,r))}:function(e,t,r){return e[t]=r,e},uL={exports:{}},Wb=ko,vY=gs,cL=Function.prototype,EY=Wb&&Object.getOwnPropertyDescriptor,Kb=vY(cL,"name"),yY=Kb&&function(){}.name==="something",TY=Kb&&(!Wb||Wb&&EY(cL,"name").configurable),lL={EXISTS:Kb,PROPER:yY,CONFIGURABLE:TY},AY=wa,CY=Pi,zb=Bb,bY=AY(Function.toString);CY(zb.inspectSource)||(zb.inspectSource=function(e){return bY(e)});var xg=zb.inspectSource,OY=Qi,RY=Pi,PY=xg,dL=OY.WeakMap,MY=RY(dL)&&/native code/.test(PY(dL)),IY=xb.exports,NY=KN,fL=IY("keys"),Xb=function(e){return fL[e]||(fL[e]=NY(e))},Jb={},LY=MY,_L=Qi,Zb=wa,DY=qc,wY=Fg,eO=gs,tO=Bb,UY=Xb,$Y=Jb,pL="Object already initialized",rO=_L.TypeError,GY=_L.WeakMap,Vg,Pp,Bg,FY=function(e){return Bg(e)?Pp(e):Vg(e,{})},xY=function(e){return function(t){var r;if(!DY(t)||(r=Pp(t)).type!==e)throw rO("Incompatible receiver, "+e+" required");return r}};if(LY||tO.state){var Wc=tO.state||(tO.state=new GY),VY=Zb(Wc.get),hL=Zb(Wc.has),BY=Zb(Wc.set);Vg=function(e,t){if(hL(Wc,e))throw new rO(pL);return t.facade=e,BY(Wc,e,t),t},Pp=function(e){return VY(Wc,e)||{}},Bg=function(e){return hL(Wc,e)}}else{var Bd=UY("state");$Y[Bd]=!0,Vg=function(e,t){if(eO(e,Bd))throw new rO(pL);return t.facade=e,wY(e,Bd,t),t},Pp=function(e){return eO(e,Bd)?e[Bd]:{}},Bg=function(e){return eO(e,Bd)}}var nO={set:Vg,get:Pp,has:Bg,enforce:FY,getterFor:xY},kY=Ja,jY=Pi,kg=gs,iO=ko,QY=lL.CONFIGURABLE,qY=xg,SL=nO,HY=SL.enforce,YY=SL.get,jg=Object.defineProperty,WY=iO&&!kY(function(){return jg(function(){},"length",{value:8}).length!==8}),KY=String(String).split("String"),zY=uL.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),(!kg(e,"name")||QY&&e.name!==t)&&(iO?jg(e,"name",{value:t,configurable:!0}):e.name=t),WY&&r&&kg(r,"arity")&&e.length!==r.arity&&jg(e,"length",{value:r.arity});try{r&&kg(r,"constructor")&&r.constructor?iO&&jg(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=HY(e);return kg(n,"source")||(n.source=KY.join(typeof t=="string"?t:"")),e};Function.prototype.toString=zY(function(){return jY(this)&&YY(this).source||qY(this)},"toString");var XY=Pi,JY=zs,ZY=uL.exports,e2=Vb,Mp=function(e,t,r,n){n||(n={});var i=n.enumerable,a=n.name!==void 0?n.name:t;if(XY(r)&&ZY(r,a,n),n.global)i?e[t]=r:e2(t,r);else{try{n.unsafe?e[t]&&(i=!0):delete e[t]}catch{}i?e[t]=r:JY.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},mL={},t2=Math.ceil,r2=Math.floor,n2=Math.trunc||function(t){var r=+t;return(r>0?r2:t2)(r)},i2=n2,gL=function(e){var t=+e;return t!==t||t===0?0:i2(t)},a2=gL,o2=Math.max,s2=Math.min,u2=function(e,t){var r=a2(e);return r<0?o2(r+t,0):s2(r,t)},c2=gL,l2=Math.min,d2=function(e){return e>0?l2(c2(e),9007199254740991):0},f2=d2,vL=function(e){return f2(e.length)},_2=Rp,p2=u2,h2=vL,EL=function(e){return function(t,r,n){var i=_2(t),a=h2(i),c=p2(n,a),d;if(e&&r!=r){for(;a>c;)if(d=i[c++],d!=d)return!0}else for(;a>c;c++)if((e||c in i)&&i[c]===r)return e||c||0;return!e&&-1}},S2={includes:EL(!0),indexOf:EL(!1)},m2=wa,aO=gs,g2=Rp,v2=S2.indexOf,E2=Jb,yL=m2([].push),TL=function(e,t){var r=g2(e),n=0,i=[],a;for(a in r)!aO(E2,a)&&aO(r,a)&&yL(i,a);for(;t.length>n;)aO(r,a=t[n++])&&(~v2(i,a)||yL(i,a));return i},oO=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],y2=TL,T2=oO,A2=T2.concat("length","prototype");mL.f=Object.getOwnPropertyNames||function(t){return y2(t,A2)};var sO={};sO.f=Object.getOwnPropertySymbols;var C2=$u,b2=wa,O2=mL,R2=sO,P2=vs,M2=b2([].concat),I2=C2("Reflect","ownKeys")||function(t){var r=O2.f(P2(t)),n=R2.f;return n?M2(r,n(t)):r},AL=gs,N2=I2,L2=Ig,D2=zs,w2=function(e,t,r){for(var n=N2(t),i=D2.f,a=L2.f,c=0;c<n.length;c++){var d=n[c];!AL(e,d)&&!(r&&AL(r,d))&&i(e,d,a(t,d))}},U2=Ja,$2=Pi,G2=/#|\.prototype\./,Ip=function(e,t){var r=x2[F2(e)];return r==B2?!0:r==V2?!1:$2(t)?U2(t):!!t},F2=Ip.normalize=function(e){return String(e).replace(G2,".").toLowerCase()},x2=Ip.data={},V2=Ip.NATIVE="N",B2=Ip.POLYFILL="P",CL=Ip,uO=Qi,k2=Ig.f,j2=Fg,Q2=Mp,q2=Vb,H2=w2,Y2=CL,Gu=function(e,t){var r=e.target,n=e.global,i=e.stat,a,c,d,y,h,g;if(n?c=uO:i?c=uO[r]||q2(r,{}):c=(uO[r]||{}).prototype,c)for(d in t){if(h=t[d],e.dontCallGetSet?(g=k2(c,d),y=g&&g.value):y=c[d],a=Y2(n?d:r+(i?".":"#")+d,e.forced),!a&&y!==void 0){if(typeof h==typeof y)continue;H2(h,y)}(e.sham||y&&y.sham)&&j2(h,"sham",!0),Q2(c,d,h,e)}},W2=Pi,K2=String,z2=TypeError,X2=function(e){if(typeof e=="object"||W2(e))return e;throw z2("Can't set "+K2(e)+" as a prototype")},J2=wa,Z2=vs,e8=X2,bL=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=J2(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),r(t,[]),e=t instanceof Array}catch{}return function(i,a){return Z2(i),e8(a),e?r(i,a):i.__proto__=a,i}}():void 0),t8=zs.f,r8=gs,n8=Ua,OL=n8("toStringTag"),cO=function(e,t,r){e&&!r&&(e=e.prototype),e&&!r8(e,OL)&&t8(e,OL,{configurable:!0,value:t})},i8=$u,RL=i8("document","documentElement"),Np={},a8=TL,o8=oO,PL=Object.keys||function(t){return a8(t,o8)},ML=ko,s8=wa,u8=vo,c8=Ja,lO=PL,l8=sO,d8=Rb,f8=kb,_8=wN,kd=Object.assign,IL=Object.defineProperty,p8=s8([].concat),h8=!kd||c8(function(){if(ML&&kd({b:1},kd(IL({},"a",{enumerable:!0,get:function(){IL(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}),kd({},e)[r]!=7||lO(kd({},t)).join("")!=n})?function(t,r){for(var n=f8(t),i=arguments.length,a=1,c=l8.f,d=d8.f;i>a;)for(var y=_8(arguments[a++]),h=c?p8(lO(y),c(y)):lO(y),g=h.length,x=0,z;g>x;)z=h[x++],(!ML||u8(d,y,z))&&(n[z]=y[z]);return n}:kd,S8=Gu,NL=h8;S8({target:"Object",stat:!0,arity:2,forced:Object.assign!==NL},{assign:NL});const m8={setProfileProperties(){},trackEvent(){},reset(){console.warn("Reset method not implemented for analytics context.")}},LL=null,nDe=({children:e,analyticsService:t})=>jsx(LL.Provider,Object.assign({value:t||m8},{children:e}));function g8(){return useContext(LL)}var DL={},v8=ko,E8=oL,y8=zs,T8=vs,A8=Rp,C8=PL;DL.f=v8&&!E8?Object.defineProperties:function(t,r){T8(t);for(var n=A8(r),i=C8(r),a=i.length,c=0,d;a>c;)y8.f(t,d=i[c++],n[d]);return t};var b8=vs,O8=DL,wL=oO,R8=Jb,P8=RL,M8=$g,I8=Xb,UL=">",$L="<",dO="prototype",fO="script",GL=I8("IE_PROTO"),_O=function(){},FL=function(e){return $L+fO+UL+e+$L+"/"+fO+UL},xL=function(e){e.write(FL("")),e.close();var t=e.parentWindow.Object;return e=null,t},N8=function(){var e=M8("iframe"),t="java"+fO+":",r;return e.style.display="none",P8.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(FL("document.F=Object")),r.close(),r.F},Qg,qg=function(){try{Qg=new ActiveXObject("htmlfile")}catch{}qg=typeof document<"u"?document.domain&&Qg?xL(Qg):N8():xL(Qg);for(var e=wL.length;e--;)delete qg[dO][wL[e]];return qg()};R8[GL]=!0;var VL=Object.create||function(t,r){var n;return t!==null?(_O[dO]=b8(t),n=new _O,_O[dO]=null,n[GL]=t):n=qg(),r===void 0?n:O8.f(n,r)},L8=Ua,D8=VL,w8=zs.f,pO=L8("unscopables"),hO=Array.prototype;hO[pO]==null&&w8(hO,pO,{configurable:!0,value:D8(null)});var U8=function(e){hO[pO][e]=!0},$8=Ja,G8=!$8(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),F8=gs,x8=Pi,V8=kb,B8=Xb,k8=G8,BL=B8("IE_PROTO"),SO=Object,j8=SO.prototype,kL=k8?SO.getPrototypeOf:function(e){var t=V8(e);if(F8(t,BL))return t[BL];var r=t.constructor;return x8(r)&&t instanceof r?r.prototype:t instanceof SO?j8:null},Q8=Ja,q8=Pi,jL=kL,H8=Mp,Y8=Ua,mO=Y8("iterator"),QL=!1,Kc,gO,vO;[].keys&&(vO=[].keys(),"next"in vO?(gO=jL(jL(vO)),gO!==Object.prototype&&(Kc=gO)):QL=!0);var W8=Kc==null||Q8(function(){var e={};return Kc[mO].call(e)!==e});W8&&(Kc={}),q8(Kc[mO])||H8(Kc,mO,function(){return this});var qL={IteratorPrototype:Kc,BUGGY_SAFARI_ITERATORS:QL},K8=qL.IteratorPrototype,z8=VL,X8=Pb,J8=cO,Z8=Np,eW=function(){return this},tW=function(e,t,r,n){var i=t+" Iterator";return e.prototype=z8(K8,{next:X8(+!n,r)}),J8(e,i,!1),Z8[i]=eW,e},rW=Gu,nW=vo,HL=lL,iW=Pi,aW=tW,YL=kL,WL=bL,oW=cO,sW=Fg,EO=Mp,uW=Ua,cW=Np,KL=qL,lW=HL.PROPER,dW=HL.CONFIGURABLE,zL=KL.IteratorPrototype,Hg=KL.BUGGY_SAFARI_ITERATORS,Lp=uW("iterator"),XL="keys",Dp="values",JL="entries",fW=function(){return this},_W=function(e,t,r,n,i,a,c){aW(r,t,n);var d=function(Ke){if(Ke===i&&z)return z;if(!Hg&&Ke in g)return g[Ke];switch(Ke){case XL:return function(){return new r(this,Ke)};case Dp:return function(){return new r(this,Ke)};case JL:return function(){return new r(this,Ke)}}return function(){return new r(this)}},y=t+" Iterator",h=!1,g=e.prototype,x=g[Lp]||g["@@iterator"]||i&&g[i],z=!Hg&&x||d(i),ve=t=="Array"&&g.entries||x,ye,Re,Ye;if(ve&&(ye=YL(ve.call(new e)),ye!==Object.prototype&&ye.next&&(YL(ye)!==zL&&(WL?WL(ye,zL):iW(ye[Lp])||EO(ye,Lp,fW)),oW(ye,y,!0))),lW&&i==Dp&&x&&x.name!==Dp&&(dW?sW(g,"name",Dp):(h=!0,z=function(){return nW(x,this)})),i)if(Re={values:d(Dp),keys:a?z:d(XL),entries:d(JL)},c)for(Ye in Re)(Hg||h||!(Ye in g))&&EO(g,Ye,Re[Ye]);else rW({target:t,proto:!0,forced:Hg||h},Re);return g[Lp]!==z&&EO(g,Lp,z,{name:i}),cW[t]=z,Re},pW=Rp,yO=U8,ZL=Np,eD=nO,hW=zs.f,SW=_W,mW=ko,tD="Array Iterator",gW=eD.set,vW=eD.getterFor(tD),EW=SW(Array,"Array",function(e,t){gW(this,{type:tD,target:pW(e),index:0,kind:t})},function(){var e=vW(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"),rD=ZL.Arguments=ZL.Array;if(yO("keys"),yO("values"),yO("entries"),mW&&rD.name!=="values")try{hW(rD,"name",{value:"values"})}catch{}var yW={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},TW=$g,TO=TW("span").classList,nD=TO&&TO.constructor&&TO.constructor.prototype,AW=nD===Object.prototype?void 0:nD,iD=Qi,aD=yW,CW=AW,wp=EW,AO=Fg,oD=Ua,CO=oD("iterator"),sD=oD("toStringTag"),bO=wp.values,uD=function(e,t){if(e){if(e[CO]!==bO)try{AO(e,CO,bO)}catch{e[CO]=bO}if(e[sD]||AO(e,sD,t),aD[t]){for(var r in wp)if(e[r]!==wp[r])try{AO(e,r,wp[r])}catch{e[r]=wp[r]}}}};for(var OO in aD)uD(iD[OO]&&iD[OO].prototype,OO);uD(CW,"DOMTokenList");const cD=Fy.createContext({customProperties:{},prefixArray:[],trackEvent(){},setProfileProperties(){},updateCustomProperty(){},clearCustomProperty(){},updateCustomProperties(){},clearCustomProperties(){},setPrefixArray(){},pushPrefix(){},popPrefix(){},reset(){console.warn("Reset method not implemented for custom analytics context.")}}),iDe=({children:e})=>{const{trackEvent:t,setProfileProperties:r}=g8(),[n,i]=useState({}),x={trackEvent:(z,ve=void 0,ye=void 0)=>{const Re=[z],Ye=Object.assign(Object.assign({},n),ve);Object.keys(Ye).length&&Re.push(Ye),ye&&Re.push(ye),t(...Re)},setProfileProperties:r,customProperties:n,updateCustomProperty:(z,ve)=>{i(ye=>Object.assign(Object.assign({},ye),{[z]:ve}))},clearCustomProperty:z=>{n==null||delete n[z],i(Object.assign({},n))},updateCustomProperties:z=>{i(ve=>Object.assign(Object.assign({},ve),z))},clearCustomProperties:()=>{i({})},reset:()=>{console.warn("Reset method not implemented for custom analytics context.")}};return jsx(cD.Provider,Object.assign({value:x},{children:e}))};function aDe(){return useContext(cD)}var jd=_(6934),bW=_(5250),OW=Ib,RW=Qi,Yg=OW(RW.process)=="process",PW=$u,MW=zs,IW=Ua,NW=ko,lD=IW("species"),LW=function(e){var t=PW(e),r=MW.f;NW&&t&&!t[lD]&&r(t,lD,{configurable:!0,get:function(){return this}})},DW=Db,wW=TypeError,UW=function(e,t){if(DW(t,e))return e;throw wW("Incorrect invocation")},$W=Ua,GW=$W("toStringTag"),dD={};dD[GW]="z";var FW=String(dD)==="[object z]",xW=FW,VW=Pi,Wg=Ib,BW=Ua,kW=BW("toStringTag"),jW=Object,QW=Wg(function(){return arguments}())=="Arguments",qW=function(e,t){try{return e[t]}catch{}},fD=xW?Wg:function(e){var t,r,n;return e===void 0?"Undefined":e===null?"Null":typeof(r=qW(t=jW(e),kW))=="string"?r:QW?Wg(t):(n=Wg(t))=="Object"&&VW(t.callee)?"Arguments":n},HW=wa,YW=Ja,_D=Pi,WW=fD,KW=$u,zW=xg,pD=function(){},XW=[],hD=KW("Reflect","construct"),RO=/^\s*(?:class|function)\b/,JW=HW(RO.exec),ZW=!RO.exec(pD),Up=function(t){if(!_D(t))return!1;try{return hD(pD,XW,t),!0}catch{return!1}},SD=function(t){if(!_D(t))return!1;switch(WW(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ZW||!!JW(RO,zW(t))}catch{return!0}};SD.sham=!0;var eK=!hD||YW(function(){var e;return Up(Up.call)||!Up(Object)||!Up(function(){e=!0})||e})?SD:Up,tK=eK,rK=Ug,nK=TypeError,iK=function(e){if(tK(e))return e;throw nK(rK(e)+" is not a constructor")},mD=vs,aK=iK,oK=Ua,sK=oK("species"),uK=function(e,t){var r=mD(e).constructor,n;return r===void 0||(n=mD(r)[sK])==null?t:aK(n)},cK=Ng,gD=Function.prototype,vD=gD.apply,ED=gD.call,lK=typeof Reflect=="object"&&Reflect.apply||(cK?ED.bind(vD):function(){return ED.apply(vD,arguments)}),yD=wa,dK=Hc,fK=Ng,_K=yD(yD.bind),PO=function(e,t){return dK(e),t===void 0?e:fK?_K(e,t):function(){return e.apply(t,arguments)}},pK=wa,hK=pK([].slice),SK=TypeError,mK=function(e,t){if(e<t)throw SK("Not enough arguments");return e},gK=Dg,TD=/(?:ipad|iphone|ipod).*applewebkit/i.test(gK),Za=Qi,vK=lK,EK=PO,AD=Pi,yK=gs,TK=Ja,CD=RL,AK=hK,bD=$g,CK=mK,bK=TD,OK=Yg,MO=Za.setImmediate,IO=Za.clearImmediate,RK=Za.process,NO=Za.Dispatch,PK=Za.Function,OD=Za.MessageChannel,MK=Za.String,LO=0,$p={},RD="onreadystatechange",Gp,zc,DO,wO;try{Gp=Za.location}catch{}var UO=function(e){if(yK($p,e)){var t=$p[e];delete $p[e],t()}},$O=function(e){return function(){UO(e)}},PD=function(e){UO(e.data)},MD=function(e){Za.postMessage(MK(e),Gp.protocol+"//"+Gp.host)};(!MO||!IO)&&(MO=function(t){CK(arguments.length,1);var r=AD(t)?t:PK(t),n=AK(arguments,1);return $p[++LO]=function(){vK(r,void 0,n)},zc(LO),LO},IO=function(t){delete $p[t]},OK?zc=function(e){RK.nextTick($O(e))}:NO&&NO.now?zc=function(e){NO.now($O(e))}:OD&&!bK?(DO=new OD,wO=DO.port2,DO.port1.onmessage=PD,zc=EK(wO.postMessage,wO)):Za.addEventListener&&AD(Za.postMessage)&&!Za.importScripts&&Gp&&Gp.protocol!=="file:"&&!TK(MD)?(zc=MD,Za.addEventListener("message",PD,!1)):RD in bD("script")?zc=function(e){CD.appendChild(bD("script"))[RD]=function(){CD.removeChild(this),UO(e)}}:zc=function(e){setTimeout($O(e),0)});var ID={set:MO,clear:IO},IK=Dg,NK=Qi,LK=/ipad|iphone|ipod/i.test(IK)&&NK.Pebble!==void 0,DK=Dg,wK=/web0s(?!.*chrome)/i.test(DK),Xc=Qi,ND=PO,UK=Ig.f,GO=ID.set,$K=TD,GK=LK,FK=wK,FO=Yg,LD=Xc.MutationObserver||Xc.WebKitMutationObserver,DD=Xc.document,wD=Xc.process,Kg=Xc.Promise,UD=UK(Xc,"queueMicrotask"),$D=UD&&UD.value,Fp,Jc,xp,Qd,xO,VO,zg,GD;$D||(Fp=function(){var e,t;for(FO&&(e=wD.domain)&&e.exit();Jc;){t=Jc.fn,Jc=Jc.next;try{t()}catch(r){throw Jc?Qd():xp=void 0,r}}xp=void 0,e&&e.enter()},!$K&&!FO&&!FK&&LD&&DD?(xO=!0,VO=DD.createTextNode(""),new LD(Fp).observe(VO,{characterData:!0}),Qd=function(){VO.data=xO=!xO}):!GK&&Kg&&Kg.resolve?(zg=Kg.resolve(void 0),zg.constructor=Kg,GD=ND(zg.then,zg),Qd=function(){GD(Fp)}):FO?Qd=function(){wD.nextTick(Fp)}:(GO=ND(GO,Xc),Qd=function(){GO(Fp)}));var xK=$D||function(e){var t={fn:e,next:void 0};xp&&(xp.next=t),Jc||(Jc=t,Qd()),xp=t},VK=Qi,BK=function(e,t){var r=VK.console;r&&r.error&&(arguments.length==1?r.error(e):r.error(e,t))},BO=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},FD=function(){this.head=null,this.tail=null};FD.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 kK=FD,jK=Qi,Xg=jK.Promise,xD=typeof Deno=="object"&&Deno&&typeof Deno.version=="object",QK=xD,qK=Yg,HK=!QK&&!qK&&typeof window=="object"&&typeof document=="object",YK=Qi,Vp=Xg,WK=Pi,KK=CL,zK=xg,XK=Ua,JK=HK,ZK=xD,kO=BN;Vp&&Vp.prototype;var ez=XK("species"),jO=!1,VD=WK(YK.PromiseRejectionEvent),tz=KK("Promise",function(){var e=zK(Vp),t=e!==String(Vp);if(!t&&kO===66)return!0;if(!kO||kO<51||!/native code/.test(e)){var r=new Vp(function(a){a(1)}),n=function(a){a(function(){},function(){})},i=r.constructor={};if(i[ez]=n,jO=r.then(function(){})instanceof n,!jO)return!0}return!t&&(JK||ZK)&&!VD}),Bp={CONSTRUCTOR:tz,REJECTION_EVENT:VD,SUBCLASSING:jO},qd={},BD=Hc,rz=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=BD(t),this.reject=BD(r)};qd.f=function(e){return new rz(e)};var nz=Gu,Jg=Yg,Fu=Qi,Hd=vo,kD=Mp,jD=bL,iz=cO,az=LW,oz=Hc,Zg=Pi,sz=qc,uz=UW,cz=uK,QD=ID.set,QO=xK,lz=BK,dz=BO,fz=kK,qD=nO,ev=Xg,qO=Bp,HD=qd,tv="Promise",YD=qO.CONSTRUCTOR,_z=qO.REJECTION_EVENT,pz=qO.SUBCLASSING,HO=qD.getterFor(tv),hz=qD.set,Yd=ev&&ev.prototype,Zc=ev,rv=Yd,WD=Fu.TypeError,YO=Fu.document,WO=Fu.process,KO=HD.f,Sz=KO,mz=!!(YO&&YO.createEvent&&Fu.dispatchEvent),KD="unhandledrejection",gz="rejectionhandled",zD=0,XD=1,vz=2,zO=1,JD=2,nv,ZD,Ez,e0,t0=function(e){var t;return sz(e)&&Zg(t=e.then)?t:!1},r0=function(e,t){var r=t.value,n=t.state==XD,i=n?e.ok:e.fail,a=e.resolve,c=e.reject,d=e.domain,y,h,g;try{i?(n||(t.rejection===JD&&Tz(t),t.rejection=zO),i===!0?y=r:(d&&d.enter(),y=i(r),d&&(d.exit(),g=!0)),y===e.promise?c(WD("Promise-chain cycle")):(h=t0(y))?Hd(h,y,a,c):a(y)):c(r)}catch(x){d&&!g&&d.exit(),c(x)}},n0=function(e,t){e.notified||(e.notified=!0,QO(function(){for(var r=e.reactions,n;n=r.get();)r0(n,e);e.notified=!1,t&&!e.rejection&&yz(e)}))},i0=function(e,t,r){var n,i;mz?(n=YO.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),Fu.dispatchEvent(n)):n={promise:t,reason:r},!_z&&(i=Fu["on"+e])?i(n):e===KD&&lz("Unhandled promise rejection",r)},yz=function(e){Hd(QD,Fu,function(){var t=e.facade,r=e.value,n=a0(e),i;if(n&&(i=dz(function(){Jg?WO.emit("unhandledRejection",r,t):i0(KD,t,r)}),e.rejection=Jg||a0(e)?JD:zO,i.error))throw i.value})},a0=function(e){return e.rejection!==zO&&!e.parent},Tz=function(e){Hd(QD,Fu,function(){var t=e.facade;Jg?WO.emit("rejectionHandled",t):i0(gz,t,e.value)})},Wd=function(e,t,r){return function(n){e(t,n,r)}},Kd=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=vz,n0(e,!0))},XO=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw WD("Promise can't be resolved itself");var n=t0(t);n?QO(function(){var i={done:!1};try{Hd(n,t,Wd(XO,i,e),Wd(Kd,i,e))}catch(a){Kd(i,a,e)}}):(e.value=t,e.state=XD,n0(e,!1))}catch(i){Kd({done:!1},i,e)}}};if(YD&&(Zc=function(t){uz(this,rv),oz(t),Hd(nv,this);var r=HO(this);try{t(Wd(XO,r),Wd(Kd,r))}catch(n){Kd(r,n)}},rv=Zc.prototype,nv=function(t){hz(this,{type:tv,done:!1,notified:!1,parent:!1,reactions:new fz,rejection:!1,state:zD,value:void 0})},nv.prototype=kD(rv,"then",function(t,r){var n=HO(this),i=KO(cz(this,Zc));return n.parent=!0,i.ok=Zg(t)?t:!0,i.fail=Zg(r)&&r,i.domain=Jg?WO.domain:void 0,n.state==zD?n.reactions.add(i):QO(function(){r0(i,n)}),i.promise}),ZD=function(){var e=new nv,t=HO(e);this.promise=e,this.resolve=Wd(XO,t),this.reject=Wd(Kd,t)},HD.f=KO=function(e){return e===Zc||e===Ez?new ZD(e):Sz(e)},Zg(ev)&&Yd!==Object.prototype)){e0=Yd.then,pz||kD(Yd,"then",function(t,r){var n=this;return new Zc(function(i,a){Hd(e0,n,i,a)}).then(t,r)},{unsafe:!0});try{delete Yd.constructor}catch{}jD&&jD(Yd,rv)}nz({global:!0,constructor:!0,wrap:!0,forced:YD},{Promise:Zc}),iz(Zc,tv,!1),az(tv);var Az=Ua,Cz=Np,bz=Az("iterator"),Oz=Array.prototype,Rz=function(e){return e!==void 0&&(Cz.Array===e||Oz[bz]===e)},Pz=fD,o0=Ub,Mz=Np,Iz=Ua,Nz=Iz("iterator"),s0=function(e){if(e!=null)return o0(e,Nz)||o0(e,"@@iterator")||Mz[Pz(e)]},Lz=vo,Dz=Hc,wz=vs,Uz=Ug,$z=s0,Gz=TypeError,Fz=function(e,t){var r=arguments.length<2?$z(e):t;if(Dz(r))return wz(Lz(r,e));throw Gz(Uz(e)+" is not iterable")},xz=vo,u0=vs,Vz=Ub,Bz=function(e,t,r){var n,i;u0(e);try{if(n=Vz(e,"return"),!n){if(t==="throw")throw r;return r}n=xz(n,e)}catch(a){i=!0,n=a}if(t==="throw")throw r;if(i)throw n;return u0(n),r},kz=PO,jz=vo,Qz=vs,qz=Ug,Hz=Rz,Yz=vL,c0=Db,Wz=Fz,Kz=s0,l0=Bz,zz=TypeError,iv=function(e,t){this.stopped=e,this.result=t},d0=iv.prototype,f0=function(e,t,r){var n=r&&r.that,i=!!(r&&r.AS_ENTRIES),a=!!(r&&r.IS_RECORD),c=!!(r&&r.IS_ITERATOR),d=!!(r&&r.INTERRUPTED),y=kz(t,n),h,g,x,z,ve,ye,Re,Ye=function(Xe){return h&&l0(h,"normal",Xe),new iv(!0,Xe)},Ke=function(Xe){return i?(Qz(Xe),d?y(Xe[0],Xe[1],Ye):y(Xe[0],Xe[1])):d?y(Xe,Ye):y(Xe)};if(a)h=e.iterator;else if(c)h=e;else{if(g=Kz(e),!g)throw zz(qz(e)+" is not iterable");if(Hz(g)){for(x=0,z=Yz(e);z>x;x++)if(ve=Ke(e[x]),ve&&c0(d0,ve))return ve;return new iv(!1)}h=Wz(e,g)}for(ye=a?e.next:h.next;!(Re=jz(ye,h)).done;){try{ve=Ke(Re.value)}catch(Xe){l0(h,"throw",Xe)}if(typeof ve=="object"&&ve&&c0(d0,ve))return ve}return new iv(!1)},Xz=Ua,_0=Xz("iterator"),p0=!1;try{var Jz=0,h0={next:function(){return{done:!!Jz++}},return:function(){p0=!0}};h0[_0]=function(){return this},Array.from(h0,function(){throw 2})}catch{}var Zz=function(e,t){if(!t&&!p0)return!1;var r=!1;try{var n={};n[_0]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch{}return r},e3=Xg,t3=Zz,r3=Bp.CONSTRUCTOR,S0=r3||!t3(function(e){e3.all(e).then(void 0,function(){})}),n3=Gu,i3=vo,a3=Hc,o3=qd,s3=BO,u3=f0,c3=S0;n3({target:"Promise",stat:!0,forced:c3},{all:function(t){var r=this,n=o3.f(r),i=n.resolve,a=n.reject,c=s3(function(){var d=a3(r.resolve),y=[],h=0,g=1;u3(t,function(x){var z=h++,ve=!1;g++,i3(d,r,x).then(function(ye){ve||(ve=!0,y[z]=ye,--g||i(y))},a)}),--g||i(y)});return c.error&&a(c.value),n.promise}});var l3=Gu,d3=Bp.CONSTRUCTOR,JO=Xg,f3=$u,_3=Pi,p3=Mp,m0=JO&&JO.prototype;if(l3({target:"Promise",proto:!0,forced:d3,real:!0},{catch:function(e){return this.then(void 0,e)}}),_3(JO)){var g0=f3("Promise").prototype.catch;m0.catch!==g0&&p3(m0,"catch",g0,{unsafe:!0})}var h3=Gu,S3=vo,m3=Hc,g3=qd,v3=BO,E3=f0,y3=S0;h3({target:"Promise",stat:!0,forced:y3},{race:function(t){var r=this,n=g3.f(r),i=n.reject,a=v3(function(){var c=m3(r.resolve);E3(t,function(d){S3(c,r,d).then(n.resolve,i)})});return a.error&&i(a.value),n.promise}});var T3=Gu,A3=vo,C3=qd,b3=Bp.CONSTRUCTOR;T3({target:"Promise",stat:!0,forced:b3},{reject:function(t){var r=C3.f(this);return A3(r.reject,void 0,t),r.promise}});var O3=vs,R3=qc,P3=qd,M3=function(e,t){if(O3(e),R3(t)&&t.constructor===e)return t;var r=P3.f(e),n=r.resolve;return n(t),r.promise},I3=Gu,N3=$u,L3=Bp.CONSTRUCTOR,D3=M3;N3("Promise"),I3({target:"Promise",stat:!0,forced:L3},{resolve:function(t){return D3(this,t)}});function w3(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 v0(e,t,r,n){function i(a){return a instanceof r?a:new r(function(c){c(a)})}return new(r||(r=Promise))(function(a,c){function d(g){try{h(n.next(g))}catch(x){c(x)}}function y(g){try{h(n.throw(g))}catch(x){c(x)}}function h(g){g.done?a(g.value):i(g.value).then(d,y)}h((n=n.apply(e,t||[])).next())})}class ZO{static initializeGoogleTagManager(t){return v0(this,void 0,void 0,function*(){return new ZO(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 v0(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 U3{constructor(t,r,n){jd.init(t.key),r&&jd.register(r),n&&this.setProfileProperties(n)}setProfileProperties(t){var{id:r}=t,n=w3(t,["id"]);r&&jd.identify(r),jd.people.set(n)}trackEvent(t,r){jd.track(t,r)}reset(){jd.reset()}}class $3{constructor(t=[]){this.services=t,(0,bW.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 G3(e,t,r){const n=new $3;return e&&(e?.mixPanel&&e?.mixPanel.length&&e.mixPanel.forEach(i=>{n.append(new U3(i,t,r))}),e?.googleTagManager&&e.googleTagManager.length&&e.googleTagManager.forEach(i=>n.append(new ZO(i)))),n}class oDe{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 zd;(function(e){e.one="1.0.0"})(zd||(zd={}));const kp="orchestrator:analytics-service",F3={id:kp,dependencies:{featureServices:{[ui]:Ui.one}},create:({featureServices:e})=>{const t=e[ui],{client:r,app:n,slug:i,frontendEnvironment:a}=t.getClientContext(),{version:c}=t.getMetadata(),d=G3(a?.analytics||{},{client:r,app:n,clientSlug:i,appVersion:c},{});return t.getStore().subscribe(()=>{var y,h,g,x;const z=t.getUser();!((h=(y=z?.tokenData)===null||y===void 0?void 0:y.idToken)===null||h===void 0)&&h.payload&&d.setProfileProperties({id:z.tokenData.idToken.payload["custom:bwellFhirPersonId"],clientPersonId:z.tokenData.idToken.payload["custom:clientFhirPersonId"],clientPatientId:z.tokenData.idToken.payload["custom:clientFhirPatientId"],isInternalTestUser:(x=(g=z.meta)===null||g===void 0?void 0:g.tag)===null||x===void 0?void 0:x.some(ve=>ve.code==="bwelltestuser")})}),{[zd.one]:()=>({featureService:d})}}};var eR=_(8577),av;(function(e){e.one="1.0.0"})(av||(av={}));const E0="orchestrator:auth-service",x3={id:E0,dependencies:{featureServices:{[lo]:Hr.one},externals:{}},create:({featureServices:e})=>{const t=e[lo],r=new eR.Auth(t);return{[av.one]:()=>({featureService:r})}}};function sDe(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 uDe(e,t,r,n){function i(a){return a instanceof r?a:new r(function(c){c(a)})}return new(r||(r=Promise))(function(a,c){function d(g){try{h(n.next(g))}catch(x){c(x)}}function y(g){try{h(n.throw(g))}catch(x){c(x)}}function h(g){g.done?a(g.value):i(g.value).then(d,y)}h((n=n.apply(e,t||[])).next())})}function Qo(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 V3(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 qo=_(934),Es=_(9226),Ho,jp,ys;const{ROUTE_NAVIGATION_DELEGATE:B3}=Es.ErrorCode;class k3{constructor(){Ho.add(this),jp.set(this,void 0)}setDelegate(t){V3(this,jp,t,"f")}navigate(t,r){return typeof t=="number"?Qo(this,Ho,"a",ys).navigate(t):Qo(this,Ho,"a",ys).navigate(t,r)}has(t){return Qo(this,Ho,"a",ys).has(t)}getPath(t){return Qo(this,Ho,"a",ys).getPath(t)}getHref(t){return Qo(this,Ho,"a",ys).getHref(t)}getSearchParams(){return Qo(this,Ho,"a",ys).getSearchParams()}setSearchParams(t,r){Qo(this,Ho,"a",ys).setSearchParams(t,r)}getUrlParams(){return Qo(this,Ho,"a",ys).getUrlParams()}getId(t){return Qo(this,Ho,"a",ys).getId(t)}}jp=new WeakMap,Ho=new WeakSet,ys=function(){if(!Qo(this,jp,"f"))throw new qo.b("route navigation delegate has not been set",{errorCode:B3});return Qo(this,jp,"f")};var ov;(function(e){e.one="1.0.0"})(ov||(ov={}));const y0="orchestrator:navigation-service",j3={id:y0,create:()=>{const e=new k3;return{[ov.one]:()=>({featureService:e})}}},br=e=>typeof e=="string",Qp=()=>{let e,t;const r=new Promise((n,i)=>{e=n,t=i});return r.resolve=e,r.reject=t,r},T0=e=>e==null?"":""+e,Q3=(e,t,r)=>{e.forEach(n=>{t[n]&&(r[n]=t[n])})},q3=/###/g,A0=e=>e&&e.indexOf("###")>-1?e.replace(q3,"."):e,C0=e=>!e||br(e),qp=(e,t,r)=>{const n=br(t)?t.split("."):t;let i=0;for(;i<n.length-1;){if(C0(e))return{};const a=A0(n[i]);!e[a]&&r&&(e[a]=new r),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={},++i}return C0(e)?{}:{obj:e,k:A0(n[i])}},b0=(e,t,r)=>{const{obj:n,k:i}=qp(e,t,Object);if(n!==void 0||t.length===1){n[i]=r;return}let a=t[t.length-1],c=t.slice(0,t.length-1),d=qp(e,c,Object);for(;d.obj===void 0&&c.length;)a=`${c[c.length-1]}.${a}`,c=c.slice(0,c.length-1),d=qp(e,c,Object),d?.obj&&typeof d.obj[`${d.k}.${a}`]<"u"&&(d.obj=void 0);d.obj[`${d.k}.${a}`]=r},H3=(e,t,r,n)=>{const{obj:i,k:a}=qp(e,t,Object);i[a]=i[a]||[],i[a].push(r)},sv=(e,t)=>{const{obj:r,k:n}=qp(e,t);if(!!r&&!!Object.prototype.hasOwnProperty.call(r,n))return r[n]},Y3=(e,t,r)=>{const n=sv(e,r);return n!==void 0?n:sv(t,r)},O0=(e,t,r)=>{for(const n in t)n!=="__proto__"&&n!=="constructor"&&(n in e?br(e[n])||e[n]instanceof String||br(t[n])||t[n]instanceof String?r&&(e[n]=t[n]):O0(e[n],t[n],r):e[n]=t[n]);return e},Xd=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var W3={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const K3=e=>br(e)?e.replace(/[&<>"'\/]/g,t=>W3[t]):e;class z3{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 X3=[" ",",","?","!",";"],J3=new z3(20),Z3=(e,t,r)=>{t=t||"",r=r||"";const n=X3.filter(c=>t.indexOf(c)<0&&r.indexOf(c)<0);if(n.length===0)return!0;const i=J3.getRegExp(`(${n.map(c=>c==="?"?"\\?":c).join("|")})`);let a=!i.test(e);if(!a){const c=e.indexOf(r);c>0&&!i.test(e.substring(0,c))&&(a=!0)}return a},tR=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 c,d="";for(let y=a;y<n.length;++y)if(y!==a&&(d+=r),d+=n[y],c=i[d],c!==void 0){if(["string","number","boolean"].indexOf(typeof c)>-1&&y<n.length-1)continue;a+=y-a+1;break}i=c}return i},uv=e=>e?.replace("_","-"),e4={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 cv{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||e4,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:(br(t[0])&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[r](t))}create(t){return new cv(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new cv(this.logger,t)}}var Ts=new cv;class lv{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(c=>{let[d,y]=c;for(let h=0;h<y;h++)d(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(c=>{let[d,y]=c;for(let h=0;h<y;h++)d.apply(d,[t,...n])})}}class R0 extends lv{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,c=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):br(n)&&a?d.push(...n.split(a)):d.push(n)));const y=sv(this.data,d);return!y&&!r&&!n&&t.indexOf(".")>-1&&(t=d[0],r=d[1],n=d.slice(2).join(".")),y||!c||!br(n)?y:tR(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 c=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let d=[t,r];n&&(d=d.concat(c?n.split(c):n)),t.indexOf(".")>-1&&(d=t.split("."),i=r,r=d[1]),this.addNamespaces(r),b0(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)(br(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 c=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 y=sv(this.data,d)||{};c.skipCopy||(n=JSON.parse(JSON.stringify(n))),i?O0(y,n,a):y={...y,...n},b0(this.data,d,y),c.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 P0={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 M0={},I0=e=>!br(e)&&typeof e!="boolean"&&typeof e!="number";class dv extends lv{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Q3(["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 c=n&&t.indexOf(n)>-1,d=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!Z3(t,n,i);if(c&&!d){const y=t.match(this.interpolator.nestingRegexp);if(y&&y.length>0)return{key:t,namespaces:br(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:br(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:c,namespaces:d}=this.extractFromKey(t[t.length-1],r),y=d[d.length-1],h=r.lng||this.language,g=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(h?.toLowerCase()==="cimode"){if(g){const Ni=r.nsSeparator||this.options.nsSeparator;return i?{res:`${y}${Ni}${c}`,usedKey:c,exactUsedKey:c,usedLng:h,usedNS:y,usedParams:this.getUsedParamsDetails(r)}:`${y}${Ni}${c}`}return i?{res:c,usedKey:c,exactUsedKey:c,usedLng:h,usedNS:y,usedParams:this.getUsedParamsDetails(r)}:c}const x=this.resolve(t,r);let z=x?.res;const ve=x?.usedKey||c,ye=x?.exactUsedKey||c,Re=["[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&&!br(r.count),gt=dv.hasDefaultValue(r),Nt=Xe?this.pluralResolver.getSuffix(h,r.count,r):"",ir=r.ordinal&&Xe?this.pluralResolver.getSuffix(h,r.count,{ordinal:!1}):"",Mr=Xe&&!r.ordinal&&r.count===0,Lr=Mr&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${Nt}`]||r[`defaultValue${ir}`]||r.defaultValue;let Tn=z;Ke&&!z&&gt&&(Tn=Lr);const ka=I0(Tn),Ny=Object.prototype.toString.apply(Tn);if(Ke&&Tn&&ka&&Re.indexOf(Ny)<0&&!(br(Ye)&&Array.isArray(Tn))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const Ni=this.options.returnedObjectHandler?this.options.returnedObjectHandler(ve,Tn,{...r,ns:d}):`key '${c} (${this.language})' returned an object instead of string.`;return i?(x.res=Ni,x.usedParams=this.getUsedParamsDetails(r),x):Ni}if(a){const Ni=Array.isArray(Tn),mi=Ni?[]:{},t_=Ni?ye:ve;for(const Us in Tn)if(Object.prototype.hasOwnProperty.call(Tn,Us)){const du=`${t_}${a}${Us}`;gt&&!z?mi[Us]=this.translate(du,{...r,defaultValue:I0(Lr)?Lr[Us]:void 0,joinArrays:!1,ns:d}):mi[Us]=this.translate(du,{...r,joinArrays:!1,ns:d}),mi[Us]===du&&(mi[Us]=Tn[Us])}z=mi}}else if(Ke&&br(Ye)&&Array.isArray(z))z=z.join(Ye),z&&(z=this.extendTranslation(z,t,r,n));else{let Ni=!1,mi=!1;!this.isValidLookup(z)&&gt&&(Ni=!0,z=Lr),this.isValidLookup(z)||(mi=!0,z=c);const Us=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&mi?void 0:z,du=gt&&Lr!==z&&this.options.updateMissing;if(mi||Ni||du){if(this.logger.log(du?"updateKey":"missingKey",h,y,c,du?Lr:z),a){const oo=this.resolve(c,{...r,keySeparator:!1});oo&&oo.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 sS=[];const Ly=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Ly&&Ly[0])for(let oo=0;oo<Ly.length;oo++)sS.push(Ly[oo]);else this.options.saveMissingTo==="all"?sS=this.languageUtils.toResolveHierarchy(r.lng||this.language):sS.push(r.lng||this.language);const $q=(oo,Ul,uS)=>{const Gq=gt&&uS!==z?uS:Us;this.options.missingKeyHandler?this.options.missingKeyHandler(oo,y,Ul,Gq,du,r):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(oo,y,Ul,Gq,du,r),this.emit("missingKey",oo,y,Ul,z)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Xe?sS.forEach(oo=>{const Ul=this.pluralResolver.getSuffixes(oo,r);Mr&&r[`defaultValue${this.options.pluralSeparator}zero`]&&Ul.indexOf(`${this.options.pluralSeparator}zero`)<0&&Ul.push(`${this.options.pluralSeparator}zero`),Ul.forEach(uS=>{$q([oo],c+uS,r[`defaultValue${uS}`]||Lr)})}):$q(sS,c,Lr))}z=this.extendTranslation(z,t,r,x,n),mi&&z===c&&this.options.appendNamespaceToMissingKey&&(z=`${y}:${c}`),(mi||Ni)&&this.options.parseMissingKeyHandler&&(z=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${y}:${c}`:c,Ni?z:void 0))}return i?(x.res=z,x.usedParams=this.getUsedParamsDetails(r),x):z}extendTranslation(t,r,n,i,a){var c=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=br(t)&&(n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let g;if(h){const z=t.match(this.interpolator.nestingRegexp);g=z&&z.length}let x=n.replace&&!br(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(x={...this.options.interpolation.defaultVariables,...x}),t=this.interpolator.interpolate(t,x,n.lng||this.language||i.usedLng,n),h){const z=t.match(this.interpolator.nestingRegexp),ve=z&&z.length;g<ve&&(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 z=arguments.length,ve=new Array(z),ye=0;ye<z;ye++)ve[ye]=arguments[ye];return a?.[0]===ve[0]&&!n.context?(c.logger.warn(`It seems you are nesting recursively key: ${ve[0]} in key: ${r[0]}`),null):c.translate(...ve,r)},n)),n.interpolation&&this.interpolator.reset()}const d=n.postProcess||this.options.postProcess,y=br(d)?[d]:d;return t!=null&&y?.length&&n.applyPostProcessor!==!1&&(t=P0.handle(y,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,c,d;return br(t)&&(t=[t]),t.forEach(y=>{if(this.isValidLookup(n))return;const h=this.extractFromKey(y,r),g=h.key;i=g;let x=h.namespaces;this.options.fallbackNS&&(x=x.concat(this.options.fallbackNS));const z=r.count!==void 0&&!br(r.count),ve=z&&!r.ordinal&&r.count===0,ye=r.context!==void 0&&(br(r.context)||typeof r.context=="number")&&r.context!=="",Re=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);x.forEach(Ye=>{this.isValidLookup(n)||(d=Ye,!M0[`${Re[0]}-${Ye}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(d)&&(M0[`${Re[0]}-${Ye}`]=!0,this.logger.warn(`key "${i}" for languages "${Re.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!!!")),Re.forEach(Ke=>{if(this.isValidLookup(n))return;c=Ke;const Xe=[g];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(Xe,g,Ke,Ye,r);else{let Nt;z&&(Nt=this.pluralResolver.getSuffix(Ke,r.count,r));const ir=`${this.options.pluralSeparator}zero`,Mr=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(z&&(Xe.push(g+Nt),r.ordinal&&Nt.indexOf(Mr)===0&&Xe.push(g+Nt.replace(Mr,this.options.pluralSeparator)),ve&&Xe.push(g+ir)),ye){const Lr=`${g}${this.options.contextSeparator}${r.context}`;Xe.push(Lr),z&&(Xe.push(Lr+Nt),r.ordinal&&Nt.indexOf(Mr)===0&&Xe.push(Lr+Nt.replace(Mr,this.options.pluralSeparator)),ve&&Xe.push(Lr+ir))}}let gt;for(;gt=Xe.pop();)this.isValidLookup(n)||(a=gt,n=this.getResource(Ke,Ye,gt,r))}))})}),{res:n,usedKey:i,exactUsedKey:a,usedLng:c,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&&!br(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 N0{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Ts.create("languageUtils")}getScriptPartFromCode(t){if(t=uv(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=uv(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(br(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)),br(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=c=>{!c||(this.isSupportedCode(c)?i.push(c):this.logger.warn(`rejecting language code not found in supportedLngs: ${c}`))};return br(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))):br(t)&&a(this.formatLanguageCode(t)),n.forEach(c=>{i.indexOf(c)<0&&a(this.formatLanguageCode(c))}),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 t4{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=uv(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 c;try{c=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 y=this.languageUtils.getLanguagePartFromCode(t);c=this.getRule(y,r)}return this.pluralRulesCache[a]=c,c}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 w0=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=Y3(e,t,r);return!a&&i&&br(r)&&(a=tR(e,r,n),a===void 0&&(a=tR(t,r,n))),a},rR=e=>e.replace(/\$/g,"$$$$");class r4{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:c,suffix:d,suffixEscaped:y,formatSeparator:h,unescapeSuffix:g,unescapePrefix:x,nestingPrefix:z,nestingPrefixEscaped:ve,nestingSuffix:ye,nestingSuffixEscaped:Re,nestingOptionsSeparator:Ye,maxReplaces:Ke,alwaysFormat:Xe}=t.interpolation;this.escape=r!==void 0?r:K3,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=a?Xd(a):c||"{{",this.suffix=d?Xd(d):y||"}}",this.formatSeparator=h||",",this.unescapePrefix=g?"":x||"-",this.unescapeSuffix=this.unescapePrefix?"":g||"",this.nestingPrefix=z?Xd(z):ve||Xd("$t("),this.nestingSuffix=ye?Xd(ye):Re||Xd(")"),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,c,d;const y=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},h=ve=>{if(ve.indexOf(this.formatSeparator)<0){const Ke=w0(r,y,ve,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(Ke,void 0,n,{...i,...r,interpolationkey:ve}):Ke}const ye=ve.split(this.formatSeparator),Re=ye.shift().trim(),Ye=ye.join(this.formatSeparator).trim();return this.format(w0(r,y,Re,this.options.keySeparator,this.options.ignoreJSONStructure),Ye,n,{...i,...r,interpolationkey:Re})};this.resetRegExp();const g=i?.missingInterpolationHandler||this.options.missingInterpolationHandler,x=i?.interpolation?.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:ve=>rR(ve)},{regex:this.regexp,safeValue:ve=>this.escapeValue?rR(this.escape(ve)):rR(ve)}].forEach(ve=>{for(d=0;a=ve.regex.exec(t);){const ye=a[1].trim();if(c=h(ye),c===void 0)if(typeof g=="function"){const Ye=g(t,a,i);c=br(Ye)?Ye:""}else if(i&&Object.prototype.hasOwnProperty.call(i,ye))c="";else if(x){c=a[0];continue}else this.logger.warn(`missed to pass in variable ${ye} for interpolating ${t}`),c="";else!br(c)&&!this.useRawValueToEscape&&(c=T0(c));const Re=ve.safeValue(c);if(t=t.replace(a[0],Re),x?(ve.regex.lastIndex+=c.length,ve.regex.lastIndex-=a[0].length):ve.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,c;const d=(y,h)=>{const g=this.nestingOptionsSeparator;if(y.indexOf(g)<0)return y;const x=y.split(new RegExp(`${g}[ ]*{`));let z=`{${x[1]}`;y=x[0],z=this.interpolate(z,c);const ve=z.match(/'/g),ye=z.match(/"/g);((ve?.length??0)%2===0&&!ye||ye.length%2!==0)&&(z=z.replace(/'/g,'"'));try{c=JSON.parse(z),h&&(c={...h,...c})}catch(Re){return this.logger.warn(`failed parsing options string in nesting for key ${y}`,Re),`${y}${g}${z}`}return c.defaultValue&&c.defaultValue.indexOf(this.prefix)>-1&&delete c.defaultValue,y};for(;i=this.nestingRegexp.exec(t);){let y=[];c={...n},c=c.replace&&!br(c.replace)?c.replace:c,c.applyPostProcessor=!1,delete c.defaultValue;let h=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const g=i[1].split(this.formatSeparator).map(x=>x.trim());i[1]=g.shift(),y=g,h=!0}if(a=r(d.call(this,i[1].trim(),c),c),a&&i[0]===t&&!br(a))return a;br(a)||(a=T0(a)),a||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),a=""),h&&(a=y.reduce((g,x)=>this.format(g,x,n.lng,{...n,interpolationkey:i[1].trim()}),a.trim())),t=t.replace(i[0],a),this.regexp.lastIndex=0}return t}}const n4=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(c=>{if(c){const[d,...y]=c.split(":"),h=y.join(":").trim().replace(/^'+|'+$/g,""),g=d.trim();r[g]||(r[g]=h),h==="false"&&(r[g]=!1),h==="true"&&(r[g]=!0),isNaN(h)||(r[g]=parseInt(h,10))}})}return{formatName:t,formatOptions:r}},Jd=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 c=n+JSON.stringify(a);let d=t[c];return d||(d=e(uv(n),i),t[c]=d),d(r)}};class i4{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Ts.create("formatter"),this.options=t,this.formats={number:Jd((r,n)=>{const i=new Intl.NumberFormat(r,{...n});return a=>i.format(a)}),currency:Jd((r,n)=>{const i=new Intl.NumberFormat(r,{...n,style:"currency"});return a=>i.format(a)}),datetime:Jd((r,n)=>{const i=new Intl.DateTimeFormat(r,{...n});return a=>i.format(a)}),relativetime:Jd((r,n)=>{const i=new Intl.RelativeTimeFormat(r,{...n});return a=>i.format(a,n.range||"day")}),list:Jd((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()]=Jd(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(y=>y.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,d)].join(this.formatSeparator)}return a.reduce((d,y)=>{const{formatName:h,formatOptions:g}=n4(y);if(this.formats[h]){let x=d;try{const z=i?.formatParams?.[i.interpolationkey]||{},ve=z.locale||z.lng||i.locale||i.lng||n;x=this.formats[h](d,ve,{...g,...i,...z})}catch(z){this.logger.warn(z)}return x}else this.logger.warn(`there was no format function for ${h}`);return d},t)}}const a4=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class o4 extends lv{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={},c={},d={},y={};return t.forEach(h=>{let g=!0;r.forEach(x=>{const z=`${h}|${x}`;!n.reload&&this.store.hasResourceBundle(h,x)?this.state[z]=2:this.state[z]<0||(this.state[z]===1?c[z]===void 0&&(c[z]=!0):(this.state[z]=1,g=!1,c[z]===void 0&&(c[z]=!0),a[z]===void 0&&(a[z]=!0),y[x]===void 0&&(y[x]=!0)))}),g||(d[h]=!0)}),(Object.keys(a).length||Object.keys(c).length)&&this.queue.push({pending:c,pendingCount:Object.keys(c).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(a),pending:Object.keys(c),toLoadLanguages:Object.keys(d),toLoadNamespaces:Object.keys(y)}}loaded(t,r,n){const i=t.split("|"),a=i[0],c=i[1];r&&this.emit("failedLoading",a,c,r),!r&&n&&this.store.addResourceBundle(a,c,n,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2,r&&n&&(this.state[t]=0);const d={};this.queue.forEach(y=>{H3(y.loaded,[a],c),a4(y,t),r&&y.errors.push(r),y.pendingCount===0&&!y.done&&(Object.keys(y.loaded).forEach(h=>{d[h]||(d[h]={});const g=y.loaded[h];g.length&&g.forEach(x=>{d[h][x]===void 0&&(d[h][x]=!0)})}),y.done=!0,y.errors.length?y.callback(y.errors):y.callback())}),this.emit("loaded",d),this.queue=this.queue.filter(y=>!y.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,c=arguments.length>5?arguments[5]:void 0;if(!t.length)return c(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:n,tried:i,wait:a,callback:c});return}this.readingCalls++;const d=(h,g)=>{if(this.readingCalls--,this.waitingReads.length>0){const x=this.waitingReads.shift();this.read(x.lng,x.ns,x.fcName,x.tried,x.wait,x.callback)}if(h&&g&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,t,r,n,i+1,a*2,c)},a);return}c(h,g)},y=this.backend[n].bind(this.backend);if(y.length===2){try{const h=y(t,r);h&&typeof h.then=="function"?h.then(g=>d(null,g)).catch(d):d(null,h)}catch(h){d(h)}return}return y(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();br(t)&&(t=this.languageUtils.toResolveHierarchy(t)),br(r)&&(r=[r]);const a=this.queueLoad(t,r,n,i);if(!a.toLoad.length)return a.pending.length||i(),null;a.toLoad.forEach(c=>{this.loadOne(c)})}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,(c,d)=>{c&&this.logger.warn(`${r}loading namespace ${a} for language ${i} failed`,c),!c&&d&&this.logger.log(`${r}loaded namespace ${a} for language ${i}`,d),this.loaded(t,c,d)})}saveMissing(t,r,n,i,a){let c=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 y={...c,isUpdate:a},h=this.backend.create.bind(this.backend);if(h.length<6)try{let g;h.length===5?g=h(t,r,n,i,y):g=h(t,r,n,i),g&&typeof g.then=="function"?g.then(x=>d(null,x)).catch(d):d(null,g)}catch(g){d(g)}else h(t,r,n,i,d,y)}!t||!t[0]||this.store.addResource(t[0],r,n,i)}}}const U0=()=>({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]),br(e[1])&&(t.defaultValue=e[1]),br(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}}),$0=e=>(br(e.ns)&&(e.ns=[e.ns]),br(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),br(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),fv=()=>{},s4=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(r=>{typeof e[r]=="function"&&(e[r]=e[r].bind(e))})};class Hp extends lv{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(super(),this.options=$0(t),this.services={},this.logger=Ts,this.modules={external:[]},s4(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&&(br(r.ns)?r.defaultNS=r.ns:r.ns.indexOf("translation")<0&&(r.defaultNS=r.ns[0]));const i=U0();this.options={...i,...this.options,...$0(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=g=>g?typeof g=="function"?new g:g:null;if(!this.options.isClone){this.modules.logger?Ts.init(a(this.modules.logger),this.options):Ts.init(null,this.options);let g;this.modules.formatter?g=this.modules.formatter:g=i4;const x=new N0(this.options);this.store=new R0(this.options.resources,this.options);const z=this.services;z.logger=Ts,z.resourceStore=this.store,z.languageUtils=x,z.pluralResolver=new t4(x,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),g&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(z.formatter=a(g),z.formatter.init(z,this.options),this.options.interpolation.format=z.formatter.format.bind(z.formatter)),z.interpolator=new r4(this.options),z.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},z.backendConnector=new o4(a(this.modules.backend),z.resourceStore,z,this.options),z.backendConnector.on("*",function(ve){for(var ye=arguments.length,Re=new Array(ye>1?ye-1:0),Ye=1;Ye<ye;Ye++)Re[Ye-1]=arguments[Ye];t.emit(ve,...Re)}),this.modules.languageDetector&&(z.languageDetector=a(this.modules.languageDetector),z.languageDetector.init&&z.languageDetector.init(z,this.options.detection,this.options)),this.modules.i18nFormat&&(z.i18nFormat=a(this.modules.i18nFormat),z.i18nFormat.init&&z.i18nFormat.init(this)),this.translator=new dv(this.services,this.options),this.translator.on("*",function(ve){for(var ye=arguments.length,Re=new Array(ye>1?ye-1:0),Ye=1;Ye<ye;Ye++)Re[Ye-1]=arguments[Ye];t.emit(ve,...Re)}),this.modules.external.forEach(ve=>{ve.init&&ve.init(this)})}if(this.format=this.options.interpolation.format,n||(n=fv),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const g=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);g.length>0&&g[0]!=="dev"&&(this.options.lng=g[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(g=>{this[g]=function(){return t.store[g](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(g=>{this[g]=function(){return t.store[g](...arguments),t}});const y=Qp(),h=()=>{const g=(x,z)=>{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),y.resolve(z),n(x,z)};if(this.languages&&!this.isInitialized)return g(null,this.t.bind(this));this.changeLanguage(this.options.lng,g)};return this.options.resources||!this.options.initAsync?h():setTimeout(h,0),y}loadResources(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fv;const i=br(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=[],c=d=>{if(!d||d==="cimode")return;this.services.languageUtils.toResolveHierarchy(d).forEach(h=>{h!=="cimode"&&a.indexOf(h)<0&&a.push(h)})};i?c(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(y=>c(y)),this.options.preload?.forEach?.(d=>c(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=Qp();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=fv),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"&&P0.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=Qp();this.emit("languageChanging",t);const a=y=>{this.language=y,this.languages=this.services.languageUtils.toResolveHierarchy(y),this.resolvedLanguage=void 0,this.setResolvedLanguage(y)},c=(y,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(y,function(){return n.t(...arguments)})},d=y=>{!t&&!y&&this.services.languageDetector&&(y=[]);const h=br(y)?y:this.services.languageUtils.getBestMatchFromCodes(y);h&&(this.language||a(h),this.translator.language||this.translator.changeLanguage(h),this.services.languageDetector?.cacheUserLanguage?.(h)),this.loadResources(h,g=>{c(g,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(c,d){let y;if(typeof d!="object"){for(var h=arguments.length,g=new Array(h>2?h-2:0),x=2;x<h;x++)g[x-2]=arguments[x];y=i.options.overloadTranslationOptionHandler([c,d].concat(g))}else y={...d};y.lng=y.lng||a.lng,y.lngs=y.lngs||a.lngs,y.ns=y.ns||a.ns,y.keyPrefix!==""&&(y.keyPrefix=y.keyPrefix||n||a.keyPrefix);const z=i.options.keySeparator||".";let ve;return y.keyPrefix&&Array.isArray(c)?ve=c.map(ye=>`${y.keyPrefix}${z}${ye}`):ve=y.keyPrefix?`${y.keyPrefix}${z}${c}`:c,i.t(ve,y)};return br(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 c=(d,y)=>{const h=this.services.backendConnector.state[`${d}|${y}`];return h===-1||h===0||h===2};if(r.precheck){const d=r.precheck(this,c);if(d!==void 0)return d}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||c(n,t)&&(!i||c(a,t)))}loadNamespaces(t,r){const n=Qp();return this.options.ns?(br(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=Qp();br(t)&&(t=[t]);const i=this.options.preload||[],a=t.filter(c=>i.indexOf(c)<0&&this.services.languageUtils.isSupportedCode(c));return a.length?(this.options.preload=i.concat(a),this.loadResources(c=>{n.resolve(),r&&r(c)}),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 N0(U0());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 Hp(t,r)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fv;const n=t.forkResourceStore;n&&delete t.forkResourceStore;const i={...this.options,...t,isClone:!0},a=new Hp(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((y,h)=>(y[h]={...this.store.data[h]},Object.keys(y[h]).reduce((g,x)=>(g[x]={...y[h][x]},g),{})),{});a.store=new R0(d,i),a.services.resourceStore=a.store}return a.translator=new dv(a.services,i),a.translator.on("*",function(d){for(var y=arguments.length,h=new Array(y>1?y-1:0),g=1;g<y;g++)h[g-1]=arguments[g];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 ua=Hp.createInstance();ua.createInstance=Hp.createInstance;const cDe=ua.createInstance,lDe=ua.dir,dDe=ua.init,fDe=ua.loadResources,_De=ua.reloadResources,pDe=ua.use,hDe=ua.changeLanguage,SDe=ua.getFixedT,mDe=ua.t,gDe=ua.exists,vDe=ua.setDefaultNamespace,EDe=ua.hasLoadedNamespace,yDe=ua.loadNamespaces,TDe=ua.loadLanguages;var G0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yo=function(e){try{return!!e()}catch{return!0}},u4=Yo,F0=!u4(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),x0=F0,V0=Function.prototype,c4=V0.bind,nR=V0.call,l4=x0&&c4.bind(nR,nR),Wo=x0?function(e){return e&&l4(e)}:function(e){return e&&function(){return nR.apply(e,arguments)}},B0=Wo,d4=B0({}.toString),f4=B0("".slice),_4=function(e){return f4(d4(e),8,-1)},p4=Wo,h4=Yo,S4=_4,iR=Object,m4=p4("".split),k0=h4(function(){return!iR("z").propertyIsEnumerable(0)})?function(e){return S4(e)=="String"?m4(e,""):iR(e)}:iR,g4=TypeError,j0=function(e){if(e==null)throw g4("Can't call method on "+e);return e},v4=k0,E4=j0,Yp=function(e){return v4(E4(e))},_v=function(e){return e&&e.Math==Math&&e},As=_v(typeof globalThis=="object"&&globalThis)||_v(typeof window=="object"&&window)||_v(typeof self=="object"&&self)||_v(typeof G0=="object"&&G0)||function(){return this}()||Function("return this")(),aR={exports:{}},Q0=As,y4=Object.defineProperty,oR=function(e,t){try{y4(Q0,e,{value:t,configurable:!0,writable:!0})}catch{Q0[e]=t}return t},T4=As,A4=oR,q0="__core-js_shared__",C4=T4[q0]||A4(q0,{}),sR=C4,H0=sR;(aR.exports=function(e,t){return H0[e]||(H0[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 b4=j0,O4=Object,uR=function(e){return O4(b4(e))},R4=Wo,P4=uR,M4=R4({}.hasOwnProperty),Xs=Object.hasOwn||function(t,r){return M4(P4(t),r)},I4=Wo,N4=0,L4=Math.random(),D4=I4(1 .toString),Y0=function(e){return"Symbol("+(e===void 0?"":e)+")_"+D4(++N4+L4,36)},$a=function(e){return typeof e=="function"},cR=As,w4=$a,U4=function(e){return w4(e)?e:void 0},pv=function(e,t){return arguments.length<2?U4(cR[e]):cR[e]&&cR[e][t]},$4=pv,G4=$4("navigator","userAgent")||"",W0=As,lR=G4,K0=W0.process,z0=W0.Deno,X0=K0&&K0.versions||z0&&z0.version,J0=X0&&X0.v8,Ko,hv;J0&&(Ko=J0.split("."),hv=Ko[0]>0&&Ko[0]<4?1:+(Ko[0]+Ko[1])),!hv&&lR&&(Ko=lR.match(/Edge\/(\d+)/),(!Ko||Ko[1]>=74)&&(Ko=lR.match(/Chrome\/(\d+)/),Ko&&(hv=+Ko[1])));var F4=hv,Z0=F4,x4=Yo,ew=!!Object.getOwnPropertySymbols&&!x4(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Z0&&Z0<41}),V4=ew,tw=V4&&!Symbol.sham&&typeof Symbol.iterator=="symbol",B4=As,k4=aR.exports,rw=Xs,j4=Y0,nw=ew,iw=tw,Zd=k4("wks"),el=B4.Symbol,aw=el&&el.for,Q4=iw?el:el&&el.withoutSetter||j4,ef=function(e){if(!rw(Zd,e)||!(nw||typeof Zd[e]=="string")){var t="Symbol."+e;nw&&rw(el,e)?Zd[e]=el[e]:iw&&aw?Zd[e]=aw(t):Zd[e]=Q4(t)}return Zd[e]},q4=$a,Wp=function(e){return typeof e=="object"?e!==null:q4(e)},H4=Wp,Y4=String,W4=TypeError,Kp=function(e){if(H4(e))return e;throw W4(Y4(e)+" is not an object")},ow={},K4=Yo,Cs=!K4(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),z4=Cs,X4=Yo,sw=z4&&X4(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),xu={},J4=As,uw=Wp,dR=J4.document,Z4=uw(dR)&&uw(dR.createElement),fR=function(e){return Z4?dR.createElement(e):{}},e6=Cs,t6=Yo,r6=fR,cw=!e6&&!t6(function(){return Object.defineProperty(r6("div"),"a",{get:function(){return 7}}).a!=7}),n6=F0,Sv=Function.prototype.call,zp=n6?Sv.bind(Sv):function(){return Sv.apply(Sv,arguments)},i6=Wo,a6=i6({}.isPrototypeOf),o6=pv,s6=$a,u6=a6,c6=tw,l6=Object,lw=c6?function(e){return typeof e=="symbol"}:function(e){var t=o6("Symbol");return s6(t)&&u6(t.prototype,l6(e))},d6=String,f6=function(e){try{return d6(e)}catch{return"Object"}},_6=$a,p6=f6,h6=TypeError,S6=function(e){if(_6(e))return e;throw h6(p6(e)+" is not a function")},m6=S6,g6=function(e,t){var r=e[t];return r==null?void 0:m6(r)},_R=zp,pR=$a,hR=Wp,v6=TypeError,E6=function(e,t){var r,n;if(t==="string"&&pR(r=e.toString)&&!hR(n=_R(r,e))||pR(r=e.valueOf)&&!hR(n=_R(r,e))||t!=="string"&&pR(r=e.toString)&&!hR(n=_R(r,e)))return n;throw v6("Can't convert object to primitive value")},y6=zp,dw=Wp,fw=lw,T6=g6,A6=E6,C6=ef,b6=TypeError,O6=C6("toPrimitive"),R6=function(e,t){if(!dw(e)||fw(e))return e;var r=T6(e,O6),n;if(r){if(t===void 0&&(t="default"),n=y6(r,e,t),!dw(n)||fw(n))return n;throw b6("Can't convert object to primitive value")}return t===void 0&&(t="number"),A6(e,t)},P6=R6,M6=lw,_w=function(e){var t=P6(e,"string");return M6(t)?t:t+""},I6=Cs,N6=cw,L6=sw,mv=Kp,pw=_w,D6=TypeError,SR=Object.defineProperty,w6=Object.getOwnPropertyDescriptor,mR="enumerable",gR="configurable",vR="writable";xu.f=I6?L6?function(t,r,n){if(mv(t),r=pw(r),mv(n),typeof t=="function"&&r==="prototype"&&"value"in n&&vR in n&&!n[vR]){var i=w6(t,r);i&&i[vR]&&(t[r]=n.value,n={configurable:gR in n?n[gR]:i[gR],enumerable:mR in n?n[mR]:i[mR],writable:!1})}return SR(t,r,n)}:SR:function(t,r,n){if(mv(t),r=pw(r),mv(n),N6)try{return SR(t,r,n)}catch{}if("get"in n||"set"in n)throw D6("Accessors not supported");return"value"in n&&(t[r]=n.value),t};var U6=Math.ceil,$6=Math.floor,G6=Math.trunc||function(t){var r=+t;return(r>0?$6:U6)(r)},F6=G6,hw=function(e){var t=+e;return t!==t||t===0?0:F6(t)},x6=hw,V6=Math.max,B6=Math.min,k6=function(e,t){var r=x6(e);return r<0?V6(r+t,0):B6(r,t)},j6=hw,Q6=Math.min,q6=function(e){return e>0?Q6(j6(e),9007199254740991):0},H6=q6,Y6=function(e){return H6(e.length)},W6=Yp,K6=k6,z6=Y6,Sw=function(e){return function(t,r,n){var i=W6(t),a=z6(i),c=K6(n,a),d;if(e&&r!=r){for(;a>c;)if(d=i[c++],d!=d)return!0}else for(;a>c;c++)if((e||c in i)&&i[c]===r)return e||c||0;return!e&&-1}},X6={includes:Sw(!0),indexOf:Sw(!1)},ER={},J6=Wo,yR=Xs,Z6=Yp,e5=X6.indexOf,t5=ER,mw=J6([].push),gw=function(e,t){var r=Z6(e),n=0,i=[],a;for(a in r)!yR(t5,a)&&yR(r,a)&&mw(i,a);for(;t.length>n;)yR(r,a=t[n++])&&(~e5(i,a)||mw(i,a));return i},TR=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],r5=gw,n5=TR,vw=Object.keys||function(t){return r5(t,n5)},i5=Cs,a5=sw,o5=xu,s5=Kp,u5=Yp,c5=vw;ow.f=i5&&!a5?Object.defineProperties:function(t,r){s5(t);for(var n=u5(r),i=c5(r),a=i.length,c=0,d;a>c;)o5.f(t,d=i[c++],n[d]);return t};var l5=pv,d5=l5("document","documentElement"),f5=aR.exports,_5=Y0,Ew=f5("keys"),AR=function(e){return Ew[e]||(Ew[e]=_5(e))},p5=Kp,h5=ow,yw=TR,S5=ER,m5=d5,g5=fR,v5=AR,Tw=">",Aw="<",CR="prototype",bR="script",Cw=v5("IE_PROTO"),OR=function(){},bw=function(e){return Aw+bR+Tw+e+Aw+"/"+bR+Tw},Ow=function(e){e.write(bw("")),e.close();var t=e.parentWindow.Object;return e=null,t},E5=function(){var e=g5("iframe"),t="java"+bR+":",r;return e.style.display="none",m5.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(bw("document.F=Object")),r.close(),r.F},gv,vv=function(){try{gv=new ActiveXObject("htmlfile")}catch{}vv=typeof document<"u"?document.domain&&gv?Ow(gv):E5():Ow(gv);for(var e=yw.length;e--;)delete vv[CR][yw[e]];return vv()};S5[Cw]=!0;var Rw=Object.create||function(t,r){var n;return t!==null?(OR[CR]=p5(t),n=new OR,OR[CR]=null,n[Cw]=t):n=vv(),r===void 0?n:h5.f(n,r)},y5=ef,T5=Rw,A5=xu.f,RR=y5("unscopables"),PR=Array.prototype;PR[RR]==null&&A5(PR,RR,{configurable:!0,value:T5(null)});var C5=function(e){PR[RR][e]=!0},MR={},b5=Wo,O5=$a,IR=sR,R5=b5(Function.toString);O5(IR.inspectSource)||(IR.inspectSource=function(e){return R5(e)});var Pw=IR.inspectSource,P5=As,M5=$a,I5=Pw,Mw=P5.WeakMap,N5=M5(Mw)&&/native code/.test(I5(Mw)),NR=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},L5=Cs,D5=xu,w5=NR,Ev=L5?function(e,t,r){return D5.f(e,t,w5(1,r))}:function(e,t,r){return e[t]=r,e},U5=N5,Iw=As,LR=Wo,$5=Wp,G5=Ev,DR=Xs,wR=sR,F5=AR,x5=ER,Nw="Object already initialized",UR=Iw.TypeError,V5=Iw.WeakMap,yv,Xp,Tv,B5=function(e){return Tv(e)?Xp(e):yv(e,{})},k5=function(e){return function(t){var r;if(!$5(t)||(r=Xp(t)).type!==e)throw UR("Incompatible receiver, "+e+" required");return r}};if(U5||wR.state){var tl=wR.state||(wR.state=new V5),j5=LR(tl.get),Lw=LR(tl.has),Q5=LR(tl.set);yv=function(e,t){if(Lw(tl,e))throw new UR(Nw);return t.facade=e,Q5(tl,e,t),t},Xp=function(e){return j5(tl,e)||{}},Tv=function(e){return Lw(tl,e)}}else{var tf=F5("state");x5[tf]=!0,yv=function(e,t){if(DR(e,tf))throw new UR(Nw);return t.facade=e,G5(e,tf,t),t},Xp=function(e){return DR(e,tf)?e[tf]:{}},Tv=function(e){return DR(e,tf)}}var Dw={set:yv,get:Xp,has:Tv,enforce:B5,getterFor:k5},$R={},GR={},ww={}.propertyIsEnumerable,Uw=Object.getOwnPropertyDescriptor,q5=Uw&&!ww.call({1:2},1);GR.f=q5?function(t){var r=Uw(this,t);return!!r&&r.enumerable}:ww;var H5=Cs,Y5=zp,W5=GR,K5=NR,z5=Yp,X5=_w,J5=Xs,Z5=cw,$w=Object.getOwnPropertyDescriptor;$R.f=H5?$w:function(t,r){if(t=z5(t),r=X5(r),Z5)try{return $w(t,r)}catch{}if(J5(t,r))return K5(!Y5(W5.f,t,r),t[r])};var Gw={exports:{}},FR=Cs,eX=Xs,Fw=Function.prototype,tX=FR&&Object.getOwnPropertyDescriptor,xR=eX(Fw,"name"),rX=xR&&function(){}.name==="something",nX=xR&&(!FR||FR&&tX(Fw,"name").configurable),xw={EXISTS:xR,PROPER:rX,CONFIGURABLE:nX},iX=Yo,aX=$a,Av=Xs,VR=Cs,oX=xw.CONFIGURABLE,sX=Pw,Vw=Dw,uX=Vw.enforce,cX=Vw.get,Cv=Object.defineProperty,lX=VR&&!iX(function(){return Cv(function(){},"length",{value:8}).length!==8}),dX=String(String).split("String"),fX=Gw.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),(!Av(e,"name")||oX&&e.name!==t)&&(VR?Cv(e,"name",{value:t,configurable:!0}):e.name=t),lX&&r&&Av(r,"arity")&&e.length!==r.arity&&Cv(e,"length",{value:r.arity});try{r&&Av(r,"constructor")&&r.constructor?VR&&Cv(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=uX(e);return Av(n,"source")||(n.source=dX.join(typeof t=="string"?t:"")),e};Function.prototype.toString=fX(function(){return aX(this)&&cX(this).source||sX(this)},"toString");var _X=$a,pX=xu,hX=Gw.exports,SX=oR,BR=function(e,t,r,n){n||(n={});var i=n.enumerable,a=n.name!==void 0?n.name:t;if(_X(r)&&hX(r,a,n),n.global)i?e[t]=r:SX(t,r);else{try{n.unsafe?e[t]&&(i=!0):delete e[t]}catch{}i?e[t]=r:pX.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Bw={},mX=gw,gX=TR,vX=gX.concat("length","prototype");Bw.f=Object.getOwnPropertyNames||function(t){return mX(t,vX)};var kR={};kR.f=Object.getOwnPropertySymbols;var EX=pv,yX=Wo,TX=Bw,AX=kR,CX=Kp,bX=yX([].concat),OX=EX("Reflect","ownKeys")||function(t){var r=TX.f(CX(t)),n=AX.f;return n?bX(r,n(t)):r},kw=Xs,RX=OX,PX=$R,MX=xu,IX=function(e,t,r){for(var n=RX(t),i=MX.f,a=PX.f,c=0;c<n.length;c++){var d=n[c];!kw(e,d)&&!(r&&kw(r,d))&&i(e,d,a(t,d))}},NX=Yo,LX=$a,DX=/#|\.prototype\./,Jp=function(e,t){var r=UX[wX(e)];return r==GX?!0:r==$X?!1:LX(t)?NX(t):!!t},wX=Jp.normalize=function(e){return String(e).replace(DX,".").toLowerCase()},UX=Jp.data={},$X=Jp.NATIVE="N",GX=Jp.POLYFILL="P",FX=Jp,jR=As,xX=$R.f,VX=Ev,BX=BR,kX=oR,jX=IX,QX=FX,jw=function(e,t){var r=e.target,n=e.global,i=e.stat,a,c,d,y,h,g;if(n?c=jR:i?c=jR[r]||kX(r,{}):c=(jR[r]||{}).prototype,c)for(d in t){if(h=t[d],e.dontCallGetSet?(g=xX(c,d),y=g&&g.value):y=c[d],a=QX(n?d:r+(i?".":"#")+d,e.forced),!a&&y!==void 0){if(typeof h==typeof y)continue;jX(h,y)}(e.sham||y&&y.sham)&&VX(h,"sham",!0),BX(c,d,h,e)}},qX=Yo,HX=!qX(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),YX=Xs,WX=$a,KX=uR,zX=AR,XX=HX,Qw=zX("IE_PROTO"),QR=Object,JX=QR.prototype,qw=XX?QR.getPrototypeOf:function(e){var t=KX(e);if(YX(t,Qw))return t[Qw];var r=t.constructor;return WX(r)&&t instanceof r?r.prototype:t instanceof QR?JX:null},ZX=Yo,e7=$a,Hw=qw,t7=BR,r7=ef,qR=r7("iterator"),Yw=!1,rl,HR,YR;[].keys&&(YR=[].keys(),"next"in YR?(HR=Hw(Hw(YR)),HR!==Object.prototype&&(rl=HR)):Yw=!0);var n7=rl==null||ZX(function(){var e={};return rl[qR].call(e)!==e});n7&&(rl={}),e7(rl[qR])||t7(rl,qR,function(){return this});var Ww={IteratorPrototype:rl,BUGGY_SAFARI_ITERATORS:Yw},i7=xu.f,a7=Xs,o7=ef,Kw=o7("toStringTag"),zw=function(e,t,r){e&&!r&&(e=e.prototype),e&&!a7(e,Kw)&&i7(e,Kw,{configurable:!0,value:t})},s7=Ww.IteratorPrototype,u7=Rw,c7=NR,l7=zw,d7=MR,f7=function(){return this},_7=function(e,t,r,n){var i=t+" Iterator";return e.prototype=u7(s7,{next:c7(+!n,r)}),l7(e,i,!1),d7[i]=f7,e},p7=$a,h7=String,S7=TypeError,m7=function(e){if(typeof e=="object"||p7(e))return e;throw S7("Can't set "+h7(e)+" as a prototype")},g7=Wo,v7=Kp,E7=m7,y7=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=g7(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),r(t,[]),e=t instanceof Array}catch{}return function(i,a){return v7(i),E7(a),e?r(i,a):i.__proto__=a,i}}():void 0),T7=jw,A7=zp,Xw=xw,C7=$a,b7=_7,Jw=qw,Zw=y7,O7=zw,R7=Ev,WR=BR,P7=ef,M7=MR,eU=Ww,I7=Xw.PROPER,N7=Xw.CONFIGURABLE,tU=eU.IteratorPrototype,bv=eU.BUGGY_SAFARI_ITERATORS,Zp=P7("iterator"),rU="keys",eh="values",nU="entries",L7=function(){return this},D7=function(e,t,r,n,i,a,c){b7(r,t,n);var d=function(Ke){if(Ke===i&&z)return z;if(!bv&&Ke in g)return g[Ke];switch(Ke){case rU:return function(){return new r(this,Ke)};case eh:return function(){return new r(this,Ke)};case nU:return function(){return new r(this,Ke)}}return function(){return new r(this)}},y=t+" Iterator",h=!1,g=e.prototype,x=g[Zp]||g["@@iterator"]||i&&g[i],z=!bv&&x||d(i),ve=t=="Array"&&g.entries||x,ye,Re,Ye;if(ve&&(ye=Jw(ve.call(new e)),ye!==Object.prototype&&ye.next&&(Jw(ye)!==tU&&(Zw?Zw(ye,tU):C7(ye[Zp])||WR(ye,Zp,L7)),O7(ye,y,!0))),I7&&i==eh&&x&&x.name!==eh&&(N7?R7(g,"name",eh):(h=!0,z=function(){return A7(x,this)})),i)if(Re={values:d(eh),keys:a?z:d(rU),entries:d(nU)},c)for(Ye in Re)(bv||h||!(Ye in g))&&WR(g,Ye,Re[Ye]);else T7({target:t,proto:!0,forced:bv||h},Re);return g[Zp]!==z&&WR(g,Zp,z,{name:i}),M7[t]=z,Re},w7=Yp,KR=C5,iU=MR,aU=Dw,U7=xu.f,$7=D7,G7=Cs,oU="Array Iterator",F7=aU.set,x7=aU.getterFor(oU),V7=$7(Array,"Array",function(e,t){F7(this,{type:oU,target:w7(e),index:0,kind:t})},function(){var e=x7(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"),sU=iU.Arguments=iU.Array;if(KR("keys"),KR("values"),KR("entries"),G7&&sU.name!=="values")try{U7(sU,"name",{value:"values"})}catch{}var B7={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},k7=fR,zR=k7("span").classList,uU=zR&&zR.constructor&&zR.constructor.prototype,j7=uU===Object.prototype?void 0:uU,cU=As,lU=B7,Q7=j7,th=V7,XR=Ev,dU=ef,JR=dU("iterator"),fU=dU("toStringTag"),ZR=th.values,_U=function(e,t){if(e){if(e[JR]!==ZR)try{XR(e,JR,ZR)}catch{e[JR]=ZR}if(e[fU]||XR(e,fU,t),lU[t]){for(var r in th)if(e[r]!==th[r])try{XR(e,r,th[r])}catch{e[r]=th[r]}}}};for(var eP in lU)_U(cU[eP]&&cU[eP].prototype,eP);_U(Q7,"DOMTokenList");var pU=Cs,q7=Wo,H7=zp,Y7=Yo,tP=vw,W7=kR,K7=GR,z7=uR,X7=k0,rf=Object.assign,hU=Object.defineProperty,J7=q7([].concat),Z7=!rf||Y7(function(){if(pU&&rf({b:1},rf(hU({},"a",{enumerable:!0,get:function(){hU(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}),rf({},e)[r]!=7||tP(rf({},t)).join("")!=n})?function(t,r){for(var n=z7(t),i=arguments.length,a=1,c=W7.f,d=K7.f;i>a;)for(var y=X7(arguments[a++]),h=c?J7(tP(y),c(y)):tP(y),g=h.length,x=0,z;g>x;)z=h[x++],(!pU||H7(d,y,z))&&(n[z]=y[z]);return n}:rf,e9=jw,SU=Z7;e9({target:"Object",stat:!0,arity:2,forced:Object.assign!==SU},{assign:SU});function Ov(e,t,r,n){function i(a){return a instanceof r?a:new r(function(c){c(a)})}return new(r||(r=Promise))(function(a,c){function d(g){try{h(n.next(g))}catch(x){c(x)}}function y(g){try{h(n.throw(g))}catch(x){c(x)}}function h(g){g.done?a(g.value):i(g.value).then(d,y)}h((n=n.apply(e,t||[])).next())})}function hn(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 Vu(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 rP=null,ADe=({children:e,i18n:t})=>jsx(rP.Provider,Object.assign({value:t},{children:e})),CDe=()=>{const e=useContext(rP);if(e===void 0)throw new Error("useTranslation must be used within an I18nProvider");return e.t},t9=e=>{const[t,r]=useState(!e.isLoaded),[n,i]=useState();return useEffect(()=>{e.isLoaded||Ov(void 0,void 0,void 0,function*(){try{yield e.load()}catch(a){i(a)}finally{r(!1)}})},[]),{loading:t,error:n}},bDe=e=>{const t=r9(),r=useMemo(()=>t.child(e),[]),{loading:n,error:i}=t9(r);return{loading:n,error:i,i18n:r}},r9=()=>{const e=useContext(rP);if(e===void 0)throw new Error("I18n instance hooks must be used within an I18nProvider");return e};var De=_(4370);let Rv=e=>e,mU,gU,vU,EU;const n9=(0,De.default)(mU||(mU=Rv`
5847
5847
  query GetPersonDOBAndZip($id: ID!) {
5848
5848
  getPersonById(id: $id) {
5849
5849
  birthDate