strapi-admin-portal 0.0.2 → 0.1.0

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/README.md CHANGED
@@ -98,11 +98,22 @@ Registers a component to be injected.
98
98
 
99
99
  | Property | Type | Description |
100
100
  |----------|------|-------------|
101
- | `route` | `string` | The exact path in the admin panel to target (e.g., `/content-manager/collection-types/...`). |
101
+ | `route` | `string` | The path pattern to target. Supports parameters (e.g., `/content-manager/:kind/:uid`). |
102
102
  | `selector` | `string` | A valid CSS selector. The library waits for this element to appear in the DOM and mounts your component **after** it. |
103
103
  | `Component` | `() => Promise<any>` | A function that returns a dynamic import of your component. |
104
104
  | `id` | `string` (optional) | A unique identifier. If not provided, one is generated. Useful if you need to programmatically unregister the route later. |
105
105
 
106
+ #### Route Matching & Parameters
107
+
108
+ The `route` property supports simplified pattern matching:
109
+
110
+ - **Exact Match**: `/admin` matches `/admin` exactly.
111
+ - **Parameters**: Segments starting with `:` are treated as parameters.
112
+ - Example: `/content-manager/:kind/:uid` matches `/content-manager/collectionType/api::article.article`.
113
+ - The captured values (e.g. `kind`, `uid`) are passed as props to your injected component.
114
+
115
+ > **Note**: The path is split by `/` and must match the segment count exactly. Partial matches are not supported.
116
+
106
117
  ### `unregisterRoute(id)`
107
118
 
108
119
  Removes a registered injection route.
