@elliemae/pui-app-bridge 2.28.3 → 2.28.5

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