@elliemae/pui-app-bridge 2.24.0 → 2.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/public/e2e-host.html +1 -1
- package/dist/public/e2e-index.html +1 -1
- package/dist/public/frame.html +1 -1
- package/dist/public/index.html +1 -1
- package/dist/public/js/emuiAppBridge.87b9f6d6c712609094fd.js +17 -0
- package/dist/public/js/emuiAppBridge.87b9f6d6c712609094fd.js.br +0 -0
- package/dist/public/js/emuiAppBridge.87b9f6d6c712609094fd.js.gz +0 -0
- package/dist/public/js/emuiAppBridge.87b9f6d6c712609094fd.js.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/umd/index.js +7 -15
- package/dist/umd/index.js.br +0 -0
- package/dist/umd/index.js.gz +0 -0
- package/dist/umd/index.js.map +1 -1
- package/package.json +6 -6
- package/dist/public/js/emuiAppBridge.5a6bc2ea1f03ee954a75.js +0 -25
- package/dist/public/js/emuiAppBridge.5a6bc2ea1f03ee954a75.js.br +0 -0
- package/dist/public/js/emuiAppBridge.5a6bc2ea1f03ee954a75.js.gz +0 -0
- package/dist/public/js/emuiAppBridge.5a6bc2ea1f03ee954a75.js.map +0 -1
package/dist/umd/index.js
CHANGED
|
@@ -1,25 +1,17 @@
|
|
|
1
|
-
(function(jt,X){typeof exports=="object"&&typeof module=="object"?module.exports=X():typeof define=="function"&&define.amd?define([],X):typeof exports=="object"?exports.ice=X():jt.ice=X()})(globalThis,()=>(()=>{var dr={4674(s,u,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},p={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},f={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},d={};d[i.ForwardRef]=p,d[i.Memo]=f;function g(D){return i.isMemo(D)?f:d[D.$$typeof]||a}var v=Object.defineProperty,x=Object.getOwnPropertyNames,S=Object.getOwnPropertySymbols,O=Object.getOwnPropertyDescriptor,M=Object.getPrototypeOf,k=Object.prototype;function N(D,U,V){if(typeof U!="string"){if(k){var ne=M(U);ne&&ne!==k&&N(D,ne,V)}var R=x(U);S&&(R=R.concat(S(U)));for(var le=g(D),E=g(U),fe=0;fe<R.length;++fe){var de=R[fe];if(!l[de]&&!(V&&V[de])&&!(E&&E[de])&&!(le&&le[de])){var ge=O(U,de);try{v(D,de,ge)}catch{}}}}return D}s.exports=N},6869(s,u,e){var i=e(5201),a=e(1736),l=i(a,"DataView");s.exports=l},5748(s,u,e){var i=e(4319),a=e(5931),l=e(1914),p=e(8670),f=e(6646);function d(g){var v=-1,x=g==null?0:g.length;for(this.clear();++v<x;){var S=g[v];this.set(S[0],S[1])}}d.prototype.clear=i,d.prototype.delete=a,d.prototype.get=l,d.prototype.has=p,d.prototype.set=f,s.exports=d},4296(s,u,e){var i=e(651),a=e(3919),l=e(830),p=e(794),f=e(4642);function d(g){var v=-1,x=g==null?0:g.length;for(this.clear();++v<x;){var S=g[v];this.set(S[0],S[1])}}d.prototype.clear=i,d.prototype.delete=a,d.prototype.get=l,d.prototype.has=p,d.prototype.set=f,s.exports=d},4292(s,u,e){var i=e(5201),a=e(1736),l=i(a,"Map");s.exports=l},8464(s,u,e){var i=e(6771),a=e(295),l=e(7462),p=e(9029),f=e(842);function d(g){var v=-1,x=g==null?0:g.length;for(this.clear();++v<x;){var S=g[v];this.set(S[0],S[1])}}d.prototype.clear=i,d.prototype.delete=a,d.prototype.get=l,d.prototype.has=p,d.prototype.set=f,s.exports=d},2715(s,u,e){var i=e(5201),a=e(1736),l=i(a,"Promise");s.exports=l},4265(s,u,e){var i=e(5201),a=e(1736),l=i(a,"Set");s.exports=l},1410(s,u,e){var i=e(4296),a=e(6897),l=e(2345),p=e(3760),f=e(6228),d=e(468);function g(v){var x=this.__data__=new i(v);this.size=x.size}g.prototype.clear=a,g.prototype.delete=l,g.prototype.get=p,g.prototype.has=f,g.prototype.set=d,s.exports=g},5572(s,u,e){var i=e(1736),a=i.Symbol;s.exports=a},2769(s,u,e){var i=e(1736),a=i.Uint8Array;s.exports=a},6696(s,u,e){var i=e(5201),a=e(1736),l=i(a,"WeakMap");s.exports=l},1442(s){function u(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)}s.exports=u},9542(s){function u(e,i){for(var a=-1,l=e==null?0:e.length;++a<l&&i(e[a],a,e)!==!1;);return e}s.exports=u},3001(s){function u(e,i){for(var a=-1,l=e==null?0:e.length,p=0,f=[];++a<l;){var d=e[a];i(d,a,e)&&(f[p++]=d)}return f}s.exports=u},1684(s,u,e){var i=e(7967),a=e(4201),l=e(6628),p=e(7103),f=e(1258),d=e(8276),g=Object.prototype,v=g.hasOwnProperty;function x(S,O){var M=l(S),k=!M&&a(S),N=!M&&!k&&p(S),D=!M&&!k&&!N&&d(S),U=M||k||N||D,V=U?i(S.length,String):[],ne=V.length;for(var R in S)(O||v.call(S,R))&&!(U&&(R=="length"||N&&(R=="offset"||R=="parent")||D&&(R=="buffer"||R=="byteLength"||R=="byteOffset")||f(R,ne)))&&V.push(R);return V}s.exports=x},9221(s){function u(e,i){for(var a=-1,l=e==null?0:e.length,p=Array(l);++a<l;)p[a]=i(e[a],a,e);return p}s.exports=u},8255(s){function u(e,i){for(var a=-1,l=i.length,p=e.length;++a<l;)e[p+a]=i[a];return e}s.exports=u},4220(s,u,e){var i=e(9935),a=e(8763);function l(p,f,d){(d!==void 0&&!a(p[f],d)||d===void 0&&!(f in p))&&i(p,f,d)}s.exports=l},484(s,u,e){var i=e(9935),a=e(8763),l=Object.prototype,p=l.hasOwnProperty;function f(d,g,v){var x=d[g];(!(p.call(d,g)&&a(x,v))||v===void 0&&!(g in d))&&i(d,g,v)}s.exports=f},5996(s,u,e){var i=e(8763);function a(l,p){for(var f=l.length;f--;)if(i(l[f][0],p))return f;return-1}s.exports=a},5264(s,u,e){var i=e(4534),a=e(6353);function l(p,f){return p&&i(f,a(f),p)}s.exports=l},7903(s,u,e){var i=e(4534),a=e(3562);function l(p,f){return p&&i(f,a(f),p)}s.exports=l},9935(s,u,e){var i=e(2582);function a(l,p,f){p=="__proto__"&&i?i(l,p,{configurable:!0,enumerable:!0,value:f,writable:!0}):l[p]=f}s.exports=a},444(s,u,e){var i=e(1410),a=e(9542),l=e(484),p=e(5264),f=e(7903),d=e(481),g=e(380),v=e(9116),x=e(7939),S=e(979),O=e(7856),M=e(3423),k=e(5292),N=e(8262),D=e(3798),U=e(6628),V=e(7103),ne=e(5487),R=e(7230),le=e(9601),E=e(6353),fe=e(3562),de=1,ge=2,ee=4,me="[object Arguments]",ve="[object Array]",G="[object Boolean]",Pe="[object Date]",J="[object Error]",we="[object Function]",Ke="[object GeneratorFunction]",Ce="[object Map]",nt="[object Number]",Te="[object Object]",lt="[object RegExp]",y="[object Set]",T="[object String]",_="[object Symbol]",oe="[object WeakMap]",te="[object ArrayBuffer]",ye="[object DataView]",Se="[object Float32Array]",xe="[object Float64Array]",be="[object Int8Array]",Fe="[object Int16Array]",Ht="[object Int32Array]",Rt="[object Uint8Array]",St="[object Uint8ClampedArray]",Wt="[object Uint16Array]",$t="[object Uint32Array]",he={};he[me]=he[ve]=he[te]=he[ye]=he[G]=he[Pe]=he[Se]=he[xe]=he[be]=he[Fe]=he[Ht]=he[Ce]=he[nt]=he[Te]=he[lt]=he[y]=he[T]=he[_]=he[Rt]=he[St]=he[Wt]=he[$t]=!0,he[J]=he[we]=he[oe]=!1;function Ge(re,et,Ae,Kt,ft,_e){var De,dt=et&de,ht=et&ge,Yt=etⅇif(Ae&&(De=ft?Ae(re,Kt,ft,_e):Ae(re)),De!==void 0)return De;if(!R(re))return re;var Mt=U(re);if(Mt){if(De=k(re),!dt)return g(re,De)}else{var tt=M(re),kt=tt==we||tt==Ke;if(V(re))return d(re,dt);if(tt==Te||tt==me||kt&&!ft){if(De=ht||kt?{}:D(re),!dt)return ht?x(re,f(De,re)):v(re,p(De,re))}else{if(!he[tt])return ft?re:{};De=N(re,tt,dt)}}_e||(_e=new i);var Ft=_e.get(re);if(Ft)return Ft;_e.set(re,De),le(re)?re.forEach(function(ze){De.add(Ge(ze,et,Ae,ze,re,_e))}):ne(re)&&re.forEach(function(ze,rt){De.set(rt,Ge(ze,et,Ae,rt,re,_e))});var gt=Yt?ht?O:S:ht?fe:E,Dt=Mt?void 0:gt(re);return a(Dt||re,function(ze,rt){Dt&&(rt=ze,ze=re[rt]),l(De,rt,Ge(ze,et,Ae,rt,re,_e))}),De}s.exports=Ge},1481(s,u,e){var i=e(7230),a=Object.create,l=function(){function p(){}return function(f){if(!i(f))return{};if(a)return a(f);p.prototype=f;var d=new p;return p.prototype=void 0,d}}();s.exports=l},9810(s,u,e){var i=e(34),a=i();s.exports=a},5049(s,u,e){var i=e(6476),a=e(18);function l(p,f){f=i(f,p);for(var d=0,g=f.length;p!=null&&d<g;)p=p[a(f[d++])];return d&&d==g?p:void 0}s.exports=l},8614(s,u,e){var i=e(8255),a=e(6628);function l(p,f,d){var g=f(p);return a(p)?g:i(g,d(p))}s.exports=l},8561(s,u,e){var i=e(5572),a=e(8504),l=e(1567),p="[object Null]",f="[object Undefined]",d=i?i.toStringTag:void 0;function g(v){return v==null?v===void 0?f:p:d&&d in Object(v)?a(v):l(v)}s.exports=g},1157(s){var u=Object.prototype,e=u.hasOwnProperty;function i(a,l){return a!=null&&e.call(a,l)}s.exports=i},3465(s,u,e){var i=e(8561),a=e(8089),l="[object Arguments]";function p(f){return a(f)&&i(f)==l}s.exports=p},9839(s,u,e){var i=e(3423),a=e(8089),l="[object Map]";function p(f){return a(f)&&i(f)==l}s.exports=p},986(s,u,e){var i=e(5085),a=e(9617),l=e(7230),p=e(9716),f=/[\\^$.*+?()[\]{}|]/g,d=/^\[object .+?Constructor\]$/,g=Function.prototype,v=Object.prototype,x=g.toString,S=v.hasOwnProperty,O=RegExp("^"+x.call(S).replace(f,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function M(k){if(!l(k)||a(k))return!1;var N=i(k)?O:d;return N.test(p(k))}s.exports=M},7217(s,u,e){var i=e(3423),a=e(8089),l="[object Set]";function p(f){return a(f)&&i(f)==l}s.exports=p},3924(s,u,e){var i=e(8561),a=e(3341),l=e(8089),p="[object Arguments]",f="[object Array]",d="[object Boolean]",g="[object Date]",v="[object Error]",x="[object Function]",S="[object Map]",O="[object Number]",M="[object Object]",k="[object RegExp]",N="[object Set]",D="[object String]",U="[object WeakMap]",V="[object ArrayBuffer]",ne="[object DataView]",R="[object Float32Array]",le="[object Float64Array]",E="[object Int8Array]",fe="[object Int16Array]",de="[object Int32Array]",ge="[object Uint8Array]",ee="[object Uint8ClampedArray]",me="[object Uint16Array]",ve="[object Uint32Array]",G={};G[R]=G[le]=G[E]=G[fe]=G[de]=G[ge]=G[ee]=G[me]=G[ve]=!0,G[p]=G[f]=G[V]=G[d]=G[ne]=G[g]=G[v]=G[x]=G[S]=G[O]=G[M]=G[k]=G[N]=G[D]=G[U]=!1;function Pe(J){return l(J)&&a(J.length)&&!!G[i(J)]}s.exports=Pe},1009(s,u,e){var i=e(5804),a=e(4407),l=Object.prototype,p=l.hasOwnProperty;function f(d){if(!i(d))return a(d);var g=[];for(var v in Object(d))p.call(d,v)&&v!="constructor"&&g.push(v);return g}s.exports=f},8458(s,u,e){var i=e(7230),a=e(5804),l=e(8716),p=Object.prototype,f=p.hasOwnProperty;function d(g){if(!i(g))return l(g);var v=a(g),x=[];for(var S in g)S=="constructor"&&(v||!f.call(g,S))||x.push(S);return x}s.exports=d},2725(s,u,e){var i=e(1410),a=e(4220),l=e(9810),p=e(2887),f=e(7230),d=e(3562),g=e(2169);function v(x,S,O,M,k){x!==S&&l(S,function(N,D){if(k||(k=new i),f(N))p(x,S,D,O,v,M,k);else{var U=M?M(g(x,D),N,D+"",x,S,k):void 0;U===void 0&&(U=N),a(x,D,U)}},d)}s.exports=v},2887(s,u,e){var i=e(4220),a=e(481),l=e(8534),p=e(380),f=e(3798),d=e(4201),g=e(6628),v=e(1856),x=e(7103),S=e(5085),O=e(7230),M=e(3506),k=e(8276),N=e(2169),D=e(470);function U(V,ne,R,le,E,fe,de){var ge=N(V,R),ee=N(ne,R),me=de.get(ee);if(me){i(V,R,me);return}var ve=fe?fe(ge,ee,R+"",V,ne,de):void 0,G=ve===void 0;if(G){var Pe=g(ee),J=!Pe&&x(ee),we=!Pe&&!J&&k(ee);ve=ee,Pe||J||we?g(ge)?ve=ge:v(ge)?ve=p(ge):J?(G=!1,ve=a(ee,!0)):we?(G=!1,ve=l(ee,!0)):ve=[]:M(ee)||d(ee)?(ve=ge,d(ge)?ve=D(ge):(!O(ge)||S(ge))&&(ve=f(ee))):G=!1}G&&(de.set(ee,ve),E(ve,ee,le,fe,de),de.delete(ee)),i(V,R,ve)}s.exports=U},4959(s,u,e){var i=e(1007),a=e(2036),l=e(5806);function p(f,d){return l(a(f,d,i),f+"")}s.exports=p},5421(s,u,e){var i=e(484),a=e(6476),l=e(1258),p=e(7230),f=e(18);function d(g,v,x,S){if(!p(g))return g;v=a(v,g);for(var O=-1,M=v.length,k=M-1,N=g;N!=null&&++O<M;){var D=f(v[O]),U=x;if(D==="__proto__"||D==="constructor"||D==="prototype")return g;if(O!=k){var V=N[D];U=S?S(V,D,N):void 0,U===void 0&&(U=p(V)?V:l(v[O+1])?[]:{})}i(N,D,U),N=N[D]}return g}s.exports=d},3317(s,u,e){var i=e(7965),a=e(2582),l=e(1007),p=a?function(f,d){return a(f,"toString",{configurable:!0,enumerable:!1,value:i(d),writable:!0})}:l;s.exports=p},7967(s){function u(e,i){for(var a=-1,l=Array(e);++a<e;)l[a]=i(a);return l}s.exports=u},5293(s,u,e){var i=e(5572),a=e(9221),l=e(6628),p=e(3089),f=1/0,d=i?i.prototype:void 0,g=d?d.toString:void 0;function v(x){if(typeof x=="string")return x;if(l(x))return a(x,v)+"";if(p(x))return g?g.call(x):"";var S=x+"";return S=="0"&&1/x==-f?"-0":S}s.exports=v},9605(s,u,e){var i=e(9327),a=/^\s+/;function l(p){return p&&p.slice(0,i(p)+1).replace(a,"")}s.exports=l},6390(s){function u(e){return function(i){return e(i)}}s.exports=u},6476(s,u,e){var i=e(6628),a=e(5749),l=e(1951),p=e(5805);function f(d,g){return i(d)?d:a(d,g)?[d]:l(p(d))}s.exports=f},4428(s,u,e){var i=e(2769);function a(l){var p=new l.constructor(l.byteLength);return new i(p).set(new i(l)),p}s.exports=a},481(s,u,e){s=e.nmd(s);var i=e(1736),a=u&&!u.nodeType&&u,l=a&&!0&&s&&!s.nodeType&&s,p=l&&l.exports===a,f=p?i.Buffer:void 0,d=f?f.allocUnsafe:void 0;function g(v,x){if(x)return v.slice();var S=v.length,O=d?d(S):new v.constructor(S);return v.copy(O),O}s.exports=g},8454(s,u,e){var i=e(4428);function a(l,p){var f=p?i(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.byteLength)}s.exports=a},7202(s){var u=/\w*$/;function e(i){var a=new i.constructor(i.source,u.exec(i));return a.lastIndex=i.lastIndex,a}s.exports=e},8687(s,u,e){var i=e(5572),a=i?i.prototype:void 0,l=a?a.valueOf:void 0;function p(f){return l?Object(l.call(f)):{}}s.exports=p},8534(s,u,e){var i=e(4428);function a(l,p){var f=p?i(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.length)}s.exports=a},380(s){function u(e,i){var a=-1,l=e.length;for(i||(i=Array(l));++a<l;)i[a]=e[a];return i}s.exports=u},4534(s,u,e){var i=e(484),a=e(9935);function l(p,f,d,g){var v=!d;d||(d={});for(var x=-1,S=f.length;++x<S;){var O=f[x],M=g?g(d[O],p[O],O,d,p):void 0;M===void 0&&(M=p[O]),v?a(d,O,M):i(d,O,M)}return d}s.exports=l},9116(s,u,e){var i=e(4534),a=e(7781);function l(p,f){return i(p,a(p),f)}s.exports=l},7939(s,u,e){var i=e(4534),a=e(6438);function l(p,f){return i(p,a(p),f)}s.exports=l},80(s,u,e){var i=e(1736),a=i["__core-js_shared__"];s.exports=a},5834(s,u,e){var i=e(4959),a=e(3025);function l(p){return i(function(f,d){var g=-1,v=d.length,x=v>1?d[v-1]:void 0,S=v>2?d[2]:void 0;for(x=p.length>3&&typeof x=="function"?(v--,x):void 0,S&&a(d[0],d[1],S)&&(x=v<3?void 0:x,v=1),f=Object(f);++g<v;){var O=d[g];O&&p(f,O,g,x)}return f})}s.exports=l},34(s){function u(e){return function(i,a,l){for(var p=-1,f=Object(i),d=l(i),g=d.length;g--;){var v=d[e?g:++p];if(a(f[v],v,f)===!1)break}return i}}s.exports=u},2582(s,u,e){var i=e(5201),a=function(){try{var l=i(Object,"defineProperty");return l({},"",{}),l}catch{}}();s.exports=a},8433(s){var u=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;s.exports=u},979(s,u,e){var i=e(8614),a=e(7781),l=e(6353);function p(f){return i(f,l,a)}s.exports=p},7856(s,u,e){var i=e(8614),a=e(6438),l=e(3562);function p(f){return i(f,l,a)}s.exports=p},6289(s,u,e){var i=e(9169);function a(l,p){var f=l.__data__;return i(p)?f[typeof p=="string"?"string":"hash"]:f.map}s.exports=a},5201(s,u,e){var i=e(986),a=e(1793);function l(p,f){var d=a(p,f);return i(d)?d:void 0}s.exports=l},2566(s,u,e){var i=e(5300),a=i(Object.getPrototypeOf,Object);s.exports=a},8504(s,u,e){var i=e(5572),a=Object.prototype,l=a.hasOwnProperty,p=a.toString,f=i?i.toStringTag:void 0;function d(g){var v=l.call(g,f),x=g[f];try{g[f]=void 0;var S=!0}catch{}var O=p.call(g);return S&&(v?g[f]=x:delete g[f]),O}s.exports=d},7781(s,u,e){var i=e(3001),a=e(2148),l=Object.prototype,p=l.propertyIsEnumerable,f=Object.getOwnPropertySymbols,d=f?function(g){return g==null?[]:(g=Object(g),i(f(g),function(v){return p.call(g,v)}))}:a;s.exports=d},6438(s,u,e){var i=e(8255),a=e(2566),l=e(7781),p=e(2148),f=Object.getOwnPropertySymbols,d=f?function(g){for(var v=[];g;)i(v,l(g)),g=a(g);return v}:p;s.exports=d},3423(s,u,e){var i=e(6869),a=e(4292),l=e(2715),p=e(4265),f=e(6696),d=e(8561),g=e(9716),v="[object Map]",x="[object Object]",S="[object Promise]",O="[object Set]",M="[object WeakMap]",k="[object DataView]",N=g(i),D=g(a),U=g(l),V=g(p),ne=g(f),R=d;(i&&R(new i(new ArrayBuffer(1)))!=k||a&&R(new a)!=v||l&&R(l.resolve())!=S||p&&R(new p)!=O||f&&R(new f)!=M)&&(R=function(le){var E=d(le),fe=E==x?le.constructor:void 0,de=fe?g(fe):"";if(de)switch(de){case N:return k;case D:return v;case U:return S;case V:return O;case ne:return M}return E}),s.exports=R},1793(s){function u(e,i){return e?.[i]}s.exports=u},6913(s,u,e){var i=e(6476),a=e(4201),l=e(6628),p=e(1258),f=e(3341),d=e(18);function g(v,x,S){x=i(x,v);for(var O=-1,M=x.length,k=!1;++O<M;){var N=d(x[O]);if(!(k=v!=null&&S(v,N)))break;v=v[N]}return k||++O!=M?k:(M=v==null?0:v.length,!!M&&f(M)&&p(N,M)&&(l(v)||a(v)))}s.exports=g},4319(s,u,e){var i=e(2919);function a(){this.__data__=i?i(null):{},this.size=0}s.exports=a},5931(s){function u(e){var i=this.has(e)&&delete this.__data__[e];return this.size-=i?1:0,i}s.exports=u},1914(s,u,e){var i=e(2919),a="__lodash_hash_undefined__",l=Object.prototype,p=l.hasOwnProperty;function f(d){var g=this.__data__;if(i){var v=g[d];return v===a?void 0:v}return p.call(g,d)?g[d]:void 0}s.exports=f},8670(s,u,e){var i=e(2919),a=Object.prototype,l=a.hasOwnProperty;function p(f){var d=this.__data__;return i?d[f]!==void 0:l.call(d,f)}s.exports=p},6646(s,u,e){var i=e(2919),a="__lodash_hash_undefined__";function l(p,f){var d=this.__data__;return this.size+=this.has(p)?0:1,d[p]=i&&f===void 0?a:f,this}s.exports=l},5292(s){var u=Object.prototype,e=u.hasOwnProperty;function i(a){var l=a.length,p=new a.constructor(l);return l&&typeof a[0]=="string"&&e.call(a,"index")&&(p.index=a.index,p.input=a.input),p}s.exports=i},8262(s,u,e){var i=e(4428),a=e(8454),l=e(7202),p=e(8687),f=e(8534),d="[object Boolean]",g="[object Date]",v="[object Map]",x="[object Number]",S="[object RegExp]",O="[object Set]",M="[object String]",k="[object Symbol]",N="[object ArrayBuffer]",D="[object DataView]",U="[object Float32Array]",V="[object Float64Array]",ne="[object Int8Array]",R="[object Int16Array]",le="[object Int32Array]",E="[object Uint8Array]",fe="[object Uint8ClampedArray]",de="[object Uint16Array]",ge="[object Uint32Array]";function ee(me,ve,G){var Pe=me.constructor;switch(ve){case N:return i(me);case d:case g:return new Pe(+me);case D:return a(me,G);case U:case V:case ne:case R:case le:case E:case fe:case de:case ge:return f(me,G);case v:return new Pe;case x:case M:return new Pe(me);case S:return l(me);case O:return new Pe;case k:return p(me)}}s.exports=ee},3798(s,u,e){var i=e(1481),a=e(2566),l=e(5804);function p(f){return typeof f.constructor=="function"&&!l(f)?i(a(f)):{}}s.exports=p},1258(s){var u=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function i(a,l){var p=typeof a;return l=l??u,!!l&&(p=="number"||p!="symbol"&&e.test(a))&&a>-1&&a%1==0&&a<l}s.exports=i},3025(s,u,e){var i=e(8763),a=e(2059),l=e(1258),p=e(7230);function f(d,g,v){if(!p(v))return!1;var x=typeof g;return(x=="number"?a(v)&&l(g,v.length):x=="string"&&g in v)?i(v[g],d):!1}s.exports=f},5749(s,u,e){var i=e(6628),a=e(3089),l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,p=/^\w*$/;function f(d,g){if(i(d))return!1;var v=typeof d;return v=="number"||v=="symbol"||v=="boolean"||d==null||a(d)?!0:p.test(d)||!l.test(d)||g!=null&&d in Object(g)}s.exports=f},9169(s){function u(e){var i=typeof e;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?e!=="__proto__":e===null}s.exports=u},9617(s,u,e){var i=e(80),a=function(){var p=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return p?"Symbol(src)_1."+p:""}();function l(p){return!!a&&a in p}s.exports=l},5804(s){var u=Object.prototype;function e(i){var a=i&&i.constructor,l=typeof a=="function"&&a.prototype||u;return i===l}s.exports=e},651(s){function u(){this.__data__=[],this.size=0}s.exports=u},3919(s,u,e){var i=e(5996),a=Array.prototype,l=a.splice;function p(f){var d=this.__data__,g=i(d,f);if(g<0)return!1;var v=d.length-1;return g==v?d.pop():l.call(d,g,1),--this.size,!0}s.exports=p},830(s,u,e){var i=e(5996);function a(l){var p=this.__data__,f=i(p,l);return f<0?void 0:p[f][1]}s.exports=a},794(s,u,e){var i=e(5996);function a(l){return i(this.__data__,l)>-1}s.exports=a},4642(s,u,e){var i=e(5996);function a(l,p){var f=this.__data__,d=i(f,l);return d<0?(++this.size,f.push([l,p])):f[d][1]=p,this}s.exports=a},6771(s,u,e){var i=e(5748),a=e(4296),l=e(4292);function p(){this.size=0,this.__data__={hash:new i,map:new(l||a),string:new i}}s.exports=p},295(s,u,e){var i=e(6289);function a(l){var p=i(this,l).delete(l);return this.size-=p?1:0,p}s.exports=a},7462(s,u,e){var i=e(6289);function a(l){return i(this,l).get(l)}s.exports=a},9029(s,u,e){var i=e(6289);function a(l){return i(this,l).has(l)}s.exports=a},842(s,u,e){var i=e(6289);function a(l,p){var f=i(this,l),d=f.size;return f.set(l,p),this.size+=f.size==d?0:1,this}s.exports=a},8563(s,u,e){var i=e(4101),a=500;function l(p){var f=i(p,function(g){return d.size===a&&d.clear(),g}),d=f.cache;return f}s.exports=l},2919(s,u,e){var i=e(5201),a=i(Object,"create");s.exports=a},4407(s,u,e){var i=e(5300),a=i(Object.keys,Object);s.exports=a},8716(s){function u(e){var i=[];if(e!=null)for(var a in Object(e))i.push(a);return i}s.exports=u},7728(s,u,e){s=e.nmd(s);var i=e(8433),a=u&&!u.nodeType&&u,l=a&&!0&&s&&!s.nodeType&&s,p=l&&l.exports===a,f=p&&i.process,d=function(){try{var g=l&&l.require&&l.require("util").types;return g||f&&f.binding&&f.binding("util")}catch{}}();s.exports=d},1567(s){var u=Object.prototype,e=u.toString;function i(a){return e.call(a)}s.exports=i},5300(s){function u(e,i){return function(a){return e(i(a))}}s.exports=u},2036(s,u,e){var i=e(1442),a=Math.max;function l(p,f,d){return f=a(f===void 0?p.length-1:f,0),function(){for(var g=arguments,v=-1,x=a(g.length-f,0),S=Array(x);++v<x;)S[v]=g[f+v];v=-1;for(var O=Array(f+1);++v<f;)O[v]=g[v];return O[f]=d(S),i(p,this,O)}}s.exports=l},1736(s,u,e){var i=e(8433),a=typeof self=="object"&&self&&self.Object===Object&&self,l=i||a||Function("return this")();s.exports=l},2169(s){function u(e,i){if(!(i==="constructor"&&typeof e[i]=="function")&&i!="__proto__")return e[i]}s.exports=u},5806(s,u,e){var i=e(3317),a=e(5586),l=a(i);s.exports=l},5586(s){var u=800,e=16,i=Date.now;function a(l){var p=0,f=0;return function(){var d=i(),g=e-(d-f);if(f=d,g>0){if(++p>=u)return arguments[0]}else p=0;return l.apply(void 0,arguments)}}s.exports=a},6897(s,u,e){var i=e(4296);function a(){this.__data__=new i,this.size=0}s.exports=a},2345(s){function u(e){var i=this.__data__,a=i.delete(e);return this.size=i.size,a}s.exports=u},3760(s){function u(e){return this.__data__.get(e)}s.exports=u},6228(s){function u(e){return this.__data__.has(e)}s.exports=u},468(s,u,e){var i=e(4296),a=e(4292),l=e(8464),p=200;function f(d,g){var v=this.__data__;if(v instanceof i){var x=v.__data__;if(!a||x.length<p-1)return x.push([d,g]),this.size=++v.size,this;v=this.__data__=new l(x)}return v.set(d,g),this.size=v.size,this}s.exports=f},1951(s,u,e){var i=e(8563),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g,p=i(function(f){var d=[];return f.charCodeAt(0)===46&&d.push(""),f.replace(a,function(g,v,x,S){d.push(x?S.replace(l,"$1"):v||g)}),d});s.exports=p},18(s,u,e){var i=e(3089),a=1/0;function l(p){if(typeof p=="string"||i(p))return p;var f=p+"";return f=="0"&&1/p==-a?"-0":f}s.exports=l},9716(s){var u=Function.prototype,e=u.toString;function i(a){if(a!=null){try{return e.call(a)}catch{}try{return a+""}catch{}}return""}s.exports=i},9327(s){var u=/\s/;function e(i){for(var a=i.length;a--&&u.test(i.charAt(a)););return a}s.exports=e},114(s,u,e){var i=e(444),a=1,l=4;function p(f){return i(f,a|l)}s.exports=p},7965(s){function u(e){return function(){return e}}s.exports=u},2702(s,u,e){var i=e(7230),a=e(1381),l=e(3569),p="Expected a function",f=Math.max,d=Math.min;function g(v,x,S){var O,M,k,N,D,U,V=0,ne=!1,R=!1,le=!0;if(typeof v!="function")throw new TypeError(p);x=l(x)||0,i(S)&&(ne=!!S.leading,R="maxWait"in S,k=R?f(l(S.maxWait)||0,x):k,le="trailing"in S?!!S.trailing:le);function E(J){var we=O,Ke=M;return O=M=void 0,V=J,N=v.apply(Ke,we),N}function fe(J){return V=J,D=setTimeout(ee,x),ne?E(J):N}function de(J){var we=J-U,Ke=J-V,Ce=x-we;return R?d(Ce,k-Ke):Ce}function ge(J){var we=J-U,Ke=J-V;return U===void 0||we>=x||we<0||R&&Ke>=k}function ee(){var J=a();if(ge(J))return me(J);D=setTimeout(ee,de(J))}function me(J){return D=void 0,le&&O?E(J):(O=M=void 0,N)}function ve(){D!==void 0&&clearTimeout(D),V=0,O=U=M=D=void 0}function G(){return D===void 0?N:me(a())}function Pe(){var J=a(),we=ge(J);if(O=arguments,M=this,U=J,we){if(D===void 0)return fe(U);if(R)return clearTimeout(D),D=setTimeout(ee,x),E(U)}return D===void 0&&(D=setTimeout(ee,x)),N}return Pe.cancel=ve,Pe.flush=G,Pe}s.exports=g},8763(s){function u(e,i){return e===i||e!==e&&i!==i}s.exports=u},2249(s,u,e){var i=e(5049);function a(l,p,f){var d=l==null?void 0:i(l,p);return d===void 0?f:d}s.exports=a},7605(s,u,e){var i=e(1157),a=e(6913);function l(p,f){return p!=null&&a(p,f,i)}s.exports=l},1007(s){function u(e){return e}s.exports=u},4201(s,u,e){var i=e(3465),a=e(8089),l=Object.prototype,p=l.hasOwnProperty,f=l.propertyIsEnumerable,d=i(function(){return arguments}())?i:function(g){return a(g)&&p.call(g,"callee")&&!f.call(g,"callee")};s.exports=d},6628(s){var u=Array.isArray;s.exports=u},2059(s,u,e){var i=e(5085),a=e(3341);function l(p){return p!=null&&a(p.length)&&!i(p)}s.exports=l},1856(s,u,e){var i=e(2059),a=e(8089);function l(p){return a(p)&&i(p)}s.exports=l},7103(s,u,e){s=e.nmd(s);var i=e(1736),a=e(4078),l=u&&!u.nodeType&&u,p=l&&!0&&s&&!s.nodeType&&s,f=p&&p.exports===l,d=f?i.Buffer:void 0,g=d?d.isBuffer:void 0,v=g||a;s.exports=v},5085(s,u,e){var i=e(8561),a=e(7230),l="[object AsyncFunction]",p="[object Function]",f="[object GeneratorFunction]",d="[object Proxy]";function g(v){if(!a(v))return!1;var x=i(v);return x==p||x==f||x==l||x==d}s.exports=g},3341(s){var u=9007199254740991;function e(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=u}s.exports=e},5487(s,u,e){var i=e(9839),a=e(6390),l=e(7728),p=l&&l.isMap,f=p?a(p):i;s.exports=f},7230(s){function u(e){var i=typeof e;return e!=null&&(i=="object"||i=="function")}s.exports=u},8089(s){function u(e){return e!=null&&typeof e=="object"}s.exports=u},3506(s,u,e){var i=e(8561),a=e(2566),l=e(8089),p="[object Object]",f=Function.prototype,d=Object.prototype,g=f.toString,v=d.hasOwnProperty,x=g.call(Object);function S(O){if(!l(O)||i(O)!=p)return!1;var M=a(O);if(M===null)return!0;var k=v.call(M,"constructor")&&M.constructor;return typeof k=="function"&&k instanceof k&&g.call(k)==x}s.exports=S},9601(s,u,e){var i=e(7217),a=e(6390),l=e(7728),p=l&&l.isSet,f=p?a(p):i;s.exports=f},3089(s,u,e){var i=e(8561),a=e(8089),l="[object Symbol]";function p(f){return typeof f=="symbol"||a(f)&&i(f)==l}s.exports=p},8276(s,u,e){var i=e(3924),a=e(6390),l=e(7728),p=l&&l.isTypedArray,f=p?a(p):i;s.exports=f},6353(s,u,e){var i=e(1684),a=e(1009),l=e(2059);function p(f){return l(f)?i(f):a(f)}s.exports=p},3562(s,u,e){var i=e(1684),a=e(8458),l=e(2059);function p(f){return l(f)?i(f,!0):a(f)}s.exports=p},4101(s,u,e){var i=e(8464),a="Expected a function";function l(p,f){if(typeof p!="function"||f!=null&&typeof f!="function")throw new TypeError(a);var d=function(){var g=arguments,v=f?f.apply(this,g):g[0],x=d.cache;if(x.has(v))return x.get(v);var S=p.apply(this,g);return d.cache=x.set(v,S)||x,S};return d.cache=new(l.Cache||i),d}l.Cache=i,s.exports=l},277(s,u,e){var i=e(2725),a=e(5834),l=a(function(p,f,d){i(p,f,d)});s.exports=l},1381(s,u,e){var i=e(1736),a=function(){return i.Date.now()};s.exports=a},7181(s,u,e){var i=e(5421);function a(l,p,f){return l==null?l:i(l,p,f)}s.exports=a},2148(s){function u(){return[]}s.exports=u},4078(s){function u(){return!1}s.exports=u},5345(s,u,e){var i=e(2702),a=e(7230),l="Expected a function";function p(f,d,g){var v=!0,x=!0;if(typeof f!="function")throw new TypeError(l);return a(g)&&(v="leading"in g?!!g.leading:v,x="trailing"in g?!!g.trailing:x),i(f,d,{leading:v,maxWait:d,trailing:x})}s.exports=p},3569(s,u,e){var i=e(9605),a=e(7230),l=e(3089),p=NaN,f=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,g=/^0o[0-7]+$/i,v=parseInt;function x(S){if(typeof S=="number")return S;if(l(S))return p;if(a(S)){var O=typeof S.valueOf=="function"?S.valueOf():S;S=a(O)?O+"":O}if(typeof S!="string")return S===0?S:+S;S=i(S);var M=d.test(S);return M||g.test(S)?v(S.slice(2),M?2:8):f.test(S)?p:+S}s.exports=x},470(s,u,e){var i=e(4534),a=e(3562);function l(p){return i(p,a(p))}s.exports=l},5805(s,u,e){var i=e(5293);function a(l){return l==null?"":i(l)}s.exports=a},5360(s,u){"use strict";/** @license React v16.13.1
|
|
1
|
+
(function(wt,_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")):wt.ice=_e(wt.React)})(globalThis,fr=>(()=>{var wt={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},f={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},d={};d[i.ForwardRef]=u,d[i.Memo]=f;function g(D){return i.isMemo(D)?f:d[D.$$typeof]||a}var v=Object.defineProperty,x=Object.getOwnPropertyNames,w=Object.getOwnPropertySymbols,T=Object.getOwnPropertyDescriptor,M=Object.getPrototypeOf,$=Object.prototype;function N(D,z,U){if(typeof z!="string"){if($){var ie=M(z);ie&&ie!==$&&N(D,ie,U)}var j=x(z);w&&(j=j.concat(w(z)));for(var ae=g(D),E=g(z),ce=0;ce<j.length;++ce){var le=j[ce];if(!l[le]&&!(U&&U[le])&&!(E&&E[le])&&!(ae&&ae[le])){var ue=T(z,le);try{v(D,le,ue)}catch{}}}}return D}o.exports=N},6869(o,p,e){var i=e(5201),a=e(1736),l=i(a,"DataView");o.exports=l},5748(o,p,e){var i=e(4319),a=e(5931),l=e(1914),u=e(8670),f=e(6646);function d(g){var v=-1,x=g==null?0:g.length;for(this.clear();++v<x;){var w=g[v];this.set(w[0],w[1])}}d.prototype.clear=i,d.prototype.delete=a,d.prototype.get=l,d.prototype.has=u,d.prototype.set=f,o.exports=d},4296(o,p,e){var i=e(651),a=e(3919),l=e(830),u=e(794),f=e(4642);function d(g){var v=-1,x=g==null?0:g.length;for(this.clear();++v<x;){var w=g[v];this.set(w[0],w[1])}}d.prototype.clear=i,d.prototype.delete=a,d.prototype.get=l,d.prototype.has=u,d.prototype.set=f,o.exports=d},4292(o,p,e){var i=e(5201),a=e(1736),l=i(a,"Map");o.exports=l},8464(o,p,e){var i=e(6771),a=e(295),l=e(7462),u=e(9029),f=e(842);function d(g){var v=-1,x=g==null?0:g.length;for(this.clear();++v<x;){var w=g[v];this.set(w[0],w[1])}}d.prototype.clear=i,d.prototype.delete=a,d.prototype.get=l,d.prototype.has=u,d.prototype.set=f,o.exports=d},2715(o,p,e){var i=e(5201),a=e(1736),l=i(a,"Promise");o.exports=l},4265(o,p,e){var i=e(5201),a=e(1736),l=i(a,"Set");o.exports=l},1410(o,p,e){var i=e(4296),a=e(6897),l=e(2345),u=e(3760),f=e(6228),d=e(468);function g(v){var x=this.__data__=new i(v);this.size=x.size}g.prototype.clear=a,g.prototype.delete=l,g.prototype.get=u,g.prototype.has=f,g.prototype.set=d,o.exports=g},5572(o,p,e){var i=e(1736),a=i.Symbol;o.exports=a},2769(o,p,e){var i=e(1736),a=i.Uint8Array;o.exports=a},6696(o,p,e){var i=e(5201),a=e(1736),l=i(a,"WeakMap");o.exports=l},1442(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},9542(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},3001(o){function p(e,i){for(var a=-1,l=e==null?0:e.length,u=0,f=[];++a<l;){var d=e[a];i(d,a,e)&&(f[u++]=d)}return f}o.exports=p},1684(o,p,e){var i=e(7967),a=e(4201),l=e(6628),u=e(7103),f=e(1258),d=e(8276),g=Object.prototype,v=g.hasOwnProperty;function x(w,T){var M=l(w),$=!M&&a(w),N=!M&&!$&&u(w),D=!M&&!$&&!N&&d(w),z=M||$||N||D,U=z?i(w.length,String):[],ie=U.length;for(var j in w)(T||v.call(w,j))&&!(z&&(j=="length"||N&&(j=="offset"||j=="parent")||D&&(j=="buffer"||j=="byteLength"||j=="byteOffset")||f(j,ie)))&&U.push(j);return U}o.exports=x},9221(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},8255(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},4220(o,p,e){var i=e(9935),a=e(8763);function l(u,f,d){(d!==void 0&&!a(u[f],d)||d===void 0&&!(f in u))&&i(u,f,d)}o.exports=l},484(o,p,e){var i=e(9935),a=e(8763),l=Object.prototype,u=l.hasOwnProperty;function f(d,g,v){var x=d[g];(!(u.call(d,g)&&a(x,v))||v===void 0&&!(g in d))&&i(d,g,v)}o.exports=f},5996(o,p,e){var i=e(8763);function a(l,u){for(var f=l.length;f--;)if(i(l[f][0],u))return f;return-1}o.exports=a},5264(o,p,e){var i=e(4534),a=e(6353);function l(u,f){return u&&i(f,a(f),u)}o.exports=l},7903(o,p,e){var i=e(4534),a=e(3562);function l(u,f){return u&&i(f,a(f),u)}o.exports=l},9935(o,p,e){var i=e(2582);function a(l,u,f){u=="__proto__"&&i?i(l,u,{configurable:!0,enumerable:!0,value:f,writable:!0}):l[u]=f}o.exports=a},444(o,p,e){var i=e(1410),a=e(9542),l=e(484),u=e(5264),f=e(7903),d=e(481),g=e(380),v=e(9116),x=e(7939),w=e(979),T=e(7856),M=e(3423),$=e(5292),N=e(8262),D=e(3798),z=e(6628),U=e(7103),ie=e(5487),j=e(7230),ae=e(9601),E=e(6353),ce=e(3562),le=1,ue=2,re=4,de="[object Arguments]",pe="[object Array]",H="[object Boolean]",xe="[object Date]",Z="[object Error]",ye="[object Function]",He="[object GeneratorFunction]",rt="[object Map]",kt="[object Number]",ve="[object Object]",St="[object RegExp]",dr="[object Set]",hr="[object String]",Ut="[object Symbol]",At="[object WeakMap]",Et="[object ArrayBuffer]",Ct="[object DataView]",zt="[object Float32Array]",Bt="[object Float64Array]",Vt="[object Int8Array]",Tt="[object Int16Array]",Gt="[object Int32Array]",Ot="[object Uint8Array]",ft="[object Uint8ClampedArray]",Ht="[object Uint16Array]",Pt="[object Uint32Array]",oe={};oe[de]=oe[pe]=oe[Et]=oe[Ct]=oe[H]=oe[xe]=oe[zt]=oe[Bt]=oe[Vt]=oe[Tt]=oe[Gt]=oe[rt]=oe[kt]=oe[ve]=oe[St]=oe[dr]=oe[hr]=oe[Ut]=oe[Ot]=oe[ft]=oe[Ht]=oe[Pt]=!0,oe[Z]=oe[ye]=oe[At]=!1;function Re(Q,We,Ee,Ue,nt,ze){var Ce,st=We&le,ot=We&ue,Wt=We&re;if(Ee&&(Ce=nt?Ee(Q,Ue,nt,ze):Ee(Q)),Ce!==void 0)return Ce;if(!j(Q))return Q;var It=z(Q);if(It){if(Ce=$(Q),!st)return g(Q,Ce)}else{var Ke=M(Q),dt=Ke==ye||Ke==He;if(U(Q))return d(Q,st);if(Ke==ve||Ke==de||dt&&!nt){if(Ce=ot||dt?{}:D(Q),!st)return ot?x(Q,f(Ce,Q)):v(Q,u(Ce,Q))}else{if(!oe[Ke])return nt?Q:{};Ce=N(Q,Ke,st)}}ze||(ze=new i);var jt=ze.get(Q);if(jt)return jt;ze.set(Q,Ce),ae(Q)?Q.forEach(function(Be){Ce.add(Re(Be,We,Ee,Be,Q,ze))}):ie(Q)&&Q.forEach(function(Be,Me){Ce.set(Me,Re(Be,We,Ee,Me,Q,ze))});var Kt=Wt?ot?T:w:ot?ce:E,qe=It?void 0:Kt(Q);return a(qe||Q,function(Be,Me){qe&&(Me=Be,Be=Q[Me]),l(Ce,Me,Re(Be,We,Ee,Me,Q,ze))}),Ce}o.exports=Re},1481(o,p,e){var i=e(7230),a=Object.create,l=function(){function u(){}return function(f){if(!i(f))return{};if(a)return a(f);u.prototype=f;var d=new u;return u.prototype=void 0,d}}();o.exports=l},9810(o,p,e){var i=e(34),a=i();o.exports=a},5049(o,p,e){var i=e(6476),a=e(18);function l(u,f){f=i(f,u);for(var d=0,g=f.length;u!=null&&d<g;)u=u[a(f[d++])];return d&&d==g?u:void 0}o.exports=l},8614(o,p,e){var i=e(8255),a=e(6628);function l(u,f,d){var g=f(u);return a(u)?g:i(g,d(u))}o.exports=l},8561(o,p,e){var i=e(5572),a=e(8504),l=e(1567),u="[object Null]",f="[object Undefined]",d=i?i.toStringTag:void 0;function g(v){return v==null?v===void 0?f:u:d&&d in Object(v)?a(v):l(v)}o.exports=g},1157(o){var p=Object.prototype,e=p.hasOwnProperty;function i(a,l){return a!=null&&e.call(a,l)}o.exports=i},3465(o,p,e){var i=e(8561),a=e(8089),l="[object Arguments]";function u(f){return a(f)&&i(f)==l}o.exports=u},9839(o,p,e){var i=e(3423),a=e(8089),l="[object Map]";function u(f){return a(f)&&i(f)==l}o.exports=u},986(o,p,e){var i=e(5085),a=e(9617),l=e(7230),u=e(9716),f=/[\\^$.*+?()[\]{}|]/g,d=/^\[object .+?Constructor\]$/,g=Function.prototype,v=Object.prototype,x=g.toString,w=v.hasOwnProperty,T=RegExp("^"+x.call(w).replace(f,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function M($){if(!l($)||a($))return!1;var N=i($)?T:d;return N.test(u($))}o.exports=M},7217(o,p,e){var i=e(3423),a=e(8089),l="[object Set]";function u(f){return a(f)&&i(f)==l}o.exports=u},3924(o,p,e){var i=e(8561),a=e(3341),l=e(8089),u="[object Arguments]",f="[object Array]",d="[object Boolean]",g="[object Date]",v="[object Error]",x="[object Function]",w="[object Map]",T="[object Number]",M="[object Object]",$="[object RegExp]",N="[object Set]",D="[object String]",z="[object WeakMap]",U="[object ArrayBuffer]",ie="[object DataView]",j="[object Float32Array]",ae="[object Float64Array]",E="[object Int8Array]",ce="[object Int16Array]",le="[object Int32Array]",ue="[object Uint8Array]",re="[object Uint8ClampedArray]",de="[object Uint16Array]",pe="[object Uint32Array]",H={};H[j]=H[ae]=H[E]=H[ce]=H[le]=H[ue]=H[re]=H[de]=H[pe]=!0,H[u]=H[f]=H[U]=H[d]=H[ie]=H[g]=H[v]=H[x]=H[w]=H[T]=H[M]=H[$]=H[N]=H[D]=H[z]=!1;function xe(Z){return l(Z)&&a(Z.length)&&!!H[i(Z)]}o.exports=xe},1009(o,p,e){var i=e(5804),a=e(4407),l=Object.prototype,u=l.hasOwnProperty;function f(d){if(!i(d))return a(d);var g=[];for(var v in Object(d))u.call(d,v)&&v!="constructor"&&g.push(v);return g}o.exports=f},8458(o,p,e){var i=e(7230),a=e(5804),l=e(8716),u=Object.prototype,f=u.hasOwnProperty;function d(g){if(!i(g))return l(g);var v=a(g),x=[];for(var w in g)w=="constructor"&&(v||!f.call(g,w))||x.push(w);return x}o.exports=d},2725(o,p,e){var i=e(1410),a=e(4220),l=e(9810),u=e(2887),f=e(7230),d=e(3562),g=e(2169);function v(x,w,T,M,$){x!==w&&l(w,function(N,D){if($||($=new i),f(N))u(x,w,D,T,v,M,$);else{var z=M?M(g(x,D),N,D+"",x,w,$):void 0;z===void 0&&(z=N),a(x,D,z)}},d)}o.exports=v},2887(o,p,e){var i=e(4220),a=e(481),l=e(8534),u=e(380),f=e(3798),d=e(4201),g=e(6628),v=e(1856),x=e(7103),w=e(5085),T=e(7230),M=e(3506),$=e(8276),N=e(2169),D=e(470);function z(U,ie,j,ae,E,ce,le){var ue=N(U,j),re=N(ie,j),de=le.get(re);if(de){i(U,j,de);return}var pe=ce?ce(ue,re,j+"",U,ie,le):void 0,H=pe===void 0;if(H){var xe=g(re),Z=!xe&&x(re),ye=!xe&&!Z&&$(re);pe=re,xe||Z||ye?g(ue)?pe=ue:v(ue)?pe=u(ue):Z?(H=!1,pe=a(re,!0)):ye?(H=!1,pe=l(re,!0)):pe=[]:M(re)||d(re)?(pe=ue,d(ue)?pe=D(ue):(!T(ue)||w(ue))&&(pe=f(re))):H=!1}H&&(le.set(re,pe),E(pe,re,ae,ce,le),le.delete(re)),i(U,j,pe)}o.exports=z},4959(o,p,e){var i=e(1007),a=e(2036),l=e(5806);function u(f,d){return l(a(f,d,i),f+"")}o.exports=u},5421(o,p,e){var i=e(484),a=e(6476),l=e(1258),u=e(7230),f=e(18);function d(g,v,x,w){if(!u(g))return g;v=a(v,g);for(var T=-1,M=v.length,$=M-1,N=g;N!=null&&++T<M;){var D=f(v[T]),z=x;if(D==="__proto__"||D==="constructor"||D==="prototype")return g;if(T!=$){var U=N[D];z=w?w(U,D,N):void 0,z===void 0&&(z=u(U)?U:l(v[T+1])?[]:{})}i(N,D,z),N=N[D]}return g}o.exports=d},3317(o,p,e){var i=e(7965),a=e(2582),l=e(1007),u=a?function(f,d){return a(f,"toString",{configurable:!0,enumerable:!1,value:i(d),writable:!0})}:l;o.exports=u},7967(o){function p(e,i){for(var a=-1,l=Array(e);++a<e;)l[a]=i(a);return l}o.exports=p},5293(o,p,e){var i=e(5572),a=e(9221),l=e(6628),u=e(3089),f=1/0,d=i?i.prototype:void 0,g=d?d.toString:void 0;function v(x){if(typeof x=="string")return x;if(l(x))return a(x,v)+"";if(u(x))return g?g.call(x):"";var w=x+"";return w=="0"&&1/x==-f?"-0":w}o.exports=v},9605(o,p,e){var i=e(9327),a=/^\s+/;function l(u){return u&&u.slice(0,i(u)+1).replace(a,"")}o.exports=l},6390(o){function p(e){return function(i){return e(i)}}o.exports=p},6476(o,p,e){var i=e(6628),a=e(5749),l=e(1951),u=e(5805);function f(d,g){return i(d)?d:a(d,g)?[d]:l(u(d))}o.exports=f},4428(o,p,e){var i=e(2769);function a(l){var u=new l.constructor(l.byteLength);return new i(u).set(new i(l)),u}o.exports=a},481(o,p,e){o=e.nmd(o);var i=e(1736),a=p&&!p.nodeType&&p,l=a&&!0&&o&&!o.nodeType&&o,u=l&&l.exports===a,f=u?i.Buffer:void 0,d=f?f.allocUnsafe:void 0;function g(v,x){if(x)return v.slice();var w=v.length,T=d?d(w):new v.constructor(w);return v.copy(T),T}o.exports=g},8454(o,p,e){var i=e(4428);function a(l,u){var f=u?i(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.byteLength)}o.exports=a},7202(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},8687(o,p,e){var i=e(5572),a=i?i.prototype:void 0,l=a?a.valueOf:void 0;function u(f){return l?Object(l.call(f)):{}}o.exports=u},8534(o,p,e){var i=e(4428);function a(l,u){var f=u?i(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.length)}o.exports=a},380(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},4534(o,p,e){var i=e(484),a=e(9935);function l(u,f,d,g){var v=!d;d||(d={});for(var x=-1,w=f.length;++x<w;){var T=f[x],M=g?g(d[T],u[T],T,d,u):void 0;M===void 0&&(M=u[T]),v?a(d,T,M):i(d,T,M)}return d}o.exports=l},9116(o,p,e){var i=e(4534),a=e(7781);function l(u,f){return i(u,a(u),f)}o.exports=l},7939(o,p,e){var i=e(4534),a=e(6438);function l(u,f){return i(u,a(u),f)}o.exports=l},80(o,p,e){var i=e(1736),a=i["__core-js_shared__"];o.exports=a},5834(o,p,e){var i=e(4959),a=e(3025);function l(u){return i(function(f,d){var g=-1,v=d.length,x=v>1?d[v-1]:void 0,w=v>2?d[2]:void 0;for(x=u.length>3&&typeof x=="function"?(v--,x):void 0,w&&a(d[0],d[1],w)&&(x=v<3?void 0:x,v=1),f=Object(f);++g<v;){var T=d[g];T&&u(f,T,g,x)}return f})}o.exports=l},34(o){function p(e){return function(i,a,l){for(var u=-1,f=Object(i),d=l(i),g=d.length;g--;){var v=d[e?g:++u];if(a(f[v],v,f)===!1)break}return i}}o.exports=p},2582(o,p,e){var i=e(5201),a=function(){try{var l=i(Object,"defineProperty");return l({},"",{}),l}catch{}}();o.exports=a},8433(o){var p=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;o.exports=p},979(o,p,e){var i=e(8614),a=e(7781),l=e(6353);function u(f){return i(f,l,a)}o.exports=u},7856(o,p,e){var i=e(8614),a=e(6438),l=e(3562);function u(f){return i(f,l,a)}o.exports=u},6289(o,p,e){var i=e(9169);function a(l,u){var f=l.__data__;return i(u)?f[typeof u=="string"?"string":"hash"]:f.map}o.exports=a},5201(o,p,e){var i=e(986),a=e(1793);function l(u,f){var d=a(u,f);return i(d)?d:void 0}o.exports=l},2566(o,p,e){var i=e(5300),a=i(Object.getPrototypeOf,Object);o.exports=a},8504(o,p,e){var i=e(5572),a=Object.prototype,l=a.hasOwnProperty,u=a.toString,f=i?i.toStringTag:void 0;function d(g){var v=l.call(g,f),x=g[f];try{g[f]=void 0;var w=!0}catch{}var T=u.call(g);return w&&(v?g[f]=x:delete g[f]),T}o.exports=d},7781(o,p,e){var i=e(3001),a=e(2148),l=Object.prototype,u=l.propertyIsEnumerable,f=Object.getOwnPropertySymbols,d=f?function(g){return g==null?[]:(g=Object(g),i(f(g),function(v){return u.call(g,v)}))}:a;o.exports=d},6438(o,p,e){var i=e(8255),a=e(2566),l=e(7781),u=e(2148),f=Object.getOwnPropertySymbols,d=f?function(g){for(var v=[];g;)i(v,l(g)),g=a(g);return v}:u;o.exports=d},3423(o,p,e){var i=e(6869),a=e(4292),l=e(2715),u=e(4265),f=e(6696),d=e(8561),g=e(9716),v="[object Map]",x="[object Object]",w="[object Promise]",T="[object Set]",M="[object WeakMap]",$="[object DataView]",N=g(i),D=g(a),z=g(l),U=g(u),ie=g(f),j=d;(i&&j(new i(new ArrayBuffer(1)))!=$||a&&j(new a)!=v||l&&j(l.resolve())!=w||u&&j(new u)!=T||f&&j(new f)!=M)&&(j=function(ae){var E=d(ae),ce=E==x?ae.constructor:void 0,le=ce?g(ce):"";if(le)switch(le){case N:return $;case D:return v;case z:return w;case U:return T;case ie:return M}return E}),o.exports=j},1793(o){function p(e,i){return e?.[i]}o.exports=p},6913(o,p,e){var i=e(6476),a=e(4201),l=e(6628),u=e(1258),f=e(3341),d=e(18);function g(v,x,w){x=i(x,v);for(var T=-1,M=x.length,$=!1;++T<M;){var N=d(x[T]);if(!($=v!=null&&w(v,N)))break;v=v[N]}return $||++T!=M?$:(M=v==null?0:v.length,!!M&&f(M)&&u(N,M)&&(l(v)||a(v)))}o.exports=g},4319(o,p,e){var i=e(2919);function a(){this.__data__=i?i(null):{},this.size=0}o.exports=a},5931(o){function p(e){var i=this.has(e)&&delete this.__data__[e];return this.size-=i?1:0,i}o.exports=p},1914(o,p,e){var i=e(2919),a="__lodash_hash_undefined__",l=Object.prototype,u=l.hasOwnProperty;function f(d){var g=this.__data__;if(i){var v=g[d];return v===a?void 0:v}return u.call(g,d)?g[d]:void 0}o.exports=f},8670(o,p,e){var i=e(2919),a=Object.prototype,l=a.hasOwnProperty;function u(f){var d=this.__data__;return i?d[f]!==void 0:l.call(d,f)}o.exports=u},6646(o,p,e){var i=e(2919),a="__lodash_hash_undefined__";function l(u,f){var d=this.__data__;return this.size+=this.has(u)?0:1,d[u]=i&&f===void 0?a:f,this}o.exports=l},5292(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},8262(o,p,e){var i=e(4428),a=e(8454),l=e(7202),u=e(8687),f=e(8534),d="[object Boolean]",g="[object Date]",v="[object Map]",x="[object Number]",w="[object RegExp]",T="[object Set]",M="[object String]",$="[object Symbol]",N="[object ArrayBuffer]",D="[object DataView]",z="[object Float32Array]",U="[object Float64Array]",ie="[object Int8Array]",j="[object Int16Array]",ae="[object Int32Array]",E="[object Uint8Array]",ce="[object Uint8ClampedArray]",le="[object Uint16Array]",ue="[object Uint32Array]";function re(de,pe,H){var xe=de.constructor;switch(pe){case N:return i(de);case d:case g:return new xe(+de);case D:return a(de,H);case z:case U:case ie:case j:case ae:case E:case ce:case le:case ue:return f(de,H);case v:return new xe;case x:case M:return new xe(de);case w:return l(de);case T:return new xe;case $:return u(de)}}o.exports=re},3798(o,p,e){var i=e(1481),a=e(2566),l=e(5804);function u(f){return typeof f.constructor=="function"&&!l(f)?i(a(f)):{}}o.exports=u},1258(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},3025(o,p,e){var i=e(8763),a=e(2059),l=e(1258),u=e(7230);function f(d,g,v){if(!u(v))return!1;var x=typeof g;return(x=="number"?a(v)&&l(g,v.length):x=="string"&&g in v)?i(v[g],d):!1}o.exports=f},5749(o,p,e){var i=e(6628),a=e(3089),l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;function f(d,g){if(i(d))return!1;var v=typeof d;return v=="number"||v=="symbol"||v=="boolean"||d==null||a(d)?!0:u.test(d)||!l.test(d)||g!=null&&d in Object(g)}o.exports=f},9169(o){function p(e){var i=typeof e;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?e!=="__proto__":e===null}o.exports=p},9617(o,p,e){var i=e(80),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},5804(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},651(o){function p(){this.__data__=[],this.size=0}o.exports=p},3919(o,p,e){var i=e(5996),a=Array.prototype,l=a.splice;function u(f){var d=this.__data__,g=i(d,f);if(g<0)return!1;var v=d.length-1;return g==v?d.pop():l.call(d,g,1),--this.size,!0}o.exports=u},830(o,p,e){var i=e(5996);function a(l){var u=this.__data__,f=i(u,l);return f<0?void 0:u[f][1]}o.exports=a},794(o,p,e){var i=e(5996);function a(l){return i(this.__data__,l)>-1}o.exports=a},4642(o,p,e){var i=e(5996);function a(l,u){var f=this.__data__,d=i(f,l);return d<0?(++this.size,f.push([l,u])):f[d][1]=u,this}o.exports=a},6771(o,p,e){var i=e(5748),a=e(4296),l=e(4292);function u(){this.size=0,this.__data__={hash:new i,map:new(l||a),string:new i}}o.exports=u},295(o,p,e){var i=e(6289);function a(l){var u=i(this,l).delete(l);return this.size-=u?1:0,u}o.exports=a},7462(o,p,e){var i=e(6289);function a(l){return i(this,l).get(l)}o.exports=a},9029(o,p,e){var i=e(6289);function a(l){return i(this,l).has(l)}o.exports=a},842(o,p,e){var i=e(6289);function a(l,u){var f=i(this,l),d=f.size;return f.set(l,u),this.size+=f.size==d?0:1,this}o.exports=a},8563(o,p,e){var i=e(4101),a=500;function l(u){var f=i(u,function(g){return d.size===a&&d.clear(),g}),d=f.cache;return f}o.exports=l},2919(o,p,e){var i=e(5201),a=i(Object,"create");o.exports=a},4407(o,p,e){var i=e(5300),a=i(Object.keys,Object);o.exports=a},8716(o){function p(e){var i=[];if(e!=null)for(var a in Object(e))i.push(a);return i}o.exports=p},7728(o,p,e){o=e.nmd(o);var i=e(8433),a=p&&!p.nodeType&&p,l=a&&!0&&o&&!o.nodeType&&o,u=l&&l.exports===a,f=u&&i.process,d=function(){try{var g=l&&l.require&&l.require("util").types;return g||f&&f.binding&&f.binding("util")}catch{}}();o.exports=d},1567(o){var p=Object.prototype,e=p.toString;function i(a){return e.call(a)}o.exports=i},5300(o){function p(e,i){return function(a){return e(i(a))}}o.exports=p},2036(o,p,e){var i=e(1442),a=Math.max;function l(u,f,d){return f=a(f===void 0?u.length-1:f,0),function(){for(var g=arguments,v=-1,x=a(g.length-f,0),w=Array(x);++v<x;)w[v]=g[f+v];v=-1;for(var T=Array(f+1);++v<f;)T[v]=g[v];return T[f]=d(w),i(u,this,T)}}o.exports=l},1736(o,p,e){var i=e(8433),a=typeof self=="object"&&self&&self.Object===Object&&self,l=i||a||Function("return this")();o.exports=l},2169(o){function p(e,i){if(!(i==="constructor"&&typeof e[i]=="function")&&i!="__proto__")return e[i]}o.exports=p},5806(o,p,e){var i=e(3317),a=e(5586),l=a(i);o.exports=l},5586(o){var p=800,e=16,i=Date.now;function a(l){var u=0,f=0;return function(){var d=i(),g=e-(d-f);if(f=d,g>0){if(++u>=p)return arguments[0]}else u=0;return l.apply(void 0,arguments)}}o.exports=a},6897(o,p,e){var i=e(4296);function a(){this.__data__=new i,this.size=0}o.exports=a},2345(o){function p(e){var i=this.__data__,a=i.delete(e);return this.size=i.size,a}o.exports=p},3760(o){function p(e){return this.__data__.get(e)}o.exports=p},6228(o){function p(e){return this.__data__.has(e)}o.exports=p},468(o,p,e){var i=e(4296),a=e(4292),l=e(8464),u=200;function f(d,g){var v=this.__data__;if(v instanceof i){var x=v.__data__;if(!a||x.length<u-1)return x.push([d,g]),this.size=++v.size,this;v=this.__data__=new l(x)}return v.set(d,g),this.size=v.size,this}o.exports=f},1951(o,p,e){var i=e(8563),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g,u=i(function(f){var d=[];return f.charCodeAt(0)===46&&d.push(""),f.replace(a,function(g,v,x,w){d.push(x?w.replace(l,"$1"):v||g)}),d});o.exports=u},18(o,p,e){var i=e(3089),a=1/0;function l(u){if(typeof u=="string"||i(u))return u;var f=u+"";return f=="0"&&1/u==-a?"-0":f}o.exports=l},9716(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},9327(o){var p=/\s/;function e(i){for(var a=i.length;a--&&p.test(i.charAt(a)););return a}o.exports=e},114(o,p,e){var i=e(444),a=1,l=4;function u(f){return i(f,a|l)}o.exports=u},7965(o){function p(e){return function(){return e}}o.exports=p},2702(o,p,e){var i=e(7230),a=e(1381),l=e(3569),u="Expected a function",f=Math.max,d=Math.min;function g(v,x,w){var T,M,$,N,D,z,U=0,ie=!1,j=!1,ae=!0;if(typeof v!="function")throw new TypeError(u);x=l(x)||0,i(w)&&(ie=!!w.leading,j="maxWait"in w,$=j?f(l(w.maxWait)||0,x):$,ae="trailing"in w?!!w.trailing:ae);function E(Z){var ye=T,He=M;return T=M=void 0,U=Z,N=v.apply(He,ye),N}function ce(Z){return U=Z,D=setTimeout(re,x),ie?E(Z):N}function le(Z){var ye=Z-z,He=Z-U,rt=x-ye;return j?d(rt,$-He):rt}function ue(Z){var ye=Z-z,He=Z-U;return z===void 0||ye>=x||ye<0||j&&He>=$}function re(){var Z=a();if(ue(Z))return de(Z);D=setTimeout(re,le(Z))}function de(Z){return D=void 0,ae&&T?E(Z):(T=M=void 0,N)}function pe(){D!==void 0&&clearTimeout(D),U=0,T=z=M=D=void 0}function H(){return D===void 0?N:de(a())}function xe(){var Z=a(),ye=ue(Z);if(T=arguments,M=this,z=Z,ye){if(D===void 0)return ce(z);if(j)return clearTimeout(D),D=setTimeout(re,x),E(z)}return D===void 0&&(D=setTimeout(re,x)),N}return xe.cancel=pe,xe.flush=H,xe}o.exports=g},8763(o){function p(e,i){return e===i||e!==e&&i!==i}o.exports=p},2249(o,p,e){var i=e(5049);function a(l,u,f){var d=l==null?void 0:i(l,u);return d===void 0?f:d}o.exports=a},7605(o,p,e){var i=e(1157),a=e(6913);function l(u,f){return u!=null&&a(u,f,i)}o.exports=l},1007(o){function p(e){return e}o.exports=p},4201(o,p,e){var i=e(3465),a=e(8089),l=Object.prototype,u=l.hasOwnProperty,f=l.propertyIsEnumerable,d=i(function(){return arguments}())?i:function(g){return a(g)&&u.call(g,"callee")&&!f.call(g,"callee")};o.exports=d},6628(o){var p=Array.isArray;o.exports=p},2059(o,p,e){var i=e(5085),a=e(3341);function l(u){return u!=null&&a(u.length)&&!i(u)}o.exports=l},1856(o,p,e){var i=e(2059),a=e(8089);function l(u){return a(u)&&i(u)}o.exports=l},7103(o,p,e){o=e.nmd(o);var i=e(1736),a=e(4078),l=p&&!p.nodeType&&p,u=l&&!0&&o&&!o.nodeType&&o,f=u&&u.exports===l,d=f?i.Buffer:void 0,g=d?d.isBuffer:void 0,v=g||a;o.exports=v},5085(o,p,e){var i=e(8561),a=e(7230),l="[object AsyncFunction]",u="[object Function]",f="[object GeneratorFunction]",d="[object Proxy]";function g(v){if(!a(v))return!1;var x=i(v);return x==u||x==f||x==l||x==d}o.exports=g},3341(o){var p=9007199254740991;function e(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=p}o.exports=e},5487(o,p,e){var i=e(9839),a=e(6390),l=e(7728),u=l&&l.isMap,f=u?a(u):i;o.exports=f},7230(o){function p(e){var i=typeof e;return e!=null&&(i=="object"||i=="function")}o.exports=p},8089(o){function p(e){return e!=null&&typeof e=="object"}o.exports=p},3506(o,p,e){var i=e(8561),a=e(2566),l=e(8089),u="[object Object]",f=Function.prototype,d=Object.prototype,g=f.toString,v=d.hasOwnProperty,x=g.call(Object);function w(T){if(!l(T)||i(T)!=u)return!1;var M=a(T);if(M===null)return!0;var $=v.call(M,"constructor")&&M.constructor;return typeof $=="function"&&$ instanceof $&&g.call($)==x}o.exports=w},9601(o,p,e){var i=e(7217),a=e(6390),l=e(7728),u=l&&l.isSet,f=u?a(u):i;o.exports=f},3089(o,p,e){var i=e(8561),a=e(8089),l="[object Symbol]";function u(f){return typeof f=="symbol"||a(f)&&i(f)==l}o.exports=u},8276(o,p,e){var i=e(3924),a=e(6390),l=e(7728),u=l&&l.isTypedArray,f=u?a(u):i;o.exports=f},6353(o,p,e){var i=e(1684),a=e(1009),l=e(2059);function u(f){return l(f)?i(f):a(f)}o.exports=u},3562(o,p,e){var i=e(1684),a=e(8458),l=e(2059);function u(f){return l(f)?i(f,!0):a(f)}o.exports=u},4101(o,p,e){var i=e(8464),a="Expected a function";function l(u,f){if(typeof u!="function"||f!=null&&typeof f!="function")throw new TypeError(a);var d=function(){var g=arguments,v=f?f.apply(this,g):g[0],x=d.cache;if(x.has(v))return x.get(v);var w=u.apply(this,g);return d.cache=x.set(v,w)||x,w};return d.cache=new(l.Cache||i),d}l.Cache=i,o.exports=l},277(o,p,e){var i=e(2725),a=e(5834),l=a(function(u,f,d){i(u,f,d)});o.exports=l},1381(o,p,e){var i=e(1736),a=function(){return i.Date.now()};o.exports=a},7181(o,p,e){var i=e(5421);function a(l,u,f){return l==null?l:i(l,u,f)}o.exports=a},2148(o){function p(){return[]}o.exports=p},4078(o){function p(){return!1}o.exports=p},5345(o,p,e){var i=e(2702),a=e(7230),l="Expected a function";function u(f,d,g){var v=!0,x=!0;if(typeof f!="function")throw new TypeError(l);return a(g)&&(v="leading"in g?!!g.leading:v,x="trailing"in g?!!g.trailing:x),i(f,d,{leading:v,maxWait:d,trailing:x})}o.exports=u},3569(o,p,e){var i=e(9605),a=e(7230),l=e(3089),u=NaN,f=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,g=/^0o[0-7]+$/i,v=parseInt;function x(w){if(typeof w=="number")return w;if(l(w))return u;if(a(w)){var T=typeof w.valueOf=="function"?w.valueOf():w;w=a(T)?T+"":T}if(typeof w!="string")return w===0?w:+w;w=i(w);var M=d.test(w);return M||g.test(w)?v(w.slice(2),M?2:8):f.test(w)?u:+w}o.exports=x},470(o,p,e){var i=e(4534),a=e(3562);function l(u){return i(u,a(u))}o.exports=l},5805(o,p,e){var i=e(5293);function a(l){return l==null?"":i(l)}o.exports=a},5360(o,p){"use strict";/** @license React v16.13.1
|
|
2
2
|
* react-is.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/var 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,p=e?Symbol.for("react.strict_mode"):60108,f=e?Symbol.for("react.profiler"):60114,d=e?Symbol.for("react.provider"):60109,g=e?Symbol.for("react.context"):60110,v=e?Symbol.for("react.async_mode"):60111,x=e?Symbol.for("react.concurrent_mode"):60111,S=e?Symbol.for("react.forward_ref"):60112,O=e?Symbol.for("react.suspense"):60113,M=e?Symbol.for("react.suspense_list"):60120,k=e?Symbol.for("react.memo"):60115,N=e?Symbol.for("react.lazy"):60116,D=e?Symbol.for("react.block"):60121,U=e?Symbol.for("react.fundamental"):60117,V=e?Symbol.for("react.responder"):60118,ne=e?Symbol.for("react.scope"):60119;function R(E){if(typeof E=="object"&&E!==null){var fe=E.$$typeof;switch(fe){case i:switch(E=E.type,E){case v:case x:case l:case f:case p:case O:return E;default:switch(E=E&&E.$$typeof,E){case g:case S:case N:case k:case d:return E;default:return fe}}case a:return fe}}}function le(E){return R(E)===x}u.AsyncMode=v,u.ConcurrentMode=x,u.ContextConsumer=g,u.ContextProvider=d,u.Element=i,u.ForwardRef=S,u.Fragment=l,u.Lazy=N,u.Memo=k,u.Portal=a,u.Profiler=f,u.StrictMode=p,u.Suspense=O,u.isAsyncMode=function(E){return le(E)||R(E)===v},u.isConcurrentMode=le,u.isContextConsumer=function(E){return R(E)===g},u.isContextProvider=function(E){return R(E)===d},u.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===i},u.isForwardRef=function(E){return R(E)===S},u.isFragment=function(E){return R(E)===l},u.isLazy=function(E){return R(E)===N},u.isMemo=function(E){return R(E)===k},u.isPortal=function(E){return R(E)===a},u.isProfiler=function(E){return R(E)===f},u.isStrictMode=function(E){return R(E)===p},u.isSuspense=function(E){return R(E)===O},u.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===l||E===x||E===f||E===p||E===O||E===M||typeof E=="object"&&E!==null&&(E.$$typeof===N||E.$$typeof===k||E.$$typeof===d||E.$$typeof===g||E.$$typeof===S||E.$$typeof===U||E.$$typeof===V||E.$$typeof===ne||E.$$typeof===D)},u.typeOf=R},7020(s,u,e){"use strict";s.exports=e(5360)},6018(s,u){"use strict";/**
|
|
9
|
-
*
|
|
10
|
-
|
|
11
|
-
*
|
|
12
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
13
|
-
*
|
|
14
|
-
* This source code is licensed under the MIT license found in the
|
|
15
|
-
* LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/var e=Symbol.for("react.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),d=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.iterator;function M(y){return y===null||typeof y!="object"?null:(y=O&&y[O]||y["@@iterator"],typeof y=="function"?y:null)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,D={};function U(y,T,_){this.props=y,this.context=T,this.refs=D,this.updater=_||k}U.prototype.isReactComponent={},U.prototype.setState=function(y,T){if(typeof y!="object"&&typeof y!="function"&&y!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,y,T,"setState")},U.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};function V(){}V.prototype=U.prototype;function ne(y,T,_){this.props=y,this.context=T,this.refs=D,this.updater=_||k}var R=ne.prototype=new V;R.constructor=ne,N(R,U.prototype),R.isPureReactComponent=!0;var le=Array.isArray,E=Object.prototype.hasOwnProperty,fe={current:null},de={key:!0,ref:!0,__self:!0,__source:!0};function ge(y,T,_){var oe,te={},ye=null,Se=null;if(T!=null)for(oe in T.ref!==void 0&&(Se=T.ref),T.key!==void 0&&(ye=""+T.key),T)E.call(T,oe)&&!de.hasOwnProperty(oe)&&(te[oe]=T[oe]);var xe=arguments.length-2;if(xe===1)te.children=_;else if(1<xe){for(var be=Array(xe),Fe=0;Fe<xe;Fe++)be[Fe]=arguments[Fe+2];te.children=be}if(y&&y.defaultProps)for(oe in xe=y.defaultProps,xe)te[oe]===void 0&&(te[oe]=xe[oe]);return{$$typeof:e,type:y,key:ye,ref:Se,props:te,_owner:fe.current}}function ee(y,T){return{$$typeof:e,type:y.type,key:T,ref:y.ref,props:y.props,_owner:y._owner}}function me(y){return typeof y=="object"&&y!==null&&y.$$typeof===e}function ve(y){var T={"=":"=0",":":"=2"};return"$"+y.replace(/[=:]/g,function(_){return T[_]})}var G=/\/+/g;function Pe(y,T){return typeof y=="object"&&y!==null&&y.key!=null?ve(""+y.key):T.toString(36)}function J(y,T,_,oe,te){var ye=typeof y;(ye==="undefined"||ye==="boolean")&&(y=null);var Se=!1;if(y===null)Se=!0;else switch(ye){case"string":case"number":Se=!0;break;case"object":switch(y.$$typeof){case e:case i:Se=!0}}if(Se)return Se=y,te=te(Se),y=oe===""?"."+Pe(Se,0):oe,le(te)?(_="",y!=null&&(_=y.replace(G,"$&/")+"/"),J(te,T,_,"",function(Fe){return Fe})):te!=null&&(me(te)&&(te=ee(te,_+(!te.key||Se&&Se.key===te.key?"":(""+te.key).replace(G,"$&/")+"/")+y)),T.push(te)),1;if(Se=0,oe=oe===""?".":oe+":",le(y))for(var xe=0;xe<y.length;xe++){ye=y[xe];var be=oe+Pe(ye,xe);Se+=J(ye,T,_,be,te)}else if(be=M(y),typeof be=="function")for(y=be.call(y),xe=0;!(ye=y.next()).done;)ye=ye.value,be=oe+Pe(ye,xe++),Se+=J(ye,T,_,be,te);else if(ye==="object")throw T=String(y),Error("Objects are not valid as a React child (found: "+(T==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":T)+"). If you meant to render a collection of children, use an array instead.");return Se}function we(y,T,_){if(y==null)return y;var oe=[],te=0;return J(y,oe,"","",function(ye){return T.call(_,ye,te++)}),oe}function Ke(y){if(y._status===-1){var T=y._result;T=T(),T.then(function(_){(y._status===0||y._status===-1)&&(y._status=1,y._result=_)},function(_){(y._status===0||y._status===-1)&&(y._status=2,y._result=_)}),y._status===-1&&(y._status=0,y._result=T)}if(y._status===1)return y._result.default;throw y._result}var Ce={current:null},nt={transition:null},Te={ReactCurrentDispatcher:Ce,ReactCurrentBatchConfig:nt,ReactCurrentOwner:fe};function lt(){throw Error("act(...) is not supported in production builds of React.")}u.Children={map:we,forEach:function(y,T,_){we(y,function(){T.apply(this,arguments)},_)},count:function(y){var T=0;return we(y,function(){T++}),T},toArray:function(y){return we(y,function(T){return T})||[]},only:function(y){if(!me(y))throw Error("React.Children.only expected to receive a single React element child.");return y}},u.Component=U,u.Fragment=a,u.Profiler=p,u.PureComponent=ne,u.StrictMode=l,u.Suspense=v,u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Te,u.act=lt,u.cloneElement=function(y,T,_){if(y==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+y+".");var oe=N({},y.props),te=y.key,ye=y.ref,Se=y._owner;if(T!=null){if(T.ref!==void 0&&(ye=T.ref,Se=fe.current),T.key!==void 0&&(te=""+T.key),y.type&&y.type.defaultProps)var xe=y.type.defaultProps;for(be in T)E.call(T,be)&&!de.hasOwnProperty(be)&&(oe[be]=T[be]===void 0&&xe!==void 0?xe[be]:T[be])}var be=arguments.length-2;if(be===1)oe.children=_;else if(1<be){xe=Array(be);for(var Fe=0;Fe<be;Fe++)xe[Fe]=arguments[Fe+2];oe.children=xe}return{$$typeof:e,type:y.type,key:te,ref:ye,props:oe,_owner:Se}},u.createContext=function(y){return y={$$typeof:d,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},y.Provider={$$typeof:f,_context:y},y.Consumer=y},u.createElement=ge,u.createFactory=function(y){var T=ge.bind(null,y);return T.type=y,T},u.createRef=function(){return{current:null}},u.forwardRef=function(y){return{$$typeof:g,render:y}},u.isValidElement=me,u.lazy=function(y){return{$$typeof:S,_payload:{_status:-1,_result:y},_init:Ke}},u.memo=function(y,T){return{$$typeof:x,type:y,compare:T===void 0?null:T}},u.startTransition=function(y){var T=nt.transition;nt.transition={};try{y()}finally{nt.transition=T}},u.unstable_act=lt,u.useCallback=function(y,T){return Ce.current.useCallback(y,T)},u.useContext=function(y){return Ce.current.useContext(y)},u.useDebugValue=function(){},u.useDeferredValue=function(y){return Ce.current.useDeferredValue(y)},u.useEffect=function(y,T){return Ce.current.useEffect(y,T)},u.useId=function(){return Ce.current.useId()},u.useImperativeHandle=function(y,T,_){return Ce.current.useImperativeHandle(y,T,_)},u.useInsertionEffect=function(y,T){return Ce.current.useInsertionEffect(y,T)},u.useLayoutEffect=function(y,T){return Ce.current.useLayoutEffect(y,T)},u.useMemo=function(y,T){return Ce.current.useMemo(y,T)},u.useReducer=function(y,T,_){return Ce.current.useReducer(y,T,_)},u.useRef=function(y){return Ce.current.useRef(y)},u.useState=function(y){return Ce.current.useState(y)},u.useSyncExternalStore=function(y,T,_){return Ce.current.useSyncExternalStore(y,T,_)},u.useTransition=function(){return Ce.current.useTransition()},u.version="18.3.1"},2155(s,u,e){"use strict";s.exports=e(6018)},162(s){s.exports=function(e,i,a,l){var p=a?a.call(l,e,i):void 0;if(p!==void 0)return!!p;if(e===i)return!0;if(typeof e!="object"||!e||typeof i!="object"||!i)return!1;var f=Object.keys(e),d=Object.keys(i);if(f.length!==d.length)return!1;for(var g=Object.prototype.hasOwnProperty.bind(i),v=0;v<f.length;v++){var x=f[v];if(!g(x))return!1;var S=e[x],O=i[x];if(p=a?a.call(l,S,O,x):void 0,p===!1||p===void 0&&S!==O)return!1}return!0}}},jt={};function X(s){var u=jt[s];if(u!==void 0)return u.exports;var e=jt[s]={id:s,loaded:!1,exports:{}};return dr[s](e,e.exports,X),e.loaded=!0,e.exports}X.n=s=>{var u=s&&s.__esModule?()=>s.default:()=>s;return X.d(u,{a:u}),u},X.d=(s,u)=>{for(var e in u)X.o(u,e)&&!X.o(s,e)&&Object.defineProperty(s,e,{enumerable:!0,get:u[e]})},X.o=(s,u)=>Object.prototype.hasOwnProperty.call(s,u),X.r=s=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},X.nmd=s=>(s.paths=[],s.children||(s.children=[]),s),(()=>{var s;globalThis.importScripts&&(s=globalThis.location+"");var u=globalThis.document;if(!s&&u&&(u.currentScript&&u.currentScript.tagName.toUpperCase()==="SCRIPT"&&(s=u.currentScript.src),!s)){var e=u.getElementsByTagName("script");if(e.length)for(var i=e.length-1;i>-1&&(!s||!/^http(s?):/.test(s));)s=e[i--].src}if(!s)throw new Error("Automatic publicPath is not supported in this browser");s=s.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),X.p=s})(),X.nc=void 0;var Gt={};return(()=>{"use strict";X.r(Gt),X.d(Gt,{CAppBridge:()=>Fn,Event:()=>le,LaunchMode:()=>V,MicroAppManager:()=>ne,ScriptLoader:()=>Mr,ScriptingObject:()=>me,SecurityContext:()=>s,StyleLoader:()=>kr});var s=(r=>(r.USER="USER",r.PARTNER="PARTNER",r))(s||{}),u=X(114),e=X.n(u),i=X(2249),a=X.n(i),l=X(7181),p=X.n(l),f=X(7605),d=X.n(f),g=X(277),v=X.n(g);const x=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"}}}}'),S="latest",O=r=>r.replace(/([^:]\/)\/+/g,"$1"),M=r=>{const t=document.createElement("a");return t.href=r,t.href},k=r=>r?.replace?.(/\/?$/,"/"),N=(r,t)=>`${r.replace(/\/+$/,"")}/${t.replace(/^\/+/,"")}`,D=()=>window.navigator.userAgent.includes("jsdom"),U=r=>r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var V=(r=>(r.DEVELOPMENT="development",r.PRODUCTION="production",r))(V||{}),ne=(r=>(r.SSF="ssf",r.APPSDK="appsdk",r))(ne||{});class R{#e=x;#t;#r;constructor(t){this.#t=t?.version||S,this.#r=k(t?.baseUrl||"")}#s=t=>{const{activeEnv:n,env:o,...c}=t,h=o[n]||{};this.#e=v()({},c,h)};get=(t="",n=null)=>e()(a()(this.#e,t,n));set=(t,n)=>{p()(this.#e,t,n)};has=(t="")=>d()(this.#e,t);#n=()=>{if(!/(?:\/)(\d+\.\d+|latest)(?:\/?)?$/.test(this.#r)){const n=this.#t.match(/^(?:\d+\.\d+)*/g);return k(`${this.#r}${n?.[0]||S}`)}return this.#r};load=async t=>{const n=t??`${this.#n()}app.config.json`;let o;try{o=await fetch(n)}catch(c){if(!t&&this.#t!==S){await this.load(`${this.#r}latest/app.config.json`);return}throw new Error("Failed to fetch app config",{cause:c})}if(o.ok)try{const c=await o.json();this.#s(c)}catch(c){if(!t&&this.#t!==S)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!==S){await this.load(`${this.#r}latest/app.config.json`);return}throw new Error("Failed to load app config")}}}class le{name;objectId;id;constructor(t){const{name:n,objectId:o}=t;if(!n)throw new Error("Event name is required");if(!o)throw new Error("Scripting object id is required");this.objectId=o,this.name=n,this.id=`${this.objectId}.${this.name}`.toLowerCase()}}class E{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:o,eventSrc:c}=t;if(!n)throw new Error("Event name is required");if(!o)throw new Error("Scripting object id is required");if(!c)throw new Error("Event source is required");this.objectId=o,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 fe=r=>r instanceof le,de=(r,t)=>`${r.toLowerCase()}.${t.toLowerCase()}`,ge="function",ee=(r,t)=>typeof r===ge&&!!t&&!t.startsWith("_");class me{#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(o=>{const c=this[o];fe(c)?n.push(o):ee(c,o)&&t.push(o)}),{objectId:this.#e,objectType:this.#t,functions:t,events:n}};_dispose=()=>{};dispose=()=>{}}var ve=X(5345),G=X.n(ve);const J={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let we;const Ke=new Uint8Array(16);function Ce(){if(!we&&(we=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!we))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return we(Ke)}var nt;const Te=[];for(let r=0;r<256;++r)Te.push((r+256).toString(16).slice(1));function lt(r,t=0){return Te[r[t+0]]+Te[r[t+1]]+Te[r[t+2]]+Te[r[t+3]]+"-"+Te[r[t+4]]+Te[r[t+5]]+"-"+Te[r[t+6]]+Te[r[t+7]]+"-"+Te[r[t+8]]+Te[r[t+9]]+"-"+Te[r[t+10]]+Te[r[t+11]]+Te[r[t+12]]+Te[r[t+13]]+Te[r[t+14]]+Te[r[t+15]]}function y(r,t=0){const n=lt(r,t);if(!nt(n))throw TypeError("Stringified UUID is invalid");return n}const T=null;function _(r,t,n){if(J.randomUUID&&!t&&!r)return J.randomUUID();r=r||{};const o=r.random||(r.rng||Ce)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,t){n=n||0;for(let c=0;c<16;++c)t[n+c]=o[c];return t}return lt(o)}const oe=_;var te=(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))(te||{});const ye="module";var Se=(r=>(r.USER="USER",r.PARTNER="PARTNER",r))(Se||{});class xe{#e=t=>t.trim().toLowerCase();#t=new Map;#r=new Map;#s=t=>{const{so:n,guestId:o}=t,c=this.#e(n.id),h=this.#r.get(o);if(!h)this.#r.set(o,new Map([[c,t]]));else{if(h.has(c))throw new Error(`Scripting Object ${n.id} already exists for guest ${o}`);h.set(c,t)}};#n=({so:t})=>{if(t._dispose&&typeof t._dispose=="function")try{t._dispose()}catch{}};#a=({objectId:t,guestId:n})=>{if(t===ye&&!n)for(const[,c]of this.#r){const h=c.get(t);if(h)return h}const o=n?this.#r.get(n):null;return o?o.get(t)??null:null};#o=({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 o=this.#r.get(n);if(o){const c=o.get(t);c&&this.#n(c),o.delete(t)}}else t&&this.#r.forEach(o=>{const c=o.get(t);c&&this.#n(c),o.delete(t)})};addScriptingObject=(t,n)=>{const{guestId:o}=n||{};if(!t?.id||!t?._toJSON)throw new Error("Object is not derived from ScriptingObject");const c=this.#e(t.id);if(c===ye&&!o)throw new Error("Guest id is required to add Module scripting object");if(o){this.#s({so:t,...n,guestId:o});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 o=this.#e(t);let c=this.#a({objectId:o,guestId:n?.id});c=c??this.#t.get(o)??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()),o=this.#r.get(t);if(o)for(const c of o.keys())n.add(c);return Array.from(n)};removeScriptingObject=(t,n)=>{const o=this.#e(t);if(n)this.#o({objectId:o,guestId:n});else{this.#o({objectId:o});const c=this.#t.get(o);c&&this.#n(c),this.#t.delete(o)}};removeAllScriptingObjects=t=>{t?this.#o({guestId:t}):(this.#t.forEach(this.#n),this.#t.clear())}}class be{__TYPE__="Proxy";id;objectType;constructor(t,n){this.id=t,this.objectType=n}}const Fe=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}#s=(t,n)=>{const o=new Promise(c=>{setTimeout(()=>{c()},n)});return Promise.race([t,o])};#n=t=>{const{eventName:n,scriptingObject:o,eventParams:c,listeners:h}=t;h.forEach(m=>{m.criteria&&!(c&&this.#o(c,m.criteria))||Promise.resolve(m.callback({obj:o,eventName:n,eventParams:c})).catch(w=>{this.#r?.warn(`Error in event listener for "${n}": ${w.message}`)})})};#a=async({eventId:t,eventName:n,scriptingObject:o,eventParams:c,feedbackWaitTime:h})=>{const w=(this.#e.get(t)||[]).map(C=>C.criteria&&!(c?this.#o(c,C.criteria):!1)?Promise.resolve():this.#s(C.callback({obj:o,eventName:n,eventParams:c}),h));return(await Promise.all(w)).flat(1/0).filter(C=>C!==void 0)};#o(t,n){return Object.entries(n).every(([o,c])=>{const h=t[o];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 m=typeof h=="number"?h:Number(h);return!Number.isNaN(m)&&m>c.gt}if("lt"in c){const m=typeof h=="number"?h:Number(h);return!Number.isNaN(m)&&m<c.lt}if("regex"in c){let m=this.#t.get(c);if(m===void 0){try{m=new RegExp(c.regex)}catch{m=null}this.#t.set(c,m)}return m!==null&&typeof h=="string"&&m.test(h)}return!1})}dispatchEvent=async(t,n)=>{const{event:{id:o,name:c},eventParams:h,eventOptions:m}=n,{timeout:w}=m??{};if(!o)throw new Error("Event Id is required");const A=this.#e.get(o)||[];return!w||w<=0?(this.#n({eventName:c,scriptingObject:t,eventParams:h,listeners:A}),Promise.resolve()):this.#a({eventId:o,eventName:c,scriptingObject:t,eventParams:h,feedbackWaitTime:w})};subscribe=t=>{const{eventId:n,callback:o,criteria:c}=t;if(!n)throw new Error("eventId is required");if(!o)throw new Error("Callback is required");const h=this.#e.get(n)||[],m=oe();return h.push({token:m,criteria:c,callback:o}),this.#e.set(n,h),m};unsubscribe=t=>{const{eventId:n,token:o}=t;if(!n)throw new Error("eventId id is required");if(o){const c=this.#e.get(n)||[],h=c.findIndex(m=>m.token===o);h>-1&&(c.splice(h,1),this.#e.set(n,c))}else this.#e.delete(n)};unsubscribeAll=()=>{this.#e.clear()}}const Rt=X.p+"671d9de68be598da64ca.html?resource",St="pui-app-container-",Wt=({id:r,instanceId:t,manifestPath:n,hostUrl:o,options:c})=>new Promise((h,m)=>{const w=document.createElement("div");w.setAttribute("style","display: flex;width: 100%;height: 100%;flex-direction: column;overflow: hidden;");const A=document.createElement("iframe");A.setAttribute("id",t),A.setAttribute("data-testid",r),A.setAttribute("title",c.title),A.setAttribute("allowfullscreen","true"),A.setAttribute("allowtransparency","true"),c.permissionPolicy&&A.setAttribute("allow",c.permissionPolicy),c.sandbox&&A.setAttribute("sandbox",c.sandbox),A.setAttribute("style",c.style??"flex-grow: 1;border: none;margin: 0;padding: 0;display: block;min-width: 100%;height: 100%;");const C=c.src??Rt.default??Rt;let I=C;if(c.queryParams){const z=c.queryParams.replace(/[^a-zA-Z0-9&=_.~%+-]/g,"");I=`${C}${C.includes("?")?"&":"?"}${z}`}A.setAttribute("src",I);const L=1e4;let H=!1;const se=setTimeout(()=>{H||(H=!0,m(new Error(`iframe for ${r} failed to load within ${L}ms`)))},L);A.addEventListener("error",()=>{H||(H=!0,clearTimeout(se),m(new Error(`iframe for ${r} failed to load`)))}),A.addEventListener("load",()=>{if(H||!A.contentDocument)return;H=!0,clearTimeout(se);const z=A.contentDocument,ue=z.getElementById(St);ue&&(ue.id=`${ue.id}${r}`);let Y=z.getElementsByTagName("base")?.[0];Y?Y.href=new URL(n,o).href:(Y=z.createElement("base"),Y.href=new URL(n,o).href,z.getElementsByTagName("head")[0].appendChild(Y)),h(A)}),w.appendChild(A);const{containerId:Z}=c;(document.getElementById(Z??"")??document.body).appendChild(w)}),$t=r=>document.getElementById(r),Ge={create:Wt,remove:r=>{const t=$t(r);t&&t.parentElement?.remove()},get:$t},re=()=>({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 et=X(7020),Ae=X(2155),Kt=X(162),ft=X.n(Kt);function _e(r){function t(F,j,$,W,b){for(var ie=0,P=0,Oe=0,ae=0,pe,K,$e=0,Ue=0,q,Le=q=pe=0,ce=0,Me=0,Pt=0,ke=0,Bt=$.length,It=Bt-1,Ze,B="",je="",pr="",fr="",ct;ce<Bt;){if(K=$.charCodeAt(ce),ce===It&&P+ae+Oe+ie!==0&&(P!==0&&(K=P===47?10:47),ae=Oe=ie=0,Bt++,It++),P+ae+Oe+ie===0){if(ce===It&&(0<Me&&(B=B.replace(H,"")),0<B.trim().length)){switch(K){case 32:case 9:case 59:case 13:case 10:break;default:B+=$.charAt(ce)}K=59}switch(K){case 123:for(B=B.trim(),pe=B.charCodeAt(0),q=1,ke=++ce;ce<Bt;){switch(K=$.charCodeAt(ce)){case 123:q++;break;case 125:q--;break;case 47:switch(K=$.charCodeAt(ce+1)){case 42:case 47:e:{for(Le=ce+1;Le<It;++Le)switch($.charCodeAt(Le)){case 47:if(K===42&&$.charCodeAt(Le-1)===42&&ce+2!==Le){ce=Le+1;break e}break;case 10:if(K===47){ce=Le+1;break e}}ce=Le}}break;case 91:K++;case 40:K++;case 34:case 39:for(;ce++<It&&$.charCodeAt(ce)!==K;);}if(q===0)break;ce++}switch(q=$.substring(ke,ce),pe===0&&(pe=(B=B.replace(L,"").trim()).charCodeAt(0)),pe){case 64:switch(0<Me&&(B=B.replace(H,"")),K=B.charCodeAt(1),K){case 100:case 109:case 115:case 45:Me=j;break;default:Me=Ct}if(q=t(j,Me,q,K,b+1),ke=q.length,0<We&&(Me=n(Ct,B,Pt),ct=w(3,q,Me,j,Xe,Be,ke,K,b,W),B=Me.join(""),ct!==void 0&&(ke=(q=ct.trim()).length)===0&&(K=0,q="")),0<ke)switch(K){case 115:B=B.replace(it,m);case 100:case 109:case 45:q=B+"{"+q+"}";break;case 107:B=B.replace(Y,"$1 $2"),q=B+"{"+q+"}",q=Ne===1||Ne===2&&h("@"+q,3)?"@-webkit-"+q+"@"+q:"@"+q;break;default:q=B+q,W===112&&(q=(je+=q,""))}else q="";break;default:q=t(j,n(j,B,Pt),q,W,b+1)}pr+=q,q=Pt=Me=Le=pe=0,B="",K=$.charCodeAt(++ce);break;case 125:case 59:if(B=(0<Me?B.replace(H,""):B).trim(),1<(ke=B.length))switch(Le===0&&(pe=B.charCodeAt(0),pe===45||96<pe&&123>pe)&&(ke=(B=B.replace(" ",":")).length),0<We&&(ct=w(1,B,j,F,Xe,Be,je.length,W,b,W))!==void 0&&(ke=(B=ct.trim()).length)===0&&(B="\0\0"),pe=B.charCodeAt(0),K=B.charCodeAt(1),pe){case 0:break;case 64:if(K===105||K===99){fr+=B+$.charAt(ce);break}default:B.charCodeAt(ke-1)!==58&&(je+=c(B,pe,K,B.charCodeAt(2)))}Pt=Me=Le=pe=0,B="",K=$.charCodeAt(++ce)}}switch(K){case 13:case 10:P===47?P=0:1+pe===0&&W!==107&&0<B.length&&(Me=1,B+="\0"),0<We*xt&&w(0,B,j,F,Xe,Be,je.length,W,b,W),Be=1,Xe++;break;case 59:case 125:if(P+ae+Oe+ie===0){Be++;break}default:switch(Be++,Ze=$.charAt(ce),K){case 9:case 32:if(ae+ie+P===0)switch($e){case 44:case 58:case 9:case 32:Ze="";break;default:K!==32&&(Ze=" ")}break;case 0:Ze="\\0";break;case 12:Ze="\\f";break;case 11:Ze="\\v";break;case 38:ae+P+ie===0&&(Me=Pt=1,Ze="\f"+Ze);break;case 108:if(ae+P+ie+qe===0&&0<Le)switch(ce-Le){case 2:$e===112&&$.charCodeAt(ce-3)===58&&(qe=$e);case 8:Ue===111&&(qe=Ue)}break;case 58:ae+P+ie===0&&(Le=ce);break;case 44:P+Oe+ae+ie===0&&(Me=1,Ze+="\r");break;case 34:case 39:P===0&&(ae=ae===K?0:ae===0?K:ae);break;case 91:ae+P+Oe===0&&ie++;break;case 93:ae+P+Oe===0&&ie--;break;case 41:ae+P+ie===0&&Oe--;break;case 40:if(ae+P+ie===0){if(pe===0)switch(2*$e+3*Ue){case 533:break;default:pe=1}Oe++}break;case 64:P+Oe+ae+ie+Le+q===0&&(q=1);break;case 42:case 47:if(!(0<ae+ie+Oe))switch(P){case 0:switch(2*K+3*$.charCodeAt(ce+1)){case 235:P=47;break;case 220:ke=ce,P=42}break;case 42:K===47&&$e===42&&ke+2!==ce&&($.charCodeAt(ke+2)===33&&(je+=$.substring(ke,ce+1)),Ze="",P=0)}}P===0&&(B+=Ze)}Ue=$e,$e=K,ce++}if(ke=je.length,0<ke){if(Me=j,0<We&&(ct=w(2,je,Me,F,Xe,Be,ke,W,b,W),ct!==void 0&&(je=ct).length===0))return fr+je+pr;if(je=Me.join(",")+"{"+je+"}",Ne*qe!==0){switch(Ne!==2||h(je,2)||(qe=0),qe){case 111:je=je.replace(Ee,":-moz-$1")+je;break;case 112:je=je.replace(Re,"::-webkit-input-$1")+je.replace(Re,"::-moz-$1")+je.replace(Re,":-ms-input-$1")+je}qe=0}}return fr+je+pr}function n(F,j,$){var W=j.trim().split(z);j=W;var b=W.length,ie=F.length;switch(ie){case 0:case 1:var P=0;for(F=ie===0?"":F[0]+" ";P<b;++P)j[P]=o(F,j[P],$).trim();break;default:var Oe=P=0;for(j=[];P<b;++P)for(var ae=0;ae<ie;++ae)j[Oe++]=o(F[ae]+" ",W[P],$).trim()}return j}function o(F,j,$){var W=j.charCodeAt(0);switch(33>W&&(W=(j=j.trim()).charCodeAt(0)),W){case 38:return j.replace(ue,"$1"+F.trim());case 58:return F.trim()+j.replace(ue,"$1"+F.trim());default:if(0<1*$&&0<j.indexOf("\f"))return j.replace(ue,(F.charCodeAt(0)===58?"":"$1")+F.trim())}return F+j}function c(F,j,$,W){var b=F+";",ie=2*j+3*$+4*W;if(ie===944){F=b.indexOf(":",9)+1;var P=b.substring(F,b.length-1).trim();return P=b.substring(0,F).trim()+P+";",Ne===1||Ne===2&&h(P,1)?"-webkit-"+P+P:P}if(Ne===0||Ne===2&&!h(b,1))return b;switch(ie){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(wt,"$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 P=b.substring(b.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+P+"-webkit-"+b+"-ms-flex-pack"+P+b;case 1005:return Z.test(b)?b.replace(se,":-webkit-")+b.replace(se,":-moz-")+b:b;case 1e3:switch(P=b.substring(13).trim(),j=P.indexOf("-")+1,P.charCodeAt(0)+P.charCodeAt(j)){case 226:P=b.replace(Ie,"tb");break;case 232:P=b.replace(Ie,"tb-rl");break;case 220:P=b.replace(Ie,"lr");break;default:return b}return"-webkit-"+b+"-ms-"+P+b;case 1017:if(b.indexOf("sticky",9)===-1)break;case 975:switch(j=(b=F).length-10,P=(b.charCodeAt(j)===33?b.substring(0,j):b).substring(F.indexOf(":",7)+1).trim(),ie=P.charCodeAt(0)+(P.charCodeAt(7)|0)){case 203:if(111>P.charCodeAt(8))break;case 115:b=b.replace(P,"-webkit-"+P)+";"+b;break;case 207:case 102:b=b.replace(P,"-webkit-"+(102<ie?"inline-":"")+"box")+";"+b.replace(P,"-webkit-"+P)+";"+b.replace(P,"-ms-"+P+"box")+";"+b}return b+";";case 938:if(b.charCodeAt(5)===45)switch(b.charCodeAt(6)){case 105:return P=b.replace("-items",""),"-webkit-"+b+"-webkit-box-"+P+"-ms-flex-"+P+b;case 115:return"-webkit-"+b+"-ms-flex-item-"+b.replace(He,"")+b;default:return"-webkit-"+b+"-ms-flex-line-pack"+b.replace("align-content","").replace(He,"")+b}break;case 973:case 989:if(b.charCodeAt(3)!==45||b.charCodeAt(4)===122)break;case 931:case 953:if(at.test(F)===!0)return(P=F.substring(F.indexOf(":")+1)).charCodeAt(0)===115?c(F.replace("stretch","fill-available"),j,$,W).replace(":fill-available",":stretch"):b.replace(P,"-webkit-"+P)+b.replace(P,"-moz-"+P.replace("fill-",""))+b;break;case 962:if(b="-webkit-"+b+(b.charCodeAt(5)===102?"-ms-"+b:"")+b,$+W===211&&b.charCodeAt(13)===105&&0<b.indexOf("transform",10))return b.substring(0,b.indexOf(";",27)+1).replace(Q,"$1-webkit-$2")+b}return b}function h(F,j){var $=F.indexOf(j===1?":":"{"),W=F.substring(0,j!==3?$:10);return $=F.substring($+1,F.length-1),Tt(j!==2?W:W.replace(Qe,"$1"),$,j)}function m(F,j){var $=c(j,j.charCodeAt(0),j.charCodeAt(1),j.charCodeAt(2));return $!==j+";"?$.replace(bt," or ($1)").substring(4):"("+j+")"}function w(F,j,$,W,b,ie,P,Oe,ae,pe){for(var K=0,$e=j,Ue;K<We;++K)switch(Ue=Je[K].call(I,F,$e,$,W,b,ie,P,Oe,ae,pe)){case void 0:case!1:case!0:case null:break;default:$e=Ue}if($e!==j)return $e}function A(F){switch(F){case void 0:case null:We=Je.length=0;break;default:if(typeof F=="function")Je[We++]=F;else if(typeof F=="object")for(var j=0,$=F.length;j<$;++j)A(F[j]);else xt=!!F|0}return A}function C(F){return F=F.prefix,F!==void 0&&(Tt=null,F?typeof F!="function"?Ne=1:(Ne=2,Tt=F):Ne=0),C}function I(F,j){var $=F;if(33>$.charCodeAt(0)&&($=$.trim()),Ot=$,$=[Ot],0<We){var W=w(-1,j,$,$,Xe,Be,0,0,0,0);W!==void 0&&typeof W=="string"&&(j=W)}var b=t(Ct,$,j,0,0);return 0<We&&(W=w(-2,b,$,$,Xe,Be,b.length,0,0,0),W!==void 0&&(b=W)),Ot="",qe=0,Be=Xe=1,b}var L=/^\0+/g,H=/[\0\r\f]/g,se=/: */g,Z=/zoo|gra/,Q=/([,: ])(transform)/g,z=/,\r+?/g,ue=/([\t\r\n ])*\f?&/g,Y=/@(k\w+)\s*(\S*)\s*/,Re=/::(place)/g,Ee=/:(read-only)/g,Ie=/[svh]\w+-[tblr]{2}/,it=/\(\s*(.*)\s*\)/g,bt=/([\s\S]*?);/g,He=/-self|flex-/g,Qe=/[^]*?(:[rp][el]a[\w-]+)[^]*/,at=/stretch|:\s*\w+\-(?:conte|avail)/,wt=/([^-])(image-set\()/,Be=1,Xe=1,qe=0,Ne=1,Ct=[],Je=[],We=0,Tt=null,xt=0,Ot="";return I.use=A,I.set=C,r!==void 0&&C(r),I}const De=_e;var dt={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 ht=dt;function Yt(r){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=r(n)),t[n]}}var Mt=/^((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)-.*))$/,tt=Yt(function(r){return Mt.test(r)||r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)<91}),kt=X(4674),Ft=X.n(kt),gt,Dt,ze,rt,Nr,Ur;function Ve(){return(Ve=Object.assign||function(r){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])}return r}).apply(this,arguments)}var hr=function(r,t){for(var n=[r[0]],o=0,c=t.length;o<c;o+=1)n.push(t[o],r[o+1]);return n},Xt=function(r){return r!==null&&typeof r=="object"&&(r.toString?r.toString():Object.prototype.toString.call(r))==="[object Object]"&&!(0,et.typeOf)(r)},Lt=Object.freeze([]),ot=Object.freeze({});function mt(r){return typeof r=="function"}function Jt(r){return r.displayName||r.name||"Component"}function Zt(r){return r&&typeof r.styledComponentId=="string"}var st=typeof process<"u"&&!0&&("MISSING_ENV_VAR".REACT_APP_SC_ATTR||"MISSING_ENV_VAR".SC_ATTR)||"data-styled",Dn="5.3.11",_t=typeof window<"u"&&"HTMLElement"in window,zr=!!(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)),Vr={},Ln={};function Nn(){for(var r=arguments.length<=0?void 0:arguments[0],t=[],n=1,o=arguments.length;n<o;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 Ye(r){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];throw new Error("An error occurred. See https://git.io/JUIaE#"+r+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var Br=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 o=0,c=0;c<n;c++)o+=this.groupSizes[c];return o},t.insertRules=function(n,o){if(n>=this.groupSizes.length){for(var c=this.groupSizes,h=c.length,m=h;n>=m;)(m<<=1)<0&&Ye(16,""+n);this.groupSizes=new Uint32Array(m),this.groupSizes.set(c),this.length=m;for(var w=h;w<m;w++)this.groupSizes[w]=0}for(var A=this.indexOfGroup(n+1),C=0,I=o.length;C<I;C++)this.tag.insertRule(A,o[C])&&(this.groupSizes[n]++,A++)},t.clearGroup=function(n){if(n<this.length){var o=this.groupSizes[n],c=this.indexOfGroup(n),h=c+o;this.groupSizes[n]=0;for(var m=c;m<h;m++)this.tag.deleteRule(c)}},t.getGroup=function(n){var o="";if(n>=this.length||this.groupSizes[n]===0)return o;for(var c=this.groupSizes[n],h=this.indexOfGroup(n),m=h+c,w=h;w<m;w++)o+=this.tag.getRule(w)+`/*!sc*/
|
|
17
|
-
`;return o},r}(),Nt=new Map,Ut=new Map,At=1,zt=function(r){if(Nt.has(r))return Nt.get(r);for(;Ut.has(At);)At++;var t=At++;return Nt.set(r,t),Ut.set(t,r),t},Gr=function(r){return Ut.get(r)},Hr=function(r,t){t>=At&&(At=t+1),Nt.set(r,t),Ut.set(t,r)},Wr="style["+st+'][data-styled-version="5.3.11"]',Kr=new RegExp("^"+st+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Yr=function(r,t,n){for(var o,c=n.split(","),h=0,m=c.length;h<m;h++)(o=c[h])&&r.registerName(t,o)},Xr=function(r,t){for(var n=(t.textContent||"").split(`/*!sc*/
|
|
18
|
-
`),o=[],c=0,h=n.length;c<h;c++){var m=n[c].trim();if(m){var w=m.match(Kr);if(w){var A=0|parseInt(w[1],10),C=w[2];A!==0&&(Hr(C,A),Yr(r,C,w[3]),r.getTag().insertRules(A,o)),o.length=0}else o.push(m)}}},Qt=function(){return X.nc},gr=function(r){var t=document.head,n=r||t,o=document.createElement("style"),c=function(w){for(var A=w.childNodes,C=A.length;C>=0;C--){var I=A[C];if(I&&I.nodeType===1&&I.hasAttribute(st))return I}}(n),h=c!==void 0?c.nextSibling:null;o.setAttribute(st,"active"),o.setAttribute("data-styled-version","5.3.11");var m=Qt();return m&&o.setAttribute("nonce",m),n.insertBefore(o,h),o},Jr=function(){function r(n){var o=this.element=gr(n);o.appendChild(document.createTextNode("")),this.sheet=function(c){if(c.sheet)return c.sheet;for(var h=document.styleSheets,m=0,w=h.length;m<w;m++){var A=h[m];if(A.ownerNode===c)return A}Ye(17)}(o),this.length=0}var t=r.prototype;return t.insertRule=function(n,o){try{return this.sheet.insertRule(o,n),this.length++,!0}catch{return!1}},t.deleteRule=function(n){this.sheet.deleteRule(n),this.length--},t.getRule=function(n){var o=this.sheet.cssRules[n];return o!==void 0&&typeof o.cssText=="string"?o.cssText:""},r}(),Zr=function(){function r(n){var o=this.element=gr(n);this.nodes=o.childNodes,this.length=0}var t=r.prototype;return t.insertRule=function(n,o){if(n<=this.length&&n>=0){var c=document.createTextNode(o),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}(),_r=function(){function r(n){this.rules=[],this.length=0}var t=r.prototype;return t.insertRule=function(n,o){return n<=this.length&&(this.rules.splice(n,0,o),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}(),mr=_t,Qr={isServer:!_t,useCSSOMInjection:!zr},vt=function(){function r(n,o,c){n===void 0&&(n=ot),o===void 0&&(o={}),this.options=Ve({},Qr,{},n),this.gs=o,this.names=new Map(c),this.server=!!n.isServer,!this.server&&_t&&mr&&(mr=!1,function(h){for(var m=document.querySelectorAll(Wr),w=0,A=m.length;w<A;w++){var C=m[w];C&&C.getAttribute(st)!=="active"&&(Xr(h,C),C.parentNode&&C.parentNode.removeChild(C))}}(this))}r.registerId=function(n){return zt(n)};var t=r.prototype;return t.reconstructWithOptions=function(n,o){return o===void 0&&(o=!0),new r(Ve({},this.options,{},n),this.gs,o&&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=(o=this.options).isServer,h=o.useCSSOMInjection,m=o.target,n=c?new _r(m):h?new Jr(m):new Zr(m),new Br(n)));var n,o,c,h,m},t.hasNameForId=function(n,o){return this.names.has(n)&&this.names.get(n).has(o)},t.registerName=function(n,o){if(zt(n),this.names.has(n))this.names.get(n).add(o);else{var c=new Set;c.add(o),this.names.set(n,c)}},t.insertRules=function(n,o,c){this.registerName(n,o),this.getTag().insertRules(zt(n),c)},t.clearNames=function(n){this.names.has(n)&&this.names.get(n).clear()},t.clearRules=function(n){this.getTag().clearGroup(zt(n)),this.clearNames(n)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(n){for(var o=n.getTag(),c=o.length,h="",m=0;m<c;m++){var w=Gr(m);if(w!==void 0){var A=n.names.get(w),C=o.getGroup(m);if(A&&C&&A.size){var I=st+".g"+m+'[id="'+w+'"]',L="";A!==void 0&&A.forEach(function(H){H.length>0&&(L+=H+",")}),h+=""+C+I+'{content:"'+L+`"}/*!sc*/
|
|
19
|
-
`}}}return h}(this)},r}(),qr=/(a)(d)/gi,vr=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=vr(t%52)+n;return(vr(t%52)+n).replace(qr,"$1-$2")}var yt=function(r,t){for(var n=t.length;n;)r=33*r^t.charCodeAt(--n);return r},yr=function(r){return yt(5381,r)};function br(r){for(var t=0;t<r.length;t+=1){var n=r[t];if(mt(n)&&!Zt(n))return!1}return!0}var en=yr("5.3.11"),tn=function(){function r(t,n,o){this.rules=t,this.staticRulesId="",this.isStatic=(o===void 0||o.isStatic)&&br(t),this.componentId=n,this.baseHash=yt(en,n),this.baseStyle=o,vt.registerId(n)}return r.prototype.generateAndInjectStyles=function(t,n,o){var c=this.componentId,h=[];if(this.baseStyle&&h.push(this.baseStyle.generateAndInjectStyles(t,n,o)),this.isStatic&&!o.hash)if(this.staticRulesId&&n.hasNameForId(c,this.staticRulesId))h.push(this.staticRulesId);else{var m=ut(this.rules,t,n,o).join(""),w=qt(yt(this.baseHash,m)>>>0);if(!n.hasNameForId(c,w)){var A=o(m,"."+w,void 0,c);n.insertRules(c,w,A)}h.push(w),this.staticRulesId=w}else{for(var C=this.rules.length,I=yt(this.baseHash,o.hash),L="",H=0;H<C;H++){var se=this.rules[H];if(typeof se=="string")L+=se;else if(se){var Z=ut(se,t,n,o),Q=Array.isArray(Z)?Z.join(""):Z;I=yt(I,Q+H),L+=Q}}if(L){var z=qt(I>>>0);if(!n.hasNameForId(c,z)){var ue=o(L,"."+z,void 0,c);n.insertRules(c,z,ue)}h.push(z)}}return h.join(" ")},r}(),rn=/^\s*\/\/.*$/gm,nn=[":","[",".","#"];function wr(r){var t,n,o,c,h=r===void 0?ot:r,m=h.options,w=m===void 0?ot:m,A=h.plugins,C=A===void 0?Lt:A,I=new De(w),L=[],H=function(Q){function z(ue){if(ue)try{Q(ue+"}")}catch{}}return function(ue,Y,Re,Ee,Ie,it,bt,He,Qe,at){switch(ue){case 1:if(Qe===0&&Y.charCodeAt(0)===64)return Q(Y+";"),"";break;case 2:if(He===0)return Y+"/*|*/";break;case 3:switch(He){case 102:case 112:return Q(Re[0]+Y),"";default:return Y+(at===0?"/*|*/":"")}case-2:Y.split("/*|*/}").forEach(z)}}}(function(Q){L.push(Q)}),se=function(Q,z,ue){return z===0&&nn.indexOf(ue[n.length])!==-1||ue.match(c)?Q:"."+t};function Z(Q,z,ue,Y){Y===void 0&&(Y="&");var Re=Q.replace(rn,""),Ee=z&&ue?ue+" "+z+" { "+Re+" }":Re;return t=Y,n=z,o=new RegExp("\\"+n+"\\b","g"),c=new RegExp("(\\"+n+"\\b){2,}"),I(ue||!z?"":z,Ee)}return I.use([].concat(C,[function(Q,z,ue){Q===2&&ue.length&&ue[0].lastIndexOf(n)>0&&(ue[0]=ue[0].replace(o,se))},H,function(Q){if(Q===-2){var z=L;return L=[],z}}])),Z.hash=C.length?C.reduce(function(Q,z){return z.name||Ye(15),yt(Q,z.name)},5381).toString():"",Z}var er=Ae.createContext(),Un=er.Consumer,tr=Ae.createContext(),xr=(tr.Consumer,new vt),rr=wr();function nr(){return(0,Ae.useContext)(er)||xr}function Sr(){return(0,Ae.useContext)(tr)||rr}function on(r){var t=(0,Ae.useState)(r.stylisPlugins),n=t[0],o=t[1],c=nr(),h=(0,Ae.useMemo)(function(){var w=c;return r.sheet?w=r.sheet:r.target&&(w=w.reconstructWithOptions({target:r.target},!1)),r.disableCSSOMInjection&&(w=w.reconstructWithOptions({useCSSOMInjection:!1})),w},[r.disableCSSOMInjection,r.sheet,r.target]),m=(0,Ae.useMemo)(function(){return wr({options:{prefix:!r.disableVendorPrefixes},plugins:n})},[r.disableVendorPrefixes,n]);return(0,Ae.useEffect)(function(){ft()(n,r.stylisPlugins)||o(r.stylisPlugins)},[r.stylisPlugins]),Ae.createElement(er.Provider,{value:h},Ae.createElement(tr.Provider,{value:m},r.children))}var Ar=function(){function r(t,n){var o=this;this.inject=function(c,h){h===void 0&&(h=rr);var m=o.name+h.hash;c.hasNameForId(o.id,m)||c.insertRules(o.id,m,h(o.rules,m,"@keyframes"))},this.toString=function(){return Ye(12,String(o.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}(),sn=/([A-Z])/,an=/([A-Z])/g,cn=/^ms-/,ln=function(r){return"-"+r.toLowerCase()};function Er(r){return sn.test(r)?r.replace(an,ln).replace(cn,"-ms-"):r}var Cr=function(r){return r==null||r===!1||r===""};function ut(r,t,n,o){if(Array.isArray(r)){for(var c,h=[],m=0,w=r.length;m<w;m+=1)(c=ut(r[m],t,n,o))!==""&&(Array.isArray(c)?h.push.apply(h,c):h.push(c));return h}if(Cr(r))return"";if(Zt(r))return"."+r.styledComponentId;if(mt(r)){if(typeof(C=r)!="function"||C.prototype&&C.prototype.isReactComponent||!t)return r;var A=r(t);return ut(A,t,n,o)}var C;return r instanceof Ar?n?(r.inject(n,o),r.getName(o)):r:Xt(r)?function I(L,H){var se,Z,Q=[];for(var z in L)L.hasOwnProperty(z)&&!Cr(L[z])&&(Array.isArray(L[z])&&L[z].isCss||mt(L[z])?Q.push(Er(z)+":",L[z],";"):Xt(L[z])?Q.push.apply(Q,I(L[z],z)):Q.push(Er(z)+": "+(se=z,(Z=L[z])==null||typeof Z=="boolean"||Z===""?"":typeof Z!="number"||Z===0||se in ht||se.startsWith("--")?String(Z).trim():Z+"px")+";"));return H?[H+" {"].concat(Q,["}"]):Q}(r):r.toString()}var Tr=function(r){return Array.isArray(r)&&(r.isCss=!0),r};function Et(r){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return mt(r)||Xt(r)?Tr(ut(hr(Lt,[r].concat(n)))):n.length===0&&r.length===1&&typeof r[0]=="string"?r:Tr(ut(hr(r,n)))}var zn=/invalid hook call/i,Vn=new Set,Bn=function(r,t){if(0)var n,o,c},or=function(r,t,n){return n===void 0&&(n=ot),r.theme!==n.theme&&r.theme||t||n.theme},un=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,pn=/(^-|-$)/g;function sr(r){return r.replace(un,"-").replace(pn,"")}var ir=function(r){return qt(yr(r)>>>0)};function Vt(r){return typeof r=="string"&&!0}var ar=function(r){return typeof r=="function"||typeof r=="object"&&r!==null&&!Array.isArray(r)},fn=function(r){return r!=="__proto__"&&r!=="constructor"&&r!=="prototype"};function dn(r,t,n){var o=r[n];ar(t)&&ar(o)?Or(o,t):r[n]=t}function Or(r){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];for(var c=0,h=n;c<h.length;c++){var m=h[c];if(ar(m))for(var w in m)fn(w)&&dn(r,m[w],w)}return r}var pt=Ae.createContext(),Gn=pt.Consumer;function Hn(r){var t=gt(pt),n=Dt(function(){return function(o,c){if(!o)return Ye(14);if(mt(o)){var h=o(c);return h}return Array.isArray(o)||typeof o!="object"?Ye(8):c?Ve({},c,{},o):o}(r.theme,t)},[r.theme,t]);return r.children?ze.createElement(pt.Provider,{value:n},r.children):null}var cr={};function Pr(r,t,n){var o=Zt(r),c=!Vt(r),h=t.attrs,m=h===void 0?Lt:h,w=t.componentId,A=w===void 0?function(Y,Re){var Ee=typeof Y!="string"?"sc":sr(Y);cr[Ee]=(cr[Ee]||0)+1;var Ie=Ee+"-"+ir("5.3.11"+Ee+cr[Ee]);return Re?Re+"-"+Ie:Ie}(t.displayName,t.parentComponentId):w,C=t.displayName,I=C===void 0?function(Y){return Vt(Y)?"styled."+Y:"Styled("+Jt(Y)+")"}(r):C,L=t.displayName&&t.componentId?sr(t.displayName)+"-"+t.componentId:t.componentId||A,H=o&&r.attrs?Array.prototype.concat(r.attrs,m).filter(Boolean):m,se=t.shouldForwardProp;o&&r.shouldForwardProp&&(se=t.shouldForwardProp?function(Y,Re,Ee){return r.shouldForwardProp(Y,Re,Ee)&&t.shouldForwardProp(Y,Re,Ee)}:r.shouldForwardProp);var Z,Q=new tn(n,L,o?r.componentStyle:void 0),z=Q.isStatic&&m.length===0,ue=function(Y,Re){return function(Ee,Ie,it,bt){var He=Ee.attrs,Qe=Ee.componentStyle,at=Ee.defaultProps,wt=Ee.foldedComponentIds,Be=Ee.shouldForwardProp,Xe=Ee.styledComponentId,qe=Ee.target,Ne=function(W,b,ie){W===void 0&&(W=ot);var P=Ve({},b,{theme:W}),Oe={};return ie.forEach(function(ae){var pe,K,$e,Ue=ae;for(pe in mt(Ue)&&(Ue=Ue(P)),Ue)P[pe]=Oe[pe]=pe==="className"?(K=Oe[pe],$e=Ue[pe],K&&$e?K+" "+$e:K||$e):Ue[pe]}),[P,Oe]}(or(Ie,(0,Ae.useContext)(pt),at)||ot,Ie,He),Ct=Ne[0],Je=Ne[1],We=function(W,b,ie,P){var Oe=nr(),ae=Sr(),pe=b?W.generateAndInjectStyles(ot,Oe,ae):W.generateAndInjectStyles(ie,Oe,ae);return pe}(Qe,bt,Ct,void 0),Tt=it,xt=Je.$as||Ie.$as||Je.as||Ie.as||qe,Ot=Vt(xt),F=Je!==Ie?Ve({},Ie,{},Je):Ie,j={};for(var $ in F)$[0]!=="$"&&$!=="as"&&($==="forwardedAs"?j.as=F[$]:(Be?Be($,tt,xt):!Ot||tt($))&&(j[$]=F[$]));return Ie.style&&Je.style!==Ie.style&&(j.style=Ve({},Ie.style,{},Je.style)),j.className=Array.prototype.concat(wt,Xe,We!==Xe?We:null,Ie.className,Je.className).filter(Boolean).join(" "),j.ref=Tt,(0,Ae.createElement)(xt,j)}(Z,Y,Re,z)};return ue.displayName=I,(Z=Ae.forwardRef(ue)).attrs=H,Z.componentStyle=Q,Z.displayName=I,Z.shouldForwardProp=se,Z.foldedComponentIds=o?Array.prototype.concat(r.foldedComponentIds,r.styledComponentId):Lt,Z.styledComponentId=L,Z.target=o?r.target:r,Z.withComponent=function(Y){var Re=t.componentId,Ee=function(it,bt){if(it==null)return{};var He,Qe,at={},wt=Object.keys(it);for(Qe=0;Qe<wt.length;Qe++)He=wt[Qe],bt.indexOf(He)>=0||(at[He]=it[He]);return at}(t,["componentId"]),Ie=Re&&Re+"-"+(Vt(Y)?Y:sr(Jt(Y)));return Pr(Y,Ve({},Ee,{attrs:H,componentId:Ie}),n)},Object.defineProperty(Z,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(Y){this._foldedDefaultProps=o?Or({},r.defaultProps,Y):Y}}),Object.defineProperty(Z,"toString",{value:function(){return"."+Z.styledComponentId}}),c&&Ft()(Z,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),Z}var Ir=function(r){return function t(n,o,c){if(c===void 0&&(c=ot),!(0,et.isValidElementType)(o))return Ye(1,String(o));var h=function(){return n(o,c,Et.apply(void 0,arguments))};return h.withConfig=function(m){return t(n,o,Ve({},c,{},m))},h.attrs=function(m){return t(n,o,Ve({},c,{attrs:Array.prototype.concat(c.attrs,m).filter(Boolean)}))},h}(Pr,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){Ir[r]=Ir(r)});var hn=function(){function r(n,o){this.rules=n,this.componentId=o,this.isStatic=br(n),vt.registerId(this.componentId+1)}var t=r.prototype;return t.createStyles=function(n,o,c,h){var m=h(ut(this.rules,o,c,h).join(""),""),w=this.componentId+n;c.insertRules(w,w,m)},t.removeStyles=function(n,o){o.clearRules(this.componentId+n)},t.renderStyles=function(n,o,c,h){n>2&&vt.registerId(this.componentId+n),this.removeStyles(n,c),this.createStyles(n,o,c,h)},r}();function Wn(r){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var c=Et.apply(void 0,[r].concat(n)),h="sc-global-"+ir(JSON.stringify(c)),m=new hn(c,h);function w(C){var I=nr(),L=Sr(),H=gt(pt),se=rt(I.allocateGSInstance(h)).current;return I.server&&A(se,C,I,H,L),Nr(function(){if(!I.server)return A(se,C,I,H,L),function(){return m.removeStyles(se,I)}},[se,C,I,H,L]),null}function A(C,I,L,H,se){if(m.isStatic)m.renderStyles(C,Vr,L,se);else{var Z=Ve({},I,{theme:or(I,H,w.defaultProps)});m.renderStyles(C,Z,L,se)}}return ze.memo(w)}function Kn(r){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var c=Et.apply(void 0,[r].concat(n)).join(""),h=ir(c);return new Ar(h,c)}var Yn=function(){function r(){var n=this;this._emitSheetCSS=function(){var o=n.instance.toString();if(!o)return"";var c=Qt();return"<style "+[c&&'nonce="'+c+'"',st+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+o+"</style>"},this.getStyleTags=function(){return n.sealed?Ye(2):n._emitSheetCSS()},this.getStyleElement=function(){var o;if(n.sealed)return Ye(2);var c=((o={})[st]="",o["data-styled-version"]="5.3.11",o.dangerouslySetInnerHTML={__html:n.instance.toString()},o),h=Qt();return h&&(c.nonce=h),[Ae.createElement("style",Ve({},c,{key:"sc-0-0"}))]},this.seal=function(){n.sealed=!0},this.instance=new vt({isServer:!0}),this.sealed=!1}var t=r.prototype;return t.collectStyles=function(n){return this.sealed?Ye(2):Ae.createElement(on,{sheet:this.instance},n)},t.interleaveWithNodeStream=function(n){return Ye(3)},r}(),Xn=function(r){var t=ze.forwardRef(function(n,o){var c=gt(pt),h=r.defaultProps,m=or(n,c,h);return ze.createElement(r,Ve({},n,{theme:m,ref:o}))});return Ur(t,r),t.displayName="WithTheme("+Jt(r)+")",t},Jn=function(){return gt(pt)},Zn={StyleSheet:vt,masterSheet:xr};const _n=null,gn=r=>Object.keys(r).reduce((t,n)=>(t[n]=(o,...c)=>Et`
|
|
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,f=e?Symbol.for("react.profiler"):60114,d=e?Symbol.for("react.provider"):60109,g=e?Symbol.for("react.context"):60110,v=e?Symbol.for("react.async_mode"):60111,x=e?Symbol.for("react.concurrent_mode"):60111,w=e?Symbol.for("react.forward_ref"):60112,T=e?Symbol.for("react.suspense"):60113,M=e?Symbol.for("react.suspense_list"):60120,$=e?Symbol.for("react.memo"):60115,N=e?Symbol.for("react.lazy"):60116,D=e?Symbol.for("react.block"):60121,z=e?Symbol.for("react.fundamental"):60117,U=e?Symbol.for("react.responder"):60118,ie=e?Symbol.for("react.scope"):60119;function j(E){if(typeof E=="object"&&E!==null){var ce=E.$$typeof;switch(ce){case i:switch(E=E.type,E){case v:case x:case l:case f:case u:case T:return E;default:switch(E=E&&E.$$typeof,E){case g:case w:case N:case $:case d:return E;default:return ce}}case a:return ce}}}function ae(E){return j(E)===x}p.AsyncMode=v,p.ConcurrentMode=x,p.ContextConsumer=g,p.ContextProvider=d,p.Element=i,p.ForwardRef=w,p.Fragment=l,p.Lazy=N,p.Memo=$,p.Portal=a,p.Profiler=f,p.StrictMode=u,p.Suspense=T,p.isAsyncMode=function(E){return ae(E)||j(E)===v},p.isConcurrentMode=ae,p.isContextConsumer=function(E){return j(E)===g},p.isContextProvider=function(E){return j(E)===d},p.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===i},p.isForwardRef=function(E){return j(E)===w},p.isFragment=function(E){return j(E)===l},p.isLazy=function(E){return j(E)===N},p.isMemo=function(E){return j(E)===$},p.isPortal=function(E){return j(E)===a},p.isProfiler=function(E){return j(E)===f},p.isStrictMode=function(E){return j(E)===u},p.isSuspense=function(E){return j(E)===T},p.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===l||E===x||E===f||E===u||E===T||E===M||typeof E=="object"&&E!==null&&(E.$$typeof===N||E.$$typeof===$||E.$$typeof===d||E.$$typeof===g||E.$$typeof===w||E.$$typeof===z||E.$$typeof===U||E.$$typeof===ie||E.$$typeof===D)},p.typeOf=j},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 f=Object.keys(e),d=Object.keys(i);if(f.length!==d.length)return!1;for(var g=Object.prototype.hasOwnProperty.bind(i),v=0;v<f.length;v++){var x=f[v];if(!g(x))return!1;var w=e[x],T=i[x];if(u=a?a.call(l,w,T,x):void 0,u===!1||u===void 0&&w!==T)return!1}return!0}},4883(o){"use strict";o.exports=fr}},_e={};function Y(o){var p=_e[o];if(p!==void 0)return p.exports;var e=_e[o]={id:o,loaded:!1,exports:{}};return wt[o](e,e.exports,Y),e.loaded=!0,e.exports}Y.n=o=>{var p=o&&o.__esModule?()=>o.default:()=>o;return Y.d(p,{a:p}),p},Y.d=(o,p)=>{for(var e in p)Y.o(p,e)&&!Y.o(o,e)&&Object.defineProperty(o,e,{enumerable:!0,get:p[e]})},Y.o=(o,p)=>Object.prototype.hasOwnProperty.call(o,p),Y.r=o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},Y.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(/\/[^\/]+$/,"/"),Y.p=o})(),Y.nc=void 0;var Nt={};return(()=>{"use strict";Y.r(Nt),Y.d(Nt,{CAppBridge:()=>Nn,Event:()=>ae,LaunchMode:()=>U,MicroAppManager:()=>ie,ScriptLoader:()=>Fr,ScriptingObject:()=>de,SecurityContext:()=>o,StyleLoader:()=>Dr});var o=(r=>(r.USER="USER",r.PARTNER="PARTNER",r))(o||{}),p=Y(114),e=Y.n(p),i=Y(2249),a=Y.n(i),l=Y(7181),u=Y.n(l),f=Y(7605),d=Y.n(f),g=Y(277),v=Y.n(g);const x=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"}}}}'),w="latest",T=r=>r.replace(/([^:]\/)\/+/g,"$1"),M=r=>{const t=document.createElement("a");return t.href=r,t.href},$=r=>r?.replace?.(/\/?$/,"/"),N=(r,t)=>`${r.replace(/\/+$/,"")}/${t.replace(/^\/+/,"")}`,D=()=>window.navigator.userAgent.includes("jsdom"),z=r=>r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var U=(r=>(r.DEVELOPMENT="development",r.PRODUCTION="production",r))(U||{}),ie=(r=>(r.SSF="ssf",r.APPSDK="appsdk",r))(ie||{});class j{#e=x;#t;#r;constructor(t){this.#t=t?.version||w,this.#r=$(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="")=>d()(this.#e,t);#n=()=>{if(!/(?:\/)(\d+\.\d+|latest)(?:\/?)?$/.test(this.#r)){const n=this.#t.match(/^(?:\d+\.\d+)*/g);return $(`${this.#r}${n?.[0]||w}`)}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!==w){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!==w)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!==w){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 E{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 de{#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=Y(5345),H=Y.n(pe);const Z={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 kt;const ve=[];for(let r=0;r<256;++r)ve.push((r+256).toString(16).slice(1));function St(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 dr(r,t=0){const n=St(r,t);if(!kt(n))throw TypeError("Stringified UUID is invalid");return n}const hr=null;function Ut(r,t,n){if(Z.randomUUID&&!t&&!r)return Z.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 St(s)}const At=Ut;var Et=(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))(Et||{});const Ct="module";var zt=(r=>(r.USER="USER",r.PARTNER="PARTNER",r))(zt||{});class Bt{#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{}};#a=({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.#a({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 Vt{__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 Gt{#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(m=>{m.criteria&&!(c&&this.#s(c,m.criteria))||Promise.resolve(m.callback({obj:s,eventName:n,eventParams:c})).catch(b=>{this.#r?.warn(`Error in event listener for "${n}": ${b.message}`)})})};#a=async({eventId:t,eventName:n,scriptingObject:s,eventParams:c,feedbackWaitTime:h})=>{const b=(this.#e.get(t)||[]).map(A=>A.criteria&&!(c?this.#s(c,A.criteria):!1)?Promise.resolve():this.#o(A.callback({obj:s,eventName:n,eventParams:c}),h));return(await Promise.all(b)).flat(1/0).filter(A=>A!==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 m=typeof h=="number"?h:Number(h);return!Number.isNaN(m)&&m>c.gt}if("lt"in c){const m=typeof h=="number"?h:Number(h);return!Number.isNaN(m)&&m<c.lt}if("regex"in c){let m=this.#t.get(c);if(m===void 0){try{m=new RegExp(c.regex)}catch{m=null}this.#t.set(c,m)}return m!==null&&typeof h=="string"&&m.test(h)}return!1})}dispatchEvent=async(t,n)=>{const{event:{id:s,name:c},eventParams:h,eventOptions:m}=n,{timeout:b}=m??{};if(!s)throw new Error("Event Id is required");const S=this.#e.get(s)||[];return!b||b<=0?(this.#n({eventName:c,scriptingObject:t,eventParams:h,listeners:S}),Promise.resolve()):this.#a({eventId:s,eventName:c,scriptingObject:t,eventParams:h,feedbackWaitTime:b})};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)||[],m=At();return h.push({token:m,criteria:c,callback:s}),this.#e.set(n,h),m};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(m=>m.token===s);h>-1&&(c.splice(h,1),this.#e.set(n,c))}else this.#e.delete(n)};unsubscribeAll=()=>{this.#e.clear()}}const Ot=Y.p+"671d9de68be598da64ca.html?resource",ft="pui-app-container-",Ht=({id:r,instanceId:t,manifestPath:n,hostUrl:s,options:c})=>new Promise((h,m)=>{const b=document.createElement("div");b.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 A=c.src??Ot.default??Ot;let O=A;if(c.queryParams){const L=c.queryParams.replace(/[^a-zA-Z0-9&=_.~%+-]/g,"");O=`${A}${A.includes("?")?"&":"?"}${L}`}S.setAttribute("src",O);const F=1e4;let B=!1;const _=setTimeout(()=>{B||(B=!0,m(new Error(`iframe for ${r} failed to load within ${F}ms`)))},F);S.addEventListener("error",()=>{B||(B=!0,clearTimeout(_),m(new Error(`iframe for ${r} failed to load`)))}),S.addEventListener("load",()=>{if(B||!S.contentDocument)return;B=!0,clearTimeout(_);const L=S.contentDocument,ne=L.getElementById(ft);ne&&(ne.id=`${ne.id}${r}`);let W=L.getElementsByTagName("base")?.[0];W?W.href=new URL(n,s).href:(W=L.createElement("base"),W.href=new URL(n,s).href,L.getElementsByTagName("head")[0].appendChild(W)),h(S)}),b.appendChild(S);const{containerId:K}=c;(document.getElementById(K??"")??document.body).appendChild(b)}),Pt=r=>document.getElementById(r),Re={create:Ht,remove:r=>{const t=Pt(r);t&&t.parentElement?.remove()},get:Pt},Q=()=>({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=Y(7020),Ee=Y(4883),Ue=Y.n(Ee),nt=Y(162),ze=Y.n(nt);function Ce(r){function t(R,P,I,V,y){for(var q=0,C=0,he=0,ee=0,se,G,we=0,Pe=0,J,Te=J=se=0,te=0,Se=0,bt=0,Ae=0,Lt=I.length,xt=Lt-1,ke,k="",me="",ur="",pr="",Qe;te<Lt;){if(G=I.charCodeAt(te),te===xt&&C+ee+he+q!==0&&(C!==0&&(G=C===47?10:47),ee=he=q=0,Lt++,xt++),C+ee+he+q===0){if(te===xt&&(0<Se&&(k=k.replace(B,"")),0<k.trim().length)){switch(G){case 32:case 9:case 59:case 13:case 10:break;default:k+=I.charAt(te)}G=59}switch(G){case 123:for(k=k.trim(),se=k.charCodeAt(0),J=1,Ae=++te;te<Lt;){switch(G=I.charCodeAt(te)){case 123:J++;break;case 125:J--;break;case 47:switch(G=I.charCodeAt(te+1)){case 42:case 47:e:{for(Te=te+1;Te<xt;++Te)switch(I.charCodeAt(Te)){case 47:if(G===42&&I.charCodeAt(Te-1)===42&&te+2!==Te){te=Te+1;break e}break;case 10:if(G===47){te=Te+1;break e}}te=Te}}break;case 91:G++;case 40:G++;case 34:case 39:for(;te++<xt&&I.charCodeAt(te)!==G;);}if(J===0)break;te++}switch(J=I.substring(Ae,te),se===0&&(se=(k=k.replace(F,"").trim()).charCodeAt(0)),se){case 64:switch(0<Se&&(k=k.replace(B,"")),G=k.charCodeAt(1),G){case 100:case 109:case 115:case 45:Se=P;break;default:Se=mt}if(J=t(P,Se,J,G,y+1),Ae=J.length,0<Fe&&(Se=n(mt,k,bt),Qe=b(3,J,Se,P,Le,je,Ae,G,y,V),k=Se.join(""),Qe!==void 0&&(Ae=(J=Qe.trim()).length)===0&&(G=0,J="")),0<Ae)switch(G){case 115:k=k.replace(Ze,m);case 100:case 109:case 45:J=k+"{"+J+"}";break;case 107:k=k.replace(W,"$1 $2"),J=k+"{"+J+"}",J=Oe===1||Oe===2&&h("@"+J,3)?"@-webkit-"+J+"@"+J:"@"+J;break;default:J=k+J,V===112&&(J=(me+=J,""))}else J="";break;default:J=t(P,n(P,k,bt),J,V,y+1)}ur+=J,J=bt=Se=Te=se=0,k="",G=I.charCodeAt(++te);break;case 125:case 59:if(k=(0<Se?k.replace(B,""):k).trim(),1<(Ae=k.length))switch(Te===0&&(se=k.charCodeAt(0),se===45||96<se&&123>se)&&(Ae=(k=k.replace(" ",":")).length),0<Fe&&(Qe=b(1,k,P,R,Le,je,me.length,V,y,V))!==void 0&&(Ae=(k=Qe.trim()).length)===0&&(k="\0\0"),se=k.charCodeAt(0),G=k.charCodeAt(1),se){case 0:break;case 64:if(G===105||G===99){pr+=k+I.charAt(te);break}default:k.charCodeAt(Ae-1)!==58&&(me+=c(k,se,G,k.charCodeAt(2)))}bt=Se=Te=se=0,k="",G=I.charCodeAt(++te)}}switch(G){case 13:case 10:C===47?C=0:1+se===0&&V!==107&&0<k.length&&(Se=1,k+="\0"),0<Fe*pt&&b(0,k,P,R,Le,je,me.length,V,y,V),je=1,Le++;break;case 59:case 125:if(C+ee+he+q===0){je++;break}default:switch(je++,ke=I.charAt(te),G){case 9:case 32:if(ee+q+C===0)switch(we){case 44:case 58:case 9:case 32:ke="";break;default:G!==32&&(ke=" ")}break;case 0:ke="\\0";break;case 12:ke="\\f";break;case 11:ke="\\v";break;case 38:ee+C+q===0&&(Se=bt=1,ke="\f"+ke);break;case 108:if(ee+C+q+Ge===0&&0<Te)switch(te-Te){case 2:we===112&&I.charCodeAt(te-3)===58&&(Ge=we);case 8:Pe===111&&(Ge=Pe)}break;case 58:ee+C+q===0&&(Te=te);break;case 44:C+he+ee+q===0&&(Se=1,ke+="\r");break;case 34:case 39:C===0&&(ee=ee===G?0:ee===0?G:ee);break;case 91:ee+C+he===0&&q++;break;case 93:ee+C+he===0&&q--;break;case 41:ee+C+q===0&&he--;break;case 40:if(ee+C+q===0){if(se===0)switch(2*we+3*Pe){case 533:break;default:se=1}he++}break;case 64:C+he+ee+q+Te+J===0&&(J=1);break;case 42:case 47:if(!(0<ee+q+he))switch(C){case 0:switch(2*G+3*I.charCodeAt(te+1)){case 235:C=47;break;case 220:Ae=te,C=42}break;case 42:G===47&&we===42&&Ae+2!==te&&(I.charCodeAt(Ae+2)===33&&(me+=I.substring(Ae,te+1)),ke="",C=0)}}C===0&&(k+=ke)}Pe=we,we=G,te++}if(Ae=me.length,0<Ae){if(Se=P,0<Fe&&(Qe=b(2,me,Se,R,Le,je,Ae,V,y,V),Qe!==void 0&&(me=Qe).length===0))return pr+me+ur;if(me=Se.join(",")+"{"+me+"}",Oe*Ge!==0){switch(Oe!==2||h(me,2)||(Ge=0),Ge){case 111:me=me.replace(fe,":-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 pr+me+ur}function n(R,P,I){var V=P.trim().split(L);P=V;var y=V.length,q=R.length;switch(q){case 0:case 1:var C=0;for(R=q===0?"":R[0]+" ";C<y;++C)P[C]=s(R,P[C],I).trim();break;default:var he=C=0;for(P=[];C<y;++C)for(var ee=0;ee<q;++ee)P[he++]=s(R[ee]+" ",V[C],I).trim()}return P}function s(R,P,I){var V=P.charCodeAt(0);switch(33>V&&(V=(P=P.trim()).charCodeAt(0)),V){case 38:return P.replace(ne,"$1"+R.trim());case 58:return R.trim()+P.replace(ne,"$1"+R.trim());default:if(0<1*I&&0<P.indexOf("\f"))return P.replace(ne,(R.charCodeAt(0)===58?"":"$1")+R.trim())}return R+P}function c(R,P,I,V){var y=R+";",q=2*P+3*I+4*V;if(q===944){R=y.indexOf(":",9)+1;var C=y.substring(R,y.length-1).trim();return C=y.substring(0,R).trim()+C+";",Oe===1||Oe===2&&h(C,1)?"-webkit-"+C+C:C}if(Oe===0||Oe===2&&!h(y,1))return y;switch(q){case 1015:return y.charCodeAt(10)===97?"-webkit-"+y+y:y;case 951:return y.charCodeAt(3)===116?"-webkit-"+y+y:y;case 963:return y.charCodeAt(5)===110?"-webkit-"+y+y:y;case 1009:if(y.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+y+y;case 978:return"-webkit-"+y+"-moz-"+y+y;case 1019:case 983:return"-webkit-"+y+"-moz-"+y+"-ms-"+y+y;case 883:if(y.charCodeAt(8)===45)return"-webkit-"+y+y;if(0<y.indexOf("image-set(",11))return y.replace(ut,"$1-webkit-$2")+y;break;case 932:if(y.charCodeAt(4)===45)switch(y.charCodeAt(5)){case 103:return"-webkit-box-"+y.replace("-grow","")+"-webkit-"+y+"-ms-"+y.replace("grow","positive")+y;case 115:return"-webkit-"+y+"-ms-"+y.replace("shrink","negative")+y;case 98:return"-webkit-"+y+"-ms-"+y.replace("basis","preferred-size")+y}return"-webkit-"+y+"-ms-"+y+y;case 964:return"-webkit-"+y+"-ms-flex-"+y+y;case 1023:if(y.charCodeAt(8)!==99)break;return C=y.substring(y.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+C+"-webkit-"+y+"-ms-flex-pack"+C+y;case 1005:return K.test(y)?y.replace(_,":-webkit-")+y.replace(_,":-moz-")+y:y;case 1e3:switch(C=y.substring(13).trim(),P=C.indexOf("-")+1,C.charCodeAt(0)+C.charCodeAt(P)){case 226:C=y.replace(ge,"tb");break;case 232:C=y.replace(ge,"tb-rl");break;case 220:C=y.replace(ge,"lr");break;default:return y}return"-webkit-"+y+"-ms-"+C+y;case 1017:if(y.indexOf("sticky",9)===-1)break;case 975:switch(P=(y=R).length-10,C=(y.charCodeAt(P)===33?y.substring(0,P):y).substring(R.indexOf(":",7)+1).trim(),q=C.charCodeAt(0)+(C.charCodeAt(7)|0)){case 203:if(111>C.charCodeAt(8))break;case 115:y=y.replace(C,"-webkit-"+C)+";"+y;break;case 207:case 102:y=y.replace(C,"-webkit-"+(102<q?"inline-":"")+"box")+";"+y.replace(C,"-webkit-"+C)+";"+y.replace(C,"-ms-"+C+"box")+";"+y}return y+";";case 938:if(y.charCodeAt(5)===45)switch(y.charCodeAt(6)){case 105:return C=y.replace("-items",""),"-webkit-"+y+"-webkit-box-"+C+"-ms-flex-"+C+y;case 115:return"-webkit-"+y+"-ms-flex-item-"+y.replace($e,"")+y;default:return"-webkit-"+y+"-ms-flex-line-pack"+y.replace("align-content","").replace($e,"")+y}break;case 973:case 989:if(y.charCodeAt(3)!==45||y.charCodeAt(4)===122)break;case 931:case 953:if(Je.test(R)===!0)return(C=R.substring(R.indexOf(":")+1)).charCodeAt(0)===115?c(R.replace("stretch","fill-available"),P,I,V).replace(":fill-available",":stretch"):y.replace(C,"-webkit-"+C)+y.replace(C,"-moz-"+C.replace("fill-",""))+y;break;case 962:if(y="-webkit-"+y+(y.charCodeAt(5)===102?"-ms-"+y:"")+y,I+V===211&&y.charCodeAt(13)===105&&0<y.indexOf("transform",10))return y.substring(0,y.indexOf(";",27)+1).replace(X,"$1-webkit-$2")+y}return y}function h(R,P){var I=R.indexOf(P===1?":":"{"),V=R.substring(0,P!==3?I:10);return I=R.substring(I+1,R.length-1),vt(P!==2?V:V.replace(Ve,"$1"),I,P)}function m(R,P){var I=c(P,P.charCodeAt(0),P.charCodeAt(1),P.charCodeAt(2));return I!==P+";"?I.replace(lt," or ($1)").substring(4):"("+P+")"}function b(R,P,I,V,y,q,C,he,ee,se){for(var G=0,we=P,Pe;G<Fe;++G)switch(Pe=Ne[G].call(O,R,we,I,V,y,q,C,he,ee,se)){case void 0:case!1:case!0:case null:break;default:we=Pe}if(we!==P)return we}function S(R){switch(R){case void 0:case null:Fe=Ne.length=0;break;default:if(typeof R=="function")Ne[Fe++]=R;else if(typeof R=="object")for(var P=0,I=R.length;P<I;++P)S(R[P]);else pt=!!R|0}return S}function A(R){return R=R.prefix,R!==void 0&&(vt=null,R?typeof R!="function"?Oe=1:(Oe=2,vt=R):Oe=0),A}function O(R,P){var I=R;if(33>I.charCodeAt(0)&&(I=I.trim()),yt=I,I=[yt],0<Fe){var V=b(-1,P,I,I,Le,je,0,0,0,0);V!==void 0&&typeof V=="string"&&(P=V)}var y=t(mt,I,P,0,0);return 0<Fe&&(V=b(-2,y,I,I,Le,je,y.length,0,0,0),V!==void 0&&(y=V)),yt="",Ge=0,je=Le=1,y}var F=/^\0+/g,B=/[\0\r\f]/g,_=/: */g,K=/zoo|gra/,X=/([,: ])(transform)/g,L=/,\r+?/g,ne=/([\t\r\n ])*\f?&/g,W=/@(k\w+)\s*(\S*)\s*/,be=/::(place)/g,fe=/:(read-only)/g,ge=/[svh]\w+-[tblr]{2}/,Ze=/\(\s*(.*)\s*\)/g,lt=/([\s\S]*?);/g,$e=/-self|flex-/g,Ve=/[^]*?(:[rp][el]a[\w-]+)[^]*/,Je=/stretch|:\s*\w+\-(?:conte|avail)/,ut=/([^-])(image-set\()/,je=1,Le=1,Ge=0,Oe=1,mt=[],Ne=[],Fe=0,vt=null,pt=0,yt="";return O.use=S,O.set=A,r!==void 0&&A(r),O}const st=Ce;var ot={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 Wt=ot;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)-.*))$/,dt=It(function(r){return Ke.test(r)||r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)<91}),jt=Y(4674),Kt=Y.n(jt),qe,Be,Me,Ur,zr,Br;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 gr=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},Yt=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 it(r){return typeof r=="function"}function Xt(r){return r.displayName||r.name||"Component"}function Zt(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",kn="5.3.11",Jt=typeof window<"u"&&"HTMLElement"in window,Vr=!!(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)),Gr={},Un={};function zn(){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 De(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 Hr=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,m=h;n>=m;)(m<<=1)<0&&De(16,""+n);this.groupSizes=new Uint32Array(m),this.groupSizes.set(c),this.length=m;for(var b=h;b<m;b++)this.groupSizes[b]=0}for(var S=this.indexOfGroup(n+1),A=0,O=s.length;A<O;A++)this.tag.insertRule(S,s[A])&&(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 m=c;m<h;m++)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),m=h+c,b=h;b<m;b++)s+=this.tag.getRule(b)+`/*!sc*/
|
|
9
|
+
`;return s},r}(),Mt=new Map,$t=new Map,ht=1,Ft=function(r){if(Mt.has(r))return Mt.get(r);for(;$t.has(ht);)ht++;var t=ht++;return Mt.set(r,t),$t.set(t,r),t},Wr=function(r){return $t.get(r)},Kr=function(r,t){t>=ht&&(ht=t+1),Mt.set(r,t),$t.set(t,r)},Yr="style["+Xe+'][data-styled-version="5.3.11"]',Xr=new RegExp("^"+Xe+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Zr=function(r,t,n){for(var s,c=n.split(","),h=0,m=c.length;h<m;h++)(s=c[h])&&r.registerName(t,s)},Jr=function(r,t){for(var n=(t.textContent||"").split(`/*!sc*/
|
|
10
|
+
`),s=[],c=0,h=n.length;c<h;c++){var m=n[c].trim();if(m){var b=m.match(Xr);if(b){var S=0|parseInt(b[1],10),A=b[2];S!==0&&(Kr(A,S),Zr(r,A,b[3]),r.getTag().insertRules(S,s)),s.length=0}else s.push(m)}}},Qt=function(){return Y.nc},mr=function(r){var t=document.head,n=r||t,s=document.createElement("style"),c=function(b){for(var S=b.childNodes,A=S.length;A>=0;A--){var O=S[A];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 m=Qt();return m&&s.setAttribute("nonce",m),n.insertBefore(s,h),s},Qr=function(){function r(n){var s=this.element=mr(n);s.appendChild(document.createTextNode("")),this.sheet=function(c){if(c.sheet)return c.sheet;for(var h=document.styleSheets,m=0,b=h.length;m<b;m++){var S=h[m];if(S.ownerNode===c)return S}De(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}(),_r=function(){function r(n){var s=this.element=mr(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}(),qr=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}(),vr=Jt,en={isServer:!Jt,useCSSOMInjection:!Vr},at=function(){function r(n,s,c){n===void 0&&(n=Ye),s===void 0&&(s={}),this.options=Ie({},en,{},n),this.gs=s,this.names=new Map(c),this.server=!!n.isServer,!this.server&&Jt&&vr&&(vr=!1,function(h){for(var m=document.querySelectorAll(Yr),b=0,S=m.length;b<S;b++){var A=m[b];A&&A.getAttribute(Xe)!=="active"&&(Jr(h,A),A.parentNode&&A.parentNode.removeChild(A))}}(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,m=s.target,n=c?new qr(m):h?new Qr(m):new _r(m),new Hr(n)));var n,s,c,h,m},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="",m=0;m<c;m++){var b=Wr(m);if(b!==void 0){var S=n.names.get(b),A=s.getGroup(m);if(S&&A&&S.size){var O=Xe+".g"+m+'[id="'+b+'"]',F="";S!==void 0&&S.forEach(function(B){B.length>0&&(F+=B+",")}),h+=""+A+O+'{content:"'+F+`"}/*!sc*/
|
|
11
|
+
`}}}return h}(this)},r}(),tn=/(a)(d)/gi,yr=function(r){return String.fromCharCode(r+(r>25?39:97))};function _t(r){var t,n="";for(t=Math.abs(r);t>52;t=t/52|0)n=yr(t%52)+n;return(yr(t%52)+n).replace(tn,"$1-$2")}var ct=function(r,t){for(var n=t.length;n;)r=33*r^t.charCodeAt(--n);return r},br=function(r){return ct(5381,r)};function xr(r){for(var t=0;t<r.length;t+=1){var n=r[t];if(it(n)&&!Zt(n))return!1}return!0}var rn=br("5.3.11"),nn=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=ct(rn,n),this.baseStyle=s,at.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 m=et(this.rules,t,n,s).join(""),b=_t(ct(this.baseHash,m)>>>0);if(!n.hasNameForId(c,b)){var S=s(m,"."+b,void 0,c);n.insertRules(c,b,S)}h.push(b),this.staticRulesId=b}else{for(var A=this.rules.length,O=ct(this.baseHash,s.hash),F="",B=0;B<A;B++){var _=this.rules[B];if(typeof _=="string")F+=_;else if(_){var K=et(_,t,n,s),X=Array.isArray(K)?K.join(""):K;O=ct(O,X+B),F+=X}}if(F){var L=_t(O>>>0);if(!n.hasNameForId(c,L)){var ne=s(F,"."+L,void 0,c);n.insertRules(c,L,ne)}h.push(L)}}return h.join(" ")},r}(),sn=/^\s*\/\/.*$/gm,on=[":","[",".","#"];function wr(r){var t,n,s,c,h=r===void 0?Ye:r,m=h.options,b=m===void 0?Ye:m,S=h.plugins,A=S===void 0?Rt:S,O=new st(b),F=[],B=function(X){function L(ne){if(ne)try{X(ne+"}")}catch{}}return function(ne,W,be,fe,ge,Ze,lt,$e,Ve,Je){switch(ne){case 1:if(Ve===0&&W.charCodeAt(0)===64)return X(W+";"),"";break;case 2:if($e===0)return W+"/*|*/";break;case 3:switch($e){case 102:case 112:return X(be[0]+W),"";default:return W+(Je===0?"/*|*/":"")}case-2:W.split("/*|*/}").forEach(L)}}}(function(X){F.push(X)}),_=function(X,L,ne){return L===0&&on.indexOf(ne[n.length])!==-1||ne.match(c)?X:"."+t};function K(X,L,ne,W){W===void 0&&(W="&");var be=X.replace(sn,""),fe=L&&ne?ne+" "+L+" { "+be+" }":be;return t=W,n=L,s=new RegExp("\\"+n+"\\b","g"),c=new RegExp("(\\"+n+"\\b){2,}"),O(ne||!L?"":L,fe)}return O.use([].concat(A,[function(X,L,ne){X===2&&ne.length&&ne[0].lastIndexOf(n)>0&&(ne[0]=ne[0].replace(s,_))},B,function(X){if(X===-2){var L=F;return F=[],L}}])),K.hash=A.length?A.reduce(function(X,L){return L.name||De(15),ct(X,L.name)},5381).toString():"",K}var qt=Ue().createContext(),Bn=qt.Consumer,er=Ue().createContext(),Sr=(er.Consumer,new at),tr=wr();function rr(){return(0,Ee.useContext)(qt)||Sr}function Ar(){return(0,Ee.useContext)(er)||tr}function an(r){var t=(0,Ee.useState)(r.stylisPlugins),n=t[0],s=t[1],c=rr(),h=(0,Ee.useMemo)(function(){var b=c;return r.sheet?b=r.sheet:r.target&&(b=b.reconstructWithOptions({target:r.target},!1)),r.disableCSSOMInjection&&(b=b.reconstructWithOptions({useCSSOMInjection:!1})),b},[r.disableCSSOMInjection,r.sheet,r.target]),m=(0,Ee.useMemo)(function(){return wr({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(qt.Provider,{value:h},Ue().createElement(er.Provider,{value:m},r.children))}var Er=function(){function r(t,n){var s=this;this.inject=function(c,h){h===void 0&&(h=tr);var m=s.name+h.hash;c.hasNameForId(s.id,m)||c.insertRules(s.id,m,h(s.rules,m,"@keyframes"))},this.toString=function(){return De(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=tr),this.name+t.hash},r}(),cn=/([A-Z])/,ln=/([A-Z])/g,un=/^ms-/,pn=function(r){return"-"+r.toLowerCase()};function Cr(r){return cn.test(r)?r.replace(ln,pn).replace(un,"-ms-"):r}var Tr=function(r){return r==null||r===!1||r===""};function et(r,t,n,s){if(Array.isArray(r)){for(var c,h=[],m=0,b=r.length;m<b;m+=1)(c=et(r[m],t,n,s))!==""&&(Array.isArray(c)?h.push.apply(h,c):h.push(c));return h}if(Tr(r))return"";if(Zt(r))return"."+r.styledComponentId;if(it(r)){if(typeof(A=r)!="function"||A.prototype&&A.prototype.isReactComponent||!t)return r;var S=r(t);return et(S,t,n,s)}var A;return r instanceof Er?n?(r.inject(n,s),r.getName(s)):r:Yt(r)?function O(F,B){var _,K,X=[];for(var L in F)F.hasOwnProperty(L)&&!Tr(F[L])&&(Array.isArray(F[L])&&F[L].isCss||it(F[L])?X.push(Cr(L)+":",F[L],";"):Yt(F[L])?X.push.apply(X,O(F[L],L)):X.push(Cr(L)+": "+(_=L,(K=F[L])==null||typeof K=="boolean"||K===""?"":typeof K!="number"||K===0||_ in Wt||_.startsWith("--")?String(K).trim():K+"px")+";"));return B?[B+" {"].concat(X,["}"]):X}(r):r.toString()}var Or=function(r){return Array.isArray(r)&&(r.isCss=!0),r};function gt(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 it(r)||Yt(r)?Or(et(gr(Rt,[r].concat(n)))):n.length===0&&r.length===1&&typeof r[0]=="string"?r:Or(et(gr(r,n)))}var Vn=/invalid hook call/i,Gn=new Set,Hn=function(r,t){if(0)var n,s,c},nr=function(r,t,n){return n===void 0&&(n=Ye),r.theme!==n.theme&&r.theme||t||n.theme},fn=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,dn=/(^-|-$)/g;function sr(r){return r.replace(fn,"-").replace(dn,"")}var or=function(r){return _t(br(r)>>>0)};function Dt(r){return typeof r=="string"&&!0}var ir=function(r){return typeof r=="function"||typeof r=="object"&&r!==null&&!Array.isArray(r)},hn=function(r){return r!=="__proto__"&&r!=="constructor"&&r!=="prototype"};function gn(r,t,n){var s=r[n];ir(t)&&ir(s)?Pr(s,t):r[n]=t}function Pr(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 m=h[c];if(ir(m))for(var b in m)hn(b)&&gn(r,m[b],b)}return r}var tt=Ue().createContext(),Wn=tt.Consumer;function Kn(r){var t=qe(tt),n=Be(function(){return function(s,c){if(!s)return De(14);if(it(s)){var h=s(c);return h}return Array.isArray(s)||typeof s!="object"?De(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 ar={};function Ir(r,t,n){var s=Zt(r),c=!Dt(r),h=t.attrs,m=h===void 0?Rt:h,b=t.componentId,S=b===void 0?function(W,be){var fe=typeof W!="string"?"sc":sr(W);ar[fe]=(ar[fe]||0)+1;var ge=fe+"-"+or("5.3.11"+fe+ar[fe]);return be?be+"-"+ge:ge}(t.displayName,t.parentComponentId):b,A=t.displayName,O=A===void 0?function(W){return Dt(W)?"styled."+W:"Styled("+Xt(W)+")"}(r):A,F=t.displayName&&t.componentId?sr(t.displayName)+"-"+t.componentId:t.componentId||S,B=s&&r.attrs?Array.prototype.concat(r.attrs,m).filter(Boolean):m,_=t.shouldForwardProp;s&&r.shouldForwardProp&&(_=t.shouldForwardProp?function(W,be,fe){return r.shouldForwardProp(W,be,fe)&&t.shouldForwardProp(W,be,fe)}:r.shouldForwardProp);var K,X=new nn(n,F,s?r.componentStyle:void 0),L=X.isStatic&&m.length===0,ne=function(W,be){return function(fe,ge,Ze,lt){var $e=fe.attrs,Ve=fe.componentStyle,Je=fe.defaultProps,ut=fe.foldedComponentIds,je=fe.shouldForwardProp,Le=fe.styledComponentId,Ge=fe.target,Oe=function(V,y,q){V===void 0&&(V=Ye);var C=Ie({},y,{theme:V}),he={};return q.forEach(function(ee){var se,G,we,Pe=ee;for(se in it(Pe)&&(Pe=Pe(C)),Pe)C[se]=he[se]=se==="className"?(G=he[se],we=Pe[se],G&&we?G+" "+we:G||we):Pe[se]}),[C,he]}(nr(ge,(0,Ee.useContext)(tt),Je)||Ye,ge,$e),mt=Oe[0],Ne=Oe[1],Fe=function(V,y,q,C){var he=rr(),ee=Ar(),se=y?V.generateAndInjectStyles(Ye,he,ee):V.generateAndInjectStyles(q,he,ee);return se}(Ve,lt,mt,void 0),vt=Ze,pt=Ne.$as||ge.$as||Ne.as||ge.as||Ge,yt=Dt(pt),R=Ne!==ge?Ie({},ge,{},Ne):ge,P={};for(var I in R)I[0]!=="$"&&I!=="as"&&(I==="forwardedAs"?P.as=R[I]:(je?je(I,dt,pt):!yt||dt(I))&&(P[I]=R[I]));return ge.style&&Ne.style!==ge.style&&(P.style=Ie({},ge.style,{},Ne.style)),P.className=Array.prototype.concat(ut,Le,Fe!==Le?Fe:null,ge.className,Ne.className).filter(Boolean).join(" "),P.ref=vt,(0,Ee.createElement)(pt,P)}(K,W,be,L)};return ne.displayName=O,(K=Ue().forwardRef(ne)).attrs=B,K.componentStyle=X,K.displayName=O,K.shouldForwardProp=_,K.foldedComponentIds=s?Array.prototype.concat(r.foldedComponentIds,r.styledComponentId):Rt,K.styledComponentId=F,K.target=s?r.target:r,K.withComponent=function(W){var be=t.componentId,fe=function(Ze,lt){if(Ze==null)return{};var $e,Ve,Je={},ut=Object.keys(Ze);for(Ve=0;Ve<ut.length;Ve++)$e=ut[Ve],lt.indexOf($e)>=0||(Je[$e]=Ze[$e]);return Je}(t,["componentId"]),ge=be&&be+"-"+(Dt(W)?W:sr(Xt(W)));return Ir(W,Ie({},fe,{attrs:B,componentId:ge}),n)},Object.defineProperty(K,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(W){this._foldedDefaultProps=s?Pr({},r.defaultProps,W):W}}),Object.defineProperty(K,"toString",{value:function(){return"."+K.styledComponentId}}),c&&Kt()(K,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),K}var jr=function(r){return function t(n,s,c){if(c===void 0&&(c=Ye),!(0,We.isValidElementType)(s))return De(1,String(s));var h=function(){return n(s,c,gt.apply(void 0,arguments))};return h.withConfig=function(m){return t(n,s,Ie({},c,{},m))},h.attrs=function(m){return t(n,s,Ie({},c,{attrs:Array.prototype.concat(c.attrs,m).filter(Boolean)}))},h}(Ir,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){jr[r]=jr(r)});var mn=function(){function r(n,s){this.rules=n,this.componentId=s,this.isStatic=xr(n),at.registerId(this.componentId+1)}var t=r.prototype;return t.createStyles=function(n,s,c,h){var m=h(et(this.rules,s,c,h).join(""),""),b=this.componentId+n;c.insertRules(b,b,m)},t.removeStyles=function(n,s){s.clearRules(this.componentId+n)},t.renderStyles=function(n,s,c,h){n>2&&at.registerId(this.componentId+n),this.removeStyles(n,c),this.createStyles(n,s,c,h)},r}();function Yn(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=gt.apply(void 0,[r].concat(n)),h="sc-global-"+or(JSON.stringify(c)),m=new mn(c,h);function b(A){var O=rr(),F=Ar(),B=qe(tt),_=Ur(O.allocateGSInstance(h)).current;return O.server&&S(_,A,O,B,F),zr(function(){if(!O.server)return S(_,A,O,B,F),function(){return m.removeStyles(_,O)}},[_,A,O,B,F]),null}function S(A,O,F,B,_){if(m.isStatic)m.renderStyles(A,Gr,F,_);else{var K=Ie({},O,{theme:nr(O,B,b.defaultProps)});m.renderStyles(A,K,F,_)}}return Me.memo(b)}function Xn(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=gt.apply(void 0,[r].concat(n)).join(""),h=or(c);return new Er(h,c)}var Zn=function(){function r(){var n=this;this._emitSheetCSS=function(){var s=n.instance.toString();if(!s)return"";var c=Qt();return"<style "+[c&&'nonce="'+c+'"',Xe+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+s+"</style>"},this.getStyleTags=function(){return n.sealed?De(2):n._emitSheetCSS()},this.getStyleElement=function(){var s;if(n.sealed)return De(2);var c=((s={})[Xe]="",s["data-styled-version"]="5.3.11",s.dangerouslySetInnerHTML={__html:n.instance.toString()},s),h=Qt();return h&&(c.nonce=h),[Ue().createElement("style",Ie({},c,{key:"sc-0-0"}))]},this.seal=function(){n.sealed=!0},this.instance=new at({isServer:!0}),this.sealed=!1}var t=r.prototype;return t.collectStyles=function(n){return this.sealed?De(2):Ue().createElement(an,{sheet:this.instance},n)},t.interleaveWithNodeStream=function(n){return De(3)},r}(),Jn=function(r){var t=Me.forwardRef(function(n,s){var c=qe(tt),h=r.defaultProps,m=nr(n,c,h);return Me.createElement(r,Ie({},n,{theme:m,ref:s}))});return Br(t,r),t.displayName="WithTheme("+Xt(r)+")",t},Qn=function(){return qe(tt)},_n={StyleSheet:at,masterSheet:Sr};const qn=null,vn=r=>Object.keys(r).reduce((t,n)=>(t[n]=(s,...c)=>gt`
|
|
20
12
|
@media (max-width: ${r[n]}) {
|
|
21
|
-
${
|
|
13
|
+
${gt(s,...c)};
|
|
22
14
|
}
|
|
23
|
-
`,t),{}),mn=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:gn({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]}}),vn=((r=re())=>()=>mn(r))(),qn=()=>{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)}),jr=r=>Number(r.replace("px","")),Rr=()=>{const{width:r}=lr(),{breakpoints:t}=vn();return r<=jr(t.small)?"small":r<=jr(t.medium)?"medium":"large"},yn="microFrontendApps",bn=()=>!0,wn=r=>bn()?!0:String(r).toLowerCase()===V.PRODUCTION.toLowerCase(),xn=r=>r?new URL(r).pathname:"",Sn=r=>{const t=document.createElement("a");return t.href=r,t.href},An=(r,t)=>{const n=t.match(/^(?:\d+\.\d+)*/g);return r.replace(/{SYSTEM_VERSION}/,n&&n[0]||S)},$r=r=>!r||!r.length?!1:r.every(t=>typeof t=="string"),En=(r,t)=>{const{mode:n=V.PRODUCTION}=t;if(String(n).toLowerCase()!==V.PRODUCTION.toLowerCase()&&String(n).toLowerCase()!==V.DEVELOPMENT.toLowerCase())throw new Error(`invalid mode '${String(n)}' for ${r}`);const{production:o,development:c,microappManager:h=ne.APPSDK}=t;if(String(h).toLowerCase()===ne.APPSDK.toLowerCase()){if(String(n).toLowerCase()===V.PRODUCTION.toLowerCase()){if(!o)throw new Error(`microFrontendApps.${r} is missing production section in app.config.json`);if(!$r(o.files))throw new Error("invalid value for production.files")}if(String(n).toLowerCase()===V.DEVELOPMENT.toLowerCase()){if(!c)throw new Error(`microFrontendApps.${r} is missing development section in app.config.json`);if(!$r(c.files))throw new Error("invalid value for development.files")}}},Cn=({id:r,config:t,version:n="latest"})=>{const{mode:o=V.PRODUCTION,production:c,development:h,...m}=t,w=wn(o)?c:h,A=v()({id:r},{name:r,mode:V.PRODUCTION,manifestPath:"./{SYSTEM_VERSION}/",securityContext:s.USER,isJsModule:!0},m,{mode:o},w);return A.hostUrl=k(Sn(A.hostUrl||"")),A.homeRoute=k(A.homeRoute)||xn(A.hostUrl),A.manifestPath=k(An(A.manifestPath,n)),A};class Tn{#e=[];init=({version:t,appConfig:n})=>{const o=n.get(yn);o&&(this.#e=Object.keys(o).map(c=>(En(c,o[c]),Cn({id:c,config:o[c],version:t}))))};getConfigById=t=>this.#e.find(n=>n.id===t)}const On="ice-script-";class Mr{#e;constructor(t){this.#e=t}#t=({href:t,isESMModule:n=!0,documentEle:o})=>{const c=o.createElement("link");c.rel=n?"modulepreload":"preload",c.href=t,c.crossOrigin="anonymous",n||(c.as="script"),o.head.appendChild(c)};#r=({id:t,href:n,documentEle:o,isESMModule:c=!0})=>new Promise((h,m)=>{const w=o.createElement("script");w.id=t,w.src=O(n),w.crossOrigin="anonymous",w.nonce="__CSP_NONCE__",!D()&&c?w.type="module":w.async=!1,w.onload=h.bind(null,w.id),w.onerror=A=>{this.#e.error({message:`Error loading script ${w.src}`,exception:new Error(A)}),m(new Error(`Unable to load script ${w.src}`,{cause:new Error(A)}))},o.head.appendChild(w)});load=async(t,n)=>{const{documentEle:o,isESMModule:c}=n,h=/^https?:\/\//i,{cdnAssets:m,nonCdnAssets:w}=t.reduce((A,C,I)=>{const L=`${On}${n.name.toLowerCase()}-${I}`;if(h.test(C))A.cdnAssets.push({id:L,href:C}),this.#t({href:C,documentEle:o,isESMModule:c});else{const H=new URL(C,n.hostUrl);A.nonCdnAssets.push({id:L,href:H.href}),this.#t({href:H.href,documentEle:o,isESMModule:c})}return A},{cdnAssets:[],nonCdnAssets:[]});for(const{href:A,id:C}of[...m,...w])await this.#r({id:C,href:A,documentEle:o,isESMModule:c});return[...m,...w].map(A=>A.id)};remove=(t="",n=document)=>new Promise(o=>{const c=n.getElementById(t);if(!c){this.#e.warn(`script with id ${t} not found`),o();return}c.remove(),o()});removeDynamicImportedScripts=(t,n)=>{const o=new RegExp(U(t),"i"),c=n.getElementsByTagName("script");for(let h=c.length-1;h>=0;h-=1){const m=c[h],{src:w}=m;o.test(w)&&m.remove()}};removePrefetchLinks=(t,n)=>{const o=new RegExp(U(t),"i"),c=n.querySelectorAll('[rel="prefetch"]');for(let h=c.length-1;h>=0;h-=1){const m=c[h],{href:w}=m;o.test(w)&&m.remove()}}}const Pn="ice-style-";class kr{#e;constructor(t){this.#e=t}#t=({id:t,href:n,documentEle:o})=>new Promise((c,h)=>{const m=o.createElement("link");m.id=t,m.nonce="__CSP_NONCE__",m.rel="stylesheet",m.href=O(n),m.onload=c.bind(null,m.id),m.onerror=w=>{this.#e.error({message:`Error loading stylesheet ${m.href}`,exception:new Error(w)}),h(new Error(`Unable to load stylesheet ${m.href}`,{cause:new Error(w)}))},o.head.appendChild(m)});load=async(t,n)=>{const o=[],c=t.map((h,m)=>{const w=new URL(h,n.hostUrl),A=`${Pn}${n.name.toLowerCase()}-${m}`;return o.push(A),this.#t({id:A,href:w.href,documentEle:n.documentEle})});return await Promise.all(c),o};remove=(t="",n=document)=>new Promise(o=>{const c=n.getElementById(t);if(!c){this.#e.warn(`style with id ${t} not found`),o();return}c.remove(),o()});removeDynamicImportedStyles=(t,n)=>{const o=new RegExp(U(t),"i"),c=n.querySelectorAll('[rel="stylesheet"]');for(let h=c.length-1;h>=0;h-=1){const m=c[h],{href:w}=m;o.test(w)&&m.remove()}}}const In=r=>r.replace(/\/\d+\.\d+/,"/latest"),jn=r=>{let t;try{t=new URL(r)}catch{return!1}return t.protocol==="http:"||t.protocol==="https:"},ur=new Map,Fr={get:async({hostUrl:r,manifestPath:t})=>{const n=new URL(`${t}manifest.json`,r),o=O(n.href),c=ur.get(o);if(c)return c;const h=async m=>{const w=await fetch(m);if(!w.ok)throw new Error(`unable to get manifest ${m}`);if(!(w.headers?.get?.("content-type")??"").includes("application/json"))throw new Error(`manifest ${m} is not a valid json`);const C=await w.json();return ur.set(m,C),C};try{return await h(o)}catch(m){const w=In(t);if(t!==w){const A=O(new URL(`${w}manifest.json`,r).href);return await h(A)}throw m}},getFullFileNameofAssets:(r,t=[])=>t.reduce((n,o)=>{const c=r[o];if(c)n.push(c);else if(jn(o))n.push(o);else throw new Error(`unable to locate ${o} in manifest`);return n},[]),clearCache:()=>ur.clear()};class Rn{#e;#t;#r;#s;#n;constructor(t){this.#t=t.guest,this.#e=t.containerId,this.#r=t?.version||S,this.#s=t.soManager,this.#n=t.eventManager}get version(){return this.#r}getObject=t=>{try{const n=this.#s.getObject(t,this.#t);if(!n)return Promise.resolve(null);const o=new be(n.id,n.objectType);return Object.keys(n).forEach(c=>{const h=n[c];h instanceof le?Object.defineProperty(o,c,{value:new le({name:c,objectId:n.id}),enumerable:!0}):ee(h,c)&&Object.defineProperty(o,c,{value:(...m)=>{const w=o[c]?.callContext?.callChain;return Object.defineProperty(h,"callContext",{value:{guest:this.#t,...w?.length?{callChain:w}:{}},configurable:!0,enumerable:!0,writable:!0}),n[c](...m)},enumerable:!0})}),Promise.resolve(o)}catch(n){return Promise.reject(n)}};setAppWindowSize=t=>{if(!this.#e)return;const{size:n}=t,o=document.getElementById(this.#e);o&&(o.style.height=`${n.height}px`,o.style.width=`${n.width}px`)};subscribe=t=>this.#n.subscribe(t);unsubscribe=t=>{this.#n.unsubscribe(t)}}class $n{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 o=window.emui[t].findIndex(c=>c.uuid===n.uuid);o>-1?window.emui[t][o]=n:window.emui[t].push(n)}else{let o=window.emui[t];o?.uuid===n.uuid?(o={...o,...n},window.emui[t]=[o]):typeof o.init>"u"?window.emui[t]=[{...o,...n}]:window.emui[t]=[window.emui[t],n]}};get=({id:t,instanceId:n})=>{const o=window.emui?.[t];return Array.isArray(o)?o.find(h=>h.uuid===n)??null:o?.uuid===n?o:null};add=({id:t,instanceId:n,documentEle:o})=>{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],o.defaultView&&(o.defaultView.emui=o.defaultView.emui??{},o.defaultView.emui.uuid=n)};delete=({id:t,instanceId:n})=>{if(Array.isArray(window.emui[t])){const o=window.emui[t].findIndex(c=>c.uuid===n);o>-1&&window.emui[t].splice(o,1),window.emui[t].length===0&&delete window.emui[t]}else delete window.emui[t]}}const Mn=12e4,Dr=["click","scroll","keypress","touchstart"],kn=/\.css$/,Lr=r=>kn.test(r);class Fn{#e;#t;#r;#s;#n;#a=new Tn;#o;#l;#i=new Map;#u=new Map;#c=new $n;#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 Mr(n),this.#s=new kr(n),this.#o=new xe,this.#l=new Ht(this.#e)}#g(t){return typeof t=="function"}#m=t=>t instanceof E||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:o}=this.#i.get(t)||{};o&&o.forEach(c=>{const h=n.getElementById(c);h&&h.remove()})};#b=({id:t,instanceId:n,documentEle:o,elementIds:c})=>{const h=this.#c.get({id:t,instanceId:n});if(!h)throw new Error(this.#v(t,n));this.#i.set(n,{id:t,instanceId:n,elementIds:c,guest:{guestWindow:o?.defaultView,...h}})};#w=async({id:t,instanceId:n,containerId:o,hostUrl:c,manifestPath:h,homeRoute:m,initialRoute:w,history:A,theme:C})=>{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 L=new Rn({guest:{id:t},version:this.#t,containerId:o,logger:this.#e,soManager:this.#o,eventManager:this.#l});return I.init({host:L,hostUrl:c,manifestPath:h,homeRoute:m,initialRoute:w,prevState:null,history:A,theme:C,hostBreakpoint:Rr(),hostViewportSize:lr(),logger:this.#e})};#x=async t=>{try{const{id:n,instanceId:o,files:c,name:h,hostUrl:m,documentEle:w,isJsModule:A}=t;this.#e.debug(`Application ${n} with instance id ${o} is loading...`);let C=c;const I=await Fr.get(t);C=Fr.getFullFileNameofAssets(I,c);const L=C.filter(z=>Lr(z)),H=C.filter(z=>!Lr(z)),se={name:h,hostUrl:m,documentEle:w,isESMModule:A},[Z,Q]=await Promise.all([this.#s.load(L,se),this.#r.load(H,se)]);this.#b({id:n,instanceId:o,documentEle:w,elementIds:[...Z,...Q]}),await this.#w(t),this.#e.audit(`Application ${n} with instance id ${o} loaded`)}catch(n){const o=`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:o,appId:t.id,exception:n}),new Error(o)}};#f=({id:t,instanceId:n,hostUrl:o,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(o,c),this.#r.removePrefetchLinks(o,c),this.#s.removeDynamicImportedStyles(o,c),this.#c.delete({id:t,instanceId:n}),this.#e.audit(`Application ${t} with instance id ${n} unloaded`))};#d=async({id:t,instanceId:n})=>{const o=this.#c.get({id:t,instanceId:n});if(!o?.mount||typeof o?.mount!="function")throw new Error(`Application ${t} with instance id ${n} doesn't expose mount method`);return o.mount({containerId:`${St}${t}`,hostBreakpoint:Rr(),hostViewportSize:lr()})};#h=({id:t,instanceId:n})=>{const o=this.#c.get({id:t,instanceId:n});if(!o?.unmount)return null;if(typeof o.unmount!="function")throw new Error(`Application ${t} with instance id ${n} doesn't expose unmount method`);return o.unmount({containerId:`${St}${t}`})};#S=({id:t,instanceId:n})=>{if(this.#p)try{const o=this.#o.getObject(te.Application);if(!o){this.#e.warn({message:`Application scripting object not available for ${t} to manage session`});return}const c=this.#i.get(n);if(!c)return;c.keepAlive=G()(async()=>{try{await o.keepSessionAlive()}catch(m){this.#e.error(`Error keeping session alive. ${m.message}`)}},Mn);const h=Ge.get(n);Dr.forEach(m=>{h?.contentDocument?.addEventListener(m,c.keepAlive)})}catch(o){this.#e.warn({message:`Application scripting object not available for ${t} to manage session`,exception:o})}};#A=t=>{if(!this.#p||!t)return;const{keepAlive:n,instanceId:o}=t;if(n){const h=Ge.get(o)?.contentDocument;h&&Dr.forEach(m=>{h.removeEventListener(m,n)}),t.keepAlive?.cancel()}};addScriptingObject=(t,n)=>{if(Fe(t)){const o=this.cloneScriptingObject(t);this.#o.addScriptingObject(o,n)}else this.#o.addScriptingObject(t,n)};cloneScriptingObject=t=>{if(!t)throw new Error("proxy is required");const n=new me(t.id,t.objectType);let o=[];return Object.keys(t).forEach(c=>{const h=t[c];if(this.#m(h)){const m=new le({name:h.name||c,objectId:n.id});Object.defineProperty(n,c,{value:m,enumerable:!0});const w=({eventParams:C,eventOptions:I})=>this.dispatchEvent({event:m,eventParams:C,eventOptions:I}),A=h.subscribe(w);o.push(()=>{h.unsubscribe(A)})}else if(this.#g(h)&&(Object.defineProperty(n,c,{value:async(...m)=>{const w=n[c]?.callContext;if(w?.guest){const C=w.callChain??[],I=w.guest.id,L=this.#u.get(I),H={id:I};L&&(H.metadata=L),Object.defineProperty(h,"callContext",{value:{callChain:[...C,H]},configurable:!0,enumerable:!0,writable:!0})}const A=await h(...m);return Fe(A)?this.cloneScriptingObject(A):A},enumerable:!0}),c==="dispose")){const m=n.dispose;Object.defineProperty(n,c,{value:()=>(n._dispose(),m.apply(n)),enumerable:!0})}}),n._dispose=()=>{o.forEach(c=>{c?.()}),o=[]},n};closeAllApps=async()=>{await Promise.all([...this.#i.keys()].map(this.closeApp))};closeApp=async t=>{if(!t)throw new Error("instanceId is required");const n=this.#i.get(t);if(!n){this.#e.warn(`Application with instance id ${t} is not found`);return}const{id:o}=n,c=this.#a.getConfigById(o);if(!c){this.#e.warn(`Configuration for application ${o} is not found`),this.#i.delete(t),Ge.remove(t);return}const{hostUrl:h}=c;try{this.#A(n),await this.#h({id:o,instanceId:t})}finally{const m=Ge.get(t);m?.contentDocument&&this.#f({id:o,instanceId:t,hostUrl:h,documentEle:m.contentDocument}),this.#i.delete(t),this.#u.delete(o),Ge.remove(t)}};dispatchEvent=async t=>{const{event:{id:n,name:o},eventOptions:c={}}=t,{guestId:h}=c;if(!n)throw new Error("Event Id is required");const m=n.split(".")?.[0],w=h?this.#o.getObject(m,{id:h}):this.#o.getObject(m);return w?this.#l.dispatchEvent(w,t):(this.#e.warn(`Attempt to dispatch event ${o} on unknown object ${m}`),Promise.resolve())};getApp=t=>this.#i.get(t)?.guest;getApps=()=>[...this.#i.values()].map(t=>t.guest);init=async()=>{await this.#n.load(),this.#a.init({version:this.#t,appConfig:this.#n})};mountApp=async t=>{if(!t)throw new Error("instanceId is required");const{id:n}=this.#i.get(t)||{};if(!n)throw new Error(`Application with instance id ${t} is not found`);const o=this.#a.getConfigById(n);if(!o)throw new Error(`Application with id ${n} is not found`);await this.#d({...o,instanceId:t})};openApp=async t=>{const{id:n,frameOptions:o,history:c,theme:h,homeRoute:m,initialRoute:w,metadata:A}=t,C=oe();A&&this.#u.set(n,A);const I=this.#a.getConfigById(n);if(!I)throw new Error(`Application ${n} is not found in app config`);const L=await Ge.create({id:n,instanceId:C,manifestPath:I.manifestPath,hostUrl:I.hostUrl,options:{title:I.name,...o}});if(!L?.contentDocument)throw new Error("unable to create iframe for the microapp");try{return this.#c.add({id:n,instanceId:C,documentEle:L.contentDocument}),await this.#x({instanceId:C,history:c,theme:h,documentEle:L.contentDocument,containerId:o?.containerId,...I,homeRoute:m??I.homeRoute,initialRoute:w}),await this.#d({instanceId:C,...I}),this.#S({id:n,instanceId:C}),C}catch(H){throw this.#f({id:n,instanceId:C,hostUrl:I.hostUrl,documentEle:L.contentDocument}),Ge.remove(C),H}};removeAllEventSubscriptions=()=>{this.#l.unsubscribeAll()};removeAllScriptingObjects=t=>{this.#o.removeAllScriptingObjects(t)};removeScriptingObject=(t,n)=>{this.#o.removeScriptingObject(t,n)};unmountApp=async t=>{if(!t)throw new Error("instanceId is required");const{id:n}=this.#i.get(t)||{};if(!n)throw new Error(`Application with instance id ${t} is not found`);const o=this.#a.getConfigById(n);if(!o)throw new Error(`Application with id ${n} is not found`);await this.#h({...o,instanceId:t})}}})(),Gt})());
|
|
15
|
+
`,t),{}),yn=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:vn({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]}}),bn=((r=Q())=>()=>yn(r))(),ts=()=>{try{return window.parent.document,window.parent}catch{return window}},cr=()=>({width:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}),Rr=r=>Number(r.replace("px","")),Mr=()=>{const{width:r}=cr(),{breakpoints:t}=bn();return r<=Rr(t.small)?"small":r<=Rr(t.medium)?"medium":"large"},xn="microFrontendApps",wn=()=>!0,Sn=r=>wn()?!0:String(r).toLowerCase()===U.PRODUCTION.toLowerCase(),An=r=>r?new URL(r).pathname:"",En=r=>{const t=document.createElement("a");return t.href=r,t.href},Cn=(r,t)=>{const n=t.match(/^(?:\d+\.\d+)*/g);return r.replace(/{SYSTEM_VERSION}/,n&&n[0]||w)},$r=r=>!r||!r.length?!1:r.every(t=>typeof t=="string"),Tn=(r,t)=>{const{mode:n=U.PRODUCTION}=t;if(String(n).toLowerCase()!==U.PRODUCTION.toLowerCase()&&String(n).toLowerCase()!==U.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()===U.PRODUCTION.toLowerCase()){if(!s)throw new Error(`microFrontendApps.${r} is missing production section in app.config.json`);if(!$r(s.files))throw new Error("invalid value for production.files")}if(String(n).toLowerCase()===U.DEVELOPMENT.toLowerCase()){if(!c)throw new Error(`microFrontendApps.${r} is missing development section in app.config.json`);if(!$r(c.files))throw new Error("invalid value for development.files")}}},On=({id:r,config:t,version:n="latest"})=>{const{mode:s=U.PRODUCTION,production:c,development:h,...m}=t,b=Sn(s)?c:h,S=v()({id:r},{name:r,mode:U.PRODUCTION,manifestPath:"./{SYSTEM_VERSION}/",securityContext:o.USER,isJsModule:!0},m,{mode:s},b);return S.hostUrl=$(En(S.hostUrl||"")),S.homeRoute=$(S.homeRoute)||An(S.hostUrl),S.manifestPath=$(Cn(S.manifestPath,n)),S};class Pn{#e=[];init=({version:t,appConfig:n})=>{const s=n.get(xn);s&&(this.#e=Object.keys(s).map(c=>(Tn(c,s[c]),On({id:c,config:s[c],version:t}))))};getConfigById=t=>this.#e.find(n=>n.id===t)}const In="ice-script-";class Fr{#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,m)=>{const b=s.createElement("script");b.id=t,b.src=T(n),b.crossOrigin="anonymous",b.nonce="__CSP_NONCE__",!D()&&c?b.type="module":b.async=!1,b.onload=h.bind(null,b.id),b.onerror=S=>{this.#e.error({message:`Error loading script ${b.src}`,exception:new Error(S)}),m(new Error(`Unable to load script ${b.src}`,{cause:new Error(S)}))},s.head.appendChild(b)});load=async(t,n)=>{const{documentEle:s,isESMModule:c}=n,h=/^https?:\/\//i,{cdnAssets:m,nonCdnAssets:b}=t.reduce((S,A,O)=>{const F=`${In}${n.name.toLowerCase()}-${O}`;if(h.test(A))S.cdnAssets.push({id:F,href:A}),this.#t({href:A,documentEle:s,isESMModule:c});else{const B=new URL(A,n.hostUrl);S.nonCdnAssets.push({id:F,href:B.href}),this.#t({href:B.href,documentEle:s,isESMModule:c})}return S},{cdnAssets:[],nonCdnAssets:[]});for(const{href:S,id:A}of[...m,...b])await this.#r({id:A,href:S,documentEle:s,isESMModule:c});return[...m,...b].map(S=>S.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(z(t),"i"),c=n.getElementsByTagName("script");for(let h=c.length-1;h>=0;h-=1){const m=c[h],{src:b}=m;s.test(b)&&m.remove()}};removePrefetchLinks=(t,n)=>{const s=new RegExp(z(t),"i"),c=n.querySelectorAll('[rel="prefetch"]');for(let h=c.length-1;h>=0;h-=1){const m=c[h],{href:b}=m;s.test(b)&&m.remove()}}}const jn="ice-style-";class Dr{#e;constructor(t){this.#e=t}#t=({id:t,href:n,documentEle:s})=>new Promise((c,h)=>{const m=s.createElement("link");m.id=t,m.nonce="__CSP_NONCE__",m.rel="stylesheet",m.href=T(n),m.onload=c.bind(null,m.id),m.onerror=b=>{this.#e.error({message:`Error loading stylesheet ${m.href}`,exception:new Error(b)}),h(new Error(`Unable to load stylesheet ${m.href}`,{cause:new Error(b)}))},s.head.appendChild(m)});load=async(t,n)=>{const s=[],c=t.map((h,m)=>{const b=new URL(h,n.hostUrl),S=`${jn}${n.name.toLowerCase()}-${m}`;return s.push(S),this.#t({id:S,href:b.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(z(t),"i"),c=n.querySelectorAll('[rel="stylesheet"]');for(let h=c.length-1;h>=0;h-=1){const m=c[h],{href:b}=m;s.test(b)&&m.remove()}}}const Rn=r=>r.replace(/\/\d+\.\d+/,"/latest"),Mn=r=>{let t;try{t=new URL(r)}catch{return!1}return t.protocol==="http:"||t.protocol==="https:"},lr=new Map,Lr={get:async({hostUrl:r,manifestPath:t})=>{const n=new URL(`${t}manifest.json`,r),s=T(n.href),c=lr.get(s);if(c)return c;const h=async m=>{const b=await fetch(m);if(!b.ok)throw new Error(`unable to get manifest ${m}`);if(!(b.headers?.get?.("content-type")??"").includes("application/json"))throw new Error(`manifest ${m} is not a valid json`);const A=await b.json();return lr.set(m,A),A};try{return await h(s)}catch(m){const b=Rn(t);if(t!==b){const S=T(new URL(`${b}manifest.json`,r).href);return await h(S)}throw m}},getFullFileNameofAssets:(r,t=[])=>t.reduce((n,s)=>{const c=r[s];if(c)n.push(c);else if(Mn(s))n.push(s);else throw new Error(`unable to locate ${s} in manifest`);return n},[]),clearCache:()=>lr.clear()};class $n{#e;#t;#r;#o;#n;constructor(t){this.#t=t.guest,this.#e=t.containerId,this.#r=t?.version||w,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 Vt(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:(...m)=>{const b=s[c]?.callContext?.callChain;return Object.defineProperty(h,"callContext",{value:{guest:this.#t,...b?.length?{callChain:b}:{}},configurable:!0,enumerable:!0,writable:!0}),n[c](...m)},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 Fn{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 Dn=12e4,Nr=["click","scroll","keypress","touchstart"],Ln=/\.css$/,kr=r=>Ln.test(r);class Nn{#e;#t;#r;#o;#n;#a=new Pn;#s;#l;#i=new Map;#u=new Map;#c=new Fn;#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 j({version:t.version,baseUrl:t.appConfigBaseUrl}),this.#r=new Fr(n),this.#o=new Dr(n),this.#s=new Bt,this.#l=new Gt(this.#e)}#g(t){return typeof t=="function"}#m=t=>t instanceof E||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.#i.get(t)||{};s&&s.forEach(c=>{const h=n.getElementById(c);h&&h.remove()})};#b=({id:t,instanceId:n,documentEle:s,elementIds:c})=>{const h=this.#c.get({id:t,instanceId:n});if(!h)throw new Error(this.#v(t,n));this.#i.set(n,{id:t,instanceId:n,elementIds:c,guest:{guestWindow:s?.defaultView,...h}})};#x=async({id:t,instanceId:n,containerId:s,hostUrl:c,manifestPath:h,homeRoute:m,initialRoute:b,history:S,theme:A})=>{const O=this.#c.get({id:t,instanceId:n});if(!O)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(!O.init||typeof O.init!="function")throw new Error(`Application ${t} with instance id ${n} doesn't expose init method`);const F=new $n({guest:{id:t},version:this.#t,containerId:s,logger:this.#e,soManager:this.#s,eventManager:this.#l});return O.init({host:F,hostUrl:c,manifestPath:h,homeRoute:m,initialRoute:b,prevState:null,history:S,theme:A,hostBreakpoint:Mr(),hostViewportSize:cr(),logger:this.#e})};#w=async t=>{try{const{id:n,instanceId:s,files:c,name:h,hostUrl:m,documentEle:b,isJsModule:S}=t;this.#e.debug(`Application ${n} with instance id ${s} is loading...`);let A=c;const O=await Lr.get(t);A=Lr.getFullFileNameofAssets(O,c);const F=A.filter(L=>kr(L)),B=A.filter(L=>!kr(L)),_={name:h,hostUrl:m,documentEle:b,isESMModule:S},[K,X]=await Promise.all([this.#o.load(F,_),this.#r.load(B,_)]);this.#b({id:n,instanceId:s,documentEle:b,elementIds:[...K,...X]}),await this.#x(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)}};#f=({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`))};#d=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:Mr(),hostViewportSize:cr()})};#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(Et.Application);if(!s){this.#e.warn({message:`Application scripting object not available for ${t} to manage session`});return}const c=this.#i.get(n);if(!c)return;c.keepAlive=H()(async()=>{try{await s.keepSessionAlive()}catch(m){this.#e.error(`Error keeping session alive. ${m.message}`)}},Dn);const h=Re.get(n);Nr.forEach(m=>{h?.contentDocument?.addEventListener(m,c.keepAlive)})}catch(s){this.#e.warn({message:`Application scripting object not available for ${t} to manage session`,exception:s})}};#A=t=>{if(!this.#p||!t)return;const{keepAlive:n,instanceId:s}=t;if(n){const h=Re.get(s)?.contentDocument;h&&Nr.forEach(m=>{h.removeEventListener(m,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 de(t.id,t.objectType);let s=[];return Object.keys(t).forEach(c=>{const h=t[c];if(this.#m(h)){const m=new ae({name:h.name||c,objectId:n.id});Object.defineProperty(n,c,{value:m,enumerable:!0});const b=({eventParams:A,eventOptions:O})=>this.dispatchEvent({event:m,eventParams:A,eventOptions:O}),S=h.subscribe(b);s.push(()=>{h.unsubscribe(S)})}else if(this.#g(h)&&(Object.defineProperty(n,c,{value:async(...m)=>{const b=n[c]?.callContext;if(b?.guest){const A=b.callChain??[],O=b.guest.id,F=this.#u.get(O),B={id:O};F&&(B.metadata=F),Object.defineProperty(h,"callContext",{value:{callChain:[...A,B]},configurable:!0,enumerable:!0,writable:!0})}const S=await h(...m);return Tt(S)?this.cloneScriptingObject(S):S},enumerable:!0}),c==="dispose")){const m=n.dispose;Object.defineProperty(n,c,{value:()=>(n._dispose(),m.apply(n)),enumerable:!0})}}),n._dispose=()=>{s.forEach(c=>{c?.()}),s=[]},n};closeAllApps=async()=>{await Promise.all([...this.#i.keys()].map(this.closeApp))};closeApp=async t=>{if(!t)throw new Error("instanceId is required");const n=this.#i.get(t);if(!n){this.#e.warn(`Application with instance id ${t} is not found`);return}const{id:s}=n,c=this.#a.getConfigById(s);if(!c){this.#e.warn(`Configuration for application ${s} is not found`),this.#i.delete(t),Re.remove(t);return}const{hostUrl:h}=c;try{this.#A(n),await this.#h({id:s,instanceId:t})}finally{const m=Re.get(t);m?.contentDocument&&this.#f({id:s,instanceId:t,hostUrl:h,documentEle:m.contentDocument}),this.#i.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 m=n.split(".")?.[0],b=h?this.#s.getObject(m,{id:h}):this.#s.getObject(m);return b?this.#l.dispatchEvent(b,t):(this.#e.warn(`Attempt to dispatch event ${s} on unknown object ${m}`),Promise.resolve())};getApp=t=>this.#i.get(t)?.guest;getApps=()=>[...this.#i.values()].map(t=>t.guest);init=async()=>{await this.#n.load(),this.#a.init({version:this.#t,appConfig:this.#n})};mountApp=async t=>{if(!t)throw new Error("instanceId is required");const{id:n}=this.#i.get(t)||{};if(!n)throw new Error(`Application with instance id ${t} is not found`);const s=this.#a.getConfigById(n);if(!s)throw new Error(`Application with id ${n} is not found`);await this.#d({...s,instanceId:t})};openApp=async t=>{const{id:n,frameOptions:s,history:c,theme:h,homeRoute:m,initialRoute:b,metadata:S}=t,A=At();S&&this.#u.set(n,S);const O=this.#a.getConfigById(n);if(!O)throw new Error(`Application ${n} is not found in app config`);const F=await Re.create({id:n,instanceId:A,manifestPath:O.manifestPath,hostUrl:O.hostUrl,options:{title:O.name,...s}});if(!F?.contentDocument)throw new Error("unable to create iframe for the microapp");try{return this.#c.add({id:n,instanceId:A,documentEle:F.contentDocument}),await this.#w({instanceId:A,history:c,theme:h,documentEle:F.contentDocument,containerId:s?.containerId,...O,homeRoute:m??O.homeRoute,initialRoute:b}),await this.#d({instanceId:A,...O}),this.#S({id:n,instanceId:A}),A}catch(B){throw this.#f({id:n,instanceId:A,hostUrl:O.hostUrl,documentEle:F.contentDocument}),Re.remove(A),B}};removeAllEventSubscriptions=()=>{this.#l.unsubscribeAll()};removeAllScriptingObjects=t=>{this.#s.removeAllScriptingObjects(t)};removeScriptingObject=(t,n)=>{this.#s.removeScriptingObject(t,n)};unmountApp=async t=>{if(!t)throw new Error("instanceId is required");const{id:n}=this.#i.get(t)||{};if(!n)throw new Error(`Application with instance id ${t} is not found`);const s=this.#a.getConfigById(n);if(!s)throw new Error(`Application with id ${n} is not found`);await this.#h({...s,instanceId:t})}}})(),Nt})());
|
|
24
16
|
|
|
25
17
|
//# sourceMappingURL=index.js.map
|
package/dist/umd/index.js.br
CHANGED
|
Binary file
|
package/dist/umd/index.js.gz
CHANGED
|
Binary file
|