package/dist/index.js CHANGED
@@ -1 +1,60 @@
1
- "use strict";var ni=Object.create;var G=Object.defineProperty;var ii=Object.getOwnPropertyDescriptor;var oi=Object.getOwnPropertyNames;var ai=Object.getPrototypeOf,si=Object.prototype.hasOwnProperty;var i=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),ui=(e,r)=>{for(var t in r)G(e,t,{get:r[t],enumerable:!0})},de=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of oi(r))!si.call(e,o)&&o!==t&&G(e,o,{get:()=>r[o],enumerable:!(n=ii(r,o))||n.enumerable});return e};var ci=(e,r,t)=>(t=e!=null?ni(ai(e)):{},de(r||!e||!e.__esModule?G(t,"default",{value:e,enumerable:!0}):t,e)),pi=e=>de(G({},"__esModule",{value:!0}),e);var B=i((op,ge)=>{"use strict";function fi(e,r,t){switch(t.length){case 0:return e.call(r);case 1:return e.call(r,t[0]);case 2:return e.call(r,t[0],t[1]);case 3:return e.call(r,t[0],t[1],t[2])}return e.apply(r,t)}ge.exports=fi});var $=i((ap,he)=>{"use strict";function li(e){return e}he.exports=li});var me=i((sp,ye)=>{"use strict";var di=B(),ve=Math.max;function gi(e,r,t){return r=ve(r===void 0?e.length-1:r,0),function(){for(var n=arguments,o=-1,a=ve(n.length-r,0),u=Array(a);++o<a;)u[o]=n[r+o];o=-1;for(var s=Array(r+1);++o<r;)s[o]=n[o];return s[r]=t(u),di(e,this,s)}}ye.exports=gi});var qe=i((up,be)=>{"use strict";function hi(e){return function(){return e}}be.exports=hi});var K=i((cp,xe)=>{"use strict";var vi=typeof global=="object"&&global&&global.Object===Object&&global;xe.exports=vi});var v=i((pp,je)=>{"use strict";var yi=K(),mi=typeof self=="object"&&self&&self.Object===Object&&self,bi=yi||mi||Function("return this")();je.exports=bi});var V=i((fp,_e)=>{"use strict";var qi=v(),xi=qi.Symbol;_e.exports=xi});var Se=i((lp,Te)=>{"use strict";var Ie=V(),Oe=Object.prototype,ji=Oe.hasOwnProperty,_i=Oe.toString,S=Ie?Ie.toStringTag:void 0;function Ii(e){var r=ji.call(e,S),t=e[S];try{e[S]=void 0;var n=!0}catch{}var o=_i.call(e);return n&&(r?e[S]=t:delete e[S]),o}Te.exports=Ii});var Ae=i((dp,Pe)=>{"use strict";var Oi=Object.prototype,Ti=Oi.toString;function Si(e){return Ti.call(e)}Pe.exports=Si});var P=i((gp,Re)=>{"use strict";var we=V(),Pi=Se(),Ai=Ae(),wi="[object Null]",Ci="[object Undefined]",Ce=we?we.toStringTag:void 0;function Ri(e){return e==null?e===void 0?Ci:wi:Ce&&Ce in Object(e)?Pi(e):Ai(e)}Re.exports=Ri});var d=i((hp,Ee)=>{"use strict";function Ei(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}Ee.exports=Ei});var N=i((vp,Me)=>{"use strict";var Mi=P(),Di=d(),Li="[object AsyncFunction]",Fi="[object Function]",Gi="[object GeneratorFunction]",Ni="[object Proxy]";function zi(e){if(!Di(e))return!1;var r=Mi(e);return r==Fi||r==Gi||r==Li||r==Ni}Me.exports=zi});var Le=i((yp,De)=>{"use strict";var Ui=v(),Hi=Ui["__core-js_shared__"];De.exports=Hi});var Ne=i((mp,Ge)=>{"use strict";var W=Le(),Fe=(function(){var e=/[^.]+$/.exec(W&&W.keys&&W.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Bi(e){return!!Fe&&Fe in e}Ge.exports=Bi});var Ue=i((bp,ze)=>{"use strict";var $i=Function.prototype,Ki=$i.toString;function Vi(e){if(e!=null){try{return Ki.call(e)}catch{}try{return e+""}catch{}}return""}ze.exports=Vi});var Be=i((qp,He)=>{"use strict";var Wi=N(),Ji=Ne(),Qi=d(),Xi=Ue(),Yi=/[\\^$.*+?()[\]{}|]/g,Zi=/^\[object .+?Constructor\]$/,ki=Function.prototype,eo=Object.prototype,ro=ki.toString,to=eo.hasOwnProperty,no=RegExp("^"+ro.call(to).replace(Yi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function io(e){if(!Qi(e)||Ji(e))return!1;var r=Wi(e)?no:Zi;return r.test(Xi(e))}He.exports=io});var Ke=i((xp,$e)=>{"use strict";function oo(e,r){return e?.[r]}$e.exports=oo});var z=i((jp,Ve)=>{"use strict";var ao=Be(),so=Ke();function uo(e,r){var t=so(e,r);return ao(t)?t:void 0}Ve.exports=uo});var J=i((_p,We)=>{"use strict";var co=z(),po=(function(){try{var e=co(Object,"defineProperty");return e({},"",{}),e}catch{}})();We.exports=po});var Xe=i((Ip,Qe)=>{"use strict";var fo=qe(),Je=J(),lo=$(),go=Je?function(e,r){return Je(e,"toString",{configurable:!0,enumerable:!1,value:fo(r),writable:!0})}:lo;Qe.exports=go});var Ze=i((Op,Ye)=>{"use strict";var ho=800,vo=16,yo=Date.now;function mo(e){var r=0,t=0;return function(){var n=yo(),o=vo-(n-t);if(t=n,o>0){if(++r>=ho)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}Ye.exports=mo});var er=i((Tp,ke)=>{"use strict";var bo=Xe(),qo=Ze(),xo=qo(bo);ke.exports=xo});var Q=i((Sp,rr)=>{"use strict";var jo=$(),_o=me(),Io=er();function Oo(e,r){return Io(_o(e,r,jo),e+"")}rr.exports=Oo});var nr=i((Pp,tr)=>{"use strict";function To(){this.__data__=[],this.size=0}tr.exports=To});var A=i((Ap,ir)=>{"use strict";function So(e,r){return e===r||e!==e&&r!==r}ir.exports=So});var w=i((wp,or)=>{"use strict";var Po=A();function Ao(e,r){for(var t=e.length;t--;)if(Po(e[t][0],r))return t;return-1}or.exports=Ao});var sr=i((Cp,ar)=>{"use strict";var wo=w(),Co=Array.prototype,Ro=Co.splice;function Eo(e){var r=this.__data__,t=wo(r,e);if(t<0)return!1;var n=r.length-1;return t==n?r.pop():Ro.call(r,t,1),--this.size,!0}ar.exports=Eo});var cr=i((Rp,ur)=>{"use strict";var Mo=w();function Do(e){var r=this.__data__,t=Mo(r,e);return t<0?void 0:r[t][1]}ur.exports=Do});var fr=i((Ep,pr)=>{"use strict";var Lo=w();function Fo(e){return Lo(this.__data__,e)>-1}pr.exports=Fo});var dr=i((Mp,lr)=>{"use strict";var Go=w();function No(e,r){var t=this.__data__,n=Go(t,e);return n<0?(++this.size,t.push([e,r])):t[n][1]=r,this}lr.exports=No});var C=i((Dp,gr)=>{"use strict";var zo=nr(),Uo=sr(),Ho=cr(),Bo=fr(),$o=dr();function m(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}m.prototype.clear=zo;m.prototype.delete=Uo;m.prototype.get=Ho;m.prototype.has=Bo;m.prototype.set=$o;gr.exports=m});var vr=i((Lp,hr)=>{"use strict";var Ko=C();function Vo(){this.__data__=new Ko,this.size=0}hr.exports=Vo});var mr=i((Fp,yr)=>{"use strict";function Wo(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t}yr.exports=Wo});var qr=i((Gp,br)=>{"use strict";function Jo(e){return this.__data__.get(e)}br.exports=Jo});var jr=i((Np,xr)=>{"use strict";function Qo(e){return this.__data__.has(e)}xr.exports=Qo});var X=i((zp,_r)=>{"use strict";var Xo=z(),Yo=v(),Zo=Xo(Yo,"Map");_r.exports=Zo});var R=i((Up,Ir)=>{"use strict";var ko=z(),ea=ko(Object,"create");Ir.exports=ea});var Sr=i((Hp,Tr)=>{"use strict";var Or=R();function ra(){this.__data__=Or?Or(null):{},this.size=0}Tr.exports=ra});var Ar=i((Bp,Pr)=>{"use strict";function ta(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}Pr.exports=ta});var Cr=i(($p,wr)=>{"use strict";var na=R(),ia="__lodash_hash_undefined__",oa=Object.prototype,aa=oa.hasOwnProperty;function sa(e){var r=this.__data__;if(na){var t=r[e];return t===ia?void 0:t}return aa.call(r,e)?r[e]:void 0}wr.exports=sa});var Er=i((Kp,Rr)=>{"use strict";var ua=R(),ca=Object.prototype,pa=ca.hasOwnProperty;function fa(e){var r=this.__data__;return ua?r[e]!==void 0:pa.call(r,e)}Rr.exports=fa});var Dr=i((Vp,Mr)=>{"use strict";var la=R(),da="__lodash_hash_undefined__";function ga(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=la&&r===void 0?da:r,this}Mr.exports=ga});var Fr=i((Wp,Lr)=>{"use strict";var ha=Sr(),va=Ar(),ya=Cr(),ma=Er(),ba=Dr();function b(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}b.prototype.clear=ha;b.prototype.delete=va;b.prototype.get=ya;b.prototype.has=ma;b.prototype.set=ba;Lr.exports=b});var zr=i((Jp,Nr)=>{"use strict";var Gr=Fr(),qa=C(),xa=X();function ja(){this.size=0,this.__data__={hash:new Gr,map:new(xa||qa),string:new Gr}}Nr.exports=ja});var Hr=i((Qp,Ur)=>{"use strict";function _a(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}Ur.exports=_a});var E=i((Xp,Br)=>{"use strict";var Ia=Hr();function Oa(e,r){var t=e.__data__;return Ia(r)?t[typeof r=="string"?"string":"hash"]:t.map}Br.exports=Oa});var Kr=i((Yp,$r)=>{"use strict";var Ta=E();function Sa(e){var r=Ta(this,e).delete(e);return this.size-=r?1:0,r}$r.exports=Sa});var Wr=i((Zp,Vr)=>{"use strict";var Pa=E();function Aa(e){return Pa(this,e).get(e)}Vr.exports=Aa});var Qr=i((kp,Jr)=>{"use strict";var wa=E();function Ca(e){return wa(this,e).has(e)}Jr.exports=Ca});var Yr=i((ef,Xr)=>{"use strict";var Ra=E();function Ea(e,r){var t=Ra(this,e),n=t.size;return t.set(e,r),this.size+=t.size==n?0:1,this}Xr.exports=Ea});var kr=i((rf,Zr)=>{"use strict";var Ma=zr(),Da=Kr(),La=Wr(),Fa=Qr(),Ga=Yr();function q(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}q.prototype.clear=Ma;q.prototype.delete=Da;q.prototype.get=La;q.prototype.has=Fa;q.prototype.set=Ga;Zr.exports=q});var rt=i((tf,et)=>{"use strict";var Na=C(),za=X(),Ua=kr(),Ha=200;function Ba(e,r){var t=this.__data__;if(t instanceof Na){var n=t.__data__;if(!za||n.length<Ha-1)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new Ua(n)}return t.set(e,r),this.size=t.size,this}et.exports=Ba});var nt=i((nf,tt)=>{"use strict";var $a=C(),Ka=vr(),Va=mr(),Wa=qr(),Ja=jr(),Qa=rt();function x(e){var r=this.__data__=new $a(e);this.size=r.size}x.prototype.clear=Ka;x.prototype.delete=Va;x.prototype.get=Wa;x.prototype.has=Ja;x.prototype.set=Qa;tt.exports=x});var U=i((of,ot)=>{"use strict";var it=J();function Xa(e,r,t){r=="__proto__"&&it?it(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[r]=t}ot.exports=Xa});var Y=i((af,at)=>{"use strict";var Ya=U(),Za=A();function ka(e,r,t){(t!==void 0&&!Za(e[r],t)||t===void 0&&!(r in e))&&Ya(e,r,t)}at.exports=ka});var ut=i((sf,st)=>{"use strict";function es(e){return function(r,t,n){for(var o=-1,a=Object(r),u=n(r),s=u.length;s--;){var c=u[e?s:++o];if(t(a[c],c,a)===!1)break}return r}}st.exports=es});var pt=i((uf,ct)=>{"use strict";var rs=ut(),ts=rs();ct.exports=ts});var ht=i((M,j)=>{"use strict";var ns=v(),gt=typeof M=="object"&&M&&!M.nodeType&&M,ft=gt&&typeof j=="object"&&j&&!j.nodeType&&j,is=ft&&ft.exports===gt,lt=is?ns.Buffer:void 0,dt=lt?lt.allocUnsafe:void 0;function os(e,r){if(r)return e.slice();var t=e.length,n=dt?dt(t):new e.constructor(t);return e.copy(n),n}j.exports=os});var yt=i((cf,vt)=>{"use strict";var as=v(),ss=as.Uint8Array;vt.exports=ss});var qt=i((pf,bt)=>{"use strict";var mt=yt();function us(e){var r=new e.constructor(e.byteLength);return new mt(r).set(new mt(e)),r}bt.exports=us});var jt=i((ff,xt)=>{"use strict";var cs=qt();function ps(e,r){var t=r?cs(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}xt.exports=ps});var It=i((lf,_t)=>{"use strict";function fs(e,r){var t=-1,n=e.length;for(r||(r=Array(n));++t<n;)r[t]=e[t];return r}_t.exports=fs});var St=i((df,Tt)=>{"use strict";var ls=d(),Ot=Object.create,ds=(function(){function e(){}return function(r){if(!ls(r))return{};if(Ot)return Ot(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}})();Tt.exports=ds});var At=i((gf,Pt)=>{"use strict";function gs(e,r){return function(t){return e(r(t))}}Pt.exports=gs});var Z=i((hf,wt)=>{"use strict";var hs=At(),vs=hs(Object.getPrototypeOf,Object);wt.exports=vs});var k=i((vf,Ct)=>{"use strict";var ys=Object.prototype;function ms(e){var r=e&&e.constructor,t=typeof r=="function"&&r.prototype||ys;return e===t}Ct.exports=ms});var Et=i((yf,Rt)=>{"use strict";var bs=St(),qs=Z(),xs=k();function js(e){return typeof e.constructor=="function"&&!xs(e)?bs(qs(e)):{}}Rt.exports=js});var _=i((mf,Mt)=>{"use strict";function _s(e){return e!=null&&typeof e=="object"}Mt.exports=_s});var Lt=i((bf,Dt)=>{"use strict";var Is=P(),Os=_(),Ts="[object Arguments]";function Ss(e){return Os(e)&&Is(e)==Ts}Dt.exports=Ss});var ee=i((qf,Nt)=>{"use strict";var Ft=Lt(),Ps=_(),Gt=Object.prototype,As=Gt.hasOwnProperty,ws=Gt.propertyIsEnumerable,Cs=Ft((function(){return arguments})())?Ft:function(e){return Ps(e)&&As.call(e,"callee")&&!ws.call(e,"callee")};Nt.exports=Cs});var re=i((xf,zt)=>{"use strict";var Rs=Array.isArray;zt.exports=Rs});var te=i((jf,Ut)=>{"use strict";var Es=9007199254740991;function Ms(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Es}Ut.exports=Ms});var H=i((_f,Ht)=>{"use strict";var Ds=N(),Ls=te();function Fs(e){return e!=null&&Ls(e.length)&&!Ds(e)}Ht.exports=Fs});var $t=i((If,Bt)=>{"use strict";var Gs=H(),Ns=_();function zs(e){return Ns(e)&&Gs(e)}Bt.exports=zs});var Vt=i((Of,Kt)=>{"use strict";function Us(){return!1}Kt.exports=Us});var ne=i((D,I)=>{"use strict";var Hs=v(),Bs=Vt(),Qt=typeof D=="object"&&D&&!D.nodeType&&D,Wt=Qt&&typeof I=="object"&&I&&!I.nodeType&&I,$s=Wt&&Wt.exports===Qt,Jt=$s?Hs.Buffer:void 0,Ks=Jt?Jt.isBuffer:void 0,Vs=Ks||Bs;I.exports=Vs});var Zt=i((Tf,Yt)=>{"use strict";var Ws=P(),Js=Z(),Qs=_(),Xs="[object Object]",Ys=Function.prototype,Zs=Object.prototype,Xt=Ys.toString,ks=Zs.hasOwnProperty,eu=Xt.call(Object);function ru(e){if(!Qs(e)||Ws(e)!=Xs)return!1;var r=Js(e);if(r===null)return!0;var t=ks.call(r,"constructor")&&r.constructor;return typeof t=="function"&&t instanceof t&&Xt.call(t)==eu}Yt.exports=ru});var en=i((Sf,kt)=>{"use strict";var tu=P(),nu=te(),iu=_(),ou="[object Arguments]",au="[object Array]",su="[object Boolean]",uu="[object Date]",cu="[object Error]",pu="[object Function]",fu="[object Map]",lu="[object Number]",du="[object Object]",gu="[object RegExp]",hu="[object Set]",vu="[object String]",yu="[object WeakMap]",mu="[object ArrayBuffer]",bu="[object DataView]",qu="[object Float32Array]",xu="[object Float64Array]",ju="[object Int8Array]",_u="[object Int16Array]",Iu="[object Int32Array]",Ou="[object Uint8Array]",Tu="[object Uint8ClampedArray]",Su="[object Uint16Array]",Pu="[object Uint32Array]",p={};p[qu]=p[xu]=p[ju]=p[_u]=p[Iu]=p[Ou]=p[Tu]=p[Su]=p[Pu]=!0;p[ou]=p[au]=p[mu]=p[su]=p[bu]=p[uu]=p[cu]=p[pu]=p[fu]=p[lu]=p[du]=p[gu]=p[hu]=p[vu]=p[yu]=!1;function Au(e){return iu(e)&&nu(e.length)&&!!p[tu(e)]}kt.exports=Au});var tn=i((Pf,rn)=>{"use strict";function wu(e){return function(r){return e(r)}}rn.exports=wu});var on=i((L,O)=>{"use strict";var Cu=K(),nn=typeof L=="object"&&L&&!L.nodeType&&L,F=nn&&typeof O=="object"&&O&&!O.nodeType&&O,Ru=F&&F.exports===nn,ie=Ru&&Cu.process,Eu=(function(){try{var e=F&&F.require&&F.require("util").types;return e||ie&&ie.binding&&ie.binding("util")}catch{}})();O.exports=Eu});var oe=i((Af,un)=>{"use strict";var Mu=en(),Du=tn(),an=on(),sn=an&&an.isTypedArray,Lu=sn?Du(sn):Mu;un.exports=Lu});var ae=i((wf,cn)=>{"use strict";function Fu(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}cn.exports=Fu});var fn=i((Cf,pn)=>{"use strict";var Gu=U(),Nu=A(),zu=Object.prototype,Uu=zu.hasOwnProperty;function Hu(e,r,t){var n=e[r];(!(Uu.call(e,r)&&Nu(n,t))||t===void 0&&!(r in e))&&Gu(e,r,t)}pn.exports=Hu});var dn=i((Rf,ln)=>{"use strict";var Bu=fn(),$u=U();function Ku(e,r,t,n){var o=!t;t||(t={});for(var a=-1,u=r.length;++a<u;){var s=r[a],c=n?n(t[s],e[s],s,t,e):void 0;c===void 0&&(c=e[s]),o?$u(t,s,c):Bu(t,s,c)}return t}ln.exports=Ku});var hn=i((Ef,gn)=>{"use strict";function Vu(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n}gn.exports=Vu});var se=i((Mf,vn)=>{"use strict";var Wu=9007199254740991,Ju=/^(?:0|[1-9]\d*)$/;function Qu(e,r){var t=typeof e;return r=r??Wu,!!r&&(t=="number"||t!="symbol"&&Ju.test(e))&&e>-1&&e%1==0&&e<r}vn.exports=Qu});var mn=i((Df,yn)=>{"use strict";var Xu=hn(),Yu=ee(),Zu=re(),ku=ne(),ec=se(),rc=oe(),tc=Object.prototype,nc=tc.hasOwnProperty;function ic(e,r){var t=Zu(e),n=!t&&Yu(e),o=!t&&!n&&ku(e),a=!t&&!n&&!o&&rc(e),u=t||n||o||a,s=u?Xu(e.length,String):[],c=s.length;for(var l in e)(r||nc.call(e,l))&&!(u&&(l=="length"||o&&(l=="offset"||l=="parent")||a&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||ec(l,c)))&&s.push(l);return s}yn.exports=ic});var qn=i((Lf,bn)=>{"use strict";function oc(e){var r=[];if(e!=null)for(var t in Object(e))r.push(t);return r}bn.exports=oc});var jn=i((Ff,xn)=>{"use strict";var ac=d(),sc=k(),uc=qn(),cc=Object.prototype,pc=cc.hasOwnProperty;function fc(e){if(!ac(e))return uc(e);var r=sc(e),t=[];for(var n in e)n=="constructor"&&(r||!pc.call(e,n))||t.push(n);return t}xn.exports=fc});var ue=i((Gf,_n)=>{"use strict";var lc=mn(),dc=jn(),gc=H();function hc(e){return gc(e)?lc(e,!0):dc(e)}_n.exports=hc});var On=i((Nf,In)=>{"use strict";var vc=dn(),yc=ue();function mc(e){return vc(e,yc(e))}In.exports=mc});var Cn=i((zf,wn)=>{"use strict";var Tn=Y(),bc=ht(),qc=jt(),xc=It(),jc=Et(),Sn=ee(),Pn=re(),_c=$t(),Ic=ne(),Oc=N(),Tc=d(),Sc=Zt(),Pc=oe(),An=ae(),Ac=On();function wc(e,r,t,n,o,a,u){var s=An(e,t),c=An(r,t),l=u.get(c);if(l){Tn(e,t,l);return}var f=a?a(s,c,t+"",e,r,u):void 0,h=f===void 0;if(h){var y=Pn(c),T=!y&&Ic(c),le=!y&&!T&&Pc(c);f=c,y||T||le?Pn(s)?f=s:_c(s)?f=xc(s):T?(h=!1,f=bc(c,!0)):le?(h=!1,f=qc(c,!0)):f=[]:Sc(c)||Sn(c)?(f=s,Sn(s)?f=Ac(s):(!Tc(s)||Oc(s))&&(f=jc(c))):h=!1}h&&(u.set(c,f),o(f,c,n,a,u),u.delete(c)),Tn(e,t,f)}wn.exports=wc});var ce=i((Uf,En)=>{"use strict";var Cc=nt(),Rc=Y(),Ec=pt(),Mc=Cn(),Dc=d(),Lc=ue(),Fc=ae();function Rn(e,r,t,n,o){e!==r&&Ec(r,function(a,u){if(o||(o=new Cc),Dc(a))Mc(e,r,u,t,Rn,n,o);else{var s=n?n(Fc(e,u),a,u+"",e,r,o):void 0;s===void 0&&(s=a),Rc(e,u,s)}},Lc)}En.exports=Rn});var Fn=i((Hf,Ln)=>{"use strict";var Gc=ce(),Mn=d();function Dn(e,r,t,n,o,a){return Mn(e)&&Mn(r)&&(a.set(r,e),Gc(e,r,void 0,Dn,a),a.delete(r)),e}Ln.exports=Dn});var Nn=i((Bf,Gn)=>{"use strict";var Nc=A(),zc=H(),Uc=se(),Hc=d();function Bc(e,r,t){if(!Hc(t))return!1;var n=typeof r;return(n=="number"?zc(t)&&Uc(r,t.length):n=="string"&&r in t)?Nc(t[r],e):!1}Gn.exports=Bc});var Un=i(($f,zn)=>{"use strict";var $c=Q(),Kc=Nn();function Vc(e){return $c(function(r,t){var n=-1,o=t.length,a=o>1?t[o-1]:void 0,u=o>2?t[2]:void 0;for(a=e.length>3&&typeof a=="function"?(o--,a):void 0,u&&Kc(t[0],t[1],u)&&(a=o<3?void 0:a,o=1),r=Object(r);++n<o;){var s=t[n];s&&e(r,s,n,a)}return r})}zn.exports=Vc});var Bn=i((Kf,Hn)=>{"use strict";var Wc=ce(),Jc=Un(),Qc=Jc(function(e,r,t,n){Wc(e,r,t,n)});Hn.exports=Qc});var Kn=i((Vf,$n)=>{"use strict";var Xc=B(),Yc=Q(),Zc=Fn(),kc=Bn(),ep=Yc(function(e){return e.push(void 0,Zc),Xc(kc,void 0,e)});$n.exports=ep});var np={};ui(np,{initialiseInjections:()=>tp});module.exports=pi(np);var Xn=require("react-dom/client");var g=require("react"),Vn=require("react-intl"),Wn=require("@strapi/design-system"),Jn=ci(Kn()),pe=require("react/jsx-runtime"),rp=({children:e,store:r,configurations:t})=>{let n=(0,g.useSyncExternalStore)(r.subscribe,r.getState),o=n.admin_app.theme.currentTheme||"light",a=n.admin_app.language.locale||"en",u=t.translations||{},[s,c]=(0,g.useState)(matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");(0,g.useEffect)(()=>{let h=matchMedia("(prefers-color-scheme: dark)"),y=T=>{c(T.matches?"dark":"light")};return h.addEventListener("change",y),()=>h.removeEventListener("change",y)},[]);let l=(0,g.useMemo)(()=>(0,Jn.default)(u[a],u.en),[a,u]),f=(0,g.useMemo)(()=>t.themes[o==="system"?s:o],[o,s,t.themes]);return(0,pe.jsx)(Wn.DesignSystemProvider,{theme:f,locale:a,children:(0,pe.jsx)(Vn.IntlProvider,{locale:a,messages:l,children:e})})},Qn=rp;var fe=require("react/jsx-runtime"),Yn=async(e,r,t)=>{let n=r.domInjections;if(!n){console.warn("Injection system not initialised. Please call initialiseInjections(app) before registering injection routes.");return}if(document.querySelector(`#${t.id}`)||n.removeRoot(t.id),e.location.pathname!==t.route)return;let a=t.Component(),u=await Zn(t.selector);if(!u||window.location.pathname!==t.route)return;if(!n.getRoot(t.id)){let f=document.getElementById(t.id);f||(f=document.createElement("div"),f.id=t.id,u.after(f)),n.setRoot(t.id,(0,Xn.createRoot)(f))}let c=(await a).default,l=n.getRoot(t.id);l&&l.render((0,fe.jsx)(Qn,{store:r.store,configurations:r.configurations,children:(0,fe.jsx)(c,{})}))};var ei=async e=>{let r=e.router,t=0;for(;!r?.router?.state?.location&&t<100;)await new Promise(n=>setTimeout(n,10)),t++;if(!r?.router?.state?.location){console.warn("Strapi router not ready after 5s, skipping injection initialization.");return}r.router.subscribe(n=>kn(n,e)),kn(r.router.state,e)},kn=(e,r)=>{let t=r.domInjections?.routes||[];Promise.all(t.map(n=>Yn(e,r,n)))},Zn=(e,r=5e3)=>new Promise(t=>{let n=document.querySelector(e);if(n)return t(n);let o=new MutationObserver(()=>{let a=document.querySelector(e);a&&(o.disconnect(),t(a))});o.observe(document.body,{childList:!0,subtree:!0}),setTimeout(()=>{o.disconnect(),t(null)},r)}),ri=(e,r)=>{if(!r.domInjections?.routes){console.warn("Injection system not initialised. Please call initialiseInjections(app) before registering injection routes.");return}let{id:t,...n}=e;if(t&&r.domInjections.routes.some(a=>a.id===t)){console.warn(`Injection route with id ${t} already exists. Skipping registration.`);return}let o=t||`injection-${Math.random().toString(36).substring(2,9)}`;r.domInjections.routes.push({id:o,...n})},ti=(e,r)=>{if(!r.domInjections?.routes){console.warn("Injection system not initialised. Please call initialiseInjections(app) before unregistering injection routes.");return}let t=r.domInjections.routes.findIndex(n=>n.id===e);if(t===-1){console.warn(`Injection route with id ${e} does not exist. Skipping unregistration.`);return}r.domInjections.routes.splice(t,1),r.domInjections.removeRoot(e)};var tp=e=>{let r=e.domInjections;if(r)return r;ei(e);let t={routes:[],roots:{},registerRoute:n=>ri(n,e),unregisterRoute:n=>ti(n,e),getRoot:n=>e.domInjections?.roots[n],setRoot:(n,o)=>{e.domInjections&&(e.domInjections.roots[n]=o)},removeRoot:n=>{if(!e.domInjections)return;let o=e.domInjections.roots[n];o&&(setTimeout(()=>o.unmount(),0),delete e.domInjections.roots[n])}};return e.domInjections=t,t};0&&(module.exports={initialiseInjections});
1
+ "use strict";var ys=Object.create;var ot=Object.defineProperty;var gs=Object.getOwnPropertyDescriptor;var vs=Object.getOwnPropertyNames;var bs=Object.getPrototypeOf,xs=Object.prototype.hasOwnProperty;var s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ws=(e,t)=>{for(var r in t)ot(e,r,{get:t[r],enumerable:!0})},Or=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of vs(t))!xs.call(e,o)&&o!==r&&ot(e,o,{get:()=>t[o],enumerable:!(n=gs(t,o))||n.enumerable});return e};var Pr=(e,t,r)=>(r=e!=null?ys(bs(e)):{},Or(t||!e||!e.__esModule?ot(r,"default",{value:e,enumerable:!0}):r,e)),Ss=e=>Or(ot({},"__esModule",{value:!0}),e);var Zt=s((Fh,Cn)=>{"use strict";function pc(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}Cn.exports=pc});var Jt=s(($h,En)=>{"use strict";function lc(e){return e}En.exports=lc});var Tn=s((zh,An)=>{"use strict";var fc=Zt(),jn=Math.max;function dc(e,t,r){return t=jn(t===void 0?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=jn(n.length-t,0),a=Array(i);++o<i;)a[o]=n[t+o];o=-1;for(var c=Array(t+1);++o<t;)c[o]=n[o];return c[t]=r(a),fc(e,this,c)}}An.exports=dc});var qn=s((Gh,In)=>{"use strict";function hc(e){return function(){return e}}In.exports=hc});var Qt=s((Bh,Rn)=>{"use strict";var mc=typeof global=="object"&&global&&global.Object===Object&&global;Rn.exports=mc});var pe=s((Vh,Nn)=>{"use strict";var yc=Qt(),gc=typeof self=="object"&&self&&self.Object===Object&&self,vc=yc||gc||Function("return this")();Nn.exports=vc});var er=s((Uh,kn)=>{"use strict";var bc=pe(),xc=bc.Symbol;kn.exports=xc});var Fn=s((Hh,Ln)=>{"use strict";var Dn=er(),Mn=Object.prototype,wc=Mn.hasOwnProperty,Sc=Mn.toString,ze=Dn?Dn.toStringTag:void 0;function _c(e){var t=wc.call(e,ze),r=e[ze];try{e[ze]=void 0;var n=!0}catch{}var o=Sc.call(e);return n&&(t?e[ze]=r:delete e[ze]),o}Ln.exports=_c});var zn=s((Wh,$n)=>{"use strict";var Oc=Object.prototype,Pc=Oc.toString;function Cc(e){return Pc.call(e)}$n.exports=Cc});var Ge=s((Yh,Vn)=>{"use strict";var Gn=er(),Ec=Fn(),jc=zn(),Ac="[object Null]",Tc="[object Undefined]",Bn=Gn?Gn.toStringTag:void 0;function Ic(e){return e==null?e===void 0?Tc:Ac:Bn&&Bn in Object(e)?Ec(e):jc(e)}Vn.exports=Ic});var Q=s((Kh,Un)=>{"use strict";function qc(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}Un.exports=qc});var xt=s((Xh,Hn)=>{"use strict";var Rc=Ge(),Nc=Q(),kc="[object AsyncFunction]",Dc="[object Function]",Mc="[object GeneratorFunction]",Lc="[object Proxy]";function Fc(e){if(!Nc(e))return!1;var t=Rc(e);return t==Dc||t==Mc||t==kc||t==Lc}Hn.exports=Fc});var Yn=s((Zh,Wn)=>{"use strict";var $c=pe(),zc=$c["__core-js_shared__"];Wn.exports=zc});var Zn=s((Jh,Xn)=>{"use strict";var tr=Yn(),Kn=(function(){var e=/[^.]+$/.exec(tr&&tr.keys&&tr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Gc(e){return!!Kn&&Kn in e}Xn.exports=Gc});var Qn=s((Qh,Jn)=>{"use strict";var Bc=Function.prototype,Vc=Bc.toString;function Uc(e){if(e!=null){try{return Vc.call(e)}catch{}try{return e+""}catch{}}return""}Jn.exports=Uc});var to=s((em,eo)=>{"use strict";var Hc=xt(),Wc=Zn(),Yc=Q(),Kc=Qn(),Xc=/[\\^$.*+?()[\]{}|]/g,Zc=/^\[object .+?Constructor\]$/,Jc=Function.prototype,Qc=Object.prototype,eu=Jc.toString,tu=Qc.hasOwnProperty,ru=RegExp("^"+eu.call(tu).replace(Xc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function nu(e){if(!Yc(e)||Wc(e))return!1;var t=Hc(e)?ru:Zc;return t.test(Kc(e))}eo.exports=nu});var no=s((tm,ro)=>{"use strict";function ou(e,t){return e?.[t]}ro.exports=ou});var wt=s((rm,oo)=>{"use strict";var iu=to(),au=no();function su(e,t){var r=au(e,t);return iu(r)?r:void 0}oo.exports=su});var rr=s((nm,io)=>{"use strict";var cu=wt(),uu=(function(){try{var e=cu(Object,"defineProperty");return e({},"",{}),e}catch{}})();io.exports=uu});var co=s((om,so)=>{"use strict";var pu=qn(),ao=rr(),lu=Jt(),fu=ao?function(e,t){return ao(e,"toString",{configurable:!0,enumerable:!1,value:pu(t),writable:!0})}:lu;so.exports=fu});var po=s((im,uo)=>{"use strict";var du=800,hu=16,mu=Date.now;function yu(e){var t=0,r=0;return function(){var n=mu(),o=hu-(n-r);if(r=n,o>0){if(++t>=du)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}uo.exports=yu});var fo=s((am,lo)=>{"use strict";var gu=co(),vu=po(),bu=vu(gu);lo.exports=bu});var nr=s((sm,ho)=>{"use strict";var xu=Jt(),wu=Tn(),Su=fo();function _u(e,t){return Su(wu(e,t,xu),e+"")}ho.exports=_u});var yo=s((cm,mo)=>{"use strict";function Ou(){this.__data__=[],this.size=0}mo.exports=Ou});var Be=s((um,go)=>{"use strict";function Pu(e,t){return e===t||e!==e&&t!==t}go.exports=Pu});var Ve=s((pm,vo)=>{"use strict";var Cu=Be();function Eu(e,t){for(var r=e.length;r--;)if(Cu(e[r][0],t))return r;return-1}vo.exports=Eu});var xo=s((lm,bo)=>{"use strict";var ju=Ve(),Au=Array.prototype,Tu=Au.splice;function Iu(e){var t=this.__data__,r=ju(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Tu.call(t,r,1),--this.size,!0}bo.exports=Iu});var So=s((fm,wo)=>{"use strict";var qu=Ve();function Ru(e){var t=this.__data__,r=qu(t,e);return r<0?void 0:t[r][1]}wo.exports=Ru});var Oo=s((dm,_o)=>{"use strict";var Nu=Ve();function ku(e){return Nu(this.__data__,e)>-1}_o.exports=ku});var Co=s((hm,Po)=>{"use strict";var Du=Ve();function Mu(e,t){var r=this.__data__,n=Du(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}Po.exports=Mu});var Ue=s((mm,Eo)=>{"use strict";var Lu=yo(),Fu=xo(),$u=So(),zu=Oo(),Gu=Co();function Oe(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Oe.prototype.clear=Lu;Oe.prototype.delete=Fu;Oe.prototype.get=$u;Oe.prototype.has=zu;Oe.prototype.set=Gu;Eo.exports=Oe});var Ao=s((ym,jo)=>{"use strict";var Bu=Ue();function Vu(){this.__data__=new Bu,this.size=0}jo.exports=Vu});var Io=s((gm,To)=>{"use strict";function Uu(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}To.exports=Uu});var Ro=s((vm,qo)=>{"use strict";function Hu(e){return this.__data__.get(e)}qo.exports=Hu});var ko=s((bm,No)=>{"use strict";function Wu(e){return this.__data__.has(e)}No.exports=Wu});var or=s((xm,Do)=>{"use strict";var Yu=wt(),Ku=pe(),Xu=Yu(Ku,"Map");Do.exports=Xu});var He=s((wm,Mo)=>{"use strict";var Zu=wt(),Ju=Zu(Object,"create");Mo.exports=Ju});var $o=s((Sm,Fo)=>{"use strict";var Lo=He();function Qu(){this.__data__=Lo?Lo(null):{},this.size=0}Fo.exports=Qu});var Go=s((_m,zo)=>{"use strict";function ep(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}zo.exports=ep});var Vo=s((Om,Bo)=>{"use strict";var tp=He(),rp="__lodash_hash_undefined__",np=Object.prototype,op=np.hasOwnProperty;function ip(e){var t=this.__data__;if(tp){var r=t[e];return r===rp?void 0:r}return op.call(t,e)?t[e]:void 0}Bo.exports=ip});var Ho=s((Pm,Uo)=>{"use strict";var ap=He(),sp=Object.prototype,cp=sp.hasOwnProperty;function up(e){var t=this.__data__;return ap?t[e]!==void 0:cp.call(t,e)}Uo.exports=up});var Yo=s((Cm,Wo)=>{"use strict";var pp=He(),lp="__lodash_hash_undefined__";function fp(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=pp&&t===void 0?lp:t,this}Wo.exports=fp});var Xo=s((Em,Ko)=>{"use strict";var dp=$o(),hp=Go(),mp=Vo(),yp=Ho(),gp=Yo();function Pe(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Pe.prototype.clear=dp;Pe.prototype.delete=hp;Pe.prototype.get=mp;Pe.prototype.has=yp;Pe.prototype.set=gp;Ko.exports=Pe});var Qo=s((jm,Jo)=>{"use strict";var Zo=Xo(),vp=Ue(),bp=or();function xp(){this.size=0,this.__data__={hash:new Zo,map:new(bp||vp),string:new Zo}}Jo.exports=xp});var ti=s((Am,ei)=>{"use strict";function wp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}ei.exports=wp});var We=s((Tm,ri)=>{"use strict";var Sp=ti();function _p(e,t){var r=e.__data__;return Sp(t)?r[typeof t=="string"?"string":"hash"]:r.map}ri.exports=_p});var oi=s((Im,ni)=>{"use strict";var Op=We();function Pp(e){var t=Op(this,e).delete(e);return this.size-=t?1:0,t}ni.exports=Pp});var ai=s((qm,ii)=>{"use strict";var Cp=We();function Ep(e){return Cp(this,e).get(e)}ii.exports=Ep});var ci=s((Rm,si)=>{"use strict";var jp=We();function Ap(e){return jp(this,e).has(e)}si.exports=Ap});var pi=s((Nm,ui)=>{"use strict";var Tp=We();function Ip(e,t){var r=Tp(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}ui.exports=Ip});var fi=s((km,li)=>{"use strict";var qp=Qo(),Rp=oi(),Np=ai(),kp=ci(),Dp=pi();function Ce(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ce.prototype.clear=qp;Ce.prototype.delete=Rp;Ce.prototype.get=Np;Ce.prototype.has=kp;Ce.prototype.set=Dp;li.exports=Ce});var hi=s((Dm,di)=>{"use strict";var Mp=Ue(),Lp=or(),Fp=fi(),$p=200;function zp(e,t){var r=this.__data__;if(r instanceof Mp){var n=r.__data__;if(!Lp||n.length<$p-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Fp(n)}return r.set(e,t),this.size=r.size,this}di.exports=zp});var yi=s((Mm,mi)=>{"use strict";var Gp=Ue(),Bp=Ao(),Vp=Io(),Up=Ro(),Hp=ko(),Wp=hi();function Ee(e){var t=this.__data__=new Gp(e);this.size=t.size}Ee.prototype.clear=Bp;Ee.prototype.delete=Vp;Ee.prototype.get=Up;Ee.prototype.has=Hp;Ee.prototype.set=Wp;mi.exports=Ee});var St=s((Lm,vi)=>{"use strict";var gi=rr();function Yp(e,t,r){t=="__proto__"&&gi?gi(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}vi.exports=Yp});var ir=s((Fm,bi)=>{"use strict";var Kp=St(),Xp=Be();function Zp(e,t,r){(r!==void 0&&!Xp(e[t],r)||r===void 0&&!(t in e))&&Kp(e,t,r)}bi.exports=Zp});var wi=s(($m,xi)=>{"use strict";function Jp(e){return function(t,r,n){for(var o=-1,i=Object(t),a=n(t),c=a.length;c--;){var u=a[e?c:++o];if(r(i[u],u,i)===!1)break}return t}}xi.exports=Jp});var _i=s((zm,Si)=>{"use strict";var Qp=wi(),el=Qp();Si.exports=el});var ji=s((Ye,je)=>{"use strict";var tl=pe(),Ei=typeof Ye=="object"&&Ye&&!Ye.nodeType&&Ye,Oi=Ei&&typeof je=="object"&&je&&!je.nodeType&&je,rl=Oi&&Oi.exports===Ei,Pi=rl?tl.Buffer:void 0,Ci=Pi?Pi.allocUnsafe:void 0;function nl(e,t){if(t)return e.slice();var r=e.length,n=Ci?Ci(r):new e.constructor(r);return e.copy(n),n}je.exports=nl});var Ti=s((Gm,Ai)=>{"use strict";var ol=pe(),il=ol.Uint8Array;Ai.exports=il});var Ri=s((Bm,qi)=>{"use strict";var Ii=Ti();function al(e){var t=new e.constructor(e.byteLength);return new Ii(t).set(new Ii(e)),t}qi.exports=al});var ki=s((Vm,Ni)=>{"use strict";var sl=Ri();function cl(e,t){var r=t?sl(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}Ni.exports=cl});var Mi=s((Um,Di)=>{"use strict";function ul(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}Di.exports=ul});var $i=s((Hm,Fi)=>{"use strict";var pl=Q(),Li=Object.create,ll=(function(){function e(){}return function(t){if(!pl(t))return{};if(Li)return Li(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();Fi.exports=ll});var Gi=s((Wm,zi)=>{"use strict";function fl(e,t){return function(r){return e(t(r))}}zi.exports=fl});var ar=s((Ym,Bi)=>{"use strict";var dl=Gi(),hl=dl(Object.getPrototypeOf,Object);Bi.exports=hl});var sr=s((Km,Vi)=>{"use strict";var ml=Object.prototype;function yl(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||ml;return e===r}Vi.exports=yl});var Hi=s((Xm,Ui)=>{"use strict";var gl=$i(),vl=ar(),bl=sr();function xl(e){return typeof e.constructor=="function"&&!bl(e)?gl(vl(e)):{}}Ui.exports=xl});var Ae=s((Zm,Wi)=>{"use strict";function wl(e){return e!=null&&typeof e=="object"}Wi.exports=wl});var Ki=s((Jm,Yi)=>{"use strict";var Sl=Ge(),_l=Ae(),Ol="[object Arguments]";function Pl(e){return _l(e)&&Sl(e)==Ol}Yi.exports=Pl});var cr=s((Qm,Ji)=>{"use strict";var Xi=Ki(),Cl=Ae(),Zi=Object.prototype,El=Zi.hasOwnProperty,jl=Zi.propertyIsEnumerable,Al=Xi((function(){return arguments})())?Xi:function(e){return Cl(e)&&El.call(e,"callee")&&!jl.call(e,"callee")};Ji.exports=Al});var ur=s((ey,Qi)=>{"use strict";var Tl=Array.isArray;Qi.exports=Tl});var pr=s((ty,ea)=>{"use strict";var Il=9007199254740991;function ql(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Il}ea.exports=ql});var _t=s((ry,ta)=>{"use strict";var Rl=xt(),Nl=pr();function kl(e){return e!=null&&Nl(e.length)&&!Rl(e)}ta.exports=kl});var na=s((ny,ra)=>{"use strict";var Dl=_t(),Ml=Ae();function Ll(e){return Ml(e)&&Dl(e)}ra.exports=Ll});var ia=s((oy,oa)=>{"use strict";function Fl(){return!1}oa.exports=Fl});var lr=s((Ke,Te)=>{"use strict";var $l=pe(),zl=ia(),ca=typeof Ke=="object"&&Ke&&!Ke.nodeType&&Ke,aa=ca&&typeof Te=="object"&&Te&&!Te.nodeType&&Te,Gl=aa&&aa.exports===ca,sa=Gl?$l.Buffer:void 0,Bl=sa?sa.isBuffer:void 0,Vl=Bl||zl;Te.exports=Vl});var la=s((iy,pa)=>{"use strict";var Ul=Ge(),Hl=ar(),Wl=Ae(),Yl="[object Object]",Kl=Function.prototype,Xl=Object.prototype,ua=Kl.toString,Zl=Xl.hasOwnProperty,Jl=ua.call(Object);function Ql(e){if(!Wl(e)||Ul(e)!=Yl)return!1;var t=Hl(e);if(t===null)return!0;var r=Zl.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&ua.call(r)==Jl}pa.exports=Ql});var da=s((ay,fa)=>{"use strict";var ef=Ge(),tf=pr(),rf=Ae(),nf="[object Arguments]",of="[object Array]",af="[object Boolean]",sf="[object Date]",cf="[object Error]",uf="[object Function]",pf="[object Map]",lf="[object Number]",ff="[object Object]",df="[object RegExp]",hf="[object Set]",mf="[object String]",yf="[object WeakMap]",gf="[object ArrayBuffer]",vf="[object DataView]",bf="[object Float32Array]",xf="[object Float64Array]",wf="[object Int8Array]",Sf="[object Int16Array]",_f="[object Int32Array]",Of="[object Uint8Array]",Pf="[object Uint8ClampedArray]",Cf="[object Uint16Array]",Ef="[object Uint32Array]",j={};j[bf]=j[xf]=j[wf]=j[Sf]=j[_f]=j[Of]=j[Pf]=j[Cf]=j[Ef]=!0;j[nf]=j[of]=j[gf]=j[af]=j[vf]=j[sf]=j[cf]=j[uf]=j[pf]=j[lf]=j[ff]=j[df]=j[hf]=j[mf]=j[yf]=!1;function jf(e){return rf(e)&&tf(e.length)&&!!j[ef(e)]}fa.exports=jf});var ma=s((sy,ha)=>{"use strict";function Af(e){return function(t){return e(t)}}ha.exports=Af});var ga=s((Xe,Ie)=>{"use strict";var Tf=Qt(),ya=typeof Xe=="object"&&Xe&&!Xe.nodeType&&Xe,Ze=ya&&typeof Ie=="object"&&Ie&&!Ie.nodeType&&Ie,If=Ze&&Ze.exports===ya,fr=If&&Tf.process,qf=(function(){try{var e=Ze&&Ze.require&&Ze.require("util").types;return e||fr&&fr.binding&&fr.binding("util")}catch{}})();Ie.exports=qf});var dr=s((cy,xa)=>{"use strict";var Rf=da(),Nf=ma(),va=ga(),ba=va&&va.isTypedArray,kf=ba?Nf(ba):Rf;xa.exports=kf});var hr=s((uy,wa)=>{"use strict";function Df(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}wa.exports=Df});var _a=s((py,Sa)=>{"use strict";var Mf=St(),Lf=Be(),Ff=Object.prototype,$f=Ff.hasOwnProperty;function zf(e,t,r){var n=e[t];(!($f.call(e,t)&&Lf(n,r))||r===void 0&&!(t in e))&&Mf(e,t,r)}Sa.exports=zf});var Pa=s((ly,Oa)=>{"use strict";var Gf=_a(),Bf=St();function Vf(e,t,r,n){var o=!r;r||(r={});for(var i=-1,a=t.length;++i<a;){var c=t[i],u=n?n(r[c],e[c],c,r,e):void 0;u===void 0&&(u=e[c]),o?Bf(r,c,u):Gf(r,c,u)}return r}Oa.exports=Vf});var Ea=s((fy,Ca)=>{"use strict";function Uf(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}Ca.exports=Uf});var mr=s((dy,ja)=>{"use strict";var Hf=9007199254740991,Wf=/^(?:0|[1-9]\d*)$/;function Yf(e,t){var r=typeof e;return t=t??Hf,!!t&&(r=="number"||r!="symbol"&&Wf.test(e))&&e>-1&&e%1==0&&e<t}ja.exports=Yf});var Ta=s((hy,Aa)=>{"use strict";var Kf=Ea(),Xf=cr(),Zf=ur(),Jf=lr(),Qf=mr(),ed=dr(),td=Object.prototype,rd=td.hasOwnProperty;function nd(e,t){var r=Zf(e),n=!r&&Xf(e),o=!r&&!n&&Jf(e),i=!r&&!n&&!o&&ed(e),a=r||n||o||i,c=a?Kf(e.length,String):[],u=c.length;for(var d in e)(t||rd.call(e,d))&&!(a&&(d=="length"||o&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Qf(d,u)))&&c.push(d);return c}Aa.exports=nd});var qa=s((my,Ia)=>{"use strict";function od(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}Ia.exports=od});var Na=s((yy,Ra)=>{"use strict";var id=Q(),ad=sr(),sd=qa(),cd=Object.prototype,ud=cd.hasOwnProperty;function pd(e){if(!id(e))return sd(e);var t=ad(e),r=[];for(var n in e)n=="constructor"&&(t||!ud.call(e,n))||r.push(n);return r}Ra.exports=pd});var yr=s((gy,ka)=>{"use strict";var ld=Ta(),fd=Na(),dd=_t();function hd(e){return dd(e)?ld(e,!0):fd(e)}ka.exports=hd});var Ma=s((vy,Da)=>{"use strict";var md=Pa(),yd=yr();function gd(e){return md(e,yd(e))}Da.exports=gd});var Ba=s((by,Ga)=>{"use strict";var La=ir(),vd=ji(),bd=ki(),xd=Mi(),wd=Hi(),Fa=cr(),$a=ur(),Sd=na(),_d=lr(),Od=xt(),Pd=Q(),Cd=la(),Ed=dr(),za=hr(),jd=Ma();function Ad(e,t,r,n,o,i,a){var c=za(e,r),u=za(t,r),d=a.get(u);if(d){La(e,r,d);return}var l=i?i(c,u,r+"",e,t,a):void 0,h=l===void 0;if(h){var S=$a(u),w=!S&&_d(u),v=!S&&!w&&Ed(u);l=u,S||w||v?$a(c)?l=c:Sd(c)?l=xd(c):w?(h=!1,l=vd(u,!0)):v?(h=!1,l=bd(u,!0)):l=[]:Cd(u)||Fa(u)?(l=c,Fa(c)?l=jd(c):(!Pd(c)||Od(c))&&(l=wd(u))):h=!1}h&&(a.set(u,l),o(l,u,n,i,a),a.delete(u)),La(e,r,l)}Ga.exports=Ad});var gr=s((xy,Ua)=>{"use strict";var Td=yi(),Id=ir(),qd=_i(),Rd=Ba(),Nd=Q(),kd=yr(),Dd=hr();function Va(e,t,r,n,o){e!==t&&qd(t,function(i,a){if(o||(o=new Td),Nd(i))Rd(e,t,a,r,Va,n,o);else{var c=n?n(Dd(e,a),i,a+"",e,t,o):void 0;c===void 0&&(c=i),Id(e,a,c)}},kd)}Ua.exports=Va});var Ka=s((wy,Ya)=>{"use strict";var Md=gr(),Ha=Q();function Wa(e,t,r,n,o,i){return Ha(e)&&Ha(t)&&(i.set(t,e),Md(e,t,void 0,Wa,i),i.delete(t)),e}Ya.exports=Wa});var Za=s((Sy,Xa)=>{"use strict";var Ld=Be(),Fd=_t(),$d=mr(),zd=Q();function Gd(e,t,r){if(!zd(r))return!1;var n=typeof t;return(n=="number"?Fd(r)&&$d(t,r.length):n=="string"&&t in r)?Ld(r[t],e):!1}Xa.exports=Gd});var Qa=s((_y,Ja)=>{"use strict";var Bd=nr(),Vd=Za();function Ud(e){return Bd(function(t,r){var n=-1,o=r.length,i=o>1?r[o-1]:void 0,a=o>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(o--,i):void 0,a&&Vd(r[0],r[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++n<o;){var c=r[n];c&&e(t,c,n,i)}return t})}Ja.exports=Ud});var ts=s((Oy,es)=>{"use strict";var Hd=gr(),Wd=Qa(),Yd=Wd(function(e,t,r,n){Hd(e,t,r,n)});es.exports=Yd});var ns=s((Py,rs)=>{"use strict";var Kd=Zt(),Xd=nr(),Zd=Ka(),Jd=ts(),Qd=Xd(function(e){return e.push(void 0,Zd),Kd(Jd,void 0,e)});rs.exports=Qd});var rh={};ws(rh,{initialiseInjections:()=>th});module.exports=Ss(rh);var cs=require("react-dom/client");var ee=require("react"),os=require("react-intl"),is=require("@strapi/design-system");var k=function(){return k=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},k.apply(this,arguments)};function oe(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function Cr(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var _s=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Er=Cr(function(e){return _s.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});var E=Pr(require("react"));var C="-ms-",ie="-moz-",x="-webkit-",it="comm",te="rule",he="decl";var jr="@import";var Ar="@namespace",at="@keyframes";var Tr="@layer";var jt=Math.abs,Ne=String.fromCharCode,ke=Object.assign;function Ir(e,t){return A(e,0)^45?(((t<<2^A(e,0))<<2^A(e,1))<<2^A(e,2))<<2^A(e,3):0}function st(e){return e.trim()}function B(e,t){return(e=t.exec(e))?e[0]:e}function g(e,t,r){return e.replace(t,r)}function me(e,t,r){return e.indexOf(t,r)}function A(e,t){return e.charCodeAt(t)|0}function V(e,t,r){return e.slice(t,r)}function D(e){return e.length}function ct(e){return e.length}function ae(e,t){return t.push(e),e}function qr(e,t){return e.map(t).join("")}function At(e,t){return e.filter(function(r){return!B(r,t)})}var ut=1,ye=1,Rr=0,F=0,q=0,ve="";function De(e,t,r,n,o,i,a,c){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:ut,column:ye,length:a,return:"",siblings:c}}function Y(e,t){return ke(De("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function se(e){for(;e.root;)e=Y(e.root,{children:[e]});ae(e,e.siblings)}function Nr(){return q}function kr(){return q=F>0?A(ve,--F):0,ye--,q===10&&(ye=1,ut--),q}function $(){return q=F<Rr?A(ve,F++):0,ye++,q===10&&(ye=1,ut++),q}function K(){return A(ve,F)}function Me(){return F}function pt(e,t){return V(ve,e,t)}function ge(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Dr(e){return ut=ye=1,Rr=D(ve=e),F=0,[]}function Mr(e){return ve="",e}function lt(e){return st(pt(F-1,Tt(e===91?e+2:e===40?e+1:e)))}function Lr(e){for(;(q=K())&&q<33;)$();return ge(e)>2||ge(q)>3?"":" "}function Fr(e,t){for(;--t&&$()&&!(q<48||q>102||q>57&&q<65||q>70&&q<97););return pt(e,Me()+(t<6&&K()==32&&$()==32))}function Tt(e){for(;$();)switch(q){case e:return F;case 34:case 39:e!==34&&e!==39&&Tt(q);break;case 40:e===41&&Tt(e);break;case 92:$();break}return F}function $r(e,t){for(;$()&&e+q!==57;)if(e+q===84&&K()===47)break;return"/*"+pt(t,F-1)+"*"+Ne(e===47?e:$())}function zr(e){for(;!ge(K());)$();return pt(e,F)}function Vr(e){return Mr(ft("",null,null,null,[""],e=Dr(e),0,[0],e))}function ft(e,t,r,n,o,i,a,c,u){for(var d=0,l=0,h=a,S=0,w=0,v=0,_=1,R=1,I=1,T=0,P="",f=o,b=i,y=n,p=P;R;)switch(v=T,T=$()){case 40:if(v!=108&&A(p,h-1)==58){me(p+=g(lt(T),"&","&\f"),"&\f",jt(d?c[d-1]:0))!=-1&&(I=-1);break}case 34:case 39:case 91:p+=lt(T);break;case 9:case 10:case 13:case 32:p+=Lr(v);break;case 92:p+=Fr(Me()-1,7);continue;case 47:switch(K()){case 42:case 47:ae(Os($r($(),Me()),t,r,u),u),(ge(v||1)==5||ge(K()||1)==5)&&D(p)&&V(p,-1,void 0)!==" "&&(p+=" ");break;default:p+="/"}break;case 123*_:c[d++]=D(p)*I;case 125*_:case 59:case 0:switch(T){case 0:case 125:R=0;case 59+l:I==-1&&(p=g(p,/\f/g,"")),w>0&&(D(p)-h||_===0&&v===47)&&ae(w>32?Br(p+";",n,r,h-1,u):Br(g(p," ","")+";",n,r,h-2,u),u);break;case 59:p+=";";default:if(ae(y=Gr(p,t,r,d,l,o,c,P,f=[],b=[],h,i),i),T===123)if(l===0)ft(p,t,y,y,f,i,h,c,b);else{switch(S){case 99:if(A(p,3)===110)break;case 108:if(A(p,2)===97)break;default:l=0;case 100:case 109:case 115:}l?ft(e,y,y,n&&ae(Gr(e,y,y,0,0,o,c,P,o,f=[],h,b),b),o,b,h,c,n?f:b):ft(p,y,y,y,[""],b,0,c,b)}}d=l=w=0,_=I=1,P=p="",h=a;break;case 58:h=1+D(p),w=v;default:if(_<1){if(T==123)--_;else if(T==125&&_++==0&&kr()==125)continue}switch(p+=Ne(T),T*_){case 38:I=l>0?1:(p+="\f",-1);break;case 44:c[d++]=(D(p)-1)*I,I=1;break;case 64:K()===45&&(p+=lt($())),S=K(),l=h=D(P=p+=zr(Me())),T++;break;case 45:v===45&&D(p)==2&&(_=0)}}return i}function Gr(e,t,r,n,o,i,a,c,u,d,l,h){for(var S=o-1,w=o===0?i:[""],v=ct(w),_=0,R=0,I=0;_<n;++_)for(var T=0,P=V(e,S+1,S=jt(R=a[_])),f=e;T<v;++T)(f=st(R>0?w[T]+" "+P:g(P,/&\f/g,w[T])))&&(u[I++]=f);return De(e,t,r,o===0?te:c,u,d,l,h)}function Os(e,t,r,n){return De(e,t,r,it,Ne(Nr()),V(e,2,-2),0,n)}function Br(e,t,r,n,o){return De(e,t,r,he,V(e,0,n),V(e,n+1,-1),n,o)}function It(e,t,r){switch(Ir(e,t)){case 5103:return x+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return x+e+e;case 4855:return x+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return ie+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return x+e+ie+e+C+e+e;case 5936:switch(A(e,t+11)){case 114:return x+e+C+g(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return x+e+C+g(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return x+e+C+g(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return x+e+C+e+e;case 6165:return x+e+C+"flex-"+e+e;case 5187:return x+e+g(e,/(\w+).+(:[^]+)/,x+"box-$1$2"+C+"flex-$1$2")+e;case 5443:return x+e+C+"flex-item-"+g(e,/flex-|-self/g,"")+(B(e,/flex-|baseline/)?"":C+"grid-row-"+g(e,/flex-|-self/g,""))+e;case 4675:return x+e+C+"flex-line-pack"+g(e,/align-content|flex-|-self/g,"")+e;case 5548:return x+e+C+g(e,"shrink","negative")+e;case 5292:return x+e+C+g(e,"basis","preferred-size")+e;case 6060:return x+"box-"+g(e,"-grow","")+x+e+C+g(e,"grow","positive")+e;case 4554:return x+g(e,/([^-])(transform)/g,"$1"+x+"$2")+e;case 6187:return g(g(g(e,/(zoom-|grab)/,x+"$1"),/(image-set)/,x+"$1"),e,"")+e;case 5495:case 3959:return g(e,/(image-set\([^]*)/,x+"$1$`$1");case 4968:return g(g(e,/(.+:)(flex-)?(.*)/,x+"box-pack:$3"+C+"flex-pack:$3"),/space-between/,"justify")+x+e+e;case 4200:if(!B(e,/flex-|baseline/))return C+"grid-column-align"+V(e,t)+e;break;case 2592:case 3360:return C+g(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,B(n.props,/grid-\w+-end/)})?~me(e+(r=r[t].value),"span",0)?e:C+g(e,"-start","")+e+C+"grid-row-span:"+(~me(r,"span",0)?B(r,/\d+/):+B(r,/\d+/)-+B(e,/\d+/))+";":C+g(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return B(n.props,/grid-\w+-start/)})?e:C+g(g(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return g(e,/(.+)-inline(.+)/,x+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(D(e)-1-t>6)switch(A(e,t+1)){case 109:if(A(e,t+4)!==45)break;case 102:return g(e,/(.+:)(.+)-([^]+)/,"$1"+x+"$2-$3$1"+ie+(A(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~me(e,"stretch",0)?It(g(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return g(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,a,c,u,d){return C+o+":"+i+d+(a?C+o+"-span:"+(c?u:+u-+i)+d:"")+e});case 4949:if(A(e,t+6)===121)return g(e,":",":"+x)+e;break;case 6444:switch(A(e,A(e,14)===45?18:11)){case 120:return g(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+x+(A(e,14)===45?"inline-":"")+"box$3$1"+x+"$2$3$1"+C+"$2box$3")+e;case 100:return g(e,":",":"+C)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return g(e,"scroll-","scroll-snap-")+e}return e}function be(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Ur(e,t,r,n){switch(e.type){case Tr:if(e.children.length)break;case jr:case Ar:case he:return e.return=e.return||e.value;case it:return"";case at:return e.return=e.value+"{"+be(e.children,n)+"}";case te:if(!D(e.value=e.props.join(",")))return""}return D(r=be(e.children,n))?e.return=e.value+"{"+r+"}":""}function Hr(e){var t=ct(e);return function(r,n,o,i){for(var a="",c=0;c<t;c++)a+=e[c](r,n,o,i)||"";return a}}function Wr(e){return function(t){t.root||(t=t.return)&&e(t)}}function Yr(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case he:e.return=It(e.value,e.length,r);return;case at:return be([Y(e,{value:g(e.value,"@","@"+x)})],n);case te:if(e.length)return qr(r=e.props,function(o){switch(B(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":se(Y(e,{props:[g(o,/:(read-\w+)/,":"+ie+"$1")]})),se(Y(e,{props:[o]})),ke(e,{props:At(r,n)});break;case"::placeholder":se(Y(e,{props:[g(o,/:(plac\w+)/,":"+x+"input-$1")]})),se(Y(e,{props:[g(o,/:(plac\w+)/,":"+ie+"$1")]})),se(Y(e,{props:[g(o,/:(plac\w+)/,C+"input-$1")]})),se(Y(e,{props:[o]})),ke(e,{props:At(r,n)});break}return""})}}var Kr={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var J=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ln="active",gt="data-styled-version",xe="6.3.9",Ut=`/*!sc*/
2
+ `,Fe=typeof window<"u"&&typeof document<"u",Z=E.default.createContext===void 0,Ps=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production");var Xr=/invalid hook call/i,dt=new Set,Cs=function(e,t){if(process.env.NODE_ENV!=="production"){if(Z)return;var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` has been created dynamically.
3
+ `)+`You may see this warning because you've called styled inside another component.
4
+ To resolve this only create new StyledComponents outside of any render method and function component.
5
+ See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
6
+ `,o=console.error;try{var i=!0;console.error=function(a){for(var c=[],u=1;u<arguments.length;u++)c[u-1]=arguments[u];Xr.test(a)?(i=!1,dt.delete(n)):o.apply(void 0,oe([a],c,!1))},typeof E.default.useState=="function"&&E.default.useState(null),i&&!dt.has(n)&&(console.warn(n),dt.add(n))}catch(a){Xr.test(a.message)&&dt.delete(n)}finally{console.error=o}}},Ht=Object.freeze([]),we=Object.freeze({});function Es(e,t,r){return r===void 0&&(r=we),e.theme!==r.theme&&e.theme||t||r.theme}var Dt=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),js=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,As=/(^-|-$)/g;function Zr(e){return e.replace(js,"-").replace(As,"")}var Ts=/(a)(d)/gi,Jr=function(e){return String.fromCharCode(e+(e>25?39:97))};function Mt(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=Jr(t%52)+r;return(Jr(t%52)+r).replace(Ts,"$1-$2")}var qt,re=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},fn=function(e){return re(5381,e)};function Is(e){return Mt(fn(e)>>>0)}function dn(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Rt(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var hn=typeof Symbol=="function"&&Symbol.for,mn=hn?Symbol.for("react.memo"):60115,qs=hn?Symbol.for("react.forward_ref"):60112,Rs={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ns={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},yn={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ks=((qt={})[qs]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},qt[mn]=yn,qt);function Qr(e){return("type"in(t=e)&&t.type.$$typeof)===mn?yn:"$$typeof"in e?ks[e.$$typeof]:Rs;var t}var Ds=Object.defineProperty,Ms=Object.getOwnPropertyNames,en=Object.getOwnPropertySymbols,Ls=Object.getOwnPropertyDescriptor,Fs=Object.getPrototypeOf,tn=Object.prototype;function gn(e,t,r){if(typeof t!="string"){if(tn){var n=Fs(t);n&&n!==tn&&gn(e,n,r)}var o=Ms(t);en&&(o=o.concat(en(t)));for(var i=Qr(e),a=Qr(t),c=0;c<o.length;++c){var u=o[c];if(!(u in Ns||r&&r[u]||a&&u in a||i&&u in i)){var d=Ls(t,u);try{Ds(e,u,d)}catch{}}}}return e}function Se(e){return typeof e=="function"}function Wt(e){return typeof e=="object"&&"styledComponentId"in e}function ue(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function vt(e,t){return e.join(t||"")}function _e(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Lt(e,t,r){if(r===void 0&&(r=!1),!r&&!_e(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Lt(e[n],t[n]);else if(_e(t))for(var n in t)e[n]=Lt(e[n],t[n]);return e}function Yt(e,t){Object.defineProperty(e,"toString",{value:t})}var $s=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
7
+
8
+ `,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
9
+
10
+ - Are you trying to reuse it across renders?
11
+ - Are you accidentally calling collectStyles twice?
12
+
13
+ `,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
14
+
15
+ `,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
16
+
17
+ - Does this error occur on the client and is your target falsy?
18
+ - Does this error occur on the server and is the sheet falsy?
19
+
20
+ `,5:`The clone method cannot be used on the client!
21
+
22
+ - Are you running in a client-like environment on the server?
23
+ - Are you trying to run SSR on the client?
24
+
25
+ `,6:`Trying to insert a new style tag, but the given Node is unmounted!
26
+
27
+ - Are you using a custom target that isn't mounted?
28
+ - Does your document not have a valid head element?
29
+ - Have you accidentally removed a style tag manually?
30
+
31
+ `,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
32
+
33
+ `,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
34
+
35
+ `,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
36
+
37
+ `,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
38
+
39
+ `,14:`ThemeProvider: "theme" prop is required.
40
+
41
+ `,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
42
+ You may only create up to 1,073,741,824 components. If you're creating components dynamically,
43
+ as for instance in your render method then you may be running into this limitation.
44
+
45
+ `,17:`CSSStyleSheet could not be found on HTMLStyleElement.
46
+ Has styled-components' style tag been unmounted or altered by another script?
47
+ `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function zs(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,i=e.length;o<i;o+=1)n.push(e[o]);return n.forEach(function(a){r=r.replace(/%[a-z]/,a)}),r}function U(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(zs.apply(void 0,oe([$s[e]],t,!1)).trim())}var Gs=(function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t,this._cGroup=0,this._cIndex=0}return e.prototype.indexOfGroup=function(t){if(t===this._cGroup)return this._cIndex;var r=this._cIndex;if(t>this._cGroup)for(var n=this._cGroup;n<t;n++)r+=this.groupSizes[n];else for(n=this._cGroup-1;n>=t;n--)r-=this.groupSizes[n];return this._cGroup=t,this._cIndex=r,r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,i=o;t>=i;)if((i<<=1)<0)throw U(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var a=o;a<i;a++)this.groupSizes[a]=0}for(var c=this.indexOfGroup(t+1),u=0,d=(a=0,r.length);a<d;a++)this.tag.insertRule(c,r[a])&&(this.groupSizes[t]++,c++,u++);u>0&&this._cGroup>t&&(this._cIndex+=u)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var i=n;i<o;i++)this.tag.deleteRule(n);r>0&&this._cGroup>t&&(this._cIndex-=r)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),i=o+n,a=o;a<i;a++)r+=this.tag.getRule(a)+Ut;return r},e})(),Bs=1<<30,mt=new Map,bt=new Map,yt=1,Le=function(e){if(mt.has(e))return mt.get(e);for(;bt.has(yt);)yt++;var t=yt++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>Bs))throw U(16,"".concat(t));return mt.set(e,t),bt.set(t,e),t},Vs=function(e,t){yt=t+1,mt.set(e,t),bt.set(t,e)},Us="style[".concat(J,"][").concat(gt,'="').concat(xe,'"]'),Hs=new RegExp("^".concat(J,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),rn=function(e){return typeof ShadowRoot<"u"&&e instanceof ShadowRoot||"host"in e&&e.nodeType===11},Ft=function(e){if(!e)return document;if(rn(e))return e;if("getRootNode"in e){var t=e.getRootNode();if(rn(t))return t}return document},Ws=function(e,t,r){for(var n,o=r.split(","),i=0,a=o.length;i<a;i++)(n=o[i])&&e.registerName(t,n)},Ys=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(Ut),o=[],i=0,a=n.length;i<a;i++){var c=n[i].trim();if(c){var u=c.match(Hs);if(u){var d=0|parseInt(u[1],10),l=u[2];d!==0&&(Vs(l,d),Ws(e,l,u[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(c)}}},Nt=function(e){for(var t=Ft(e.options.target).querySelectorAll(Us),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(J)!==ln&&(Ys(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function $t(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var vn=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=(function(c){var u=Array.from(c.querySelectorAll("style[".concat(J,"]")));return u[u.length-1]})(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(J,ln),n.setAttribute(gt,xe);var a=$t();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},Ks=(function(){function e(t){this.element=vn(t),this.element.appendChild(document.createTextNode("")),this.sheet=(function(r){var n;if(r.sheet)return r.sheet;for(var o=(n=r.getRootNode().styleSheets)!==null&&n!==void 0?n:document.styleSheets,i=0,a=o.length;i<a;i++){var c=o[i];if(c.ownerNode===r)return c}throw U(17)})(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e})(),Xs=(function(){function e(t){this.element=vn(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e})(),Zs=(function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(t===this.length?this.rules.push(r):this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e})(),nn=Fe,Js={isServer:!Fe,useCSSOMInjection:!Ps},$e=(function(){function e(t,r,n){t===void 0&&(t=we),r===void 0&&(r={});var o=this;this.options=k(k({},Js),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Fe&&nn&&(nn=!1,Nt(this)),Yt(this,function(){return(function(i){for(var a=i.getTag(),c=a.length,u="",d=function(h){var S=(function(I){return bt.get(I)})(h);if(S===void 0)return"continue";var w=i.names.get(S);if(w===void 0||!w.size)return"continue";var v=a.getGroup(h);if(v.length===0)return"continue";var _=J+".g"+h+'[id="'+S+'"]',R="";w.forEach(function(I){I.length>0&&(R+=I+",")}),u+=v+_+'{content:"'+R+'"}'+Ut},l=0;l<c;l++)d(l);return u})(o)})}return e.registerId=function(t){return Le(t)},e.prototype.rehydrate=function(){!this.server&&Fe&&Nt(this)},e.prototype.reconstructWithOptions=function(t,r){r===void 0&&(r=!0);var n=new e(k(k({},this.options),t),this.gs,r&&this.names||void 0);return!this.server&&Fe&&t.target!==this.options.target&&Ft(this.options.target)!==Ft(t.target)&&Nt(n),n},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=(function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new Zs(o):n?new Ks(o):new Xs(o)})(this.options),new Gs(t)));var t},e.prototype.hasNameForId=function(t,r){var n,o;return(o=(n=this.names.get(t))===null||n===void 0?void 0:n.has(r))!==null&&o!==void 0&&o},e.prototype.registerName=function(t,r){Le(t);var n=this.names.get(t);n?n.add(r):this.names.set(t,new Set([r]))},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Le(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Le(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e})(),Qs=/&/g,X=47,ce=42;function on(e){if(e.indexOf("}")===-1)return!1;for(var t=e.length,r=0,n=0,o=!1,i=0;i<t;i++){var a=e.charCodeAt(i);if(n!==0||o||a!==X||e.charCodeAt(i+1)!==ce)if(o)a===ce&&e.charCodeAt(i+1)===X&&(o=!1,i++);else if(a!==34&&a!==39||i!==0&&e.charCodeAt(i-1)===92){if(n===0){if(a===123)r++;else if(a===125&&--r<0)return!0}}else n===0?n=a:n===a&&(n=0);else o=!0,i++}return r!==0||n!==0}function bn(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=bn(r.children,t)),r})}function xn(e){var t,r,n,o=e===void 0?we:e,i=o.options,a=i===void 0?we:i,c=o.plugins,u=c===void 0?Ht:c,d=function(v,_,R){return R.startsWith(r)&&R.endsWith(r)&&R.replaceAll(r,"").length>0?".".concat(t):v},l=u.slice();l.push(function(v){v.type===te&&v.value.includes("&")&&(n||(n=new RegExp("\\".concat(r,"\\b"),"g")),v.props[0]=v.props[0].replace(Qs,r).replace(n,d))}),a.prefix&&l.push(Yr),l.push(Ur);var h=[],S=Hr(l.concat(Wr(function(v){return h.push(v)}))),w=function(v,_,R,I){_===void 0&&(_=""),R===void 0&&(R=""),I===void 0&&(I="&"),t=I,r=_,n=void 0;var T=(function(f){if(!on(f))return f;for(var b=f.length,y="",p=0,m=0,N=0,z=!1,O=0;O<b;O++){var G=f.charCodeAt(O);if(N!==0||z||G!==X||f.charCodeAt(O+1)!==ce)if(z)G===ce&&f.charCodeAt(O+1)===X&&(z=!1,O++);else if(G!==34&&G!==39||O!==0&&f.charCodeAt(O-1)===92){if(N===0)if(G===123)m++;else if(G===125){if(--m<0){for(var M=O+1;M<b;){var Je=f.charCodeAt(M);if(Je===59||Je===10)break;M++}M<b&&f.charCodeAt(M)===59&&M++,m=0,O=M-1,p=M;continue}m===0&&(y+=f.substring(p,O+1),p=O+1)}else G===59&&m===0&&(y+=f.substring(p,O+1),p=O+1)}else N===0?N=G:N===G&&(N=0);else z=!0,O++}if(p<b){var Qe=f.substring(p);on(Qe)||(y+=Qe)}return y})((function(f){if(f.indexOf("//")===-1)return f;for(var b=f.length,y=[],p=0,m=0,N=0,z=0;m<b;){var O=f.charCodeAt(m);if(O!==34&&O!==39||m!==0&&f.charCodeAt(m-1)===92)if(N===0)if(O===X&&m+1<b&&f.charCodeAt(m+1)===ce){for(m+=2;m+1<b&&(f.charCodeAt(m)!==ce||f.charCodeAt(m+1)!==X);)m++;m+=2}else if(O===40&&m>=3&&(32|f.charCodeAt(m-1))==108&&(32|f.charCodeAt(m-2))==114&&(32|f.charCodeAt(m-3))==117)z=1,m++;else if(z>0)O===41?z--:O===40&&z++,m++;else if(O===ce&&m+1<b&&f.charCodeAt(m+1)===X)m>p&&y.push(f.substring(p,m)),p=m+=2;else if(O===X&&m+1<b&&f.charCodeAt(m+1)===X){for(m>p&&y.push(f.substring(p,m));m<b&&f.charCodeAt(m)!==10;)m++;p=m}else m++;else m++;else N===0?N=O:N===O&&(N=0),m++}return p===0?f:(p<b&&y.push(f.substring(p)),y.join(""))})(v)),P=Vr(R||_?"".concat(R," ").concat(_," { ").concat(T," }"):T);return a.namespace&&(P=bn(P,a.namespace)),h=[],be(P,S),h};return w.hash=u.length?u.reduce(function(v,_){return _.name||U(15),re(v,_.name)},5381).toString():"",w}var ec=new $e,zt=xn(),Gt={shouldForwardProp:void 0,styleSheet:ec,stylis:zt},Kt=Z?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(Gt)}}:E.default.createContext(Gt),Nh=Kt.Consumer,tc=Z?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:E.default.createContext(void 0);function Bt(){return Z?Gt:E.default.useContext(Kt)}function Xt(e){if(Z||!E.default.useMemo)return e.children;var t=Bt().styleSheet,r=E.default.useMemo(function(){var i=t;return e.sheet?i=e.sheet:e.target&&(i=i.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(i=i.reconstructWithOptions({useCSSOMInjection:!1})),i},[e.disableCSSOMInjection,e.sheet,e.target,t]),n=E.default.useMemo(function(){return xn({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:e.stylisPlugins})},[e.enableVendorPrefixes,e.namespace,e.stylisPlugins]),o=E.default.useMemo(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:r,stylis:n}},[e.shouldForwardProp,r,n]);return E.default.createElement(Kt.Provider,{value:o},E.default.createElement(tc.Provider,{value:n},e.children))}var an=(function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=zt);var a=n.name+i.hash;o.hasNameForId(n.id,a)||o.insertRules(n.id,a,i(n.rules,a,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,Yt(this,function(){throw U(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=zt),this.name+t.hash},e})();function rc(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||e in Kr||e.startsWith("--")?String(t).trim():"".concat(t,"px")}var nc=function(e){return e>="A"&&e<="Z"};function sn(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;nc(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var wn=function(e){return e==null||e===!1||e===""},Sn=function(e){var t=[];for(var r in e){var n=e[r];e.hasOwnProperty(r)&&!wn(n)&&(Array.isArray(n)&&n.isCss||Se(n)?t.push("".concat(sn(r),":"),n,";"):_e(n)?t.push.apply(t,oe(oe(["".concat(r," {")],Sn(n),!1),["}"],!1)):t.push("".concat(sn(r),": ").concat(rc(r,n),";")))}return t};function ne(e,t,r,n,o){if(o===void 0&&(o=[]),typeof e=="string")return e&&o.push(e),o;if(wn(e))return o;if(Wt(e))return o.push(".".concat(e.styledComponentId)),o;if(Se(e)){if(!Se(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return o.push(e),o;var i=e(t);return process.env.NODE_ENV==="production"||typeof i!="object"||Array.isArray(i)||i instanceof an||_e(i)||i===null||console.error("".concat(dn(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),ne(i,t,r,n,o)}var a;if(e instanceof an)return r?(e.inject(r,n),o.push(e.getName(n))):o.push(e),o;if(_e(e)){for(var c=Sn(e),u=0;u<c.length;u++)o.push(c[u]);return o}if(!Array.isArray(e))return o.push(e.toString()),o;for(u=0;u<e.length;u++)ne(e[u],t,r,n,o);return o}function _n(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Se(r)&&!Wt(r))return!1}return!0}var oc=fn(xe),ic=(function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&_n(t),this.componentId=r,this.baseHash=re(oc,r),this.baseStyle=n,$e.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n).className:"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=ue(o,this.staticRulesId);else{var i=vt(ne(this.rules,t,r,n)),a=Mt(re(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,a)){var c=n(i,".".concat(a),void 0,this.componentId);r.insertRules(this.componentId,a,c)}o=ue(o,a),this.staticRulesId=a}else{for(var u=re(this.baseHash,n.hash),d="",l=0;l<this.rules.length;l++){var h=this.rules[l];if(typeof h=="string")d+=h,process.env.NODE_ENV!=="production"&&(u=re(u,h));else if(h){var S=vt(ne(h,t,r,n));u=re(re(u,String(l)),S),d+=S}}if(d){var w=Mt(u>>>0);if(!r.hasNameForId(this.componentId,w)){var v=n(d,".".concat(w),void 0,this.componentId);r.insertRules(this.componentId,w,v)}o=ue(o,w)}}return{className:o,css:typeof window>"u"?r.getTag().getGroup(Le(this.componentId)):""}},e})(),On=Z?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:E.default.createContext(void 0),kh=On.Consumer;var kt={},cn=new Set;function ac(e,t,r){var n=Wt(e),o=e,i=!Rt(e),a=t.attrs,c=a===void 0?Ht:a,u=t.componentId,d=u===void 0?(function(f,b){var y=typeof f!="string"?"sc":Zr(f);kt[y]=(kt[y]||0)+1;var p="".concat(y,"-").concat(Is(xe+y+kt[y]));return b?"".concat(b,"-").concat(p):p})(t.displayName,t.parentComponentId):u,l=t.displayName,h=l===void 0?(function(f){return Rt(f)?"styled.".concat(f):"Styled(".concat(dn(f),")")})(e):l,S=t.displayName&&t.componentId?"".concat(Zr(t.displayName),"-").concat(t.componentId):t.componentId||d,w=n&&o.attrs?o.attrs.concat(c).filter(Boolean):c,v=t.shouldForwardProp;if(n&&o.shouldForwardProp){var _=o.shouldForwardProp;if(t.shouldForwardProp){var R=t.shouldForwardProp;v=function(f,b){return _(f,b)&&R(f,b)}}else v=_}var I=new ic(r,S,n?o.componentStyle:void 0);function T(f,b){return(function(y,p,m){var N=y.attrs,z=y.componentStyle,O=y.defaultProps,G=y.foldedComponentIds,M=y.styledComponentId,Je=y.target,Qe=Z?void 0:E.default.useContext(On),ms=Bt(),Pt=y.shouldForwardProp||ms.shouldForwardProp;process.env.NODE_ENV!=="production"&&E.default.useDebugValue&&E.default.useDebugValue(M);var xr=Es(p,Qe,O)||(Z?void 0:we),H=(function(tt,le,rt){for(var fe,W=k(k({},le),{className:void 0,theme:rt}),Et=0;Et<tt.length;Et+=1){var nt=Se(fe=tt[Et])?fe(W):fe;for(var de in nt)de==="className"?W.className=ue(W.className,nt[de]):de==="style"?W.style=k(k({},W.style),nt[de]):W[de]=nt[de]}return"className"in le&&typeof le.className=="string"&&(W.className=ue(W.className,le.className)),W})(N,p,xr),qe=H.as||Je,Re={};for(var L in H)H[L]===void 0||L[0]==="$"||L==="as"||L==="theme"&&H.theme===xr||(L==="forwardedAs"?Re.as=H.forwardedAs:Pt&&!Pt(L,qe)||(Re[L]=H[L],Pt||process.env.NODE_ENV!=="development"||Er(L)||cn.has(L)||!Dt.has(qe)||(cn.add(L),console.warn('styled-components: it looks like an unknown prop "'.concat(L,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var wr=(function(tt,le){var rt=Bt(),fe=tt.generateAndInjectStyles(le,rt.styleSheet,rt.stylis);return process.env.NODE_ENV!=="production"&&E.default.useDebugValue&&E.default.useDebugValue(fe.className),fe})(z,H),et=wr.className,Sr=wr.css;process.env.NODE_ENV!=="production"&&y.warnTooManyClasses&&y.warnTooManyClasses(et);var Ct=ue(G,M);et&&(Ct+=" "+et),H.className&&(Ct+=" "+H.className),Re[Rt(qe)&&!Dt.has(qe)?"class":"className"]=Ct,m&&(Re.ref=m);var _r=(0,E.createElement)(qe,Re);return Z&&Sr?E.default.createElement(E.default.Fragment,null,E.default.createElement("style",{precedence:"styled-components",href:"sc-".concat(M,"-").concat(et),children:Sr}),_r):_r})(P,f,b)}T.displayName=h;var P=E.default.forwardRef(T);return P.attrs=w,P.componentStyle=I,P.displayName=h,P.shouldForwardProp=v,P.foldedComponentIds=n?ue(o.foldedComponentIds,o.styledComponentId):"",P.styledComponentId=S,P.target=n?o.target:e,Object.defineProperty(P,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(f){this._foldedDefaultProps=n?(function(b){for(var y=[],p=1;p<arguments.length;p++)y[p-1]=arguments[p];for(var m=0,N=y;m<N.length;m++)Lt(b,N[m],!0);return b})({},o.defaultProps,f):f}}),process.env.NODE_ENV!=="production"&&(Cs(h,S),P.warnTooManyClasses=(function(f,b){var y={},p=!1;return function(m){if(!p&&(y[m]=!0,Object.keys(y).length>=200)){var N=b?' with the id of "'.concat(b,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(f).concat(N,`.
48
+ `)+`Consider using the attrs method, together with a style object for frequently changed styles.
49
+ Example:
50
+ const Component = styled.div.attrs(props => ({
51
+ style: {
52
+ background: props.background,
53
+ },
54
+ }))\`width: 100%;\`
55
+
56
+ <Component />`),p=!0,y={}}}})(h,S)),Yt(P,function(){return".".concat(P.styledComponentId)}),i&&gn(P,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),P}function un(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var pn=function(e){return Object.assign(e,{isCss:!0})};function sc(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(Se(e)||_e(e))return pn(ne(un(Ht,oe([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?ne(n):pn(ne(un(n,t)))}function Vt(e,t,r){if(r===void 0&&(r=we),!t)throw U(1,t);var n=function(o){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return e(t,r,sc.apply(void 0,oe([o],i,!1)))};return n.attrs=function(o){return Vt(e,t,k(k({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return Vt(e,t,k(k({},r),o))},n}var Pn=function(e){return Vt(ac,e)},cc=Pn;Dt.forEach(function(e){cc[e]=Pn(e)});var Dh=(function(){function e(t,r){this.rules=t,this.componentId=r,this.isStatic=_n(t),$e.registerId(this.componentId+1)}return e.prototype.createStyles=function(t,r,n,o){var i=o(vt(ne(this.rules,r,n,o)),""),a=this.componentId+t;n.insertRules(a,a,i)},e.prototype.removeStyles=function(t,r){r.clearRules(this.componentId+t)},e.prototype.renderStyles=function(t,r,n,o){t>2&&$e.registerId(this.componentId+t);var i=this.componentId+t;this.isStatic?n.hasNameForId(i,i)||this.createStyles(t,r,n,o):(this.removeStyles(t,n),this.createStyles(t,r,n,o))},e})();var uc=/^\s*<\/[a-z]/i,Mh=(function(){function e(){var t=this;this._emitSheetCSS=function(){var r=t.instance.toString();if(!r)return"";var n=$t(),o=vt([n&&'nonce="'.concat(n,'"'),"".concat(J,'="true"'),"".concat(gt,'="').concat(xe,'"')].filter(Boolean)," ");return"<style ".concat(o,">").concat(r,"</style>")},this.getStyleTags=function(){if(t.sealed)throw U(2);return t._emitSheetCSS()},this.getStyleElement=function(){var r;if(t.sealed)throw U(2);var n=t.instance.toString();if(!n)return[];var o=((r={})[J]="",r[gt]=xe,r.dangerouslySetInnerHTML={__html:n},r),i=$t();return i&&(o.nonce=i),[E.default.createElement("style",k({},o,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new $e({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(t){if(this.sealed)throw U(2);return E.default.createElement(Xt,{sheet:this.instance},t)},e.prototype.interleaveWithNodeStream=function(t){if(this.sealed)throw U(2);this.seal();var r=require("stream").Transform,n=this.instance,o=this._emitSheetCSS,i=new r({transform:function(c,u,d){var l=c.toString(),h=o();if(n.clearTag(),uc.test(l)){var S=l.indexOf(">")+1,w=l.slice(0,S),v=l.slice(S);this.push(w+h+v)}else this.push(h+l);d()}});if("on"in t&&typeof t.on=="function"&&"pipe"in t){var a=t;return a.on("error",function(c){i.emit("error",c)}),a.pipe(i)}if("pipe"in t&&typeof t.pipe=="function")return t.pipe(i);throw new Error("Unsupported stream type")},e})();process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
57
+ Perhaps you're looking to import 'styled-components/native'?
58
+ Read more about this at https://www.styled-components.com/docs/basics#react-native`);var ht="__sc-".concat(J,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[ht]||(window[ht]=0),window[ht]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
59
+
60
+ See https://styled-components.com/docs/faqs#why-am-i-getting-a-warning-about-several-instances-of-module-on-the-page for more info.`),window[ht]+=1);var as=Pr(ns()),Ot=require("react/jsx-runtime"),eh=({children:e,store:t,configurations:r,target:n})=>{let o=(0,ee.useSyncExternalStore)(t.subscribe,t.getState),i=o.admin_app.theme.currentTheme||"light",a=o.admin_app.language.locale||"en",c=r.translations||{},[u,d]=(0,ee.useState)(matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");(0,ee.useEffect)(()=>{let S=matchMedia("(prefers-color-scheme: dark)"),w=v=>{d(v.matches?"dark":"light")};return S.addEventListener("change",w),()=>S.removeEventListener("change",w)},[]);let l=(0,ee.useMemo)(()=>(0,as.default)(c[a],c.en),[a,c]),h=(0,ee.useMemo)(()=>r.themes[i==="system"?u:i],[i,u,r.themes]);return(0,Ot.jsx)(Xt,{target:n,children:(0,Ot.jsx)(is.DesignSystemProvider,{theme:h,locale:a,children:(0,Ot.jsx)(os.IntlProvider,{locale:a,messages:l,children:e})})})},ss=eh;var vr=require("react/jsx-runtime"),us=async(e,t,r)=>{let n=t.domInjections;if(!n){console.warn("Injection system not initialised. Please call initialiseInjections(app) before registering injection routes.");return}document.querySelector(`#${r.id}`)||n.removeRoot(r.id);let i=br(r.route,e.location.pathname);if(!i)return;let a=r.Component(),c=await ps(r.selector);if(!c||!br(r.route,window.location.pathname))return;if(!n.getRoot(r.id)){let h=document.getElementById(r.id);h||(h=document.createElement("div"),h.id=r.id,c.after(h)),n.setRoot(r.id,(0,cs.createRoot)(h))}let d=(await a).default,l=n.getRoot(r.id);l&&l.render((0,vr.jsx)(ss,{store:t.store,configurations:t.configurations,target:document.getElementById(r.id)||void 0,children:(0,vr.jsx)(d,{...i})}))};var fs=async e=>{let t=e.router,r=0;for(;!t?.router?.state?.location&&r<100;)await new Promise(n=>setTimeout(n,10)),r++;if(!t?.router?.state?.location){console.warn("Strapi router not ready after 5s, skipping injection initialization.");return}t.router.subscribe(n=>ls(n,e)),ls(t.router.state,e)},ls=(e,t)=>{let r=t.domInjections?.routes||[];Promise.all(r.map(n=>us(e,t,n)))},ps=(e,t=5e3)=>new Promise(r=>{let n=document.querySelector(e);if(n)return r(n);let o=new MutationObserver(()=>{let i=document.querySelector(e);i&&(o.disconnect(),r(i))});o.observe(document.body,{childList:!0,subtree:!0}),setTimeout(()=>{o.disconnect(),r(null)},t)}),ds=(e,t)=>{if(!t.domInjections?.routes){console.warn("Injection system not initialised. Please call initialiseInjections(app) before registering injection routes.");return}let{id:r,...n}=e;if(r&&t.domInjections.routes.some(i=>i.id===r)){console.warn(`Injection route with id ${r} already exists. Skipping registration.`);return}let o=r||`injection-${Math.random().toString(36).substring(2,9)}`;t.domInjections.routes.push({id:o,...n})},hs=(e,t)=>{if(!t.domInjections?.routes){console.warn("Injection system not initialised. Please call initialiseInjections(app) before unregistering injection routes.");return}let r=t.domInjections.routes.findIndex(n=>n.id===e);if(r===-1){console.warn(`Injection route with id ${e} does not exist. Skipping unregistration.`);return}t.domInjections.routes.splice(r,1),t.domInjections.removeRoot(e)},br=(e,t)=>{let r=e.split("/").filter(Boolean),n=t.split("/").filter(Boolean);if(r.length!==n.length)return null;let o={};for(let i=0;i<r.length;i++)if(r[i].startsWith(":"))o[r[i].replace(/^:/,"")]=n[i];else if(r[i]!==n[i])return null;return o};var th=e=>{let t=e.domInjections;if(t)return t;fs(e);let r={routes:[],roots:{},registerRoute:n=>ds(n,e),unregisterRoute:n=>hs(n,e),getRoot:n=>e.domInjections?.roots[n],setRoot:(n,o)=>{e.domInjections&&(e.domInjections.roots[n]=o)},removeRoot:n=>{if(!e.domInjections)return;let o=e.domInjections.roots[n];o&&(setTimeout(()=>o.unmount(),0),delete e.domInjections.roots[n])}};return e.domInjections=r,r};0&&(module.exports={initialiseInjections});
package/dist/index.mjs CHANGED
@@ -1 +1,60 @@
1
- var kn=Object.create;var ce=Object.defineProperty;var ei=Object.getOwnPropertyDescriptor;var ri=Object.getOwnPropertyNames;var ti=Object.getPrototypeOf,ni=Object.prototype.hasOwnProperty;var i=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var ii=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of ri(r))!ni.call(e,o)&&o!==t&&ce(e,o,{get:()=>r[o],enumerable:!(n=ei(r,o))||n.enumerable});return e};var oi=(e,r,t)=>(t=e!=null?kn(ti(e)):{},ii(r||!e||!e.__esModule?ce(t,"default",{value:e,enumerable:!0}):t,e));var U=i((ip,pe)=>{"use strict";function ai(e,r,t){switch(t.length){case 0:return e.call(r);case 1:return e.call(r,t[0]);case 2:return e.call(r,t[0],t[1]);case 3:return e.call(r,t[0],t[1],t[2])}return e.apply(r,t)}pe.exports=ai});var H=i((op,fe)=>{"use strict";function si(e){return e}fe.exports=si});var ge=i((ap,de)=>{"use strict";var ui=U(),le=Math.max;function ci(e,r,t){return r=le(r===void 0?e.length-1:r,0),function(){for(var n=arguments,o=-1,a=le(n.length-r,0),u=Array(a);++o<a;)u[o]=n[r+o];o=-1;for(var s=Array(r+1);++o<r;)s[o]=n[o];return s[r]=t(u),ui(e,this,s)}}de.exports=ci});var ve=i((sp,he)=>{"use strict";function pi(e){return function(){return e}}he.exports=pi});var B=i((up,ye)=>{"use strict";var fi=typeof global=="object"&&global&&global.Object===Object&&global;ye.exports=fi});var h=i((cp,me)=>{"use strict";var li=B(),di=typeof self=="object"&&self&&self.Object===Object&&self,gi=li||di||Function("return this")();me.exports=gi});var $=i((pp,be)=>{"use strict";var hi=h(),vi=hi.Symbol;be.exports=vi});var _e=i((fp,je)=>{"use strict";var qe=$(),xe=Object.prototype,yi=xe.hasOwnProperty,mi=xe.toString,T=qe?qe.toStringTag:void 0;function bi(e){var r=yi.call(e,T),t=e[T];try{e[T]=void 0;var n=!0}catch{}var o=mi.call(e);return n&&(r?e[T]=t:delete e[T]),o}je.exports=bi});var Oe=i((lp,Ie)=>{"use strict";var qi=Object.prototype,xi=qi.toString;function ji(e){return xi.call(e)}Ie.exports=ji});var S=i((dp,Pe)=>{"use strict";var Te=$(),_i=_e(),Ii=Oe(),Oi="[object Null]",Ti="[object Undefined]",Se=Te?Te.toStringTag:void 0;function Si(e){return e==null?e===void 0?Ti:Oi:Se&&Se in Object(e)?_i(e):Ii(e)}Pe.exports=Si});var d=i((gp,Ae)=>{"use strict";function Pi(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}Ae.exports=Pi});var F=i((hp,we)=>{"use strict";var Ai=S(),wi=d(),Ci="[object AsyncFunction]",Ri="[object Function]",Ei="[object GeneratorFunction]",Mi="[object Proxy]";function Di(e){if(!wi(e))return!1;var r=Ai(e);return r==Ri||r==Ei||r==Ci||r==Mi}we.exports=Di});var Re=i((vp,Ce)=>{"use strict";var Li=h(),Fi=Li["__core-js_shared__"];Ce.exports=Fi});var De=i((yp,Me)=>{"use strict";var K=Re(),Ee=(function(){var e=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Gi(e){return!!Ee&&Ee in e}Me.exports=Gi});var Fe=i((mp,Le)=>{"use strict";var Ni=Function.prototype,zi=Ni.toString;function Ui(e){if(e!=null){try{return zi.call(e)}catch{}try{return e+""}catch{}}return""}Le.exports=Ui});var Ne=i((bp,Ge)=>{"use strict";var Hi=F(),Bi=De(),$i=d(),Ki=Fe(),Vi=/[\\^$.*+?()[\]{}|]/g,Wi=/^\[object .+?Constructor\]$/,Ji=Function.prototype,Qi=Object.prototype,Xi=Ji.toString,Yi=Qi.hasOwnProperty,Zi=RegExp("^"+Xi.call(Yi).replace(Vi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ki(e){if(!$i(e)||Bi(e))return!1;var r=Hi(e)?Zi:Wi;return r.test(Ki(e))}Ge.exports=ki});var Ue=i((qp,ze)=>{"use strict";function eo(e,r){return e?.[r]}ze.exports=eo});var G=i((xp,He)=>{"use strict";var ro=Ne(),to=Ue();function no(e,r){var t=to(e,r);return ro(t)?t:void 0}He.exports=no});var V=i((jp,Be)=>{"use strict";var io=G(),oo=(function(){try{var e=io(Object,"defineProperty");return e({},"",{}),e}catch{}})();Be.exports=oo});var Ve=i((_p,Ke)=>{"use strict";var ao=ve(),$e=V(),so=H(),uo=$e?function(e,r){return $e(e,"toString",{configurable:!0,enumerable:!1,value:ao(r),writable:!0})}:so;Ke.exports=uo});var Je=i((Ip,We)=>{"use strict";var co=800,po=16,fo=Date.now;function lo(e){var r=0,t=0;return function(){var n=fo(),o=po-(n-t);if(t=n,o>0){if(++r>=co)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}We.exports=lo});var Xe=i((Op,Qe)=>{"use strict";var go=Ve(),ho=Je(),vo=ho(go);Qe.exports=vo});var W=i((Tp,Ye)=>{"use strict";var yo=H(),mo=ge(),bo=Xe();function qo(e,r){return bo(mo(e,r,yo),e+"")}Ye.exports=qo});var ke=i((Sp,Ze)=>{"use strict";function xo(){this.__data__=[],this.size=0}Ze.exports=xo});var P=i((Pp,er)=>{"use strict";function jo(e,r){return e===r||e!==e&&r!==r}er.exports=jo});var A=i((Ap,rr)=>{"use strict";var _o=P();function Io(e,r){for(var t=e.length;t--;)if(_o(e[t][0],r))return t;return-1}rr.exports=Io});var nr=i((wp,tr)=>{"use strict";var Oo=A(),To=Array.prototype,So=To.splice;function Po(e){var r=this.__data__,t=Oo(r,e);if(t<0)return!1;var n=r.length-1;return t==n?r.pop():So.call(r,t,1),--this.size,!0}tr.exports=Po});var or=i((Cp,ir)=>{"use strict";var Ao=A();function wo(e){var r=this.__data__,t=Ao(r,e);return t<0?void 0:r[t][1]}ir.exports=wo});var sr=i((Rp,ar)=>{"use strict";var Co=A();function Ro(e){return Co(this.__data__,e)>-1}ar.exports=Ro});var cr=i((Ep,ur)=>{"use strict";var Eo=A();function Mo(e,r){var t=this.__data__,n=Eo(t,e);return n<0?(++this.size,t.push([e,r])):t[n][1]=r,this}ur.exports=Mo});var w=i((Mp,pr)=>{"use strict";var Do=ke(),Lo=nr(),Fo=or(),Go=sr(),No=cr();function y(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}y.prototype.clear=Do;y.prototype.delete=Lo;y.prototype.get=Fo;y.prototype.has=Go;y.prototype.set=No;pr.exports=y});var lr=i((Dp,fr)=>{"use strict";var zo=w();function Uo(){this.__data__=new zo,this.size=0}fr.exports=Uo});var gr=i((Lp,dr)=>{"use strict";function Ho(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t}dr.exports=Ho});var vr=i((Fp,hr)=>{"use strict";function Bo(e){return this.__data__.get(e)}hr.exports=Bo});var mr=i((Gp,yr)=>{"use strict";function $o(e){return this.__data__.has(e)}yr.exports=$o});var J=i((Np,br)=>{"use strict";var Ko=G(),Vo=h(),Wo=Ko(Vo,"Map");br.exports=Wo});var C=i((zp,qr)=>{"use strict";var Jo=G(),Qo=Jo(Object,"create");qr.exports=Qo});var _r=i((Up,jr)=>{"use strict";var xr=C();function Xo(){this.__data__=xr?xr(null):{},this.size=0}jr.exports=Xo});var Or=i((Hp,Ir)=>{"use strict";function Yo(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}Ir.exports=Yo});var Sr=i((Bp,Tr)=>{"use strict";var Zo=C(),ko="__lodash_hash_undefined__",ea=Object.prototype,ra=ea.hasOwnProperty;function ta(e){var r=this.__data__;if(Zo){var t=r[e];return t===ko?void 0:t}return ra.call(r,e)?r[e]:void 0}Tr.exports=ta});var Ar=i(($p,Pr)=>{"use strict";var na=C(),ia=Object.prototype,oa=ia.hasOwnProperty;function aa(e){var r=this.__data__;return na?r[e]!==void 0:oa.call(r,e)}Pr.exports=aa});var Cr=i((Kp,wr)=>{"use strict";var sa=C(),ua="__lodash_hash_undefined__";function ca(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=sa&&r===void 0?ua:r,this}wr.exports=ca});var Er=i((Vp,Rr)=>{"use strict";var pa=_r(),fa=Or(),la=Sr(),da=Ar(),ga=Cr();function m(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}m.prototype.clear=pa;m.prototype.delete=fa;m.prototype.get=la;m.prototype.has=da;m.prototype.set=ga;Rr.exports=m});var Lr=i((Wp,Dr)=>{"use strict";var Mr=Er(),ha=w(),va=J();function ya(){this.size=0,this.__data__={hash:new Mr,map:new(va||ha),string:new Mr}}Dr.exports=ya});var Gr=i((Jp,Fr)=>{"use strict";function ma(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}Fr.exports=ma});var R=i((Qp,Nr)=>{"use strict";var ba=Gr();function qa(e,r){var t=e.__data__;return ba(r)?t[typeof r=="string"?"string":"hash"]:t.map}Nr.exports=qa});var Ur=i((Xp,zr)=>{"use strict";var xa=R();function ja(e){var r=xa(this,e).delete(e);return this.size-=r?1:0,r}zr.exports=ja});var Br=i((Yp,Hr)=>{"use strict";var _a=R();function Ia(e){return _a(this,e).get(e)}Hr.exports=Ia});var Kr=i((Zp,$r)=>{"use strict";var Oa=R();function Ta(e){return Oa(this,e).has(e)}$r.exports=Ta});var Wr=i((kp,Vr)=>{"use strict";var Sa=R();function Pa(e,r){var t=Sa(this,e),n=t.size;return t.set(e,r),this.size+=t.size==n?0:1,this}Vr.exports=Pa});var Qr=i((ef,Jr)=>{"use strict";var Aa=Lr(),wa=Ur(),Ca=Br(),Ra=Kr(),Ea=Wr();function b(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}b.prototype.clear=Aa;b.prototype.delete=wa;b.prototype.get=Ca;b.prototype.has=Ra;b.prototype.set=Ea;Jr.exports=b});var Yr=i((rf,Xr)=>{"use strict";var Ma=w(),Da=J(),La=Qr(),Fa=200;function Ga(e,r){var t=this.__data__;if(t instanceof Ma){var n=t.__data__;if(!Da||n.length<Fa-1)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new La(n)}return t.set(e,r),this.size=t.size,this}Xr.exports=Ga});var kr=i((tf,Zr)=>{"use strict";var Na=w(),za=lr(),Ua=gr(),Ha=vr(),Ba=mr(),$a=Yr();function q(e){var r=this.__data__=new Na(e);this.size=r.size}q.prototype.clear=za;q.prototype.delete=Ua;q.prototype.get=Ha;q.prototype.has=Ba;q.prototype.set=$a;Zr.exports=q});var N=i((nf,rt)=>{"use strict";var et=V();function Ka(e,r,t){r=="__proto__"&&et?et(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[r]=t}rt.exports=Ka});var Q=i((of,tt)=>{"use strict";var Va=N(),Wa=P();function Ja(e,r,t){(t!==void 0&&!Wa(e[r],t)||t===void 0&&!(r in e))&&Va(e,r,t)}tt.exports=Ja});var it=i((af,nt)=>{"use strict";function Qa(e){return function(r,t,n){for(var o=-1,a=Object(r),u=n(r),s=u.length;s--;){var c=u[e?s:++o];if(t(a[c],c,a)===!1)break}return r}}nt.exports=Qa});var at=i((sf,ot)=>{"use strict";var Xa=it(),Ya=Xa();ot.exports=Ya});var ft=i((E,x)=>{"use strict";var Za=h(),pt=typeof E=="object"&&E&&!E.nodeType&&E,st=pt&&typeof x=="object"&&x&&!x.nodeType&&x,ka=st&&st.exports===pt,ut=ka?Za.Buffer:void 0,ct=ut?ut.allocUnsafe:void 0;function es(e,r){if(r)return e.slice();var t=e.length,n=ct?ct(t):new e.constructor(t);return e.copy(n),n}x.exports=es});var dt=i((uf,lt)=>{"use strict";var rs=h(),ts=rs.Uint8Array;lt.exports=ts});var vt=i((cf,ht)=>{"use strict";var gt=dt();function ns(e){var r=new e.constructor(e.byteLength);return new gt(r).set(new gt(e)),r}ht.exports=ns});var mt=i((pf,yt)=>{"use strict";var is=vt();function os(e,r){var t=r?is(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}yt.exports=os});var qt=i((ff,bt)=>{"use strict";function as(e,r){var t=-1,n=e.length;for(r||(r=Array(n));++t<n;)r[t]=e[t];return r}bt.exports=as});var _t=i((lf,jt)=>{"use strict";var ss=d(),xt=Object.create,us=(function(){function e(){}return function(r){if(!ss(r))return{};if(xt)return xt(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}})();jt.exports=us});var Ot=i((df,It)=>{"use strict";function cs(e,r){return function(t){return e(r(t))}}It.exports=cs});var X=i((gf,Tt)=>{"use strict";var ps=Ot(),fs=ps(Object.getPrototypeOf,Object);Tt.exports=fs});var Y=i((hf,St)=>{"use strict";var ls=Object.prototype;function ds(e){var r=e&&e.constructor,t=typeof r=="function"&&r.prototype||ls;return e===t}St.exports=ds});var At=i((vf,Pt)=>{"use strict";var gs=_t(),hs=X(),vs=Y();function ys(e){return typeof e.constructor=="function"&&!vs(e)?gs(hs(e)):{}}Pt.exports=ys});var j=i((yf,wt)=>{"use strict";function ms(e){return e!=null&&typeof e=="object"}wt.exports=ms});var Rt=i((mf,Ct)=>{"use strict";var bs=S(),qs=j(),xs="[object Arguments]";function js(e){return qs(e)&&bs(e)==xs}Ct.exports=js});var Z=i((bf,Dt)=>{"use strict";var Et=Rt(),_s=j(),Mt=Object.prototype,Is=Mt.hasOwnProperty,Os=Mt.propertyIsEnumerable,Ts=Et((function(){return arguments})())?Et:function(e){return _s(e)&&Is.call(e,"callee")&&!Os.call(e,"callee")};Dt.exports=Ts});var k=i((qf,Lt)=>{"use strict";var Ss=Array.isArray;Lt.exports=Ss});var ee=i((xf,Ft)=>{"use strict";var Ps=9007199254740991;function As(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Ps}Ft.exports=As});var z=i((jf,Gt)=>{"use strict";var ws=F(),Cs=ee();function Rs(e){return e!=null&&Cs(e.length)&&!ws(e)}Gt.exports=Rs});var zt=i((_f,Nt)=>{"use strict";var Es=z(),Ms=j();function Ds(e){return Ms(e)&&Es(e)}Nt.exports=Ds});var Ht=i((If,Ut)=>{"use strict";function Ls(){return!1}Ut.exports=Ls});var re=i((M,_)=>{"use strict";var Fs=h(),Gs=Ht(),Kt=typeof M=="object"&&M&&!M.nodeType&&M,Bt=Kt&&typeof _=="object"&&_&&!_.nodeType&&_,Ns=Bt&&Bt.exports===Kt,$t=Ns?Fs.Buffer:void 0,zs=$t?$t.isBuffer:void 0,Us=zs||Gs;_.exports=Us});var Jt=i((Of,Wt)=>{"use strict";var Hs=S(),Bs=X(),$s=j(),Ks="[object Object]",Vs=Function.prototype,Ws=Object.prototype,Vt=Vs.toString,Js=Ws.hasOwnProperty,Qs=Vt.call(Object);function Xs(e){if(!$s(e)||Hs(e)!=Ks)return!1;var r=Bs(e);if(r===null)return!0;var t=Js.call(r,"constructor")&&r.constructor;return typeof t=="function"&&t instanceof t&&Vt.call(t)==Qs}Wt.exports=Xs});var Xt=i((Tf,Qt)=>{"use strict";var Ys=S(),Zs=ee(),ks=j(),eu="[object Arguments]",ru="[object Array]",tu="[object Boolean]",nu="[object Date]",iu="[object Error]",ou="[object Function]",au="[object Map]",su="[object Number]",uu="[object Object]",cu="[object RegExp]",pu="[object Set]",fu="[object String]",lu="[object WeakMap]",du="[object ArrayBuffer]",gu="[object DataView]",hu="[object Float32Array]",vu="[object Float64Array]",yu="[object Int8Array]",mu="[object Int16Array]",bu="[object Int32Array]",qu="[object Uint8Array]",xu="[object Uint8ClampedArray]",ju="[object Uint16Array]",_u="[object Uint32Array]",p={};p[hu]=p[vu]=p[yu]=p[mu]=p[bu]=p[qu]=p[xu]=p[ju]=p[_u]=!0;p[eu]=p[ru]=p[du]=p[tu]=p[gu]=p[nu]=p[iu]=p[ou]=p[au]=p[su]=p[uu]=p[cu]=p[pu]=p[fu]=p[lu]=!1;function Iu(e){return ks(e)&&Zs(e.length)&&!!p[Ys(e)]}Qt.exports=Iu});var Zt=i((Sf,Yt)=>{"use strict";function Ou(e){return function(r){return e(r)}}Yt.exports=Ou});var en=i((D,I)=>{"use strict";var Tu=B(),kt=typeof D=="object"&&D&&!D.nodeType&&D,L=kt&&typeof I=="object"&&I&&!I.nodeType&&I,Su=L&&L.exports===kt,te=Su&&Tu.process,Pu=(function(){try{var e=L&&L.require&&L.require("util").types;return e||te&&te.binding&&te.binding("util")}catch{}})();I.exports=Pu});var ne=i((Pf,nn)=>{"use strict";var Au=Xt(),wu=Zt(),rn=en(),tn=rn&&rn.isTypedArray,Cu=tn?wu(tn):Au;nn.exports=Cu});var ie=i((Af,on)=>{"use strict";function Ru(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}on.exports=Ru});var sn=i((wf,an)=>{"use strict";var Eu=N(),Mu=P(),Du=Object.prototype,Lu=Du.hasOwnProperty;function Fu(e,r,t){var n=e[r];(!(Lu.call(e,r)&&Mu(n,t))||t===void 0&&!(r in e))&&Eu(e,r,t)}an.exports=Fu});var cn=i((Cf,un)=>{"use strict";var Gu=sn(),Nu=N();function zu(e,r,t,n){var o=!t;t||(t={});for(var a=-1,u=r.length;++a<u;){var s=r[a],c=n?n(t[s],e[s],s,t,e):void 0;c===void 0&&(c=e[s]),o?Nu(t,s,c):Gu(t,s,c)}return t}un.exports=zu});var fn=i((Rf,pn)=>{"use strict";function Uu(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n}pn.exports=Uu});var oe=i((Ef,ln)=>{"use strict";var Hu=9007199254740991,Bu=/^(?:0|[1-9]\d*)$/;function $u(e,r){var t=typeof e;return r=r??Hu,!!r&&(t=="number"||t!="symbol"&&Bu.test(e))&&e>-1&&e%1==0&&e<r}ln.exports=$u});var gn=i((Mf,dn)=>{"use strict";var Ku=fn(),Vu=Z(),Wu=k(),Ju=re(),Qu=oe(),Xu=ne(),Yu=Object.prototype,Zu=Yu.hasOwnProperty;function ku(e,r){var t=Wu(e),n=!t&&Vu(e),o=!t&&!n&&Ju(e),a=!t&&!n&&!o&&Xu(e),u=t||n||o||a,s=u?Ku(e.length,String):[],c=s.length;for(var l in e)(r||Zu.call(e,l))&&!(u&&(l=="length"||o&&(l=="offset"||l=="parent")||a&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||Qu(l,c)))&&s.push(l);return s}dn.exports=ku});var vn=i((Df,hn)=>{"use strict";function ec(e){var r=[];if(e!=null)for(var t in Object(e))r.push(t);return r}hn.exports=ec});var mn=i((Lf,yn)=>{"use strict";var rc=d(),tc=Y(),nc=vn(),ic=Object.prototype,oc=ic.hasOwnProperty;function ac(e){if(!rc(e))return nc(e);var r=tc(e),t=[];for(var n in e)n=="constructor"&&(r||!oc.call(e,n))||t.push(n);return t}yn.exports=ac});var ae=i((Ff,bn)=>{"use strict";var sc=gn(),uc=mn(),cc=z();function pc(e){return cc(e)?sc(e,!0):uc(e)}bn.exports=pc});var xn=i((Gf,qn)=>{"use strict";var fc=cn(),lc=ae();function dc(e){return fc(e,lc(e))}qn.exports=dc});var Sn=i((Nf,Tn)=>{"use strict";var jn=Q(),gc=ft(),hc=mt(),vc=qt(),yc=At(),_n=Z(),In=k(),mc=zt(),bc=re(),qc=F(),xc=d(),jc=Jt(),_c=ne(),On=ie(),Ic=xn();function Oc(e,r,t,n,o,a,u){var s=On(e,t),c=On(r,t),l=u.get(c);if(l){jn(e,t,l);return}var f=a?a(s,c,t+"",e,r,u):void 0,g=f===void 0;if(g){var v=In(c),O=!v&&bc(c),ue=!v&&!O&&_c(c);f=c,v||O||ue?In(s)?f=s:mc(s)?f=vc(s):O?(g=!1,f=gc(c,!0)):ue?(g=!1,f=hc(c,!0)):f=[]:jc(c)||_n(c)?(f=s,_n(s)?f=Ic(s):(!xc(s)||qc(s))&&(f=yc(c))):g=!1}g&&(u.set(c,f),o(f,c,n,a,u),u.delete(c)),jn(e,t,f)}Tn.exports=Oc});var se=i((zf,An)=>{"use strict";var Tc=kr(),Sc=Q(),Pc=at(),Ac=Sn(),wc=d(),Cc=ae(),Rc=ie();function Pn(e,r,t,n,o){e!==r&&Pc(r,function(a,u){if(o||(o=new Tc),wc(a))Ac(e,r,u,t,Pn,n,o);else{var s=n?n(Rc(e,u),a,u+"",e,r,o):void 0;s===void 0&&(s=a),Sc(e,u,s)}},Cc)}An.exports=Pn});var En=i((Uf,Rn)=>{"use strict";var Ec=se(),wn=d();function Cn(e,r,t,n,o,a){return wn(e)&&wn(r)&&(a.set(r,e),Ec(e,r,void 0,Cn,a),a.delete(r)),e}Rn.exports=Cn});var Dn=i((Hf,Mn)=>{"use strict";var Mc=P(),Dc=z(),Lc=oe(),Fc=d();function Gc(e,r,t){if(!Fc(t))return!1;var n=typeof r;return(n=="number"?Dc(t)&&Lc(r,t.length):n=="string"&&r in t)?Mc(t[r],e):!1}Mn.exports=Gc});var Fn=i((Bf,Ln)=>{"use strict";var Nc=W(),zc=Dn();function Uc(e){return Nc(function(r,t){var n=-1,o=t.length,a=o>1?t[o-1]:void 0,u=o>2?t[2]:void 0;for(a=e.length>3&&typeof a=="function"?(o--,a):void 0,u&&zc(t[0],t[1],u)&&(a=o<3?void 0:a,o=1),r=Object(r);++n<o;){var s=t[n];s&&e(r,s,n,a)}return r})}Ln.exports=Uc});var Nn=i(($f,Gn)=>{"use strict";var Hc=se(),Bc=Fn(),$c=Bc(function(e,r,t,n){Hc(e,r,t,n)});Gn.exports=$c});var Un=i((Kf,zn)=>{"use strict";var Kc=U(),Vc=W(),Wc=En(),Jc=Nn(),Qc=Vc(function(e){return e.push(void 0,Wc),Kc(Jc,void 0,e)});zn.exports=Qc});import{createRoot as tp}from"react-dom/client";var $n=oi(Un());import{useSyncExternalStore as Xc,useState as Yc,useEffect as Zc,useMemo as Hn}from"react";import{IntlProvider as kc}from"react-intl";import{DesignSystemProvider as ep}from"@strapi/design-system";import{jsx as Bn}from"react/jsx-runtime";var rp=({children:e,store:r,configurations:t})=>{let n=Xc(r.subscribe,r.getState),o=n.admin_app.theme.currentTheme||"light",a=n.admin_app.language.locale||"en",u=t.translations||{},[s,c]=Yc(matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");Zc(()=>{let g=matchMedia("(prefers-color-scheme: dark)"),v=O=>{c(O.matches?"dark":"light")};return g.addEventListener("change",v),()=>g.removeEventListener("change",v)},[]);let l=Hn(()=>(0,$n.default)(u[a],u.en),[a,u]),f=Hn(()=>t.themes[o==="system"?s:o],[o,s,t.themes]);return Bn(ep,{theme:f,locale:a,children:Bn(kc,{locale:a,messages:l,children:e})})},Kn=rp;import{jsx as Vn}from"react/jsx-runtime";var Wn=async(e,r,t)=>{let n=r.domInjections;if(!n){console.warn("Injection system not initialised. Please call initialiseInjections(app) before registering injection routes.");return}if(document.querySelector(`#${t.id}`)||n.removeRoot(t.id),e.location.pathname!==t.route)return;let a=t.Component(),u=await Jn(t.selector);if(!u||window.location.pathname!==t.route)return;if(!n.getRoot(t.id)){let f=document.getElementById(t.id);f||(f=document.createElement("div"),f.id=t.id,u.after(f)),n.setRoot(t.id,tp(f))}let c=(await a).default,l=n.getRoot(t.id);l&&l.render(Vn(Kn,{store:r.store,configurations:r.configurations,children:Vn(c,{})}))};var Xn=async e=>{let r=e.router,t=0;for(;!r?.router?.state?.location&&t<100;)await new Promise(n=>setTimeout(n,10)),t++;if(!r?.router?.state?.location){console.warn("Strapi router not ready after 5s, skipping injection initialization.");return}r.router.subscribe(n=>Qn(n,e)),Qn(r.router.state,e)},Qn=(e,r)=>{let t=r.domInjections?.routes||[];Promise.all(t.map(n=>Wn(e,r,n)))},Jn=(e,r=5e3)=>new Promise(t=>{let n=document.querySelector(e);if(n)return t(n);let o=new MutationObserver(()=>{let a=document.querySelector(e);a&&(o.disconnect(),t(a))});o.observe(document.body,{childList:!0,subtree:!0}),setTimeout(()=>{o.disconnect(),t(null)},r)}),Yn=(e,r)=>{if(!r.domInjections?.routes){console.warn("Injection system not initialised. Please call initialiseInjections(app) before registering injection routes.");return}let{id:t,...n}=e;if(t&&r.domInjections.routes.some(a=>a.id===t)){console.warn(`Injection route with id ${t} already exists. Skipping registration.`);return}let o=t||`injection-${Math.random().toString(36).substring(2,9)}`;r.domInjections.routes.push({id:o,...n})},Zn=(e,r)=>{if(!r.domInjections?.routes){console.warn("Injection system not initialised. Please call initialiseInjections(app) before unregistering injection routes.");return}let t=r.domInjections.routes.findIndex(n=>n.id===e);if(t===-1){console.warn(`Injection route with id ${e} does not exist. Skipping unregistration.`);return}r.domInjections.routes.splice(t,1),r.domInjections.removeRoot(e)};var ol=e=>{let r=e.domInjections;if(r)return r;Xn(e);let t={routes:[],roots:{},registerRoute:n=>Yn(n,e),unregisterRoute:n=>Zn(n,e),getRoot:n=>e.domInjections?.roots[n],setRoot:(n,o)=>{e.domInjections&&(e.domInjections.roots[n]=o)},removeRoot:n=>{if(!e.domInjections)return;let o=e.domInjections.roots[n];o&&(setTimeout(()=>o.unmount(),0),delete e.domInjections.roots[n])}};return e.domInjections=t,t};export{ol as initialiseInjections};
1
+ var ls=Object.create;var wr=Object.defineProperty;var fs=Object.getOwnPropertyDescriptor;var ds=Object.getOwnPropertyNames;var hs=Object.getPrototypeOf,ms=Object.prototype.hasOwnProperty;var ys=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var gs=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ds(t))!ms.call(e,o)&&o!==r&&wr(e,o,{get:()=>t[o],enumerable:!(n=fs(t,o))||n.enumerable});return e};var vs=(e,t,r)=>(r=e!=null?ls(hs(e)):{},gs(t||!e||!e.__esModule?wr(r,"default",{value:e,enumerable:!0}):r,e));var Yt=s((zh,Sn)=>{"use strict";function sc(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}Sn.exports=sc});var Kt=s((Gh,_n)=>{"use strict";function cc(e){return e}_n.exports=cc});var Cn=s((Bh,Pn)=>{"use strict";var uc=Yt(),On=Math.max;function pc(e,t,r){return t=On(t===void 0?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=On(n.length-t,0),a=Array(i);++o<i;)a[o]=n[t+o];o=-1;for(var c=Array(t+1);++o<t;)c[o]=n[o];return c[t]=r(a),uc(e,this,c)}}Pn.exports=pc});var jn=s((Vh,En)=>{"use strict";function lc(e){return function(){return e}}En.exports=lc});var Xt=s((Uh,An)=>{"use strict";var fc=typeof global=="object"&&global&&global.Object===Object&&global;An.exports=fc});var ue=s((Hh,Tn)=>{"use strict";var dc=Xt(),hc=typeof self=="object"&&self&&self.Object===Object&&self,mc=dc||hc||Function("return this")();Tn.exports=mc});var Zt=s((Wh,In)=>{"use strict";var yc=ue(),gc=yc.Symbol;In.exports=gc});var kn=s((Yh,Nn)=>{"use strict";var qn=Zt(),Rn=Object.prototype,vc=Rn.hasOwnProperty,bc=Rn.toString,$e=qn?qn.toStringTag:void 0;function xc(e){var t=vc.call(e,$e),r=e[$e];try{e[$e]=void 0;var n=!0}catch{}var o=bc.call(e);return n&&(t?e[$e]=r:delete e[$e]),o}Nn.exports=xc});var Mn=s((Kh,Dn)=>{"use strict";var wc=Object.prototype,Sc=wc.toString;function _c(e){return Sc.call(e)}Dn.exports=_c});var ze=s((Xh,$n)=>{"use strict";var Ln=Zt(),Oc=kn(),Pc=Mn(),Cc="[object Null]",Ec="[object Undefined]",Fn=Ln?Ln.toStringTag:void 0;function jc(e){return e==null?e===void 0?Ec:Cc:Fn&&Fn in Object(e)?Oc(e):Pc(e)}$n.exports=jc});var Q=s((Zh,zn)=>{"use strict";function Ac(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}zn.exports=Ac});var vt=s((Jh,Gn)=>{"use strict";var Tc=ze(),Ic=Q(),qc="[object AsyncFunction]",Rc="[object Function]",Nc="[object GeneratorFunction]",kc="[object Proxy]";function Dc(e){if(!Ic(e))return!1;var t=Tc(e);return t==Rc||t==Nc||t==qc||t==kc}Gn.exports=Dc});var Vn=s((Qh,Bn)=>{"use strict";var Mc=ue(),Lc=Mc["__core-js_shared__"];Bn.exports=Lc});var Wn=s((em,Hn)=>{"use strict";var Jt=Vn(),Un=(function(){var e=/[^.]+$/.exec(Jt&&Jt.keys&&Jt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Fc(e){return!!Un&&Un in e}Hn.exports=Fc});var Kn=s((tm,Yn)=>{"use strict";var $c=Function.prototype,zc=$c.toString;function Gc(e){if(e!=null){try{return zc.call(e)}catch{}try{return e+""}catch{}}return""}Yn.exports=Gc});var Zn=s((rm,Xn)=>{"use strict";var Bc=vt(),Vc=Wn(),Uc=Q(),Hc=Kn(),Wc=/[\\^$.*+?()[\]{}|]/g,Yc=/^\[object .+?Constructor\]$/,Kc=Function.prototype,Xc=Object.prototype,Zc=Kc.toString,Jc=Xc.hasOwnProperty,Qc=RegExp("^"+Zc.call(Jc).replace(Wc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function eu(e){if(!Uc(e)||Vc(e))return!1;var t=Bc(e)?Qc:Yc;return t.test(Hc(e))}Xn.exports=eu});var Qn=s((nm,Jn)=>{"use strict";function tu(e,t){return e?.[t]}Jn.exports=tu});var bt=s((om,eo)=>{"use strict";var ru=Zn(),nu=Qn();function ou(e,t){var r=nu(e,t);return ru(r)?r:void 0}eo.exports=ou});var Qt=s((im,to)=>{"use strict";var iu=bt(),au=(function(){try{var e=iu(Object,"defineProperty");return e({},"",{}),e}catch{}})();to.exports=au});var oo=s((am,no)=>{"use strict";var su=jn(),ro=Qt(),cu=Kt(),uu=ro?function(e,t){return ro(e,"toString",{configurable:!0,enumerable:!1,value:su(t),writable:!0})}:cu;no.exports=uu});var ao=s((sm,io)=>{"use strict";var pu=800,lu=16,fu=Date.now;function du(e){var t=0,r=0;return function(){var n=fu(),o=lu-(n-r);if(r=n,o>0){if(++t>=pu)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}io.exports=du});var co=s((cm,so)=>{"use strict";var hu=oo(),mu=ao(),yu=mu(hu);so.exports=yu});var er=s((um,uo)=>{"use strict";var gu=Kt(),vu=Cn(),bu=co();function xu(e,t){return bu(vu(e,t,gu),e+"")}uo.exports=xu});var lo=s((pm,po)=>{"use strict";function wu(){this.__data__=[],this.size=0}po.exports=wu});var Ge=s((lm,fo)=>{"use strict";function Su(e,t){return e===t||e!==e&&t!==t}fo.exports=Su});var Be=s((fm,ho)=>{"use strict";var _u=Ge();function Ou(e,t){for(var r=e.length;r--;)if(_u(e[r][0],t))return r;return-1}ho.exports=Ou});var yo=s((dm,mo)=>{"use strict";var Pu=Be(),Cu=Array.prototype,Eu=Cu.splice;function ju(e){var t=this.__data__,r=Pu(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Eu.call(t,r,1),--this.size,!0}mo.exports=ju});var vo=s((hm,go)=>{"use strict";var Au=Be();function Tu(e){var t=this.__data__,r=Au(t,e);return r<0?void 0:t[r][1]}go.exports=Tu});var xo=s((mm,bo)=>{"use strict";var Iu=Be();function qu(e){return Iu(this.__data__,e)>-1}bo.exports=qu});var So=s((ym,wo)=>{"use strict";var Ru=Be();function Nu(e,t){var r=this.__data__,n=Ru(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}wo.exports=Nu});var Ve=s((gm,_o)=>{"use strict";var ku=lo(),Du=yo(),Mu=vo(),Lu=xo(),Fu=So();function _e(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}_e.prototype.clear=ku;_e.prototype.delete=Du;_e.prototype.get=Mu;_e.prototype.has=Lu;_e.prototype.set=Fu;_o.exports=_e});var Po=s((vm,Oo)=>{"use strict";var $u=Ve();function zu(){this.__data__=new $u,this.size=0}Oo.exports=zu});var Eo=s((bm,Co)=>{"use strict";function Gu(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}Co.exports=Gu});var Ao=s((xm,jo)=>{"use strict";function Bu(e){return this.__data__.get(e)}jo.exports=Bu});var Io=s((wm,To)=>{"use strict";function Vu(e){return this.__data__.has(e)}To.exports=Vu});var tr=s((Sm,qo)=>{"use strict";var Uu=bt(),Hu=ue(),Wu=Uu(Hu,"Map");qo.exports=Wu});var Ue=s((_m,Ro)=>{"use strict";var Yu=bt(),Ku=Yu(Object,"create");Ro.exports=Ku});var Do=s((Om,ko)=>{"use strict";var No=Ue();function Xu(){this.__data__=No?No(null):{},this.size=0}ko.exports=Xu});var Lo=s((Pm,Mo)=>{"use strict";function Zu(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}Mo.exports=Zu});var $o=s((Cm,Fo)=>{"use strict";var Ju=Ue(),Qu="__lodash_hash_undefined__",ep=Object.prototype,tp=ep.hasOwnProperty;function rp(e){var t=this.__data__;if(Ju){var r=t[e];return r===Qu?void 0:r}return tp.call(t,e)?t[e]:void 0}Fo.exports=rp});var Go=s((Em,zo)=>{"use strict";var np=Ue(),op=Object.prototype,ip=op.hasOwnProperty;function ap(e){var t=this.__data__;return np?t[e]!==void 0:ip.call(t,e)}zo.exports=ap});var Vo=s((jm,Bo)=>{"use strict";var sp=Ue(),cp="__lodash_hash_undefined__";function up(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=sp&&t===void 0?cp:t,this}Bo.exports=up});var Ho=s((Am,Uo)=>{"use strict";var pp=Do(),lp=Lo(),fp=$o(),dp=Go(),hp=Vo();function Oe(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Oe.prototype.clear=pp;Oe.prototype.delete=lp;Oe.prototype.get=fp;Oe.prototype.has=dp;Oe.prototype.set=hp;Uo.exports=Oe});var Ko=s((Tm,Yo)=>{"use strict";var Wo=Ho(),mp=Ve(),yp=tr();function gp(){this.size=0,this.__data__={hash:new Wo,map:new(yp||mp),string:new Wo}}Yo.exports=gp});var Zo=s((Im,Xo)=>{"use strict";function vp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}Xo.exports=vp});var He=s((qm,Jo)=>{"use strict";var bp=Zo();function xp(e,t){var r=e.__data__;return bp(t)?r[typeof t=="string"?"string":"hash"]:r.map}Jo.exports=xp});var ei=s((Rm,Qo)=>{"use strict";var wp=He();function Sp(e){var t=wp(this,e).delete(e);return this.size-=t?1:0,t}Qo.exports=Sp});var ri=s((Nm,ti)=>{"use strict";var _p=He();function Op(e){return _p(this,e).get(e)}ti.exports=Op});var oi=s((km,ni)=>{"use strict";var Pp=He();function Cp(e){return Pp(this,e).has(e)}ni.exports=Cp});var ai=s((Dm,ii)=>{"use strict";var Ep=He();function jp(e,t){var r=Ep(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}ii.exports=jp});var ci=s((Mm,si)=>{"use strict";var Ap=Ko(),Tp=ei(),Ip=ri(),qp=oi(),Rp=ai();function Pe(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Pe.prototype.clear=Ap;Pe.prototype.delete=Tp;Pe.prototype.get=Ip;Pe.prototype.has=qp;Pe.prototype.set=Rp;si.exports=Pe});var pi=s((Lm,ui)=>{"use strict";var Np=Ve(),kp=tr(),Dp=ci(),Mp=200;function Lp(e,t){var r=this.__data__;if(r instanceof Np){var n=r.__data__;if(!kp||n.length<Mp-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Dp(n)}return r.set(e,t),this.size=r.size,this}ui.exports=Lp});var fi=s((Fm,li)=>{"use strict";var Fp=Ve(),$p=Po(),zp=Eo(),Gp=Ao(),Bp=Io(),Vp=pi();function Ce(e){var t=this.__data__=new Fp(e);this.size=t.size}Ce.prototype.clear=$p;Ce.prototype.delete=zp;Ce.prototype.get=Gp;Ce.prototype.has=Bp;Ce.prototype.set=Vp;li.exports=Ce});var xt=s(($m,hi)=>{"use strict";var di=Qt();function Up(e,t,r){t=="__proto__"&&di?di(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}hi.exports=Up});var rr=s((zm,mi)=>{"use strict";var Hp=xt(),Wp=Ge();function Yp(e,t,r){(r!==void 0&&!Wp(e[t],r)||r===void 0&&!(t in e))&&Hp(e,t,r)}mi.exports=Yp});var gi=s((Gm,yi)=>{"use strict";function Kp(e){return function(t,r,n){for(var o=-1,i=Object(t),a=n(t),c=a.length;c--;){var u=a[e?c:++o];if(r(i[u],u,i)===!1)break}return t}}yi.exports=Kp});var bi=s((Bm,vi)=>{"use strict";var Xp=gi(),Zp=Xp();vi.exports=Zp});var Oi=s((We,Ee)=>{"use strict";var Jp=ue(),_i=typeof We=="object"&&We&&!We.nodeType&&We,xi=_i&&typeof Ee=="object"&&Ee&&!Ee.nodeType&&Ee,Qp=xi&&xi.exports===_i,wi=Qp?Jp.Buffer:void 0,Si=wi?wi.allocUnsafe:void 0;function el(e,t){if(t)return e.slice();var r=e.length,n=Si?Si(r):new e.constructor(r);return e.copy(n),n}Ee.exports=el});var Ci=s((Vm,Pi)=>{"use strict";var tl=ue(),rl=tl.Uint8Array;Pi.exports=rl});var Ai=s((Um,ji)=>{"use strict";var Ei=Ci();function nl(e){var t=new e.constructor(e.byteLength);return new Ei(t).set(new Ei(e)),t}ji.exports=nl});var Ii=s((Hm,Ti)=>{"use strict";var ol=Ai();function il(e,t){var r=t?ol(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}Ti.exports=il});var Ri=s((Wm,qi)=>{"use strict";function al(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}qi.exports=al});var Di=s((Ym,ki)=>{"use strict";var sl=Q(),Ni=Object.create,cl=(function(){function e(){}return function(t){if(!sl(t))return{};if(Ni)return Ni(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();ki.exports=cl});var Li=s((Km,Mi)=>{"use strict";function ul(e,t){return function(r){return e(t(r))}}Mi.exports=ul});var nr=s((Xm,Fi)=>{"use strict";var pl=Li(),ll=pl(Object.getPrototypeOf,Object);Fi.exports=ll});var or=s((Zm,$i)=>{"use strict";var fl=Object.prototype;function dl(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||fl;return e===r}$i.exports=dl});var Gi=s((Jm,zi)=>{"use strict";var hl=Di(),ml=nr(),yl=or();function gl(e){return typeof e.constructor=="function"&&!yl(e)?hl(ml(e)):{}}zi.exports=gl});var je=s((Qm,Bi)=>{"use strict";function vl(e){return e!=null&&typeof e=="object"}Bi.exports=vl});var Ui=s((ey,Vi)=>{"use strict";var bl=ze(),xl=je(),wl="[object Arguments]";function Sl(e){return xl(e)&&bl(e)==wl}Vi.exports=Sl});var ir=s((ty,Yi)=>{"use strict";var Hi=Ui(),_l=je(),Wi=Object.prototype,Ol=Wi.hasOwnProperty,Pl=Wi.propertyIsEnumerable,Cl=Hi((function(){return arguments})())?Hi:function(e){return _l(e)&&Ol.call(e,"callee")&&!Pl.call(e,"callee")};Yi.exports=Cl});var ar=s((ry,Ki)=>{"use strict";var El=Array.isArray;Ki.exports=El});var sr=s((ny,Xi)=>{"use strict";var jl=9007199254740991;function Al(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=jl}Xi.exports=Al});var wt=s((oy,Zi)=>{"use strict";var Tl=vt(),Il=sr();function ql(e){return e!=null&&Il(e.length)&&!Tl(e)}Zi.exports=ql});var Qi=s((iy,Ji)=>{"use strict";var Rl=wt(),Nl=je();function kl(e){return Nl(e)&&Rl(e)}Ji.exports=kl});var ta=s((ay,ea)=>{"use strict";function Dl(){return!1}ea.exports=Dl});var cr=s((Ye,Ae)=>{"use strict";var Ml=ue(),Ll=ta(),oa=typeof Ye=="object"&&Ye&&!Ye.nodeType&&Ye,ra=oa&&typeof Ae=="object"&&Ae&&!Ae.nodeType&&Ae,Fl=ra&&ra.exports===oa,na=Fl?Ml.Buffer:void 0,$l=na?na.isBuffer:void 0,zl=$l||Ll;Ae.exports=zl});var sa=s((sy,aa)=>{"use strict";var Gl=ze(),Bl=nr(),Vl=je(),Ul="[object Object]",Hl=Function.prototype,Wl=Object.prototype,ia=Hl.toString,Yl=Wl.hasOwnProperty,Kl=ia.call(Object);function Xl(e){if(!Vl(e)||Gl(e)!=Ul)return!1;var t=Bl(e);if(t===null)return!0;var r=Yl.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&ia.call(r)==Kl}aa.exports=Xl});var ua=s((cy,ca)=>{"use strict";var Zl=ze(),Jl=sr(),Ql=je(),ef="[object Arguments]",tf="[object Array]",rf="[object Boolean]",nf="[object Date]",of="[object Error]",af="[object Function]",sf="[object Map]",cf="[object Number]",uf="[object Object]",pf="[object RegExp]",lf="[object Set]",ff="[object String]",df="[object WeakMap]",hf="[object ArrayBuffer]",mf="[object DataView]",yf="[object Float32Array]",gf="[object Float64Array]",vf="[object Int8Array]",bf="[object Int16Array]",xf="[object Int32Array]",wf="[object Uint8Array]",Sf="[object Uint8ClampedArray]",_f="[object Uint16Array]",Of="[object Uint32Array]",E={};E[yf]=E[gf]=E[vf]=E[bf]=E[xf]=E[wf]=E[Sf]=E[_f]=E[Of]=!0;E[ef]=E[tf]=E[hf]=E[rf]=E[mf]=E[nf]=E[of]=E[af]=E[sf]=E[cf]=E[uf]=E[pf]=E[lf]=E[ff]=E[df]=!1;function Pf(e){return Ql(e)&&Jl(e.length)&&!!E[Zl(e)]}ca.exports=Pf});var la=s((uy,pa)=>{"use strict";function Cf(e){return function(t){return e(t)}}pa.exports=Cf});var da=s((Ke,Te)=>{"use strict";var Ef=Xt(),fa=typeof Ke=="object"&&Ke&&!Ke.nodeType&&Ke,Xe=fa&&typeof Te=="object"&&Te&&!Te.nodeType&&Te,jf=Xe&&Xe.exports===fa,ur=jf&&Ef.process,Af=(function(){try{var e=Xe&&Xe.require&&Xe.require("util").types;return e||ur&&ur.binding&&ur.binding("util")}catch{}})();Te.exports=Af});var pr=s((py,ya)=>{"use strict";var Tf=ua(),If=la(),ha=da(),ma=ha&&ha.isTypedArray,qf=ma?If(ma):Tf;ya.exports=qf});var lr=s((ly,ga)=>{"use strict";function Rf(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}ga.exports=Rf});var ba=s((fy,va)=>{"use strict";var Nf=xt(),kf=Ge(),Df=Object.prototype,Mf=Df.hasOwnProperty;function Lf(e,t,r){var n=e[t];(!(Mf.call(e,t)&&kf(n,r))||r===void 0&&!(t in e))&&Nf(e,t,r)}va.exports=Lf});var wa=s((dy,xa)=>{"use strict";var Ff=ba(),$f=xt();function zf(e,t,r,n){var o=!r;r||(r={});for(var i=-1,a=t.length;++i<a;){var c=t[i],u=n?n(r[c],e[c],c,r,e):void 0;u===void 0&&(u=e[c]),o?$f(r,c,u):Ff(r,c,u)}return r}xa.exports=zf});var _a=s((hy,Sa)=>{"use strict";function Gf(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}Sa.exports=Gf});var fr=s((my,Oa)=>{"use strict";var Bf=9007199254740991,Vf=/^(?:0|[1-9]\d*)$/;function Uf(e,t){var r=typeof e;return t=t??Bf,!!t&&(r=="number"||r!="symbol"&&Vf.test(e))&&e>-1&&e%1==0&&e<t}Oa.exports=Uf});var Ca=s((yy,Pa)=>{"use strict";var Hf=_a(),Wf=ir(),Yf=ar(),Kf=cr(),Xf=fr(),Zf=pr(),Jf=Object.prototype,Qf=Jf.hasOwnProperty;function ed(e,t){var r=Yf(e),n=!r&&Wf(e),o=!r&&!n&&Kf(e),i=!r&&!n&&!o&&Zf(e),a=r||n||o||i,c=a?Hf(e.length,String):[],u=c.length;for(var d in e)(t||Qf.call(e,d))&&!(a&&(d=="length"||o&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Xf(d,u)))&&c.push(d);return c}Pa.exports=ed});var ja=s((gy,Ea)=>{"use strict";function td(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}Ea.exports=td});var Ta=s((vy,Aa)=>{"use strict";var rd=Q(),nd=or(),od=ja(),id=Object.prototype,ad=id.hasOwnProperty;function sd(e){if(!rd(e))return od(e);var t=nd(e),r=[];for(var n in e)n=="constructor"&&(t||!ad.call(e,n))||r.push(n);return r}Aa.exports=sd});var dr=s((by,Ia)=>{"use strict";var cd=Ca(),ud=Ta(),pd=wt();function ld(e){return pd(e)?cd(e,!0):ud(e)}Ia.exports=ld});var Ra=s((xy,qa)=>{"use strict";var fd=wa(),dd=dr();function hd(e){return fd(e,dd(e))}qa.exports=hd});var Fa=s((wy,La)=>{"use strict";var Na=rr(),md=Oi(),yd=Ii(),gd=Ri(),vd=Gi(),ka=ir(),Da=ar(),bd=Qi(),xd=cr(),wd=vt(),Sd=Q(),_d=sa(),Od=pr(),Ma=lr(),Pd=Ra();function Cd(e,t,r,n,o,i,a){var c=Ma(e,r),u=Ma(t,r),d=a.get(u);if(d){Na(e,r,d);return}var l=i?i(c,u,r+"",e,t,a):void 0,h=l===void 0;if(h){var S=Da(u),w=!S&&xd(u),v=!S&&!w&&Od(u);l=u,S||w||v?Da(c)?l=c:bd(c)?l=gd(c):w?(h=!1,l=md(u,!0)):v?(h=!1,l=yd(u,!0)):l=[]:_d(u)||ka(u)?(l=c,ka(c)?l=Pd(c):(!Sd(c)||wd(c))&&(l=vd(u))):h=!1}h&&(a.set(u,l),o(l,u,n,i,a),a.delete(u)),Na(e,r,l)}La.exports=Cd});var hr=s((Sy,za)=>{"use strict";var Ed=fi(),jd=rr(),Ad=bi(),Td=Fa(),Id=Q(),qd=dr(),Rd=lr();function $a(e,t,r,n,o){e!==t&&Ad(t,function(i,a){if(o||(o=new Ed),Id(i))Td(e,t,a,r,$a,n,o);else{var c=n?n(Rd(e,a),i,a+"",e,t,o):void 0;c===void 0&&(c=i),jd(e,a,c)}},qd)}za.exports=$a});var Ua=s((_y,Va)=>{"use strict";var Nd=hr(),Ga=Q();function Ba(e,t,r,n,o,i){return Ga(e)&&Ga(t)&&(i.set(t,e),Nd(e,t,void 0,Ba,i),i.delete(t)),e}Va.exports=Ba});var Wa=s((Oy,Ha)=>{"use strict";var kd=Ge(),Dd=wt(),Md=fr(),Ld=Q();function Fd(e,t,r){if(!Ld(r))return!1;var n=typeof t;return(n=="number"?Dd(r)&&Md(t,r.length):n=="string"&&t in r)?kd(r[t],e):!1}Ha.exports=Fd});var Ka=s((Py,Ya)=>{"use strict";var $d=er(),zd=Wa();function Gd(e){return $d(function(t,r){var n=-1,o=r.length,i=o>1?r[o-1]:void 0,a=o>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(o--,i):void 0,a&&zd(r[0],r[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++n<o;){var c=r[n];c&&e(t,c,n,i)}return t})}Ya.exports=Gd});var Za=s((Cy,Xa)=>{"use strict";var Bd=hr(),Vd=Ka(),Ud=Vd(function(e,t,r,n){Bd(e,t,r,n)});Xa.exports=Ud});var Qa=s((Ey,Ja)=>{"use strict";var Hd=Yt(),Wd=er(),Yd=Ua(),Kd=Za(),Xd=Wd(function(e){return e.push(void 0,Yd),Hd(Kd,void 0,e)});Ja.exports=Xd});import{createRoot as nh}from"react-dom/client";import{useSyncExternalStore as Zd,useState as Jd,useEffect as Qd,useMemo as es}from"react";import{IntlProvider as eh}from"react-intl";import{DesignSystemProvider as th}from"@strapi/design-system";var k=function(){return k=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},k.apply(this,arguments)};function ne(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function Sr(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var bs=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,_r=Sr(function(e){return bs.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});import j,{createElement as ws}from"react";var C="-ms-",oe="-moz-",x="-webkit-",nt="comm",ee="rule",de="decl";var Or="@import";var Pr="@namespace",ot="@keyframes";var Cr="@layer";var Pt=Math.abs,Re=String.fromCharCode,Ne=Object.assign;function Er(e,t){return A(e,0)^45?(((t<<2^A(e,0))<<2^A(e,1))<<2^A(e,2))<<2^A(e,3):0}function it(e){return e.trim()}function B(e,t){return(e=t.exec(e))?e[0]:e}function g(e,t,r){return e.replace(t,r)}function he(e,t,r){return e.indexOf(t,r)}function A(e,t){return e.charCodeAt(t)|0}function V(e,t,r){return e.slice(t,r)}function D(e){return e.length}function at(e){return e.length}function ie(e,t){return t.push(e),e}function jr(e,t){return e.map(t).join("")}function Ct(e,t){return e.filter(function(r){return!B(r,t)})}var st=1,me=1,Ar=0,F=0,q=0,ge="";function ke(e,t,r,n,o,i,a,c){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:st,column:me,length:a,return:"",siblings:c}}function Y(e,t){return Ne(ke("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ae(e){for(;e.root;)e=Y(e.root,{children:[e]});ie(e,e.siblings)}function Tr(){return q}function Ir(){return q=F>0?A(ge,--F):0,me--,q===10&&(me=1,st--),q}function $(){return q=F<Ar?A(ge,F++):0,me++,q===10&&(me=1,st++),q}function K(){return A(ge,F)}function De(){return F}function ct(e,t){return V(ge,e,t)}function ye(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function qr(e){return st=me=1,Ar=D(ge=e),F=0,[]}function Rr(e){return ge="",e}function ut(e){return it(ct(F-1,Et(e===91?e+2:e===40?e+1:e)))}function Nr(e){for(;(q=K())&&q<33;)$();return ye(e)>2||ye(q)>3?"":" "}function kr(e,t){for(;--t&&$()&&!(q<48||q>102||q>57&&q<65||q>70&&q<97););return ct(e,De()+(t<6&&K()==32&&$()==32))}function Et(e){for(;$();)switch(q){case e:return F;case 34:case 39:e!==34&&e!==39&&Et(q);break;case 40:e===41&&Et(e);break;case 92:$();break}return F}function Dr(e,t){for(;$()&&e+q!==57;)if(e+q===84&&K()===47)break;return"/*"+ct(t,F-1)+"*"+Re(e===47?e:$())}function Mr(e){for(;!ye(K());)$();return ct(e,F)}function $r(e){return Rr(pt("",null,null,null,[""],e=qr(e),0,[0],e))}function pt(e,t,r,n,o,i,a,c,u){for(var d=0,l=0,h=a,S=0,w=0,v=0,_=1,R=1,I=1,T=0,P="",f=o,b=i,y=n,p=P;R;)switch(v=T,T=$()){case 40:if(v!=108&&A(p,h-1)==58){he(p+=g(ut(T),"&","&\f"),"&\f",Pt(d?c[d-1]:0))!=-1&&(I=-1);break}case 34:case 39:case 91:p+=ut(T);break;case 9:case 10:case 13:case 32:p+=Nr(v);break;case 92:p+=kr(De()-1,7);continue;case 47:switch(K()){case 42:case 47:ie(xs(Dr($(),De()),t,r,u),u),(ye(v||1)==5||ye(K()||1)==5)&&D(p)&&V(p,-1,void 0)!==" "&&(p+=" ");break;default:p+="/"}break;case 123*_:c[d++]=D(p)*I;case 125*_:case 59:case 0:switch(T){case 0:case 125:R=0;case 59+l:I==-1&&(p=g(p,/\f/g,"")),w>0&&(D(p)-h||_===0&&v===47)&&ie(w>32?Fr(p+";",n,r,h-1,u):Fr(g(p," ","")+";",n,r,h-2,u),u);break;case 59:p+=";";default:if(ie(y=Lr(p,t,r,d,l,o,c,P,f=[],b=[],h,i),i),T===123)if(l===0)pt(p,t,y,y,f,i,h,c,b);else{switch(S){case 99:if(A(p,3)===110)break;case 108:if(A(p,2)===97)break;default:l=0;case 100:case 109:case 115:}l?pt(e,y,y,n&&ie(Lr(e,y,y,0,0,o,c,P,o,f=[],h,b),b),o,b,h,c,n?f:b):pt(p,y,y,y,[""],b,0,c,b)}}d=l=w=0,_=I=1,P=p="",h=a;break;case 58:h=1+D(p),w=v;default:if(_<1){if(T==123)--_;else if(T==125&&_++==0&&Ir()==125)continue}switch(p+=Re(T),T*_){case 38:I=l>0?1:(p+="\f",-1);break;case 44:c[d++]=(D(p)-1)*I,I=1;break;case 64:K()===45&&(p+=ut($())),S=K(),l=h=D(P=p+=Mr(De())),T++;break;case 45:v===45&&D(p)==2&&(_=0)}}return i}function Lr(e,t,r,n,o,i,a,c,u,d,l,h){for(var S=o-1,w=o===0?i:[""],v=at(w),_=0,R=0,I=0;_<n;++_)for(var T=0,P=V(e,S+1,S=Pt(R=a[_])),f=e;T<v;++T)(f=it(R>0?w[T]+" "+P:g(P,/&\f/g,w[T])))&&(u[I++]=f);return ke(e,t,r,o===0?ee:c,u,d,l,h)}function xs(e,t,r,n){return ke(e,t,r,nt,Re(Tr()),V(e,2,-2),0,n)}function Fr(e,t,r,n,o){return ke(e,t,r,de,V(e,0,n),V(e,n+1,-1),n,o)}function jt(e,t,r){switch(Er(e,t)){case 5103:return x+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return x+e+e;case 4855:return x+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return oe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return x+e+oe+e+C+e+e;case 5936:switch(A(e,t+11)){case 114:return x+e+C+g(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return x+e+C+g(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return x+e+C+g(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return x+e+C+e+e;case 6165:return x+e+C+"flex-"+e+e;case 5187:return x+e+g(e,/(\w+).+(:[^]+)/,x+"box-$1$2"+C+"flex-$1$2")+e;case 5443:return x+e+C+"flex-item-"+g(e,/flex-|-self/g,"")+(B(e,/flex-|baseline/)?"":C+"grid-row-"+g(e,/flex-|-self/g,""))+e;case 4675:return x+e+C+"flex-line-pack"+g(e,/align-content|flex-|-self/g,"")+e;case 5548:return x+e+C+g(e,"shrink","negative")+e;case 5292:return x+e+C+g(e,"basis","preferred-size")+e;case 6060:return x+"box-"+g(e,"-grow","")+x+e+C+g(e,"grow","positive")+e;case 4554:return x+g(e,/([^-])(transform)/g,"$1"+x+"$2")+e;case 6187:return g(g(g(e,/(zoom-|grab)/,x+"$1"),/(image-set)/,x+"$1"),e,"")+e;case 5495:case 3959:return g(e,/(image-set\([^]*)/,x+"$1$`$1");case 4968:return g(g(e,/(.+:)(flex-)?(.*)/,x+"box-pack:$3"+C+"flex-pack:$3"),/space-between/,"justify")+x+e+e;case 4200:if(!B(e,/flex-|baseline/))return C+"grid-column-align"+V(e,t)+e;break;case 2592:case 3360:return C+g(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,B(n.props,/grid-\w+-end/)})?~he(e+(r=r[t].value),"span",0)?e:C+g(e,"-start","")+e+C+"grid-row-span:"+(~he(r,"span",0)?B(r,/\d+/):+B(r,/\d+/)-+B(e,/\d+/))+";":C+g(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return B(n.props,/grid-\w+-start/)})?e:C+g(g(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return g(e,/(.+)-inline(.+)/,x+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(D(e)-1-t>6)switch(A(e,t+1)){case 109:if(A(e,t+4)!==45)break;case 102:return g(e,/(.+:)(.+)-([^]+)/,"$1"+x+"$2-$3$1"+oe+(A(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~he(e,"stretch",0)?jt(g(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return g(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,a,c,u,d){return C+o+":"+i+d+(a?C+o+"-span:"+(c?u:+u-+i)+d:"")+e});case 4949:if(A(e,t+6)===121)return g(e,":",":"+x)+e;break;case 6444:switch(A(e,A(e,14)===45?18:11)){case 120:return g(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+x+(A(e,14)===45?"inline-":"")+"box$3$1"+x+"$2$3$1"+C+"$2box$3")+e;case 100:return g(e,":",":"+C)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return g(e,"scroll-","scroll-snap-")+e}return e}function ve(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function zr(e,t,r,n){switch(e.type){case Cr:if(e.children.length)break;case Or:case Pr:case de:return e.return=e.return||e.value;case nt:return"";case ot:return e.return=e.value+"{"+ve(e.children,n)+"}";case ee:if(!D(e.value=e.props.join(",")))return""}return D(r=ve(e.children,n))?e.return=e.value+"{"+r+"}":""}function Gr(e){var t=at(e);return function(r,n,o,i){for(var a="",c=0;c<t;c++)a+=e[c](r,n,o,i)||"";return a}}function Br(e){return function(t){t.root||(t=t.return)&&e(t)}}function Vr(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case de:e.return=jt(e.value,e.length,r);return;case ot:return ve([Y(e,{value:g(e.value,"@","@"+x)})],n);case ee:if(e.length)return jr(r=e.props,function(o){switch(B(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ae(Y(e,{props:[g(o,/:(read-\w+)/,":"+oe+"$1")]})),ae(Y(e,{props:[o]})),Ne(e,{props:Ct(r,n)});break;case"::placeholder":ae(Y(e,{props:[g(o,/:(plac\w+)/,":"+x+"input-$1")]})),ae(Y(e,{props:[g(o,/:(plac\w+)/,":"+oe+"$1")]})),ae(Y(e,{props:[g(o,/:(plac\w+)/,C+"input-$1")]})),ae(Y(e,{props:[o]})),Ne(e,{props:Ct(r,n)});break}return""})}}var Ur={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var J=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",sn="active",mt="data-styled-version",be="6.3.9",Gt=`/*!sc*/
2
+ `,Le=typeof window<"u"&&typeof document<"u",Z=j.createContext===void 0,Ss=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production");var Hr=/invalid hook call/i,lt=new Set,_s=function(e,t){if(process.env.NODE_ENV!=="production"){if(Z)return;var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` has been created dynamically.
3
+ `)+`You may see this warning because you've called styled inside another component.
4
+ To resolve this only create new StyledComponents outside of any render method and function component.
5
+ See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
6
+ `,o=console.error;try{var i=!0;console.error=function(a){for(var c=[],u=1;u<arguments.length;u++)c[u-1]=arguments[u];Hr.test(a)?(i=!1,lt.delete(n)):o.apply(void 0,ne([a],c,!1))},typeof j.useState=="function"&&j.useState(null),i&&!lt.has(n)&&(console.warn(n),lt.add(n))}catch(a){Hr.test(a.message)&&lt.delete(n)}finally{console.error=o}}},Bt=Object.freeze([]),xe=Object.freeze({});function Os(e,t,r){return r===void 0&&(r=xe),e.theme!==r.theme&&e.theme||t||r.theme}var Rt=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),Ps=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Cs=/(^-|-$)/g;function Wr(e){return e.replace(Ps,"-").replace(Cs,"")}var Es=/(a)(d)/gi,Yr=function(e){return String.fromCharCode(e+(e>25?39:97))};function Nt(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=Yr(t%52)+r;return(Yr(t%52)+r).replace(Es,"$1-$2")}var At,te=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},cn=function(e){return te(5381,e)};function js(e){return Nt(cn(e)>>>0)}function un(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Tt(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var pn=typeof Symbol=="function"&&Symbol.for,ln=pn?Symbol.for("react.memo"):60115,As=pn?Symbol.for("react.forward_ref"):60112,Ts={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Is={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},fn={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},qs=((At={})[As]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},At[ln]=fn,At);function Kr(e){return("type"in(t=e)&&t.type.$$typeof)===ln?fn:"$$typeof"in e?qs[e.$$typeof]:Ts;var t}var Rs=Object.defineProperty,Ns=Object.getOwnPropertyNames,Xr=Object.getOwnPropertySymbols,ks=Object.getOwnPropertyDescriptor,Ds=Object.getPrototypeOf,Zr=Object.prototype;function dn(e,t,r){if(typeof t!="string"){if(Zr){var n=Ds(t);n&&n!==Zr&&dn(e,n,r)}var o=Ns(t);Xr&&(o=o.concat(Xr(t)));for(var i=Kr(e),a=Kr(t),c=0;c<o.length;++c){var u=o[c];if(!(u in Is||r&&r[u]||a&&u in a||i&&u in i)){var d=ks(t,u);try{Rs(e,u,d)}catch{}}}}return e}function we(e){return typeof e=="function"}function Vt(e){return typeof e=="object"&&"styledComponentId"in e}function ce(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function yt(e,t){return e.join(t||"")}function Se(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function kt(e,t,r){if(r===void 0&&(r=!1),!r&&!Se(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=kt(e[n],t[n]);else if(Se(t))for(var n in t)e[n]=kt(e[n],t[n]);return e}function Ut(e,t){Object.defineProperty(e,"toString",{value:t})}var Ms=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
7
+
8
+ `,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
9
+
10
+ - Are you trying to reuse it across renders?
11
+ - Are you accidentally calling collectStyles twice?
12
+
13
+ `,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
14
+
15
+ `,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
16
+
17
+ - Does this error occur on the client and is your target falsy?
18
+ - Does this error occur on the server and is the sheet falsy?
19
+
20
+ `,5:`The clone method cannot be used on the client!
21
+
22
+ - Are you running in a client-like environment on the server?
23
+ - Are you trying to run SSR on the client?
24
+
25
+ `,6:`Trying to insert a new style tag, but the given Node is unmounted!
26
+
27
+ - Are you using a custom target that isn't mounted?
28
+ - Does your document not have a valid head element?
29
+ - Have you accidentally removed a style tag manually?
30
+
31
+ `,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
32
+
33
+ `,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
34
+
35
+ `,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
36
+
37
+ `,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
38
+
39
+ `,14:`ThemeProvider: "theme" prop is required.
40
+
41
+ `,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
42
+ You may only create up to 1,073,741,824 components. If you're creating components dynamically,
43
+ as for instance in your render method then you may be running into this limitation.
44
+
45
+ `,17:`CSSStyleSheet could not be found on HTMLStyleElement.
46
+ Has styled-components' style tag been unmounted or altered by another script?
47
+ `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Ls(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,i=e.length;o<i;o+=1)n.push(e[o]);return n.forEach(function(a){r=r.replace(/%[a-z]/,a)}),r}function U(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Ls.apply(void 0,ne([Ms[e]],t,!1)).trim())}var Fs=(function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t,this._cGroup=0,this._cIndex=0}return e.prototype.indexOfGroup=function(t){if(t===this._cGroup)return this._cIndex;var r=this._cIndex;if(t>this._cGroup)for(var n=this._cGroup;n<t;n++)r+=this.groupSizes[n];else for(n=this._cGroup-1;n>=t;n--)r-=this.groupSizes[n];return this._cGroup=t,this._cIndex=r,r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,i=o;t>=i;)if((i<<=1)<0)throw U(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var a=o;a<i;a++)this.groupSizes[a]=0}for(var c=this.indexOfGroup(t+1),u=0,d=(a=0,r.length);a<d;a++)this.tag.insertRule(c,r[a])&&(this.groupSizes[t]++,c++,u++);u>0&&this._cGroup>t&&(this._cIndex+=u)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var i=n;i<o;i++)this.tag.deleteRule(n);r>0&&this._cGroup>t&&(this._cIndex-=r)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),i=o+n,a=o;a<i;a++)r+=this.tag.getRule(a)+Gt;return r},e})(),$s=1<<30,dt=new Map,gt=new Map,ht=1,Me=function(e){if(dt.has(e))return dt.get(e);for(;gt.has(ht);)ht++;var t=ht++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>$s))throw U(16,"".concat(t));return dt.set(e,t),gt.set(t,e),t},zs=function(e,t){ht=t+1,dt.set(e,t),gt.set(t,e)},Gs="style[".concat(J,"][").concat(mt,'="').concat(be,'"]'),Bs=new RegExp("^".concat(J,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Jr=function(e){return typeof ShadowRoot<"u"&&e instanceof ShadowRoot||"host"in e&&e.nodeType===11},Dt=function(e){if(!e)return document;if(Jr(e))return e;if("getRootNode"in e){var t=e.getRootNode();if(Jr(t))return t}return document},Vs=function(e,t,r){for(var n,o=r.split(","),i=0,a=o.length;i<a;i++)(n=o[i])&&e.registerName(t,n)},Us=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(Gt),o=[],i=0,a=n.length;i<a;i++){var c=n[i].trim();if(c){var u=c.match(Bs);if(u){var d=0|parseInt(u[1],10),l=u[2];d!==0&&(zs(l,d),Vs(e,l,u[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(c)}}},It=function(e){for(var t=Dt(e.options.target).querySelectorAll(Gs),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(J)!==sn&&(Us(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function Mt(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var hn=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=(function(c){var u=Array.from(c.querySelectorAll("style[".concat(J,"]")));return u[u.length-1]})(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(J,sn),n.setAttribute(mt,be);var a=Mt();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},Hs=(function(){function e(t){this.element=hn(t),this.element.appendChild(document.createTextNode("")),this.sheet=(function(r){var n;if(r.sheet)return r.sheet;for(var o=(n=r.getRootNode().styleSheets)!==null&&n!==void 0?n:document.styleSheets,i=0,a=o.length;i<a;i++){var c=o[i];if(c.ownerNode===r)return c}throw U(17)})(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e})(),Ws=(function(){function e(t){this.element=hn(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e})(),Ys=(function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(t===this.length?this.rules.push(r):this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e})(),Qr=Le,Ks={isServer:!Le,useCSSOMInjection:!Ss},Fe=(function(){function e(t,r,n){t===void 0&&(t=xe),r===void 0&&(r={});var o=this;this.options=k(k({},Ks),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Le&&Qr&&(Qr=!1,It(this)),Ut(this,function(){return(function(i){for(var a=i.getTag(),c=a.length,u="",d=function(h){var S=(function(I){return gt.get(I)})(h);if(S===void 0)return"continue";var w=i.names.get(S);if(w===void 0||!w.size)return"continue";var v=a.getGroup(h);if(v.length===0)return"continue";var _=J+".g"+h+'[id="'+S+'"]',R="";w.forEach(function(I){I.length>0&&(R+=I+",")}),u+=v+_+'{content:"'+R+'"}'+Gt},l=0;l<c;l++)d(l);return u})(o)})}return e.registerId=function(t){return Me(t)},e.prototype.rehydrate=function(){!this.server&&Le&&It(this)},e.prototype.reconstructWithOptions=function(t,r){r===void 0&&(r=!0);var n=new e(k(k({},this.options),t),this.gs,r&&this.names||void 0);return!this.server&&Le&&t.target!==this.options.target&&Dt(this.options.target)!==Dt(t.target)&&It(n),n},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=(function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new Ys(o):n?new Hs(o):new Ws(o)})(this.options),new Fs(t)));var t},e.prototype.hasNameForId=function(t,r){var n,o;return(o=(n=this.names.get(t))===null||n===void 0?void 0:n.has(r))!==null&&o!==void 0&&o},e.prototype.registerName=function(t,r){Me(t);var n=this.names.get(t);n?n.add(r):this.names.set(t,new Set([r]))},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Me(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Me(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e})(),Xs=/&/g,X=47,se=42;function en(e){if(e.indexOf("}")===-1)return!1;for(var t=e.length,r=0,n=0,o=!1,i=0;i<t;i++){var a=e.charCodeAt(i);if(n!==0||o||a!==X||e.charCodeAt(i+1)!==se)if(o)a===se&&e.charCodeAt(i+1)===X&&(o=!1,i++);else if(a!==34&&a!==39||i!==0&&e.charCodeAt(i-1)===92){if(n===0){if(a===123)r++;else if(a===125&&--r<0)return!0}}else n===0?n=a:n===a&&(n=0);else o=!0,i++}return r!==0||n!==0}function mn(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=mn(r.children,t)),r})}function yn(e){var t,r,n,o=e===void 0?xe:e,i=o.options,a=i===void 0?xe:i,c=o.plugins,u=c===void 0?Bt:c,d=function(v,_,R){return R.startsWith(r)&&R.endsWith(r)&&R.replaceAll(r,"").length>0?".".concat(t):v},l=u.slice();l.push(function(v){v.type===ee&&v.value.includes("&")&&(n||(n=new RegExp("\\".concat(r,"\\b"),"g")),v.props[0]=v.props[0].replace(Xs,r).replace(n,d))}),a.prefix&&l.push(Vr),l.push(zr);var h=[],S=Gr(l.concat(Br(function(v){return h.push(v)}))),w=function(v,_,R,I){_===void 0&&(_=""),R===void 0&&(R=""),I===void 0&&(I="&"),t=I,r=_,n=void 0;var T=(function(f){if(!en(f))return f;for(var b=f.length,y="",p=0,m=0,N=0,z=!1,O=0;O<b;O++){var G=f.charCodeAt(O);if(N!==0||z||G!==X||f.charCodeAt(O+1)!==se)if(z)G===se&&f.charCodeAt(O+1)===X&&(z=!1,O++);else if(G!==34&&G!==39||O!==0&&f.charCodeAt(O-1)===92){if(N===0)if(G===123)m++;else if(G===125){if(--m<0){for(var M=O+1;M<b;){var Ze=f.charCodeAt(M);if(Ze===59||Ze===10)break;M++}M<b&&f.charCodeAt(M)===59&&M++,m=0,O=M-1,p=M;continue}m===0&&(y+=f.substring(p,O+1),p=O+1)}else G===59&&m===0&&(y+=f.substring(p,O+1),p=O+1)}else N===0?N=G:N===G&&(N=0);else z=!0,O++}if(p<b){var Je=f.substring(p);en(Je)||(y+=Je)}return y})((function(f){if(f.indexOf("//")===-1)return f;for(var b=f.length,y=[],p=0,m=0,N=0,z=0;m<b;){var O=f.charCodeAt(m);if(O!==34&&O!==39||m!==0&&f.charCodeAt(m-1)===92)if(N===0)if(O===X&&m+1<b&&f.charCodeAt(m+1)===se){for(m+=2;m+1<b&&(f.charCodeAt(m)!==se||f.charCodeAt(m+1)!==X);)m++;m+=2}else if(O===40&&m>=3&&(32|f.charCodeAt(m-1))==108&&(32|f.charCodeAt(m-2))==114&&(32|f.charCodeAt(m-3))==117)z=1,m++;else if(z>0)O===41?z--:O===40&&z++,m++;else if(O===se&&m+1<b&&f.charCodeAt(m+1)===X)m>p&&y.push(f.substring(p,m)),p=m+=2;else if(O===X&&m+1<b&&f.charCodeAt(m+1)===X){for(m>p&&y.push(f.substring(p,m));m<b&&f.charCodeAt(m)!==10;)m++;p=m}else m++;else m++;else N===0?N=O:N===O&&(N=0),m++}return p===0?f:(p<b&&y.push(f.substring(p)),y.join(""))})(v)),P=$r(R||_?"".concat(R," ").concat(_," { ").concat(T," }"):T);return a.namespace&&(P=mn(P,a.namespace)),h=[],ve(P,S),h};return w.hash=u.length?u.reduce(function(v,_){return _.name||U(15),te(v,_.name)},5381).toString():"",w}var Zs=new Fe,Lt=yn(),Ft={shouldForwardProp:void 0,styleSheet:Zs,stylis:Lt},Ht=Z?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(Ft)}}:j.createContext(Ft),Dh=Ht.Consumer,Js=Z?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:j.createContext(void 0);function $t(){return Z?Ft:j.useContext(Ht)}function Wt(e){if(Z||!j.useMemo)return e.children;var t=$t().styleSheet,r=j.useMemo(function(){var i=t;return e.sheet?i=e.sheet:e.target&&(i=i.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(i=i.reconstructWithOptions({useCSSOMInjection:!1})),i},[e.disableCSSOMInjection,e.sheet,e.target,t]),n=j.useMemo(function(){return yn({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:e.stylisPlugins})},[e.enableVendorPrefixes,e.namespace,e.stylisPlugins]),o=j.useMemo(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:r,stylis:n}},[e.shouldForwardProp,r,n]);return j.createElement(Ht.Provider,{value:o},j.createElement(Js.Provider,{value:n},e.children))}var tn=(function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=Lt);var a=n.name+i.hash;o.hasNameForId(n.id,a)||o.insertRules(n.id,a,i(n.rules,a,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,Ut(this,function(){throw U(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Lt),this.name+t.hash},e})();function Qs(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||e in Ur||e.startsWith("--")?String(t).trim():"".concat(t,"px")}var ec=function(e){return e>="A"&&e<="Z"};function rn(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;ec(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var gn=function(e){return e==null||e===!1||e===""},vn=function(e){var t=[];for(var r in e){var n=e[r];e.hasOwnProperty(r)&&!gn(n)&&(Array.isArray(n)&&n.isCss||we(n)?t.push("".concat(rn(r),":"),n,";"):Se(n)?t.push.apply(t,ne(ne(["".concat(r," {")],vn(n),!1),["}"],!1)):t.push("".concat(rn(r),": ").concat(Qs(r,n),";")))}return t};function re(e,t,r,n,o){if(o===void 0&&(o=[]),typeof e=="string")return e&&o.push(e),o;if(gn(e))return o;if(Vt(e))return o.push(".".concat(e.styledComponentId)),o;if(we(e)){if(!we(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return o.push(e),o;var i=e(t);return process.env.NODE_ENV==="production"||typeof i!="object"||Array.isArray(i)||i instanceof tn||Se(i)||i===null||console.error("".concat(un(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),re(i,t,r,n,o)}var a;if(e instanceof tn)return r?(e.inject(r,n),o.push(e.getName(n))):o.push(e),o;if(Se(e)){for(var c=vn(e),u=0;u<c.length;u++)o.push(c[u]);return o}if(!Array.isArray(e))return o.push(e.toString()),o;for(u=0;u<e.length;u++)re(e[u],t,r,n,o);return o}function bn(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(we(r)&&!Vt(r))return!1}return!0}var tc=cn(be),rc=(function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&bn(t),this.componentId=r,this.baseHash=te(tc,r),this.baseStyle=n,Fe.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n).className:"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=ce(o,this.staticRulesId);else{var i=yt(re(this.rules,t,r,n)),a=Nt(te(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,a)){var c=n(i,".".concat(a),void 0,this.componentId);r.insertRules(this.componentId,a,c)}o=ce(o,a),this.staticRulesId=a}else{for(var u=te(this.baseHash,n.hash),d="",l=0;l<this.rules.length;l++){var h=this.rules[l];if(typeof h=="string")d+=h,process.env.NODE_ENV!=="production"&&(u=te(u,h));else if(h){var S=yt(re(h,t,r,n));u=te(te(u,String(l)),S),d+=S}}if(d){var w=Nt(u>>>0);if(!r.hasNameForId(this.componentId,w)){var v=n(d,".".concat(w),void 0,this.componentId);r.insertRules(this.componentId,w,v)}o=ce(o,w)}}return{className:o,css:typeof window>"u"?r.getTag().getGroup(Me(this.componentId)):""}},e})(),xn=Z?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:j.createContext(void 0),Mh=xn.Consumer;var qt={},nn=new Set;function nc(e,t,r){var n=Vt(e),o=e,i=!Tt(e),a=t.attrs,c=a===void 0?Bt:a,u=t.componentId,d=u===void 0?(function(f,b){var y=typeof f!="string"?"sc":Wr(f);qt[y]=(qt[y]||0)+1;var p="".concat(y,"-").concat(js(be+y+qt[y]));return b?"".concat(b,"-").concat(p):p})(t.displayName,t.parentComponentId):u,l=t.displayName,h=l===void 0?(function(f){return Tt(f)?"styled.".concat(f):"Styled(".concat(un(f),")")})(e):l,S=t.displayName&&t.componentId?"".concat(Wr(t.displayName),"-").concat(t.componentId):t.componentId||d,w=n&&o.attrs?o.attrs.concat(c).filter(Boolean):c,v=t.shouldForwardProp;if(n&&o.shouldForwardProp){var _=o.shouldForwardProp;if(t.shouldForwardProp){var R=t.shouldForwardProp;v=function(f,b){return _(f,b)&&R(f,b)}}else v=_}var I=new rc(r,S,n?o.componentStyle:void 0);function T(f,b){return(function(y,p,m){var N=y.attrs,z=y.componentStyle,O=y.defaultProps,G=y.foldedComponentIds,M=y.styledComponentId,Ze=y.target,Je=Z?void 0:j.useContext(xn),ps=$t(),St=y.shouldForwardProp||ps.shouldForwardProp;process.env.NODE_ENV!=="production"&&j.useDebugValue&&j.useDebugValue(M);var gr=Os(p,Je,O)||(Z?void 0:xe),H=(function(et,pe,tt){for(var le,W=k(k({},pe),{className:void 0,theme:tt}),Ot=0;Ot<et.length;Ot+=1){var rt=we(le=et[Ot])?le(W):le;for(var fe in rt)fe==="className"?W.className=ce(W.className,rt[fe]):fe==="style"?W.style=k(k({},W.style),rt[fe]):W[fe]=rt[fe]}return"className"in pe&&typeof pe.className=="string"&&(W.className=ce(W.className,pe.className)),W})(N,p,gr),Ie=H.as||Ze,qe={};for(var L in H)H[L]===void 0||L[0]==="$"||L==="as"||L==="theme"&&H.theme===gr||(L==="forwardedAs"?qe.as=H.forwardedAs:St&&!St(L,Ie)||(qe[L]=H[L],St||process.env.NODE_ENV!=="development"||_r(L)||nn.has(L)||!Rt.has(Ie)||(nn.add(L),console.warn('styled-components: it looks like an unknown prop "'.concat(L,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var vr=(function(et,pe){var tt=$t(),le=et.generateAndInjectStyles(pe,tt.styleSheet,tt.stylis);return process.env.NODE_ENV!=="production"&&j.useDebugValue&&j.useDebugValue(le.className),le})(z,H),Qe=vr.className,br=vr.css;process.env.NODE_ENV!=="production"&&y.warnTooManyClasses&&y.warnTooManyClasses(Qe);var _t=ce(G,M);Qe&&(_t+=" "+Qe),H.className&&(_t+=" "+H.className),qe[Tt(Ie)&&!Rt.has(Ie)?"class":"className"]=_t,m&&(qe.ref=m);var xr=ws(Ie,qe);return Z&&br?j.createElement(j.Fragment,null,j.createElement("style",{precedence:"styled-components",href:"sc-".concat(M,"-").concat(Qe),children:br}),xr):xr})(P,f,b)}T.displayName=h;var P=j.forwardRef(T);return P.attrs=w,P.componentStyle=I,P.displayName=h,P.shouldForwardProp=v,P.foldedComponentIds=n?ce(o.foldedComponentIds,o.styledComponentId):"",P.styledComponentId=S,P.target=n?o.target:e,Object.defineProperty(P,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(f){this._foldedDefaultProps=n?(function(b){for(var y=[],p=1;p<arguments.length;p++)y[p-1]=arguments[p];for(var m=0,N=y;m<N.length;m++)kt(b,N[m],!0);return b})({},o.defaultProps,f):f}}),process.env.NODE_ENV!=="production"&&(_s(h,S),P.warnTooManyClasses=(function(f,b){var y={},p=!1;return function(m){if(!p&&(y[m]=!0,Object.keys(y).length>=200)){var N=b?' with the id of "'.concat(b,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(f).concat(N,`.
48
+ `)+`Consider using the attrs method, together with a style object for frequently changed styles.
49
+ Example:
50
+ const Component = styled.div.attrs(props => ({
51
+ style: {
52
+ background: props.background,
53
+ },
54
+ }))\`width: 100%;\`
55
+
56
+ <Component />`),p=!0,y={}}}})(h,S)),Ut(P,function(){return".".concat(P.styledComponentId)}),i&&dn(P,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),P}function on(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var an=function(e){return Object.assign(e,{isCss:!0})};function oc(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(we(e)||Se(e))return an(re(on(Bt,ne([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?re(n):an(re(on(n,t)))}function zt(e,t,r){if(r===void 0&&(r=xe),!t)throw U(1,t);var n=function(o){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return e(t,r,oc.apply(void 0,ne([o],i,!1)))};return n.attrs=function(o){return zt(e,t,k(k({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return zt(e,t,k(k({},r),o))},n}var wn=function(e){return zt(nc,e)},ic=wn;Rt.forEach(function(e){ic[e]=wn(e)});var Lh=(function(){function e(t,r){this.rules=t,this.componentId=r,this.isStatic=bn(t),Fe.registerId(this.componentId+1)}return e.prototype.createStyles=function(t,r,n,o){var i=o(yt(re(this.rules,r,n,o)),""),a=this.componentId+t;n.insertRules(a,a,i)},e.prototype.removeStyles=function(t,r){r.clearRules(this.componentId+t)},e.prototype.renderStyles=function(t,r,n,o){t>2&&Fe.registerId(this.componentId+t);var i=this.componentId+t;this.isStatic?n.hasNameForId(i,i)||this.createStyles(t,r,n,o):(this.removeStyles(t,n),this.createStyles(t,r,n,o))},e})();var ac=/^\s*<\/[a-z]/i,Fh=(function(){function e(){var t=this;this._emitSheetCSS=function(){var r=t.instance.toString();if(!r)return"";var n=Mt(),o=yt([n&&'nonce="'.concat(n,'"'),"".concat(J,'="true"'),"".concat(mt,'="').concat(be,'"')].filter(Boolean)," ");return"<style ".concat(o,">").concat(r,"</style>")},this.getStyleTags=function(){if(t.sealed)throw U(2);return t._emitSheetCSS()},this.getStyleElement=function(){var r;if(t.sealed)throw U(2);var n=t.instance.toString();if(!n)return[];var o=((r={})[J]="",r[mt]=be,r.dangerouslySetInnerHTML={__html:n},r),i=Mt();return i&&(o.nonce=i),[j.createElement("style",k({},o,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new Fe({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(t){if(this.sealed)throw U(2);return j.createElement(Wt,{sheet:this.instance},t)},e.prototype.interleaveWithNodeStream=function(t){if(this.sealed)throw U(2);this.seal();var r=ys("stream").Transform,n=this.instance,o=this._emitSheetCSS,i=new r({transform:function(c,u,d){var l=c.toString(),h=o();if(n.clearTag(),ac.test(l)){var S=l.indexOf(">")+1,w=l.slice(0,S),v=l.slice(S);this.push(w+h+v)}else this.push(h+l);d()}});if("on"in t&&typeof t.on=="function"&&"pipe"in t){var a=t;return a.on("error",function(c){i.emit("error",c)}),a.pipe(i)}if("pipe"in t&&typeof t.pipe=="function")return t.pipe(i);throw new Error("Unsupported stream type")},e})();process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
57
+ Perhaps you're looking to import 'styled-components/native'?
58
+ Read more about this at https://www.styled-components.com/docs/basics#react-native`);var ft="__sc-".concat(J,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[ft]||(window[ft]=0),window[ft]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
59
+
60
+ See https://styled-components.com/docs/faqs#why-am-i-getting-a-warning-about-several-instances-of-module-on-the-page for more info.`),window[ft]+=1);var ts=vs(Qa());import{jsx as mr}from"react/jsx-runtime";var rh=({children:e,store:t,configurations:r,target:n})=>{let o=Zd(t.subscribe,t.getState),i=o.admin_app.theme.currentTheme||"light",a=o.admin_app.language.locale||"en",c=r.translations||{},[u,d]=Jd(matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");Qd(()=>{let S=matchMedia("(prefers-color-scheme: dark)"),w=v=>{d(v.matches?"dark":"light")};return S.addEventListener("change",w),()=>S.removeEventListener("change",w)},[]);let l=es(()=>(0,ts.default)(c[a],c.en),[a,c]),h=es(()=>r.themes[i==="system"?u:i],[i,u,r.themes]);return mr(Wt,{target:n,children:mr(th,{theme:h,locale:a,children:mr(eh,{locale:a,messages:l,children:e})})})},rs=rh;import{jsx as ns}from"react/jsx-runtime";var os=async(e,t,r)=>{let n=t.domInjections;if(!n){console.warn("Injection system not initialised. Please call initialiseInjections(app) before registering injection routes.");return}document.querySelector(`#${r.id}`)||n.removeRoot(r.id);let i=yr(r.route,e.location.pathname);if(!i)return;let a=r.Component(),c=await is(r.selector);if(!c||!yr(r.route,window.location.pathname))return;if(!n.getRoot(r.id)){let h=document.getElementById(r.id);h||(h=document.createElement("div"),h.id=r.id,c.after(h)),n.setRoot(r.id,nh(h))}let d=(await a).default,l=n.getRoot(r.id);l&&l.render(ns(rs,{store:t.store,configurations:t.configurations,target:document.getElementById(r.id)||void 0,children:ns(d,{...i})}))};var ss=async e=>{let t=e.router,r=0;for(;!t?.router?.state?.location&&r<100;)await new Promise(n=>setTimeout(n,10)),r++;if(!t?.router?.state?.location){console.warn("Strapi router not ready after 5s, skipping injection initialization.");return}t.router.subscribe(n=>as(n,e)),as(t.router.state,e)},as=(e,t)=>{let r=t.domInjections?.routes||[];Promise.all(r.map(n=>os(e,t,n)))},is=(e,t=5e3)=>new Promise(r=>{let n=document.querySelector(e);if(n)return r(n);let o=new MutationObserver(()=>{let i=document.querySelector(e);i&&(o.disconnect(),r(i))});o.observe(document.body,{childList:!0,subtree:!0}),setTimeout(()=>{o.disconnect(),r(null)},t)}),cs=(e,t)=>{if(!t.domInjections?.routes){console.warn("Injection system not initialised. Please call initialiseInjections(app) before registering injection routes.");return}let{id:r,...n}=e;if(r&&t.domInjections.routes.some(i=>i.id===r)){console.warn(`Injection route with id ${r} already exists. Skipping registration.`);return}let o=r||`injection-${Math.random().toString(36).substring(2,9)}`;t.domInjections.routes.push({id:o,...n})},us=(e,t)=>{if(!t.domInjections?.routes){console.warn("Injection system not initialised. Please call initialiseInjections(app) before unregistering injection routes.");return}let r=t.domInjections.routes.findIndex(n=>n.id===e);if(r===-1){console.warn(`Injection route with id ${e} does not exist. Skipping unregistration.`);return}t.domInjections.routes.splice(r,1),t.domInjections.removeRoot(e)},yr=(e,t)=>{let r=e.split("/").filter(Boolean),n=t.split("/").filter(Boolean);if(r.length!==n.length)return null;let o={};for(let i=0;i<r.length;i++)if(r[i].startsWith(":"))o[r[i].replace(/^:/,"")]=n[i];else if(r[i]!==n[i])return null;return o};var Gy=e=>{let t=e.domInjections;if(t)return t;ss(e);let r={routes:[],roots:{},registerRoute:n=>cs(n,e),unregisterRoute:n=>us(n,e),getRoot:n=>e.domInjections?.roots[n],setRoot:(n,o)=>{e.domInjections&&(e.domInjections.roots[n]=o)},removeRoot:n=>{if(!e.domInjections)return;let o=e.domInjections.roots[n];o&&(setTimeout(()=>o.unmount(),0),delete e.domInjections.roots[n])}};return e.domInjections=r,r};export{Gy as initialiseInjections};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strapi-admin-portal",
3
- "version": "0.0.2",
3
+ "version": "0.1.0",
4
4
  "description": "The Portal Gun for Strapi Admin. Seamlessly mount React components into specific DOM selectors across any admin route.",
5
5
  "keywords": [
6
6
  "strapi",