@elliemae/pui-app-bridge 2.28.5 → 2.28.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-app-bridge",
3
- "version": "2.28.5",
3
+ "version": "2.28.6",
4
4
  "description": "Micro Frontend Library",
5
5
  "repository": {
6
6
  "type": "git",
@@ -41,7 +41,7 @@
41
41
  "lodash": "~4.18.1",
42
42
  "pubsub-js": "~1.9.5",
43
43
  "uuid": "~9.0.1",
44
- "@elliemae/microfe-common": "2.28.5"
44
+ "@elliemae/microfe-common": "2.28.6"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@elliemae/pui-diagnostics": "~3.12.3",
@@ -1,17 +0,0 @@
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,gr=>(()=>{var wt={4674(o,p,t){"use strict";var i=t(7020),a={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},f={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},h={};h[i.ForwardRef]=u,h[i.Memo]=f;function m(L){return i.isMemo(L)?f:h[L.$$typeof]||a}var v=Object.defineProperty,w=Object.getOwnPropertyNames,x=Object.getOwnPropertySymbols,T=Object.getOwnPropertyDescriptor,F=Object.getPrototypeOf,M=Object.prototype;function k(L,z,Y){if(typeof z!="string"){if(M){var le=F(z);le&&le!==M&&k(L,le,Y)}var j=w(z);x&&(j=j.concat(x(z)));for(var Q=m(L),S=m(z),ce=0;ce<j.length;++ce){var ne=j[ce];if(!l[ne]&&!(Y&&Y[ne])&&!(S&&S[ne])&&!(Q&&Q[ne])){var ue=T(z,ne);try{v(L,ne,ue)}catch{}}}}return L}o.exports=k},8054(o,p,t){var i=t(5592),a=t(907),l=i(a,"DataView");o.exports=l},3219(o,p,t){var i=t(2130),a=t(1924),l=t(4743),u=t(1755),f=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=i,h.prototype.delete=a,h.prototype.get=l,h.prototype.has=u,h.prototype.set=f,o.exports=h},7321(o,p,t){var i=t(3044),a=t(4066),l=t(8461),u=t(4417),f=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=i,h.prototype.delete=a,h.prototype.get=l,h.prototype.has=u,h.prototype.set=f,o.exports=h},2565(o,p,t){var i=t(5592),a=t(907),l=i(a,"Map");o.exports=l},111(o,p,t){var i=t(4614),a=t(9504),l=t(9251),u=t(5791),f=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=i,h.prototype.delete=a,h.prototype.get=l,h.prototype.has=u,h.prototype.set=f,o.exports=h},8246(o,p,t){var i=t(5592),a=t(907),l=i(a,"Promise");o.exports=l},4099(o,p,t){var i=t(5592),a=t(907),l=i(a,"Set");o.exports=l},5963(o,p,t){var i=t(7321),a=t(1306),l=t(3180),u=t(5247),f=t(2835),h=t(9179);function m(v){var w=this.__data__=new i(v);this.size=w.size}m.prototype.clear=a,m.prototype.delete=l,m.prototype.get=u,m.prototype.has=f,m.prototype.set=h,o.exports=m},7759(o,p,t){var i=t(907),a=i.Symbol;o.exports=a},9386(o,p,t){var i=t(907),a=i.Uint8Array;o.exports=a},6221(o,p,t){var i=t(5592),a=t(907),l=i(a,"WeakMap");o.exports=l},6047(o){function p(t,i,a){switch(a.length){case 0:return t.call(i);case 1:return t.call(i,a[0]);case 2:return t.call(i,a[0],a[1]);case 3:return t.call(i,a[0],a[1],a[2])}return t.apply(i,a)}o.exports=p},6259(o){function p(t,i){for(var a=-1,l=t==null?0:t.length;++a<l&&i(t[a],a,t)!==!1;);return t}o.exports=p},1840(o){function p(t,i){for(var a=-1,l=t==null?0:t.length,u=0,f=[];++a<l;){var h=t[a];i(h,a,t)&&(f[u++]=h)}return f}o.exports=p},3737(o,p,t){var i=t(5562),a=t(1750),l=t(2619),u=t(3446),f=t(2159),h=t(3133),m=Object.prototype,v=m.hasOwnProperty;function w(x,T){var F=l(x),M=!F&&a(x),k=!F&&!M&&u(x),L=!F&&!M&&!k&&h(x),z=F||M||k||L,Y=z?i(x.length,String):[],le=Y.length;for(var j in x)(T||v.call(x,j))&&!(z&&(j=="length"||k&&(j=="offset"||j=="parent")||L&&(j=="buffer"||j=="byteLength"||j=="byteOffset")||f(j,le)))&&Y.push(j);return Y}o.exports=w},5862(o){function p(t,i){for(var a=-1,l=t==null?0:t.length,u=Array(l);++a<l;)u[a]=i(t[a],a,t);return u}o.exports=p},9130(o){function p(t,i){for(var a=-1,l=i.length,u=t.length;++a<l;)t[u+a]=i[a];return t}o.exports=p},8971(o,p,t){var i=t(3706),a=t(9506);function l(u,f,h){(h!==void 0&&!a(u[f],h)||h===void 0&&!(f in u))&&i(u,f,h)}o.exports=l},3853(o,p,t){var i=t(3706),a=t(9506),l=Object.prototype,u=l.hasOwnProperty;function f(h,m,v){var w=h[m];(!(u.call(h,m)&&a(w,v))||v===void 0&&!(m in h))&&i(h,m,v)}o.exports=f},7831(o,p,t){var i=t(9506);function a(l,u){for(var f=l.length;f--;)if(i(l[f][0],u))return f;return-1}o.exports=a},2183(o,p,t){var i=t(7145),a=t(2096);function l(u,f){return u&&i(f,a(f),u)}o.exports=l},4076(o,p,t){var i=t(7145),a=t(7999);function l(u,f){return u&&i(f,a(f),u)}o.exports=l},3706(o,p,t){var i=t(4665);function a(l,u,f){u=="__proto__"&&i?i(l,u,{configurable:!0,enumerable:!0,value:f,writable:!0}):l[u]=f}o.exports=a},6057(o,p,t){var i=t(5963),a=t(6259),l=t(3853),u=t(2183),f=t(4076),h=t(5196),m=t(3549),v=t(6573),w=t(9934),x=t(6280),T=t(6839),F=t(1663),M=t(143),k=t(7265),L=t(8879),z=t(2619),Y=t(3446),le=t(7884),j=t(9323),Q=t(5070),S=t(2096),ce=t(7999),ne=1,ue=2,ie=4,me="[object Arguments]",pe="[object Array]",B="[object Boolean]",ve="[object Date]",_="[object Error]",Ae="[object Function]",Ge="[object GeneratorFunction]",et="[object Map]",st="[object Number]",xt="[object Object]",Bt="[object RegExp]",Vt="[object Set]",ye="[object String]",St="[object Symbol]",mr="[object WeakMap]",vr="[object ArrayBuffer]",Gt="[object DataView]",At="[object Float32Array]",ot="[object Float64Array]",Et="[object Int8Array]",Ht="[object Int16Array]",Wt="[object Int32Array]",Kt="[object Uint8Array]",Yt="[object Uint8ClampedArray]",Ct="[object Uint16Array]",Xt="[object Uint32Array]",se={};se[me]=se[pe]=se[vr]=se[Gt]=se[B]=se[ve]=se[At]=se[ot]=se[Et]=se[Ht]=se[Wt]=se[et]=se[st]=se[xt]=se[Bt]=se[Vt]=se[ye]=se[St]=se[Kt]=se[Yt]=se[Ct]=se[Xt]=!0,se[_]=se[Ae]=se[mr]=!1;function He(q,We,Ke,Tt,ft,Ee){var Ce,tt=We&ne,Oe=We&ue,Ne=We&ie;if(Ke&&(Ce=ft?Ke(q,Tt,ft,Ee):Ke(q)),Ce!==void 0)return Ce;if(!j(q))return q;var Ot=z(q);if(Ot){if(Ce=M(q),!tt)return m(q,Ce)}else{var Ye=F(q),Pt=Ye==Ae||Ye==Ge;if(Y(q))return h(q,tt);if(Ye==xt||Ye==me||Pt&&!ft){if(Ce=Oe||Pt?{}:L(q),!tt)return Oe?w(q,f(Ce,q)):v(q,u(Ce,q))}else{if(!se[Ye])return ft?q:{};Ce=k(q,Ye,tt)}}Ee||(Ee=new i);var It=Ee.get(q);if(It)return It;Ee.set(q,Ce),Q(q)?q.forEach(function(Ue){Ce.add(He(Ue,We,Ke,Ue,q,Ee))}):le(q)&&q.forEach(function(Ue,Ve){Ce.set(Ve,He(Ue,We,Ke,Ve,q,Ee))});var Zt=Ne?Oe?T:x:Oe?ce:S,jt=Ot?void 0:Zt(q);return a(jt||q,function(Ue,Ve){jt&&(Ve=Ue,Ue=q[Ve]),l(Ce,Ve,He(Ue,We,Ke,Ve,q,Ee))}),Ce}o.exports=He},8514(o,p,t){var i=t(9323),a=Object.create,l=function(){function u(){}return function(f){if(!i(f))return{};if(a)return a(f);u.prototype=f;var h=new u;return u.prototype=void 0,h}}();o.exports=l},5795(o,p,t){var i=t(3375),a=i();o.exports=a},3208(o,p,t){var i=t(2155),a=t(5155);function l(u,f){f=i(f,u);for(var h=0,m=f.length;u!=null&&h<m;)u=u[a(f[h++])];return h&&h==m?u:void 0}o.exports=l},1405(o,p,t){var i=t(9130),a=t(2619);function l(u,f,h){var m=f(u);return a(u)?m:i(m,h(u))}o.exports=l},1490(o,p,t){var i=t(7759),a=t(4817),l=t(7748),u="[object Null]",f="[object Undefined]",h=i?i.toStringTag:void 0;function m(v){return v==null?v===void 0?f:u:h&&h in Object(v)?a(v):l(v)}o.exports=m},2780(o){var p=Object.prototype,t=p.hasOwnProperty;function i(a,l){return a!=null&&t.call(a,l)}o.exports=i},2960(o,p,t){var i=t(1490),a=t(2292),l="[object Arguments]";function u(f){return a(f)&&i(f)==l}o.exports=u},9694(o,p,t){var i=t(1663),a=t(2292),l="[object Map]";function u(f){return a(f)&&i(f)==l}o.exports=u},4401(o,p,t){var i=t(860),a=t(2958),l=t(9323),u=t(8815),f=/[\\^$.*+?()[\]{}|]/g,h=/^\[object .+?Constructor\]$/,m=Function.prototype,v=Object.prototype,w=m.toString,x=v.hasOwnProperty,T=RegExp("^"+w.call(x).replace(f,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function F(M){if(!l(M)||a(M))return!1;var k=i(M)?T:h;return k.test(u(M))}o.exports=F},8172(o,p,t){var i=t(1663),a=t(2292),l="[object Set]";function u(f){return a(f)&&i(f)==l}o.exports=u},5283(o,p,t){var i=t(1490),a=t(5300),l=t(2292),u="[object Arguments]",f="[object Array]",h="[object Boolean]",m="[object Date]",v="[object Error]",w="[object Function]",x="[object Map]",T="[object Number]",F="[object Object]",M="[object RegExp]",k="[object Set]",L="[object String]",z="[object WeakMap]",Y="[object ArrayBuffer]",le="[object DataView]",j="[object Float32Array]",Q="[object Float64Array]",S="[object Int8Array]",ce="[object Int16Array]",ne="[object Int32Array]",ue="[object Uint8Array]",ie="[object Uint8ClampedArray]",me="[object Uint16Array]",pe="[object Uint32Array]",B={};B[j]=B[Q]=B[S]=B[ce]=B[ne]=B[ue]=B[ie]=B[me]=B[pe]=!0,B[u]=B[f]=B[Y]=B[h]=B[le]=B[m]=B[v]=B[w]=B[x]=B[T]=B[F]=B[M]=B[k]=B[L]=B[z]=!1;function ve(_){return l(_)&&a(_.length)&&!!B[i(_)]}o.exports=ve},2322(o,p,t){var i=t(8861),a=t(9692),l=Object.prototype,u=l.hasOwnProperty;function f(h){if(!i(h))return a(h);var m=[];for(var v in Object(h))u.call(h,v)&&v!="constructor"&&m.push(v);return m}o.exports=f},5045(o,p,t){var i=t(9323),a=t(8861),l=t(1779),u=Object.prototype,f=u.hasOwnProperty;function h(m){if(!i(m))return l(m);var v=a(m),w=[];for(var x in m)x=="constructor"&&(v||!f.call(m,x))||w.push(x);return w}o.exports=h},3912(o,p,t){var i=t(5963),a=t(8971),l=t(5795),u=t(8342),f=t(9323),h=t(7999),m=t(5760);function v(w,x,T,F,M){w!==x&&l(x,function(k,L){if(M||(M=new i),f(k))u(w,x,L,T,v,F,M);else{var z=F?F(m(w,L),k,L+"",w,x,M):void 0;z===void 0&&(z=k),a(w,L,z)}},h)}o.exports=v},8342(o,p,t){var i=t(8971),a=t(5196),l=t(5979),u=t(3549),f=t(8879),h=t(1750),m=t(2619),v=t(1891),w=t(3446),x=t(860),T=t(9323),F=t(1281),M=t(3133),k=t(5760),L=t(4514);function z(Y,le,j,Q,S,ce,ne){var ue=k(Y,j),ie=k(le,j),me=ne.get(ie);if(me){i(Y,j,me);return}var pe=ce?ce(ue,ie,j+"",Y,le,ne):void 0,B=pe===void 0;if(B){var ve=m(ie),_=!ve&&w(ie),Ae=!ve&&!_&&M(ie);pe=ie,ve||_||Ae?m(ue)?pe=ue:v(ue)?pe=u(ue):_?(B=!1,pe=a(ie,!0)):Ae?(B=!1,pe=l(ie,!0)):pe=[]:F(ie)||h(ie)?(pe=ue,h(ue)?pe=L(ue):(!T(ue)||x(ue))&&(pe=f(ie))):B=!1}B&&(ne.set(ie,pe),S(pe,ie,Q,ce,ne),ne.delete(ie)),i(Y,j,pe)}o.exports=z},6936(o,p,t){var i=t(4846),a=t(8619),l=t(9599);function u(f,h){return l(a(f,h,i),f+"")}o.exports=u},604(o,p,t){var i=t(3853),a=t(2155),l=t(2159),u=t(9323),f=t(5155);function h(m,v,w,x){if(!u(m))return m;v=a(v,m);for(var T=-1,F=v.length,M=F-1,k=m;k!=null&&++T<F;){var L=f(v[T]),z=w;if(L==="__proto__"||L==="constructor"||L==="prototype")return m;if(T!=M){var Y=k[L];z=x?x(Y,L,k):void 0,z===void 0&&(z=u(Y)?Y:l(v[T+1])?[]:{})}i(k,L,z),k=k[L]}return m}o.exports=h},7680(o,p,t){var i=t(6148),a=t(4665),l=t(4846),u=a?function(f,h){return a(f,"toString",{configurable:!0,enumerable:!1,value:i(h),writable:!0})}:l;o.exports=u},5562(o){function p(t,i){for(var a=-1,l=Array(t);++a<t;)l[a]=i(a);return l}o.exports=p},1978(o,p,t){var i=t(7759),a=t(5862),l=t(2619),u=t(7964),f=1/0,h=i?i.prototype:void 0,m=h?h.toString:void 0;function v(w){if(typeof w=="string")return w;if(l(w))return a(w,v)+"";if(u(w))return m?m.call(w):"";var x=w+"";return x=="0"&&1/w==-f?"-0":x}o.exports=v},6(o,p,t){var i=t(5082),a=/^\s+/;function l(u){return u&&u.slice(0,i(u)+1).replace(a,"")}o.exports=l},1155(o){function p(t){return function(i){return t(i)}}o.exports=p},2155(o,p,t){var i=t(2619),a=t(5304),l=t(4352),u=t(7164);function f(h,m){return i(h)?h:a(h,m)?[h]:l(u(h))}o.exports=f},2859(o,p,t){var i=t(9386);function a(l){var u=new l.constructor(l.byteLength);return new i(u).set(new i(l)),u}o.exports=a},5196(o,p,t){o=t.nmd(o);var i=t(907),a=p&&!p.nodeType&&p,l=a&&!0&&o&&!o.nodeType&&o,u=l&&l.exports===a,f=u?i.Buffer:void 0,h=f?f.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}o.exports=m},7795(o,p,t){var i=t(2859);function a(l,u){var f=u?i(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.byteLength)}o.exports=a},6899(o){var p=/\w*$/;function t(i){var a=new i.constructor(i.source,p.exec(i));return a.lastIndex=i.lastIndex,a}o.exports=t},4518(o,p,t){var i=t(7759),a=i?i.prototype:void 0,l=a?a.valueOf:void 0;function u(f){return l?Object(l.call(f)):{}}o.exports=u},5979(o,p,t){var i=t(2859);function a(l,u){var f=u?i(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.length)}o.exports=a},3549(o){function p(t,i){var a=-1,l=t.length;for(i||(i=Array(l));++a<l;)i[a]=t[a];return i}o.exports=p},7145(o,p,t){var i=t(3853),a=t(3706);function l(u,f,h,m){var v=!h;h||(h={});for(var w=-1,x=f.length;++w<x;){var T=f[w],F=m?m(h[T],u[T],T,h,u):void 0;F===void 0&&(F=u[T]),v?a(h,T,F):i(h,T,F)}return h}o.exports=l},6573(o,p,t){var i=t(7145),a=t(1454);function l(u,f){return i(u,a(u),f)}o.exports=l},9934(o,p,t){var i=t(7145),a=t(6649);function l(u,f){return i(u,a(u),f)}o.exports=l},3703(o,p,t){var i=t(907),a=i["__core-js_shared__"];o.exports=a},2917(o,p,t){var i=t(6936),a=t(9542);function l(u){return i(function(f,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&&a(h[0],h[1],x)&&(w=v<3?void 0:w,v=1),f=Object(f);++m<v;){var T=h[m];T&&u(f,T,m,w)}return f})}o.exports=l},3375(o){function p(t){return function(i,a,l){for(var u=-1,f=Object(i),h=l(i),m=h.length;m--;){var v=h[t?m:++u];if(a(f[v],v,f)===!1)break}return i}}o.exports=p},4665(o,p,t){var i=t(5592),a=function(){try{var l=i(Object,"defineProperty");return l({},"",{}),l}catch{}}();o.exports=a},6710(o){var p=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;o.exports=p},6280(o,p,t){var i=t(1405),a=t(1454),l=t(2096);function u(f){return i(f,l,a)}o.exports=u},6839(o,p,t){var i=t(1405),a=t(6649),l=t(7999);function u(f){return i(f,l,a)}o.exports=u},9257(o,p,t){var i=t(7500);function a(l,u){var f=l.__data__;return i(u)?f[typeof u=="string"?"string":"hash"]:f.map}o.exports=a},5592(o,p,t){var i=t(4401),a=t(2490);function l(u,f){var h=a(u,f);return i(h)?h:void 0}o.exports=l},553(o,p,t){var i=t(7937),a=i(Object.getPrototypeOf,Object);o.exports=a},4817(o,p,t){var i=t(7759),a=Object.prototype,l=a.hasOwnProperty,u=a.toString,f=i?i.toStringTag:void 0;function h(m){var v=l.call(m,f),w=m[f];try{m[f]=void 0;var x=!0}catch{}var T=u.call(m);return x&&(v?m[f]=w:delete m[f]),T}o.exports=h},1454(o,p,t){var i=t(1840),a=t(5615),l=Object.prototype,u=l.propertyIsEnumerable,f=Object.getOwnPropertySymbols,h=f?function(m){return m==null?[]:(m=Object(m),i(f(m),function(v){return u.call(m,v)}))}:a;o.exports=h},6649(o,p,t){var i=t(9130),a=t(553),l=t(1454),u=t(5615),f=Object.getOwnPropertySymbols,h=f?function(m){for(var v=[];m;)i(v,l(m)),m=a(m);return v}:u;o.exports=h},1663(o,p,t){var i=t(8054),a=t(2565),l=t(8246),u=t(4099),f=t(6221),h=t(1490),m=t(8815),v="[object Map]",w="[object Object]",x="[object Promise]",T="[object Set]",F="[object WeakMap]",M="[object DataView]",k=m(i),L=m(a),z=m(l),Y=m(u),le=m(f),j=h;(i&&j(new i(new ArrayBuffer(1)))!=M||a&&j(new a)!=v||l&&j(l.resolve())!=x||u&&j(new u)!=T||f&&j(new f)!=F)&&(j=function(Q){var S=h(Q),ce=S==w?Q.constructor:void 0,ne=ce?m(ce):"";if(ne)switch(ne){case k:return M;case L:return v;case z:return x;case Y:return T;case le:return F}return S}),o.exports=j},2490(o){function p(t,i){return t?.[i]}o.exports=p},5728(o,p,t){var i=t(2155),a=t(1750),l=t(2619),u=t(2159),f=t(5300),h=t(5155);function m(v,w,x){w=i(w,v);for(var T=-1,F=w.length,M=!1;++T<F;){var k=h(w[T]);if(!(M=v!=null&&x(v,k)))break;v=v[k]}return M||++T!=F?M:(F=v==null?0:v.length,!!F&&f(F)&&u(k,F)&&(l(v)||a(v)))}o.exports=m},2130(o,p,t){var i=t(9444);function a(){this.__data__=i?i(null):{},this.size=0}o.exports=a},1924(o){function p(t){var i=this.has(t)&&delete this.__data__[t];return this.size-=i?1:0,i}o.exports=p},4743(o,p,t){var i=t(9444),a="__lodash_hash_undefined__",l=Object.prototype,u=l.hasOwnProperty;function f(h){var m=this.__data__;if(i){var v=m[h];return v===a?void 0:v}return u.call(m,h)?m[h]:void 0}o.exports=f},1755(o,p,t){var i=t(9444),a=Object.prototype,l=a.hasOwnProperty;function u(f){var h=this.__data__;return i?h[f]!==void 0:l.call(h,f)}o.exports=u},5203(o,p,t){var i=t(9444),a="__lodash_hash_undefined__";function l(u,f){var h=this.__data__;return this.size+=this.has(u)?0:1,h[u]=i&&f===void 0?a:f,this}o.exports=l},143(o){var p=Object.prototype,t=p.hasOwnProperty;function i(a){var l=a.length,u=new a.constructor(l);return l&&typeof a[0]=="string"&&t.call(a,"index")&&(u.index=a.index,u.input=a.input),u}o.exports=i},7265(o,p,t){var i=t(2859),a=t(7795),l=t(6899),u=t(4518),f=t(5979),h="[object Boolean]",m="[object Date]",v="[object Map]",w="[object Number]",x="[object RegExp]",T="[object Set]",F="[object String]",M="[object Symbol]",k="[object ArrayBuffer]",L="[object DataView]",z="[object Float32Array]",Y="[object Float64Array]",le="[object Int8Array]",j="[object Int16Array]",Q="[object Int32Array]",S="[object Uint8Array]",ce="[object Uint8ClampedArray]",ne="[object Uint16Array]",ue="[object Uint32Array]";function ie(me,pe,B){var ve=me.constructor;switch(pe){case k:return i(me);case h:case m:return new ve(+me);case L:return a(me,B);case z:case Y:case le:case j:case Q:case S:case ce:case ne:case ue:return f(me,B);case v:return new ve;case w:case F:return new ve(me);case x:return l(me);case T:return new ve;case M:return u(me)}}o.exports=ie},8879(o,p,t){var i=t(8514),a=t(553),l=t(8861);function u(f){return typeof f.constructor=="function"&&!l(f)?i(a(f)):{}}o.exports=u},2159(o){var p=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function i(a,l){var u=typeof a;return l=l??p,!!l&&(u=="number"||u!="symbol"&&t.test(a))&&a>-1&&a%1==0&&a<l}o.exports=i},9542(o,p,t){var i=t(9506),a=t(644),l=t(2159),u=t(9323);function f(h,m,v){if(!u(v))return!1;var w=typeof m;return(w=="number"?a(v)&&l(m,v.length):w=="string"&&m in v)?i(v[m],h):!1}o.exports=f},5304(o,p,t){var i=t(2619),a=t(7964),l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;function f(h,m){if(i(h))return!1;var v=typeof h;return v=="number"||v=="symbol"||v=="boolean"||h==null||a(h)?!0:u.test(h)||!l.test(h)||m!=null&&h in Object(m)}o.exports=f},7500(o){function p(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}o.exports=p},2958(o,p,t){var i=t(3703),a=function(){var u=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return u?"Symbol(src)_1."+u:""}();function l(u){return!!a&&a in u}o.exports=l},8861(o){var p=Object.prototype;function t(i){var a=i&&i.constructor,l=typeof a=="function"&&a.prototype||p;return i===l}o.exports=t},3044(o){function p(){this.__data__=[],this.size=0}o.exports=p},4066(o,p,t){var i=t(7831),a=Array.prototype,l=a.splice;function u(f){var h=this.__data__,m=i(h,f);if(m<0)return!1;var v=h.length-1;return m==v?h.pop():l.call(h,m,1),--this.size,!0}o.exports=u},8461(o,p,t){var i=t(7831);function a(l){var u=this.__data__,f=i(u,l);return f<0?void 0:u[f][1]}o.exports=a},4417(o,p,t){var i=t(7831);function a(l){return i(this.__data__,l)>-1}o.exports=a},2777(o,p,t){var i=t(7831);function a(l,u){var f=this.__data__,h=i(f,l);return h<0?(++this.size,f.push([l,u])):f[h][1]=u,this}o.exports=a},4614(o,p,t){var i=t(3219),a=t(7321),l=t(2565);function u(){this.size=0,this.__data__={hash:new i,map:new(l||a),string:new i}}o.exports=u},9504(o,p,t){var i=t(9257);function a(l){var u=i(this,l).delete(l);return this.size-=u?1:0,u}o.exports=a},9251(o,p,t){var i=t(9257);function a(l){return i(this,l).get(l)}o.exports=a},5791(o,p,t){var i=t(9257);function a(l){return i(this,l).has(l)}o.exports=a},1511(o,p,t){var i=t(9257);function a(l,u){var f=i(this,l),h=f.size;return f.set(l,u),this.size+=f.size==h?0:1,this}o.exports=a},3426(o,p,t){var i=t(8590),a=500;function l(u){var f=i(u,function(m){return h.size===a&&h.clear(),m}),h=f.cache;return f}o.exports=l},9444(o,p,t){var i=t(5592),a=i(Object,"create");o.exports=a},9692(o,p,t){var i=t(7937),a=i(Object.keys,Object);o.exports=a},1779(o){function p(t){var i=[];if(t!=null)for(var a in Object(t))i.push(a);return i}o.exports=p},1587(o,p,t){o=t.nmd(o);var i=t(6710),a=p&&!p.nodeType&&p,l=a&&!0&&o&&!o.nodeType&&o,u=l&&l.exports===a,f=u&&i.process,h=function(){try{var m=l&&l.require&&l.require("util").types;return m||f&&f.binding&&f.binding("util")}catch{}}();o.exports=h},7748(o){var p=Object.prototype,t=p.toString;function i(a){return t.call(a)}o.exports=i},7937(o){function p(t,i){return function(a){return t(i(a))}}o.exports=p},8619(o,p,t){var i=t(6047),a=Math.max;function l(u,f,h){return f=a(f===void 0?u.length-1:f,0),function(){for(var m=arguments,v=-1,w=a(m.length-f,0),x=Array(w);++v<w;)x[v]=m[f+v];v=-1;for(var T=Array(f+1);++v<f;)T[v]=m[v];return T[f]=h(x),i(u,this,T)}}o.exports=l},907(o,p,t){var i=t(6710),a=typeof self=="object"&&self&&self.Object===Object&&self,l=i||a||Function("return this")();o.exports=l},5760(o){function p(t,i){if(!(i==="constructor"&&typeof t[i]=="function")&&i!="__proto__")return t[i]}o.exports=p},9599(o,p,t){var i=t(7680),a=t(6101),l=a(i);o.exports=l},6101(o){var p=800,t=16,i=Date.now;function a(l){var u=0,f=0;return function(){var h=i(),m=t-(h-f);if(f=h,m>0){if(++u>=p)return arguments[0]}else u=0;return l.apply(void 0,arguments)}}o.exports=a},1306(o,p,t){var i=t(7321);function a(){this.__data__=new i,this.size=0}o.exports=a},3180(o){function p(t){var i=this.__data__,a=i.delete(t);return this.size=i.size,a}o.exports=p},5247(o){function p(t){return this.__data__.get(t)}o.exports=p},2835(o){function p(t){return this.__data__.has(t)}o.exports=p},9179(o,p,t){var i=t(7321),a=t(2565),l=t(111),u=200;function f(h,m){var v=this.__data__;if(v instanceof i){var w=v.__data__;if(!a||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}o.exports=f},4352(o,p,t){var i=t(3426),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g,u=i(function(f){var h=[];return f.charCodeAt(0)===46&&h.push(""),f.replace(a,function(m,v,w,x){h.push(w?x.replace(l,"$1"):v||m)}),h});o.exports=u},5155(o,p,t){var i=t(7964),a=1/0;function l(u){if(typeof u=="string"||i(u))return u;var f=u+"";return f=="0"&&1/u==-a?"-0":f}o.exports=l},8815(o){var p=Function.prototype,t=p.toString;function i(a){if(a!=null){try{return t.call(a)}catch{}try{return a+""}catch{}}return""}o.exports=i},5082(o){var p=/\s/;function t(i){for(var a=i.length;a--&&p.test(i.charAt(a)););return a}o.exports=t},8313(o,p,t){var i=t(6057),a=1,l=4;function u(f){return i(f,a|l)}o.exports=u},6148(o){function p(t){return function(){return t}}o.exports=p},671(o,p,t){var i=t(9323),a=t(5062),l=t(9480),u="Expected a function",f=Math.max,h=Math.min;function m(v,w,x){var T,F,M,k,L,z,Y=0,le=!1,j=!1,Q=!0;if(typeof v!="function")throw new TypeError(u);w=l(w)||0,i(x)&&(le=!!x.leading,j="maxWait"in x,M=j?f(l(x.maxWait)||0,w):M,Q="trailing"in x?!!x.trailing:Q);function S(_){var Ae=T,Ge=F;return T=F=void 0,Y=_,k=v.apply(Ge,Ae),k}function ce(_){return Y=_,L=setTimeout(ie,w),le?S(_):k}function ne(_){var Ae=_-z,Ge=_-Y,et=w-Ae;return j?h(et,M-Ge):et}function ue(_){var Ae=_-z,Ge=_-Y;return z===void 0||Ae>=w||Ae<0||j&&Ge>=M}function ie(){var _=a();if(ue(_))return me(_);L=setTimeout(ie,ne(_))}function me(_){return L=void 0,Q&&T?S(_):(T=F=void 0,k)}function pe(){L!==void 0&&clearTimeout(L),Y=0,T=z=F=L=void 0}function B(){return L===void 0?k:me(a())}function ve(){var _=a(),Ae=ue(_);if(T=arguments,F=this,z=_,Ae){if(L===void 0)return ce(z);if(j)return clearTimeout(L),L=setTimeout(ie,w),S(z)}return L===void 0&&(L=setTimeout(ie,w)),k}return ve.cancel=pe,ve.flush=B,ve}o.exports=m},9506(o){function p(t,i){return t===i||t!==t&&i!==i}o.exports=p},2438(o,p,t){var i=t(3208);function a(l,u,f){var h=l==null?void 0:i(l,u);return h===void 0?f:h}o.exports=a},2146(o,p,t){var i=t(2780),a=t(5728);function l(u,f){return u!=null&&a(u,f,i)}o.exports=l},4846(o){function p(t){return t}o.exports=p},1750(o,p,t){var i=t(2960),a=t(2292),l=Object.prototype,u=l.hasOwnProperty,f=l.propertyIsEnumerable,h=i(function(){return arguments}())?i:function(m){return a(m)&&u.call(m,"callee")&&!f.call(m,"callee")};o.exports=h},2619(o){var p=Array.isArray;o.exports=p},644(o,p,t){var i=t(860),a=t(5300);function l(u){return u!=null&&a(u.length)&&!i(u)}o.exports=l},1891(o,p,t){var i=t(644),a=t(2292);function l(u){return a(u)&&i(u)}o.exports=l},3446(o,p,t){o=t.nmd(o);var i=t(907),a=t(9349),l=p&&!p.nodeType&&p,u=l&&!0&&o&&!o.nodeType&&o,f=u&&u.exports===l,h=f?i.Buffer:void 0,m=h?h.isBuffer:void 0,v=m||a;o.exports=v},860(o,p,t){var i=t(1490),a=t(9323),l="[object AsyncFunction]",u="[object Function]",f="[object GeneratorFunction]",h="[object Proxy]";function m(v){if(!a(v))return!1;var w=i(v);return w==u||w==f||w==l||w==h}o.exports=m},5300(o){var p=9007199254740991;function t(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=p}o.exports=t},7884(o,p,t){var i=t(9694),a=t(1155),l=t(1587),u=l&&l.isMap,f=u?a(u):i;o.exports=f},9323(o){function p(t){var i=typeof t;return t!=null&&(i=="object"||i=="function")}o.exports=p},2292(o){function p(t){return t!=null&&typeof t=="object"}o.exports=p},1281(o,p,t){var i=t(1490),a=t(553),l=t(2292),u="[object Object]",f=Function.prototype,h=Object.prototype,m=f.toString,v=h.hasOwnProperty,w=m.call(Object);function x(T){if(!l(T)||i(T)!=u)return!1;var F=a(T);if(F===null)return!0;var M=v.call(F,"constructor")&&F.constructor;return typeof M=="function"&&M instanceof M&&m.call(M)==w}o.exports=x},5070(o,p,t){var i=t(8172),a=t(1155),l=t(1587),u=l&&l.isSet,f=u?a(u):i;o.exports=f},7964(o,p,t){var i=t(1490),a=t(2292),l="[object Symbol]";function u(f){return typeof f=="symbol"||a(f)&&i(f)==l}o.exports=u},3133(o,p,t){var i=t(5283),a=t(1155),l=t(1587),u=l&&l.isTypedArray,f=u?a(u):i;o.exports=f},2096(o,p,t){var i=t(3737),a=t(2322),l=t(644);function u(f){return l(f)?i(f):a(f)}o.exports=u},7999(o,p,t){var i=t(3737),a=t(5045),l=t(644);function u(f){return l(f)?i(f,!0):a(f)}o.exports=u},8590(o,p,t){var i=t(111),a="Expected a function";function l(u,f){if(typeof u!="function"||f!=null&&typeof f!="function")throw new TypeError(a);var h=function(){var m=arguments,v=f?f.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||i),h}l.Cache=i,o.exports=l},8970(o,p,t){var i=t(3912),a=t(2917),l=a(function(u,f,h){i(u,f,h)});o.exports=l},5062(o,p,t){var i=t(907),a=function(){return i.Date.now()};o.exports=a},2154(o,p,t){var i=t(604);function a(l,u,f){return l==null?l:i(l,u,f)}o.exports=a},5615(o){function p(){return[]}o.exports=p},9349(o){function p(){return!1}o.exports=p},6712(o,p,t){var i=t(671),a=t(9323),l="Expected a function";function u(f,h,m){var v=!0,w=!0;if(typeof f!="function")throw new TypeError(l);return a(m)&&(v="leading"in m?!!m.leading:v,w="trailing"in m?!!m.trailing:w),i(f,h,{leading:v,maxWait:h,trailing:w})}o.exports=u},9480(o,p,t){var i=t(6),a=t(9323),l=t(7964),u=NaN,f=/^[-+]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(a(x)){var T=typeof x.valueOf=="function"?x.valueOf():x;x=a(T)?T+"":T}if(typeof x!="string")return x===0?x:+x;x=i(x);var F=h.test(x);return F||m.test(x)?v(x.slice(2),F?2:8):f.test(x)?u:+x}o.exports=w},4514(o,p,t){var i=t(7145),a=t(7999);function l(u){return i(u,a(u))}o.exports=l},7164(o,p,t){var i=t(1978);function a(l){return l==null?"":i(l)}o.exports=a},5360(o,p){"use strict";/** @license React v16.13.1
2
- * react-is.production.min.js
3
- *
4
- * Copyright (c) Facebook, Inc. and its affiliates.
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */var t=typeof Symbol=="function"&&Symbol.for,i=t?Symbol.for("react.element"):60103,a=t?Symbol.for("react.portal"):60106,l=t?Symbol.for("react.fragment"):60107,u=t?Symbol.for("react.strict_mode"):60108,f=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,F=t?Symbol.for("react.suspense_list"):60120,M=t?Symbol.for("react.memo"):60115,k=t?Symbol.for("react.lazy"):60116,L=t?Symbol.for("react.block"):60121,z=t?Symbol.for("react.fundamental"):60117,Y=t?Symbol.for("react.responder"):60118,le=t?Symbol.for("react.scope"):60119;function j(S){if(typeof S=="object"&&S!==null){var ce=S.$$typeof;switch(ce){case i:switch(S=S.type,S){case v:case w:case l:case f:case u:case T:return S;default:switch(S=S&&S.$$typeof,S){case m:case x:case k:case M:case h:return S;default:return ce}}case a:return ce}}}function Q(S){return j(S)===w}p.AsyncMode=v,p.ConcurrentMode=w,p.ContextConsumer=m,p.ContextProvider=h,p.Element=i,p.ForwardRef=x,p.Fragment=l,p.Lazy=k,p.Memo=M,p.Portal=a,p.Profiler=f,p.StrictMode=u,p.Suspense=T,p.isAsyncMode=function(S){return Q(S)||j(S)===v},p.isConcurrentMode=Q,p.isContextConsumer=function(S){return j(S)===m},p.isContextProvider=function(S){return j(S)===h},p.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===i},p.isForwardRef=function(S){return j(S)===x},p.isFragment=function(S){return j(S)===l},p.isLazy=function(S){return j(S)===k},p.isMemo=function(S){return j(S)===M},p.isPortal=function(S){return j(S)===a},p.isProfiler=function(S){return j(S)===f},p.isStrictMode=function(S){return j(S)===u},p.isSuspense=function(S){return j(S)===T},p.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===l||S===w||S===f||S===u||S===T||S===F||typeof S=="object"&&S!==null&&(S.$$typeof===k||S.$$typeof===M||S.$$typeof===h||S.$$typeof===m||S.$$typeof===x||S.$$typeof===z||S.$$typeof===Y||S.$$typeof===le||S.$$typeof===L)},p.typeOf=j},7020(o,p,t){"use strict";o.exports=t(5360)},162(o){o.exports=function(t,i,a,l){var u=a?a.call(l,t,i):void 0;if(u!==void 0)return!!u;if(t===i)return!0;if(typeof t!="object"||!t||typeof i!="object"||!i)return!1;var f=Object.keys(t),h=Object.keys(i);if(f.length!==h.length)return!1;for(var m=Object.prototype.hasOwnProperty.bind(i),v=0;v<f.length;v++){var w=f[v];if(!m(w))return!1;var x=t[w],T=i[w];if(u=a?a.call(l,x,T,w):void 0,u===!1||u===void 0&&x!==T)return!1}return!0}},4883(o){"use strict";o.exports=gr}},qe={};function X(o){var p=qe[o];if(p!==void 0)return p.exports;var t=qe[o]={id:o,loaded:!1,exports:{}};return wt[o](t,t.exports,X),t.loaded=!0,t.exports}X.n=o=>{var p=o&&o.__esModule?()=>o.default:()=>o;return X.d(p,{a:p}),p},X.d=(o,p)=>{for(var t in p)X.o(p,t)&&!X.o(o,t)&&Object.defineProperty(o,t,{enumerable:!0,get:p[t]})},X.o=(o,p)=>Object.prototype.hasOwnProperty.call(o,p),X.r=o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},X.nmd=o=>(o.paths=[],o.children||(o.children=[]),o),(()=>{var o;globalThis.importScripts&&(o=globalThis.location+"");var p=globalThis.document;if(!o&&p&&(p.currentScript&&p.currentScript.tagName.toUpperCase()==="SCRIPT"&&(o=p.currentScript.src),!o)){var t=p.getElementsByTagName("script");if(t.length)for(var i=t.length-1;i>-1&&(!o||!/^http(s?):/.test(o));)o=t[i--].src}if(!o)throw new Error("Automatic publicPath is not supported in this browser");o=o.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),X.p=o+"../"})(),X.nc=void 0;var zt={};return(()=>{"use strict";X.r(zt),X.d(zt,{CAppBridge:()=>Zn,Event:()=>ne,LaunchMode:()=>Q,MicroAppManager:()=>S,ScriptLoader:()=>Ur,ScriptingObject:()=>ve,SecurityContext:()=>o,StyleLoader:()=>zr});var o=(r=>(r.USER="USER",r.PARTNER="PARTNER",r))(o||{}),p=X(8313),t=X.n(p),i=X(2438),a=X.n(i),l=X(2154),u=X.n(l),f=X(2146),h=X.n(f),m=X(8970),v=X.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="latest",T=r=>r.replace(/([^:]\/)\/+/g,"$1"),F=r=>{const e=document.createElement("a");return e.href=r,e.href},M=r=>r?.replace?.(/\/?$/,"/"),k=(r,e)=>`${r.replace(/\/+$/,"")}/${e.replace(/^\/+/,"")}`,L=r=>/^(\/|https?:\/\/)/.test(r),z=(r,e)=>{const n=M(e);if(L(n)){const{origin:s}=new URL(r,window.location.href);return T(new URL(n,s).href)}return T(new URL(n,M(r)).href)},Y=(r,e)=>T(new URL("manifest.json",z(r,e)).href),le=()=>window.navigator.userAgent.includes("jsdom"),j=r=>r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var Q=(r=>(r.DEVELOPMENT="development",r.PRODUCTION="production",r))(Q||{}),S=(r=>(r.SSF="ssf",r.APPSDK="appsdk",r))(S||{});class ce{#e=w;#t;#r;constructor(e){this.#t=e?.version||x,this.#r=M(e?.baseUrl||"")}#o=e=>{const{activeEnv:n,env:s,...c}=e,d=s[n]||{};this.#e=v()({},c,d)};get=(e="",n=null)=>t()(a()(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 M(`${this.#r}${n?.[0]||x}`)}return this.#r};load=async e=>{const n=e??`${this.#n()}app.config.json`;let s;try{s=await fetch(n)}catch(c){if(!e&&this.#t!==x){await this.load(`${this.#r}latest/app.config.json`);return}throw new Error("Failed to fetch app config",{cause:c})}if(s.ok)try{const c=await s.json();this.#o(c)}catch(c){if(!e&&this.#t!==x)await this.load(`${this.#r}latest/app.config.json`);else throw new Error("Failed to parse app config",{cause:c})}else{if(!e&&this.#t!==x){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:c}=e;if(!n)throw new Error("Event name is required");if(!s)throw new Error("Scripting object id is required");if(!c)throw new Error("Event source is required");this.objectId=s,this.name=n,this.#e=c,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 ie=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 c=this[s];ie(c)?n.push(s):B(c,s)&&e.push(s)}),{objectId:this.#e,objectType:this.#t,functions:e,events:n}};_dispose=()=>{};dispose=()=>{}}var _=X(6712),Ae=X.n(_);const et={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let st;const xt=new Uint8Array(16);function Bt(){if(!st&&(st=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!st))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return st(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 mr(r,e=0){const n=St(r,e);if(!Vt(n))throw TypeError("Stringified UUID is invalid");return n}const vr=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 c=0;c<16;++c)e[n+c]=s[c];return e}return St(s)}const At=Gt;var ot=(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))(ot||{});const Et="module";var Ht=(r=>(r.USER="USER",r.PARTNER="PARTNER",r))(Ht||{}),Wt=(r=>(r.THROW="throw",r.IGNORE="ignore",r))(Wt||{});class Kt{#e=e=>e.trim().toLowerCase();#t=new Map;#r=new Map;#o=e=>{const{so:n,guestId:s,onDuplicate:c="throw",securityContext:d}=e,g=this.#e(n.id),y={so:n,guestId:s,securityContext:d},A=this.#r.get(s);if(!A){this.#r.set(s,new Map([[g,y]]));return}if(A.has(g)){if(c==="ignore")return;throw new Error(`Scripting Object ${n.id} already exists for guest ${s}`)}A.set(g,y)};#n=({so:e})=>{if(e._dispose&&typeof e._dispose=="function")try{e._dispose()}catch{}};#i=({objectId:e,guestId:n})=>{if(e===Et&&!n)for(const[,c]of this.#r){const d=c.get(e);if(d)return d}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 c=this.#r.get(n);c&&c.forEach(this.#n),this.#r.delete(n);return}const s=this.#r.get(n);if(s){const c=s.get(e);c&&this.#n(c),s.delete(e)}}else e&&this.#r.forEach(s=>{const c=s.get(e);c&&this.#n(c),s.delete(e)})};addScriptingObject=(e,n)=>{const{guestId:s,onDuplicate:c="throw",securityContext:d}=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.#o({so:e,...n,guestId:s,onDuplicate:c});return}if(this.#t.has(g)){if(c==="ignore")return;throw new Error(`Scripting Object ${e.id} already exists`)}this.#t.set(g,{so:e,guestId:s,securityContext:d})};getObject=(e,n)=>{const s=this.#e(e);let c=this.#i({objectId:s,guestId:n?.id});c=c??this.#t.get(s)??null;const{so:d}=c||{};return d||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 c of s.keys())n.add(c);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 c=this.#t.get(s);c&&this.#n(c),this.#t.delete(s)}};removeAllScriptingObjects=e=>{e?this.#s({guestId:e}):(this.#t.forEach(this.#n),this.#t.clear())}}class Yt{__TYPE__="Proxy";id;objectType;constructor(e,n){this.id=e,this.objectType=n}}const Ct=r=>r?.constructor?.name==="Proxy"||r?.constructor?.name==="ScriptingObjectProxy"||r?.__TYPE__==="Proxy";class Xt{#e=new Map;#t=new WeakMap;#r;constructor(e){this.#r=e}#o=(e,n)=>{const s=new Promise(c=>{setTimeout(()=>{c()},n)});return Promise.race([e,s])};#n=e=>{const{eventName:n,scriptingObject:s,eventParams:c,listeners:d}=e;d.forEach(g=>{g.criteria&&!(c&&this.#s(c,g.criteria))||Promise.resolve(g.callback({obj:s,eventName:n,eventParams:c})).catch(y=>{this.#r?.warn(`Error in event listener for "${n}": ${y.message}`)})})};#i=async({eventId:e,eventName:n,scriptingObject:s,eventParams:c,feedbackWaitTime:d})=>{const y=(this.#e.get(e)||[]).map(E=>E.criteria&&!(c?this.#s(c,E.criteria):!1)?Promise.resolve():this.#o(E.callback({obj:s,eventName:n,eventParams:c}),d));return(await Promise.all(y)).flat(1/0).filter(E=>E!==void 0)};#s(e,n){return Object.entries(n).every(([s,c])=>{const d=e[s];if("eq"in c)return d===c.eq;if("in"in c)return Array.isArray(c.in)&&c.in.includes(d);if("includes"in c)return Array.isArray(d)&&d.includes(c.includes);if("gt"in c){const g=typeof d=="number"?d:Number(d);return!Number.isNaN(g)&&g>c.gt}if("lt"in c){const g=typeof d=="number"?d:Number(d);return!Number.isNaN(g)&&g<c.lt}if("regex"in c){let g=this.#t.get(c);if(g===void 0){try{g=new RegExp(c.regex)}catch{g=null}this.#t.set(c,g)}return g!==null&&typeof d=="string"&&g.test(d)}return!1})}dispatchEvent=async(e,n)=>{const{event:{id:s,name:c},eventParams:d,eventOptions:g}=n,{timeout:y}=g??{};if(!s)throw new Error("Event Id is required");const A=this.#e.get(s)||[];return!y||y<=0?(this.#n({eventName:c,scriptingObject:e,eventParams:d,listeners:A}),Promise.resolve()):this.#i({eventId:s,eventName:c,scriptingObject:e,eventParams:d,feedbackWaitTime:y})};subscribe=e=>{const{eventId:n,callback:s,criteria:c}=e;if(!n)throw new Error("eventId is required");if(!s)throw new Error("Callback is required");const d=this.#e.get(n)||[],g=At();return d.push({token:g,criteria:c,callback:s}),this.#e.set(n,d),g};unsubscribe=e=>{const{eventId:n,token:s}=e;if(!n)throw new Error("eventId id is required");if(s){const c=this.#e.get(n)||[],d=c.findIndex(g=>g.token===s);d>-1&&(c.splice(d,1),this.#e.set(n,c))}else this.#e.delete(n)};unsubscribeAll=()=>{this.#e.clear()}}const se=X.p+"assets/frame.4cbbcfa9ded96b660559.html?resource",He="pui-app-container-",q=r=>{const e=r.src??se.default??se;if(!r.queryParams)return e;const n=r.queryParams.replace(/[^a-zA-Z0-9&=_.~%+-]/g,"");return`${e}${e.includes("?")?"&":"?"}${n}`},We=({documentEle:r,hostUrl:e,manifestPath:n,guestId:s})=>{const c=r.getElementById(He);c&&(c.id=`${c.id}${s}`);const d=z(e,n);let g=r.getElementsByTagName("base")?.[0];if(g){g.href=d;return}g=r.createElement("base"),g.href=d,r.getElementsByTagName("head")[0].appendChild(g)},Ke=({id:r,instanceId:e,manifestPath:n,hostUrl:s,options:c})=>new Promise((d,g)=>{const{signal:y}=c;if(y?.aborted){g(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",r),E.setAttribute("title",c.title),E.setAttribute("allowfullscreen","true"),E.setAttribute("allowtransparency","true"),c.permissionPolicy&&E.setAttribute("allow",c.permissionPolicy),c.sandbox&&E.setAttribute("sandbox",c.sandbox),E.setAttribute("style",c.style??"flex-grow: 1;border: none;margin: 0;padding: 0;display: block;min-width: 100%;height: 100%;"),E.setAttribute("src",q(c));const I=1e4;let O=!1,H,K;const D=()=>{clearTimeout(H),y?.removeEventListener("abort",K)},W=()=>y?.aborted?(O||(O=!0,D(),A.remove(),g(new DOMException("iframe creation aborted","AbortError"))),!0):!1;if(K=()=>{W()},W())return;y?.addEventListener("abort",K),H=setTimeout(()=>{O||(O=!0,D(),A.remove(),g(new Error(`iframe for ${r} failed to load within ${I}ms`)))},I),E.addEventListener("error",()=>{O||(O=!0,D(),A.remove(),g(new Error(`iframe for ${r} failed to load`)))}),E.addEventListener("load",()=>{O||W()||E.contentDocument&&(O=!0,D(),We({documentEle:E.contentDocument,hostUrl:s,manifestPath:n,guestId:r}),d(E))}),A.appendChild(E);const{containerId:N}=c;(document.getElementById(N??"")??document.body).appendChild(A)}),Tt=r=>document.getElementById(r),Ee={create:Ke,remove:r=>{const e=Tt(r);e&&e.parentElement?.remove()},get:Tt},Ce=()=>({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 tt=X(7020),Oe=X(4883),Ne=X.n(Oe),Ot=X(162),Ye=X.n(Ot);function Pt(r){function e($,P,R,V,b){for(var ee=0,C=0,de=0,te=0,oe,G,we=0,Ie=0,J,Te=J=oe=0,re=0,xe=0,yt=0,Se=0,Ut=R.length,bt=Ut-1,De,U="",ge="",dr="",hr="",_e;re<Ut;){if(G=R.charCodeAt(re),re===bt&&C+te+de+ee!==0&&(C!==0&&(G=C===47?10:47),te=de=ee=0,Ut++,bt++),C+te+de+ee===0){if(re===bt&&(0<xe&&(U=U.replace(H,"")),0<U.trim().length)){switch(G){case 32:case 9:case 59:case 13:case 10:break;default:U+=R.charAt(re)}G=59}switch(G){case 123:for(U=U.trim(),oe=U.charCodeAt(0),J=1,Se=++re;re<Ut;){switch(G=R.charCodeAt(re)){case 123:J++;break;case 125:J--;break;case 47:switch(G=R.charCodeAt(re+1)){case 42:case 47:e:{for(Te=re+1;Te<bt;++Te)switch(R.charCodeAt(Te)){case 47:if(G===42&&R.charCodeAt(Te-1)===42&&re+2!==Te){re=Te+1;break e}break;case 10:if(G===47){re=Te+1;break e}}re=Te}}break;case 91:G++;case 40:G++;case 34:case 39:for(;re++<bt&&R.charCodeAt(re)!==G;);}if(J===0)break;re++}switch(J=R.substring(Se,re),oe===0&&(oe=(U=U.replace(O,"").trim()).charCodeAt(0)),oe){case 64:switch(0<xe&&(U=U.replace(H,"")),G=U.charCodeAt(1),G){case 100:case 109:case 115:case 45:xe=P;break;default:xe=gt}if(J=e(P,xe,J,G,b+1),Se=J.length,0<$e&&(xe=n(gt,U,yt),_e=y(3,J,xe,P,Le,Re,Se,G,b,V),U=xe.join(""),_e!==void 0&&(Se=(J=_e.trim()).length)===0&&(G=0,J="")),0<Se)switch(G){case 115:U=U.replace(Je,g);case 100:case 109:case 45:J=U+"{"+J+"}";break;case 107:U=U.replace(Z,"$1 $2"),J=U+"{"+J+"}",J=Pe===1||Pe===2&&d("@"+J,3)?"@-webkit-"+J+"@"+J:"@"+J;break;default:J=U+J,V===112&&(J=(ge+=J,""))}else J="";break;default:J=e(P,n(P,U,yt),J,V,b+1)}dr+=J,J=yt=xe=Te=oe=0,U="",G=R.charCodeAt(++re);break;case 125:case 59:if(U=(0<xe?U.replace(H,""):U).trim(),1<(Se=U.length))switch(Te===0&&(oe=U.charCodeAt(0),oe===45||96<oe&&123>oe)&&(Se=(U=U.replace(" ",":")).length),0<$e&&(_e=y(1,U,P,$,Le,Re,ge.length,V,b,V))!==void 0&&(Se=(U=_e.trim()).length)===0&&(U="\0\0"),oe=U.charCodeAt(0),G=U.charCodeAt(1),oe){case 0:break;case 64:if(G===105||G===99){hr+=U+R.charAt(re);break}default:U.charCodeAt(Se-1)!==58&&(ge+=c(U,oe,G,U.charCodeAt(2)))}yt=xe=Te=oe=0,U="",G=R.charCodeAt(++re)}}switch(G){case 13:case 10:C===47?C=0:1+oe===0&&V!==107&&0<U.length&&(xe=1,U+="\0"),0<$e*pt&&y(0,U,P,$,Le,Re,ge.length,V,b,V),Re=1,Le++;break;case 59:case 125:if(C+te+de+ee===0){Re++;break}default:switch(Re++,De=R.charAt(re),G){case 9:case 32:if(te+ee+C===0)switch(we){case 44:case 58:case 9:case 32:De="";break;default:G!==32&&(De=" ")}break;case 0:De="\\0";break;case 12:De="\\f";break;case 11:De="\\v";break;case 38:te+C+ee===0&&(xe=yt=1,De="\f"+De);break;case 108:if(te+C+ee+Be===0&&0<Te)switch(re-Te){case 2:we===112&&R.charCodeAt(re-3)===58&&(Be=we);case 8:Ie===111&&(Be=Ie)}break;case 58:te+C+ee===0&&(Te=re);break;case 44:C+de+te+ee===0&&(xe=1,De+="\r");break;case 34:case 39:C===0&&(te=te===G?0:te===0?G:te);break;case 91:te+C+de===0&&ee++;break;case 93:te+C+de===0&&ee--;break;case 41:te+C+ee===0&&de--;break;case 40:if(te+C+ee===0){if(oe===0)switch(2*we+3*Ie){case 533:break;default:oe=1}de++}break;case 64:C+de+te+ee+Te+J===0&&(J=1);break;case 42:case 47:if(!(0<te+ee+de))switch(C){case 0:switch(2*G+3*R.charCodeAt(re+1)){case 235:C=47;break;case 220:Se=re,C=42}break;case 42:G===47&&we===42&&Se+2!==re&&(R.charCodeAt(Se+2)===33&&(ge+=R.substring(Se,re+1)),De="",C=0)}}C===0&&(U+=De)}Ie=we,we=G,re++}if(Se=ge.length,0<Se){if(xe=P,0<$e&&(_e=y(2,ge,xe,$,Le,Re,Se,V,b,V),_e!==void 0&&(ge=_e).length===0))return hr+ge+dr;if(ge=xe.join(",")+"{"+ge+"}",Pe*Be!==0){switch(Pe!==2||d(ge,2)||(Be=0),Be){case 111:ge=ge.replace(fe,":-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 hr+ge+dr}function n($,P,R){var V=P.trim().split(N);P=V;var b=V.length,ee=$.length;switch(ee){case 0:case 1:var C=0;for($=ee===0?"":$[0]+" ";C<b;++C)P[C]=s($,P[C],R).trim();break;default:var de=C=0;for(P=[];C<b;++C)for(var te=0;te<ee;++te)P[de++]=s($[te]+" ",V[C],R).trim()}return P}function s($,P,R){var V=P.charCodeAt(0);switch(33>V&&(V=(P=P.trim()).charCodeAt(0)),V){case 38:return P.replace(ae,"$1"+$.trim());case 58:return $.trim()+P.replace(ae,"$1"+$.trim());default:if(0<1*R&&0<P.indexOf("\f"))return P.replace(ae,($.charCodeAt(0)===58?"":"$1")+$.trim())}return $+P}function c($,P,R,V){var b=$+";",ee=2*P+3*R+4*V;if(ee===944){$=b.indexOf(":",9)+1;var C=b.substring($,b.length-1).trim();return C=b.substring(0,$).trim()+C+";",Pe===1||Pe===2&&d(C,1)?"-webkit-"+C+C:C}if(Pe===0||Pe===2&&!d(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(ut,"$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 C=b.substring(b.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+C+"-webkit-"+b+"-ms-flex-pack"+C+b;case 1005:return D.test(b)?b.replace(K,":-webkit-")+b.replace(K,":-moz-")+b:b;case 1e3:switch(C=b.substring(13).trim(),P=C.indexOf("-")+1,C.charCodeAt(0)+C.charCodeAt(P)){case 226:C=b.replace(he,"tb");break;case 232:C=b.replace(he,"tb-rl");break;case 220:C=b.replace(he,"lr");break;default:return b}return"-webkit-"+b+"-ms-"+C+b;case 1017:if(b.indexOf("sticky",9)===-1)break;case 975:switch(P=(b=$).length-10,C=(b.charCodeAt(P)===33?b.substring(0,P):b).substring($.indexOf(":",7)+1).trim(),ee=C.charCodeAt(0)+(C.charCodeAt(7)|0)){case 203:if(111>C.charCodeAt(8))break;case 115:b=b.replace(C,"-webkit-"+C)+";"+b;break;case 207:case 102:b=b.replace(C,"-webkit-"+(102<ee?"inline-":"")+"box")+";"+b.replace(C,"-webkit-"+C)+";"+b.replace(C,"-ms-"+C+"box")+";"+b}return b+";";case 938:if(b.charCodeAt(5)===45)switch(b.charCodeAt(6)){case 105:return C=b.replace("-items",""),"-webkit-"+b+"-webkit-box-"+C+"-ms-flex-"+C+b;case 115:return"-webkit-"+b+"-ms-flex-item-"+b.replace(Me,"")+b;default:return"-webkit-"+b+"-ms-flex-line-pack"+b.replace("align-content","").replace(Me,"")+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(C=$.substring($.indexOf(":")+1)).charCodeAt(0)===115?c($.replace("stretch","fill-available"),P,R,V).replace(":fill-available",":stretch"):b.replace(C,"-webkit-"+C)+b.replace(C,"-moz-"+C.replace("fill-",""))+b;break;case 962:if(b="-webkit-"+b+(b.charCodeAt(5)===102?"-ms-"+b:"")+b,R+V===211&&b.charCodeAt(13)===105&&0<b.indexOf("transform",10))return b.substring(0,b.indexOf(";",27)+1).replace(W,"$1-webkit-$2")+b}return b}function d($,P){var R=$.indexOf(P===1?":":"{"),V=$.substring(0,P!==3?R:10);return R=$.substring(R+1,$.length-1),mt(P!==2?V:V.replace(ze,"$1"),R,P)}function g($,P){var R=c(P,P.charCodeAt(0),P.charCodeAt(1),P.charCodeAt(2));return R!==P+";"?R.replace(lt," or ($1)").substring(4):"("+P+")"}function y($,P,R,V,b,ee,C,de,te,oe){for(var G=0,we=P,Ie;G<$e;++G)switch(Ie=ke[G].call(I,$,we,R,V,b,ee,C,de,te,oe)){case void 0:case!1:case!0:case null:break;default:we=Ie}if(we!==P)return we}function A($){switch($){case void 0:case null:$e=ke.length=0;break;default:if(typeof $=="function")ke[$e++]=$;else if(typeof $=="object")for(var P=0,R=$.length;P<R;++P)A($[P]);else pt=!!$|0}return A}function E($){return $=$.prefix,$!==void 0&&(mt=null,$?typeof $!="function"?Pe=1:(Pe=2,mt=$):Pe=0),E}function I($,P){var R=$;if(33>R.charCodeAt(0)&&(R=R.trim()),vt=R,R=[vt],0<$e){var V=y(-1,P,R,R,Le,Re,0,0,0,0);V!==void 0&&typeof V=="string"&&(P=V)}var b=e(gt,R,P,0,0);return 0<$e&&(V=y(-2,b,R,R,Le,Re,b.length,0,0,0),V!==void 0&&(b=V)),vt="",Be=0,Re=Le=1,b}var O=/^\0+/g,H=/[\0\r\f]/g,K=/: */g,D=/zoo|gra/,W=/([,: ])(transform)/g,N=/,\r+?/g,ae=/([\t\r\n ])*\f?&/g,Z=/@(k\w+)\s*(\S*)\s*/,be=/::(place)/g,fe=/:(read-only)/g,he=/[svh]\w+-[tblr]{2}/,Je=/\(\s*(.*)\s*\)/g,lt=/([\s\S]*?);/g,Me=/-self|flex-/g,ze=/[^]*?(:[rp][el]a[\w-]+)[^]*/,Qe=/stretch|:\s*\w+\-(?:conte|avail)/,ut=/([^-])(image-set\()/,Re=1,Le=1,Be=0,Pe=1,gt=[],ke=[],$e=0,mt=null,pt=0,vt="";return I.use=A,I.set=E,r!==void 0&&E(r),I}const It=Pt;var Zt={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=Zt;function Ue(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=Ue(function(r){return Ve.test(r)||r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)<91}),Hr=X(4674),Wr=X.n(Hr),Rt,Kr,Mt,Yr,Xr,Zr;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,c=e.length;s<c;s+=1)n.push(e[s],r[s+1]);return n},Jt=function(r){return r!==null&&typeof r=="object"&&(r.toString?r.toString():Object.prototype.toString.call(r))==="[object Object]"&&!(0,tt.typeOf)(r)},$t=Object.freeze([]),Xe=Object.freeze({});function it(r){return typeof r=="function"}function Qt(r){return r.displayName||r.name||"Component"}function _t(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",Jn="5.3.11",qt=typeof window<"u"&&"HTMLElement"in window,Jr=!!(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)),Qr={},Qn={};function _n(){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(c){r=r.replace(/%[a-z]/,c)}),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 _r=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,c=0;c<n;c++)s+=this.groupSizes[c];return s},e.insertRules=function(n,s){if(n>=this.groupSizes.length){for(var c=this.groupSizes,d=c.length,g=d;n>=g;)(g<<=1)<0&&Fe(16,""+n);this.groupSizes=new Uint32Array(g),this.groupSizes.set(c),this.length=g;for(var y=d;y<g;y++)this.groupSizes[y]=0}for(var A=this.indexOfGroup(n+1),E=0,I=s.length;E<I;E++)this.tag.insertRule(A,s[E])&&(this.groupSizes[n]++,A++)},e.clearGroup=function(n){if(n<this.length){var s=this.groupSizes[n],c=this.indexOfGroup(n),d=c+s;this.groupSizes[n]=0;for(var g=c;g<d;g++)this.tag.deleteRule(c)}},e.getGroup=function(n){var s="";if(n>=this.length||this.groupSizes[n]===0)return s;for(var c=this.groupSizes[n],d=this.indexOfGroup(n),g=d+c,y=d;y<g;y++)s+=this.tag.getRule(y)+`/*!sc*/
9
- `;return s},r}(),Ft=new Map,Lt=new Map,dt=1,kt=function(r){if(Ft.has(r))return Ft.get(r);for(;Lt.has(dt);)dt++;var e=dt++;return Ft.set(r,e),Lt.set(e,r),e},qr=function(r){return Lt.get(r)},en=function(r,e){e>=dt&&(dt=e+1),Ft.set(r,e),Lt.set(e,r)},tn="style["+Ze+'][data-styled-version="5.3.11"]',rn=new RegExp("^"+Ze+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),nn=function(r,e,n){for(var s,c=n.split(","),d=0,g=c.length;d<g;d++)(s=c[d])&&r.registerName(e,s)},sn=function(r,e){for(var n=(e.textContent||"").split(`/*!sc*/
10
- `),s=[],c=0,d=n.length;c<d;c++){var g=n[c].trim();if(g){var y=g.match(rn);if(y){var A=0|parseInt(y[1],10),E=y[2];A!==0&&(en(E,A),nn(r,E,y[3]),r.getTag().insertRules(A,s)),s.length=0}else s.push(g)}}},er=function(){return X.nc},wr=function(r){var e=document.head,n=r||e,s=document.createElement("style"),c=function(y){for(var A=y.childNodes,E=A.length;E>=0;E--){var I=A[E];if(I&&I.nodeType===1&&I.hasAttribute(Ze))return I}}(n),d=c!==void 0?c.nextSibling:null;s.setAttribute(Ze,"active"),s.setAttribute("data-styled-version","5.3.11");var g=er();return g&&s.setAttribute("nonce",g),n.insertBefore(s,d),s},on=function(){function r(n){var s=this.element=wr(n);s.appendChild(document.createTextNode("")),this.sheet=function(c){if(c.sheet)return c.sheet;for(var d=document.styleSheets,g=0,y=d.length;g<y;g++){var A=d[g];if(A.ownerNode===c)return A}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}(),an=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 c=document.createTextNode(s),d=this.nodes[n];return this.element.insertBefore(c,d||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}(),cn=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,ln={isServer:!qt,useCSSOMInjection:!Jr},at=function(){function r(n,s,c){n===void 0&&(n=Xe),s===void 0&&(s={}),this.options=je({},ln,{},n),this.gs=s,this.names=new Map(c),this.server=!!n.isServer,!this.server&&qt&&xr&&(xr=!1,function(d){for(var g=document.querySelectorAll(tn),y=0,A=g.length;y<A;y++){var E=g[y];E&&E.getAttribute(Ze)!=="active"&&(sn(d,E),E.parentNode&&E.parentNode.removeChild(E))}}(this))}r.registerId=function(n){return kt(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=(c=(s=this.options).isServer,d=s.useCSSOMInjection,g=s.target,n=c?new cn(g):d?new on(g):new an(g),new _r(n)));var n,s,c,d,g},e.hasNameForId=function(n,s){return this.names.has(n)&&this.names.get(n).has(s)},e.registerName=function(n,s){if(kt(n),this.names.has(n))this.names.get(n).add(s);else{var c=new Set;c.add(s),this.names.set(n,c)}},e.insertRules=function(n,s,c){this.registerName(n,s),this.getTag().insertRules(kt(n),c)},e.clearNames=function(n){this.names.has(n)&&this.names.get(n).clear()},e.clearRules=function(n){this.getTag().clearGroup(kt(n)),this.clearNames(n)},e.clearTag=function(){this.tag=void 0},e.toString=function(){return function(n){for(var s=n.getTag(),c=s.length,d="",g=0;g<c;g++){var y=qr(g);if(y!==void 0){var A=n.names.get(y),E=s.getGroup(g);if(A&&E&&A.size){var I=Ze+".g"+g+'[id="'+y+'"]',O="";A!==void 0&&A.forEach(function(H){H.length>0&&(O+=H+",")}),d+=""+E+I+'{content:"'+O+`"}/*!sc*/
11
- `}}}return d}(this)},r}(),un=/(a)(d)/gi,Sr=function(r){return String.fromCharCode(r+(r>25?39:97))};function tr(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(un,"$1-$2")}var ct=function(r,e){for(var n=e.length;n;)r=33*r^e.charCodeAt(--n);return r},Ar=function(r){return ct(5381,r)};function Er(r){for(var e=0;e<r.length;e+=1){var n=r[e];if(it(n)&&!_t(n))return!1}return!0}var pn=Ar("5.3.11"),fn=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=ct(pn,n),this.baseStyle=s,at.registerId(n)}return r.prototype.generateAndInjectStyles=function(e,n,s){var c=this.componentId,d=[];if(this.baseStyle&&d.push(this.baseStyle.generateAndInjectStyles(e,n,s)),this.isStatic&&!s.hash)if(this.staticRulesId&&n.hasNameForId(c,this.staticRulesId))d.push(this.staticRulesId);else{var g=rt(this.rules,e,n,s).join(""),y=tr(ct(this.baseHash,g)>>>0);if(!n.hasNameForId(c,y)){var A=s(g,"."+y,void 0,c);n.insertRules(c,y,A)}d.push(y),this.staticRulesId=y}else{for(var E=this.rules.length,I=ct(this.baseHash,s.hash),O="",H=0;H<E;H++){var K=this.rules[H];if(typeof K=="string")O+=K;else if(K){var D=rt(K,e,n,s),W=Array.isArray(D)?D.join(""):D;I=ct(I,W+H),O+=W}}if(O){var N=tr(I>>>0);if(!n.hasNameForId(c,N)){var ae=s(O,"."+N,void 0,c);n.insertRules(c,N,ae)}d.push(N)}}return d.join(" ")},r}(),dn=/^\s*\/\/.*$/gm,hn=[":","[",".","#"];function Cr(r){var e,n,s,c,d=r===void 0?Xe:r,g=d.options,y=g===void 0?Xe:g,A=d.plugins,E=A===void 0?$t:A,I=new It(y),O=[],H=function(W){function N(ae){if(ae)try{W(ae+"}")}catch{}}return function(ae,Z,be,fe,he,Je,lt,Me,ze,Qe){switch(ae){case 1:if(ze===0&&Z.charCodeAt(0)===64)return W(Z+";"),"";break;case 2:if(Me===0)return Z+"/*|*/";break;case 3:switch(Me){case 102:case 112:return W(be[0]+Z),"";default:return Z+(Qe===0?"/*|*/":"")}case-2:Z.split("/*|*/}").forEach(N)}}}(function(W){O.push(W)}),K=function(W,N,ae){return N===0&&hn.indexOf(ae[n.length])!==-1||ae.match(c)?W:"."+e};function D(W,N,ae,Z){Z===void 0&&(Z="&");var be=W.replace(dn,""),fe=N&&ae?ae+" "+N+" { "+be+" }":be;return e=Z,n=N,s=new RegExp("\\"+n+"\\b","g"),c=new RegExp("(\\"+n+"\\b){2,}"),I(ae||!N?"":N,fe)}return I.use([].concat(E,[function(W,N,ae){W===2&&ae.length&&ae[0].lastIndexOf(n)>0&&(ae[0]=ae[0].replace(s,K))},H,function(W){if(W===-2){var N=O;return O=[],N}}])),D.hash=E.length?E.reduce(function(W,N){return N.name||Fe(15),ct(W,N.name)},5381).toString():"",D}var rr=Ne().createContext(),qn=rr.Consumer,nr=Ne().createContext(),Tr=(nr.Consumer,new at),sr=Cr();function or(){return(0,Oe.useContext)(rr)||Tr}function Or(){return(0,Oe.useContext)(nr)||sr}function gn(r){var e=(0,Oe.useState)(r.stylisPlugins),n=e[0],s=e[1],c=or(),d=(0,Oe.useMemo)(function(){var y=c;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,Oe.useMemo)(function(){return Cr({options:{prefix:!r.disableVendorPrefixes},plugins:n})},[r.disableVendorPrefixes,n]);return(0,Oe.useEffect)(function(){Ye()(n,r.stylisPlugins)||s(r.stylisPlugins)},[r.stylisPlugins]),Ne().createElement(rr.Provider,{value:d},Ne().createElement(nr.Provider,{value:g},r.children))}var Pr=function(){function r(e,n){var s=this;this.inject=function(c,d){d===void 0&&(d=sr);var g=s.name+d.hash;c.hasNameForId(s.id,g)||c.insertRules(s.id,g,d(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=sr),this.name+e.hash},r}(),mn=/([A-Z])/,vn=/([A-Z])/g,yn=/^ms-/,bn=function(r){return"-"+r.toLowerCase()};function Ir(r){return mn.test(r)?r.replace(vn,bn).replace(yn,"-ms-"):r}var jr=function(r){return r==null||r===!1||r===""};function rt(r,e,n,s){if(Array.isArray(r)){for(var c,d=[],g=0,y=r.length;g<y;g+=1)(c=rt(r[g],e,n,s))!==""&&(Array.isArray(c)?d.push.apply(d,c):d.push(c));return d}if(jr(r))return"";if(_t(r))return"."+r.styledComponentId;if(it(r)){if(typeof(E=r)!="function"||E.prototype&&E.prototype.isReactComponent||!e)return r;var A=r(e);return rt(A,e,n,s)}var E;return r instanceof Pr?n?(r.inject(n,s),r.getName(s)):r:Jt(r)?function I(O,H){var K,D,W=[];for(var N in O)O.hasOwnProperty(N)&&!jr(O[N])&&(Array.isArray(O[N])&&O[N].isCss||it(O[N])?W.push(Ir(N)+":",O[N],";"):Jt(O[N])?W.push.apply(W,I(O[N],N)):W.push(Ir(N)+": "+(K=N,(D=O[N])==null||typeof D=="boolean"||D===""?"":typeof D!="number"||D===0||K in jt||K.startsWith("--")?String(D).trim():D+"px")+";"));return H?[H+" {"].concat(W,["}"]):W}(r):r.toString()}var Rr=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 it(r)||Jt(r)?Rr(rt(br($t,[r].concat(n)))):n.length===0&&r.length===1&&typeof r[0]=="string"?r:Rr(rt(br(r,n)))}var es=/invalid hook call/i,ts=new Set,rs=function(r,e){if(0)var n,s,c},ir=function(r,e,n){return n===void 0&&(n=Xe),r.theme!==n.theme&&r.theme||e||n.theme},wn=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,xn=/(^-|-$)/g;function ar(r){return r.replace(wn,"-").replace(xn,"")}var cr=function(r){return tr(Ar(r)>>>0)};function Dt(r){return typeof r=="string"&&!0}var lr=function(r){return typeof r=="function"||typeof r=="object"&&r!==null&&!Array.isArray(r)},Sn=function(r){return r!=="__proto__"&&r!=="constructor"&&r!=="prototype"};function An(r,e,n){var s=r[n];lr(e)&&lr(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 c=0,d=n;c<d.length;c++){var g=d[c];if(lr(g))for(var y in g)Sn(y)&&An(r,g[y],y)}return r}var nt=Ne().createContext(),ns=nt.Consumer;function ss(r){var e=Rt(nt),n=Kr(function(){return function(s,c){if(!s)return Fe(14);if(it(s)){var d=s(c);return d}return Array.isArray(s)||typeof s!="object"?Fe(8):c?je({},c,{},s):s}(r.theme,e)},[r.theme,e]);return r.children?Mt.createElement(nt.Provider,{value:n},r.children):null}var ur={};function $r(r,e,n){var s=_t(r),c=!Dt(r),d=e.attrs,g=d===void 0?$t:d,y=e.componentId,A=y===void 0?function(Z,be){var fe=typeof Z!="string"?"sc":ar(Z);ur[fe]=(ur[fe]||0)+1;var he=fe+"-"+cr("5.3.11"+fe+ur[fe]);return be?be+"-"+he:he}(e.displayName,e.parentComponentId):y,E=e.displayName,I=E===void 0?function(Z){return Dt(Z)?"styled."+Z:"Styled("+Qt(Z)+")"}(r):E,O=e.displayName&&e.componentId?ar(e.displayName)+"-"+e.componentId:e.componentId||A,H=s&&r.attrs?Array.prototype.concat(r.attrs,g).filter(Boolean):g,K=e.shouldForwardProp;s&&r.shouldForwardProp&&(K=e.shouldForwardProp?function(Z,be,fe){return r.shouldForwardProp(Z,be,fe)&&e.shouldForwardProp(Z,be,fe)}:r.shouldForwardProp);var D,W=new fn(n,O,s?r.componentStyle:void 0),N=W.isStatic&&g.length===0,ae=function(Z,be){return function(fe,he,Je,lt){var Me=fe.attrs,ze=fe.componentStyle,Qe=fe.defaultProps,ut=fe.foldedComponentIds,Re=fe.shouldForwardProp,Le=fe.styledComponentId,Be=fe.target,Pe=function(V,b,ee){V===void 0&&(V=Xe);var C=je({},b,{theme:V}),de={};return ee.forEach(function(te){var oe,G,we,Ie=te;for(oe in it(Ie)&&(Ie=Ie(C)),Ie)C[oe]=de[oe]=oe==="className"?(G=de[oe],we=Ie[oe],G&&we?G+" "+we:G||we):Ie[oe]}),[C,de]}(ir(he,(0,Oe.useContext)(nt),Qe)||Xe,he,Me),gt=Pe[0],ke=Pe[1],$e=function(V,b,ee,C){var de=or(),te=Or(),oe=b?V.generateAndInjectStyles(Xe,de,te):V.generateAndInjectStyles(ee,de,te);return oe}(ze,lt,gt,void 0),mt=Je,pt=ke.$as||he.$as||ke.as||he.as||Be,vt=Dt(pt),$=ke!==he?je({},he,{},ke):he,P={};for(var R in $)R[0]!=="$"&&R!=="as"&&(R==="forwardedAs"?P.as=$[R]:(Re?Re(R,yr,pt):!vt||yr(R))&&(P[R]=$[R]));return he.style&&ke.style!==he.style&&(P.style=je({},he.style,{},ke.style)),P.className=Array.prototype.concat(ut,Le,$e!==Le?$e:null,he.className,ke.className).filter(Boolean).join(" "),P.ref=mt,(0,Oe.createElement)(pt,P)}(D,Z,be,N)};return ae.displayName=I,(D=Ne().forwardRef(ae)).attrs=H,D.componentStyle=W,D.displayName=I,D.shouldForwardProp=K,D.foldedComponentIds=s?Array.prototype.concat(r.foldedComponentIds,r.styledComponentId):$t,D.styledComponentId=O,D.target=s?r.target:r,D.withComponent=function(Z){var be=e.componentId,fe=function(Je,lt){if(Je==null)return{};var Me,ze,Qe={},ut=Object.keys(Je);for(ze=0;ze<ut.length;ze++)Me=ut[ze],lt.indexOf(Me)>=0||(Qe[Me]=Je[Me]);return Qe}(e,["componentId"]),he=be&&be+"-"+(Dt(Z)?Z:ar(Qt(Z)));return $r(Z,je({},fe,{attrs:H,componentId:he}),n)},Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(Z){this._foldedDefaultProps=s?Mr({},r.defaultProps,Z):Z}}),Object.defineProperty(D,"toString",{value:function(){return"."+D.styledComponentId}}),c&&Wr()(D,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),D}var Fr=function(r){return function e(n,s,c){if(c===void 0&&(c=Xe),!(0,tt.isValidElementType)(s))return Fe(1,String(s));var d=function(){return n(s,c,ht.apply(void 0,arguments))};return d.withConfig=function(g){return e(n,s,je({},c,{},g))},d.attrs=function(g){return e(n,s,je({},c,{attrs:Array.prototype.concat(c.attrs,g).filter(Boolean)}))},d}($r,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){Fr[r]=Fr(r)});var En=function(){function r(n,s){this.rules=n,this.componentId=s,this.isStatic=Er(n),at.registerId(this.componentId+1)}var e=r.prototype;return e.createStyles=function(n,s,c,d){var g=d(rt(this.rules,s,c,d).join(""),""),y=this.componentId+n;c.insertRules(y,y,g)},e.removeStyles=function(n,s){s.clearRules(this.componentId+n)},e.renderStyles=function(n,s,c,d){n>2&&at.registerId(this.componentId+n),this.removeStyles(n,c),this.createStyles(n,s,c,d)},r}();function os(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 c=ht.apply(void 0,[r].concat(n)),d="sc-global-"+cr(JSON.stringify(c)),g=new En(c,d);function y(E){var I=or(),O=Or(),H=Rt(nt),K=Yr(I.allocateGSInstance(d)).current;return I.server&&A(K,E,I,H,O),Xr(function(){if(!I.server)return A(K,E,I,H,O),function(){return g.removeStyles(K,I)}},[K,E,I,H,O]),null}function A(E,I,O,H,K){if(g.isStatic)g.renderStyles(E,Qr,O,K);else{var D=je({},I,{theme:ir(I,H,y.defaultProps)});g.renderStyles(E,D,O,K)}}return Mt.memo(y)}function is(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 c=ht.apply(void 0,[r].concat(n)).join(""),d=cr(c);return new Pr(d,c)}var as=function(){function r(){var n=this;this._emitSheetCSS=function(){var s=n.instance.toString();if(!s)return"";var c=er();return"<style "+[c&&'nonce="'+c+'"',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 c=((s={})[Ze]="",s["data-styled-version"]="5.3.11",s.dangerouslySetInnerHTML={__html:n.instance.toString()},s),d=er();return d&&(c.nonce=d),[Ne().createElement("style",je({},c,{key:"sc-0-0"}))]},this.seal=function(){n.sealed=!0},this.instance=new at({isServer:!0}),this.sealed=!1}var e=r.prototype;return e.collectStyles=function(n){return this.sealed?Fe(2):Ne().createElement(gn,{sheet:this.instance},n)},e.interleaveWithNodeStream=function(n){return Fe(3)},r}(),cs=function(r){var e=Mt.forwardRef(function(n,s){var c=Rt(nt),d=r.defaultProps,g=ir(n,c,d);return Mt.createElement(r,je({},n,{theme:g,ref:s}))});return Zr(e,r),e.displayName="WithTheme("+Qt(r)+")",e},ls=function(){return Rt(nt)},us={StyleSheet:at,masterSheet:Tr};const ps=null,Cn=r=>Object.keys(r).reduce((e,n)=>(e[n]=(s,...c)=>ht`
12
- @media (max-width: ${r[n]}) {
13
- ${ht(s,...c)};
14
- }
15
- `,e),{}),Tn=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:Cn({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]}}),On=((r=Ce())=>()=>Tn(r))(),ds=()=>{try{return window.parent.document,window.parent}catch{return window}},pr=()=>({width:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}),Lr=r=>Number(r.replace("px","")),kr=()=>{const{width:r}=pr(),{breakpoints:e}=On();return r<=Lr(e.small)?"small":r<=Lr(e.medium)?"medium":"large"},Pn="microFrontendApps",In=()=>!0,jn=r=>In()?!0:String(r).toLowerCase()===Q.PRODUCTION.toLowerCase(),Rn=r=>r?new URL(r).pathname:"",Mn=r=>{const e=document.createElement("a");return e.href=r,e.href},$n=(r,e)=>{const n=e.match(/^(?:\d+\.\d+)*/g);return r.replace(/{SYSTEM_VERSION}/,n&&n[0]||x)},Dr=r=>!r||!r.length?!1:r.every(e=>typeof e=="string"),Fn=(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:c,microappManager:d=S.APPSDK}=e;if(String(d).toLowerCase()===S.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(!Dr(s.files))throw new Error("invalid value for production.files")}if(String(n).toLowerCase()===Q.DEVELOPMENT.toLowerCase()){if(!c)throw new Error(`microFrontendApps.${r} is missing development section in app.config.json`);if(!Dr(c.files))throw new Error("invalid value for development.files")}}},Ln=({id:r,config:e,version:n="latest"})=>{const{mode:s=Q.PRODUCTION,production:c,development:d,...g}=e,y=jn(s)?c:d,A=v()({id:r},{name:r,mode:Q.PRODUCTION,manifestPath:"./{SYSTEM_VERSION}/",securityContext:o.USER,isJsModule:!0},g,{mode:s},y);return A.hostUrl=M(Mn(A.hostUrl||"")),A.homeRoute=M(A.homeRoute)||Rn(A.hostUrl),A.manifestPath=M($n(A.manifestPath,n)),A};class kn{#e=[];init=({version:e,appConfig:n})=>{const s=n.get(Pn);s&&(this.#e=Object.keys(s).map(c=>(Fn(c,s[c]),Ln({id:c,config:s[c],version:e}))))};getConfigById=e=>this.#e.find(n=>n.id===e)}const Dn=/^https?:\/\//i,Nn=(r,e)=>{if(!Dn.test(r))return!1;try{return!r.startsWith(new URL(e).href)}catch{return!0}},Un=(r,e)=>{const n=[],s=[];return r.forEach(c=>{Nn(c.href,e)?n.push(c):s.push(c)}),{external:n,local:s}},zn=r=>{if(!r)return;const e=r,n=e.emui?._ASSET_PATH;n&&(e.__webpack_public_path__=new URL("../",n).href)},Bn=(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){zn(r);return}Bn(r,e)},Vn="ice-script-";class Ur{#e;constructor(e){this.#e=e}#t=({href:e,isESMModule:n=!0,documentEle:s})=>{const c=s.createElement("link");c.rel=n?"modulepreload":"preload",c.href=e,c.crossOrigin="anonymous",n||(c.as="script"),s.head.appendChild(c)};#r=({id:e,href:n,documentEle:s,isESMModule:c=!0})=>new Promise((d,g)=>{const y=s.createElement("script");y.id=e,y.src=T(n),y.crossOrigin="anonymous",y.nonce="__CSP_NONCE__",!le()&&c?y.type="module":y.async=!1,y.onload=d.bind(null,y.id),y.onerror=A=>{this.#e.error({message:`Error loading script ${y.src}`,exception:new Error(A)}),g(new Error(`Unable to load script ${y.src}`,{cause:new Error(A)}))},s.head.appendChild(y)});#o=async(e,n,s)=>{if(e.length===0)return;const c=e.map(({id:d,href:g})=>this.#r({id:d,href:g,documentEle:n,isESMModule:s}));await Promise.all(c)};#n=async({scripts:e,documentEle:n,isESMModule:s,hostUrl:c})=>{if(e.length===0)return;if(!c){await this.#o(e,n,s);return}const{external:d,local:g}=Un(e,c);await this.#o(d,n,s),Nr(n.defaultView,c),await this.#o(g,n,s)};load=async(e,n)=>{const{documentEle:s,isESMModule:c}=n,d=/^https?:\/\//i,g=e.map((y,A)=>{const E=`${Vn}${n.name.toLowerCase()}-${A}`,I=d.test(y)?y:new URL(y,n.hostUrl).href;return this.#t({href:I,documentEle:s,isESMModule:c}),{id:E,href:I}});return await this.#n({scripts:g,documentEle:s,isESMModule:c,hostUrl:n.hostUrl}),Nr(s.defaultView,n.hostUrl),g.map(y=>y.id)};remove=(e="",n=document)=>new Promise(s=>{const c=n.getElementById(e);if(!c){this.#e.warn(`script with id ${e} not found`),s();return}c.remove(),s()});removeDynamicImportedScripts=(e,n)=>{const s=new RegExp(j(e),"i"),c=n.getElementsByTagName("script");for(let d=c.length-1;d>=0;d-=1){const g=c[d],{src:y}=g;s.test(y)&&g.remove()}};removePrefetchLinks=(e,n)=>{const s=new RegExp(j(e),"i"),c=n.querySelectorAll('[rel="prefetch"]');for(let d=c.length-1;d>=0;d-=1){const g=c[d],{href:y}=g;s.test(y)&&g.remove()}}}const Gn="ice-style-";class zr{#e;constructor(e){this.#e=e}#t=({id:e,href:n,documentEle:s})=>new Promise((c,d)=>{const g=s.createElement("link");g.id=e,g.nonce="__CSP_NONCE__",g.rel="stylesheet",g.href=T(n),g.onload=c.bind(null,g.id),g.onerror=y=>{this.#e.error({message:`Error loading stylesheet ${g.href}`,exception:new Error(y)}),d(new Error(`Unable to load stylesheet ${g.href}`,{cause:new Error(y)}))},s.head.appendChild(g)});load=async(e,n)=>{const s=[],c=e.map((d,g)=>{const y=new URL(d,n.hostUrl),A=`${Gn}${n.name.toLowerCase()}-${g}`;return s.push(A),this.#t({id:A,href:y.href,documentEle:n.documentEle})});return await Promise.all(c),s};remove=(e="",n=document)=>new Promise(s=>{const c=n.getElementById(e);if(!c){this.#e.warn(`style with id ${e} not found`),s();return}c.remove(),s()});removeDynamicImportedStyles=(e,n)=>{const s=new RegExp(j(e),"i"),c=n.querySelectorAll('[rel="stylesheet"]');for(let d=c.length-1;d>=0;d-=1){const g=c[d],{href:y}=g;s.test(y)&&g.remove()}}}const Hn=r=>r.replace(/\/\d+\.\d+/,"/latest"),Wn=r=>{let e;try{e=new URL(r)}catch{return!1}return e.protocol==="http:"||e.protocol==="https:"},fr=new Map,Nt={get:async({hostUrl:r,manifestPath:e})=>{const n=Y(r,e),s=fr.get(n);if(s)return s;const c=async d=>{const g=await fetch(d);if(!g.ok)throw new Error(`unable to get manifest ${d}`);if(!(g.headers?.get?.("content-type")??"").includes("application/json"))throw new Error(`manifest ${d} is not a valid json`);const A=await g.json();return fr.set(d,A),A};try{return await c(n)}catch(d){const g=Hn(e);if(e!==g){const y=Y(r,g);return await c(y)}throw d}},getFullFileNameofAssets:(r,e=[])=>e.reduce((n,s)=>{const c=r[s];if(c)n.push(c);else if(Wn(s))n.push(s);else throw new Error(`unable to locate ${s} in manifest`);return n},[]),clearCache:()=>fr.clear()};class Br{#e;#t;#r;#o;#n;constructor(e){this.#t=e.guest,this.#e=e.containerId,this.#r=e?.version||x,this.#o=e.soManager,this.#n=e.eventManager}get version(){return this.#r}getObject=e=>{try{const n=this.#o.getObject(e,this.#t);if(!n)return Promise.resolve(null);const s=new Yt(n.id,n.objectType);return Object.keys(n).forEach(c=>{const d=n[c];d instanceof ne?Object.defineProperty(s,c,{value:new ne({name:c,objectId:n.id}),enumerable:!0}):B(d,c)&&Object.defineProperty(s,c,{value:(...g)=>{const y=s[c]?.callContext?.callChain;return Object.defineProperty(d,"callContext",{value:{guest:this.#t,...y?.length?{callChain:y}:{}},configurable:!0,enumerable:!0,writable:!0}),n[c](...g)},enumerable:!0})}),Promise.resolve(s)}catch(n){return Promise.reject(n)}};setAppWindowSize=e=>{if(!this.#e)return;const{size:n}=e,s=document.getElementById(this.#e);s&&(s.style.height=`${n.height}px`,s.style.width=`${n.width}px`)};subscribe=e=>this.#n.subscribe(e);unsubscribe=e=>{this.#n.unsubscribe(e)}}class Kn{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(c=>c.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(d=>d.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 c={uuid:n,init:null,mount:null,unmount:null},d=window.emui[e];d?Array.isArray(d)?d.push(c):window.emui[e]=[d,c]:window.emui[e]=[c],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(c=>c.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 Yn=12e4,Vr=["click","scroll","keypress","touchstart"],Xn=/\.css$/,Gr=r=>Xn.test(r);class Zn{#e;#t;#r;#o;#n;#i=new kn;#s;#l;#a=new Map;#u=new Map;#c=new Kn;#p=!0;constructor(e){const{logger:n}=e;if(!n)throw new Error("logger is required");this.#e=e.logger,this.#t=e.version,this.#p=e.extendSession??!0,this.#n=new ce({version:e.version,baseUrl:e.appConfigBaseUrl}),this.#r=new Ur(n),this.#o=new zr(n),this.#s=new Kt,this.#l=new Xt(this.#e)}#g(e){return typeof e=="function"}#m=e=>e instanceof ue||typeof e?.subscribe=="function";#v=(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}`;#y=(e,n=document)=>{const{elementIds:s}=this.#a.get(e)||{};s&&s.forEach(c=>{const d=n.getElementById(c);d&&d.remove()})};#b=({id:e,instanceId:n,documentEle:s,elementIds:c,microFEHost:d})=>{const g=this.#c.get({id:e,instanceId:n});if(!g)throw new Error(this.#v(e,n));this.#a.set(n,{id:e,instanceId:n,elementIds:c,guest:{guestWindow:s?.defaultView,...g},microFEHost:d})};#w=async({id:e,instanceId:n,containerId:s,hostUrl:c,manifestPath:d,homeRoute:g,initialRoute:y,history:A,theme:E,microFEHost:I})=>{const O=this.#c.get({id:e,instanceId:n});if(!O)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(!O.init||typeof O.init!="function")throw new Error(`Application ${e} with instance id ${n} doesn't expose init method`);const H=I??new Br({guest:{id:e},version:this.#t,containerId:s,logger:this.#e,soManager:this.#s,eventManager:this.#l});return O.init({host:H,hostUrl:c,manifestPath:d,homeRoute:g,initialRoute:y,prevState:null,history:A,theme:E,hostBreakpoint:kr(),hostViewportSize:pr(),logger:this.#e})};#x=async e=>{try{const{id:n,instanceId:s,files:c,name:d,hostUrl:g,documentEle:y,isJsModule:A}=e;this.#e.debug(`Application ${n} with instance id ${s} is loading...`);let E=c;const I=e.manifest??await Nt.get(e);E=Nt.getFullFileNameofAssets(I,c);const O=E.filter(N=>Gr(N)),H=E.filter(N=>!Gr(N)),K={name:d,hostUrl:g,documentEle:y,isESMModule:A},[D,W]=await Promise.all([this.#o.load(O,K),this.#r.load(H,K)]);this.#b({id:n,instanceId:s,documentEle:y,elementIds:[...D,...W],microFEHost:e.microFEHost}),e.selfInitialize||await this.#w(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)}};#f=({id:e,instanceId:n,hostUrl:s,documentEle:c})=>{this.#e.debug(`Application ${e} with instance id ${n} unloading...`),this.#c.get({id:e,instanceId:n})&&(this.#y(n,c),this.#r.removeDynamicImportedScripts(s,c),this.#r.removePrefetchLinks(s,c),this.#o.removeDynamicImportedStyles(s,c),this.#c.delete({id:e,instanceId:n}),this.#e.audit(`Application ${e} with instance id ${n} unloaded`))};#d=async({id:e,instanceId:n})=>{const s=this.#c.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:kr(),hostViewportSize:pr()})};#h=({id:e,instanceId:n})=>{const s=this.#c.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}`})};#S=({id:e,instanceId:n})=>{if(this.#p)try{const s=this.#s.getObject(ot.Application);if(!s){this.#e.warn({message:`Application scripting object not available for ${e} to manage session`});return}const c=this.#a.get(n);if(!c)return;c.keepAlive=Ae()(async()=>{try{await s.keepSessionAlive()}catch(g){this.#e.error(`Error keeping session alive. ${g.message}`)}},Yn);const d=Ee.get(n);Vr.forEach(g=>{d?.contentDocument?.addEventListener(g,c.keepAlive)})}catch(s){this.#e.warn({message:`Application scripting object not available for ${e} to manage session`,exception:s})}};#A=(e,n)=>{const d=this.#s.getObject(ot.Module,{id:e})?._setUnloadHandler;typeof d=="function"&&d(()=>this.closeApp(n))};#E=async e=>{const n=this.#s.getObject(ot.Module,{id:e});if(!n)return!0;try{const s=await this.#l.dispatchEvent(n,{event:{id:"module.unloading",name:"unloading"},eventParams:{moduleId:e},eventOptions:{timeout:1e3}});if(Array.isArray(s)&&s.some(c=>c===!1))return this.#e.info(`Unload denied by guest ${e} via module.unloading event`),!1}catch(s){this.#e.warn({message:`Error dispatching module.unloading event for ${e}`,exception:s})}return!0};#C=e=>{if(!this.#p||!e)return;const{keepAlive:n,instanceId:s}=e;if(n){const d=Ee.get(s)?.contentDocument;d&&Vr.forEach(g=>{d.removeEventListener(g,n)}),e.keepAlive?.cancel()}};addScriptingObject=(e,n)=>{if(Ct(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(c=>{const d=e[c];if(this.#m(d)){const g=new ne({name:d.name||c,objectId:n.id});Object.defineProperty(n,c,{value:g,enumerable:!0});const y=({eventParams:E,eventOptions:I})=>this.dispatchEvent({event:g,eventParams:E,eventOptions:I}),A=d.subscribe(y);s.push(()=>{d.unsubscribe(A)})}else if(this.#g(d)&&(Object.defineProperty(n,c,{value:async(...g)=>{const y=n[c]?.callContext;if(y?.guest){const E=y.callChain??[],I=y.guest.id,O=this.#u.get(I),H={id:I};O&&(H.metadata=O),Object.defineProperty(d,"callContext",{value:{callChain:[...E,H]},configurable:!0,enumerable:!0,writable:!0})}const A=await d(...g);return Ct(A)?this.cloneScriptingObject(A):A},enumerable:!0}),c==="dispose")){const g=n.dispose;Object.defineProperty(n,c,{value:()=>(n._dispose(),g.apply(n)),enumerable:!0})}}),n._dispose=()=>{s.forEach(c=>{c?.()}),s=[]},n};closeAllApps=async()=>{await Promise.all([...this.#a.keys()].map(this.closeApp))};closeApp=async e=>{if(!e)throw new Error("instanceId is required");const n=this.#a.get(e);if(!n){this.#e.warn(`Application with instance id ${e} is not found`);return}const{id:s}=n;if(!await this.#E(s))return;const c=this.#i.getConfigById(s);if(!c){this.#e.warn(`Configuration for application ${s} is not found`),this.#a.delete(e),Ee.remove(e);return}const{hostUrl:d}=c;try{this.#C(n),await this.#h({id:s,instanceId:e})}finally{const g=Ee.get(e);g?.contentDocument&&this.#f({id:s,instanceId:e,hostUrl:d,documentEle:g.contentDocument}),this.#a.delete(e),this.#u.delete(s),Ee.remove(e)}};dispatchEvent=async e=>{const{event:{id:n,name:s},eventOptions:c={}}=e,{guestId:d}=c;if(!n)throw new Error("Event Id is required");const g=n.split(".")?.[0],y=d?this.#s.getObject(g,{id:d}):this.#s.getObject(g);return y?this.#l.dispatchEvent(y,e):(this.#e.warn(`Attempt to dispatch event ${s} on unknown object ${g}`),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.#T()};#T=()=>{const e=this.#n.get("microFrontendApps")??{},n=new Set;Object.keys(e).forEach(s=>{const c=this.#i.getConfigById(s);if(c?.hostUrl)try{n.add(new URL(c.hostUrl).origin)}catch{}}),n.forEach(s=>{const c=document.createElement("link");c.rel="preconnect",c.href=s,c.crossOrigin="anonymous",document.head.appendChild(c)})};mountApp=async e=>{if(!e)throw new Error("instanceId is required");const{id:n}=this.#a.get(e)||{};if(!n)throw new Error(`Application with instance id ${e} is not found`);const s=this.#i.getConfigById(n);if(!s)throw new Error(`Application with id ${n} is not found`);await this.#d({...s,instanceId:e})};#O=(e,n,s)=>{const c=new Br({guest:{id:s.id},version:this.#t,containerId:s.containerId,logger:this.#e,soManager:this.#s,eventManager:this.#l}),d=e.defaultView;d&&(d.emui=d.emui??{},d.emui.__host=c,d.emui.getHost=()=>d.emui?.__host??null);const g=e.createElement("link");return g.rel="preconnect",g.href=n.hostUrl,g.crossOrigin="anonymous",e.head.appendChild(g),c};openApp=async e=>{const{id:n,frameOptions:s,history:c,theme:d,homeRoute:g,initialRoute:y,metadata:A,selfInitialize:E}=e,I=At();A&&this.#u.set(n,A);const O=this.#i.getConfigById(n);if(!O)throw new Error(`Application ${n} is not found in app config`);const H=Nt.get(O);H.catch(()=>{});const K=await Ee.create({id:n,instanceId:I,manifestPath:O.manifestPath,hostUrl:O.hostUrl,options:{title:O.name,...s}});if(!K?.contentDocument)throw new Error("unable to create iframe for the microapp");try{this.#c.add({id:n,instanceId:I,documentEle:K.contentDocument});const D=this.#O(K.contentDocument,O,{id:n,containerId:s?.containerId}),W=await H;return await this.#x({instanceId:I,history:c,theme:d,documentEle:K.contentDocument,containerId:s?.containerId,...O,homeRoute:g??O.homeRoute,initialRoute:y,microFEHost:D,selfInitialize:E,manifest:W}),E||await this.#d({instanceId:I,...O}),this.#S({id:n,instanceId:I}),this.#A(n,I),I}catch(D){throw this.#f({id:n,instanceId:I,hostUrl:O.hostUrl,documentEle:K.contentDocument}),Ee.remove(I),D}};removeAllEventSubscriptions=()=>{this.#l.unsubscribeAll()};removeAllScriptingObjects=e=>{this.#s.removeAllScriptingObjects(e)};removeScriptingObject=(e,n)=>{this.#s.removeScriptingObject(e,n)};warmUp=e=>{const n=this.#i.getConfigById(e);n&&Nt.get(n).catch(()=>{})};unmountApp=async e=>{if(!e)throw new Error("instanceId is required");const{id:n}=this.#a.get(e)||{};if(!n)throw new Error(`Application with instance id ${e} is not found`);const s=this.#i.getConfigById(n);if(!s)throw new Error(`Application with id ${n} is not found`);await this.#h({...s,instanceId:e})}}})(),zt})());
16
-
17
- //# sourceMappingURL=emuiAppBridge.d73405c86e4c6f166cfe.js.map