@elliemae/pui-app-bridge 2.32.1 → 2.32.3

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/dist/umd/index.js CHANGED
@@ -1,17 +1,17 @@
1
- (function(wt,qe){typeof exports=="object"&&typeof module=="object"?module.exports=qe(require("React")):typeof define=="function"&&define.amd?define(["React"],qe):typeof exports=="object"?exports.ice=qe(require("React")):wt.ice=qe(wt.React)})(globalThis,fr=>(()=>{var wt={4674(i,p,t){"use strict";var o=t(7020),c={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},u={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},d={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},h={};h[o.ForwardRef]=u,h[o.Memo]=d;function m(F){return o.isMemo(F)?d:h[F.$$typeof]||c}var v=Object.defineProperty,w=Object.getOwnPropertyNames,x=Object.getOwnPropertySymbols,T=Object.getOwnPropertyDescriptor,j=Object.getPrototypeOf,D=Object.prototype;function L(F,z,X){if(typeof z!="string"){if(D){var ce=j(z);ce&&ce!==D&&L(F,ce,X)}var R=w(z);x&&(R=R.concat(x(z)));for(var Q=m(F),A=m(z),le=0;le<R.length;++le){var ne=R[le];if(!l[ne]&&!(X&&X[ne])&&!(A&&A[ne])&&!(Q&&Q[ne])){var ue=T(z,ne);try{v(F,ne,ue)}catch{}}}}return F}i.exports=L},8054(i,p,t){var o=t(5592),c=t(907),l=o(c,"DataView");i.exports=l},3219(i,p,t){var o=t(2130),c=t(1924),l=t(4743),u=t(1755),d=t(5203);function h(m){var v=-1,w=m==null?0:m.length;for(this.clear();++v<w;){var x=m[v];this.set(x[0],x[1])}}h.prototype.clear=o,h.prototype.delete=c,h.prototype.get=l,h.prototype.has=u,h.prototype.set=d,i.exports=h},7321(i,p,t){var o=t(3044),c=t(4066),l=t(8461),u=t(4417),d=t(2777);function h(m){var v=-1,w=m==null?0:m.length;for(this.clear();++v<w;){var x=m[v];this.set(x[0],x[1])}}h.prototype.clear=o,h.prototype.delete=c,h.prototype.get=l,h.prototype.has=u,h.prototype.set=d,i.exports=h},2565(i,p,t){var o=t(5592),c=t(907),l=o(c,"Map");i.exports=l},111(i,p,t){var o=t(4614),c=t(9504),l=t(9251),u=t(5791),d=t(1511);function h(m){var v=-1,w=m==null?0:m.length;for(this.clear();++v<w;){var x=m[v];this.set(x[0],x[1])}}h.prototype.clear=o,h.prototype.delete=c,h.prototype.get=l,h.prototype.has=u,h.prototype.set=d,i.exports=h},8246(i,p,t){var o=t(5592),c=t(907),l=o(c,"Promise");i.exports=l},4099(i,p,t){var o=t(5592),c=t(907),l=o(c,"Set");i.exports=l},5963(i,p,t){var o=t(7321),c=t(1306),l=t(3180),u=t(5247),d=t(2835),h=t(9179);function m(v){var w=this.__data__=new o(v);this.size=w.size}m.prototype.clear=c,m.prototype.delete=l,m.prototype.get=u,m.prototype.has=d,m.prototype.set=h,i.exports=m},7759(i,p,t){var o=t(907),c=o.Symbol;i.exports=c},9386(i,p,t){var o=t(907),c=o.Uint8Array;i.exports=c},6221(i,p,t){var o=t(5592),c=t(907),l=o(c,"WeakMap");i.exports=l},6047(i){function p(t,o,c){switch(c.length){case 0:return t.call(o);case 1:return t.call(o,c[0]);case 2:return t.call(o,c[0],c[1]);case 3:return t.call(o,c[0],c[1],c[2])}return t.apply(o,c)}i.exports=p},6259(i){function p(t,o){for(var c=-1,l=t==null?0:t.length;++c<l&&o(t[c],c,t)!==!1;);return t}i.exports=p},1840(i){function p(t,o){for(var c=-1,l=t==null?0:t.length,u=0,d=[];++c<l;){var h=t[c];o(h,c,t)&&(d[u++]=h)}return d}i.exports=p},3737(i,p,t){var o=t(5562),c=t(1750),l=t(2619),u=t(3446),d=t(2159),h=t(3133),m=Object.prototype,v=m.hasOwnProperty;function w(x,T){var j=l(x),D=!j&&c(x),L=!j&&!D&&u(x),F=!j&&!D&&!L&&h(x),z=j||D||L||F,X=z?o(x.length,String):[],ce=X.length;for(var R in x)(T||v.call(x,R))&&!(z&&(R=="length"||L&&(R=="offset"||R=="parent")||F&&(R=="buffer"||R=="byteLength"||R=="byteOffset")||d(R,ce)))&&X.push(R);return X}i.exports=w},5862(i){function p(t,o){for(var c=-1,l=t==null?0:t.length,u=Array(l);++c<l;)u[c]=o(t[c],c,t);return u}i.exports=p},9130(i){function p(t,o){for(var c=-1,l=o.length,u=t.length;++c<l;)t[u+c]=o[c];return t}i.exports=p},8971(i,p,t){var o=t(3706),c=t(9506);function l(u,d,h){(h!==void 0&&!c(u[d],h)||h===void 0&&!(d in u))&&o(u,d,h)}i.exports=l},3853(i,p,t){var o=t(3706),c=t(9506),l=Object.prototype,u=l.hasOwnProperty;function d(h,m,v){var w=h[m];(!(u.call(h,m)&&c(w,v))||v===void 0&&!(m in h))&&o(h,m,v)}i.exports=d},7831(i,p,t){var o=t(9506);function c(l,u){for(var d=l.length;d--;)if(o(l[d][0],u))return d;return-1}i.exports=c},2183(i,p,t){var o=t(7145),c=t(2096);function l(u,d){return u&&o(d,c(d),u)}i.exports=l},4076(i,p,t){var o=t(7145),c=t(7999);function l(u,d){return u&&o(d,c(d),u)}i.exports=l},3706(i,p,t){var o=t(4665);function c(l,u,d){u=="__proto__"&&o?o(l,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):l[u]=d}i.exports=c},6057(i,p,t){var o=t(5963),c=t(6259),l=t(3853),u=t(2183),d=t(4076),h=t(5196),m=t(3549),v=t(6573),w=t(9934),x=t(6280),T=t(6839),j=t(1663),D=t(143),L=t(7265),F=t(8879),z=t(2619),X=t(3446),ce=t(7884),R=t(9323),Q=t(5070),A=t(2096),le=t(7999),ne=1,ue=2,oe=4,me="[object Arguments]",pe="[object Array]",B="[object Boolean]",ve="[object Date]",_="[object Error]",Ae="[object Function]",Ge="[object GeneratorFunction]",et="[object Map]",it="[object Number]",xt="[object Object]",Bt="[object RegExp]",Vt="[object Set]",ye="[object String]",St="[object Symbol]",hr="[object WeakMap]",gr="[object ArrayBuffer]",Gt="[object DataView]",At="[object Float32Array]",tt="[object Float64Array]",Et="[object Int8Array]",mr="[object Int16Array]",vr="[object Int32Array]",Ht="[object Uint8Array]",Wt="[object Uint8ClampedArray]",Ot="[object Uint16Array]",Kt="[object Uint32Array]",se={};se[me]=se[pe]=se[gr]=se[Gt]=se[B]=se[ve]=se[At]=se[tt]=se[Et]=se[mr]=se[vr]=se[et]=se[it]=se[xt]=se[Bt]=se[Vt]=se[ye]=se[St]=se[Ht]=se[Wt]=se[Ot]=se[Kt]=!0,se[_]=se[Ae]=se[hr]=!1;function He(q,We,Ke,Ct,pt,Ee){var Oe,rt=We&ne,Te=We&ue,Ue=We&oe;if(Ke&&(Oe=pt?Ke(q,Ct,pt,Ee):Ke(q)),Oe!==void 0)return Oe;if(!R(q))return q;var Tt=z(q);if(Tt){if(Oe=D(q),!rt)return m(q,Oe)}else{var Ye=j(q),Pt=Ye==Ae||Ye==Ge;if(X(q))return h(q,rt);if(Ye==xt||Ye==me||Pt&&!pt){if(Oe=Te||Pt?{}:F(q),!rt)return Te?w(q,d(Oe,q)):v(q,u(Oe,q))}else{if(!se[Ye])return pt?q:{};Oe=L(q,Ye,rt)}}Ee||(Ee=new o);var It=Ee.get(q);if(It)return It;Ee.set(q,Oe),Q(q)?q.forEach(function(ke){Oe.add(He(ke,We,Ke,ke,q,Ee))}):ce(q)&&q.forEach(function(ke,Ve){Oe.set(Ve,He(ke,We,Ke,Ve,q,Ee))});var Yt=Ue?Te?T:x:Te?le:A,jt=Tt?void 0:Yt(q);return c(jt||q,function(ke,Ve){jt&&(Ve=ke,ke=q[Ve]),l(Oe,Ve,He(ke,We,Ke,Ve,q,Ee))}),Oe}i.exports=He},8514(i,p,t){var o=t(9323),c=Object.create,l=function(){function u(){}return function(d){if(!o(d))return{};if(c)return c(d);u.prototype=d;var h=new u;return u.prototype=void 0,h}}();i.exports=l},5795(i,p,t){var o=t(3375),c=o();i.exports=c},3208(i,p,t){var o=t(2155),c=t(5155);function l(u,d){d=o(d,u);for(var h=0,m=d.length;u!=null&&h<m;)u=u[c(d[h++])];return h&&h==m?u:void 0}i.exports=l},1405(i,p,t){var o=t(9130),c=t(2619);function l(u,d,h){var m=d(u);return c(u)?m:o(m,h(u))}i.exports=l},1490(i,p,t){var o=t(7759),c=t(4817),l=t(7748),u="[object Null]",d="[object Undefined]",h=o?o.toStringTag:void 0;function m(v){return v==null?v===void 0?d:u:h&&h in Object(v)?c(v):l(v)}i.exports=m},2780(i){var p=Object.prototype,t=p.hasOwnProperty;function o(c,l){return c!=null&&t.call(c,l)}i.exports=o},2960(i,p,t){var o=t(1490),c=t(2292),l="[object Arguments]";function u(d){return c(d)&&o(d)==l}i.exports=u},9694(i,p,t){var o=t(1663),c=t(2292),l="[object Map]";function u(d){return c(d)&&o(d)==l}i.exports=u},4401(i,p,t){var o=t(860),c=t(2958),l=t(9323),u=t(8815),d=/[\\^$.*+?()[\]{}|]/g,h=/^\[object .+?Constructor\]$/,m=Function.prototype,v=Object.prototype,w=m.toString,x=v.hasOwnProperty,T=RegExp("^"+w.call(x).replace(d,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function j(D){if(!l(D)||c(D))return!1;var L=o(D)?T:h;return L.test(u(D))}i.exports=j},8172(i,p,t){var o=t(1663),c=t(2292),l="[object Set]";function u(d){return c(d)&&o(d)==l}i.exports=u},5283(i,p,t){var o=t(1490),c=t(5300),l=t(2292),u="[object Arguments]",d="[object Array]",h="[object Boolean]",m="[object Date]",v="[object Error]",w="[object Function]",x="[object Map]",T="[object Number]",j="[object Object]",D="[object RegExp]",L="[object Set]",F="[object String]",z="[object WeakMap]",X="[object ArrayBuffer]",ce="[object DataView]",R="[object Float32Array]",Q="[object Float64Array]",A="[object Int8Array]",le="[object Int16Array]",ne="[object Int32Array]",ue="[object Uint8Array]",oe="[object Uint8ClampedArray]",me="[object Uint16Array]",pe="[object Uint32Array]",B={};B[R]=B[Q]=B[A]=B[le]=B[ne]=B[ue]=B[oe]=B[me]=B[pe]=!0,B[u]=B[d]=B[X]=B[h]=B[ce]=B[m]=B[v]=B[w]=B[x]=B[T]=B[j]=B[D]=B[L]=B[F]=B[z]=!1;function ve(_){return l(_)&&c(_.length)&&!!B[o(_)]}i.exports=ve},2322(i,p,t){var o=t(8861),c=t(9692),l=Object.prototype,u=l.hasOwnProperty;function d(h){if(!o(h))return c(h);var m=[];for(var v in Object(h))u.call(h,v)&&v!="constructor"&&m.push(v);return m}i.exports=d},5045(i,p,t){var o=t(9323),c=t(8861),l=t(1779),u=Object.prototype,d=u.hasOwnProperty;function h(m){if(!o(m))return l(m);var v=c(m),w=[];for(var x in m)x=="constructor"&&(v||!d.call(m,x))||w.push(x);return w}i.exports=h},3912(i,p,t){var o=t(5963),c=t(8971),l=t(5795),u=t(8342),d=t(9323),h=t(7999),m=t(5760);function v(w,x,T,j,D){w!==x&&l(x,function(L,F){if(D||(D=new o),d(L))u(w,x,F,T,v,j,D);else{var z=j?j(m(w,F),L,F+"",w,x,D):void 0;z===void 0&&(z=L),c(w,F,z)}},h)}i.exports=v},8342(i,p,t){var o=t(8971),c=t(5196),l=t(5979),u=t(3549),d=t(8879),h=t(1750),m=t(2619),v=t(1891),w=t(3446),x=t(860),T=t(9323),j=t(1281),D=t(3133),L=t(5760),F=t(4514);function z(X,ce,R,Q,A,le,ne){var ue=L(X,R),oe=L(ce,R),me=ne.get(oe);if(me){o(X,R,me);return}var pe=le?le(ue,oe,R+"",X,ce,ne):void 0,B=pe===void 0;if(B){var ve=m(oe),_=!ve&&w(oe),Ae=!ve&&!_&&D(oe);pe=oe,ve||_||Ae?m(ue)?pe=ue:v(ue)?pe=u(ue):_?(B=!1,pe=c(oe,!0)):Ae?(B=!1,pe=l(oe,!0)):pe=[]:j(oe)||h(oe)?(pe=ue,h(ue)?pe=F(ue):(!T(ue)||x(ue))&&(pe=d(oe))):B=!1}B&&(ne.set(oe,pe),A(pe,oe,Q,le,ne),ne.delete(oe)),o(X,R,pe)}i.exports=z},6936(i,p,t){var o=t(4846),c=t(8619),l=t(9599);function u(d,h){return l(c(d,h,o),d+"")}i.exports=u},604(i,p,t){var o=t(3853),c=t(2155),l=t(2159),u=t(9323),d=t(5155);function h(m,v,w,x){if(!u(m))return m;v=c(v,m);for(var T=-1,j=v.length,D=j-1,L=m;L!=null&&++T<j;){var F=d(v[T]),z=w;if(F==="__proto__"||F==="constructor"||F==="prototype")return m;if(T!=D){var X=L[F];z=x?x(X,F,L):void 0,z===void 0&&(z=u(X)?X:l(v[T+1])?[]:{})}o(L,F,z),L=L[F]}return m}i.exports=h},7680(i,p,t){var o=t(6148),c=t(4665),l=t(4846),u=c?function(d,h){return c(d,"toString",{configurable:!0,enumerable:!1,value:o(h),writable:!0})}:l;i.exports=u},5562(i){function p(t,o){for(var c=-1,l=Array(t);++c<t;)l[c]=o(c);return l}i.exports=p},1978(i,p,t){var o=t(7759),c=t(5862),l=t(2619),u=t(7964),d=1/0,h=o?o.prototype:void 0,m=h?h.toString:void 0;function v(w){if(typeof w=="string")return w;if(l(w))return c(w,v)+"";if(u(w))return m?m.call(w):"";var x=w+"";return x=="0"&&1/w==-d?"-0":x}i.exports=v},6(i,p,t){var o=t(5082),c=/^\s+/;function l(u){return u&&u.slice(0,o(u)+1).replace(c,"")}i.exports=l},1155(i){function p(t){return function(o){return t(o)}}i.exports=p},2155(i,p,t){var o=t(2619),c=t(5304),l=t(4352),u=t(7164);function d(h,m){return o(h)?h:c(h,m)?[h]:l(u(h))}i.exports=d},2859(i,p,t){var o=t(9386);function c(l){var u=new l.constructor(l.byteLength);return new o(u).set(new o(l)),u}i.exports=c},5196(i,p,t){i=t.nmd(i);var o=t(907),c=p&&!p.nodeType&&p,l=c&&!0&&i&&!i.nodeType&&i,u=l&&l.exports===c,d=u?o.Buffer:void 0,h=d?d.allocUnsafe:void 0;function m(v,w){if(w)return v.slice();var x=v.length,T=h?h(x):new v.constructor(x);return v.copy(T),T}i.exports=m},7795(i,p,t){var o=t(2859);function c(l,u){var d=u?o(l.buffer):l.buffer;return new l.constructor(d,l.byteOffset,l.byteLength)}i.exports=c},6899(i){var p=/\w*$/;function t(o){var c=new o.constructor(o.source,p.exec(o));return c.lastIndex=o.lastIndex,c}i.exports=t},4518(i,p,t){var o=t(7759),c=o?o.prototype:void 0,l=c?c.valueOf:void 0;function u(d){return l?Object(l.call(d)):{}}i.exports=u},5979(i,p,t){var o=t(2859);function c(l,u){var d=u?o(l.buffer):l.buffer;return new l.constructor(d,l.byteOffset,l.length)}i.exports=c},3549(i){function p(t,o){var c=-1,l=t.length;for(o||(o=Array(l));++c<l;)o[c]=t[c];return o}i.exports=p},7145(i,p,t){var o=t(3853),c=t(3706);function l(u,d,h,m){var v=!h;h||(h={});for(var w=-1,x=d.length;++w<x;){var T=d[w],j=m?m(h[T],u[T],T,h,u):void 0;j===void 0&&(j=u[T]),v?c(h,T,j):o(h,T,j)}return h}i.exports=l},6573(i,p,t){var o=t(7145),c=t(1454);function l(u,d){return o(u,c(u),d)}i.exports=l},9934(i,p,t){var o=t(7145),c=t(6649);function l(u,d){return o(u,c(u),d)}i.exports=l},3703(i,p,t){var o=t(907),c=o["__core-js_shared__"];i.exports=c},2917(i,p,t){var o=t(6936),c=t(9542);function l(u){return o(function(d,h){var m=-1,v=h.length,w=v>1?h[v-1]:void 0,x=v>2?h[2]:void 0;for(w=u.length>3&&typeof w=="function"?(v--,w):void 0,x&&c(h[0],h[1],x)&&(w=v<3?void 0:w,v=1),d=Object(d);++m<v;){var T=h[m];T&&u(d,T,m,w)}return d})}i.exports=l},3375(i){function p(t){return function(o,c,l){for(var u=-1,d=Object(o),h=l(o),m=h.length;m--;){var v=h[t?m:++u];if(c(d[v],v,d)===!1)break}return o}}i.exports=p},4665(i,p,t){var o=t(5592),c=function(){try{var l=o(Object,"defineProperty");return l({},"",{}),l}catch{}}();i.exports=c},6710(i){var p=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;i.exports=p},6280(i,p,t){var o=t(1405),c=t(1454),l=t(2096);function u(d){return o(d,l,c)}i.exports=u},6839(i,p,t){var o=t(1405),c=t(6649),l=t(7999);function u(d){return o(d,l,c)}i.exports=u},9257(i,p,t){var o=t(7500);function c(l,u){var d=l.__data__;return o(u)?d[typeof u=="string"?"string":"hash"]:d.map}i.exports=c},5592(i,p,t){var o=t(4401),c=t(2490);function l(u,d){var h=c(u,d);return o(h)?h:void 0}i.exports=l},553(i,p,t){var o=t(7937),c=o(Object.getPrototypeOf,Object);i.exports=c},4817(i,p,t){var o=t(7759),c=Object.prototype,l=c.hasOwnProperty,u=c.toString,d=o?o.toStringTag:void 0;function h(m){var v=l.call(m,d),w=m[d];try{m[d]=void 0;var x=!0}catch{}var T=u.call(m);return x&&(v?m[d]=w:delete m[d]),T}i.exports=h},1454(i,p,t){var o=t(1840),c=t(5615),l=Object.prototype,u=l.propertyIsEnumerable,d=Object.getOwnPropertySymbols,h=d?function(m){return m==null?[]:(m=Object(m),o(d(m),function(v){return u.call(m,v)}))}:c;i.exports=h},6649(i,p,t){var o=t(9130),c=t(553),l=t(1454),u=t(5615),d=Object.getOwnPropertySymbols,h=d?function(m){for(var v=[];m;)o(v,l(m)),m=c(m);return v}:u;i.exports=h},1663(i,p,t){var o=t(8054),c=t(2565),l=t(8246),u=t(4099),d=t(6221),h=t(1490),m=t(8815),v="[object Map]",w="[object Object]",x="[object Promise]",T="[object Set]",j="[object WeakMap]",D="[object DataView]",L=m(o),F=m(c),z=m(l),X=m(u),ce=m(d),R=h;(o&&R(new o(new ArrayBuffer(1)))!=D||c&&R(new c)!=v||l&&R(l.resolve())!=x||u&&R(new u)!=T||d&&R(new d)!=j)&&(R=function(Q){var A=h(Q),le=A==w?Q.constructor:void 0,ne=le?m(le):"";if(ne)switch(ne){case L:return D;case F:return v;case z:return x;case X:return T;case ce:return j}return A}),i.exports=R},2490(i){function p(t,o){return t?.[o]}i.exports=p},5728(i,p,t){var o=t(2155),c=t(1750),l=t(2619),u=t(2159),d=t(5300),h=t(5155);function m(v,w,x){w=o(w,v);for(var T=-1,j=w.length,D=!1;++T<j;){var L=h(w[T]);if(!(D=v!=null&&x(v,L)))break;v=v[L]}return D||++T!=j?D:(j=v==null?0:v.length,!!j&&d(j)&&u(L,j)&&(l(v)||c(v)))}i.exports=m},2130(i,p,t){var o=t(9444);function c(){this.__data__=o?o(null):{},this.size=0}i.exports=c},1924(i){function p(t){var o=this.has(t)&&delete this.__data__[t];return this.size-=o?1:0,o}i.exports=p},4743(i,p,t){var o=t(9444),c="__lodash_hash_undefined__",l=Object.prototype,u=l.hasOwnProperty;function d(h){var m=this.__data__;if(o){var v=m[h];return v===c?void 0:v}return u.call(m,h)?m[h]:void 0}i.exports=d},1755(i,p,t){var o=t(9444),c=Object.prototype,l=c.hasOwnProperty;function u(d){var h=this.__data__;return o?h[d]!==void 0:l.call(h,d)}i.exports=u},5203(i,p,t){var o=t(9444),c="__lodash_hash_undefined__";function l(u,d){var h=this.__data__;return this.size+=this.has(u)?0:1,h[u]=o&&d===void 0?c:d,this}i.exports=l},143(i){var p=Object.prototype,t=p.hasOwnProperty;function o(c){var l=c.length,u=new c.constructor(l);return l&&typeof c[0]=="string"&&t.call(c,"index")&&(u.index=c.index,u.input=c.input),u}i.exports=o},7265(i,p,t){var o=t(2859),c=t(7795),l=t(6899),u=t(4518),d=t(5979),h="[object Boolean]",m="[object Date]",v="[object Map]",w="[object Number]",x="[object RegExp]",T="[object Set]",j="[object String]",D="[object Symbol]",L="[object ArrayBuffer]",F="[object DataView]",z="[object Float32Array]",X="[object Float64Array]",ce="[object Int8Array]",R="[object Int16Array]",Q="[object Int32Array]",A="[object Uint8Array]",le="[object Uint8ClampedArray]",ne="[object Uint16Array]",ue="[object Uint32Array]";function oe(me,pe,B){var ve=me.constructor;switch(pe){case L:return o(me);case h:case m:return new ve(+me);case F:return c(me,B);case z:case X:case ce:case R:case Q:case A:case le:case ne:case ue:return d(me,B);case v:return new ve;case w:case j:return new ve(me);case x:return l(me);case T:return new ve;case D:return u(me)}}i.exports=oe},8879(i,p,t){var o=t(8514),c=t(553),l=t(8861);function u(d){return typeof d.constructor=="function"&&!l(d)?o(c(d)):{}}i.exports=u},2159(i){var p=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function o(c,l){var u=typeof c;return l=l??p,!!l&&(u=="number"||u!="symbol"&&t.test(c))&&c>-1&&c%1==0&&c<l}i.exports=o},9542(i,p,t){var o=t(9506),c=t(644),l=t(2159),u=t(9323);function d(h,m,v){if(!u(v))return!1;var w=typeof m;return(w=="number"?c(v)&&l(m,v.length):w=="string"&&m in v)?o(v[m],h):!1}i.exports=d},5304(i,p,t){var o=t(2619),c=t(7964),l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;function d(h,m){if(o(h))return!1;var v=typeof h;return v=="number"||v=="symbol"||v=="boolean"||h==null||c(h)?!0:u.test(h)||!l.test(h)||m!=null&&h in Object(m)}i.exports=d},7500(i){function p(t){var o=typeof t;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?t!=="__proto__":t===null}i.exports=p},2958(i,p,t){var o=t(3703),c=function(){var u=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return u?"Symbol(src)_1."+u:""}();function l(u){return!!c&&c in u}i.exports=l},8861(i){var p=Object.prototype;function t(o){var c=o&&o.constructor,l=typeof c=="function"&&c.prototype||p;return o===l}i.exports=t},3044(i){function p(){this.__data__=[],this.size=0}i.exports=p},4066(i,p,t){var o=t(7831),c=Array.prototype,l=c.splice;function u(d){var h=this.__data__,m=o(h,d);if(m<0)return!1;var v=h.length-1;return m==v?h.pop():l.call(h,m,1),--this.size,!0}i.exports=u},8461(i,p,t){var o=t(7831);function c(l){var u=this.__data__,d=o(u,l);return d<0?void 0:u[d][1]}i.exports=c},4417(i,p,t){var o=t(7831);function c(l){return o(this.__data__,l)>-1}i.exports=c},2777(i,p,t){var o=t(7831);function c(l,u){var d=this.__data__,h=o(d,l);return h<0?(++this.size,d.push([l,u])):d[h][1]=u,this}i.exports=c},4614(i,p,t){var o=t(3219),c=t(7321),l=t(2565);function u(){this.size=0,this.__data__={hash:new o,map:new(l||c),string:new o}}i.exports=u},9504(i,p,t){var o=t(9257);function c(l){var u=o(this,l).delete(l);return this.size-=u?1:0,u}i.exports=c},9251(i,p,t){var o=t(9257);function c(l){return o(this,l).get(l)}i.exports=c},5791(i,p,t){var o=t(9257);function c(l){return o(this,l).has(l)}i.exports=c},1511(i,p,t){var o=t(9257);function c(l,u){var d=o(this,l),h=d.size;return d.set(l,u),this.size+=d.size==h?0:1,this}i.exports=c},3426(i,p,t){var o=t(8590),c=500;function l(u){var d=o(u,function(m){return h.size===c&&h.clear(),m}),h=d.cache;return d}i.exports=l},9444(i,p,t){var o=t(5592),c=o(Object,"create");i.exports=c},9692(i,p,t){var o=t(7937),c=o(Object.keys,Object);i.exports=c},1779(i){function p(t){var o=[];if(t!=null)for(var c in Object(t))o.push(c);return o}i.exports=p},1587(i,p,t){i=t.nmd(i);var o=t(6710),c=p&&!p.nodeType&&p,l=c&&!0&&i&&!i.nodeType&&i,u=l&&l.exports===c,d=u&&o.process,h=function(){try{var m=l&&l.require&&l.require("util").types;return m||d&&d.binding&&d.binding("util")}catch{}}();i.exports=h},7748(i){var p=Object.prototype,t=p.toString;function o(c){return t.call(c)}i.exports=o},7937(i){function p(t,o){return function(c){return t(o(c))}}i.exports=p},8619(i,p,t){var o=t(6047),c=Math.max;function l(u,d,h){return d=c(d===void 0?u.length-1:d,0),function(){for(var m=arguments,v=-1,w=c(m.length-d,0),x=Array(w);++v<w;)x[v]=m[d+v];v=-1;for(var T=Array(d+1);++v<d;)T[v]=m[v];return T[d]=h(x),o(u,this,T)}}i.exports=l},907(i,p,t){var o=t(6710),c=typeof self=="object"&&self&&self.Object===Object&&self,l=o||c||Function("return this")();i.exports=l},5760(i){function p(t,o){if(!(o==="constructor"&&typeof t[o]=="function")&&o!="__proto__")return t[o]}i.exports=p},9599(i,p,t){var o=t(7680),c=t(6101),l=c(o);i.exports=l},6101(i){var p=800,t=16,o=Date.now;function c(l){var u=0,d=0;return function(){var h=o(),m=t-(h-d);if(d=h,m>0){if(++u>=p)return arguments[0]}else u=0;return l.apply(void 0,arguments)}}i.exports=c},1306(i,p,t){var o=t(7321);function c(){this.__data__=new o,this.size=0}i.exports=c},3180(i){function p(t){var o=this.__data__,c=o.delete(t);return this.size=o.size,c}i.exports=p},5247(i){function p(t){return this.__data__.get(t)}i.exports=p},2835(i){function p(t){return this.__data__.has(t)}i.exports=p},9179(i,p,t){var o=t(7321),c=t(2565),l=t(111),u=200;function d(h,m){var v=this.__data__;if(v instanceof o){var w=v.__data__;if(!c||w.length<u-1)return w.push([h,m]),this.size=++v.size,this;v=this.__data__=new l(w)}return v.set(h,m),this.size=v.size,this}i.exports=d},4352(i,p,t){var o=t(3426),c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g,u=o(function(d){var h=[];return d.charCodeAt(0)===46&&h.push(""),d.replace(c,function(m,v,w,x){h.push(w?x.replace(l,"$1"):v||m)}),h});i.exports=u},5155(i,p,t){var o=t(7964),c=1/0;function l(u){if(typeof u=="string"||o(u))return u;var d=u+"";return d=="0"&&1/u==-c?"-0":d}i.exports=l},8815(i){var p=Function.prototype,t=p.toString;function o(c){if(c!=null){try{return t.call(c)}catch{}try{return c+""}catch{}}return""}i.exports=o},5082(i){var p=/\s/;function t(o){for(var c=o.length;c--&&p.test(o.charAt(c)););return c}i.exports=t},8313(i,p,t){var o=t(6057),c=1,l=4;function u(d){return o(d,c|l)}i.exports=u},6148(i){function p(t){return function(){return t}}i.exports=p},671(i,p,t){var o=t(9323),c=t(5062),l=t(9480),u="Expected a function",d=Math.max,h=Math.min;function m(v,w,x){var T,j,D,L,F,z,X=0,ce=!1,R=!1,Q=!0;if(typeof v!="function")throw new TypeError(u);w=l(w)||0,o(x)&&(ce=!!x.leading,R="maxWait"in x,D=R?d(l(x.maxWait)||0,w):D,Q="trailing"in x?!!x.trailing:Q);function A(_){var Ae=T,Ge=j;return T=j=void 0,X=_,L=v.apply(Ge,Ae),L}function le(_){return X=_,F=setTimeout(oe,w),ce?A(_):L}function ne(_){var Ae=_-z,Ge=_-X,et=w-Ae;return R?h(et,D-Ge):et}function ue(_){var Ae=_-z,Ge=_-X;return z===void 0||Ae>=w||Ae<0||R&&Ge>=D}function oe(){var _=c();if(ue(_))return me(_);F=setTimeout(oe,ne(_))}function me(_){return F=void 0,Q&&T?A(_):(T=j=void 0,L)}function pe(){F!==void 0&&clearTimeout(F),X=0,T=z=j=F=void 0}function B(){return F===void 0?L:me(c())}function ve(){var _=c(),Ae=ue(_);if(T=arguments,j=this,z=_,Ae){if(F===void 0)return le(z);if(R)return clearTimeout(F),F=setTimeout(oe,w),A(z)}return F===void 0&&(F=setTimeout(oe,w)),L}return ve.cancel=pe,ve.flush=B,ve}i.exports=m},9506(i){function p(t,o){return t===o||t!==t&&o!==o}i.exports=p},2438(i,p,t){var o=t(3208);function c(l,u,d){var h=l==null?void 0:o(l,u);return h===void 0?d:h}i.exports=c},2146(i,p,t){var o=t(2780),c=t(5728);function l(u,d){return u!=null&&c(u,d,o)}i.exports=l},4846(i){function p(t){return t}i.exports=p},1750(i,p,t){var o=t(2960),c=t(2292),l=Object.prototype,u=l.hasOwnProperty,d=l.propertyIsEnumerable,h=o(function(){return arguments}())?o:function(m){return c(m)&&u.call(m,"callee")&&!d.call(m,"callee")};i.exports=h},2619(i){var p=Array.isArray;i.exports=p},644(i,p,t){var o=t(860),c=t(5300);function l(u){return u!=null&&c(u.length)&&!o(u)}i.exports=l},1891(i,p,t){var o=t(644),c=t(2292);function l(u){return c(u)&&o(u)}i.exports=l},3446(i,p,t){i=t.nmd(i);var o=t(907),c=t(9349),l=p&&!p.nodeType&&p,u=l&&!0&&i&&!i.nodeType&&i,d=u&&u.exports===l,h=d?o.Buffer:void 0,m=h?h.isBuffer:void 0,v=m||c;i.exports=v},860(i,p,t){var o=t(1490),c=t(9323),l="[object AsyncFunction]",u="[object Function]",d="[object GeneratorFunction]",h="[object Proxy]";function m(v){if(!c(v))return!1;var w=o(v);return w==u||w==d||w==l||w==h}i.exports=m},5300(i){var p=9007199254740991;function t(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=p}i.exports=t},7884(i,p,t){var o=t(9694),c=t(1155),l=t(1587),u=l&&l.isMap,d=u?c(u):o;i.exports=d},9323(i){function p(t){var o=typeof t;return t!=null&&(o=="object"||o=="function")}i.exports=p},2292(i){function p(t){return t!=null&&typeof t=="object"}i.exports=p},1281(i,p,t){var o=t(1490),c=t(553),l=t(2292),u="[object Object]",d=Function.prototype,h=Object.prototype,m=d.toString,v=h.hasOwnProperty,w=m.call(Object);function x(T){if(!l(T)||o(T)!=u)return!1;var j=c(T);if(j===null)return!0;var D=v.call(j,"constructor")&&j.constructor;return typeof D=="function"&&D instanceof D&&m.call(D)==w}i.exports=x},5070(i,p,t){var o=t(8172),c=t(1155),l=t(1587),u=l&&l.isSet,d=u?c(u):o;i.exports=d},7964(i,p,t){var o=t(1490),c=t(2292),l="[object Symbol]";function u(d){return typeof d=="symbol"||c(d)&&o(d)==l}i.exports=u},3133(i,p,t){var o=t(5283),c=t(1155),l=t(1587),u=l&&l.isTypedArray,d=u?c(u):o;i.exports=d},2096(i,p,t){var o=t(3737),c=t(2322),l=t(644);function u(d){return l(d)?o(d):c(d)}i.exports=u},7999(i,p,t){var o=t(3737),c=t(5045),l=t(644);function u(d){return l(d)?o(d,!0):c(d)}i.exports=u},8590(i,p,t){var o=t(111),c="Expected a function";function l(u,d){if(typeof u!="function"||d!=null&&typeof d!="function")throw new TypeError(c);var h=function(){var m=arguments,v=d?d.apply(this,m):m[0],w=h.cache;if(w.has(v))return w.get(v);var x=u.apply(this,m);return h.cache=w.set(v,x)||w,x};return h.cache=new(l.Cache||o),h}l.Cache=o,i.exports=l},8970(i,p,t){var o=t(3912),c=t(2917),l=c(function(u,d,h){o(u,d,h)});i.exports=l},5062(i,p,t){var o=t(907),c=function(){return o.Date.now()};i.exports=c},2154(i,p,t){var o=t(604);function c(l,u,d){return l==null?l:o(l,u,d)}i.exports=c},5615(i){function p(){return[]}i.exports=p},9349(i){function p(){return!1}i.exports=p},6712(i,p,t){var o=t(671),c=t(9323),l="Expected a function";function u(d,h,m){var v=!0,w=!0;if(typeof d!="function")throw new TypeError(l);return c(m)&&(v="leading"in m?!!m.leading:v,w="trailing"in m?!!m.trailing:w),o(d,h,{leading:v,maxWait:h,trailing:w})}i.exports=u},9480(i,p,t){var o=t(6),c=t(9323),l=t(7964),u=NaN,d=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,m=/^0o[0-7]+$/i,v=parseInt;function w(x){if(typeof x=="number")return x;if(l(x))return u;if(c(x)){var T=typeof x.valueOf=="function"?x.valueOf():x;x=c(T)?T+"":T}if(typeof x!="string")return x===0?x:+x;x=o(x);var j=h.test(x);return j||m.test(x)?v(x.slice(2),j?2:8):d.test(x)?u:+x}i.exports=w},4514(i,p,t){var o=t(7145),c=t(7999);function l(u){return o(u,c(u))}i.exports=l},7164(i,p,t){var o=t(1978);function c(l){return l==null?"":o(l)}i.exports=c},5360(i,p){"use strict";/** @license React v16.13.1
1
+ (function(wt,qe){typeof exports=="object"&&typeof module=="object"?module.exports=qe(require("React")):typeof define=="function"&&define.amd?define(["React"],qe):typeof exports=="object"?exports.ice=qe(require("React")):wt.ice=qe(wt.React)})(globalThis,fr=>(()=>{var wt={4674(i,p,t){"use strict";var o=t(7020),c={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},u={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},d={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},g={};g[o.ForwardRef]=u,g[o.Memo]=d;function m(F){return o.isMemo(F)?d:g[F.$$typeof]||c}var v=Object.defineProperty,w=Object.getOwnPropertyNames,x=Object.getOwnPropertySymbols,T=Object.getOwnPropertyDescriptor,I=Object.getPrototypeOf,D=Object.prototype;function L(F,z,X){if(typeof z!="string"){if(D){var ce=I(z);ce&&ce!==D&&L(F,ce,X)}var R=w(z);x&&(R=R.concat(x(z)));for(var Q=m(F),S=m(z),le=0;le<R.length;++le){var ne=R[le];if(!l[ne]&&!(X&&X[ne])&&!(S&&S[ne])&&!(Q&&Q[ne])){var ue=T(z,ne);try{v(F,ne,ue)}catch{}}}}return F}i.exports=L},8054(i,p,t){var o=t(5592),c=t(907),l=o(c,"DataView");i.exports=l},3219(i,p,t){var o=t(2130),c=t(1924),l=t(4743),u=t(1755),d=t(5203);function g(m){var v=-1,w=m==null?0:m.length;for(this.clear();++v<w;){var x=m[v];this.set(x[0],x[1])}}g.prototype.clear=o,g.prototype.delete=c,g.prototype.get=l,g.prototype.has=u,g.prototype.set=d,i.exports=g},7321(i,p,t){var o=t(3044),c=t(4066),l=t(8461),u=t(4417),d=t(2777);function g(m){var v=-1,w=m==null?0:m.length;for(this.clear();++v<w;){var x=m[v];this.set(x[0],x[1])}}g.prototype.clear=o,g.prototype.delete=c,g.prototype.get=l,g.prototype.has=u,g.prototype.set=d,i.exports=g},2565(i,p,t){var o=t(5592),c=t(907),l=o(c,"Map");i.exports=l},111(i,p,t){var o=t(4614),c=t(9504),l=t(9251),u=t(5791),d=t(1511);function g(m){var v=-1,w=m==null?0:m.length;for(this.clear();++v<w;){var x=m[v];this.set(x[0],x[1])}}g.prototype.clear=o,g.prototype.delete=c,g.prototype.get=l,g.prototype.has=u,g.prototype.set=d,i.exports=g},8246(i,p,t){var o=t(5592),c=t(907),l=o(c,"Promise");i.exports=l},4099(i,p,t){var o=t(5592),c=t(907),l=o(c,"Set");i.exports=l},5963(i,p,t){var o=t(7321),c=t(1306),l=t(3180),u=t(5247),d=t(2835),g=t(9179);function m(v){var w=this.__data__=new o(v);this.size=w.size}m.prototype.clear=c,m.prototype.delete=l,m.prototype.get=u,m.prototype.has=d,m.prototype.set=g,i.exports=m},7759(i,p,t){var o=t(907),c=o.Symbol;i.exports=c},9386(i,p,t){var o=t(907),c=o.Uint8Array;i.exports=c},6221(i,p,t){var o=t(5592),c=t(907),l=o(c,"WeakMap");i.exports=l},6047(i){function p(t,o,c){switch(c.length){case 0:return t.call(o);case 1:return t.call(o,c[0]);case 2:return t.call(o,c[0],c[1]);case 3:return t.call(o,c[0],c[1],c[2])}return t.apply(o,c)}i.exports=p},6259(i){function p(t,o){for(var c=-1,l=t==null?0:t.length;++c<l&&o(t[c],c,t)!==!1;);return t}i.exports=p},1840(i){function p(t,o){for(var c=-1,l=t==null?0:t.length,u=0,d=[];++c<l;){var g=t[c];o(g,c,t)&&(d[u++]=g)}return d}i.exports=p},3737(i,p,t){var o=t(5562),c=t(1750),l=t(2619),u=t(3446),d=t(2159),g=t(3133),m=Object.prototype,v=m.hasOwnProperty;function w(x,T){var I=l(x),D=!I&&c(x),L=!I&&!D&&u(x),F=!I&&!D&&!L&&g(x),z=I||D||L||F,X=z?o(x.length,String):[],ce=X.length;for(var R in x)(T||v.call(x,R))&&!(z&&(R=="length"||L&&(R=="offset"||R=="parent")||F&&(R=="buffer"||R=="byteLength"||R=="byteOffset")||d(R,ce)))&&X.push(R);return X}i.exports=w},5862(i){function p(t,o){for(var c=-1,l=t==null?0:t.length,u=Array(l);++c<l;)u[c]=o(t[c],c,t);return u}i.exports=p},9130(i){function p(t,o){for(var c=-1,l=o.length,u=t.length;++c<l;)t[u+c]=o[c];return t}i.exports=p},8971(i,p,t){var o=t(3706),c=t(9506);function l(u,d,g){(g!==void 0&&!c(u[d],g)||g===void 0&&!(d in u))&&o(u,d,g)}i.exports=l},3853(i,p,t){var o=t(3706),c=t(9506),l=Object.prototype,u=l.hasOwnProperty;function d(g,m,v){var w=g[m];(!(u.call(g,m)&&c(w,v))||v===void 0&&!(m in g))&&o(g,m,v)}i.exports=d},7831(i,p,t){var o=t(9506);function c(l,u){for(var d=l.length;d--;)if(o(l[d][0],u))return d;return-1}i.exports=c},2183(i,p,t){var o=t(7145),c=t(2096);function l(u,d){return u&&o(d,c(d),u)}i.exports=l},4076(i,p,t){var o=t(7145),c=t(7999);function l(u,d){return u&&o(d,c(d),u)}i.exports=l},3706(i,p,t){var o=t(4665);function c(l,u,d){u=="__proto__"&&o?o(l,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):l[u]=d}i.exports=c},6057(i,p,t){var o=t(5963),c=t(6259),l=t(3853),u=t(2183),d=t(4076),g=t(5196),m=t(3549),v=t(6573),w=t(9934),x=t(6280),T=t(6839),I=t(1663),D=t(143),L=t(7265),F=t(8879),z=t(2619),X=t(3446),ce=t(7884),R=t(9323),Q=t(5070),S=t(2096),le=t(7999),ne=1,ue=2,oe=4,me="[object Arguments]",pe="[object Array]",B="[object Boolean]",ve="[object Date]",_="[object Error]",Ae="[object Function]",Ge="[object GeneratorFunction]",et="[object Map]",it="[object Number]",xt="[object Object]",Bt="[object RegExp]",Vt="[object Set]",ye="[object String]",St="[object Symbol]",hr="[object WeakMap]",gr="[object ArrayBuffer]",Gt="[object DataView]",At="[object Float32Array]",tt="[object Float64Array]",Et="[object Int8Array]",mr="[object Int16Array]",vr="[object Int32Array]",Ht="[object Uint8Array]",Wt="[object Uint8ClampedArray]",Ot="[object Uint16Array]",Kt="[object Uint32Array]",se={};se[me]=se[pe]=se[gr]=se[Gt]=se[B]=se[ve]=se[At]=se[tt]=se[Et]=se[mr]=se[vr]=se[et]=se[it]=se[xt]=se[Bt]=se[Vt]=se[ye]=se[St]=se[Ht]=se[Wt]=se[Ot]=se[Kt]=!0,se[_]=se[Ae]=se[hr]=!1;function He(q,We,Ke,Ct,pt,Ee){var Oe,rt=We&ne,Te=We&ue,Ue=We&oe;if(Ke&&(Oe=pt?Ke(q,Ct,pt,Ee):Ke(q)),Oe!==void 0)return Oe;if(!R(q))return q;var Tt=z(q);if(Tt){if(Oe=D(q),!rt)return m(q,Oe)}else{var Ye=I(q),Pt=Ye==Ae||Ye==Ge;if(X(q))return g(q,rt);if(Ye==xt||Ye==me||Pt&&!pt){if(Oe=Te||Pt?{}:F(q),!rt)return Te?w(q,d(Oe,q)):v(q,u(Oe,q))}else{if(!se[Ye])return pt?q:{};Oe=L(q,Ye,rt)}}Ee||(Ee=new o);var It=Ee.get(q);if(It)return It;Ee.set(q,Oe),Q(q)?q.forEach(function(ke){Oe.add(He(ke,We,Ke,ke,q,Ee))}):ce(q)&&q.forEach(function(ke,Ve){Oe.set(Ve,He(ke,We,Ke,Ve,q,Ee))});var Yt=Ue?Te?T:x:Te?le:S,jt=Tt?void 0:Yt(q);return c(jt||q,function(ke,Ve){jt&&(Ve=ke,ke=q[Ve]),l(Oe,Ve,He(ke,We,Ke,Ve,q,Ee))}),Oe}i.exports=He},8514(i,p,t){var o=t(9323),c=Object.create,l=function(){function u(){}return function(d){if(!o(d))return{};if(c)return c(d);u.prototype=d;var g=new u;return u.prototype=void 0,g}}();i.exports=l},5795(i,p,t){var o=t(3375),c=o();i.exports=c},3208(i,p,t){var o=t(2155),c=t(5155);function l(u,d){d=o(d,u);for(var g=0,m=d.length;u!=null&&g<m;)u=u[c(d[g++])];return g&&g==m?u:void 0}i.exports=l},1405(i,p,t){var o=t(9130),c=t(2619);function l(u,d,g){var m=d(u);return c(u)?m:o(m,g(u))}i.exports=l},1490(i,p,t){var o=t(7759),c=t(4817),l=t(7748),u="[object Null]",d="[object Undefined]",g=o?o.toStringTag:void 0;function m(v){return v==null?v===void 0?d:u:g&&g in Object(v)?c(v):l(v)}i.exports=m},2780(i){var p=Object.prototype,t=p.hasOwnProperty;function o(c,l){return c!=null&&t.call(c,l)}i.exports=o},2960(i,p,t){var o=t(1490),c=t(2292),l="[object Arguments]";function u(d){return c(d)&&o(d)==l}i.exports=u},9694(i,p,t){var o=t(1663),c=t(2292),l="[object Map]";function u(d){return c(d)&&o(d)==l}i.exports=u},4401(i,p,t){var o=t(860),c=t(2958),l=t(9323),u=t(8815),d=/[\\^$.*+?()[\]{}|]/g,g=/^\[object .+?Constructor\]$/,m=Function.prototype,v=Object.prototype,w=m.toString,x=v.hasOwnProperty,T=RegExp("^"+w.call(x).replace(d,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function I(D){if(!l(D)||c(D))return!1;var L=o(D)?T:g;return L.test(u(D))}i.exports=I},8172(i,p,t){var o=t(1663),c=t(2292),l="[object Set]";function u(d){return c(d)&&o(d)==l}i.exports=u},5283(i,p,t){var o=t(1490),c=t(5300),l=t(2292),u="[object Arguments]",d="[object Array]",g="[object Boolean]",m="[object Date]",v="[object Error]",w="[object Function]",x="[object Map]",T="[object Number]",I="[object Object]",D="[object RegExp]",L="[object Set]",F="[object String]",z="[object WeakMap]",X="[object ArrayBuffer]",ce="[object DataView]",R="[object Float32Array]",Q="[object Float64Array]",S="[object Int8Array]",le="[object Int16Array]",ne="[object Int32Array]",ue="[object Uint8Array]",oe="[object Uint8ClampedArray]",me="[object Uint16Array]",pe="[object Uint32Array]",B={};B[R]=B[Q]=B[S]=B[le]=B[ne]=B[ue]=B[oe]=B[me]=B[pe]=!0,B[u]=B[d]=B[X]=B[g]=B[ce]=B[m]=B[v]=B[w]=B[x]=B[T]=B[I]=B[D]=B[L]=B[F]=B[z]=!1;function ve(_){return l(_)&&c(_.length)&&!!B[o(_)]}i.exports=ve},2322(i,p,t){var o=t(8861),c=t(9692),l=Object.prototype,u=l.hasOwnProperty;function d(g){if(!o(g))return c(g);var m=[];for(var v in Object(g))u.call(g,v)&&v!="constructor"&&m.push(v);return m}i.exports=d},5045(i,p,t){var o=t(9323),c=t(8861),l=t(1779),u=Object.prototype,d=u.hasOwnProperty;function g(m){if(!o(m))return l(m);var v=c(m),w=[];for(var x in m)x=="constructor"&&(v||!d.call(m,x))||w.push(x);return w}i.exports=g},3912(i,p,t){var o=t(5963),c=t(8971),l=t(5795),u=t(8342),d=t(9323),g=t(7999),m=t(5760);function v(w,x,T,I,D){w!==x&&l(x,function(L,F){if(D||(D=new o),d(L))u(w,x,F,T,v,I,D);else{var z=I?I(m(w,F),L,F+"",w,x,D):void 0;z===void 0&&(z=L),c(w,F,z)}},g)}i.exports=v},8342(i,p,t){var o=t(8971),c=t(5196),l=t(5979),u=t(3549),d=t(8879),g=t(1750),m=t(2619),v=t(1891),w=t(3446),x=t(860),T=t(9323),I=t(1281),D=t(3133),L=t(5760),F=t(4514);function z(X,ce,R,Q,S,le,ne){var ue=L(X,R),oe=L(ce,R),me=ne.get(oe);if(me){o(X,R,me);return}var pe=le?le(ue,oe,R+"",X,ce,ne):void 0,B=pe===void 0;if(B){var ve=m(oe),_=!ve&&w(oe),Ae=!ve&&!_&&D(oe);pe=oe,ve||_||Ae?m(ue)?pe=ue:v(ue)?pe=u(ue):_?(B=!1,pe=c(oe,!0)):Ae?(B=!1,pe=l(oe,!0)):pe=[]:I(oe)||g(oe)?(pe=ue,g(ue)?pe=F(ue):(!T(ue)||x(ue))&&(pe=d(oe))):B=!1}B&&(ne.set(oe,pe),S(pe,oe,Q,le,ne),ne.delete(oe)),o(X,R,pe)}i.exports=z},6936(i,p,t){var o=t(4846),c=t(8619),l=t(9599);function u(d,g){return l(c(d,g,o),d+"")}i.exports=u},604(i,p,t){var o=t(3853),c=t(2155),l=t(2159),u=t(9323),d=t(5155);function g(m,v,w,x){if(!u(m))return m;v=c(v,m);for(var T=-1,I=v.length,D=I-1,L=m;L!=null&&++T<I;){var F=d(v[T]),z=w;if(F==="__proto__"||F==="constructor"||F==="prototype")return m;if(T!=D){var X=L[F];z=x?x(X,F,L):void 0,z===void 0&&(z=u(X)?X:l(v[T+1])?[]:{})}o(L,F,z),L=L[F]}return m}i.exports=g},7680(i,p,t){var o=t(6148),c=t(4665),l=t(4846),u=c?function(d,g){return c(d,"toString",{configurable:!0,enumerable:!1,value:o(g),writable:!0})}:l;i.exports=u},5562(i){function p(t,o){for(var c=-1,l=Array(t);++c<t;)l[c]=o(c);return l}i.exports=p},1978(i,p,t){var o=t(7759),c=t(5862),l=t(2619),u=t(7964),d=1/0,g=o?o.prototype:void 0,m=g?g.toString:void 0;function v(w){if(typeof w=="string")return w;if(l(w))return c(w,v)+"";if(u(w))return m?m.call(w):"";var x=w+"";return x=="0"&&1/w==-d?"-0":x}i.exports=v},6(i,p,t){var o=t(5082),c=/^\s+/;function l(u){return u&&u.slice(0,o(u)+1).replace(c,"")}i.exports=l},1155(i){function p(t){return function(o){return t(o)}}i.exports=p},2155(i,p,t){var o=t(2619),c=t(5304),l=t(4352),u=t(7164);function d(g,m){return o(g)?g:c(g,m)?[g]:l(u(g))}i.exports=d},2859(i,p,t){var o=t(9386);function c(l){var u=new l.constructor(l.byteLength);return new o(u).set(new o(l)),u}i.exports=c},5196(i,p,t){i=t.nmd(i);var o=t(907),c=p&&!p.nodeType&&p,l=c&&!0&&i&&!i.nodeType&&i,u=l&&l.exports===c,d=u?o.Buffer:void 0,g=d?d.allocUnsafe:void 0;function m(v,w){if(w)return v.slice();var x=v.length,T=g?g(x):new v.constructor(x);return v.copy(T),T}i.exports=m},7795(i,p,t){var o=t(2859);function c(l,u){var d=u?o(l.buffer):l.buffer;return new l.constructor(d,l.byteOffset,l.byteLength)}i.exports=c},6899(i){var p=/\w*$/;function t(o){var c=new o.constructor(o.source,p.exec(o));return c.lastIndex=o.lastIndex,c}i.exports=t},4518(i,p,t){var o=t(7759),c=o?o.prototype:void 0,l=c?c.valueOf:void 0;function u(d){return l?Object(l.call(d)):{}}i.exports=u},5979(i,p,t){var o=t(2859);function c(l,u){var d=u?o(l.buffer):l.buffer;return new l.constructor(d,l.byteOffset,l.length)}i.exports=c},3549(i){function p(t,o){var c=-1,l=t.length;for(o||(o=Array(l));++c<l;)o[c]=t[c];return o}i.exports=p},7145(i,p,t){var o=t(3853),c=t(3706);function l(u,d,g,m){var v=!g;g||(g={});for(var w=-1,x=d.length;++w<x;){var T=d[w],I=m?m(g[T],u[T],T,g,u):void 0;I===void 0&&(I=u[T]),v?c(g,T,I):o(g,T,I)}return g}i.exports=l},6573(i,p,t){var o=t(7145),c=t(1454);function l(u,d){return o(u,c(u),d)}i.exports=l},9934(i,p,t){var o=t(7145),c=t(6649);function l(u,d){return o(u,c(u),d)}i.exports=l},3703(i,p,t){var o=t(907),c=o["__core-js_shared__"];i.exports=c},2917(i,p,t){var o=t(6936),c=t(9542);function l(u){return o(function(d,g){var m=-1,v=g.length,w=v>1?g[v-1]:void 0,x=v>2?g[2]:void 0;for(w=u.length>3&&typeof w=="function"?(v--,w):void 0,x&&c(g[0],g[1],x)&&(w=v<3?void 0:w,v=1),d=Object(d);++m<v;){var T=g[m];T&&u(d,T,m,w)}return d})}i.exports=l},3375(i){function p(t){return function(o,c,l){for(var u=-1,d=Object(o),g=l(o),m=g.length;m--;){var v=g[t?m:++u];if(c(d[v],v,d)===!1)break}return o}}i.exports=p},4665(i,p,t){var o=t(5592),c=function(){try{var l=o(Object,"defineProperty");return l({},"",{}),l}catch{}}();i.exports=c},6710(i){var p=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;i.exports=p},6280(i,p,t){var o=t(1405),c=t(1454),l=t(2096);function u(d){return o(d,l,c)}i.exports=u},6839(i,p,t){var o=t(1405),c=t(6649),l=t(7999);function u(d){return o(d,l,c)}i.exports=u},9257(i,p,t){var o=t(7500);function c(l,u){var d=l.__data__;return o(u)?d[typeof u=="string"?"string":"hash"]:d.map}i.exports=c},5592(i,p,t){var o=t(4401),c=t(2490);function l(u,d){var g=c(u,d);return o(g)?g:void 0}i.exports=l},553(i,p,t){var o=t(7937),c=o(Object.getPrototypeOf,Object);i.exports=c},4817(i,p,t){var o=t(7759),c=Object.prototype,l=c.hasOwnProperty,u=c.toString,d=o?o.toStringTag:void 0;function g(m){var v=l.call(m,d),w=m[d];try{m[d]=void 0;var x=!0}catch{}var T=u.call(m);return x&&(v?m[d]=w:delete m[d]),T}i.exports=g},1454(i,p,t){var o=t(1840),c=t(5615),l=Object.prototype,u=l.propertyIsEnumerable,d=Object.getOwnPropertySymbols,g=d?function(m){return m==null?[]:(m=Object(m),o(d(m),function(v){return u.call(m,v)}))}:c;i.exports=g},6649(i,p,t){var o=t(9130),c=t(553),l=t(1454),u=t(5615),d=Object.getOwnPropertySymbols,g=d?function(m){for(var v=[];m;)o(v,l(m)),m=c(m);return v}:u;i.exports=g},1663(i,p,t){var o=t(8054),c=t(2565),l=t(8246),u=t(4099),d=t(6221),g=t(1490),m=t(8815),v="[object Map]",w="[object Object]",x="[object Promise]",T="[object Set]",I="[object WeakMap]",D="[object DataView]",L=m(o),F=m(c),z=m(l),X=m(u),ce=m(d),R=g;(o&&R(new o(new ArrayBuffer(1)))!=D||c&&R(new c)!=v||l&&R(l.resolve())!=x||u&&R(new u)!=T||d&&R(new d)!=I)&&(R=function(Q){var S=g(Q),le=S==w?Q.constructor:void 0,ne=le?m(le):"";if(ne)switch(ne){case L:return D;case F:return v;case z:return x;case X:return T;case ce:return I}return S}),i.exports=R},2490(i){function p(t,o){return t?.[o]}i.exports=p},5728(i,p,t){var o=t(2155),c=t(1750),l=t(2619),u=t(2159),d=t(5300),g=t(5155);function m(v,w,x){w=o(w,v);for(var T=-1,I=w.length,D=!1;++T<I;){var L=g(w[T]);if(!(D=v!=null&&x(v,L)))break;v=v[L]}return D||++T!=I?D:(I=v==null?0:v.length,!!I&&d(I)&&u(L,I)&&(l(v)||c(v)))}i.exports=m},2130(i,p,t){var o=t(9444);function c(){this.__data__=o?o(null):{},this.size=0}i.exports=c},1924(i){function p(t){var o=this.has(t)&&delete this.__data__[t];return this.size-=o?1:0,o}i.exports=p},4743(i,p,t){var o=t(9444),c="__lodash_hash_undefined__",l=Object.prototype,u=l.hasOwnProperty;function d(g){var m=this.__data__;if(o){var v=m[g];return v===c?void 0:v}return u.call(m,g)?m[g]:void 0}i.exports=d},1755(i,p,t){var o=t(9444),c=Object.prototype,l=c.hasOwnProperty;function u(d){var g=this.__data__;return o?g[d]!==void 0:l.call(g,d)}i.exports=u},5203(i,p,t){var o=t(9444),c="__lodash_hash_undefined__";function l(u,d){var g=this.__data__;return this.size+=this.has(u)?0:1,g[u]=o&&d===void 0?c:d,this}i.exports=l},143(i){var p=Object.prototype,t=p.hasOwnProperty;function o(c){var l=c.length,u=new c.constructor(l);return l&&typeof c[0]=="string"&&t.call(c,"index")&&(u.index=c.index,u.input=c.input),u}i.exports=o},7265(i,p,t){var o=t(2859),c=t(7795),l=t(6899),u=t(4518),d=t(5979),g="[object Boolean]",m="[object Date]",v="[object Map]",w="[object Number]",x="[object RegExp]",T="[object Set]",I="[object String]",D="[object Symbol]",L="[object ArrayBuffer]",F="[object DataView]",z="[object Float32Array]",X="[object Float64Array]",ce="[object Int8Array]",R="[object Int16Array]",Q="[object Int32Array]",S="[object Uint8Array]",le="[object Uint8ClampedArray]",ne="[object Uint16Array]",ue="[object Uint32Array]";function oe(me,pe,B){var ve=me.constructor;switch(pe){case L:return o(me);case g:case m:return new ve(+me);case F:return c(me,B);case z:case X:case ce:case R:case Q:case S:case le:case ne:case ue:return d(me,B);case v:return new ve;case w:case I:return new ve(me);case x:return l(me);case T:return new ve;case D:return u(me)}}i.exports=oe},8879(i,p,t){var o=t(8514),c=t(553),l=t(8861);function u(d){return typeof d.constructor=="function"&&!l(d)?o(c(d)):{}}i.exports=u},2159(i){var p=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function o(c,l){var u=typeof c;return l=l??p,!!l&&(u=="number"||u!="symbol"&&t.test(c))&&c>-1&&c%1==0&&c<l}i.exports=o},9542(i,p,t){var o=t(9506),c=t(644),l=t(2159),u=t(9323);function d(g,m,v){if(!u(v))return!1;var w=typeof m;return(w=="number"?c(v)&&l(m,v.length):w=="string"&&m in v)?o(v[m],g):!1}i.exports=d},5304(i,p,t){var o=t(2619),c=t(7964),l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;function d(g,m){if(o(g))return!1;var v=typeof g;return v=="number"||v=="symbol"||v=="boolean"||g==null||c(g)?!0:u.test(g)||!l.test(g)||m!=null&&g in Object(m)}i.exports=d},7500(i){function p(t){var o=typeof t;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?t!=="__proto__":t===null}i.exports=p},2958(i,p,t){var o=t(3703),c=function(){var u=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return u?"Symbol(src)_1."+u:""}();function l(u){return!!c&&c in u}i.exports=l},8861(i){var p=Object.prototype;function t(o){var c=o&&o.constructor,l=typeof c=="function"&&c.prototype||p;return o===l}i.exports=t},3044(i){function p(){this.__data__=[],this.size=0}i.exports=p},4066(i,p,t){var o=t(7831),c=Array.prototype,l=c.splice;function u(d){var g=this.__data__,m=o(g,d);if(m<0)return!1;var v=g.length-1;return m==v?g.pop():l.call(g,m,1),--this.size,!0}i.exports=u},8461(i,p,t){var o=t(7831);function c(l){var u=this.__data__,d=o(u,l);return d<0?void 0:u[d][1]}i.exports=c},4417(i,p,t){var o=t(7831);function c(l){return o(this.__data__,l)>-1}i.exports=c},2777(i,p,t){var o=t(7831);function c(l,u){var d=this.__data__,g=o(d,l);return g<0?(++this.size,d.push([l,u])):d[g][1]=u,this}i.exports=c},4614(i,p,t){var o=t(3219),c=t(7321),l=t(2565);function u(){this.size=0,this.__data__={hash:new o,map:new(l||c),string:new o}}i.exports=u},9504(i,p,t){var o=t(9257);function c(l){var u=o(this,l).delete(l);return this.size-=u?1:0,u}i.exports=c},9251(i,p,t){var o=t(9257);function c(l){return o(this,l).get(l)}i.exports=c},5791(i,p,t){var o=t(9257);function c(l){return o(this,l).has(l)}i.exports=c},1511(i,p,t){var o=t(9257);function c(l,u){var d=o(this,l),g=d.size;return d.set(l,u),this.size+=d.size==g?0:1,this}i.exports=c},3426(i,p,t){var o=t(8590),c=500;function l(u){var d=o(u,function(m){return g.size===c&&g.clear(),m}),g=d.cache;return d}i.exports=l},9444(i,p,t){var o=t(5592),c=o(Object,"create");i.exports=c},9692(i,p,t){var o=t(7937),c=o(Object.keys,Object);i.exports=c},1779(i){function p(t){var o=[];if(t!=null)for(var c in Object(t))o.push(c);return o}i.exports=p},1587(i,p,t){i=t.nmd(i);var o=t(6710),c=p&&!p.nodeType&&p,l=c&&!0&&i&&!i.nodeType&&i,u=l&&l.exports===c,d=u&&o.process,g=function(){try{var m=l&&l.require&&l.require("util").types;return m||d&&d.binding&&d.binding("util")}catch{}}();i.exports=g},7748(i){var p=Object.prototype,t=p.toString;function o(c){return t.call(c)}i.exports=o},7937(i){function p(t,o){return function(c){return t(o(c))}}i.exports=p},8619(i,p,t){var o=t(6047),c=Math.max;function l(u,d,g){return d=c(d===void 0?u.length-1:d,0),function(){for(var m=arguments,v=-1,w=c(m.length-d,0),x=Array(w);++v<w;)x[v]=m[d+v];v=-1;for(var T=Array(d+1);++v<d;)T[v]=m[v];return T[d]=g(x),o(u,this,T)}}i.exports=l},907(i,p,t){var o=t(6710),c=typeof self=="object"&&self&&self.Object===Object&&self,l=o||c||Function("return this")();i.exports=l},5760(i){function p(t,o){if(!(o==="constructor"&&typeof t[o]=="function")&&o!="__proto__")return t[o]}i.exports=p},9599(i,p,t){var o=t(7680),c=t(6101),l=c(o);i.exports=l},6101(i){var p=800,t=16,o=Date.now;function c(l){var u=0,d=0;return function(){var g=o(),m=t-(g-d);if(d=g,m>0){if(++u>=p)return arguments[0]}else u=0;return l.apply(void 0,arguments)}}i.exports=c},1306(i,p,t){var o=t(7321);function c(){this.__data__=new o,this.size=0}i.exports=c},3180(i){function p(t){var o=this.__data__,c=o.delete(t);return this.size=o.size,c}i.exports=p},5247(i){function p(t){return this.__data__.get(t)}i.exports=p},2835(i){function p(t){return this.__data__.has(t)}i.exports=p},9179(i,p,t){var o=t(7321),c=t(2565),l=t(111),u=200;function d(g,m){var v=this.__data__;if(v instanceof o){var w=v.__data__;if(!c||w.length<u-1)return w.push([g,m]),this.size=++v.size,this;v=this.__data__=new l(w)}return v.set(g,m),this.size=v.size,this}i.exports=d},4352(i,p,t){var o=t(3426),c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g,u=o(function(d){var g=[];return d.charCodeAt(0)===46&&g.push(""),d.replace(c,function(m,v,w,x){g.push(w?x.replace(l,"$1"):v||m)}),g});i.exports=u},5155(i,p,t){var o=t(7964),c=1/0;function l(u){if(typeof u=="string"||o(u))return u;var d=u+"";return d=="0"&&1/u==-c?"-0":d}i.exports=l},8815(i){var p=Function.prototype,t=p.toString;function o(c){if(c!=null){try{return t.call(c)}catch{}try{return c+""}catch{}}return""}i.exports=o},5082(i){var p=/\s/;function t(o){for(var c=o.length;c--&&p.test(o.charAt(c)););return c}i.exports=t},8313(i,p,t){var o=t(6057),c=1,l=4;function u(d){return o(d,c|l)}i.exports=u},6148(i){function p(t){return function(){return t}}i.exports=p},671(i,p,t){var o=t(9323),c=t(5062),l=t(9480),u="Expected a function",d=Math.max,g=Math.min;function m(v,w,x){var T,I,D,L,F,z,X=0,ce=!1,R=!1,Q=!0;if(typeof v!="function")throw new TypeError(u);w=l(w)||0,o(x)&&(ce=!!x.leading,R="maxWait"in x,D=R?d(l(x.maxWait)||0,w):D,Q="trailing"in x?!!x.trailing:Q);function S(_){var Ae=T,Ge=I;return T=I=void 0,X=_,L=v.apply(Ge,Ae),L}function le(_){return X=_,F=setTimeout(oe,w),ce?S(_):L}function ne(_){var Ae=_-z,Ge=_-X,et=w-Ae;return R?g(et,D-Ge):et}function ue(_){var Ae=_-z,Ge=_-X;return z===void 0||Ae>=w||Ae<0||R&&Ge>=D}function oe(){var _=c();if(ue(_))return me(_);F=setTimeout(oe,ne(_))}function me(_){return F=void 0,Q&&T?S(_):(T=I=void 0,L)}function pe(){F!==void 0&&clearTimeout(F),X=0,T=z=I=F=void 0}function B(){return F===void 0?L:me(c())}function ve(){var _=c(),Ae=ue(_);if(T=arguments,I=this,z=_,Ae){if(F===void 0)return le(z);if(R)return clearTimeout(F),F=setTimeout(oe,w),S(z)}return F===void 0&&(F=setTimeout(oe,w)),L}return ve.cancel=pe,ve.flush=B,ve}i.exports=m},9506(i){function p(t,o){return t===o||t!==t&&o!==o}i.exports=p},2438(i,p,t){var o=t(3208);function c(l,u,d){var g=l==null?void 0:o(l,u);return g===void 0?d:g}i.exports=c},2146(i,p,t){var o=t(2780),c=t(5728);function l(u,d){return u!=null&&c(u,d,o)}i.exports=l},4846(i){function p(t){return t}i.exports=p},1750(i,p,t){var o=t(2960),c=t(2292),l=Object.prototype,u=l.hasOwnProperty,d=l.propertyIsEnumerable,g=o(function(){return arguments}())?o:function(m){return c(m)&&u.call(m,"callee")&&!d.call(m,"callee")};i.exports=g},2619(i){var p=Array.isArray;i.exports=p},644(i,p,t){var o=t(860),c=t(5300);function l(u){return u!=null&&c(u.length)&&!o(u)}i.exports=l},1891(i,p,t){var o=t(644),c=t(2292);function l(u){return c(u)&&o(u)}i.exports=l},3446(i,p,t){i=t.nmd(i);var o=t(907),c=t(9349),l=p&&!p.nodeType&&p,u=l&&!0&&i&&!i.nodeType&&i,d=u&&u.exports===l,g=d?o.Buffer:void 0,m=g?g.isBuffer:void 0,v=m||c;i.exports=v},860(i,p,t){var o=t(1490),c=t(9323),l="[object AsyncFunction]",u="[object Function]",d="[object GeneratorFunction]",g="[object Proxy]";function m(v){if(!c(v))return!1;var w=o(v);return w==u||w==d||w==l||w==g}i.exports=m},5300(i){var p=9007199254740991;function t(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=p}i.exports=t},7884(i,p,t){var o=t(9694),c=t(1155),l=t(1587),u=l&&l.isMap,d=u?c(u):o;i.exports=d},9323(i){function p(t){var o=typeof t;return t!=null&&(o=="object"||o=="function")}i.exports=p},2292(i){function p(t){return t!=null&&typeof t=="object"}i.exports=p},1281(i,p,t){var o=t(1490),c=t(553),l=t(2292),u="[object Object]",d=Function.prototype,g=Object.prototype,m=d.toString,v=g.hasOwnProperty,w=m.call(Object);function x(T){if(!l(T)||o(T)!=u)return!1;var I=c(T);if(I===null)return!0;var D=v.call(I,"constructor")&&I.constructor;return typeof D=="function"&&D instanceof D&&m.call(D)==w}i.exports=x},5070(i,p,t){var o=t(8172),c=t(1155),l=t(1587),u=l&&l.isSet,d=u?c(u):o;i.exports=d},7964(i,p,t){var o=t(1490),c=t(2292),l="[object Symbol]";function u(d){return typeof d=="symbol"||c(d)&&o(d)==l}i.exports=u},3133(i,p,t){var o=t(5283),c=t(1155),l=t(1587),u=l&&l.isTypedArray,d=u?c(u):o;i.exports=d},2096(i,p,t){var o=t(3737),c=t(2322),l=t(644);function u(d){return l(d)?o(d):c(d)}i.exports=u},7999(i,p,t){var o=t(3737),c=t(5045),l=t(644);function u(d){return l(d)?o(d,!0):c(d)}i.exports=u},8590(i,p,t){var o=t(111),c="Expected a function";function l(u,d){if(typeof u!="function"||d!=null&&typeof d!="function")throw new TypeError(c);var g=function(){var m=arguments,v=d?d.apply(this,m):m[0],w=g.cache;if(w.has(v))return w.get(v);var x=u.apply(this,m);return g.cache=w.set(v,x)||w,x};return g.cache=new(l.Cache||o),g}l.Cache=o,i.exports=l},8970(i,p,t){var o=t(3912),c=t(2917),l=c(function(u,d,g){o(u,d,g)});i.exports=l},5062(i,p,t){var o=t(907),c=function(){return o.Date.now()};i.exports=c},2154(i,p,t){var o=t(604);function c(l,u,d){return l==null?l:o(l,u,d)}i.exports=c},5615(i){function p(){return[]}i.exports=p},9349(i){function p(){return!1}i.exports=p},6712(i,p,t){var o=t(671),c=t(9323),l="Expected a function";function u(d,g,m){var v=!0,w=!0;if(typeof d!="function")throw new TypeError(l);return c(m)&&(v="leading"in m?!!m.leading:v,w="trailing"in m?!!m.trailing:w),o(d,g,{leading:v,maxWait:g,trailing:w})}i.exports=u},9480(i,p,t){var o=t(6),c=t(9323),l=t(7964),u=NaN,d=/^[-+]0x[0-9a-f]+$/i,g=/^0b[01]+$/i,m=/^0o[0-7]+$/i,v=parseInt;function w(x){if(typeof x=="number")return x;if(l(x))return u;if(c(x)){var T=typeof x.valueOf=="function"?x.valueOf():x;x=c(T)?T+"":T}if(typeof x!="string")return x===0?x:+x;x=o(x);var I=g.test(x);return I||m.test(x)?v(x.slice(2),I?2:8):d.test(x)?u:+x}i.exports=w},4514(i,p,t){var o=t(7145),c=t(7999);function l(u){return o(u,c(u))}i.exports=l},7164(i,p,t){var o=t(1978);function c(l){return l==null?"":o(l)}i.exports=c},5360(i,p){"use strict";/** @license React v16.13.1
2
2
  * react-is.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
5
5
  *
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
- */var t=typeof Symbol=="function"&&Symbol.for,o=t?Symbol.for("react.element"):60103,c=t?Symbol.for("react.portal"):60106,l=t?Symbol.for("react.fragment"):60107,u=t?Symbol.for("react.strict_mode"):60108,d=t?Symbol.for("react.profiler"):60114,h=t?Symbol.for("react.provider"):60109,m=t?Symbol.for("react.context"):60110,v=t?Symbol.for("react.async_mode"):60111,w=t?Symbol.for("react.concurrent_mode"):60111,x=t?Symbol.for("react.forward_ref"):60112,T=t?Symbol.for("react.suspense"):60113,j=t?Symbol.for("react.suspense_list"):60120,D=t?Symbol.for("react.memo"):60115,L=t?Symbol.for("react.lazy"):60116,F=t?Symbol.for("react.block"):60121,z=t?Symbol.for("react.fundamental"):60117,X=t?Symbol.for("react.responder"):60118,ce=t?Symbol.for("react.scope"):60119;function R(A){if(typeof A=="object"&&A!==null){var le=A.$$typeof;switch(le){case o:switch(A=A.type,A){case v:case w:case l:case d:case u:case T:return A;default:switch(A=A&&A.$$typeof,A){case m:case x:case L:case D:case h:return A;default:return le}}case c:return le}}}function Q(A){return R(A)===w}p.AsyncMode=v,p.ConcurrentMode=w,p.ContextConsumer=m,p.ContextProvider=h,p.Element=o,p.ForwardRef=x,p.Fragment=l,p.Lazy=L,p.Memo=D,p.Portal=c,p.Profiler=d,p.StrictMode=u,p.Suspense=T,p.isAsyncMode=function(A){return Q(A)||R(A)===v},p.isConcurrentMode=Q,p.isContextConsumer=function(A){return R(A)===m},p.isContextProvider=function(A){return R(A)===h},p.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===o},p.isForwardRef=function(A){return R(A)===x},p.isFragment=function(A){return R(A)===l},p.isLazy=function(A){return R(A)===L},p.isMemo=function(A){return R(A)===D},p.isPortal=function(A){return R(A)===c},p.isProfiler=function(A){return R(A)===d},p.isStrictMode=function(A){return R(A)===u},p.isSuspense=function(A){return R(A)===T},p.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===l||A===w||A===d||A===u||A===T||A===j||typeof A=="object"&&A!==null&&(A.$$typeof===L||A.$$typeof===D||A.$$typeof===h||A.$$typeof===m||A.$$typeof===x||A.$$typeof===z||A.$$typeof===X||A.$$typeof===ce||A.$$typeof===F)},p.typeOf=R},7020(i,p,t){"use strict";i.exports=t(5360)},162(i){i.exports=function(t,o,c,l){var u=c?c.call(l,t,o):void 0;if(u!==void 0)return!!u;if(t===o)return!0;if(typeof t!="object"||!t||typeof o!="object"||!o)return!1;var d=Object.keys(t),h=Object.keys(o);if(d.length!==h.length)return!1;for(var m=Object.prototype.hasOwnProperty.bind(o),v=0;v<d.length;v++){var w=d[v];if(!m(w))return!1;var x=t[w],T=o[w];if(u=c?c.call(l,x,T,w):void 0,u===!1||u===void 0&&x!==T)return!1}return!0}},4883(i){"use strict";i.exports=fr}};const qe={};function Y(i){const p=qe[i];if(p!==void 0)return p.exports;const t=qe[i]={id:i,loaded:!1,exports:{}};return wt[i](t,t.exports,Y),t.loaded=!0,t.exports}Y.n=i=>{const p=i&&i.__esModule?()=>i.default:()=>i;return Y.d(p,{a:p}),p},Y.d=(i,p)=>{if(Array.isArray(p))for(var t=0;t<p.length;){var o=p[t++],c=p[t++];Y.o(i,o)?c===0&&t++:c===0?Object.defineProperty(i,o,{enumerable:!0,value:p[t++]}):Object.defineProperty(i,o,{enumerable:!0,get:c})}else for(var o in p)Y.o(p,o)&&!Y.o(i,o)&&Object.defineProperty(i,o,{enumerable:!0,get:p[o]})},Y.o=(i,p)=>Object.hasOwn(i,p),Y.r=i=>{Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},Y.nmd=i=>(i.paths=[],i.children||(i.children=[]),i),(()=>{let i;globalThis.importScripts&&(i=globalThis.location+"");const p=globalThis.document;if(!i&&p&&(p.currentScript?.tagName.toUpperCase()==="SCRIPT"&&(i=p.currentScript.src),!i)){const t=p.getElementsByTagName("script");if(t.length){let o=t.length-1;for(;o>-1&&(!i||!/^http(s?):/.test(i));)i=t[o--].src}}if(!i)throw new Error("Automatic publicPath is not supported in this browser");i=i.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),Y.p=i})(),Y.nc=void 0;let zt={};return(()=>{"use strict";Y.r(zt),Y.d(zt,{CAppBridge:()=>ts,Event:()=>ne,LaunchMode:()=>Q,MicroAppManager:()=>A,ScriptLoader:()=>Ur,ScriptingObject:()=>ve,SecurityContext:()=>i,StyleLoader:()=>kr});var i=(r=>(r.USER="USER",r.PARTNER="PARTNER",r))(i||{}),p=Y(8313),t=Y.n(p),o=Y(2438),c=Y.n(o),l=Y(2154),u=Y.n(l),d=Y(2146),h=Y.n(d),m=Y(8970),v=Y.n(m);const w=JSON.parse('{"appId":"microfe","activeEnv":"localhost","googleTagManager":true,"sessionTimeoutWarnInterval":"7200000","sessionTimeoutInterval":"9000000","microFrontendApps":{"loanapp":{"name":"Loan","hostUrl":"./loan","development":{"files":["index.js"]},"production":{"files":["index.js"]}},"taskapp":{"name":"Task","hostUrl":"./task","mode":"development","development":{"files":["index.dev.js"]},"production":{"files":["index.js"]}},"travelhub":{"name":"TravelHub","hostUrl":"./travelhub","development":{"files":["app.js","landing.js","app.css","landing.css"]},"production":{"files":["app.js","landing.js","app.css","landing.css"]}},"flights":{"name":"Flights","hostUrl":"./flights","development":{"files":["app.js","app.css"]},"production":{"files":["app.js","app.css"]}},"hotels":{"name":"Hotels","hostUrl":"./hotels","development":{"files":["app.js","app.css"]},"production":{"files":["app.js","app.css"]}},"ssfapp":{"name":"SSF App","hostUrl":"./ssf-app","microappManager":"ssf"}},"serviceEndpoints":{"api":"","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"},"env":{"localhost":{"serviceEndpoints":{"api":"","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"dev":{"serviceEndpoints":{"api":"https://dev.api.puiservice.rd.elliemae.io","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"dev2":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"qa":{"serviceEndpoints":{"api":"https://dev.api.puiservice.rd.elliemae.io","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"qa2":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"qa3":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"int":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg-osb1":{"serviceEndpoints":{"api":"https://encompass-peg-api.elliemae.com","idp":"https://peg.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg-osb2":{"serviceEndpoints":{"api":"https://encompass-peg2-api.elliemae.com","idp":"https://peg.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg":{"serviceEndpoints":{"api":"https://peg2-west.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg-oapi-west":{"serviceEndpoints":{"api":"https://peg2-west.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg-oapi-east":{"serviceEndpoints":{"api":"https://peg2-east.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg2-oapi-east":{"serviceEndpoints":{"api":"https://peg2-east.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg3":{"serviceEndpoints":{"api":"https://pel1.api.ellielabs.com","idp":"https://peg3.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"stage":{"serviceEndpoints":{"api":"https://stg.api.elliemae.com","idp":"https://stg.idp.elliemae.com/authorize","logger":"https://api.ellielabs.com/diagnostics/v2/logging"}},"beta":{"serviceEndpoints":{"api":"https://concept.api.elliemae.com","idp":"https://concept.idp.elliemae.com/authorize","logger":"https://api.ellielabs.com/diagnostics/v2/logging"}},"demo":{"serviceEndpoints":{"api":"https://concept.api.elliemae.com","idp":"https://concept.idp.elliemae.com/authorize","logger":"https://api.ellielabs.com/diagnostics/v2/logging"}},"epc":{"serviceEndpoints":{"api":"https://concept.api.elliemae.com","idp":"https://concept.idp.elliemae.com/authorize","logger":"https://api.ellielabs.com/diagnostics/v2/logging"}},"prod":{"serviceEndpoints":{"api":"https://api.elliemae.com","idp":"https://idp.elliemae.com/authorize","logger":"https://api.ellielabs.com/diagnostics/v2/logging"}}}}'),x=r=>r.replace(/([^:]\/)\/+/g,"$1"),T=r=>{const e=document.createElement("a");return e.href=r,e.href},j=r=>r?.replace?.(/\/?$/,"/"),D=(r,e)=>`${r.replace(/\/+$/,"")}/${e.replace(/^\/+/,"")}`,L=r=>/^(\/|https?:\/\/)/.test(r),F=(r,e)=>{const n=j(e);if(L(n)){const{origin:s}=new URL(r,window.location.href);return x(new URL(n,s).href)}return x(new URL(n,j(r)).href)},z=(r,e)=>x(new URL("manifest.json",F(r,e)).href),X=()=>window.navigator.userAgent.includes("jsdom"),ce=r=>r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),R=r=>{try{if(new URL(r,window.location.href).origin===window.location.origin)return r;const n=window.location.hostname==="localhost"?"latest":window.emui?.version?.match(/^(\d+\.\d+)/)?.[1]??"latest";return`${window.location.origin}/${n}/frame.html`}catch{return r}};var Q=(r=>(r.DEVELOPMENT="development",r.PRODUCTION="production",r))(Q||{}),A=(r=>(r.SSF="ssf",r.APPSDK="appsdk",r))(A||{});class le{#e=w;#t;#r;constructor(e){this.#t=e?.version||"latest",this.#r=j(e?.baseUrl||"")}#i=e=>{const{activeEnv:n,env:s,...a}=e,f=s[n]||{};this.#e=v()({},a,f)};get=(e="",n=null)=>t()(c()(this.#e,e,n));set=(e,n)=>{u()(this.#e,e,n)};has=(e="")=>h()(this.#e,e);setPreloadedConfig=e=>{this.#e=e};#n=()=>{if(!/(?:\/)(\d+\.\d+|latest)(?:\/?)?$/.test(this.#r)){const n=this.#t.match(/^(?:\d+\.\d+)*/g);return j(`${this.#r}${n?.[0]||"latest"}`)}return this.#r};load=async e=>{const n=e??`${this.#n()}app.config.json`;let s;try{s=await fetch(n)}catch(a){if(!e&&this.#t!=="latest"){await this.load(`${this.#r}latest/app.config.json`);return}throw new Error("Failed to fetch app config",{cause:a})}if(s.ok)try{const a=await s.json();this.#i(a)}catch(a){if(!e&&this.#t!=="latest")await this.load(`${this.#r}latest/app.config.json`);else throw new Error("Failed to parse app config",{cause:a})}else{if(!e&&this.#t!=="latest"){await this.load(`${this.#r}latest/app.config.json`);return}throw new Error("Failed to load app config")}}}class ne{name;objectId;id;constructor(e){const{name:n,objectId:s}=e;if(!n)throw new Error("Event name is required");if(!s)throw new Error("Scripting object id is required");this.objectId=s,this.name=n,this.id=`${this.objectId}.${this.name}`.toLowerCase()}}class ue{static[Symbol.hasInstance](e){return typeof e=="object"&&e!==null&&"getType"in e&&typeof e.getType=="function"&&e.getType()==="ProxyEvent"}#e;objectId;name;id;getType(){return"ProxyEvent"}constructor(e){const{name:n,objectId:s,eventSrc:a}=e;if(!n)throw new Error("Event name is required");if(!s)throw new Error("Scripting object id is required");if(!a)throw new Error("Event source is required");this.objectId=s,this.name=n,this.#e=a,this.id=`${this.objectId}.${this.name}`.toLowerCase()}subscribe=e=>this.#e.subscribe({eventId:this.id,callback:e});unsubscribe=e=>{this.#e.unsubscribe({eventId:this.id,token:e})}}const oe=r=>r instanceof ne,me=(r,e)=>`${r.toLowerCase()}.${e.toLowerCase()}`,pe="function",B=(r,e)=>typeof r===pe&&!!e&&!e.startsWith("_");class ve{#e;#t="Object";constructor(e,n){this.#e=e,this.#t=n||this.#t}get id(){return this.#e}get objectType(){return this.#t}_toJSON=()=>{const e=[],n=[];return Object.keys(this).forEach(s=>{const a=this[s];oe(a)?n.push(s):B(a,s)&&e.push(s)}),{objectId:this.#e,objectType:this.#t,functions:e,events:n}};_dispose=()=>{};dispose=()=>{}}var _=Y(6712),Ae=Y.n(_);const et={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let it;const xt=new Uint8Array(16);function Bt(){if(!it&&(it=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!it))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return it(xt)}var Vt;const ye=[];for(let r=0;r<256;++r)ye.push((r+256).toString(16).slice(1));function St(r,e=0){return ye[r[e+0]]+ye[r[e+1]]+ye[r[e+2]]+ye[r[e+3]]+"-"+ye[r[e+4]]+ye[r[e+5]]+"-"+ye[r[e+6]]+ye[r[e+7]]+"-"+ye[r[e+8]]+ye[r[e+9]]+"-"+ye[r[e+10]]+ye[r[e+11]]+ye[r[e+12]]+ye[r[e+13]]+ye[r[e+14]]+ye[r[e+15]]}function hr(r,e=0){const n=St(r,e);if(!Vt(n))throw TypeError("Stringified UUID is invalid");return n}const gr=null;function Gt(r,e,n){if(et.randomUUID&&!e&&!r)return et.randomUUID();r=r||{};const s=r.random||(r.rng||Bt)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,e){n=n||0;for(let a=0;a<16;++a)e[n+a]=s[a];return e}return St(s)}const At=Gt;var tt=(r=>(r.Analytics="analytics",r.Application="application",r.Auth="auth",r.Form="form",r.Global="global",r.Http="http",r.Loan="loan",r.LoanV2="loanV2",r.MemStorage="memstorage",r.Module="module",r.Service="service",r.Session="session",r.Styling="styling",r.Transaction="transaction",r.TransactionTemplate="transactiontemplate",r.WebSocket="websocket",r))(tt||{});const Et="module";var mr=null,vr=null;class Ht{#e=e=>e.trim().toLowerCase();#t=new Map;#r=new Map;#i=e=>{const{so:n,guestId:s,onDuplicate:a="throw",securityContext:f}=e,g=this.#e(n.id),y={so:n,guestId:s,securityContext:f},S=this.#r.get(s);if(!S){this.#r.set(s,new Map([[g,y]]));return}if(S.has(g)){if(a==="ignore")return;throw new Error(`Scripting Object ${n.id} already exists for guest ${s}`)}S.set(g,y)};#n=({so:e})=>{if(e._dispose&&typeof e._dispose=="function")try{e._dispose()}catch{}};#a=({objectId:e,guestId:n})=>{if(e===Et&&!n)for(const[,a]of this.#r){const f=a.get(e);if(f)return f}const s=n?this.#r.get(n):null;return s?s.get(e)??null:null};#s=({objectId:e,guestId:n}={})=>{if(n){if(!e){const a=this.#r.get(n);a&&a.forEach(this.#n),this.#r.delete(n);return}const s=this.#r.get(n);if(s){const a=s.get(e);a&&this.#n(a),s.delete(e)}}else e&&this.#r.forEach(s=>{const a=s.get(e);a&&this.#n(a),s.delete(e)})};addScriptingObject=(e,n)=>{const{guestId:s,onDuplicate:a="throw",securityContext:f}=n||{};if(!e?.id||!e?._toJSON)throw new Error("Object is not derived from ScriptingObject");const g=this.#e(e.id);if(g===Et&&!s)throw new Error("Guest id is required to add Module scripting object");if(s){this.#i({so:e,...n,guestId:s,onDuplicate:a});return}if(this.#t.has(g)){if(a==="ignore")return;throw new Error(`Scripting Object ${e.id} already exists`)}this.#t.set(g,{so:e,guestId:s,securityContext:f})};getObject=(e,n)=>{const s=this.#e(e);let a=this.#a({objectId:s,guestId:n?.id});a=a??this.#t.get(s)??null;const{so:f}=a||{};return f||null};has=(e,n)=>this.getObject(e,n)!==null;listScriptingObjects=e=>{const n=new Set(this.#t.keys()),s=this.#r.get(e);if(s)for(const a of s.keys())n.add(a);return Array.from(n)};removeScriptingObject=(e,n)=>{const s=this.#e(e);if(n)this.#s({objectId:s,guestId:n});else{this.#s({objectId:s});const a=this.#t.get(s);a&&this.#n(a),this.#t.delete(s)}};removeAllScriptingObjects=e=>{e?this.#s({guestId:e}):(this.#t.forEach(this.#n),this.#t.clear())}}class Wt{__TYPE__="Proxy";id;objectType;constructor(e,n){this.id=e,this.objectType=n}}const Ot=r=>r?.constructor?.name==="Proxy"||r?.constructor?.name==="ScriptingObjectProxy"||r?.__TYPE__==="Proxy";class Kt{#e=new Map;#t=new WeakMap;#r;constructor(e){this.#r=e}#i=(e,n)=>{const s=new Promise(a=>{setTimeout(()=>{a()},n)});return Promise.race([e,s])};#n=(e,n)=>{const s=n?.guestId;return!s||!e.guestId?!0:e.guestId===s};#a=e=>{const{eventName:n,scriptingObject:s,eventParams:a,listeners:f,eventOptions:g}=e;f.forEach(y=>{this.#n(y,g)&&(y.criteria&&!(a&&this.#c(a,y.criteria))||Promise.resolve(y.callback({obj:s,eventName:n,eventParams:a})).catch(S=>{this.#r?.warn(`Error in event listener for "${n}": ${S.message}`)}))})};#s=async({eventId:e,eventName:n,scriptingObject:s,eventParams:a,feedbackWaitTime:f,eventOptions:g})=>{const S=(this.#e.get(e)||[]).map(C=>!this.#n(C,g)||C.criteria&&!(a?this.#c(a,C.criteria):!1)?Promise.resolve():this.#i(C.callback({obj:s,eventName:n,eventParams:a}),f));return(await Promise.all(S)).flat(1/0).filter(C=>C!==void 0)};#c(e,n){return Object.entries(n).every(([s,a])=>{const f=e[s];if("eq"in a)return f===a.eq;if("in"in a)return Array.isArray(a.in)&&a.in.includes(f);if("includes"in a)return Array.isArray(f)&&f.includes(a.includes);if("gt"in a){const g=typeof f=="number"?f:Number(f);return!Number.isNaN(g)&&g>a.gt}if("lt"in a){const g=typeof f=="number"?f:Number(f);return!Number.isNaN(g)&&g<a.lt}if("regex"in a){let g=this.#t.get(a);if(g===void 0){try{g=new RegExp(a.regex)}catch{g=null}this.#t.set(a,g)}return g!==null&&typeof f=="string"&&g.test(f)}return!1})}dispatchEvent=async(e,n)=>{const{event:{id:s,name:a},eventParams:f,eventOptions:g}=n,{timeout:y}=g??{};if(!s)throw new Error("Event Id is required");const S=this.#e.get(s)||[];return!y||y<=0?(this.#a({eventName:a,scriptingObject:e,eventParams:f,listeners:S,eventOptions:g}),Promise.resolve()):this.#s({eventId:s,eventName:a,scriptingObject:e,eventParams:f,feedbackWaitTime:y,eventOptions:g})};subscribe=e=>{const{eventId:n,callback:s,criteria:a,guestId:f}=e;if(!n)throw new Error("eventId is required");if(!s)throw new Error("Callback is required");const g=this.#e.get(n)||[],y=At();return g.push({token:y,criteria:a,guestId:f,callback:s}),this.#e.set(n,g),y};unsubscribe=e=>{const{eventId:n,token:s}=e;if(!n)throw new Error("eventId id is required");if(s){const a=this.#e.get(n)||[],f=a.findIndex(g=>g.token===s);f>-1&&(a.splice(f,1),this.#e.set(n,a))}else this.#e.delete(n)};unsubscribeAll=()=>{this.#e.clear()};unsubscribeByGuestId=e=>{e&&this.#e.forEach((n,s)=>{const a=n.filter(f=>f.guestId!==e);a.length===0?this.#e.delete(s):a.length!==n.length&&this.#e.set(s,a)})}}const se=Y.p+"4cbbcfa9ded96b660559.html?resource",He="pui-app-container-",q=r=>{const e=r.src??se.default??se,n=R(e);if(!r.queryParams)return n;const s=r.queryParams.replace(/[^a-zA-Z0-9&=_.~%+-]/g,"");return`${n}${n.includes("?")?"&":"?"}${s}`},We=({documentEle:r,hostUrl:e,manifestPath:n,guestId:s})=>{const a=r.getElementById(He);a&&(a.id=`${a.id}${s}`);const f=F(e,n);let g=r.getElementsByTagName("base")?.[0];if(g){g.href=f;return}g=r.createElement("base"),g.href=f,r.getElementsByTagName("head")[0].appendChild(g)},Ke=({id:r,instanceId:e,manifestPath:n,hostUrl:s,options:a})=>new Promise((f,g)=>{const{signal:y}=a;if(y?.aborted){g(new DOMException("iframe creation aborted","AbortError"));return}const S=document.createElement("div");S.setAttribute("style","display: flex;width: 100%;height: 100%;flex-direction: column;overflow: hidden;");const E=document.createElement("iframe");E.setAttribute("id",e),E.setAttribute("data-testid",r),E.setAttribute("title",a.title),E.setAttribute("allowfullscreen","true"),E.setAttribute("allowtransparency","true"),a.permissionPolicy&&E.setAttribute("allow",a.permissionPolicy),a.sandbox&&E.setAttribute("sandbox",a.sandbox),E.setAttribute("style",a.style??"flex-grow: 1;border: none;margin: 0;padding: 0;display: block;min-width: 100%;height: 100%;"),E.setAttribute("src",q(a));const C=1e4;let P=!1,W,H;const N=()=>{clearTimeout(W),y?.removeEventListener("abort",H)},K=()=>y?.aborted?(P||(P=!0,N(),S.remove(),g(new DOMException("iframe creation aborted","AbortError"))),!0):!1;if(H=()=>{K()},K())return;y?.addEventListener("abort",H),W=setTimeout(()=>{P||(P=!0,N(),S.remove(),g(new Error(`iframe for ${r} failed to load within ${C}ms`)))},C),E.addEventListener("error",()=>{P||(P=!0,N(),S.remove(),g(new Error(`iframe for ${r} failed to load`)))}),E.addEventListener("load",()=>{P||K()||E.contentDocument&&(P=!0,N(),We({documentEle:E.contentDocument,hostUrl:s,manifestPath:n,guestId:r}),f(E))}),S.appendChild(E);const{containerId:U}=a;(document.getElementById(U??"")??document.body).appendChild(S)}),Ct=r=>document.getElementById(r),Ee={create:Ke,remove:r=>{const e=Ct(r);e&&e.parentElement?.remove()},get:Ct},Oe=()=>({breakpoints:["512px","768px","1024px","350px"],spaces:["0","4px","8px","12px","16px","32px","48px","56px","64px","72px"],fontSizes:["0.8461rem","0.9230rem","1rem","1.0769rem","1.2307rem","1.3846rem","1.8461rem","2.7692rem"],fontWeights:[100,200,300,400,500,600,700,800,900],lineHeights:["1rem","1.15rem","1.25rem","1.5rem"],letterSpacings:["normal","0.1rem","-0.05rem","0.25rem"],fonts:["proxima-nova, Arial, sans-serif"],colors:{neutral:["#FFFFFF","#F6F7F9","#EBEDF0","#E0E3E8","#CBCFD7","#B0B9C8","#8C93A6","#697489","#464F5C","#353C46","#25292F"],brand:["#F6FBFF","#EBF6FF","#A3D6FF","#52A6EC","#1394E5","#1E79C2","#006AA9","#005181","#C9E7FF"],success:["#E1F4ED","#E1F4ED","#289F6B","#207E56","#185D44"],warning:["#FFEFD8","#E06C29","#B25119","#853C12"],danger:["#FBEBED","#FBEBED","#ED5A64","#C64252","#A11B2B"]},shadows:["0 1px 5px 0 rgba(0, 0, 0, 0.13), 0 2px 4px 0 rgba(0, 0, 0, 0.2)","0 6px 20px 0 rgba(0, 0, 0, 0.24), 0 8px 17px 0 rgba(0, 0, 0, 0.19)","0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19)","0 16px 28px 0 rgba(0, 0, 0, 0.24), 0 25px 55px 0 rgba(0, 0, 0, 0.19)","0 27px 24px 0 rgba(0, 0, 0, 0.24), 0 40px 77px 0 rgba(0, 0, 0, 0.19)"],zIndex:[1e3,2e3,3e3,500,4e3],states:[null,"@media (prefers-reduced-motion: no-preference)","@media (prefers-reduced-motion: reduce)","&:first-child","&:last-child","&:odd","&:even","&:visited","&:checked","&:focus-within","&:hover","&:focus","&:focus-visible","&:active","&:disabled, &[aria-disabled=true]","&::placeholder"]});var rt=Y(7020),Te=Y(4883),Ue=Y.n(Te),Tt=Y(162),Ye=Y.n(Tt);function Pt(r){function e($,I,M,V,b){for(var ee=0,O=0,fe=0,te=0,ie,G,we=0,Ie=0,J,Ce=J=ie=0,re=0,xe=0,yt=0,Se=0,kt=M.length,bt=kt-1,Ne,k="",ge="",pr="",dr="",_e;re<kt;){if(G=M.charCodeAt(re),re===bt&&O+te+fe+ee!==0&&(O!==0&&(G=O===47?10:47),te=fe=ee=0,kt++,bt++),O+te+fe+ee===0){if(re===bt&&(0<xe&&(k=k.replace(W,"")),0<k.trim().length)){switch(G){case 32:case 9:case 59:case 13:case 10:break;default:k+=M.charAt(re)}G=59}switch(G){case 123:for(k=k.trim(),ie=k.charCodeAt(0),J=1,Se=++re;re<kt;){switch(G=M.charCodeAt(re)){case 123:J++;break;case 125:J--;break;case 47:switch(G=M.charCodeAt(re+1)){case 42:case 47:e:{for(Ce=re+1;Ce<bt;++Ce)switch(M.charCodeAt(Ce)){case 47:if(G===42&&M.charCodeAt(Ce-1)===42&&re+2!==Ce){re=Ce+1;break e}break;case 10:if(G===47){re=Ce+1;break e}}re=Ce}}break;case 91:G++;case 40:G++;case 34:case 39:for(;re++<bt&&M.charCodeAt(re)!==G;);}if(J===0)break;re++}switch(J=M.substring(Se,re),ie===0&&(ie=(k=k.replace(P,"").trim()).charCodeAt(0)),ie){case 64:switch(0<xe&&(k=k.replace(W,"")),G=k.charCodeAt(1),G){case 100:case 109:case 115:case 45:xe=I;break;default:xe=gt}if(J=e(I,xe,J,G,b+1),Se=J.length,0<$e&&(xe=n(gt,k,yt),_e=y(3,J,xe,I,De,Me,Se,G,b,V),k=xe.join(""),_e!==void 0&&(Se=(J=_e.trim()).length)===0&&(G=0,J="")),0<Se)switch(G){case 115:k=k.replace(Je,g);case 100:case 109:case 45:J=k+"{"+J+"}";break;case 107:k=k.replace(Z,"$1 $2"),J=k+"{"+J+"}",J=Pe===1||Pe===2&&f("@"+J,3)?"@-webkit-"+J+"@"+J:"@"+J;break;default:J=k+J,V===112&&(J=(ge+=J,""))}else J="";break;default:J=e(I,n(I,k,yt),J,V,b+1)}pr+=J,J=yt=xe=Ce=ie=0,k="",G=M.charCodeAt(++re);break;case 125:case 59:if(k=(0<xe?k.replace(W,""):k).trim(),1<(Se=k.length))switch(Ce===0&&(ie=k.charCodeAt(0),ie===45||96<ie&&123>ie)&&(Se=(k=k.replace(" ",":")).length),0<$e&&(_e=y(1,k,I,$,De,Me,ge.length,V,b,V))!==void 0&&(Se=(k=_e.trim()).length)===0&&(k="\0\0"),ie=k.charCodeAt(0),G=k.charCodeAt(1),ie){case 0:break;case 64:if(G===105||G===99){dr+=k+M.charAt(re);break}default:k.charCodeAt(Se-1)!==58&&(ge+=a(k,ie,G,k.charCodeAt(2)))}yt=xe=Ce=ie=0,k="",G=M.charCodeAt(++re)}}switch(G){case 13:case 10:O===47?O=0:1+ie===0&&V!==107&&0<k.length&&(xe=1,k+="\0"),0<$e*ut&&y(0,k,I,$,De,Me,ge.length,V,b,V),Me=1,De++;break;case 59:case 125:if(O+te+fe+ee===0){Me++;break}default:switch(Me++,Ne=M.charAt(re),G){case 9:case 32:if(te+ee+O===0)switch(we){case 44:case 58:case 9:case 32:Ne="";break;default:G!==32&&(Ne=" ")}break;case 0:Ne="\\0";break;case 12:Ne="\\f";break;case 11:Ne="\\v";break;case 38:te+O+ee===0&&(xe=yt=1,Ne="\f"+Ne);break;case 108:if(te+O+ee+Be===0&&0<Ce)switch(re-Ce){case 2:we===112&&M.charCodeAt(re-3)===58&&(Be=we);case 8:Ie===111&&(Be=Ie)}break;case 58:te+O+ee===0&&(Ce=re);break;case 44:O+fe+te+ee===0&&(xe=1,Ne+="\r");break;case 34:case 39:O===0&&(te=te===G?0:te===0?G:te);break;case 91:te+O+fe===0&&ee++;break;case 93:te+O+fe===0&&ee--;break;case 41:te+O+ee===0&&fe--;break;case 40:if(te+O+ee===0){if(ie===0)switch(2*we+3*Ie){case 533:break;default:ie=1}fe++}break;case 64:O+fe+te+ee+Ce+J===0&&(J=1);break;case 42:case 47:if(!(0<te+ee+fe))switch(O){case 0:switch(2*G+3*M.charCodeAt(re+1)){case 235:O=47;break;case 220:Se=re,O=42}break;case 42:G===47&&we===42&&Se+2!==re&&(M.charCodeAt(Se+2)===33&&(ge+=M.substring(Se,re+1)),Ne="",O=0)}}O===0&&(k+=Ne)}Ie=we,we=G,re++}if(Se=ge.length,0<Se){if(xe=I,0<$e&&(_e=y(2,ge,xe,$,De,Me,Se,V,b,V),_e!==void 0&&(ge=_e).length===0))return dr+ge+pr;if(ge=xe.join(",")+"{"+ge+"}",Pe*Be!==0){switch(Pe!==2||f(ge,2)||(Be=0),Be){case 111:ge=ge.replace(de,":-moz-$1")+ge;break;case 112:ge=ge.replace(be,"::-webkit-input-$1")+ge.replace(be,"::-moz-$1")+ge.replace(be,":-ms-input-$1")+ge}Be=0}}return dr+ge+pr}function n($,I,M){var V=I.trim().split(U);I=V;var b=V.length,ee=$.length;switch(ee){case 0:case 1:var O=0;for($=ee===0?"":$[0]+" ";O<b;++O)I[O]=s($,I[O],M).trim();break;default:var fe=O=0;for(I=[];O<b;++O)for(var te=0;te<ee;++te)I[fe++]=s($[te]+" ",V[O],M).trim()}return I}function s($,I,M){var V=I.charCodeAt(0);switch(33>V&&(V=(I=I.trim()).charCodeAt(0)),V){case 38:return I.replace(ae,"$1"+$.trim());case 58:return $.trim()+I.replace(ae,"$1"+$.trim());default:if(0<1*M&&0<I.indexOf("\f"))return I.replace(ae,($.charCodeAt(0)===58?"":"$1")+$.trim())}return $+I}function a($,I,M,V){var b=$+";",ee=2*I+3*M+4*V;if(ee===944){$=b.indexOf(":",9)+1;var O=b.substring($,b.length-1).trim();return O=b.substring(0,$).trim()+O+";",Pe===1||Pe===2&&f(O,1)?"-webkit-"+O+O:O}if(Pe===0||Pe===2&&!f(b,1))return b;switch(ee){case 1015:return b.charCodeAt(10)===97?"-webkit-"+b+b:b;case 951:return b.charCodeAt(3)===116?"-webkit-"+b+b:b;case 963:return b.charCodeAt(5)===110?"-webkit-"+b+b:b;case 1009:if(b.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+b+b;case 978:return"-webkit-"+b+"-moz-"+b+b;case 1019:case 983:return"-webkit-"+b+"-moz-"+b+"-ms-"+b+b;case 883:if(b.charCodeAt(8)===45)return"-webkit-"+b+b;if(0<b.indexOf("image-set(",11))return b.replace(lt,"$1-webkit-$2")+b;break;case 932:if(b.charCodeAt(4)===45)switch(b.charCodeAt(5)){case 103:return"-webkit-box-"+b.replace("-grow","")+"-webkit-"+b+"-ms-"+b.replace("grow","positive")+b;case 115:return"-webkit-"+b+"-ms-"+b.replace("shrink","negative")+b;case 98:return"-webkit-"+b+"-ms-"+b.replace("basis","preferred-size")+b}return"-webkit-"+b+"-ms-"+b+b;case 964:return"-webkit-"+b+"-ms-flex-"+b+b;case 1023:if(b.charCodeAt(8)!==99)break;return O=b.substring(b.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+O+"-webkit-"+b+"-ms-flex-pack"+O+b;case 1005:return N.test(b)?b.replace(H,":-webkit-")+b.replace(H,":-moz-")+b:b;case 1e3:switch(O=b.substring(13).trim(),I=O.indexOf("-")+1,O.charCodeAt(0)+O.charCodeAt(I)){case 226:O=b.replace(he,"tb");break;case 232:O=b.replace(he,"tb-rl");break;case 220:O=b.replace(he,"lr");break;default:return b}return"-webkit-"+b+"-ms-"+O+b;case 1017:if(b.indexOf("sticky",9)===-1)break;case 975:switch(I=(b=$).length-10,O=(b.charCodeAt(I)===33?b.substring(0,I):b).substring($.indexOf(":",7)+1).trim(),ee=O.charCodeAt(0)+(O.charCodeAt(7)|0)){case 203:if(111>O.charCodeAt(8))break;case 115:b=b.replace(O,"-webkit-"+O)+";"+b;break;case 207:case 102:b=b.replace(O,"-webkit-"+(102<ee?"inline-":"")+"box")+";"+b.replace(O,"-webkit-"+O)+";"+b.replace(O,"-ms-"+O+"box")+";"+b}return b+";";case 938:if(b.charCodeAt(5)===45)switch(b.charCodeAt(6)){case 105:return O=b.replace("-items",""),"-webkit-"+b+"-webkit-box-"+O+"-ms-flex-"+O+b;case 115:return"-webkit-"+b+"-ms-flex-item-"+b.replace(Re,"")+b;default:return"-webkit-"+b+"-ms-flex-line-pack"+b.replace("align-content","").replace(Re,"")+b}break;case 973:case 989:if(b.charCodeAt(3)!==45||b.charCodeAt(4)===122)break;case 931:case 953:if(Qe.test($)===!0)return(O=$.substring($.indexOf(":")+1)).charCodeAt(0)===115?a($.replace("stretch","fill-available"),I,M,V).replace(":fill-available",":stretch"):b.replace(O,"-webkit-"+O)+b.replace(O,"-moz-"+O.replace("fill-",""))+b;break;case 962:if(b="-webkit-"+b+(b.charCodeAt(5)===102?"-ms-"+b:"")+b,M+V===211&&b.charCodeAt(13)===105&&0<b.indexOf("transform",10))return b.substring(0,b.indexOf(";",27)+1).replace(K,"$1-webkit-$2")+b}return b}function f($,I){var M=$.indexOf(I===1?":":"{"),V=$.substring(0,I!==3?M:10);return M=$.substring(M+1,$.length-1),mt(I!==2?V:V.replace(ze,"$1"),M,I)}function g($,I){var M=a(I,I.charCodeAt(0),I.charCodeAt(1),I.charCodeAt(2));return M!==I+";"?M.replace(ct," or ($1)").substring(4):"("+I+")"}function y($,I,M,V,b,ee,O,fe,te,ie){for(var G=0,we=I,Ie;G<$e;++G)switch(Ie=Le[G].call(C,$,we,M,V,b,ee,O,fe,te,ie)){case void 0:case!1:case!0:case null:break;default:we=Ie}if(we!==I)return we}function S($){switch($){case void 0:case null:$e=Le.length=0;break;default:if(typeof $=="function")Le[$e++]=$;else if(typeof $=="object")for(var I=0,M=$.length;I<M;++I)S($[I]);else ut=!!$|0}return S}function E($){return $=$.prefix,$!==void 0&&(mt=null,$?typeof $!="function"?Pe=1:(Pe=2,mt=$):Pe=0),E}function C($,I){var M=$;if(33>M.charCodeAt(0)&&(M=M.trim()),vt=M,M=[vt],0<$e){var V=y(-1,I,M,M,De,Me,0,0,0,0);V!==void 0&&typeof V=="string"&&(I=V)}var b=e(gt,M,I,0,0);return 0<$e&&(V=y(-2,b,M,M,De,Me,b.length,0,0,0),V!==void 0&&(b=V)),vt="",Be=0,Me=De=1,b}var P=/^\0+/g,W=/[\0\r\f]/g,H=/: */g,N=/zoo|gra/,K=/([,: ])(transform)/g,U=/,\r+?/g,ae=/([\t\r\n ])*\f?&/g,Z=/@(k\w+)\s*(\S*)\s*/,be=/::(place)/g,de=/:(read-only)/g,he=/[svh]\w+-[tblr]{2}/,Je=/\(\s*(.*)\s*\)/g,ct=/([\s\S]*?);/g,Re=/-self|flex-/g,ze=/[^]*?(:[rp][el]a[\w-]+)[^]*/,Qe=/stretch|:\s*\w+\-(?:conte|avail)/,lt=/([^-])(image-set\()/,Me=1,De=1,Be=0,Pe=1,gt=[],Le=[],$e=0,mt=null,ut=0,vt="";return C.use=S,C.set=E,r!==void 0&&E(r),C}const It=Pt;var Yt={animationIterationCount: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,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};const jt=Yt;function ke(r){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=r(n)),e[n]}}var Ve=/^((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)-.*))$/,yr=ke(function(r){return Ve.test(r)||r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)<91}),Vr=Y(4674),Gr=Y.n(Vr),Mt,Hr,Rt,Wr,Kr,Yr;function je(){return(je=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r}).apply(this,arguments)}var br=function(r,e){for(var n=[r[0]],s=0,a=e.length;s<a;s+=1)n.push(e[s],r[s+1]);return n},Xt=function(r){return r!==null&&typeof r=="object"&&(r.toString?r.toString():Object.prototype.toString.call(r))==="[object Object]"&&!(0,rt.typeOf)(r)},$t=Object.freeze([]),Xe=Object.freeze({});function ot(r){return typeof r=="function"}function Zt(r){return r.displayName||r.name||"Component"}function Jt(r){return r&&typeof r.styledComponentId=="string"}var Ze=typeof process<"u"&&!0&&("MISSING_ENV_VAR".REACT_APP_SC_ATTR||"MISSING_ENV_VAR".SC_ATTR)||"data-styled",rs="5.3.11",Qt=typeof window<"u"&&"HTMLElement"in window,Xr=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&("MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY!==void 0&&"MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY!==""?"MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY!=="false"&&"MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY:"MISSING_ENV_VAR".SC_DISABLE_SPEEDY!==void 0&&"MISSING_ENV_VAR".SC_DISABLE_SPEEDY!==""&&"MISSING_ENV_VAR".SC_DISABLE_SPEEDY!=="false"&&"MISSING_ENV_VAR".SC_DISABLE_SPEEDY)),Zr=null,ns=null;function ss(){for(var r=arguments.length<=0?void 0:arguments[0],e=[],n=1,s=arguments.length;n<s;n+=1)e.push(n<0||arguments.length<=n?void 0:arguments[n]);return e.forEach(function(a){r=r.replace(/%[a-z]/,a)}),r}function Fe(r){for(var e=arguments.length,n=new Array(e>1?e-1:0),s=1;s<e;s++)n[s-1]=arguments[s];throw new Error("An error occurred. See https://git.io/JUIaE#"+r+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var Jr=function(){function r(n){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=n}var e=r.prototype;return e.indexOfGroup=function(n){for(var s=0,a=0;a<n;a++)s+=this.groupSizes[a];return s},e.insertRules=function(n,s){if(n>=this.groupSizes.length){for(var a=this.groupSizes,f=a.length,g=f;n>=g;)(g<<=1)<0&&Fe(16,""+n);this.groupSizes=new Uint32Array(g),this.groupSizes.set(a),this.length=g;for(var y=f;y<g;y++)this.groupSizes[y]=0}for(var S=this.indexOfGroup(n+1),E=0,C=s.length;E<C;E++)this.tag.insertRule(S,s[E])&&(this.groupSizes[n]++,S++)},e.clearGroup=function(n){if(n<this.length){var s=this.groupSizes[n],a=this.indexOfGroup(n),f=a+s;this.groupSizes[n]=0;for(var g=a;g<f;g++)this.tag.deleteRule(a)}},e.getGroup=function(n){var s="";if(n>=this.length||this.groupSizes[n]===0)return s;for(var a=this.groupSizes[n],f=this.indexOfGroup(n),g=f+a,y=f;y<g;y++)s+=this.tag.getRule(y)+`/*!sc*/
9
- `;return s},r}(),Ft=new Map,Dt=new Map,dt=1,Lt=function(r){if(Ft.has(r))return Ft.get(r);for(;Dt.has(dt);)dt++;var e=dt++;return Ft.set(r,e),Dt.set(e,r),e},Qr=function(r){return Dt.get(r)},_r=function(r,e){e>=dt&&(dt=e+1),Ft.set(r,e),Dt.set(e,r)},qr="style["+Ze+'][data-styled-version="5.3.11"]',en=new RegExp("^"+Ze+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),tn=function(r,e,n){for(var s,a=n.split(","),f=0,g=a.length;f<g;f++)(s=a[f])&&r.registerName(e,s)},rn=function(r,e){for(var n=(e.textContent||"").split(`/*!sc*/
10
- `),s=[],a=0,f=n.length;a<f;a++){var g=n[a].trim();if(g){var y=g.match(en);if(y){var S=0|parseInt(y[1],10),E=y[2];S!==0&&(_r(E,S),tn(r,E,y[3]),r.getTag().insertRules(S,s)),s.length=0}else s.push(g)}}},_t=function(){return Y.nc},wr=function(r){var e=document.head,n=r||e,s=document.createElement("style"),a=function(y){for(var S=y.childNodes,E=S.length;E>=0;E--){var C=S[E];if(C&&C.nodeType===1&&C.hasAttribute(Ze))return C}}(n),f=a!==void 0?a.nextSibling:null;s.setAttribute(Ze,"active"),s.setAttribute("data-styled-version","5.3.11");var g=_t();return g&&s.setAttribute("nonce",g),n.insertBefore(s,f),s},nn=function(){function r(n){var s=this.element=wr(n);s.appendChild(document.createTextNode("")),this.sheet=function(a){if(a.sheet)return a.sheet;for(var f=document.styleSheets,g=0,y=f.length;g<y;g++){var S=f[g];if(S.ownerNode===a)return S}Fe(17)}(s),this.length=0}var e=r.prototype;return e.insertRule=function(n,s){try{return this.sheet.insertRule(s,n),this.length++,!0}catch{return!1}},e.deleteRule=function(n){this.sheet.deleteRule(n),this.length--},e.getRule=function(n){var s=this.sheet.cssRules[n];return s!==void 0&&typeof s.cssText=="string"?s.cssText:""},r}(),sn=function(){function r(n){var s=this.element=wr(n);this.nodes=s.childNodes,this.length=0}var e=r.prototype;return e.insertRule=function(n,s){if(n<=this.length&&n>=0){var a=document.createTextNode(s),f=this.nodes[n];return this.element.insertBefore(a,f||null),this.length++,!0}return!1},e.deleteRule=function(n){this.element.removeChild(this.nodes[n]),this.length--},e.getRule=function(n){return n<this.length?this.nodes[n].textContent:""},r}(),on=function(){function r(n){this.rules=[],this.length=0}var e=r.prototype;return e.insertRule=function(n,s){return n<=this.length&&(this.rules.splice(n,0,s),this.length++,!0)},e.deleteRule=function(n){this.rules.splice(n,1),this.length--},e.getRule=function(n){return n<this.length?this.rules[n]:""},r}(),xr=Qt,an={isServer:!Qt,useCSSOMInjection:!Xr},ft=function(){function r(n,s,a){n===void 0&&(n=Xe),s===void 0&&(s={}),this.options=je({},an,{},n),this.gs=s,this.names=new Map(a),this.server=!!n.isServer,!this.server&&Qt&&xr&&(xr=!1,function(f){for(var g=document.querySelectorAll(qr),y=0,S=g.length;y<S;y++){var E=g[y];E&&E.getAttribute(Ze)!=="active"&&(rn(f,E),E.parentNode&&E.parentNode.removeChild(E))}}(this))}r.registerId=function(n){return Lt(n)};var e=r.prototype;return e.reconstructWithOptions=function(n,s){return s===void 0&&(s=!0),new r(je({},this.options,{},n),this.gs,s&&this.names||void 0)},e.allocateGSInstance=function(n){return this.gs[n]=(this.gs[n]||0)+1},e.getTag=function(){return this.tag||(this.tag=(a=(s=this.options).isServer,f=s.useCSSOMInjection,g=s.target,n=a?new on(g):f?new nn(g):new sn(g),new Jr(n)));var n,s,a,f,g},e.hasNameForId=function(n,s){return this.names.has(n)&&this.names.get(n).has(s)},e.registerName=function(n,s){if(Lt(n),this.names.has(n))this.names.get(n).add(s);else{var a=new Set;a.add(s),this.names.set(n,a)}},e.insertRules=function(n,s,a){this.registerName(n,s),this.getTag().insertRules(Lt(n),a)},e.clearNames=function(n){this.names.has(n)&&this.names.get(n).clear()},e.clearRules=function(n){this.getTag().clearGroup(Lt(n)),this.clearNames(n)},e.clearTag=function(){this.tag=void 0},e.toString=function(){return function(n){for(var s=n.getTag(),a=s.length,f="",g=0;g<a;g++){var y=Qr(g);if(y!==void 0){var S=n.names.get(y),E=s.getGroup(g);if(S&&E&&S.size){var C=Ze+".g"+g+'[id="'+y+'"]',P="";S!==void 0&&S.forEach(function(W){W.length>0&&(P+=W+",")}),f+=""+E+C+'{content:"'+P+`"}/*!sc*/
11
- `}}}return f}(this)},r}(),cn=/(a)(d)/gi,Sr=function(r){return String.fromCharCode(r+(r>25?39:97))};function qt(r){var e,n="";for(e=Math.abs(r);e>52;e=e/52|0)n=Sr(e%52)+n;return(Sr(e%52)+n).replace(cn,"$1-$2")}var at=function(r,e){for(var n=e.length;n;)r=33*r^e.charCodeAt(--n);return r},Ar=function(r){return at(5381,r)};function Er(r){for(var e=0;e<r.length;e+=1){var n=r[e];if(ot(n)&&!Jt(n))return!1}return!0}var ln=Ar("5.3.11"),un=function(){function r(e,n,s){this.rules=e,this.staticRulesId="",this.isStatic=(s===void 0||s.isStatic)&&Er(e),this.componentId=n,this.baseHash=at(ln,n),this.baseStyle=s,ft.registerId(n)}return r.prototype.generateAndInjectStyles=function(e,n,s){var a=this.componentId,f=[];if(this.baseStyle&&f.push(this.baseStyle.generateAndInjectStyles(e,n,s)),this.isStatic&&!s.hash)if(this.staticRulesId&&n.hasNameForId(a,this.staticRulesId))f.push(this.staticRulesId);else{var g=nt(this.rules,e,n,s).join(""),y=qt(at(this.baseHash,g)>>>0);if(!n.hasNameForId(a,y)){var S=s(g,"."+y,void 0,a);n.insertRules(a,y,S)}f.push(y),this.staticRulesId=y}else{for(var E=this.rules.length,C=at(this.baseHash,s.hash),P="",W=0;W<E;W++){var H=this.rules[W];if(typeof H=="string")P+=H;else if(H){var N=nt(H,e,n,s),K=Array.isArray(N)?N.join(""):N;C=at(C,K+W),P+=K}}if(P){var U=qt(C>>>0);if(!n.hasNameForId(a,U)){var ae=s(P,"."+U,void 0,a);n.insertRules(a,U,ae)}f.push(U)}}return f.join(" ")},r}(),pn=/^\s*\/\/.*$/gm,dn=[":","[",".","#"];function Or(r){var e,n,s,a,f=r===void 0?Xe:r,g=f.options,y=g===void 0?Xe:g,S=f.plugins,E=S===void 0?$t:S,C=new It(y),P=[],W=function(K){function U(ae){if(ae)try{K(ae+"}")}catch{}}return function(ae,Z,be,de,he,Je,ct,Re,ze,Qe){switch(ae){case 1:if(ze===0&&Z.charCodeAt(0)===64)return K(Z+";"),"";break;case 2:if(Re===0)return Z+"/*|*/";break;case 3:switch(Re){case 102:case 112:return K(be[0]+Z),"";default:return Z+(Qe===0?"/*|*/":"")}case-2:Z.split("/*|*/}").forEach(U)}}}(function(K){P.push(K)}),H=function(K,U,ae){return U===0&&dn.indexOf(ae[n.length])!==-1||ae.match(a)?K:"."+e};function N(K,U,ae,Z){Z===void 0&&(Z="&");var be=K.replace(pn,""),de=U&&ae?ae+" "+U+" { "+be+" }":be;return e=Z,n=U,s=new RegExp("\\"+n+"\\b","g"),a=new RegExp("(\\"+n+"\\b){2,}"),C(ae||!U?"":U,de)}return C.use([].concat(E,[function(K,U,ae){K===2&&ae.length&&ae[0].lastIndexOf(n)>0&&(ae[0]=ae[0].replace(s,H))},W,function(K){if(K===-2){var U=P;return P=[],U}}])),N.hash=E.length?E.reduce(function(K,U){return U.name||Fe(15),at(K,U.name)},5381).toString():"",N}var er=Ue().createContext(),is=er.Consumer,tr=Ue().createContext(),fn=(tr.Consumer,new ft),rr=Or();function nr(){return(0,Te.useContext)(er)||fn}function Cr(){return(0,Te.useContext)(tr)||rr}function hn(r){var e=(0,Te.useState)(r.stylisPlugins),n=e[0],s=e[1],a=nr(),f=(0,Te.useMemo)(function(){var y=a;return r.sheet?y=r.sheet:r.target&&(y=y.reconstructWithOptions({target:r.target},!1)),r.disableCSSOMInjection&&(y=y.reconstructWithOptions({useCSSOMInjection:!1})),y},[r.disableCSSOMInjection,r.sheet,r.target]),g=(0,Te.useMemo)(function(){return Or({options:{prefix:!r.disableVendorPrefixes},plugins:n})},[r.disableVendorPrefixes,n]);return(0,Te.useEffect)(function(){Ye()(n,r.stylisPlugins)||s(r.stylisPlugins)},[r.stylisPlugins]),Ue().createElement(er.Provider,{value:f},Ue().createElement(tr.Provider,{value:g},r.children))}var Tr=function(){function r(e,n){var s=this;this.inject=function(a,f){f===void 0&&(f=rr);var g=s.name+f.hash;a.hasNameForId(s.id,g)||a.insertRules(s.id,g,f(s.rules,g,"@keyframes"))},this.toString=function(){return Fe(12,String(s.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=n}return r.prototype.getName=function(e){return e===void 0&&(e=rr),this.name+e.hash},r}(),gn=/([A-Z])/,mn=/([A-Z])/g,vn=/^ms-/,yn=function(r){return"-"+r.toLowerCase()};function Pr(r){return gn.test(r)?r.replace(mn,yn).replace(vn,"-ms-"):r}var Ir=function(r){return r==null||r===!1||r===""};function nt(r,e,n,s){if(Array.isArray(r)){for(var a,f=[],g=0,y=r.length;g<y;g+=1)(a=nt(r[g],e,n,s))!==""&&(Array.isArray(a)?f.push.apply(f,a):f.push(a));return f}if(Ir(r))return"";if(Jt(r))return"."+r.styledComponentId;if(ot(r)){if(typeof(E=r)!="function"||E.prototype&&E.prototype.isReactComponent||!e)return r;var S=r(e);return nt(S,e,n,s)}var E;return r instanceof Tr?n?(r.inject(n,s),r.getName(s)):r:Xt(r)?function C(P,W){var H,N,K=[];for(var U in P)P.hasOwnProperty(U)&&!Ir(P[U])&&(Array.isArray(P[U])&&P[U].isCss||ot(P[U])?K.push(Pr(U)+":",P[U],";"):Xt(P[U])?K.push.apply(K,C(P[U],U)):K.push(Pr(U)+": "+(H=U,(N=P[U])==null||typeof N=="boolean"||N===""?"":typeof N!="number"||N===0||H in jt||H.startsWith("--")?String(N).trim():N+"px")+";"));return W?[W+" {"].concat(K,["}"]):K}(r):r.toString()}var jr=function(r){return Array.isArray(r)&&(r.isCss=!0),r};function ht(r){for(var e=arguments.length,n=new Array(e>1?e-1:0),s=1;s<e;s++)n[s-1]=arguments[s];return ot(r)||Xt(r)?jr(nt(br($t,[r].concat(n)))):n.length===0&&r.length===1&&typeof r[0]=="string"?r:jr(nt(br(r,n)))}var os=/invalid hook call/i,as=new Set,cs=function(r,e){if(0)var n,s,a},sr=function(r,e,n){return n===void 0&&(n=Xe),r.theme!==n.theme&&r.theme||e||n.theme},bn=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,wn=/(^-|-$)/g;function ir(r){return r.replace(bn,"-").replace(wn,"")}var or=function(r){return qt(Ar(r)>>>0)};function Nt(r){return typeof r=="string"&&!0}var ar=function(r){return typeof r=="function"||typeof r=="object"&&r!==null&&!Array.isArray(r)},xn=function(r){return r!=="__proto__"&&r!=="constructor"&&r!=="prototype"};function Sn(r,e,n){var s=r[n];ar(e)&&ar(s)?Mr(s,e):r[n]=e}function Mr(r){for(var e=arguments.length,n=new Array(e>1?e-1:0),s=1;s<e;s++)n[s-1]=arguments[s];for(var a=0,f=n;a<f.length;a++){var g=f[a];if(ar(g))for(var y in g)xn(y)&&Sn(r,g[y],y)}return r}var st=Ue().createContext(),ls=st.Consumer;function us(r){var e=Mt(st),n=Hr(function(){return function(s,a){if(!s)return Fe(14);if(ot(s)){var f=s(a);return f}return Array.isArray(s)||typeof s!="object"?Fe(8):a?je({},a,{},s):s}(r.theme,e)},[r.theme,e]);return r.children?Rt.createElement(st.Provider,{value:n},r.children):null}var cr={};function Rr(r,e,n){var s=Jt(r),a=!Nt(r),f=e.attrs,g=f===void 0?$t:f,y=e.componentId,S=y===void 0?function(Z,be){var de=typeof Z!="string"?"sc":ir(Z);cr[de]=(cr[de]||0)+1;var he=de+"-"+or("5.3.11"+de+cr[de]);return be?be+"-"+he:he}(e.displayName,e.parentComponentId):y,E=e.displayName,C=E===void 0?function(Z){return Nt(Z)?"styled."+Z:"Styled("+Zt(Z)+")"}(r):E,P=e.displayName&&e.componentId?ir(e.displayName)+"-"+e.componentId:e.componentId||S,W=s&&r.attrs?Array.prototype.concat(r.attrs,g).filter(Boolean):g,H=e.shouldForwardProp;s&&r.shouldForwardProp&&(H=e.shouldForwardProp?function(Z,be,de){return r.shouldForwardProp(Z,be,de)&&e.shouldForwardProp(Z,be,de)}:r.shouldForwardProp);var N,K=new un(n,P,s?r.componentStyle:void 0),U=K.isStatic&&g.length===0,ae=function(Z,be){return function(de,he,Je,ct){var Re=de.attrs,ze=de.componentStyle,Qe=de.defaultProps,lt=de.foldedComponentIds,Me=de.shouldForwardProp,De=de.styledComponentId,Be=de.target,Pe=function(V,b,ee){V===void 0&&(V=Xe);var O=je({},b,{theme:V}),fe={};return ee.forEach(function(te){var ie,G,we,Ie=te;for(ie in ot(Ie)&&(Ie=Ie(O)),Ie)O[ie]=fe[ie]=ie==="className"?(G=fe[ie],we=Ie[ie],G&&we?G+" "+we:G||we):Ie[ie]}),[O,fe]}(sr(he,(0,Te.useContext)(st),Qe)||Xe,he,Re),gt=Pe[0],Le=Pe[1],$e=function(V,b,ee,O){var fe=nr(),te=Cr(),ie=b?V.generateAndInjectStyles(Xe,fe,te):V.generateAndInjectStyles(ee,fe,te);return ie}(ze,ct,gt,void 0),mt=Je,ut=Le.$as||he.$as||Le.as||he.as||Be,vt=Nt(ut),$=Le!==he?je({},he,{},Le):he,I={};for(var M in $)M[0]!=="$"&&M!=="as"&&(M==="forwardedAs"?I.as=$[M]:(Me?Me(M,yr,ut):!vt||yr(M))&&(I[M]=$[M]));return he.style&&Le.style!==he.style&&(I.style=je({},he.style,{},Le.style)),I.className=Array.prototype.concat(lt,De,$e!==De?$e:null,he.className,Le.className).filter(Boolean).join(" "),I.ref=mt,(0,Te.createElement)(ut,I)}(N,Z,be,U)};return ae.displayName=C,(N=Ue().forwardRef(ae)).attrs=W,N.componentStyle=K,N.displayName=C,N.shouldForwardProp=H,N.foldedComponentIds=s?Array.prototype.concat(r.foldedComponentIds,r.styledComponentId):$t,N.styledComponentId=P,N.target=s?r.target:r,N.withComponent=function(Z){var be=e.componentId,de=function(Je,ct){if(Je==null)return{};var Re,ze,Qe={},lt=Object.keys(Je);for(ze=0;ze<lt.length;ze++)Re=lt[ze],ct.indexOf(Re)>=0||(Qe[Re]=Je[Re]);return Qe}(e,["componentId"]),he=be&&be+"-"+(Nt(Z)?Z:ir(Zt(Z)));return Rr(Z,je({},de,{attrs:W,componentId:he}),n)},Object.defineProperty(N,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(Z){this._foldedDefaultProps=s?Mr({},r.defaultProps,Z):Z}}),Object.defineProperty(N,"toString",{value:function(){return"."+N.styledComponentId}}),a&&Gr()(N,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),N}var $r=function(r){return function e(n,s,a){if(a===void 0&&(a=Xe),!(0,rt.isValidElementType)(s))return Fe(1,String(s));var f=function(){return n(s,a,ht.apply(void 0,arguments))};return f.withConfig=function(g){return e(n,s,je({},a,{},g))},f.attrs=function(g){return e(n,s,je({},a,{attrs:Array.prototype.concat(a.attrs,g).filter(Boolean)}))},f}(Rr,r)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","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","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(r){$r[r]=$r(r)});var An=function(){function r(n,s){this.rules=n,this.componentId=s,this.isStatic=Er(n),ft.registerId(this.componentId+1)}var e=r.prototype;return e.createStyles=function(n,s,a,f){var g=f(nt(this.rules,s,a,f).join(""),""),y=this.componentId+n;a.insertRules(y,y,g)},e.removeStyles=function(n,s){s.clearRules(this.componentId+n)},e.renderStyles=function(n,s,a,f){n>2&&ft.registerId(this.componentId+n),this.removeStyles(n,a),this.createStyles(n,s,a,f)},r}();function ps(r){for(var e=arguments.length,n=new Array(e>1?e-1:0),s=1;s<e;s++)n[s-1]=arguments[s];var a=ht.apply(void 0,[r].concat(n)),f="sc-global-"+or(JSON.stringify(a)),g=new An(a,f);function y(E){var C=nr(),P=Cr(),W=Mt(st),H=Wr(C.allocateGSInstance(f)).current;return C.server&&S(H,E,C,W,P),Kr(function(){if(!C.server)return S(H,E,C,W,P),function(){return g.removeStyles(H,C)}},[H,E,C,W,P]),null}function S(E,C,P,W,H){if(g.isStatic)g.renderStyles(E,Zr,P,H);else{var N=je({},C,{theme:sr(C,W,y.defaultProps)});g.renderStyles(E,N,P,H)}}return Rt.memo(y)}function ds(r){for(var e=arguments.length,n=new Array(e>1?e-1:0),s=1;s<e;s++)n[s-1]=arguments[s];var a=ht.apply(void 0,[r].concat(n)).join(""),f=or(a);return new Tr(f,a)}var fs=function(){function r(){var n=this;this._emitSheetCSS=function(){var s=n.instance.toString();if(!s)return"";var a=_t();return"<style "+[a&&'nonce="'+a+'"',Ze+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+s+"</style>"},this.getStyleTags=function(){return n.sealed?Fe(2):n._emitSheetCSS()},this.getStyleElement=function(){var s;if(n.sealed)return Fe(2);var a=((s={})[Ze]="",s["data-styled-version"]="5.3.11",s.dangerouslySetInnerHTML={__html:n.instance.toString()},s),f=_t();return f&&(a.nonce=f),[Ue().createElement("style",je({},a,{key:"sc-0-0"}))]},this.seal=function(){n.sealed=!0},this.instance=new ft({isServer:!0}),this.sealed=!1}var e=r.prototype;return e.collectStyles=function(n){return this.sealed?Fe(2):Ue().createElement(hn,{sheet:this.instance},n)},e.interleaveWithNodeStream=function(n){return Fe(3)},r}(),hs=function(r){var e=Rt.forwardRef(function(n,s){var a=Mt(st),f=r.defaultProps,g=sr(n,a,f);return Rt.createElement(r,je({},n,{theme:g,ref:s}))});return Yr(e,r),e.displayName="WithTheme("+Zt(r)+")",e},gs=function(){return Mt(st)},ms=null;const vs=null,En=r=>Object.keys(r).reduce((e,n)=>(e[n]=(s,...a)=>ht`
12
- @media (max-width: ${r[n]}) {
8
+ */var t=typeof Symbol=="function"&&Symbol.for,o=t?Symbol.for("react.element"):60103,c=t?Symbol.for("react.portal"):60106,l=t?Symbol.for("react.fragment"):60107,u=t?Symbol.for("react.strict_mode"):60108,d=t?Symbol.for("react.profiler"):60114,g=t?Symbol.for("react.provider"):60109,m=t?Symbol.for("react.context"):60110,v=t?Symbol.for("react.async_mode"):60111,w=t?Symbol.for("react.concurrent_mode"):60111,x=t?Symbol.for("react.forward_ref"):60112,T=t?Symbol.for("react.suspense"):60113,I=t?Symbol.for("react.suspense_list"):60120,D=t?Symbol.for("react.memo"):60115,L=t?Symbol.for("react.lazy"):60116,F=t?Symbol.for("react.block"):60121,z=t?Symbol.for("react.fundamental"):60117,X=t?Symbol.for("react.responder"):60118,ce=t?Symbol.for("react.scope"):60119;function R(S){if(typeof S=="object"&&S!==null){var le=S.$$typeof;switch(le){case o:switch(S=S.type,S){case v:case w:case l:case d:case u:case T:return S;default:switch(S=S&&S.$$typeof,S){case m:case x:case L:case D:case g:return S;default:return le}}case c:return le}}}function Q(S){return R(S)===w}p.AsyncMode=v,p.ConcurrentMode=w,p.ContextConsumer=m,p.ContextProvider=g,p.Element=o,p.ForwardRef=x,p.Fragment=l,p.Lazy=L,p.Memo=D,p.Portal=c,p.Profiler=d,p.StrictMode=u,p.Suspense=T,p.isAsyncMode=function(S){return Q(S)||R(S)===v},p.isConcurrentMode=Q,p.isContextConsumer=function(S){return R(S)===m},p.isContextProvider=function(S){return R(S)===g},p.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===o},p.isForwardRef=function(S){return R(S)===x},p.isFragment=function(S){return R(S)===l},p.isLazy=function(S){return R(S)===L},p.isMemo=function(S){return R(S)===D},p.isPortal=function(S){return R(S)===c},p.isProfiler=function(S){return R(S)===d},p.isStrictMode=function(S){return R(S)===u},p.isSuspense=function(S){return R(S)===T},p.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===l||S===w||S===d||S===u||S===T||S===I||typeof S=="object"&&S!==null&&(S.$$typeof===L||S.$$typeof===D||S.$$typeof===g||S.$$typeof===m||S.$$typeof===x||S.$$typeof===z||S.$$typeof===X||S.$$typeof===ce||S.$$typeof===F)},p.typeOf=R},7020(i,p,t){"use strict";i.exports=t(5360)},162(i){i.exports=function(t,o,c,l){var u=c?c.call(l,t,o):void 0;if(u!==void 0)return!!u;if(t===o)return!0;if(typeof t!="object"||!t||typeof o!="object"||!o)return!1;var d=Object.keys(t),g=Object.keys(o);if(d.length!==g.length)return!1;for(var m=Object.prototype.hasOwnProperty.bind(o),v=0;v<d.length;v++){var w=d[v];if(!m(w))return!1;var x=t[w],T=o[w];if(u=c?c.call(l,x,T,w):void 0,u===!1||u===void 0&&x!==T)return!1}return!0}},4883(i){"use strict";i.exports=fr}};const qe={};function Y(i){const p=qe[i];if(p!==void 0)return p.exports;const t=qe[i]={id:i,loaded:!1,exports:{}};return wt[i](t,t.exports,Y),t.loaded=!0,t.exports}Y.n=i=>{const p=i&&i.__esModule?()=>i.default:()=>i;return Y.d(p,{a:p}),p},Y.d=(i,p)=>{if(Array.isArray(p))for(var t=0;t<p.length;){var o=p[t++],c=p[t++];Y.o(i,o)?c===0&&t++:c===0?Object.defineProperty(i,o,{enumerable:!0,value:p[t++]}):Object.defineProperty(i,o,{enumerable:!0,get:c})}else for(var o in p)Y.o(p,o)&&!Y.o(i,o)&&Object.defineProperty(i,o,{enumerable:!0,get:p[o]})},Y.o=(i,p)=>Object.hasOwn(i,p),Y.r=i=>{Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},Y.nmd=i=>(i.paths=[],i.children||(i.children=[]),i),(()=>{let i;globalThis.importScripts&&(i=globalThis.location+"");const p=globalThis.document;if(!i&&p&&(p.currentScript?.tagName.toUpperCase()==="SCRIPT"&&(i=p.currentScript.src),!i)){const t=p.getElementsByTagName("script");if(t.length){let o=t.length-1;for(;o>-1&&(!i||!/^http(s?):/.test(i));)i=t[o--].src}}if(!i)throw new Error("Automatic publicPath is not supported in this browser");i=i.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),Y.p=i})(),Y.nc=void 0;let zt={};return(()=>{"use strict";Y.r(zt),Y.d(zt,{CAppBridge:()=>ts,Event:()=>ne,LaunchMode:()=>Q,MicroAppManager:()=>S,ScriptLoader:()=>Ur,ScriptingObject:()=>ve,SecurityContext:()=>i,StyleLoader:()=>kr});var i=(n=>(n.USER="USER",n.PARTNER="PARTNER",n))(i||{}),p=Y(8313),t=Y.n(p),o=Y(2438),c=Y.n(o),l=Y(2154),u=Y.n(l),d=Y(2146),g=Y.n(d),m=Y(8970),v=Y.n(m);const w=JSON.parse('{"appId":"microfe","activeEnv":"localhost","googleTagManager":true,"sessionTimeoutWarnInterval":"7200000","sessionTimeoutInterval":"9000000","microFrontendApps":{"loanapp":{"name":"Loan","hostUrl":"./loan","development":{"files":["index.js"]},"production":{"files":["index.js"]}},"taskapp":{"name":"Task","hostUrl":"./task","mode":"development","development":{"files":["index.dev.js"]},"production":{"files":["index.js"]}},"travelhub":{"name":"TravelHub","hostUrl":"./travelhub","development":{"files":["app.js","landing.js","app.css","landing.css"]},"production":{"files":["app.js","landing.js","app.css","landing.css"]}},"flights":{"name":"Flights","hostUrl":"./flights","development":{"files":["app.js","app.css"]},"production":{"files":["app.js","app.css"]}},"hotels":{"name":"Hotels","hostUrl":"./hotels","development":{"files":["app.js","app.css"]},"production":{"files":["app.js","app.css"]}},"ssfapp":{"name":"SSF App","hostUrl":"./ssf-app","microappManager":"ssf"}},"serviceEndpoints":{"api":"","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"},"env":{"localhost":{"serviceEndpoints":{"api":"","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"dev":{"serviceEndpoints":{"api":"https://dev.api.puiservice.rd.elliemae.io","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"dev2":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"qa":{"serviceEndpoints":{"api":"https://dev.api.puiservice.rd.elliemae.io","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"qa2":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"qa3":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"int":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg-osb1":{"serviceEndpoints":{"api":"https://encompass-peg-api.elliemae.com","idp":"https://peg.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg-osb2":{"serviceEndpoints":{"api":"https://encompass-peg2-api.elliemae.com","idp":"https://peg.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg":{"serviceEndpoints":{"api":"https://peg2-west.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg-oapi-west":{"serviceEndpoints":{"api":"https://peg2-west.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg-oapi-east":{"serviceEndpoints":{"api":"https://peg2-east.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg2-oapi-east":{"serviceEndpoints":{"api":"https://peg2-east.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg3":{"serviceEndpoints":{"api":"https://pel1.api.ellielabs.com","idp":"https://peg3.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"stage":{"serviceEndpoints":{"api":"https://stg.api.elliemae.com","idp":"https://stg.idp.elliemae.com/authorize","logger":"https://api.ellielabs.com/diagnostics/v2/logging"}},"beta":{"serviceEndpoints":{"api":"https://concept.api.elliemae.com","idp":"https://concept.idp.elliemae.com/authorize","logger":"https://api.ellielabs.com/diagnostics/v2/logging"}},"demo":{"serviceEndpoints":{"api":"https://concept.api.elliemae.com","idp":"https://concept.idp.elliemae.com/authorize","logger":"https://api.ellielabs.com/diagnostics/v2/logging"}},"epc":{"serviceEndpoints":{"api":"https://concept.api.elliemae.com","idp":"https://concept.idp.elliemae.com/authorize","logger":"https://api.ellielabs.com/diagnostics/v2/logging"}},"prod":{"serviceEndpoints":{"api":"https://api.elliemae.com","idp":"https://idp.elliemae.com/authorize","logger":"https://api.ellielabs.com/diagnostics/v2/logging"}}}}'),x=n=>n.replace(/([^:]\/)\/+/g,"$1"),T=n=>{const e=document.createElement("a");return e.href=n,e.href},I=n=>n?.replace?.(/\/?$/,"/"),D=(n,e)=>`${n.replace(/\/+$/,"")}/${e.replace(/^\/+/,"")}`,L=n=>/^(\/|https?:\/\/)/.test(n),F=(n,e)=>{const r=I(e);if(L(r)){const{origin:s}=new URL(n,window.location.href);return x(new URL(r,s).href)}return x(new URL(r,I(n)).href)},z=(n,e)=>x(new URL("manifest.json",F(n,e)).href),X=()=>window.navigator.userAgent.includes("jsdom"),ce=n=>n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),R=n=>{try{if(new URL(n,window.location.href).origin===window.location.origin)return n;const r=window.location.hostname==="localhost"?"latest":window.emui?.version?.match(/^(\d+\.\d+)/)?.[1]??"latest";return`${window.location.origin}/${r}/frame.html`}catch{return n}};var Q=(n=>(n.DEVELOPMENT="development",n.PRODUCTION="production",n))(Q||{}),S=(n=>(n.SSF="ssf",n.APPSDK="appsdk",n))(S||{});class le{#e=w;#t;#r;constructor(e){this.#t=e?.version||"latest",this.#r=I(e?.baseUrl||"")}#o=e=>{const{activeEnv:r,env:s,...a}=e,f=s[r]||{};this.#e=v()({},a,f)};get=(e="",r=null)=>t()(c()(this.#e,e,r));set=(e,r)=>{u()(this.#e,e,r)};has=(e="")=>g()(this.#e,e);setPreloadedConfig=e=>{this.#e=e};#n=()=>{if(!/(?:\/)(\d+\.\d+|latest)(?:\/?)?$/.test(this.#r)){const r=this.#t.match(/^(?:\d+\.\d+)*/g);return I(`${this.#r}${r?.[0]||"latest"}`)}return this.#r};#i=()=>{const e=this.#n();return I(e.replace(/(\/)(\d+\.\d+|latest)\/?$/,"$1latest/"))};load=async e=>{const r=e??`${this.#n()}app.config.json`,s=`${this.#i()}app.config.json`,a=h=>!e&&h!==s;let f;try{f=await fetch(r)}catch(h){if(a(r)){await this.load(s);return}throw new Error("Failed to fetch app config",{cause:h})}if(f.ok)try{const h=await f.json();this.#o(h)}catch(h){if(a(r)){await this.load(s);return}throw new Error("Failed to parse app config",{cause:h})}else if(a(r))await this.load(s);else throw new Error("Failed to load app config")}}class ne{name;objectId;id;constructor(e){const{name:r,objectId:s}=e;if(!r)throw new Error("Event name is required");if(!s)throw new Error("Scripting object id is required");this.objectId=s,this.name=r,this.id=`${this.objectId}.${this.name}`.toLowerCase()}}class ue{static[Symbol.hasInstance](e){return typeof e=="object"&&e!==null&&"getType"in e&&typeof e.getType=="function"&&e.getType()==="ProxyEvent"}#e;objectId;name;id;getType(){return"ProxyEvent"}constructor(e){const{name:r,objectId:s,eventSrc:a}=e;if(!r)throw new Error("Event name is required");if(!s)throw new Error("Scripting object id is required");if(!a)throw new Error("Event source is required");this.objectId=s,this.name=r,this.#e=a,this.id=`${this.objectId}.${this.name}`.toLowerCase()}subscribe=e=>this.#e.subscribe({eventId:this.id,callback:e});unsubscribe=e=>{this.#e.unsubscribe({eventId:this.id,token:e})}}const oe=n=>n instanceof ne,me=(n,e)=>`${n.toLowerCase()}.${e.toLowerCase()}`,pe="function",B=(n,e)=>typeof n===pe&&!!e&&!e.startsWith("_");class ve{#e;#t="Object";constructor(e,r){this.#e=e,this.#t=r||this.#t}get id(){return this.#e}get objectType(){return this.#t}_toJSON=()=>{const e=[],r=[];return Object.keys(this).forEach(s=>{const a=this[s];oe(a)?r.push(s):B(a,s)&&e.push(s)}),{objectId:this.#e,objectType:this.#t,functions:e,events:r}};_dispose=()=>{};dispose=()=>{}}var _=Y(6712),Ae=Y.n(_);const et={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let it;const xt=new Uint8Array(16);function Bt(){if(!it&&(it=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!it))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return it(xt)}var Vt;const ye=[];for(let n=0;n<256;++n)ye.push((n+256).toString(16).slice(1));function St(n,e=0){return ye[n[e+0]]+ye[n[e+1]]+ye[n[e+2]]+ye[n[e+3]]+"-"+ye[n[e+4]]+ye[n[e+5]]+"-"+ye[n[e+6]]+ye[n[e+7]]+"-"+ye[n[e+8]]+ye[n[e+9]]+"-"+ye[n[e+10]]+ye[n[e+11]]+ye[n[e+12]]+ye[n[e+13]]+ye[n[e+14]]+ye[n[e+15]]}function hr(n,e=0){const r=St(n,e);if(!Vt(r))throw TypeError("Stringified UUID is invalid");return r}const gr=null;function Gt(n,e,r){if(et.randomUUID&&!e&&!n)return et.randomUUID();n=n||{};const s=n.random||(n.rng||Bt)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,e){r=r||0;for(let a=0;a<16;++a)e[r+a]=s[a];return e}return St(s)}const At=Gt;var tt=(n=>(n.Analytics="analytics",n.Application="application",n.Auth="auth",n.Form="form",n.Global="global",n.Http="http",n.Loan="loan",n.LoanV2="loanV2",n.MemStorage="memstorage",n.Module="module",n.Service="service",n.Session="session",n.Styling="styling",n.Transaction="transaction",n.TransactionTemplate="transactiontemplate",n.WebSocket="websocket",n))(tt||{});const Et="module";var mr=null,vr=null;class Ht{#e=e=>e.trim().toLowerCase();#t=new Map;#r=new Map;#o=e=>{const{so:r,guestId:s,onDuplicate:a="throw",securityContext:f}=e,h=this.#e(r.id),y={so:r,guestId:s,securityContext:f},A=this.#r.get(s);if(!A){this.#r.set(s,new Map([[h,y]]));return}if(A.has(h)){if(a==="ignore")return;throw new Error(`Scripting Object ${r.id} already exists for guest ${s}`)}A.set(h,y)};#n=({so:e})=>{if(e._dispose&&typeof e._dispose=="function")try{e._dispose()}catch{}};#i=({objectId:e,guestId:r})=>{if(e===Et&&!r)for(const[,a]of this.#r){const f=a.get(e);if(f)return f}const s=r?this.#r.get(r):null;return s?s.get(e)??null:null};#s=({objectId:e,guestId:r}={})=>{if(r){if(!e){const a=this.#r.get(r);a&&a.forEach(this.#n),this.#r.delete(r);return}const s=this.#r.get(r);if(s){const a=s.get(e);a&&this.#n(a),s.delete(e)}}else e&&this.#r.forEach(s=>{const a=s.get(e);a&&this.#n(a),s.delete(e)})};addScriptingObject=(e,r)=>{const{guestId:s,onDuplicate:a="throw",securityContext:f}=r||{};if(!e?.id||!e?._toJSON)throw new Error("Object is not derived from ScriptingObject");const h=this.#e(e.id);if(h===Et&&!s)throw new Error("Guest id is required to add Module scripting object");if(s){this.#o({so:e,...r,guestId:s,onDuplicate:a});return}if(this.#t.has(h)){if(a==="ignore")return;throw new Error(`Scripting Object ${e.id} already exists`)}this.#t.set(h,{so:e,guestId:s,securityContext:f})};getObject=(e,r)=>{const s=this.#e(e);let a=this.#i({objectId:s,guestId:r?.id});a=a??this.#t.get(s)??null;const{so:f}=a||{};return f||null};has=(e,r)=>this.getObject(e,r)!==null;listScriptingObjects=e=>{const r=new Set(this.#t.keys()),s=this.#r.get(e);if(s)for(const a of s.keys())r.add(a);return Array.from(r)};removeScriptingObject=(e,r)=>{const s=this.#e(e);if(r)this.#s({objectId:s,guestId:r});else{this.#s({objectId:s});const a=this.#t.get(s);a&&this.#n(a),this.#t.delete(s)}};removeAllScriptingObjects=e=>{e?this.#s({guestId:e}):(this.#t.forEach(this.#n),this.#t.clear())}}class Wt{__TYPE__="Proxy";id;objectType;constructor(e,r){this.id=e,this.objectType=r}}const Ot=n=>n?.constructor?.name==="Proxy"||n?.constructor?.name==="ScriptingObjectProxy"||n?.__TYPE__==="Proxy";class Kt{#e=new Map;#t=new WeakMap;#r;constructor(e){this.#r=e}#o=(e,r)=>{const s=new Promise(a=>{setTimeout(()=>{a()},r)});return Promise.race([e,s])};#n=(e,r)=>{const s=r?.guestId;return!s||!e.guestId?!0:e.guestId===s};#i=e=>{const{eventName:r,scriptingObject:s,eventParams:a,listeners:f,eventOptions:h}=e;f.forEach(y=>{this.#n(y,h)&&(y.criteria&&!(a&&this.#c(a,y.criteria))||Promise.resolve(y.callback({obj:s,eventName:r,eventParams:a})).catch(A=>{this.#r?.warn(`Error in event listener for "${r}": ${A.message}`)}))})};#s=async({eventId:e,eventName:r,scriptingObject:s,eventParams:a,feedbackWaitTime:f,eventOptions:h})=>{const A=(this.#e.get(e)||[]).map(C=>!this.#n(C,h)||C.criteria&&!(a?this.#c(a,C.criteria):!1)?Promise.resolve():this.#o(C.callback({obj:s,eventName:r,eventParams:a}),f));return(await Promise.all(A)).flat(1/0).filter(C=>C!==void 0)};#c(e,r){return Object.entries(r).every(([s,a])=>{const f=e[s];if("eq"in a)return f===a.eq;if("in"in a)return Array.isArray(a.in)&&a.in.includes(f);if("includes"in a)return Array.isArray(f)&&f.includes(a.includes);if("gt"in a){const h=typeof f=="number"?f:Number(f);return!Number.isNaN(h)&&h>a.gt}if("lt"in a){const h=typeof f=="number"?f:Number(f);return!Number.isNaN(h)&&h<a.lt}if("regex"in a){let h=this.#t.get(a);if(h===void 0){try{h=new RegExp(a.regex)}catch{h=null}this.#t.set(a,h)}return h!==null&&typeof f=="string"&&h.test(f)}return!1})}dispatchEvent=async(e,r)=>{const{event:{id:s,name:a},eventParams:f,eventOptions:h}=r,{timeout:y}=h??{};if(!s)throw new Error("Event Id is required");const A=this.#e.get(s)||[];return!y||y<=0?(this.#i({eventName:a,scriptingObject:e,eventParams:f,listeners:A,eventOptions:h}),Promise.resolve()):this.#s({eventId:s,eventName:a,scriptingObject:e,eventParams:f,feedbackWaitTime:y,eventOptions:h})};subscribe=e=>{const{eventId:r,callback:s,criteria:a,guestId:f}=e;if(!r)throw new Error("eventId is required");if(!s)throw new Error("Callback is required");const h=this.#e.get(r)||[],y=At();return h.push({token:y,criteria:a,guestId:f,callback:s}),this.#e.set(r,h),y};unsubscribe=e=>{const{eventId:r,token:s}=e;if(!r)throw new Error("eventId id is required");if(s){const a=this.#e.get(r)||[],f=a.findIndex(h=>h.token===s);f>-1&&(a.splice(f,1),this.#e.set(r,a))}else this.#e.delete(r)};unsubscribeAll=()=>{this.#e.clear()};unsubscribeByGuestId=e=>{e&&this.#e.forEach((r,s)=>{const a=r.filter(f=>f.guestId!==e);a.length===0?this.#e.delete(s):a.length!==r.length&&this.#e.set(s,a)})}}const se=Y.p+"4cbbcfa9ded96b660559.html?resource",He="pui-app-container-",q=n=>{const e=n.src??se.default??se,r=R(e);if(!n.queryParams)return r;const s=n.queryParams.replace(/[^a-zA-Z0-9&=_.~%+-]/g,"");return`${r}${r.includes("?")?"&":"?"}${s}`},We=({documentEle:n,hostUrl:e,manifestPath:r,guestId:s})=>{const a=n.getElementById(He);a&&(a.id=`${a.id}${s}`);const f=F(e,r);let h=n.getElementsByTagName("base")?.[0];if(h){h.href=f;return}h=n.createElement("base"),h.href=f,n.getElementsByTagName("head")[0].appendChild(h)},Ke=({id:n,instanceId:e,manifestPath:r,hostUrl:s,options:a})=>new Promise((f,h)=>{const{signal:y}=a;if(y?.aborted){h(new DOMException("iframe creation aborted","AbortError"));return}const A=document.createElement("div");A.setAttribute("style","display: flex;width: 100%;height: 100%;flex-direction: column;overflow: hidden;");const E=document.createElement("iframe");E.setAttribute("id",e),E.setAttribute("data-testid",n),E.setAttribute("title",a.title),E.setAttribute("allowfullscreen","true"),E.setAttribute("allowtransparency","true"),a.permissionPolicy&&E.setAttribute("allow",a.permissionPolicy),a.sandbox&&E.setAttribute("sandbox",a.sandbox),E.setAttribute("style",a.style??"flex-grow: 1;border: none;margin: 0;padding: 0;display: block;min-width: 100%;height: 100%;"),E.setAttribute("src",q(a));const C=1e4;let P=!1,W,H;const N=()=>{clearTimeout(W),y?.removeEventListener("abort",H)},K=()=>y?.aborted?(P||(P=!0,N(),A.remove(),h(new DOMException("iframe creation aborted","AbortError"))),!0):!1;if(H=()=>{K()},K())return;y?.addEventListener("abort",H),W=setTimeout(()=>{P||(P=!0,N(),A.remove(),h(new Error(`iframe for ${n} failed to load within ${C}ms`)))},C),E.addEventListener("error",()=>{P||(P=!0,N(),A.remove(),h(new Error(`iframe for ${n} failed to load`)))}),E.addEventListener("load",()=>{P||K()||E.contentDocument&&(P=!0,N(),We({documentEle:E.contentDocument,hostUrl:s,manifestPath:r,guestId:n}),f(E))}),A.appendChild(E);const{containerId:U}=a;(document.getElementById(U??"")??document.body).appendChild(A)}),Ct=n=>document.getElementById(n),Ee={create:Ke,remove:n=>{const e=Ct(n);e&&e.parentElement?.remove()},get:Ct},Oe=()=>({breakpoints:["512px","768px","1024px","350px"],spaces:["0","4px","8px","12px","16px","32px","48px","56px","64px","72px"],fontSizes:["0.8461rem","0.9230rem","1rem","1.0769rem","1.2307rem","1.3846rem","1.8461rem","2.7692rem"],fontWeights:[100,200,300,400,500,600,700,800,900],lineHeights:["1rem","1.15rem","1.25rem","1.5rem"],letterSpacings:["normal","0.1rem","-0.05rem","0.25rem"],fonts:["proxima-nova, Arial, sans-serif"],colors:{neutral:["#FFFFFF","#F6F7F9","#EBEDF0","#E0E3E8","#CBCFD7","#B0B9C8","#8C93A6","#697489","#464F5C","#353C46","#25292F"],brand:["#F6FBFF","#EBF6FF","#A3D6FF","#52A6EC","#1394E5","#1E79C2","#006AA9","#005181","#C9E7FF"],success:["#E1F4ED","#E1F4ED","#289F6B","#207E56","#185D44"],warning:["#FFEFD8","#E06C29","#B25119","#853C12"],danger:["#FBEBED","#FBEBED","#ED5A64","#C64252","#A11B2B"]},shadows:["0 1px 5px 0 rgba(0, 0, 0, 0.13), 0 2px 4px 0 rgba(0, 0, 0, 0.2)","0 6px 20px 0 rgba(0, 0, 0, 0.24), 0 8px 17px 0 rgba(0, 0, 0, 0.19)","0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19)","0 16px 28px 0 rgba(0, 0, 0, 0.24), 0 25px 55px 0 rgba(0, 0, 0, 0.19)","0 27px 24px 0 rgba(0, 0, 0, 0.24), 0 40px 77px 0 rgba(0, 0, 0, 0.19)"],zIndex:[1e3,2e3,3e3,500,4e3],states:[null,"@media (prefers-reduced-motion: no-preference)","@media (prefers-reduced-motion: reduce)","&:first-child","&:last-child","&:odd","&:even","&:visited","&:checked","&:focus-within","&:hover","&:focus","&:focus-visible","&:active","&:disabled, &[aria-disabled=true]","&::placeholder"]});var rt=Y(7020),Te=Y(4883),Ue=Y.n(Te),Tt=Y(162),Ye=Y.n(Tt);function Pt(n){function e($,j,M,V,b){for(var ee=0,O=0,fe=0,te=0,ie,G,we=0,Ie=0,J,Ce=J=ie=0,re=0,xe=0,yt=0,Se=0,kt=M.length,bt=kt-1,Ne,k="",ge="",pr="",dr="",_e;re<kt;){if(G=M.charCodeAt(re),re===bt&&O+te+fe+ee!==0&&(O!==0&&(G=O===47?10:47),te=fe=ee=0,kt++,bt++),O+te+fe+ee===0){if(re===bt&&(0<xe&&(k=k.replace(W,"")),0<k.trim().length)){switch(G){case 32:case 9:case 59:case 13:case 10:break;default:k+=M.charAt(re)}G=59}switch(G){case 123:for(k=k.trim(),ie=k.charCodeAt(0),J=1,Se=++re;re<kt;){switch(G=M.charCodeAt(re)){case 123:J++;break;case 125:J--;break;case 47:switch(G=M.charCodeAt(re+1)){case 42:case 47:e:{for(Ce=re+1;Ce<bt;++Ce)switch(M.charCodeAt(Ce)){case 47:if(G===42&&M.charCodeAt(Ce-1)===42&&re+2!==Ce){re=Ce+1;break e}break;case 10:if(G===47){re=Ce+1;break e}}re=Ce}}break;case 91:G++;case 40:G++;case 34:case 39:for(;re++<bt&&M.charCodeAt(re)!==G;);}if(J===0)break;re++}switch(J=M.substring(Se,re),ie===0&&(ie=(k=k.replace(P,"").trim()).charCodeAt(0)),ie){case 64:switch(0<xe&&(k=k.replace(W,"")),G=k.charCodeAt(1),G){case 100:case 109:case 115:case 45:xe=j;break;default:xe=gt}if(J=e(j,xe,J,G,b+1),Se=J.length,0<$e&&(xe=r(gt,k,yt),_e=y(3,J,xe,j,De,Me,Se,G,b,V),k=xe.join(""),_e!==void 0&&(Se=(J=_e.trim()).length)===0&&(G=0,J="")),0<Se)switch(G){case 115:k=k.replace(Je,h);case 100:case 109:case 45:J=k+"{"+J+"}";break;case 107:k=k.replace(Z,"$1 $2"),J=k+"{"+J+"}",J=Pe===1||Pe===2&&f("@"+J,3)?"@-webkit-"+J+"@"+J:"@"+J;break;default:J=k+J,V===112&&(J=(ge+=J,""))}else J="";break;default:J=e(j,r(j,k,yt),J,V,b+1)}pr+=J,J=yt=xe=Ce=ie=0,k="",G=M.charCodeAt(++re);break;case 125:case 59:if(k=(0<xe?k.replace(W,""):k).trim(),1<(Se=k.length))switch(Ce===0&&(ie=k.charCodeAt(0),ie===45||96<ie&&123>ie)&&(Se=(k=k.replace(" ",":")).length),0<$e&&(_e=y(1,k,j,$,De,Me,ge.length,V,b,V))!==void 0&&(Se=(k=_e.trim()).length)===0&&(k="\0\0"),ie=k.charCodeAt(0),G=k.charCodeAt(1),ie){case 0:break;case 64:if(G===105||G===99){dr+=k+M.charAt(re);break}default:k.charCodeAt(Se-1)!==58&&(ge+=a(k,ie,G,k.charCodeAt(2)))}yt=xe=Ce=ie=0,k="",G=M.charCodeAt(++re)}}switch(G){case 13:case 10:O===47?O=0:1+ie===0&&V!==107&&0<k.length&&(xe=1,k+="\0"),0<$e*ut&&y(0,k,j,$,De,Me,ge.length,V,b,V),Me=1,De++;break;case 59:case 125:if(O+te+fe+ee===0){Me++;break}default:switch(Me++,Ne=M.charAt(re),G){case 9:case 32:if(te+ee+O===0)switch(we){case 44:case 58:case 9:case 32:Ne="";break;default:G!==32&&(Ne=" ")}break;case 0:Ne="\\0";break;case 12:Ne="\\f";break;case 11:Ne="\\v";break;case 38:te+O+ee===0&&(xe=yt=1,Ne="\f"+Ne);break;case 108:if(te+O+ee+Be===0&&0<Ce)switch(re-Ce){case 2:we===112&&M.charCodeAt(re-3)===58&&(Be=we);case 8:Ie===111&&(Be=Ie)}break;case 58:te+O+ee===0&&(Ce=re);break;case 44:O+fe+te+ee===0&&(xe=1,Ne+="\r");break;case 34:case 39:O===0&&(te=te===G?0:te===0?G:te);break;case 91:te+O+fe===0&&ee++;break;case 93:te+O+fe===0&&ee--;break;case 41:te+O+ee===0&&fe--;break;case 40:if(te+O+ee===0){if(ie===0)switch(2*we+3*Ie){case 533:break;default:ie=1}fe++}break;case 64:O+fe+te+ee+Ce+J===0&&(J=1);break;case 42:case 47:if(!(0<te+ee+fe))switch(O){case 0:switch(2*G+3*M.charCodeAt(re+1)){case 235:O=47;break;case 220:Se=re,O=42}break;case 42:G===47&&we===42&&Se+2!==re&&(M.charCodeAt(Se+2)===33&&(ge+=M.substring(Se,re+1)),Ne="",O=0)}}O===0&&(k+=Ne)}Ie=we,we=G,re++}if(Se=ge.length,0<Se){if(xe=j,0<$e&&(_e=y(2,ge,xe,$,De,Me,Se,V,b,V),_e!==void 0&&(ge=_e).length===0))return dr+ge+pr;if(ge=xe.join(",")+"{"+ge+"}",Pe*Be!==0){switch(Pe!==2||f(ge,2)||(Be=0),Be){case 111:ge=ge.replace(de,":-moz-$1")+ge;break;case 112:ge=ge.replace(be,"::-webkit-input-$1")+ge.replace(be,"::-moz-$1")+ge.replace(be,":-ms-input-$1")+ge}Be=0}}return dr+ge+pr}function r($,j,M){var V=j.trim().split(U);j=V;var b=V.length,ee=$.length;switch(ee){case 0:case 1:var O=0;for($=ee===0?"":$[0]+" ";O<b;++O)j[O]=s($,j[O],M).trim();break;default:var fe=O=0;for(j=[];O<b;++O)for(var te=0;te<ee;++te)j[fe++]=s($[te]+" ",V[O],M).trim()}return j}function s($,j,M){var V=j.charCodeAt(0);switch(33>V&&(V=(j=j.trim()).charCodeAt(0)),V){case 38:return j.replace(ae,"$1"+$.trim());case 58:return $.trim()+j.replace(ae,"$1"+$.trim());default:if(0<1*M&&0<j.indexOf("\f"))return j.replace(ae,($.charCodeAt(0)===58?"":"$1")+$.trim())}return $+j}function a($,j,M,V){var b=$+";",ee=2*j+3*M+4*V;if(ee===944){$=b.indexOf(":",9)+1;var O=b.substring($,b.length-1).trim();return O=b.substring(0,$).trim()+O+";",Pe===1||Pe===2&&f(O,1)?"-webkit-"+O+O:O}if(Pe===0||Pe===2&&!f(b,1))return b;switch(ee){case 1015:return b.charCodeAt(10)===97?"-webkit-"+b+b:b;case 951:return b.charCodeAt(3)===116?"-webkit-"+b+b:b;case 963:return b.charCodeAt(5)===110?"-webkit-"+b+b:b;case 1009:if(b.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+b+b;case 978:return"-webkit-"+b+"-moz-"+b+b;case 1019:case 983:return"-webkit-"+b+"-moz-"+b+"-ms-"+b+b;case 883:if(b.charCodeAt(8)===45)return"-webkit-"+b+b;if(0<b.indexOf("image-set(",11))return b.replace(lt,"$1-webkit-$2")+b;break;case 932:if(b.charCodeAt(4)===45)switch(b.charCodeAt(5)){case 103:return"-webkit-box-"+b.replace("-grow","")+"-webkit-"+b+"-ms-"+b.replace("grow","positive")+b;case 115:return"-webkit-"+b+"-ms-"+b.replace("shrink","negative")+b;case 98:return"-webkit-"+b+"-ms-"+b.replace("basis","preferred-size")+b}return"-webkit-"+b+"-ms-"+b+b;case 964:return"-webkit-"+b+"-ms-flex-"+b+b;case 1023:if(b.charCodeAt(8)!==99)break;return O=b.substring(b.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+O+"-webkit-"+b+"-ms-flex-pack"+O+b;case 1005:return N.test(b)?b.replace(H,":-webkit-")+b.replace(H,":-moz-")+b:b;case 1e3:switch(O=b.substring(13).trim(),j=O.indexOf("-")+1,O.charCodeAt(0)+O.charCodeAt(j)){case 226:O=b.replace(he,"tb");break;case 232:O=b.replace(he,"tb-rl");break;case 220:O=b.replace(he,"lr");break;default:return b}return"-webkit-"+b+"-ms-"+O+b;case 1017:if(b.indexOf("sticky",9)===-1)break;case 975:switch(j=(b=$).length-10,O=(b.charCodeAt(j)===33?b.substring(0,j):b).substring($.indexOf(":",7)+1).trim(),ee=O.charCodeAt(0)+(O.charCodeAt(7)|0)){case 203:if(111>O.charCodeAt(8))break;case 115:b=b.replace(O,"-webkit-"+O)+";"+b;break;case 207:case 102:b=b.replace(O,"-webkit-"+(102<ee?"inline-":"")+"box")+";"+b.replace(O,"-webkit-"+O)+";"+b.replace(O,"-ms-"+O+"box")+";"+b}return b+";";case 938:if(b.charCodeAt(5)===45)switch(b.charCodeAt(6)){case 105:return O=b.replace("-items",""),"-webkit-"+b+"-webkit-box-"+O+"-ms-flex-"+O+b;case 115:return"-webkit-"+b+"-ms-flex-item-"+b.replace(Re,"")+b;default:return"-webkit-"+b+"-ms-flex-line-pack"+b.replace("align-content","").replace(Re,"")+b}break;case 973:case 989:if(b.charCodeAt(3)!==45||b.charCodeAt(4)===122)break;case 931:case 953:if(Qe.test($)===!0)return(O=$.substring($.indexOf(":")+1)).charCodeAt(0)===115?a($.replace("stretch","fill-available"),j,M,V).replace(":fill-available",":stretch"):b.replace(O,"-webkit-"+O)+b.replace(O,"-moz-"+O.replace("fill-",""))+b;break;case 962:if(b="-webkit-"+b+(b.charCodeAt(5)===102?"-ms-"+b:"")+b,M+V===211&&b.charCodeAt(13)===105&&0<b.indexOf("transform",10))return b.substring(0,b.indexOf(";",27)+1).replace(K,"$1-webkit-$2")+b}return b}function f($,j){var M=$.indexOf(j===1?":":"{"),V=$.substring(0,j!==3?M:10);return M=$.substring(M+1,$.length-1),mt(j!==2?V:V.replace(ze,"$1"),M,j)}function h($,j){var M=a(j,j.charCodeAt(0),j.charCodeAt(1),j.charCodeAt(2));return M!==j+";"?M.replace(ct," or ($1)").substring(4):"("+j+")"}function y($,j,M,V,b,ee,O,fe,te,ie){for(var G=0,we=j,Ie;G<$e;++G)switch(Ie=Le[G].call(C,$,we,M,V,b,ee,O,fe,te,ie)){case void 0:case!1:case!0:case null:break;default:we=Ie}if(we!==j)return we}function A($){switch($){case void 0:case null:$e=Le.length=0;break;default:if(typeof $=="function")Le[$e++]=$;else if(typeof $=="object")for(var j=0,M=$.length;j<M;++j)A($[j]);else ut=!!$|0}return A}function E($){return $=$.prefix,$!==void 0&&(mt=null,$?typeof $!="function"?Pe=1:(Pe=2,mt=$):Pe=0),E}function C($,j){var M=$;if(33>M.charCodeAt(0)&&(M=M.trim()),vt=M,M=[vt],0<$e){var V=y(-1,j,M,M,De,Me,0,0,0,0);V!==void 0&&typeof V=="string"&&(j=V)}var b=e(gt,M,j,0,0);return 0<$e&&(V=y(-2,b,M,M,De,Me,b.length,0,0,0),V!==void 0&&(b=V)),vt="",Be=0,Me=De=1,b}var P=/^\0+/g,W=/[\0\r\f]/g,H=/: */g,N=/zoo|gra/,K=/([,: ])(transform)/g,U=/,\r+?/g,ae=/([\t\r\n ])*\f?&/g,Z=/@(k\w+)\s*(\S*)\s*/,be=/::(place)/g,de=/:(read-only)/g,he=/[svh]\w+-[tblr]{2}/,Je=/\(\s*(.*)\s*\)/g,ct=/([\s\S]*?);/g,Re=/-self|flex-/g,ze=/[^]*?(:[rp][el]a[\w-]+)[^]*/,Qe=/stretch|:\s*\w+\-(?:conte|avail)/,lt=/([^-])(image-set\()/,Me=1,De=1,Be=0,Pe=1,gt=[],Le=[],$e=0,mt=null,ut=0,vt="";return C.use=A,C.set=E,n!==void 0&&E(n),C}const It=Pt;var Yt={animationIterationCount: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,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};const jt=Yt;function ke(n){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=n(r)),e[r]}}var Ve=/^((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)-.*))$/,yr=ke(function(n){return Ve.test(n)||n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)<91}),Vr=Y(4674),Gr=Y.n(Vr),Mt,Hr,Rt,Wr,Kr,Yr;function je(){return(je=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(n[s]=r[s])}return n}).apply(this,arguments)}var br=function(n,e){for(var r=[n[0]],s=0,a=e.length;s<a;s+=1)r.push(e[s],n[s+1]);return r},Xt=function(n){return n!==null&&typeof n=="object"&&(n.toString?n.toString():Object.prototype.toString.call(n))==="[object Object]"&&!(0,rt.typeOf)(n)},$t=Object.freeze([]),Xe=Object.freeze({});function ot(n){return typeof n=="function"}function Zt(n){return n.displayName||n.name||"Component"}function Jt(n){return n&&typeof n.styledComponentId=="string"}var Ze=typeof process<"u"&&!0&&("MISSING_ENV_VAR".REACT_APP_SC_ATTR||"MISSING_ENV_VAR".SC_ATTR)||"data-styled",rs="5.3.11",Qt=typeof window<"u"&&"HTMLElement"in window,Xr=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&("MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY!==void 0&&"MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY!==""?"MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY!=="false"&&"MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY:"MISSING_ENV_VAR".SC_DISABLE_SPEEDY!==void 0&&"MISSING_ENV_VAR".SC_DISABLE_SPEEDY!==""&&"MISSING_ENV_VAR".SC_DISABLE_SPEEDY!=="false"&&"MISSING_ENV_VAR".SC_DISABLE_SPEEDY)),Zr=null,ns=null;function ss(){for(var n=arguments.length<=0?void 0:arguments[0],e=[],r=1,s=arguments.length;r<s;r+=1)e.push(r<0||arguments.length<=r?void 0:arguments[r]);return e.forEach(function(a){n=n.replace(/%[a-z]/,a)}),n}function Fe(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),s=1;s<e;s++)r[s-1]=arguments[s];throw new Error("An error occurred. See https://git.io/JUIaE#"+n+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var Jr=function(){function n(r){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=r}var e=n.prototype;return e.indexOfGroup=function(r){for(var s=0,a=0;a<r;a++)s+=this.groupSizes[a];return s},e.insertRules=function(r,s){if(r>=this.groupSizes.length){for(var a=this.groupSizes,f=a.length,h=f;r>=h;)(h<<=1)<0&&Fe(16,""+r);this.groupSizes=new Uint32Array(h),this.groupSizes.set(a),this.length=h;for(var y=f;y<h;y++)this.groupSizes[y]=0}for(var A=this.indexOfGroup(r+1),E=0,C=s.length;E<C;E++)this.tag.insertRule(A,s[E])&&(this.groupSizes[r]++,A++)},e.clearGroup=function(r){if(r<this.length){var s=this.groupSizes[r],a=this.indexOfGroup(r),f=a+s;this.groupSizes[r]=0;for(var h=a;h<f;h++)this.tag.deleteRule(a)}},e.getGroup=function(r){var s="";if(r>=this.length||this.groupSizes[r]===0)return s;for(var a=this.groupSizes[r],f=this.indexOfGroup(r),h=f+a,y=f;y<h;y++)s+=this.tag.getRule(y)+`/*!sc*/
9
+ `;return s},n}(),Ft=new Map,Dt=new Map,dt=1,Lt=function(n){if(Ft.has(n))return Ft.get(n);for(;Dt.has(dt);)dt++;var e=dt++;return Ft.set(n,e),Dt.set(e,n),e},Qr=function(n){return Dt.get(n)},_r=function(n,e){e>=dt&&(dt=e+1),Ft.set(n,e),Dt.set(e,n)},qr="style["+Ze+'][data-styled-version="5.3.11"]',en=new RegExp("^"+Ze+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),tn=function(n,e,r){for(var s,a=r.split(","),f=0,h=a.length;f<h;f++)(s=a[f])&&n.registerName(e,s)},rn=function(n,e){for(var r=(e.textContent||"").split(`/*!sc*/
10
+ `),s=[],a=0,f=r.length;a<f;a++){var h=r[a].trim();if(h){var y=h.match(en);if(y){var A=0|parseInt(y[1],10),E=y[2];A!==0&&(_r(E,A),tn(n,E,y[3]),n.getTag().insertRules(A,s)),s.length=0}else s.push(h)}}},_t=function(){return Y.nc},wr=function(n){var e=document.head,r=n||e,s=document.createElement("style"),a=function(y){for(var A=y.childNodes,E=A.length;E>=0;E--){var C=A[E];if(C&&C.nodeType===1&&C.hasAttribute(Ze))return C}}(r),f=a!==void 0?a.nextSibling:null;s.setAttribute(Ze,"active"),s.setAttribute("data-styled-version","5.3.11");var h=_t();return h&&s.setAttribute("nonce",h),r.insertBefore(s,f),s},nn=function(){function n(r){var s=this.element=wr(r);s.appendChild(document.createTextNode("")),this.sheet=function(a){if(a.sheet)return a.sheet;for(var f=document.styleSheets,h=0,y=f.length;h<y;h++){var A=f[h];if(A.ownerNode===a)return A}Fe(17)}(s),this.length=0}var e=n.prototype;return e.insertRule=function(r,s){try{return this.sheet.insertRule(s,r),this.length++,!0}catch{return!1}},e.deleteRule=function(r){this.sheet.deleteRule(r),this.length--},e.getRule=function(r){var s=this.sheet.cssRules[r];return s!==void 0&&typeof s.cssText=="string"?s.cssText:""},n}(),sn=function(){function n(r){var s=this.element=wr(r);this.nodes=s.childNodes,this.length=0}var e=n.prototype;return e.insertRule=function(r,s){if(r<=this.length&&r>=0){var a=document.createTextNode(s),f=this.nodes[r];return this.element.insertBefore(a,f||null),this.length++,!0}return!1},e.deleteRule=function(r){this.element.removeChild(this.nodes[r]),this.length--},e.getRule=function(r){return r<this.length?this.nodes[r].textContent:""},n}(),on=function(){function n(r){this.rules=[],this.length=0}var e=n.prototype;return e.insertRule=function(r,s){return r<=this.length&&(this.rules.splice(r,0,s),this.length++,!0)},e.deleteRule=function(r){this.rules.splice(r,1),this.length--},e.getRule=function(r){return r<this.length?this.rules[r]:""},n}(),xr=Qt,an={isServer:!Qt,useCSSOMInjection:!Xr},ft=function(){function n(r,s,a){r===void 0&&(r=Xe),s===void 0&&(s={}),this.options=je({},an,{},r),this.gs=s,this.names=new Map(a),this.server=!!r.isServer,!this.server&&Qt&&xr&&(xr=!1,function(f){for(var h=document.querySelectorAll(qr),y=0,A=h.length;y<A;y++){var E=h[y];E&&E.getAttribute(Ze)!=="active"&&(rn(f,E),E.parentNode&&E.parentNode.removeChild(E))}}(this))}n.registerId=function(r){return Lt(r)};var e=n.prototype;return e.reconstructWithOptions=function(r,s){return s===void 0&&(s=!0),new n(je({},this.options,{},r),this.gs,s&&this.names||void 0)},e.allocateGSInstance=function(r){return this.gs[r]=(this.gs[r]||0)+1},e.getTag=function(){return this.tag||(this.tag=(a=(s=this.options).isServer,f=s.useCSSOMInjection,h=s.target,r=a?new on(h):f?new nn(h):new sn(h),new Jr(r)));var r,s,a,f,h},e.hasNameForId=function(r,s){return this.names.has(r)&&this.names.get(r).has(s)},e.registerName=function(r,s){if(Lt(r),this.names.has(r))this.names.get(r).add(s);else{var a=new Set;a.add(s),this.names.set(r,a)}},e.insertRules=function(r,s,a){this.registerName(r,s),this.getTag().insertRules(Lt(r),a)},e.clearNames=function(r){this.names.has(r)&&this.names.get(r).clear()},e.clearRules=function(r){this.getTag().clearGroup(Lt(r)),this.clearNames(r)},e.clearTag=function(){this.tag=void 0},e.toString=function(){return function(r){for(var s=r.getTag(),a=s.length,f="",h=0;h<a;h++){var y=Qr(h);if(y!==void 0){var A=r.names.get(y),E=s.getGroup(h);if(A&&E&&A.size){var C=Ze+".g"+h+'[id="'+y+'"]',P="";A!==void 0&&A.forEach(function(W){W.length>0&&(P+=W+",")}),f+=""+E+C+'{content:"'+P+`"}/*!sc*/
11
+ `}}}return f}(this)},n}(),cn=/(a)(d)/gi,Sr=function(n){return String.fromCharCode(n+(n>25?39:97))};function qt(n){var e,r="";for(e=Math.abs(n);e>52;e=e/52|0)r=Sr(e%52)+r;return(Sr(e%52)+r).replace(cn,"$1-$2")}var at=function(n,e){for(var r=e.length;r;)n=33*n^e.charCodeAt(--r);return n},Ar=function(n){return at(5381,n)};function Er(n){for(var e=0;e<n.length;e+=1){var r=n[e];if(ot(r)&&!Jt(r))return!1}return!0}var ln=Ar("5.3.11"),un=function(){function n(e,r,s){this.rules=e,this.staticRulesId="",this.isStatic=(s===void 0||s.isStatic)&&Er(e),this.componentId=r,this.baseHash=at(ln,r),this.baseStyle=s,ft.registerId(r)}return n.prototype.generateAndInjectStyles=function(e,r,s){var a=this.componentId,f=[];if(this.baseStyle&&f.push(this.baseStyle.generateAndInjectStyles(e,r,s)),this.isStatic&&!s.hash)if(this.staticRulesId&&r.hasNameForId(a,this.staticRulesId))f.push(this.staticRulesId);else{var h=nt(this.rules,e,r,s).join(""),y=qt(at(this.baseHash,h)>>>0);if(!r.hasNameForId(a,y)){var A=s(h,"."+y,void 0,a);r.insertRules(a,y,A)}f.push(y),this.staticRulesId=y}else{for(var E=this.rules.length,C=at(this.baseHash,s.hash),P="",W=0;W<E;W++){var H=this.rules[W];if(typeof H=="string")P+=H;else if(H){var N=nt(H,e,r,s),K=Array.isArray(N)?N.join(""):N;C=at(C,K+W),P+=K}}if(P){var U=qt(C>>>0);if(!r.hasNameForId(a,U)){var ae=s(P,"."+U,void 0,a);r.insertRules(a,U,ae)}f.push(U)}}return f.join(" ")},n}(),pn=/^\s*\/\/.*$/gm,dn=[":","[",".","#"];function Or(n){var e,r,s,a,f=n===void 0?Xe:n,h=f.options,y=h===void 0?Xe:h,A=f.plugins,E=A===void 0?$t:A,C=new It(y),P=[],W=function(K){function U(ae){if(ae)try{K(ae+"}")}catch{}}return function(ae,Z,be,de,he,Je,ct,Re,ze,Qe){switch(ae){case 1:if(ze===0&&Z.charCodeAt(0)===64)return K(Z+";"),"";break;case 2:if(Re===0)return Z+"/*|*/";break;case 3:switch(Re){case 102:case 112:return K(be[0]+Z),"";default:return Z+(Qe===0?"/*|*/":"")}case-2:Z.split("/*|*/}").forEach(U)}}}(function(K){P.push(K)}),H=function(K,U,ae){return U===0&&dn.indexOf(ae[r.length])!==-1||ae.match(a)?K:"."+e};function N(K,U,ae,Z){Z===void 0&&(Z="&");var be=K.replace(pn,""),de=U&&ae?ae+" "+U+" { "+be+" }":be;return e=Z,r=U,s=new RegExp("\\"+r+"\\b","g"),a=new RegExp("(\\"+r+"\\b){2,}"),C(ae||!U?"":U,de)}return C.use([].concat(E,[function(K,U,ae){K===2&&ae.length&&ae[0].lastIndexOf(r)>0&&(ae[0]=ae[0].replace(s,H))},W,function(K){if(K===-2){var U=P;return P=[],U}}])),N.hash=E.length?E.reduce(function(K,U){return U.name||Fe(15),at(K,U.name)},5381).toString():"",N}var er=Ue().createContext(),is=er.Consumer,tr=Ue().createContext(),fn=(tr.Consumer,new ft),rr=Or();function nr(){return(0,Te.useContext)(er)||fn}function Cr(){return(0,Te.useContext)(tr)||rr}function hn(n){var e=(0,Te.useState)(n.stylisPlugins),r=e[0],s=e[1],a=nr(),f=(0,Te.useMemo)(function(){var y=a;return n.sheet?y=n.sheet:n.target&&(y=y.reconstructWithOptions({target:n.target},!1)),n.disableCSSOMInjection&&(y=y.reconstructWithOptions({useCSSOMInjection:!1})),y},[n.disableCSSOMInjection,n.sheet,n.target]),h=(0,Te.useMemo)(function(){return Or({options:{prefix:!n.disableVendorPrefixes},plugins:r})},[n.disableVendorPrefixes,r]);return(0,Te.useEffect)(function(){Ye()(r,n.stylisPlugins)||s(n.stylisPlugins)},[n.stylisPlugins]),Ue().createElement(er.Provider,{value:f},Ue().createElement(tr.Provider,{value:h},n.children))}var Tr=function(){function n(e,r){var s=this;this.inject=function(a,f){f===void 0&&(f=rr);var h=s.name+f.hash;a.hasNameForId(s.id,h)||a.insertRules(s.id,h,f(s.rules,h,"@keyframes"))},this.toString=function(){return Fe(12,String(s.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=r}return n.prototype.getName=function(e){return e===void 0&&(e=rr),this.name+e.hash},n}(),gn=/([A-Z])/,mn=/([A-Z])/g,vn=/^ms-/,yn=function(n){return"-"+n.toLowerCase()};function Pr(n){return gn.test(n)?n.replace(mn,yn).replace(vn,"-ms-"):n}var Ir=function(n){return n==null||n===!1||n===""};function nt(n,e,r,s){if(Array.isArray(n)){for(var a,f=[],h=0,y=n.length;h<y;h+=1)(a=nt(n[h],e,r,s))!==""&&(Array.isArray(a)?f.push.apply(f,a):f.push(a));return f}if(Ir(n))return"";if(Jt(n))return"."+n.styledComponentId;if(ot(n)){if(typeof(E=n)!="function"||E.prototype&&E.prototype.isReactComponent||!e)return n;var A=n(e);return nt(A,e,r,s)}var E;return n instanceof Tr?r?(n.inject(r,s),n.getName(s)):n:Xt(n)?function C(P,W){var H,N,K=[];for(var U in P)P.hasOwnProperty(U)&&!Ir(P[U])&&(Array.isArray(P[U])&&P[U].isCss||ot(P[U])?K.push(Pr(U)+":",P[U],";"):Xt(P[U])?K.push.apply(K,C(P[U],U)):K.push(Pr(U)+": "+(H=U,(N=P[U])==null||typeof N=="boolean"||N===""?"":typeof N!="number"||N===0||H in jt||H.startsWith("--")?String(N).trim():N+"px")+";"));return W?[W+" {"].concat(K,["}"]):K}(n):n.toString()}var jr=function(n){return Array.isArray(n)&&(n.isCss=!0),n};function ht(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),s=1;s<e;s++)r[s-1]=arguments[s];return ot(n)||Xt(n)?jr(nt(br($t,[n].concat(r)))):r.length===0&&n.length===1&&typeof n[0]=="string"?n:jr(nt(br(n,r)))}var os=/invalid hook call/i,as=new Set,cs=function(n,e){if(0)var r,s,a},sr=function(n,e,r){return r===void 0&&(r=Xe),n.theme!==r.theme&&n.theme||e||r.theme},bn=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,wn=/(^-|-$)/g;function ir(n){return n.replace(bn,"-").replace(wn,"")}var or=function(n){return qt(Ar(n)>>>0)};function Nt(n){return typeof n=="string"&&!0}var ar=function(n){return typeof n=="function"||typeof n=="object"&&n!==null&&!Array.isArray(n)},xn=function(n){return n!=="__proto__"&&n!=="constructor"&&n!=="prototype"};function Sn(n,e,r){var s=n[r];ar(e)&&ar(s)?Mr(s,e):n[r]=e}function Mr(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),s=1;s<e;s++)r[s-1]=arguments[s];for(var a=0,f=r;a<f.length;a++){var h=f[a];if(ar(h))for(var y in h)xn(y)&&Sn(n,h[y],y)}return n}var st=Ue().createContext(),ls=st.Consumer;function us(n){var e=Mt(st),r=Hr(function(){return function(s,a){if(!s)return Fe(14);if(ot(s)){var f=s(a);return f}return Array.isArray(s)||typeof s!="object"?Fe(8):a?je({},a,{},s):s}(n.theme,e)},[n.theme,e]);return n.children?Rt.createElement(st.Provider,{value:r},n.children):null}var cr={};function Rr(n,e,r){var s=Jt(n),a=!Nt(n),f=e.attrs,h=f===void 0?$t:f,y=e.componentId,A=y===void 0?function(Z,be){var de=typeof Z!="string"?"sc":ir(Z);cr[de]=(cr[de]||0)+1;var he=de+"-"+or("5.3.11"+de+cr[de]);return be?be+"-"+he:he}(e.displayName,e.parentComponentId):y,E=e.displayName,C=E===void 0?function(Z){return Nt(Z)?"styled."+Z:"Styled("+Zt(Z)+")"}(n):E,P=e.displayName&&e.componentId?ir(e.displayName)+"-"+e.componentId:e.componentId||A,W=s&&n.attrs?Array.prototype.concat(n.attrs,h).filter(Boolean):h,H=e.shouldForwardProp;s&&n.shouldForwardProp&&(H=e.shouldForwardProp?function(Z,be,de){return n.shouldForwardProp(Z,be,de)&&e.shouldForwardProp(Z,be,de)}:n.shouldForwardProp);var N,K=new un(r,P,s?n.componentStyle:void 0),U=K.isStatic&&h.length===0,ae=function(Z,be){return function(de,he,Je,ct){var Re=de.attrs,ze=de.componentStyle,Qe=de.defaultProps,lt=de.foldedComponentIds,Me=de.shouldForwardProp,De=de.styledComponentId,Be=de.target,Pe=function(V,b,ee){V===void 0&&(V=Xe);var O=je({},b,{theme:V}),fe={};return ee.forEach(function(te){var ie,G,we,Ie=te;for(ie in ot(Ie)&&(Ie=Ie(O)),Ie)O[ie]=fe[ie]=ie==="className"?(G=fe[ie],we=Ie[ie],G&&we?G+" "+we:G||we):Ie[ie]}),[O,fe]}(sr(he,(0,Te.useContext)(st),Qe)||Xe,he,Re),gt=Pe[0],Le=Pe[1],$e=function(V,b,ee,O){var fe=nr(),te=Cr(),ie=b?V.generateAndInjectStyles(Xe,fe,te):V.generateAndInjectStyles(ee,fe,te);return ie}(ze,ct,gt,void 0),mt=Je,ut=Le.$as||he.$as||Le.as||he.as||Be,vt=Nt(ut),$=Le!==he?je({},he,{},Le):he,j={};for(var M in $)M[0]!=="$"&&M!=="as"&&(M==="forwardedAs"?j.as=$[M]:(Me?Me(M,yr,ut):!vt||yr(M))&&(j[M]=$[M]));return he.style&&Le.style!==he.style&&(j.style=je({},he.style,{},Le.style)),j.className=Array.prototype.concat(lt,De,$e!==De?$e:null,he.className,Le.className).filter(Boolean).join(" "),j.ref=mt,(0,Te.createElement)(ut,j)}(N,Z,be,U)};return ae.displayName=C,(N=Ue().forwardRef(ae)).attrs=W,N.componentStyle=K,N.displayName=C,N.shouldForwardProp=H,N.foldedComponentIds=s?Array.prototype.concat(n.foldedComponentIds,n.styledComponentId):$t,N.styledComponentId=P,N.target=s?n.target:n,N.withComponent=function(Z){var be=e.componentId,de=function(Je,ct){if(Je==null)return{};var Re,ze,Qe={},lt=Object.keys(Je);for(ze=0;ze<lt.length;ze++)Re=lt[ze],ct.indexOf(Re)>=0||(Qe[Re]=Je[Re]);return Qe}(e,["componentId"]),he=be&&be+"-"+(Nt(Z)?Z:ir(Zt(Z)));return Rr(Z,je({},de,{attrs:W,componentId:he}),r)},Object.defineProperty(N,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(Z){this._foldedDefaultProps=s?Mr({},n.defaultProps,Z):Z}}),Object.defineProperty(N,"toString",{value:function(){return"."+N.styledComponentId}}),a&&Gr()(N,n,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),N}var $r=function(n){return function e(r,s,a){if(a===void 0&&(a=Xe),!(0,rt.isValidElementType)(s))return Fe(1,String(s));var f=function(){return r(s,a,ht.apply(void 0,arguments))};return f.withConfig=function(h){return e(r,s,je({},a,{},h))},f.attrs=function(h){return e(r,s,je({},a,{attrs:Array.prototype.concat(a.attrs,h).filter(Boolean)}))},f}(Rr,n)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","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","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(n){$r[n]=$r(n)});var An=function(){function n(r,s){this.rules=r,this.componentId=s,this.isStatic=Er(r),ft.registerId(this.componentId+1)}var e=n.prototype;return e.createStyles=function(r,s,a,f){var h=f(nt(this.rules,s,a,f).join(""),""),y=this.componentId+r;a.insertRules(y,y,h)},e.removeStyles=function(r,s){s.clearRules(this.componentId+r)},e.renderStyles=function(r,s,a,f){r>2&&ft.registerId(this.componentId+r),this.removeStyles(r,a),this.createStyles(r,s,a,f)},n}();function ps(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),s=1;s<e;s++)r[s-1]=arguments[s];var a=ht.apply(void 0,[n].concat(r)),f="sc-global-"+or(JSON.stringify(a)),h=new An(a,f);function y(E){var C=nr(),P=Cr(),W=Mt(st),H=Wr(C.allocateGSInstance(f)).current;return C.server&&A(H,E,C,W,P),Kr(function(){if(!C.server)return A(H,E,C,W,P),function(){return h.removeStyles(H,C)}},[H,E,C,W,P]),null}function A(E,C,P,W,H){if(h.isStatic)h.renderStyles(E,Zr,P,H);else{var N=je({},C,{theme:sr(C,W,y.defaultProps)});h.renderStyles(E,N,P,H)}}return Rt.memo(y)}function ds(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),s=1;s<e;s++)r[s-1]=arguments[s];var a=ht.apply(void 0,[n].concat(r)).join(""),f=or(a);return new Tr(f,a)}var fs=function(){function n(){var r=this;this._emitSheetCSS=function(){var s=r.instance.toString();if(!s)return"";var a=_t();return"<style "+[a&&'nonce="'+a+'"',Ze+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+s+"</style>"},this.getStyleTags=function(){return r.sealed?Fe(2):r._emitSheetCSS()},this.getStyleElement=function(){var s;if(r.sealed)return Fe(2);var a=((s={})[Ze]="",s["data-styled-version"]="5.3.11",s.dangerouslySetInnerHTML={__html:r.instance.toString()},s),f=_t();return f&&(a.nonce=f),[Ue().createElement("style",je({},a,{key:"sc-0-0"}))]},this.seal=function(){r.sealed=!0},this.instance=new ft({isServer:!0}),this.sealed=!1}var e=n.prototype;return e.collectStyles=function(r){return this.sealed?Fe(2):Ue().createElement(hn,{sheet:this.instance},r)},e.interleaveWithNodeStream=function(r){return Fe(3)},n}(),hs=function(n){var e=Rt.forwardRef(function(r,s){var a=Mt(st),f=n.defaultProps,h=sr(r,a,f);return Rt.createElement(n,je({},r,{theme:h,ref:s}))});return Yr(e,n),e.displayName="WithTheme("+Zt(n)+")",e},gs=function(){return Mt(st)},ms=null;const vs=null,En=n=>Object.keys(n).reduce((e,r)=>(e[r]=(s,...a)=>ht`
12
+ @media (max-width: ${n[r]}) {
13
13
  ${ht(s,...a)};
14
14
  }
15
- `,e),{}),On=r=>({space:{...r.spaces,xxxs:r.spaces[1],xxs:r.spaces[2],xxs2:r.spaces[3],xs:r.spaces[4],s:r.spaces[5],m:r.spaces[6],l:r.spaces[7],xl:r.spaces[8],xxl:r.spaces[9]},fontSizes:{...r.fontSizes,title:{500:r.fontSizes[3],600:r.fontSizes[4],700:r.fontSizes[5],800:r.fontSizes[6],900:r.fontSizes[7]},subTitle:{300:r.fontSizes[1],400:r.fontSizes[2]},label:{200:r.fontSizes[0],300:r.fontSizes[1],400:r.fontSizes[2]},value:{300:r.fontSizes[1],400:r.fontSizes[2],500:r.fontSizes[3],600:r.fontSizes[4]},hyperlink:{200:r.fontSizes[0],300:r.fontSizes[1],400:r.fontSizes[2]},microText:{200:r.fontSizes[0]}},fontWeights:{...r.fontWeights,thin:r.fontWeights[0],light:r.fontWeights[1],regular:r.fontWeights[3],semibold:r.fontWeights[5],bold:r.fontWeights[8]},lineHeights:{...r.lineHeights,r:r.lineHeights[0],m:r.lineHeights[1],l:r.lineHeights[2],xl:r.lineHeights[3]},letterSpacings:{normal:r.letterSpacings[0],tracked:r.letterSpacings[1],tight:r.letterSpacings[2],mega:r.letterSpacings[3]},fonts:{...r.fonts,default:r.fonts[0]},colors:{neutral:{"000":r.colors.neutral[0],"050":r.colors.neutral[1],"080":r.colors.neutral[2],100:r.colors.neutral[3],200:r.colors.neutral[4],300:r.colors.neutral[5],400:r.colors.neutral[6],500:r.colors.neutral[7],600:r.colors.neutral[8],700:r.colors.neutral[9],800:r.colors.neutral[10]},brand:{100:r.colors.brand[0],200:r.colors.brand[1],250:r.colors.brand[8],300:r.colors.brand[2],400:r.colors.brand[3],500:r.colors.brand[4],600:r.colors.brand[5],700:r.colors.brand[6],800:r.colors.brand[7]},success:{300:r.colors.success[0],400:r.colors.success[1],600:r.colors.success[2],900:r.colors.success[3],950:r.colors.success[4]},warning:{400:r.colors.warning[0],500:r.colors.warning[1],600:r.colors.warning[1],900:r.colors.warning[2],950:r.colors.warning[3]},danger:{200:r.colors.danger[0],400:r.colors.danger[1],600:r.colors.danger[2],900:r.colors.danger[3],950:r.colors.danger[4]}},shadows:{xs:r.shadows[0],s:r.shadows[1],m:r.shadows[2],l:r.shadows[3],xl:r.shadows[4]},breakpoints:{...r.breakpoints,xsmall:r.breakpoints[3],small:r.breakpoints[0],medium:r.breakpoints[1],large:r.breakpoints[2]},media:En({xsmall:r.breakpoints[3],small:r.breakpoints[0],medium:r.breakpoints[1],large:r.breakpoints[2]}),zIndex:{dialog:r.zIndex[0],popper:r.zIndex[1],tooltip:r.zIndex[2],backdrop:r.zIndex[3],loader:r.zIndex[4]},states:{_:r.states[0],motionSafe:r.states[1],motionReduce:r.states[2],first:r.states[3],last:r.states[4],odd:r.states[5],even:r.states[6],visited:r.states[7],checked:r.states[8],focusWithin:r.states[9],hover:r.states[10],focus:r.states[11],focusVisible:r.states[12],active:r.states[13],disabled:r.states[14],placeholder:r.states[15]}}),Cn=((r=Oe())=>()=>On(r))(),bs=()=>{try{return window.parent.document,window.parent}catch{return window}},lr=()=>({width:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}),Fr=r=>Number(r.replace("px","")),Dr=()=>{const{width:r}=lr(),{breakpoints:e}=Cn();return r<=Fr(e.small)?"small":r<=Fr(e.medium)?"medium":"large"},Tn="microFrontendApps",Pn=()=>!0,In=r=>Pn()?!0:String(r).toLowerCase()===Q.PRODUCTION.toLowerCase(),jn=r=>r?new URL(r).pathname:"",Mn=r=>{const e=document.createElement("a");return e.href=r,e.href},Rn=(r,e)=>{const n=e.match(/^(?:\d+\.\d+)*/g);return r.replace(/{SYSTEM_VERSION}/,n&&n[0]||"latest")},Lr=r=>!r||!r.length?!1:r.every(e=>typeof e=="string"),$n=(r,e)=>{const{mode:n=Q.PRODUCTION}=e;if(String(n).toLowerCase()!==Q.PRODUCTION.toLowerCase()&&String(n).toLowerCase()!==Q.DEVELOPMENT.toLowerCase())throw new Error(`invalid mode '${String(n)}' for ${r}`);const{production:s,development:a,microappManager:f=A.APPSDK}=e;if(String(f).toLowerCase()===A.APPSDK.toLowerCase()){if(String(n).toLowerCase()===Q.PRODUCTION.toLowerCase()){if(!s)throw new Error(`microFrontendApps.${r} is missing production section in app.config.json`);if(!Lr(s.files))throw new Error("invalid value for production.files")}if(String(n).toLowerCase()===Q.DEVELOPMENT.toLowerCase()){if(!a)throw new Error(`microFrontendApps.${r} is missing development section in app.config.json`);if(!Lr(a.files))throw new Error("invalid value for development.files")}}},Fn=({id:r,config:e,version:n="latest"})=>{const{mode:s=Q.PRODUCTION,production:a,development:f,...g}=e,y=In(s)?a:f,S=v()({id:r},{name:r,mode:Q.PRODUCTION,manifestPath:"./{SYSTEM_VERSION}/",securityContext:i.USER,isJsModule:!0},g,{mode:s},y);return S.hostUrl=j(Mn(S.hostUrl||"")),S.homeRoute=j(S.homeRoute)||jn(S.hostUrl),S.manifestPath=j(Rn(S.manifestPath,n)),S};class Dn{#e=[];init=({version:e,appConfig:n})=>{const s=n.get(Tn);s&&(this.#e=Object.keys(s).map(a=>($n(a,s[a]),Fn({id:a,config:s[a],version:e}))))};getConfigById=e=>this.#e.find(n=>n.id===e)}const Ln=/^https?:\/\//i,Nn=(r,e)=>{if(!Ln.test(r))return!1;try{return!r.startsWith(new URL(e).href)}catch{return!0}},Un=(r,e)=>{const n=[],s=[];return r.forEach(a=>{Nn(a.href,e)?n.push(a):s.push(a)}),{external:n,local:s}},kn=r=>{if(!r)return;const e=r,n=e.emui?._ASSET_PATH;n&&(e.__webpack_public_path__=new URL("../",n).href)},zn=(r,e)=>{if(!(!r||!e))try{const n=r;n.__webpack_public_path__=new URL("./",e).href}catch{}},Nr=(r,e)=>{if(!r)return;if(r.emui?._ASSET_PATH){kn(r);return}zn(r,e)},Bn="ice-script-";class Ur{#e;constructor(e){this.#e=e}#t=({href:e,isESMModule:n=!0,documentEle:s})=>{const a=s.createElement("link");a.rel=n?"modulepreload":"preload",a.href=e,a.crossOrigin="anonymous",n||(a.as="script"),s.head.appendChild(a)};#r=({id:e,href:n,documentEle:s,isESMModule:a=!0})=>new Promise((f,g)=>{const y=s.createElement("script");y.id=e,y.src=x(n),y.crossOrigin="anonymous",y.nonce="__CSP_NONCE__",!X()&&a?y.type="module":y.async=!1,y.onload=f.bind(null,y.id),y.onerror=S=>{this.#e.error({message:`Error loading script ${y.src}`,exception:new Error(S)}),g(new Error(`Unable to load script ${y.src}`,{cause:new Error(S)}))},s.head.appendChild(y)});#i=async(e,n,s)=>{if(e.length===0)return;const a=e.map(({id:f,href:g})=>this.#r({id:f,href:g,documentEle:n,isESMModule:s}));await Promise.all(a)};#n=async({scripts:e,documentEle:n,isESMModule:s,hostUrl:a})=>{if(e.length===0)return;if(!a){await this.#i(e,n,s);return}const{external:f,local:g}=Un(e,a);await this.#i(f,n,s),Nr(n.defaultView,a),await this.#i(g,n,s)};load=async(e,n)=>{const{documentEle:s,isESMModule:a}=n,f=/^https?:\/\//i,g=e.map((y,S)=>{const E=`${Bn}${n.name.toLowerCase()}-${S}`,C=f.test(y)?y:new URL(y,n.hostUrl).href;return this.#t({href:C,documentEle:s,isESMModule:a}),{id:E,href:C}});return await this.#n({scripts:g,documentEle:s,isESMModule:a,hostUrl:n.hostUrl}),Nr(s.defaultView,n.hostUrl),g.map(y=>y.id)};remove=(e="",n=document)=>new Promise(s=>{const a=n.getElementById(e);if(!a){this.#e.warn(`script with id ${e} not found`),s();return}a.remove(),s()});removeDynamicImportedScripts=(e,n)=>{const s=new RegExp(ce(e),"i"),a=n.getElementsByTagName("script");for(let f=a.length-1;f>=0;f-=1){const g=a[f],{src:y}=g;s.test(y)&&g.remove()}};removePrefetchLinks=(e,n)=>{const s=new RegExp(ce(e),"i"),a=n.querySelectorAll('[rel="prefetch"]');for(let f=a.length-1;f>=0;f-=1){const g=a[f],{href:y}=g;s.test(y)&&g.remove()}}}const Vn="ice-style-";class kr{#e;constructor(e){this.#e=e}#t=({id:e,href:n,documentEle:s})=>new Promise((a,f)=>{const g=s.createElement("link");g.id=e,g.nonce="__CSP_NONCE__",g.rel="stylesheet",g.href=x(n),g.onload=a.bind(null,g.id),g.onerror=y=>{this.#e.error({message:`Error loading stylesheet ${g.href}`,exception:new Error(y)}),f(new Error(`Unable to load stylesheet ${g.href}`,{cause:new Error(y)}))},s.head.appendChild(g)});load=async(e,n)=>{const s=[],a=e.map((f,g)=>{const y=new URL(f,n.hostUrl),S=`${Vn}${n.name.toLowerCase()}-${g}`;return s.push(S),this.#t({id:S,href:y.href,documentEle:n.documentEle})});return await Promise.all(a),s};remove=(e="",n=document)=>new Promise(s=>{const a=n.getElementById(e);if(!a){this.#e.warn(`style with id ${e} not found`),s();return}a.remove(),s()});removeDynamicImportedStyles=(e,n)=>{const s=new RegExp(ce(e),"i"),a=n.querySelectorAll('[rel="stylesheet"]');for(let f=a.length-1;f>=0;f-=1){const g=a[f],{href:y}=g;s.test(y)&&g.remove()}}}const Gn=r=>r.replace(/\/\d+\.\d+/,"/latest"),Hn=r=>{let e;try{e=new URL(r)}catch{return!1}return e.protocol==="http:"||e.protocol==="https:"},ur=new Map,Ut={get:async({hostUrl:r,manifestPath:e})=>{const n=z(r,e),s=ur.get(n);if(s)return s;const a=async f=>{const g=await fetch(f);if(!g.ok)throw new Error(`unable to get manifest ${f}`);if(!(g.headers?.get?.("content-type")??"").includes("application/json"))throw new Error(`manifest ${f} is not a valid json`);const S=await g.json();return ur.set(f,S),S};try{return await a(n)}catch(f){const g=Gn(e);if(e!==g){const y=z(r,g);return await a(y)}throw f}},getFullFileNameofAssets:(r,e=[])=>e.reduce((n,s)=>{const a=r[s];if(a)n.push(a);else if(Hn(s))n.push(s);else throw new Error(`unable to locate ${s} in manifest`);return n},[]),clearCache:()=>ur.clear()},Wn=new Set(["module.unloading","module.unmount"]);class Kn{#e;#t;#r;#i;#n;constructor(e){this.#e=e.guest,this.#t=e.instanceId,this.#r=e?.version||"latest",this.#i=e.soManager,this.#n=e.eventManager}get version(){return this.#r}getObject=e=>{try{const n=this.#i.getObject(e,this.#e);if(!n)return Promise.resolve(null);const s=new Wt(n.id,n.objectType);return Object.keys(n).forEach(a=>{const f=n[a];f instanceof ne?Object.defineProperty(s,a,{value:new ne({name:a,objectId:n.id}),enumerable:!0}):B(f,a)&&Object.defineProperty(s,a,{value:(...g)=>{const y=s[a]?.callContext?.callChain;return Object.defineProperty(f,"callContext",{value:{guest:{...this.#e,instanceId:this.#t},...y?.length?{callChain:y}:{}},configurable:!0,enumerable:!0,writable:!0}),n[a](...g)},enumerable:!0})}),Promise.resolve(s)}catch(n){return Promise.reject(n)}};setAppWindowSize=e=>{const{size:n}=e,s=document.getElementById(this.#t);s&&(s.style.height=`${n.height}px`,s.style.width=`${n.width}px`)};subscribe=e=>this.#n.subscribe({...e,...Wn.has(e.eventId)?{guestId:this.#t}:{}});unsubscribe=e=>{this.#n.unsubscribe(e)}}class Yn{constructor(){window.emui||(window.emui={}),window.emui.registerApp=this.#e}#e=({appId:e,app:n})=>{if(!e)throw new Error("appId is required");if(e==="__proto__"||e==="constructor"||e==="prototype")throw new Error(`Invalid appId: ${e}`);if(!n?.uuid)throw new Error("application uuid is required");if(window.emui[e]=window.emui[e]||[],Array.isArray(window.emui[e])){const s=window.emui[e].findIndex(a=>a.uuid===n.uuid);s>-1?window.emui[e][s]=n:window.emui[e].push(n)}else{let s=window.emui[e];s?.uuid===n.uuid?(s={...s,...n},window.emui[e]=[s]):typeof s.init>"u"?window.emui[e]=[{...s,...n}]:window.emui[e]=[window.emui[e],n]}};get=({id:e,instanceId:n})=>{const s=window.emui?.[e];return Array.isArray(s)?s.find(f=>f.uuid===n)??null:s?.uuid===n?s:null};add=({id:e,instanceId:n,documentEle:s})=>{if(!n)throw new Error(`instanceId (uuid) is required to register application ${e}`);const a={uuid:n,init:null,mount:null,unmount:null},f=window.emui[e];f?Array.isArray(f)?f.push(a):window.emui[e]=[f,a]:window.emui[e]=[a],s.defaultView&&(s.defaultView.emui=s.defaultView.emui??{},s.defaultView.emui.uuid=n)};delete=({id:e,instanceId:n})=>{if(Array.isArray(window.emui[e])){const s=window.emui[e].findIndex(a=>a.uuid===n);s>-1&&window.emui[e].splice(s,1),window.emui[e].length===0&&delete window.emui[e]}else delete window.emui[e]}}const Xn=12e4,Zn="module.unloading",Jn="module.unmount",Qn=1e3,_n=new ve(tt.Module),qn=r=>Array.isArray(r)&&r.some(e=>e===!1),zr=["click","scroll","keypress","touchstart"],es=/\.css$/,Br=r=>es.test(r);class ts{#e;#t;#r;#i;#n;#a=new Dn;#s;#c;#o=new Map;#u=new Map;#p=new Map;#d=new Set;#l=new Yn;#f=!0;constructor(e){const{logger:n}=e;if(!n)throw new Error("logger is required");this.#e=e.logger,this.#t=e.version,this.#f=e.extendSession??!0,this.#n=new le({version:e.version,baseUrl:e.appConfigBaseUrl}),this.#r=new Ur(n),this.#i=new kr(n),this.#s=new Ht,this.#c=new Kt(this.#e)}#w(e){return typeof e=="function"}#x=e=>e instanceof ue||typeof e?.subscribe=="function";#S=(e,n)=>`Application ${e} with instance id ${n} is not found. Most probably the appId property of app.config.json is not set to ${e}`;#A=(e,n=document)=>{const{elementIds:s}=this.#o.get(e)||{};s&&s.forEach(a=>{const f=n.getElementById(a);f&&f.remove()})};#E=({id:e,instanceId:n,documentEle:s,elementIds:a,microFEHost:f,selfInitialize:g})=>{const y=this.#l.get({id:e,instanceId:n});if(!y)throw new Error(this.#S(e,n));this.#o.set(n,{id:e,instanceId:n,elementIds:a,guest:{guestWindow:s?.defaultView,...y},microFEHost:f,selfInitialize:g})};#O=async({id:e,instanceId:n,containerId:s,hostUrl:a,manifestPath:f,homeRoute:g,initialRoute:y,history:S,theme:E,microFEHost:C})=>{const P=this.#l.get({id:e,instanceId:n});if(!P)throw new Error(`Application ${e} with instance id ${n} is not found. Most probably the appId property of app.config.json is not set to ${e}`);if(!P.init||typeof P.init!="function")throw new Error(`Application ${e} with instance id ${n} doesn't expose init method`);const W=C??this.#v({id:e,instanceId:n,containerId:s});return P.init({host:W,hostUrl:a,manifestPath:f,homeRoute:g,initialRoute:y,prevState:null,history:S,theme:E,hostBreakpoint:Dr(),hostViewportSize:lr(),logger:this.#e})};#C=async e=>{try{const{id:n,instanceId:s,files:a,name:f,hostUrl:g,documentEle:y,isJsModule:S}=e;this.#e.debug(`Application ${n} with instance id ${s} is loading...`);let E=a;const C=e.manifest??await Ut.get(e);E=Ut.getFullFileNameofAssets(C,a);const P=E.filter(U=>Br(U)),W=E.filter(U=>!Br(U)),H={name:f,hostUrl:g,documentEle:y,isESMModule:S},[N,K]=await Promise.all([this.#i.load(P,H),this.#r.load(W,H)]);this.#E({id:n,instanceId:s,documentEle:y,elementIds:[...N,...K],microFEHost:e.microFEHost,selfInitialize:e.selfInitialize}),e.selfInitialize||await this.#O(e),this.#e.audit(`Application ${n} with instance id ${s} loaded`)}catch(n){const s=`Application load failed. Unable to load one or more resources for ${e.id} with instance id ${e.instanceId}. ${n.message}`;throw this.#e.error({message:s,appId:e.id,exception:n}),new Error(s)}};#g=({id:e,instanceId:n,hostUrl:s,documentEle:a})=>{this.#e.debug(`Application ${e} with instance id ${n} unloading...`),this.#l.get({id:e,instanceId:n})&&(this.#A(n,a),this.#r.removeDynamicImportedScripts(s,a),this.#r.removePrefetchLinks(s,a),this.#i.removeDynamicImportedStyles(s,a),this.#l.delete({id:e,instanceId:n}),this.#e.audit(`Application ${e} with instance id ${n} unloaded`))};#m=async({id:e,instanceId:n})=>{const s=this.#l.get({id:e,instanceId:n});if(!s?.mount||typeof s?.mount!="function")throw new Error(`Application ${e} with instance id ${n} doesn't expose mount method`);return s.mount({containerId:`${He}${e}`,hostBreakpoint:Dr(),hostViewportSize:lr()})};#T=({id:e,instanceId:n})=>{const s=this.#l.get({id:e,instanceId:n});if(!s?.unmount)return null;if(typeof s.unmount!="function")throw new Error(`Application ${e} with instance id ${n} doesn't expose unmount method`);return s.unmount({containerId:`${He}${e}`})};#P=({id:e,instanceId:n})=>{if(this.#f)try{const s=this.#s.getObject(tt.Application);if(!s){this.#e.warn({message:`Application scripting object not available for ${e} to manage session`});return}const a=this.#o.get(n);if(!a)return;a.keepAlive=Ae()(async()=>{try{await s.keepSessionAlive()}catch(g){this.#e.error(`Error keeping session alive. ${g.message}`)}},Xn);const f=Ee.get(n);zr.forEach(g=>{f?.contentDocument?.addEventListener(g,a.keepAlive)})}catch(s){this.#e.warn({message:`Application scripting object not available for ${e} to manage session`,exception:s})}};#I=(e,n)=>{const s=n?.callContext?.guest;if(s?.instanceId&&this.#o.get(s.instanceId)?.id===e)return s.instanceId;const a=s?.guestWindow,f=Array.from(this.#o.entries()).filter(([,g])=>g.id===e);if(a){const g=f.find(([,y])=>y.guest.guestWindow===a);if(g)return g[0]}return f.length===1?f[0][0]:void 0};#j=(e,n)=>{this.#p.set(n,()=>this.closeApp(n));const s=this.#s.getObject(tt.Module,{id:e}),f=s?._setUnloadHandler;typeof f=="function"&&(this.#d.has(e)||(this.#d.add(e),f.call(s,async()=>{const g=s.unload,y=this.#I(e,typeof g=="function"?g:s);if(!y){this.#e.warn(`Cannot resolve instance for module.unload of ${e}`);return}await this.#p.get(y)?.()})))};#h=(e,n)=>{this.#p.delete(e),[...this.#o.entries()].some(([a,f])=>f.id===n&&a!==e)||this.#d.delete(n)};#M=e=>this.#s.getObject(tt.Module,{id:e});#v=({id:e,instanceId:n,containerId:s})=>new Kn({guest:{id:e},instanceId:n,version:this.#t,containerId:s,logger:this.#e,soManager:this.#s,eventManager:this.#c});#y=async(e,n,s)=>{const a=this.#M(e.id)??_n;return this.#c.dispatchEvent(a,{event:{id:n,name:s},eventParams:{moduleId:e.id},eventOptions:{timeout:Qn,guestId:e.instanceId}})};#R=async e=>{try{const n=await this.#y(e,Zn,"unloading");if(qn(n))return this.#e.info(`Unload denied by guest ${e.id} via module.unloading event`),!1}catch(n){this.#e.warn({message:`Error dispatching module.unloading event for ${e.id}; proceeding with unload`,exception:n})}return!0};#b=async({id:e,instanceId:n,selfInitialize:s})=>{if(!s){await this.#T({id:e,instanceId:n});return}try{await this.#y({id:e,instanceId:n},Jn,"unmount")}catch(a){this.#e.warn({message:`Error dispatching module.unmount event for ${e}`,exception:a})}};#$=e=>{if(!this.#f||!e)return;const{keepAlive:n,instanceId:s}=e;if(n){const f=Ee.get(s)?.contentDocument;f&&zr.forEach(g=>{f.removeEventListener(g,n)}),e.keepAlive?.cancel()}};addScriptingObject=(e,n)=>{if(Ot(e)){const s=this.cloneScriptingObject(e);this.#s.addScriptingObject(s,n)}else this.#s.addScriptingObject(e,n)};cloneScriptingObject=e=>{if(!e)throw new Error("proxy is required");const n=new ve(e.id,e.objectType);let s=[];return Object.keys(e).forEach(a=>{const f=e[a];if(this.#x(f)){const g=new ne({name:f.name||a,objectId:n.id});Object.defineProperty(n,a,{value:g,enumerable:!0});const y=({eventParams:E,eventOptions:C})=>this.dispatchEvent({event:g,eventParams:E,eventOptions:C}),S=f.subscribe(y);s.push(()=>{f.unsubscribe(S)})}else if(this.#w(f)&&(Object.defineProperty(n,a,{value:async(...g)=>{const y=n[a]?.callContext;if(y?.guest){const E=y.callChain??[],C=y.guest,P=C.instanceId??C.id,W=this.#u.get(P),H={id:C.id};W&&(H.metadata=W),Object.defineProperty(f,"callContext",{value:{callChain:[...E,H]},configurable:!0,enumerable:!0,writable:!0})}const S=await f(...g);return Ot(S)?this.cloneScriptingObject(S):S},enumerable:!0}),a==="dispose")){const g=n.dispose;Object.defineProperty(n,a,{value:()=>(n._dispose(),g.apply(n)),enumerable:!0})}}),n._dispose=()=>{s.forEach(a=>{a?.()}),s=[]},n};closeAllApps=async()=>{await Promise.all([...this.#o.keys()].map(this.closeApp))};closeApp=async e=>{if(!e)throw new Error("instanceId is required");const n=this.#o.get(e);if(!n){this.#e.warn(`Application with instance id ${e} is not found`);return}const{id:s,selfInitialize:a}=n;if(!await this.#R({id:s,instanceId:e}))return;const f=this.#a.getConfigById(s);if(!f){this.#e.warn(`Configuration for application ${s} is not found`),this.removeAllScriptingObjects(e),this.#c.unsubscribeByGuestId(e),this.#o.delete(e),this.#u.delete(e),this.#h(e,s),Ee.remove(e);return}const{hostUrl:g}=f,y=Ee.get(e);try{this.#$(n),await this.#b({id:s,instanceId:e,selfInitialize:a})}finally{y?.contentDocument&&this.#g({id:s,instanceId:e,hostUrl:g,documentEle:y.contentDocument}),y&&(y.src="about:blank"),this.removeAllScriptingObjects(e),this.#c.unsubscribeByGuestId(e),this.#o.delete(e),this.#u.delete(e),this.#h(e,s),Ee.remove(e)}};dispatchEvent=async e=>{const{event:{id:n,name:s},eventOptions:a={}}=e,{guestId:f}=a;if(!n)throw new Error("Event Id is required");const g=n.split(".")?.[0],y=f?this.#s.getObject(g,{id:f}):this.#s.getObject(g);return y?this.#c.dispatchEvent(y,e):(this.#e.warn(`Attempt to dispatch event ${s} on unknown object ${g}`),Promise.resolve())};getApp=e=>this.#o.get(e)?.guest;getApps=()=>[...this.#o.values()].map(e=>e.guest);init=async e=>{e?this.#n.setPreloadedConfig(e):await this.#n.load(),this.#a.init({version:this.#t,appConfig:this.#n}),this.#F()};#F=()=>{const e=this.#n.get("microFrontendApps")??{},n=new Set;Object.keys(e).forEach(s=>{const a=this.#a.getConfigById(s);if(a?.hostUrl)try{n.add(new URL(a.hostUrl).origin)}catch{}}),n.forEach(s=>{const a=document.createElement("link");a.rel="preconnect",a.href=s,a.crossOrigin="anonymous",document.head.appendChild(a)})};mountApp=async e=>{if(!e)throw new Error("instanceId is required");const{id:n}=this.#o.get(e)||{};if(!n)throw new Error(`Application with instance id ${e} is not found`);const s=this.#a.getConfigById(n);if(!s)throw new Error(`Application with id ${n} is not found`);await this.#m({...s,instanceId:e})};#D=(e,n,s)=>{const a=this.#v(s),f=e.defaultView;f&&(f.emui=f.emui??{},f.emui.__host=a,f.emui.getHost=()=>f.emui?.__host??null);const g=e.createElement("link");return g.rel="preconnect",g.href=n.hostUrl,g.crossOrigin="anonymous",e.head.appendChild(g),a};openApp=async e=>{const{id:n,frameOptions:s,history:a,theme:f,homeRoute:g,initialRoute:y,metadata:S,selfInitialize:E}=e,C=At();S&&this.#u.set(C,S);const P=this.#a.getConfigById(n);if(!P)throw new Error(`Application ${n} is not found in app config`);const W=Ut.get(P);W.catch(()=>{});const H=await Ee.create({id:n,instanceId:C,manifestPath:P.manifestPath,hostUrl:P.hostUrl,options:{title:P.name,...s}});if(!H?.contentDocument)throw new Error("unable to create iframe for the microapp");try{this.#l.add({id:n,instanceId:C,documentEle:H.contentDocument});const N=this.#D(H.contentDocument,P,{id:n,instanceId:C,containerId:s?.containerId}),K=await W;return await this.#C({instanceId:C,history:a,theme:f,documentEle:H.contentDocument,containerId:s?.containerId,...P,homeRoute:g??P.homeRoute,initialRoute:y,microFEHost:N,selfInitialize:E,manifest:K}),E||await this.#m({instanceId:C,...P}),this.#P({id:n,instanceId:C}),this.#j(n,C),C}catch(N){throw this.#u.delete(C),this.#h(C,n),this.#g({id:n,instanceId:C,hostUrl:P.hostUrl,documentEle:H.contentDocument}),Ee.remove(C),N}};removeAllEventSubscriptions=()=>{this.#c.unsubscribeAll()};removeAllScriptingObjects=e=>{this.#s.removeAllScriptingObjects(e)};removeScriptingObject=(e,n)=>{this.#s.removeScriptingObject(e,n)};warmUp=e=>{const n=this.#a.getConfigById(e);n&&Ut.get(n).catch(()=>{})};unmountApp=async e=>{if(!e)throw new Error("instanceId is required");const n=this.#o.get(e),{id:s,selfInitialize:a}=n||{};if(!s)throw new Error(`Application with instance id ${e} is not found`);if(!this.#a.getConfigById(s))throw new Error(`Application with id ${s} is not found`);await this.#b({id:s,instanceId:e,selfInitialize:a})}}})(),zt})());
15
+ `,e),{}),On=n=>({space:{...n.spaces,xxxs:n.spaces[1],xxs:n.spaces[2],xxs2:n.spaces[3],xs:n.spaces[4],s:n.spaces[5],m:n.spaces[6],l:n.spaces[7],xl:n.spaces[8],xxl:n.spaces[9]},fontSizes:{...n.fontSizes,title:{500:n.fontSizes[3],600:n.fontSizes[4],700:n.fontSizes[5],800:n.fontSizes[6],900:n.fontSizes[7]},subTitle:{300:n.fontSizes[1],400:n.fontSizes[2]},label:{200:n.fontSizes[0],300:n.fontSizes[1],400:n.fontSizes[2]},value:{300:n.fontSizes[1],400:n.fontSizes[2],500:n.fontSizes[3],600:n.fontSizes[4]},hyperlink:{200:n.fontSizes[0],300:n.fontSizes[1],400:n.fontSizes[2]},microText:{200:n.fontSizes[0]}},fontWeights:{...n.fontWeights,thin:n.fontWeights[0],light:n.fontWeights[1],regular:n.fontWeights[3],semibold:n.fontWeights[5],bold:n.fontWeights[8]},lineHeights:{...n.lineHeights,r:n.lineHeights[0],m:n.lineHeights[1],l:n.lineHeights[2],xl:n.lineHeights[3]},letterSpacings:{normal:n.letterSpacings[0],tracked:n.letterSpacings[1],tight:n.letterSpacings[2],mega:n.letterSpacings[3]},fonts:{...n.fonts,default:n.fonts[0]},colors:{neutral:{"000":n.colors.neutral[0],"050":n.colors.neutral[1],"080":n.colors.neutral[2],100:n.colors.neutral[3],200:n.colors.neutral[4],300:n.colors.neutral[5],400:n.colors.neutral[6],500:n.colors.neutral[7],600:n.colors.neutral[8],700:n.colors.neutral[9],800:n.colors.neutral[10]},brand:{100:n.colors.brand[0],200:n.colors.brand[1],250:n.colors.brand[8],300:n.colors.brand[2],400:n.colors.brand[3],500:n.colors.brand[4],600:n.colors.brand[5],700:n.colors.brand[6],800:n.colors.brand[7]},success:{300:n.colors.success[0],400:n.colors.success[1],600:n.colors.success[2],900:n.colors.success[3],950:n.colors.success[4]},warning:{400:n.colors.warning[0],500:n.colors.warning[1],600:n.colors.warning[1],900:n.colors.warning[2],950:n.colors.warning[3]},danger:{200:n.colors.danger[0],400:n.colors.danger[1],600:n.colors.danger[2],900:n.colors.danger[3],950:n.colors.danger[4]}},shadows:{xs:n.shadows[0],s:n.shadows[1],m:n.shadows[2],l:n.shadows[3],xl:n.shadows[4]},breakpoints:{...n.breakpoints,xsmall:n.breakpoints[3],small:n.breakpoints[0],medium:n.breakpoints[1],large:n.breakpoints[2]},media:En({xsmall:n.breakpoints[3],small:n.breakpoints[0],medium:n.breakpoints[1],large:n.breakpoints[2]}),zIndex:{dialog:n.zIndex[0],popper:n.zIndex[1],tooltip:n.zIndex[2],backdrop:n.zIndex[3],loader:n.zIndex[4]},states:{_:n.states[0],motionSafe:n.states[1],motionReduce:n.states[2],first:n.states[3],last:n.states[4],odd:n.states[5],even:n.states[6],visited:n.states[7],checked:n.states[8],focusWithin:n.states[9],hover:n.states[10],focus:n.states[11],focusVisible:n.states[12],active:n.states[13],disabled:n.states[14],placeholder:n.states[15]}}),Cn=((n=Oe())=>()=>On(n))(),bs=()=>{try{return window.parent.document,window.parent}catch{return window}},lr=()=>({width:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}),Fr=n=>Number(n.replace("px","")),Dr=()=>{const{width:n}=lr(),{breakpoints:e}=Cn();return n<=Fr(e.small)?"small":n<=Fr(e.medium)?"medium":"large"},Tn="microFrontendApps",Pn=()=>!0,In=n=>Pn()?!0:String(n).toLowerCase()===Q.PRODUCTION.toLowerCase(),jn=n=>n?new URL(n).pathname:"",Mn=n=>{const e=document.createElement("a");return e.href=n,e.href},Rn=(n,e)=>{const r=e.match(/^(?:\d+\.\d+)*/g);return n.replace(/{SYSTEM_VERSION}/,r&&r[0]||"latest")},Lr=n=>!n||!n.length?!1:n.every(e=>typeof e=="string"),$n=(n,e)=>{const{mode:r=Q.PRODUCTION}=e;if(String(r).toLowerCase()!==Q.PRODUCTION.toLowerCase()&&String(r).toLowerCase()!==Q.DEVELOPMENT.toLowerCase())throw new Error(`invalid mode '${String(r)}' for ${n}`);const{production:s,development:a,microappManager:f=S.APPSDK}=e;if(String(f).toLowerCase()===S.APPSDK.toLowerCase()){if(String(r).toLowerCase()===Q.PRODUCTION.toLowerCase()){if(!s)throw new Error(`microFrontendApps.${n} is missing production section in app.config.json`);if(!Lr(s.files))throw new Error("invalid value for production.files")}if(String(r).toLowerCase()===Q.DEVELOPMENT.toLowerCase()){if(!a)throw new Error(`microFrontendApps.${n} is missing development section in app.config.json`);if(!Lr(a.files))throw new Error("invalid value for development.files")}}},Fn=({id:n,config:e,version:r="latest"})=>{const{mode:s=Q.PRODUCTION,production:a,development:f,...h}=e,y=In(s)?a:f,A=v()({id:n},{name:n,mode:Q.PRODUCTION,manifestPath:"./{SYSTEM_VERSION}/",securityContext:i.USER,isJsModule:!0},h,{mode:s},y);return A.hostUrl=I(Mn(A.hostUrl||"")),A.homeRoute=I(A.homeRoute)||jn(A.hostUrl),A.manifestPath=I(Rn(A.manifestPath,r)),A};class Dn{#e=[];init=({version:e,appConfig:r})=>{const s=r.get(Tn);s&&(this.#e=Object.keys(s).map(a=>($n(a,s[a]),Fn({id:a,config:s[a],version:e}))))};getConfigById=e=>this.#e.find(r=>r.id===e)}const Ln=/^https?:\/\//i,Nn=(n,e)=>{if(!Ln.test(n))return!1;try{return!n.startsWith(new URL(e).href)}catch{return!0}},Un=(n,e)=>{const r=[],s=[];return n.forEach(a=>{Nn(a.href,e)?r.push(a):s.push(a)}),{external:r,local:s}},kn=n=>{if(!n)return;const e=n,r=e.emui?._ASSET_PATH;r&&(e.__webpack_public_path__=new URL("../",r).href)},zn=(n,e)=>{if(!(!n||!e))try{const r=n;r.__webpack_public_path__=new URL("./",e).href}catch{}},Nr=(n,e)=>{if(!n)return;if(n.emui?._ASSET_PATH){kn(n);return}zn(n,e)},Bn="ice-script-";class Ur{#e;constructor(e){this.#e=e}#t=({href:e,isESMModule:r=!0,documentEle:s})=>{const a=s.createElement("link");a.rel=r?"modulepreload":"preload",a.href=e,a.crossOrigin="anonymous",r||(a.as="script"),s.head.appendChild(a)};#r=({id:e,documentEle:r,isESMModule:s=!0})=>{const a=r.createElement("script");return a.id=e,a.crossOrigin="anonymous",a.nonce="__CSP_NONCE__",!X()&&s&&(a.type="module"),a.async=!1,a};#o=(e,r)=>new Promise((s,a)=>{e.onload=s.bind(null,e.id),e.onerror=f=>{this.#e.error({message:`Error loading script ${e.src}`,exception:new Error(f)}),a(new Error(`Unable to load script ${e.src}`,{cause:new Error(f)}))},e.src=x(r)});#n=async(e,r,s)=>{if(e.length===0)return;const a=e.map(({id:h})=>this.#r({id:h,documentEle:r,isESMModule:s}));a.forEach(h=>{r.head.appendChild(h)});const f=e.map(({href:h},y)=>this.#o(a[y],h));await Promise.all(f)};#i=async({scripts:e,documentEle:r,isESMModule:s,hostUrl:a})=>{if(e.length===0)return;if(!a){await this.#n(e,r,s);return}const{external:f,local:h}=Un(e,a);await this.#n(f,r,s),Nr(r.defaultView,a),await this.#n(h,r,s)};load=async(e,r)=>{const{documentEle:s,isESMModule:a}=r,f=/^https?:\/\//i,h=e.map((y,A)=>{const E=`${Bn}${r.name.toLowerCase()}-${A}`,C=f.test(y)?y:new URL(y,r.hostUrl).href;return this.#t({href:C,documentEle:s,isESMModule:a}),{id:E,href:C}});return await this.#i({scripts:h,documentEle:s,isESMModule:a,hostUrl:r.hostUrl}),Nr(s.defaultView,r.hostUrl),h.map(y=>y.id)};remove=(e="",r=document)=>new Promise(s=>{const a=r.getElementById(e);if(!a){this.#e.warn(`script with id ${e} not found`),s();return}a.remove(),s()});removeDynamicImportedScripts=(e,r)=>{const s=new RegExp(ce(e),"i"),a=r.getElementsByTagName("script");for(let f=a.length-1;f>=0;f-=1){const h=a[f],{src:y}=h;s.test(y)&&h.remove()}};removePrefetchLinks=(e,r)=>{const s=new RegExp(ce(e),"i"),a=r.querySelectorAll('[rel="prefetch"]');for(let f=a.length-1;f>=0;f-=1){const h=a[f],{href:y}=h;s.test(y)&&h.remove()}}}const Vn="ice-style-";class kr{#e;constructor(e){this.#e=e}#t=({id:e,href:r,documentEle:s})=>new Promise((a,f)=>{const h=s.createElement("link");h.id=e,h.nonce="__CSP_NONCE__",h.rel="stylesheet",h.href=x(r),h.onload=a.bind(null,h.id),h.onerror=y=>{this.#e.error({message:`Error loading stylesheet ${h.href}`,exception:new Error(y)}),f(new Error(`Unable to load stylesheet ${h.href}`,{cause:new Error(y)}))},s.head.appendChild(h)});load=async(e,r)=>{const s=[],a=e.map((f,h)=>{const y=new URL(f,r.hostUrl),A=`${Vn}${r.name.toLowerCase()}-${h}`;return s.push(A),this.#t({id:A,href:y.href,documentEle:r.documentEle})});return await Promise.all(a),s};remove=(e="",r=document)=>new Promise(s=>{const a=r.getElementById(e);if(!a){this.#e.warn(`style with id ${e} not found`),s();return}a.remove(),s()});removeDynamicImportedStyles=(e,r)=>{const s=new RegExp(ce(e),"i"),a=r.querySelectorAll('[rel="stylesheet"]');for(let f=a.length-1;f>=0;f-=1){const h=a[f],{href:y}=h;s.test(y)&&h.remove()}}}const Gn=n=>n.replace(/\/\d+\.\d+/,"/latest"),Hn=n=>{let e;try{e=new URL(n)}catch{return!1}return e.protocol==="http:"||e.protocol==="https:"},ur=new Map,Ut={get:async({hostUrl:n,manifestPath:e})=>{const r=z(n,e),s=ur.get(r);if(s)return s;const a=async f=>{const h=await fetch(f);if(!h.ok)throw new Error(`unable to get manifest ${f}`);if(!(h.headers?.get?.("content-type")??"").includes("application/json"))throw new Error(`manifest ${f} is not a valid json`);const A=await h.json();return ur.set(f,A),A};try{return await a(r)}catch(f){const h=Gn(e);if(e!==h){const y=z(n,h);return await a(y)}throw f}},getFullFileNameofAssets:(n,e=[])=>e.reduce((r,s)=>{const a=n[s];if(a)r.push(a);else if(Hn(s))r.push(s);else throw new Error(`unable to locate ${s} in manifest`);return r},[]),clearCache:()=>ur.clear()},Wn=new Set(["module.unloading","module.unmount"]);class Kn{#e;#t;#r;#o;#n;constructor(e){this.#e=e.guest,this.#t=e.instanceId,this.#r=e?.version||"latest",this.#o=e.soManager,this.#n=e.eventManager}get version(){return this.#r}getObject=e=>{try{const r=this.#o.getObject(e,this.#e);if(!r)return Promise.resolve(null);const s=new Wt(r.id,r.objectType);return Object.keys(r).forEach(a=>{const f=r[a];f instanceof ne?Object.defineProperty(s,a,{value:new ne({name:a,objectId:r.id}),enumerable:!0}):B(f,a)&&Object.defineProperty(s,a,{value:(...h)=>{const y=s[a]?.callContext?.callChain;return Object.defineProperty(f,"callContext",{value:{guest:{...this.#e,instanceId:this.#t},...y?.length?{callChain:y}:{}},configurable:!0,enumerable:!0,writable:!0}),r[a](...h)},enumerable:!0})}),Promise.resolve(s)}catch(r){return Promise.reject(r)}};setAppWindowSize=e=>{const{size:r}=e,s=document.getElementById(this.#t);s&&(s.style.height=`${r.height}px`,s.style.width=`${r.width}px`)};subscribe=e=>this.#n.subscribe({...e,...Wn.has(e.eventId)?{guestId:this.#t}:{}});unsubscribe=e=>{this.#n.unsubscribe(e)}}class Yn{constructor(){window.emui||(window.emui={}),window.emui.registerApp=this.#e}#e=({appId:e,app:r})=>{if(!e)throw new Error("appId is required");if(e==="__proto__"||e==="constructor"||e==="prototype")throw new Error(`Invalid appId: ${e}`);if(!r?.uuid)throw new Error("application uuid is required");if(window.emui[e]=window.emui[e]||[],Array.isArray(window.emui[e])){const s=window.emui[e].findIndex(a=>a.uuid===r.uuid);s>-1?window.emui[e][s]=r:window.emui[e].push(r)}else{let s=window.emui[e];s?.uuid===r.uuid?(s={...s,...r},window.emui[e]=[s]):typeof s.init>"u"?window.emui[e]=[{...s,...r}]:window.emui[e]=[window.emui[e],r]}};get=({id:e,instanceId:r})=>{const s=window.emui?.[e];return Array.isArray(s)?s.find(f=>f.uuid===r)??null:s?.uuid===r?s:null};add=({id:e,instanceId:r,documentEle:s})=>{if(!r)throw new Error(`instanceId (uuid) is required to register application ${e}`);const a={uuid:r,init:null,mount:null,unmount:null},f=window.emui[e];f?Array.isArray(f)?f.push(a):window.emui[e]=[f,a]:window.emui[e]=[a],s.defaultView&&(s.defaultView.emui=s.defaultView.emui??{},s.defaultView.emui.uuid=r)};delete=({id:e,instanceId:r})=>{if(Array.isArray(window.emui[e])){const s=window.emui[e].findIndex(a=>a.uuid===r);s>-1&&window.emui[e].splice(s,1),window.emui[e].length===0&&delete window.emui[e]}else delete window.emui[e]}}const Xn=12e4,Zn="module.unloading",Jn="module.unmount",Qn=1e3,_n=new ve(tt.Module),qn=n=>Array.isArray(n)&&n.some(e=>e===!1),zr=["click","scroll","keypress","touchstart"],es=/\.css$/,Br=n=>es.test(n);class ts{#e;#t;#r;#o;#n;#i=new Dn;#s;#c;#a=new Map;#u=new Map;#p=new Map;#d=new Set;#l=new Yn;#f=!0;constructor(e){const{logger:r}=e;if(!r)throw new Error("logger is required");this.#e=e.logger,this.#t=e.version,this.#f=e.extendSession??!0,this.#n=new le({version:e.version,baseUrl:e.appConfigBaseUrl}),this.#r=new Ur(r),this.#o=new kr(r),this.#s=new Ht,this.#c=new Kt(this.#e)}#w(e){return typeof e=="function"}#x=e=>e instanceof ue||typeof e?.subscribe=="function";#S=(e,r)=>`Application ${e} with instance id ${r} is not found. Most probably the appId property of app.config.json is not set to ${e}`;#A=(e,r=document)=>{const{elementIds:s}=this.#a.get(e)||{};s&&s.forEach(a=>{const f=r.getElementById(a);f&&f.remove()})};#E=({id:e,instanceId:r,documentEle:s,elementIds:a,microFEHost:f,selfInitialize:h})=>{const y=this.#l.get({id:e,instanceId:r});if(!y)throw new Error(this.#S(e,r));this.#a.set(r,{id:e,instanceId:r,elementIds:a,guest:{guestWindow:s?.defaultView,...y},microFEHost:f,selfInitialize:h})};#O=async({id:e,instanceId:r,containerId:s,hostUrl:a,manifestPath:f,homeRoute:h,initialRoute:y,history:A,theme:E,microFEHost:C})=>{const P=this.#l.get({id:e,instanceId:r});if(!P)throw new Error(`Application ${e} with instance id ${r} is not found. Most probably the appId property of app.config.json is not set to ${e}`);if(!P.init||typeof P.init!="function")throw new Error(`Application ${e} with instance id ${r} doesn't expose init method`);const W=C??this.#v({id:e,instanceId:r,containerId:s});return P.init({host:W,hostUrl:a,manifestPath:f,homeRoute:h,initialRoute:y,prevState:null,history:A,theme:E,hostBreakpoint:Dr(),hostViewportSize:lr(),logger:this.#e})};#C=async e=>{try{const{id:r,instanceId:s,files:a,name:f,hostUrl:h,documentEle:y,isJsModule:A}=e;this.#e.debug(`Application ${r} with instance id ${s} is loading...`);let E=a;const C=e.manifest??await Ut.get(e);E=Ut.getFullFileNameofAssets(C,a);const P=E.filter(U=>Br(U)),W=E.filter(U=>!Br(U)),H={name:f,hostUrl:h,documentEle:y,isESMModule:A},[N,K]=await Promise.all([this.#o.load(P,H),this.#r.load(W,H)]);this.#E({id:r,instanceId:s,documentEle:y,elementIds:[...N,...K],microFEHost:e.microFEHost,selfInitialize:e.selfInitialize}),e.selfInitialize||await this.#O(e),this.#e.audit(`Application ${r} with instance id ${s} loaded`)}catch(r){const s=`Application load failed. Unable to load one or more resources for ${e.id} with instance id ${e.instanceId}. ${r.message}`;throw this.#e.error({message:s,appId:e.id,exception:r}),new Error(s)}};#g=({id:e,instanceId:r,hostUrl:s,documentEle:a})=>{this.#e.debug(`Application ${e} with instance id ${r} unloading...`),this.#l.get({id:e,instanceId:r})&&(this.#A(r,a),this.#r.removeDynamicImportedScripts(s,a),this.#r.removePrefetchLinks(s,a),this.#o.removeDynamicImportedStyles(s,a),this.#l.delete({id:e,instanceId:r}),this.#e.audit(`Application ${e} with instance id ${r} unloaded`))};#m=async({id:e,instanceId:r})=>{const s=this.#l.get({id:e,instanceId:r});if(!s?.mount||typeof s?.mount!="function")throw new Error(`Application ${e} with instance id ${r} doesn't expose mount method`);return s.mount({containerId:`${He}${e}`,hostBreakpoint:Dr(),hostViewportSize:lr()})};#T=({id:e,instanceId:r})=>{const s=this.#l.get({id:e,instanceId:r});if(!s?.unmount)return null;if(typeof s.unmount!="function")throw new Error(`Application ${e} with instance id ${r} doesn't expose unmount method`);return s.unmount({containerId:`${He}${e}`})};#P=({id:e,instanceId:r})=>{if(this.#f)try{const s=this.#s.getObject(tt.Application);if(!s){this.#e.warn({message:`Application scripting object not available for ${e} to manage session`});return}const a=this.#a.get(r);if(!a)return;a.keepAlive=Ae()(async()=>{try{await s.keepSessionAlive()}catch(h){this.#e.error(`Error keeping session alive. ${h.message}`)}},Xn);const f=Ee.get(r);zr.forEach(h=>{f?.contentDocument?.addEventListener(h,a.keepAlive)})}catch(s){this.#e.warn({message:`Application scripting object not available for ${e} to manage session`,exception:s})}};#I=(e,r)=>{const s=r?.callContext?.guest;if(s?.instanceId&&this.#a.get(s.instanceId)?.id===e)return s.instanceId;const a=s?.guestWindow,f=Array.from(this.#a.entries()).filter(([,h])=>h.id===e);if(a){const h=f.find(([,y])=>y.guest.guestWindow===a);if(h)return h[0]}return f.length===1?f[0][0]:void 0};#j=(e,r)=>{this.#p.set(r,()=>this.closeApp(r));const s=this.#s.getObject(tt.Module,{id:e}),f=s?._setUnloadHandler;typeof f=="function"&&(this.#d.has(e)||(this.#d.add(e),f.call(s,async()=>{const h=s.unload,y=this.#I(e,typeof h=="function"?h:s);if(!y){this.#e.warn(`Cannot resolve instance for module.unload of ${e}`);return}await this.#p.get(y)?.()})))};#h=(e,r)=>{this.#p.delete(e),[...this.#a.entries()].some(([a,f])=>f.id===r&&a!==e)||this.#d.delete(r)};#M=e=>this.#s.getObject(tt.Module,{id:e});#v=({id:e,instanceId:r,containerId:s})=>new Kn({guest:{id:e},instanceId:r,version:this.#t,containerId:s,logger:this.#e,soManager:this.#s,eventManager:this.#c});#y=async(e,r,s)=>{const a=this.#M(e.id)??_n;return this.#c.dispatchEvent(a,{event:{id:r,name:s},eventParams:{moduleId:e.id},eventOptions:{timeout:Qn,guestId:e.instanceId}})};#R=async e=>{try{const r=await this.#y(e,Zn,"unloading");if(qn(r))return this.#e.info(`Unload denied by guest ${e.id} via module.unloading event`),!1}catch(r){this.#e.warn({message:`Error dispatching module.unloading event for ${e.id}; proceeding with unload`,exception:r})}return!0};#b=async({id:e,instanceId:r,selfInitialize:s})=>{if(!s){await this.#T({id:e,instanceId:r});return}try{await this.#y({id:e,instanceId:r},Jn,"unmount")}catch(a){this.#e.warn({message:`Error dispatching module.unmount event for ${e}`,exception:a})}};#$=e=>{if(!this.#f||!e)return;const{keepAlive:r,instanceId:s}=e;if(r){const f=Ee.get(s)?.contentDocument;f&&zr.forEach(h=>{f.removeEventListener(h,r)}),e.keepAlive?.cancel()}};addScriptingObject=(e,r)=>{if(Ot(e)){const s=this.cloneScriptingObject(e);this.#s.addScriptingObject(s,r)}else this.#s.addScriptingObject(e,r)};cloneScriptingObject=e=>{if(!e)throw new Error("proxy is required");const r=new ve(e.id,e.objectType);let s=[];return Object.keys(e).forEach(a=>{const f=e[a];if(this.#x(f)){const h=new ne({name:f.name||a,objectId:r.id});Object.defineProperty(r,a,{value:h,enumerable:!0});const y=({eventParams:E,eventOptions:C})=>this.dispatchEvent({event:h,eventParams:E,eventOptions:C}),A=f.subscribe(y);s.push(()=>{f.unsubscribe(A)})}else if(this.#w(f)&&(Object.defineProperty(r,a,{value:async(...h)=>{const y=r[a]?.callContext;if(y?.guest){const E=y.callChain??[],C=y.guest,P=C.instanceId??C.id,W=this.#u.get(P),H={id:C.id};W&&(H.metadata=W),Object.defineProperty(f,"callContext",{value:{callChain:[...E,H]},configurable:!0,enumerable:!0,writable:!0})}const A=await f(...h);return Ot(A)?this.cloneScriptingObject(A):A},enumerable:!0}),a==="dispose")){const h=r.dispose;Object.defineProperty(r,a,{value:()=>(r._dispose(),h.apply(r)),enumerable:!0})}}),r._dispose=()=>{s.forEach(a=>{a?.()}),s=[]},r};closeAllApps=async()=>{await Promise.all([...this.#a.keys()].map(this.closeApp))};closeApp=async e=>{if(!e)throw new Error("instanceId is required");const r=this.#a.get(e);if(!r){this.#e.warn(`Application with instance id ${e} is not found`);return}const{id:s,selfInitialize:a}=r;if(!await this.#R({id:s,instanceId:e}))return;const f=this.#i.getConfigById(s);if(!f){this.#e.warn(`Configuration for application ${s} is not found`),this.removeAllScriptingObjects(e),this.#c.unsubscribeByGuestId(e),this.#a.delete(e),this.#u.delete(e),this.#h(e,s),Ee.remove(e);return}const{hostUrl:h}=f,y=Ee.get(e);try{this.#$(r),await this.#b({id:s,instanceId:e,selfInitialize:a})}finally{y?.contentDocument&&this.#g({id:s,instanceId:e,hostUrl:h,documentEle:y.contentDocument}),y&&(y.src="about:blank"),this.removeAllScriptingObjects(e),this.#c.unsubscribeByGuestId(e),this.#a.delete(e),this.#u.delete(e),this.#h(e,s),Ee.remove(e)}};dispatchEvent=async e=>{const{event:{id:r,name:s},eventOptions:a={}}=e,{guestId:f}=a;if(!r)throw new Error("Event Id is required");const h=r.split(".")?.[0],y=f?this.#s.getObject(h,{id:f}):this.#s.getObject(h);return y?this.#c.dispatchEvent(y,e):(this.#e.warn(`Attempt to dispatch event ${s} on unknown object ${h}`),Promise.resolve())};getApp=e=>this.#a.get(e)?.guest;getApps=()=>[...this.#a.values()].map(e=>e.guest);init=async e=>{e?this.#n.setPreloadedConfig(e):await this.#n.load(),this.#i.init({version:this.#t,appConfig:this.#n}),this.#F()};#F=()=>{const e=this.#n.get("microFrontendApps")??{},r=new Set;Object.keys(e).forEach(s=>{const a=this.#i.getConfigById(s);if(a?.hostUrl)try{r.add(new URL(a.hostUrl).origin)}catch{}}),r.forEach(s=>{const a=document.createElement("link");a.rel="preconnect",a.href=s,a.crossOrigin="anonymous",document.head.appendChild(a)})};mountApp=async e=>{if(!e)throw new Error("instanceId is required");const{id:r}=this.#a.get(e)||{};if(!r)throw new Error(`Application with instance id ${e} is not found`);const s=this.#i.getConfigById(r);if(!s)throw new Error(`Application with id ${r} is not found`);await this.#m({...s,instanceId:e})};#D=(e,r,s)=>{const a=this.#v(s),f=e.defaultView;f&&(f.emui=f.emui??{},f.emui.__host=a,f.emui.getHost=()=>f.emui?.__host??null);const h=e.createElement("link");return h.rel="preconnect",h.href=r.hostUrl,h.crossOrigin="anonymous",e.head.appendChild(h),a};openApp=async e=>{const{id:r,frameOptions:s,history:a,theme:f,homeRoute:h,initialRoute:y,metadata:A,selfInitialize:E}=e,C=At();A&&this.#u.set(C,A);const P=this.#i.getConfigById(r);if(!P)throw new Error(`Application ${r} is not found in app config`);const W=Ut.get(P);W.catch(()=>{});const H=await Ee.create({id:r,instanceId:C,manifestPath:P.manifestPath,hostUrl:P.hostUrl,options:{title:P.name,...s}});if(!H?.contentDocument)throw new Error("unable to create iframe for the microapp");try{this.#l.add({id:r,instanceId:C,documentEle:H.contentDocument});const N=this.#D(H.contentDocument,P,{id:r,instanceId:C,containerId:s?.containerId}),K=await W;return await this.#C({instanceId:C,history:a,theme:f,documentEle:H.contentDocument,containerId:s?.containerId,...P,homeRoute:h??P.homeRoute,initialRoute:y,microFEHost:N,selfInitialize:E,manifest:K}),E||await this.#m({instanceId:C,...P}),this.#P({id:r,instanceId:C}),this.#j(r,C),C}catch(N){throw this.#u.delete(C),this.#h(C,r),this.#g({id:r,instanceId:C,hostUrl:P.hostUrl,documentEle:H.contentDocument}),Ee.remove(C),N}};removeAllEventSubscriptions=()=>{this.#c.unsubscribeAll()};removeAllScriptingObjects=e=>{this.#s.removeAllScriptingObjects(e)};removeScriptingObject=(e,r)=>{this.#s.removeScriptingObject(e,r)};warmUp=e=>{const r=this.#i.getConfigById(e);r&&Ut.get(r).catch(()=>{})};unmountApp=async e=>{if(!e)throw new Error("instanceId is required");const r=this.#a.get(e),{id:s,selfInitialize:a}=r||{};if(!s)throw new Error(`Application with instance id ${e} is not found`);if(!this.#i.getConfigById(s))throw new Error(`Application with id ${s} is not found`);await this.#b({id:s,instanceId:e,selfInitialize:a})}}})(),zt})());
16
16
 
17
17
  //# sourceMappingURL=index.js.map
Binary file
Binary file