@perses-dev/markdown-plugin 0.10.0 → 0.11.0-beta.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.
Files changed (79) hide show
  1. package/__mf/css/async/442.d3010b86.css +1 -0
  2. package/__mf/css/async/61.d3010b86.css +1 -0
  3. package/__mf/css/async/823.d3010b86.css +1 -0
  4. package/__mf/js/Markdown.a2dd0f85.js +6 -0
  5. package/__mf/js/async/{964.beb665a6.js → 121.c4937021.js} +2 -2
  6. package/__mf/js/async/138.f8838514.js +10 -0
  7. package/__mf/js/async/{488.546e998c.js → 177.777d8108.js} +1 -1
  8. package/__mf/js/async/188.8fc0d073.js +139 -0
  9. package/__mf/js/async/192.0912c114.js +1 -0
  10. package/__mf/js/async/235.1c10569d.js +1 -0
  11. package/__mf/js/async/252.b328953d.js +22 -0
  12. package/__mf/js/async/274.6c3acee5.js +2 -0
  13. package/__mf/js/async/340.f2539096.js +1 -0
  14. package/__mf/js/async/356.f3cf0f3c.js +1 -0
  15. package/__mf/js/async/{930.db53c7df.js → 377.0c71c106.js} +1 -1
  16. package/__mf/js/async/392.dce6d4aa.js +2 -0
  17. package/__mf/js/async/43.c6917720.js +2 -0
  18. package/__mf/js/async/470.3c80236f.js +2 -0
  19. package/__mf/js/async/555.884213fc.js +7 -0
  20. package/__mf/js/async/{214.b38246fb.js → 587.7518b166.js} +1 -1
  21. package/__mf/js/async/588.2c2805ab.js +1 -0
  22. package/__mf/js/async/616.493454f5.js +1 -0
  23. package/__mf/js/async/680.c46cf75d.js +12 -0
  24. package/__mf/js/async/71.6cc63587.js +1 -0
  25. package/__mf/js/async/854.376fcae3.js +1 -0
  26. package/__mf/js/async/873.0132aafa.js +1 -0
  27. package/__mf/js/async/941.604b0645.js +2 -0
  28. package/__mf/js/async/{738.4e916d35.js → 968.91b15af4.js} +1 -1
  29. package/__mf/js/async/978.a0eec770.js +1 -0
  30. package/__mf/js/async/__federation_expose_Markdown.ef234cdc.js +1 -0
  31. package/__mf/js/async/lib-router.6de523a3.js +2 -0
  32. package/__mf/js/main.475b80fc.js +6 -0
  33. package/lib/MarkdownPanel.js +1 -1
  34. package/lib/MarkdownPanel.js.map +1 -1
  35. package/lib/bootstrap.js +1 -1
  36. package/lib/bootstrap.js.map +1 -1
  37. package/lib/cjs/index-federation.js +12 -12
  38. package/mf-manifest.json +33 -33
  39. package/mf-stats.json +33 -33
  40. package/package.json +4 -4
  41. package/__mf/css/async/263.73e51bf7.css +0 -1
  42. package/__mf/css/async/341.73e51bf7.css +0 -1
  43. package/__mf/css/async/759.73e51bf7.css +0 -1
  44. package/__mf/js/Markdown.3e1de05f.js +0 -5
  45. package/__mf/js/async/109.8f97b566.js +0 -73
  46. package/__mf/js/async/173.c0924ea0.js +0 -2
  47. package/__mf/js/async/224.a793324a.js +0 -1
  48. package/__mf/js/async/238.2981ce8e.js +0 -1
  49. package/__mf/js/async/260.ab68a4be.js +0 -1
  50. package/__mf/js/async/288.ed55d538.js +0 -7
  51. package/__mf/js/async/292.be7faa73.js +0 -1
  52. package/__mf/js/async/409.2abb1092.js +0 -1
  53. package/__mf/js/async/581.30edebe8.js +0 -139
  54. package/__mf/js/async/610.f4c427be.js +0 -10
  55. package/__mf/js/async/69.63f9bcd3.js +0 -2
  56. package/__mf/js/async/694.25b5e0ba.js +0 -1
  57. package/__mf/js/async/739.6766d937.js +0 -12
  58. package/__mf/js/async/740.5aaefdda.js +0 -1
  59. package/__mf/js/async/75.02a6b22b.js +0 -1
  60. package/__mf/js/async/770.b60fab29.js +0 -1
  61. package/__mf/js/async/790.c5311dc9.js +0 -1
  62. package/__mf/js/async/863.4c6b53c2.js +0 -2
  63. package/__mf/js/async/960.b2ac1654.js +0 -2
  64. package/__mf/js/async/981.e4b259ad.js +0 -2
  65. package/__mf/js/async/__federation_expose_Markdown.2c3d8695.js +0 -1
  66. package/__mf/js/async/lib-router.09aae78c.js +0 -2
  67. package/__mf/js/main.0745ba67.js +0 -5
  68. /package/__mf/js/async/{964.beb665a6.js.LICENSE.txt → 121.c4937021.js.LICENSE.txt} +0 -0
  69. /package/__mf/js/async/{610.f4c427be.js.LICENSE.txt → 138.f8838514.js.LICENSE.txt} +0 -0
  70. /package/__mf/js/async/{581.30edebe8.js.LICENSE.txt → 188.8fc0d073.js.LICENSE.txt} +0 -0
  71. /package/__mf/js/async/{109.8f97b566.js.LICENSE.txt → 252.b328953d.js.LICENSE.txt} +0 -0
  72. /package/__mf/js/async/{960.b2ac1654.js.LICENSE.txt → 274.6c3acee5.js.LICENSE.txt} +0 -0
  73. /package/__mf/js/async/{981.e4b259ad.js.LICENSE.txt → 392.dce6d4aa.js.LICENSE.txt} +0 -0
  74. /package/__mf/js/async/{69.63f9bcd3.js.LICENSE.txt → 43.c6917720.js.LICENSE.txt} +0 -0
  75. /package/__mf/js/async/{173.c0924ea0.js.LICENSE.txt → 470.3c80236f.js.LICENSE.txt} +0 -0
  76. /package/__mf/js/async/{288.ed55d538.js.LICENSE.txt → 555.884213fc.js.LICENSE.txt} +0 -0
  77. /package/__mf/js/async/{739.6766d937.js.LICENSE.txt → 680.c46cf75d.js.LICENSE.txt} +0 -0
  78. /package/__mf/js/async/{863.4c6b53c2.js.LICENSE.txt → 941.604b0645.js.LICENSE.txt} +0 -0
  79. /package/__mf/js/async/{lib-router.09aae78c.js.LICENSE.txt → lib-router.6de523a3.js.LICENSE.txt} +0 -0
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 941.604b0645.js.LICENSE.txt */
2
+ "use strict";(self.chunk_Markdown=self.chunk_Markdown||[]).push([["941"],{7470:function(e,r,o){var t=o(20231);r.createRoot=t.createRoot,r.hydrateRoot=t.hydrateRoot},2192:function(e,r,o){var t=o(70451),n=Symbol.for("react.element"),a=Symbol.for("react.fragment"),f=Object.prototype.hasOwnProperty,c=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function _(e,r,o){var t,a={},_=null,s=null;for(t in void 0!==o&&(_=""+o),void 0!==r.key&&(_=""+r.key),void 0!==r.ref&&(s=r.ref),r)f.call(r,t)&&!u.hasOwnProperty(t)&&(a[t]=r[t]);if(e&&e.defaultProps)for(t in r=e.defaultProps)void 0===a[t]&&(a[t]=r[t]);return{$$typeof:n,type:e,key:_,ref:s,props:a,_owner:c.current}}r.Fragment=a,r.jsx=_,r.jsxs=_},62540:function(e,r,o){e.exports=o(2192)},86604:function(e,r,o){o.r(r);var t=o(62540),n=o(70451),a=o.n(n);o(7470).createRoot(document.getElementById("root")).render((0,t.jsx)(a().StrictMode,{}))}}]);
@@ -1 +1 @@
1
- "use strict";(self.chunk_Markdown=self.chunk_Markdown||[]).push([["738"],{81228:function(e,t,s){s.r(t),s.d(t,{toNestErrors:()=>a,validateFieldsNatively:()=>l});var i=s(36679);let r=(e,t,s)=>{if(e&&"reportValidity"in e){let r=(0,i.get)(s,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},l=(e,t)=>{for(let s in t.fields){let i=t.fields[s];i&&i.ref&&"reportValidity"in i.ref?r(i.ref,s,e):i.refs&&i.refs.forEach(t=>r(t,s,e))}},a=(e,t)=>{t.shouldUseNativeValidation&&l(e,t);let s={};for(let r in e){let l=(0,i.get)(t.fields,r),a=Object.assign(e[r]||{},{ref:l&&l.ref});if(f(t.names||Object.keys(e),r)){let e=Object.assign({},(0,i.get)(s,r));(0,i.set)(e,"root",a),(0,i.set)(s,r,e)}else(0,i.set)(s,r,a)}return s},f=(e,t)=>e.some(e=>e.startsWith(t+"."))}}]);
1
+ "use strict";(self.chunk_Markdown=self.chunk_Markdown||[]).push([["968"],{75150:function(e,t,s){s.r(t),s.d(t,{toNestErrors:()=>a,validateFieldsNatively:()=>l});var i=s(79215);let r=(e,t,s)=>{if(e&&"reportValidity"in e){let r=(0,i.get)(s,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},l=(e,t)=>{for(let s in t.fields){let i=t.fields[s];i&&i.ref&&"reportValidity"in i.ref?r(i.ref,s,e):i.refs&&i.refs.forEach(t=>r(t,s,e))}},a=(e,t)=>{t.shouldUseNativeValidation&&l(e,t);let s={};for(let r in e){let l=(0,i.get)(t.fields,r),a=Object.assign(e[r]||{},{ref:l&&l.ref});if(f(t.names||Object.keys(e),r)){let e=Object.assign({},(0,i.get)(s,r));(0,i.set)(e,"root",a),(0,i.set)(s,r,e)}else(0,i.set)(s,r,a)}return s},f=(e,t)=>e.some(e=>e.startsWith(t+"."))}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.chunk_Markdown=self.chunk_Markdown||[]).push([["978"],{61153:function(e,t,n){n.r(t),n.d(t,{getTimezoneOffset:()=>Q,toDate:()=>k,toZonedTime:()=>J,format:()=>B,formatInTimeZone:()=>K,fromZonedTime:()=>L});var r=n(96962),a=n(31829);function i(e,t,n){var r,i,u,o,l;let c,s,f=(0,a.getDefaultOptions)(),d=(r=e,i=n.timeZone,u=n.locale??f.locale,new Intl.DateTimeFormat(u?[u.code,"en-US"]:void 0,{timeZone:i,timeZoneName:r}));return"formatToParts"in d?function(e,t){let n=e.formatToParts(t);for(let e=n.length-1;e>=0;--e)if("timeZoneName"===n[e].type)return n[e].value}(d,t):(o=d,l=t,c=o.format(l).replace(/\u200E/g,""),(s=/ [\w-+ ]+$/.exec(c))?s[0].substr(1):"")}let u={year:0,month:1,day:2,hour:3,minute:4,second:5},o={},l=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),c="06/25/2014, 00:00:00"===l||"‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00"===l;function s(e,t,n,r,a,i,u){let o=new Date(0);return o.setUTCFullYear(e,t,n),o.setUTCHours(r,a,i,u),o}let f=/^(Z)$/,d=/^([+-]\d{2})$/,g=/^([+-])(\d{2}):?(\d{2})$/;function m(e,t,n){let r,a;if(!e)return 0;let i=f.exec(e);if(i)return 0;if(i=d.exec(e))return h(r=parseInt(i[1],10))?-(36e5*r):NaN;if(i=g.exec(e)){r=parseInt(i[2],10);let e=parseInt(i[3],10);return h(r,e)?(a=36e5*Math.abs(r)+6e4*e,"+"===i[1]?-a:a):NaN}if(function(e){if(w[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),w[e]=!0,!0}catch(e){return!1}}(e)){var u;t=new Date(t||Date.now());let r=D(n?t:s((u=t).getFullYear(),u.getMonth(),u.getDate(),u.getHours(),u.getMinutes(),u.getSeconds(),u.getMilliseconds()),e);return-(n?r:function(e,t,n){let r=e.getTime()-t,a=D(new Date(r),n);if(t===a)return t;let i=D(new Date(r-=a-t),n);return a===i?a:Math.max(a,i)}(t,r,e))}return NaN}function D(e,t){var n,r,a;let i,l,f,d=(o[n=t]||(o[n]=c?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:n,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),"formatToParts"in(f=o[n])?function(e,t){try{let n=e.formatToParts(t),r=[];for(let e=0;e<n.length;e++){let t=u[n[e].type];void 0!==t&&(r[t]=parseInt(n[e].value,10))}return r}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(f,e):(r=f,a=e,i=r.format(a),[parseInt((l=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(i))[3],10),parseInt(l[1],10),parseInt(l[2],10),parseInt(l[4],10),parseInt(l[5],10),parseInt(l[6],10)])),g=s(d[0],d[1]-1,d[2],d[3]%24,d[4],d[5],0).getTime(),m=e.getTime(),D=m%1e3;return g-(m-=D>=0?D:1e3+D)}function h(e,t){return -23<=e&&e<=23&&(null==t||0<=t&&t<=59)}let w={},N={X:function(e,t,n){let r=p(n.timeZone,e);if(0===r)return"Z";switch(t){case"X":return I(r);case"XXXX":case"XX":return x(r);default:return x(r,":")}},x:function(e,t,n){let r=p(n.timeZone,e);switch(t){case"x":return I(r);case"xxxx":case"xx":return x(r);default:return x(r,":")}},O:function(e,t,n){let r=p(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+function(e,t=""){let n=e>0?"-":"+",r=Math.abs(e),a=Math.floor(r/60),i=r%60;return 0===i?n+String(a):n+String(a)+t+T(i,2)}(r,":");default:return"GMT"+x(r,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return i("short",e,n);default:return i("long",e,n)}}};function p(e,t){let n=e?m(e,t,!0)/6e4:t?.getTimezoneOffset()??0;if(Number.isNaN(n))throw RangeError("Invalid time zone specified: "+e);return n}function T(e,t){let n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return(e<0?"-":"")+n}function x(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+T(Math.floor(n/60),2)+t+T(Math.floor(n%60),2)}function I(e,t){return e%60==0?(e>0?"-":"+")+T(Math.abs(e)/60,2):x(e,t)}function Z(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e-t}let y=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,M=/^([0-9W+-]+)(T| )(.*)/,U=/^([0-9W+-]+)(.*)/,C=/^(\d{2})$/,b=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],F=/^(\d{4})/,S=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],$=/^-(\d{2})$/,O=/^-?(\d{3})$/,z=/^-?(\d{2})-?(\d{2})$/,Y=/^-?W(\d{2})$/,v=/^-?W(\d{2})-?(\d{1})$/,X=/^(\d{2}([.,]\d*)?)$/,j=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,H=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/;function k(e,t={}){if(arguments.length<1)throw TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);let n=null==t.additionalDigits?2:Number(t.additionalDigits);if(2!==n&&1!==n&&0!==n)throw RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);let r=function(e){let t,n={},r=M.exec(e);if(r?(n.date=r[1],t=r[3]):(r=U.exec(e))?(n.date=r[1],t=r[2]):(n.date=null,t=e),t){let e=y.exec(t);e?(n.time=t.replace(e[1],""),n.timeZone=e[1].trim()):n.time=t}return n}(e),{year:a,restDateString:i}=function(e,t){if(e){let n=b[t],r=S[t],a=F.exec(e)||r.exec(e);if(a){let t=a[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}}if(a=C.exec(e)||n.exec(e)){let t=a[1];return{year:100*parseInt(t,10),restDateString:e.slice(t.length)}}}return{year:null}}(r.date,n),u=function(e,t){let n,r,a;if(null===t)return null;if(!e||!e.length)return(n=new Date(0)).setUTCFullYear(t),n;let i=$.exec(e);if(i)return(n=new Date(0),W(t,r=parseInt(i[1],10)-1))?(n.setUTCFullYear(t,r),n):new Date(NaN);if(i=O.exec(e)){n=new Date(0);let e=parseInt(i[1],10);return!function(e,t){if(t<1)return!1;let n=A(e);return(!n||!(t>366))&&(!!n||!(t>365))}(t,e)?new Date(NaN):(n.setUTCFullYear(t,0,e),n)}if(i=z.exec(e)){n=new Date(0),r=parseInt(i[1],10)-1;let e=parseInt(i[2],10);return W(t,r,e)?(n.setUTCFullYear(t,r,e),n):new Date(NaN)}if(i=Y.exec(e))return G(a=parseInt(i[1],10)-1)?E(t,a):new Date(NaN);if(i=v.exec(e)){a=parseInt(i[1],10)-1;let e=parseInt(i[2],10)-1;return G(a,e)?E(t,a,e):new Date(NaN)}return null}(i,a);if(null===u||isNaN(u.getTime())||!u)return new Date(NaN);{let e,n=u.getTime(),a=0;if(r.time&&(null===(a=function(e){let t,n,r=X.exec(e);if(r)return R(t=parseFloat(r[1].replace(",",".")))?t%24*36e5:NaN;if(r=j.exec(e))return R(t=parseInt(r[1],10),n=parseFloat(r[2].replace(",",".")))?t%24*36e5+6e4*n:NaN;if(r=H.exec(e)){t=parseInt(r[1],10),n=parseInt(r[2],10);let e=parseFloat(r[3].replace(",","."));return R(t,n,e)?t%24*36e5+6e4*n+1e3*e:NaN}return null}(r.time))||isNaN(a)))return new Date(NaN);if(r.timeZone||t.timeZone){if(isNaN(e=m(r.timeZone||t.timeZone,new Date(n+a))))return new Date(NaN)}else e=Z(new Date(n+a)),e=Z(new Date(n+a+e));return new Date(n+a+e)}}function E(e,t,n){t=t||0,n=n||0;let r=new Date(0);r.setUTCFullYear(e,0,4);let a=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+a),r}let P=[31,28,31,30,31,30,31,31,30,31,30,31],_=[31,29,31,30,31,30,31,31,30,31,30,31];function A(e){return e%400==0||e%4==0&&e%100!=0}function W(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;let r=A(e);if(r&&n>_[t]||!r&&n>P[t])return!1}return!0}function G(e,t){return!(e<0)&&!(e>52)&&(null==t||!(t<0)&&!(t>6))}function R(e,t,n){return!(e<0)&&!(e>=25)&&(null==t||!(t<0)&&!(t>=60))&&(null==n||!(n<0)&&!(n>=60))}let q=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function B(e,t,n={}){let a=(t=String(t)).match(q);if(a){let r=k(n.originalDate||e,n);t=a.reduce(function(e,t){if("'"===t[0])return e;let a=e.indexOf(t),i="'"===e[a-1],u=e.replace(t,"'"+N[t[0]](r,t,n)+"'");return i?u.substring(0,a-1)+u.substring(a+1):u},t)}return(0,r.GP)(e,t,n)}function J(e,t,n){let r=m(t,e=k(e,n),!0),a=new Date(e.getTime()-r),i=new Date(0);return i.setFullYear(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()),i.setHours(a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds(),a.getUTCMilliseconds()),i}function K(e,t,n,r){return r={...r,timeZone:t,originalDate:e},B(J(e,t,{timeZone:r.timeZone}),n,r)}function L(e,t,n){if("string"==typeof e&&!e.match(y))return k(e,{...n,timeZone:t});let r=s((e=k(e,n)).getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()).getTime(),a=m(t,new Date(r));return new Date(r+a)}function Q(e,t){return-m(e,t)}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.chunk_Markdown=self.chunk_Markdown||[]).push([["360"],{11849:function(e,n,r){r.r(n),r.d(n,{Markdown:()=>g});var t=r(62540),o=r(74628),a=r(48612),l=r(76622),i=r(91264),d=r(19385),p=r(70451),s=r(315),u=r(57438),c=r(93648);let g={PanelComponent:function(e){let{spec:{text:n}}=e,r=(0,a.useChartsTheme)(),s=(0,l.useReplaceVariablesInString)(n),u=(0,p.useMemo)(()=>{var e;return e=s??"",d.xI.parse(e,{gfm:!0,async:!1})},[s]),c=(0,p.useMemo)(()=>i.A.sanitize(u),[u]);return(0,t.jsx)(o.A,{sx:e=>({padding:`${r.container.padding.default}px`,height:"100%",overflowY:"auto","& :first-of-type":{marginTop:0},"& h1":{fontSize:"2em"},"& code":{fontSize:"0.85em"},"& :not(pre) code":{padding:"0.2em 0.4em",backgroundColor:e.palette.grey[100],borderRadius:"4px"},"& pre":{padding:"1.2em",backgroundColor:e.palette.grey[100],borderRadius:"4px"},"& table, & th, & td":{padding:"0.6em",border:`1px solid ${e.palette.grey[300]}`,borderCollapse:"collapse"},"& li + li":{marginTop:"0.25em"},"& a":{color:e.palette.primary.main}}),dangerouslySetInnerHTML:{__html:c}})},supportedQueryTypes:[],panelOptionsEditorComponents:[{label:"Markdown",content:function(e){let{onChange:n,value:{text:r}}=e;return(0,t.jsxs)(s.A,{spacing:1,children:[(0,t.jsx)(u.A,{sx:{alignSelf:"end",textDecoration:"none"},href:"https://commonmark.org/help/",target:"_blank",rel:"noopener",children:"Markdown Guide"}),(0,t.jsx)(c.A,{label:"Text",multiline:!0,rows:20,value:r,onChange:e=>{n({text:e.target.value})}})]})}}],createInitialOptions:function(){return{text:""}},hideQueryEditor:!0}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see lib-router.6de523a3.js.LICENSE.txt */
2
+ "use strict";(self.chunk_Markdown=self.chunk_Markdown||[]).push([["535"],{70744:function(e,t,r){var n,a,o,i;function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,{AO:()=>v,B6:()=>D,G3:()=>et,Gh:()=>U,HC:()=>W,HS:()=>j,HW:()=>ee,Oi:()=>h,Pq:()=>B,RO:()=>L,Rr:()=>y,Sk:()=>$,TM:()=>d,V2:()=>V,VV:()=>K,aE:()=>eo,o1:()=>_,pX:()=>q,pb:()=>k,rc:()=>n,ro:()=>S,sC:()=>u,tH:()=>z,tW:()=>P,ue:()=>E,v6:()=>I,yD:()=>T,zR:()=>c}),(o=n||(n={})).Pop="POP",o.Push="PUSH",o.Replace="REPLACE";let s="popstate";function u(e){let t;void 0===e&&(e={});let{initialEntries:r=["/"],initialIndex:a,v5Compat:o=!1}=e;t=r.map((e,t)=>c(e,"string"==typeof e?null:e.state,0===t?"default":void 0));let i=u(null==a?t.length-1:a),l=n.Pop,s=null;function u(e){return Math.min(Math.max(e,0),t.length-1)}function c(e,r,n){void 0===r&&(r=null);let a=m(t?t[i].pathname:"/",e,r,n);return f("/"===a.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),a}function d(e){return"string"==typeof e?e:v(e)}return{get index(){return i},get action(){return l},get location(){return t[i]},createHref:d,createURL:e=>new URL(d(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?y(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,r){l=n.Push;let a=c(e,r);i+=1,t.splice(i,t.length,a),o&&s&&s({action:l,location:a,delta:1})},replace(e,r){l=n.Replace;let a=c(e,r);t[i]=a,o&&s&&s({action:l,location:a,delta:0})},go(e){l=n.Pop;let r=u(i+e),a=t[r];i=r,s&&s({action:l,location:a,delta:e})},listen:e=>(s=e,()=>{s=null})}}function c(e){return void 0===e&&(e={}),g(function(e,t){let{pathname:r,search:n,hash:a}=e.location;return m("",{pathname:r,search:n,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:v(t)},null,e)}function d(e){return void 0===e&&(e={}),g(function(e,t){let{pathname:r="/",search:n="",hash:a=""}=y(e.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),m("",{pathname:r,search:n,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");n=-1===r?t:t.slice(0,r)}return n+"#"+("string"==typeof t?t:v(t))},function(e,t){f("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")},e)}function h(e,t){if(!1===e||null==e)throw Error(t)}function f(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw Error(t)}catch(e){}}}function p(e,t){return{usr:e.state,key:e.key,idx:t}}function m(e,t,r,n){return void 0===r&&(r=null),l({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?y(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function v(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}function y(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function g(e,t,r,a){void 0===a&&(a={});let{window:o=document.defaultView,v5Compat:i=!1}=a,u=o.history,c=n.Pop,d=null,f=y();function y(){return(u.state||{idx:null}).idx}function g(){c=n.Pop;let e=y(),t=null==e?null:e-f;f=e,d&&d({action:c,location:w.location,delta:t})}function b(e){let t="null"!==o.location.origin?o.location.origin:o.location.href,r="string"==typeof e?e:v(e);return h(t,"No window.location.(origin|href) available to create URL for href: "+(r=r.replace(/ $/,"%20"))),new URL(r,t)}null==f&&(f=0,u.replaceState(l({},u.state,{idx:f}),""));let w={get action(){return c},get location(){return e(o,u)},listen(e){if(d)throw Error("A history only accepts one active listener");return o.addEventListener(s,g),d=e,()=>{o.removeEventListener(s,g),d=null}},createHref:e=>t(o,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){c=n.Push;let a=m(w.location,e,t);r&&r(a,e);let l=p(a,f=y()+1),s=w.createHref(a);try{u.pushState(l,"",s)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(s)}i&&d&&d({action:c,location:w.location,delta:1})},replace:function(e,t){c=n.Replace;let a=m(w.location,e,t);r&&r(a,e);let o=p(a,f=y()),l=w.createHref(a);u.replaceState(o,"",l),i&&d&&d({action:c,location:w.location,delta:0})},go:e=>u.go(e)};return w}(i=a||(a={})).data="data",i.deferred="deferred",i.redirect="redirect",i.error="error";let b=new Set(["lazy","caseSensitive","path","id","index","children"]);function w(e,t,r,n){return void 0===r&&(r=[]),void 0===n&&(n={}),e.map((e,a)=>{let o=[...r,String(a)],i="string"==typeof e.id?e.id:o.join("-");if(h(!0!==e.index||!e.children,"Cannot specify children on an index route"),h(!n[i],'Found a route id collision on id "'+i+"\". Route id's must be globally unique within Data Router usages"),!0===e.index){let r=l({},e,t(e),{id:i});return n[i]=r,r}{let r=l({},e,t(e),{id:i,children:void 0});return n[i]=r,e.children&&(r.children=w(e.children,t,o,n)),r}})}function E(e,t,r){return void 0===r&&(r="/"),R(e,t,r,!1)}function R(e,t,r,n){let a=k(("string"==typeof t?y(t):t).pathname||"/",r);if(null==a)return null;let o=function e(t,r,n,a){void 0===r&&(r=[]),void 0===n&&(n=[]),void 0===a&&(a="");let o=(t,o,i)=>{var l,s;let u,c,d={relativePath:void 0===i?t.path||"":i,caseSensitive:!0===t.caseSensitive,childrenIndex:o,route:t};d.relativePath.startsWith("/")&&(h(d.relativePath.startsWith(a),'Absolute route path "'+d.relativePath+'" nested under path "'+a+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),d.relativePath=d.relativePath.slice(a.length));let f=j([a,d.relativePath]),p=n.concat(d);t.children&&t.children.length>0&&(h(!0!==t.index,'Index routes must not have child routes. Please remove all child routes from route path "'+f+'".'),e(t.children,r,p,f)),(null!=t.path||t.index)&&r.push({path:f,score:(l=f,s=t.index,c=(u=l.split("/")).length,u.some(C)&&(c+=-2),s&&(c+=2),u.filter(e=>!C(e)).reduce((e,t)=>e+(x.test(t)?3:""===t?1:10),c)),routesMeta:p})};return t.forEach((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of function e(t){let r=t.split("/");if(0===r.length)return[];let[n,...a]=r,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===a.length)return o?[i,""]:[i];let l=e(a.join("/")),s=[];return s.push(...l.map(e=>""===e?i:[i,e].join("/"))),o&&s.push(...l),s.map(e=>t.startsWith("/")&&""===e?"/":e)}(e.path))o(e,t,r);else o(e,t)}),r}(e);o.sort((e,t)=>{var r,n;return e.score!==t.score?t.score-e.score:(r=e.routesMeta.map(e=>e.childrenIndex),n=t.routesMeta.map(e=>e.childrenIndex),r.length===n.length&&r.slice(0,-1).every((e,t)=>e===n[t])?r[r.length-1]-n[n.length-1]:0)});let i=null;for(let e=0;null==i&&e<o.length;++e){let t=L(a);i=function(e,t,r){void 0===r&&(r=!1);let{routesMeta:n}=e,a={},o="/",i=[];for(let e=0;e<n.length;++e){let l=n[e],s=e===n.length-1,u="/"===o?t:t.slice(o.length)||"/",c=D({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},u),d=l.route;if(!c&&s&&r&&!n[n.length-1].route.index&&(c=D({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!c)return null;Object.assign(a,c.params),i.push({params:a,pathname:j([o,c.pathname]),pathnameBase:M(j([o,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(o=j([o,c.pathnameBase]))}return i}(o[e],t,n)}return i}function S(e,t){let{route:r,pathname:n,params:a}=e;return{id:r.id,pathname:n,params:a,data:t[r.id],handle:r.handle}}let x=/^:[\w-]+$/,C=e=>"*"===e;function P(e,t){void 0===t&&(t={});let r=e;r.endsWith("*")&&"*"!==r&&!r.endsWith("/*")&&(f(!1,'Route path "'+r+'" will be treated as if it were "'+r.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+r.replace(/\*$/,"/*")+'".'),r=r.replace(/\*$/,"/*"));let n=r.startsWith("/")?"/":"",a=e=>null==e?"":"string"==typeof e?e:String(e);return n+r.split(/\/+/).map((e,r,n)=>{if(r===n.length-1&&"*"===e)return a(t["*"]);let o=e.match(/^:([\w-]+)(\??)$/);if(o){let[,e,r]=o,n=t[e];return h("?"===r||null!=n,'Missing ":'+e+'" param'),a(n)}return e.replace(/\?$/g,"")}).filter(e=>!!e).join("/")}function D(e,t){var r,n,a;let o,i;"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[l,s]=(r=e.path,n=e.caseSensitive,a=e.end,void 0===n&&(n=!1),void 0===a&&(a=!0),f("*"===r||!r.endsWith("*")||r.endsWith("/*"),'Route path "'+r+'" will be treated as if it were "'+r.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+r.replace(/\*$/,"/*")+'".'),o=[],i="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,r)=>(o.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")),r.endsWith("*")?(o.push({paramName:"*"}),i+="*"===r||"/*"===r?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?i+="\\/*$":""!==r&&"/"!==r&&(i+="(?:(?=\\/|$))"),[new RegExp(i,n?void 0:"i"),o]),u=t.match(l);if(!u)return null;let c=u[0],d=c.replace(/(.)\/+$/,"$1"),h=u.slice(1);return{params:s.reduce((e,t,r)=>{let{paramName:n,isOptional:a}=t;if("*"===n){let e=h[r]||"";d=c.slice(0,c.length-e.length).replace(/(.)\/+$/,"$1")}let o=h[r];return a&&!o?e[n]=void 0:e[n]=(o||"").replace(/%2F/g,"/"),e},{}),pathname:c,pathnameBase:d,pattern:e}}function L(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return f(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function k(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function _(e,t){var r;let n;void 0===t&&(t="/");let{pathname:a,search:o="",hash:i=""}="string"==typeof e?y(e):e;return{pathname:a?a.startsWith("/")?a:(r=a,n=t.replace(/\/+$/,"").split("/"),r.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"):t,search:F(o),hash:N(i)}}function O(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field [")+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function A(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function T(e,t){let r=A(e);return t?r.map((e,t)=>t===r.length-1?e.pathname:e.pathnameBase):r.map(e=>e.pathnameBase)}function U(e,t,r,n){let a,o;void 0===n&&(n=!1),"string"==typeof e?a=y(e):(h(!(a=l({},e)).pathname||!a.pathname.includes("?"),O("?","pathname","search",a)),h(!a.pathname||!a.pathname.includes("#"),O("#","pathname","hash",a)),h(!a.search||!a.search.includes("#"),O("#","search","hash",a)));let i=""===e||""===a.pathname,s=i?"/":a.pathname;if(null==s)o=r;else{let e=t.length-1;if(!n&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let u=_(a,o),c=s&&"/"!==s&&s.endsWith("/"),d=(i||"."===s)&&r.endsWith("/");return!u.pathname.endsWith("/")&&(c||d)&&(u.pathname+="/"),u}let j=e=>e.join("/").replace(/\/\/+/g,"/"),M=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),F=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",N=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",B=function(e,t){void 0===t&&(t={});let r="number"==typeof t?{status:t}:t,n=new Headers(r.headers);return n.has("Content-Type")||n.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(e),l({},r,{headers:n}))};class z extends Error{}class H{constructor(e,t){let r;this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],h(e&&"object"==typeof e&&!Array.isArray(e),"defer() only accepts plain objects"),this.abortPromise=new Promise((e,t)=>r=t),this.controller=new AbortController;let n=()=>r(new z("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",n),this.controller.signal.addEventListener("abort",n),this.data=Object.entries(e).reduce((e,t)=>{let[r,n]=t;return Object.assign(e,{[r]:this.trackPromise(r,n)})},{}),this.done&&this.unlistenAbortSignal(),this.init=t}trackPromise(e,t){if(!(t instanceof Promise))return t;this.deferredKeys.push(e),this.pendingKeysSet.add(e);let r=Promise.race([t,this.abortPromise]).then(t=>this.onSettle(r,e,void 0,t),t=>this.onSettle(r,e,t));return r.catch(()=>{}),Object.defineProperty(r,"_tracked",{get:()=>!0}),r}onSettle(e,t,r,n){if(this.controller.signal.aborted&&r instanceof z)return this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:()=>r}),Promise.reject(r);if(this.pendingKeysSet.delete(t),this.done&&this.unlistenAbortSignal(),void 0===r&&void 0===n){let r=Error('Deferred data for key "'+t+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(e,"_error",{get:()=>r}),this.emit(!1,t),Promise.reject(r)}return void 0===n?(Object.defineProperty(e,"_error",{get:()=>r}),this.emit(!1,t),Promise.reject(r)):(Object.defineProperty(e,"_data",{get:()=>n}),this.emit(!1,t),n)}emit(e,t){this.subscribers.forEach(r=>r(e,t))}subscribe(e){return this.subscribers.add(e),()=>this.subscribers.delete(e)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((e,t)=>this.pendingKeysSet.delete(t)),this.emit(!0)}async resolveData(e){let t=!1;if(!this.done){let r=()=>this.cancel();e.addEventListener("abort",r),t=await new Promise(t=>{this.subscribe(n=>{e.removeEventListener("abort",r),(n||this.done)&&t(n)})})}return t}get done(){return 0===this.pendingKeysSet.size}get unwrappedData(){return h(null!==this.data&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((e,t)=>{let[r,n]=t;return Object.assign(e,{[r]:function(e){if(!(e instanceof Promise&&!0===e._tracked))return e;if(e._error)throw e._error;return e._data}(n)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}let I=function(e,t){return void 0===t&&(t={}),new H(e,"number"==typeof t?{status:t}:t)},V=function(e,t){void 0===t&&(t=302);let r=t;"number"==typeof r?r={status:r}:void 0===r.status&&(r.status=302);let n=new Headers(r.headers);return n.set("Location",e),new Response(null,l({},r,{headers:n}))},$=(e,t)=>{let r=V(e,t);return r.headers.set("X-Remix-Reload-Document","true"),r},W=(e,t)=>{let r=V(e,t);return r.headers.set("X-Remix-Replace","true"),r};class K{constructor(e,t,r,n){void 0===n&&(n=!1),this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function q(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}let J=["post","put","patch","delete"],Y=new Set(J),X=new Set(["get",...J]),G=new Set([301,302,303,307,308]),Q=new Set([307,308]),Z={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ee={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},et={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},er=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,en=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),ea="remix-router-transitions";function eo(e){let t,r,o,i,s,u,c=e.window?e.window:"undefined"!=typeof window?window:void 0,d=void 0!==c&&void 0!==c.document&&void 0!==c.document.createElement,p=!d;if(h(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)t=e.mapRouteProperties;else if(e.detectErrorBoundary){let r=e.detectErrorBoundary;t=e=>({hasErrorBoundary:r(e)})}else t=en;let v={},y=w(e.routes,t,void 0,v),g=e.basename||"/",b=e.dataStrategy||em,x=e.patchRoutesOnNavigation,C=l({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),P=null,D=new Set,L=null,_=null,O=null,A=null!=e.hydrationData,T=E(y,e.history.location,g),U=!1,j=null;if(null==T&&!x){let t=eL(404,{pathname:e.history.location.pathname}),{matches:r,route:n}=eD(y);T=r,j={[n.id]:t}}if(T&&!e.hydrationData&&to(T,y,e.history.location.pathname).active&&(T=null),T)if(T.some(e=>e.route.lazy))o=!1;else if(T.some(e=>e.route.loader))if(C.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,r=e.hydrationData?e.hydrationData.errors:null;if(r){let e=T.findIndex(e=>void 0!==r[e.route.id]);o=T.slice(0,e+1).every(e=>!ec(e.route,t,r))}else o=T.every(e=>!ec(e.route,t,r))}else o=null!=e.hydrationData;else o=!0;else if(o=!1,T=[],C.v7_partialHydration){let t=to(null,y,e.history.location.pathname);t.active&&t.matches&&(U=!0,T=t.matches)}let M={historyAction:e.history.action,location:e.history.location,matches:T,initialized:o,navigation:Z,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||j,fetchers:new Map,blockers:new Map},F=n.Pop,N=!1,B=!1,z=new Map,H=null,I=!1,V=!1,$=[],W=new Set,K=new Map,J=0,Y=-1,X=new Map,eo=new Set,es=new Map,ed=new Map,eh=new Set,ep=new Map,ey=new Map;function eE(e,t){void 0===t&&(t={}),M=l({},M,e);let r=[],n=[];C.v7_fetcherPersist&&M.fetchers.forEach((e,t)=>{"idle"===e.state&&(eh.has(t)?n.push(t):r.push(t))}),eh.forEach(e=>{M.fetchers.has(e)||K.has(e)||n.push(e)}),[...D].forEach(e=>e(M,{deletedFetchers:n,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync})),C.v7_fetcherPersist?(r.forEach(e=>M.fetchers.delete(e)),n.forEach(e=>e4(e))):n.forEach(e=>eh.delete(e))}function eR(t,a,o){var i,s;let u,c,{flushSync:d}=void 0===o?{}:o,h=null!=M.actionData&&null!=M.navigation.formMethod&&eM(M.navigation.formMethod)&&"loading"===M.navigation.state&&(null==(i=t.state)?void 0:i._isRedirect)!==!0;u=a.actionData?Object.keys(a.actionData).length>0?a.actionData:null:h?M.actionData:null;let f=a.loaderData?ex(M.loaderData,a.loaderData,a.matches||[],a.errors):M.loaderData,p=M.blockers;p.size>0&&(p=new Map(p)).forEach((e,t)=>p.set(t,et));let m=!0===N||null!=M.navigation.formMethod&&eM(M.navigation.formMethod)&&(null==(s=t.state)?void 0:s._isRedirect)!==!0;if(r&&(y=r,r=void 0),I||F===n.Pop||(F===n.Push?e.history.push(t,t.state):F===n.Replace&&e.history.replace(t,t.state)),F===n.Pop){let e=z.get(M.location.pathname);e&&e.has(t.pathname)?c={currentLocation:M.location,nextLocation:t}:z.has(t.pathname)&&(c={currentLocation:t,nextLocation:M.location})}else if(B){let e=z.get(M.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),z.set(M.location.pathname,e)),c={currentLocation:M.location,nextLocation:t}}eE(l({},a,{actionData:u,loaderData:f,historyAction:F,location:t,initialized:!0,navigation:Z,revalidation:"idle",restoreScrollPosition:ta(t,a.matches||M.matches),preventScrollReset:m,blockers:p}),{viewTransitionOpts:c,flushSync:!0===d}),F=n.Pop,N=!1,B=!1,I=!1,V=!1,$=[]}async function e_(t,r){if("number"==typeof t)return void e.history.go(t);let a=ei(M.location,M.matches,g,C.v7_prependBasename,t,C.v7_relativeSplatPath,null==r?void 0:r.fromRouteId,null==r?void 0:r.relative),{path:o,submission:i,error:s}=el(C.v7_normalizeFormMethod,!1,a,r),u=M.location,c=m(M.location,o,r&&r.state);c=l({},c,e.history.encodeLocation(c));let d=r&&null!=r.replace?r.replace:void 0,h=n.Push;!0===d?h=n.Replace:!1===d||null!=i&&eM(i.formMethod)&&i.formAction===M.location.pathname+M.location.search&&(h=n.Replace);let f=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,p=!0===(r&&r.flushSync),v=te({currentLocation:u,nextLocation:c,historyAction:h});return v?void e9(v,{state:"blocked",location:c,proceed(){e9(v,{state:"proceeding",proceed:void 0,reset:void 0,location:c}),e_(t,r)},reset(){let e=new Map(M.blockers);e.set(v,et),eE({blockers:e})}}):await eU(h,c,{submission:i,pendingError:s,preventScrollReset:f,replace:r&&r.replace,enableViewTransition:r&&r.viewTransition,flushSync:p})}async function eU(t,n,o){var i,u,c,d;let h;s&&s.abort(),s=null,F=t,I=!0===(o&&o.startUninterruptedRevalidation),i=M.location,u=M.matches,L&&O&&(L[tn(i,u)]=O()),N=!0===(o&&o.preventScrollReset),B=!0===(o&&o.enableViewTransition);let f=r||y,p=o&&o.overrideNavigation,m=null!=o&&o.initialHydration&&M.matches&&M.matches.length>0&&!U?M.matches:E(f,n,g),v=!0===(o&&o.flushSync);if(m&&M.initialized&&!V&&(c=M.location,d=n,c.pathname===d.pathname&&c.search===d.search&&(""===c.hash?""!==d.hash:c.hash===d.hash||""!==d.hash||!1))&&!(o&&o.submission&&eM(o.submission.formMethod)))return void eR(n,{matches:m},{flushSync:v});let b=to(m,f,n.pathname);if(b.active&&b.matches&&(m=b.matches),!m){let{error:e,notFoundMatches:t,route:r}=tt(n.pathname);eR(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:v});return}s=new AbortController;let w=ew(e.history,n,s.signal,o&&o.submission);if(o&&o.pendingError)h=[eP(m).route.id,{type:a.error,error:o.pendingError}];else if(o&&o.submission&&eM(o.submission.formMethod)){let t=await ez(w,n,o.submission,m,b.active,{replace:o.replace,flushSync:v});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,r]=t.pendingActionResult;if(eA(r)&&q(r.error)&&404===r.error.status){s=null,eR(n,{matches:t.matches,loaderData:{},errors:{[e]:r.error}});return}}m=t.matches||m,h=t.pendingActionResult,p=eV(n,o.submission),v=!1,b.active=!1,w=ew(e.history,w.url,w.signal)}let{shortCircuited:R,matches:S,loaderData:x,errors:C}=await eK(w,n,m,b.active,p,o&&o.submission,o&&o.fetcherSubmission,o&&o.replace,o&&!0===o.initialHydration,v,h);R||(s=null,eR(n,l({matches:S||m},eC(h),{loaderData:x,errors:C})))}async function ez(e,t,r,o,i,l){var s;let u;if(void 0===l&&(l={}),eZ(),eE({navigation:{state:"submitting",location:t,formMethod:(s=r).formMethod,formAction:s.formAction,formEncType:s.formEncType,formData:s.formData,json:s.json,text:s.text}},{flushSync:!0===l.flushSync}),i){let r=await ti(o,t.pathname,e.signal);if("aborted"===r.type)return{shortCircuited:!0};if("error"===r.type){let e=eP(r.partialMatches).route.id;return{matches:r.partialMatches,pendingActionResult:[e,{type:a.error,error:r.error}]}}if(r.matches)o=r.matches;else{let{notFoundMatches:e,error:r,route:n}=tt(t.pathname);return{matches:e,pendingActionResult:[n.id,{type:a.error,error:r}]}}}let c=eH(o,t);if(c.route.action||c.route.lazy){if(u=(await eG("action",M,e,[c],o,null))[c.route.id],e.signal.aborted)return{shortCircuited:!0}}else u={type:a.error,error:eL(405,{method:e.method,pathname:t.pathname,routeId:c.route.id})};if(eT(u)){let t;return t=l&&null!=l.replace?l.replace:eb(u.response.headers.get("Location"),new URL(e.url),g)===M.location.pathname+M.location.search,await eX(e,u,!0,{submission:r,replace:t}),{shortCircuited:!0}}if(eO(u))throw eL(400,{type:"defer-action"});if(eA(u)){let e=eP(o,c.route.id);return!0!==(l&&l.replace)&&(F=n.Push),{matches:o,pendingActionResult:[e.route.id,u]}}return{matches:o,pendingActionResult:[c.route.id,u]}}async function eK(t,n,a,o,i,u,c,d,h,f,p){let m=i||eV(n,u),v=u||c||eI(m),b=!I&&(!C.v7_partialHydration||!h);if(o){if(b){let e=eq(p);eE(l({navigation:m},void 0!==e?{actionData:e}:{}),{flushSync:f})}let e=await ti(a,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=eP(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(e.matches)a=e.matches;else{let{error:e,notFoundMatches:t,route:r}=tt(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}}let w=r||y,[E,R]=eu(e.history,M,a,v,n,C.v7_partialHydration&&!0===h,C.v7_skipActionErrorRevalidation,V,$,W,eh,es,eo,w,g,p);if(tr(e=>!(a&&a.some(t=>t.route.id===e))||E&&E.some(t=>t.route.id===e)),Y=++J,0===E.length&&0===R.length){let e=e2();return eR(n,l({matches:a,loaderData:{},errors:p&&eA(p[1])?{[p[0]]:p[1].error}:null},eC(p),e?{fetchers:new Map(M.fetchers)}:{}),{flushSync:f}),{shortCircuited:!0}}if(b){let e={};if(!o){e.navigation=m;let t=eq(p);void 0!==t&&(e.actionData=t)}R.length>0&&(R.forEach(e=>{let t=M.fetchers.get(e.key),r=e$(void 0,t?t.data:void 0);M.fetchers.set(e.key,r)}),e.fetchers=new Map(M.fetchers)),eE(e,{flushSync:f})}R.forEach(e=>{e3(e.key),e.controller&&K.set(e.key,e.controller)});let S=()=>R.forEach(e=>e3(e.key));s&&s.signal.addEventListener("abort",S);let{loaderResults:x,fetcherResults:P}=await eQ(M,a,E,R,t);if(t.signal.aborted)return{shortCircuited:!0};s&&s.signal.removeEventListener("abort",S),R.forEach(e=>K.delete(e.key));let D=ek(x);if(D)return await eX(t,D.result,!0,{replace:d}),{shortCircuited:!0};if(D=ek(P))return eo.add(D.key),await eX(t,D.result,!0,{replace:d}),{shortCircuited:!0};let{loaderData:L,errors:k}=eS(M,a,x,p,R,P,ep);ep.forEach((e,t)=>{e.subscribe(r=>{(r||e.done)&&ep.delete(t)})}),C.v7_partialHydration&&h&&M.errors&&(k=l({},M.errors,k));let _=e2(),O=e6(Y),A=_||O||R.length>0;return l({matches:a,loaderData:L,errors:k},A?{fetchers:new Map(M.fetchers)}:{})}function eq(e){if(e&&!eA(e[1]))return{[e[0]]:e[1].data};if(M.actionData)if(0===Object.keys(M.actionData).length)return null;else return M.actionData}async function eJ(t,n,a,o,i,l,u,c,d){var f,p;function m(e){if(!e.route.action&&!e.route.lazy){let e=eL(405,{method:d.formMethod,pathname:a,routeId:n});return e1(t,n,e,{flushSync:u}),!0}return!1}if(eZ(),es.delete(t),!l&&m(o))return;let v=M.fetchers.get(t);e0(t,(f=d,p=v,{state:"submitting",formMethod:f.formMethod,formAction:f.formAction,formEncType:f.formEncType,formData:f.formData,json:f.json,text:f.text,data:p?p.data:void 0}),{flushSync:u});let b=new AbortController,w=ew(e.history,a,b.signal,d);if(l){let e=await ti(i,new URL(w.url).pathname,w.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void e1(t,n,e.error,{flushSync:u});if(!e.matches)return void e1(t,n,eL(404,{pathname:a}),{flushSync:u});if(m(o=eH(i=e.matches,a)))return}K.set(t,b);let R=J,S=(await eG("action",M,w,[o],i,t))[o.route.id];if(w.signal.aborted){K.get(t)===b&&K.delete(t);return}if(C.v7_fetcherPersist&&eh.has(t)){if(eT(S)||eA(S))return void e0(t,eW(void 0))}else{if(eT(S))return(K.delete(t),Y>R)?void e0(t,eW(void 0)):(eo.add(t),e0(t,e$(d)),eX(w,S,!1,{fetcherSubmission:d,preventScrollReset:c}));if(eA(S))return void e1(t,n,S.error)}if(eO(S))throw eL(400,{type:"defer-action"});let x=M.navigation.location||M.location,P=ew(e.history,x,b.signal),D=r||y,L="idle"!==M.navigation.state?E(D,M.navigation.location,g):M.matches;h(L,"Didn't find any matches after fetcher action");let k=++J;X.set(t,k);let _=e$(d,S.data);M.fetchers.set(t,_);let[O,A]=eu(e.history,M,L,d,x,!1,C.v7_skipActionErrorRevalidation,V,$,W,eh,es,eo,D,g,[o.route.id,S]);A.filter(e=>e.key!==t).forEach(e=>{let t=e.key,r=M.fetchers.get(t),n=e$(void 0,r?r.data:void 0);M.fetchers.set(t,n),e3(t),e.controller&&K.set(t,e.controller)}),eE({fetchers:new Map(M.fetchers)});let T=()=>A.forEach(e=>e3(e.key));b.signal.addEventListener("abort",T);let{loaderResults:U,fetcherResults:j}=await eQ(M,L,O,A,P);if(b.signal.aborted)return;b.signal.removeEventListener("abort",T),X.delete(t),K.delete(t),A.forEach(e=>K.delete(e.key));let N=ek(U);if(N)return eX(P,N.result,!1,{preventScrollReset:c});if(N=ek(j))return eo.add(N.key),eX(P,N.result,!1,{preventScrollReset:c});let{loaderData:B,errors:z}=eS(M,L,U,void 0,A,j,ep);if(M.fetchers.has(t)){let e=eW(S.data);M.fetchers.set(t,e)}e6(k),"loading"===M.navigation.state&&k>Y?(h(F,"Expected pending action"),s&&s.abort(),eR(M.navigation.location,{matches:L,loaderData:B,errors:z,fetchers:new Map(M.fetchers)})):(eE({errors:z,loaderData:ex(M.loaderData,B,L,z),fetchers:new Map(M.fetchers)}),V=!1)}async function eY(t,r,n,a,o,i,l,s,u){let c=M.fetchers.get(t);e0(t,e$(u,c?c.data:void 0),{flushSync:l});let d=new AbortController,f=ew(e.history,n,d.signal);if(i){let e=await ti(o,new URL(f.url).pathname,f.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void e1(t,r,e.error,{flushSync:l});if(!e.matches)return void e1(t,r,eL(404,{pathname:n}),{flushSync:l});a=eH(o=e.matches,n)}K.set(t,d);let p=J,m=(await eG("loader",M,f,[a],o,t))[a.route.id];if(eO(m)&&(m=await eB(m,f.signal,!0)||m),K.get(t)===d&&K.delete(t),!f.signal.aborted){if(eh.has(t))return void e0(t,eW(void 0));if(eT(m))if(Y>p)return void e0(t,eW(void 0));else{eo.add(t),await eX(f,m,!1,{preventScrollReset:s});return}if(eA(m))return void e1(t,r,m.error);h(!eO(m),"Unhandled fetcher deferred data"),e0(t,eW(m.data))}}async function eX(t,r,a,o){let{submission:i,fetcherSubmission:u,preventScrollReset:f,replace:p}=void 0===o?{}:o;r.response.headers.has("X-Remix-Revalidate")&&(V=!0);let v=r.response.headers.get("Location");h(v,"Expected a Location header on the redirect Response"),v=eb(v,new URL(t.url),g);let y=m(M.location,v,{_isRedirect:!0});if(d){let t=!1;if(r.response.headers.has("X-Remix-Reload-Document"))t=!0;else if(er.test(v)){let r=e.history.createURL(v);t=r.origin!==c.location.origin||null==k(r.pathname,g)}if(t)return void(p?c.location.replace(v):c.location.assign(v))}s=null;let b=!0===p||r.response.headers.has("X-Remix-Replace")?n.Replace:n.Push,{formMethod:w,formAction:E,formEncType:R}=M.navigation;!i&&!u&&w&&E&&R&&(i=eI(M.navigation));let S=i||u;if(Q.has(r.response.status)&&S&&eM(S.formMethod))await eU(b,y,{submission:l({},S,{formAction:v}),preventScrollReset:f||N,enableViewTransition:a?B:void 0});else{let e=eV(y,i);await eU(b,y,{overrideNavigation:e,fetcherSubmission:u,preventScrollReset:f||N,enableViewTransition:a?B:void 0})}}async function eG(e,r,n,o,i,l){let s,u={};try{s=await ev(b,e,r,n,o,i,l,v,t)}catch(e){return o.forEach(t=>{u[t.route.id]={type:a.error,error:e}}),u}for(let[e,t]of Object.entries(s)){var c;if(ej((c=t).result)&&G.has(c.result.status)){let r=t.result;u[e]={type:a.redirect,response:function(e,t,r,n,a,o){let i=e.headers.get("Location");if(h(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!er.test(i)){let l=n.slice(0,n.findIndex(e=>e.route.id===r)+1);i=ei(new URL(t.url),l,a,!0,i,o),e.headers.set("Location",i)}return e}(r,n,e,i,g,C.v7_relativeSplatPath)}}else u[e]=await eg(t)}return u}async function eQ(t,r,n,o,i){let l=t.matches,s=eG("loader",t,i,n,r,null),u=Promise.all(o.map(async r=>{if(!r.matches||!r.match||!r.controller)return Promise.resolve({[r.key]:{type:a.error,error:eL(404,{pathname:r.path})}});{let n=(await eG("loader",t,ew(e.history,r.path,r.controller.signal),[r.match],r.matches,r.key))[r.match.route.id];return{[r.key]:n}}})),c=await s,d=(await u).reduce((e,t)=>Object.assign(e,t),{});return await Promise.all([eF(r,c,i.signal,l,t.loaderData),eN(r,d,o)]),{loaderResults:c,fetcherResults:d}}function eZ(){V=!0,$.push(...tr()),es.forEach((e,t)=>{K.has(t)&&W.add(t),e3(t)})}function e0(e,t,r){void 0===r&&(r={}),M.fetchers.set(e,t),eE({fetchers:new Map(M.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function e1(e,t,r,n){void 0===n&&(n={});let a=eP(M.matches,t);e4(e),eE({errors:{[a.route.id]:r},fetchers:new Map(M.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function e7(e){return ed.set(e,(ed.get(e)||0)+1),eh.has(e)&&eh.delete(e),M.fetchers.get(e)||ee}function e4(e){let t=M.fetchers.get(e);K.has(e)&&!(t&&"loading"===t.state&&X.has(e))&&e3(e),es.delete(e),X.delete(e),eo.delete(e),C.v7_fetcherPersist&&eh.delete(e),W.delete(e),M.fetchers.delete(e)}function e3(e){let t=K.get(e);t&&(t.abort(),K.delete(e))}function e5(e){for(let t of e){let e=eW(e7(t).data);M.fetchers.set(t,e)}}function e2(){let e=[],t=!1;for(let r of eo){let n=M.fetchers.get(r);h(n,"Expected fetcher: "+r),"loading"===n.state&&(eo.delete(r),e.push(r),t=!0)}return e5(e),t}function e6(e){let t=[];for(let[r,n]of X)if(n<e){let e=M.fetchers.get(r);h(e,"Expected fetcher: "+r),"loading"===e.state&&(e3(r),X.delete(r),t.push(r))}return e5(t),t.length>0}function e8(e){M.blockers.delete(e),ey.delete(e)}function e9(e,t){let r=M.blockers.get(e)||et;h("unblocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"proceeding"===t.state||"blocked"===r.state&&"unblocked"===t.state||"proceeding"===r.state&&"unblocked"===t.state,"Invalid blocker state transition: "+r.state+" -> "+t.state);let n=new Map(M.blockers);n.set(e,t),eE({blockers:n})}function te(e){let{currentLocation:t,nextLocation:r,historyAction:n}=e;if(0===ey.size)return;ey.size>1&&f(!1,"A router only supports one blocker at a time");let a=Array.from(ey.entries()),[o,i]=a[a.length-1],l=M.blockers.get(o);if((!l||"proceeding"!==l.state)&&i({currentLocation:t,nextLocation:r,historyAction:n}))return o}function tt(e){let t=eL(404,{pathname:e}),{matches:n,route:a}=eD(r||y);return tr(),{notFoundMatches:n,route:a,error:t}}function tr(e){let t=[];return ep.forEach((r,n)=>{(!e||e(n))&&(r.cancel(),t.push(n),ep.delete(n))}),t}function tn(e,t){return _&&_(e,t.map(e=>S(e,M.loaderData)))||e.key}function ta(e,t){if(L){let r=L[tn(e,t)];if("number"==typeof r)return r}return null}function to(e,t,r){if(x){if(!e)return{active:!0,matches:R(t,r,g,!0)||[]};else if(Object.keys(e[0].params).length>0)return{active:!0,matches:R(t,r,g,!0)}}return{active:!1,matches:null}}async function ti(e,n,a,o){if(!x)return{type:"success",matches:e};let i=e;for(;;){let e=null==r,l=r||y,s=v;try{await x({signal:a,path:n,matches:i,fetcherKey:o,patch:(e,r)=>{a.aborted||ef(e,r,l,s,t)}})}catch(e){return{type:"error",error:e,partialMatches:i}}finally{e&&!a.aborted&&(y=[...y])}if(a.aborted)return{type:"aborted"};let u=E(l,n,g);if(u)return{type:"success",matches:u};let c=R(l,n,g,!0);if(!c||i.length===c.length&&i.every((e,t)=>e.route.id===c[t].route.id))return{type:"success",matches:null};i=c}}return i={get basename(){return g},get future(){return C},get state(){return M},get routes(){return y},get window(){return c},initialize:function(){if(P=e.history.listen(t=>{let{action:r,location:n,delta:a}=t;if(u){u(),u=void 0;return}f(0===ey.size||null!=a,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let o=te({currentLocation:M.location,nextLocation:n,historyAction:r});if(o&&null!=a){let t=new Promise(e=>{u=e});e.history.go(-1*a),e9(o,{state:"blocked",location:n,proceed(){e9(o,{state:"proceeding",proceed:void 0,reset:void 0,location:n}),t.then(()=>e.history.go(a))},reset(){let e=new Map(M.blockers);e.set(o,et),eE({blockers:e})}});return}return eU(r,n)}),d){var t=c,r=z;try{let e=t.sessionStorage.getItem(ea);if(e){let t=JSON.parse(e);for(let[e,n]of Object.entries(t||{}))n&&Array.isArray(n)&&r.set(e,new Set(n||[]))}}catch(e){}let e=()=>(function(e,t){if(t.size>0){let r={};for(let[e,n]of t)r[e]=[...n];try{e.sessionStorage.setItem(ea,JSON.stringify(r))}catch(e){f(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}})(c,z);c.addEventListener("pagehide",e),H=()=>c.removeEventListener("pagehide",e)}return M.initialized||eU(n.Pop,M.location,{initialHydration:!0}),i},subscribe:function(e){return D.add(e),()=>D.delete(e)},enableScrollRestoration:function(e,t,r){if(L=e,O=t,_=r||null,!A&&M.navigation===Z){A=!0;let e=ta(M.location,M.matches);null!=e&&eE({restoreScrollPosition:e})}return()=>{L=null,O=null,_=null}},navigate:e_,fetch:function(e,t,n,a){if(p)throw Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");e3(e);let o=!0===(a&&a.flushSync),i=r||y,l=ei(M.location,M.matches,g,C.v7_prependBasename,n,C.v7_relativeSplatPath,t,null==a?void 0:a.relative),s=E(i,l,g),u=to(s,i,l);if(u.active&&u.matches&&(s=u.matches),!s)return void e1(e,t,eL(404,{pathname:l}),{flushSync:o});let{path:c,submission:d,error:h}=el(C.v7_normalizeFormMethod,!0,l,a);if(h)return void e1(e,t,h,{flushSync:o});let f=eH(s,c),m=!0===(a&&a.preventScrollReset);d&&eM(d.formMethod)?eJ(e,t,c,f,s,u.active,o,m,d):(es.set(e,{routeId:t,path:c}),eY(e,t,c,f,s,u.active,o,m,d))},revalidate:function(){if(eZ(),eE({revalidation:"loading"}),"submitting"!==M.navigation.state){if("idle"===M.navigation.state)return void eU(M.historyAction,M.location,{startUninterruptedRevalidation:!0});eU(F||M.historyAction,M.navigation.location,{overrideNavigation:M.navigation,enableViewTransition:!0===B})}},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:e7,deleteFetcher:function(e){let t=(ed.get(e)||0)-1;t<=0?(ed.delete(e),eh.add(e),C.v7_fetcherPersist||e4(e)):ed.set(e,t),eE({fetchers:new Map(M.fetchers)})},dispose:function(){P&&P(),H&&H(),D.clear(),s&&s.abort(),M.fetchers.forEach((e,t)=>e4(t)),M.blockers.forEach((e,t)=>e8(t))},getBlocker:function(e,t){let r=M.blockers.get(e)||et;return ey.get(e)!==t&&ey.set(e,t),r},deleteBlocker:e8,patchRoutes:function(e,n){let a=null==r;ef(e,n,r||y,v,t),a&&(y=[...y],eE({}))},_internalFetchControllers:K,_internalActiveDeferreds:ep,_internalSetRoutes:function(e){r=w(e,t,void 0,v={})}}}function ei(e,t,r,n,a,o,i,l){let s,u;if(i){for(let e of(s=[],t))if(s.push(e),e.route.id===i){u=e;break}}else s=t,u=t[t.length-1];let c=U(a||".",T(s,o),k(e.pathname,r)||e.pathname,"path"===l);if(null==a&&(c.search=e.search,c.hash=e.hash),(null==a||""===a||"."===a)&&u){let e=ez(c.search);if(u.route.index&&!e)c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index";else if(!u.route.index&&e){let e=new URLSearchParams(c.search),t=e.getAll("index");e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let r=e.toString();c.search=r?"?"+r:""}}return n&&"/"!==r&&(c.pathname="/"===c.pathname?r:j([r,c.pathname])),v(c)}function el(e,t,r,n){var a;let o,i;if(!n||!(null!=n&&("formData"in n&&null!=n.formData||"body"in n&&void 0!==n.body)))return{path:r};if(n.formMethod&&(a=n.formMethod,!X.has(a.toLowerCase())))return{path:r,error:eL(405,{method:n.formMethod})};let l=()=>({path:r,error:eL(400,{type:"invalid-body"})}),s=n.formMethod||"get",u=e?s.toUpperCase():s.toLowerCase(),c=e_(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!eM(u))return l();let e="string"==typeof n.body?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((e,t)=>{let[r,n]=t;return""+e+r+"="+n+"\n"},""):String(n.body);return{path:r,submission:{formMethod:u,formAction:c,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}else if("application/json"===n.formEncType){if(!eM(u))return l();try{let e="string"==typeof n.body?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:u,formAction:c,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return l()}}}if(h("function"==typeof FormData,"FormData is not available in this environment"),n.formData)o=eE(n.formData),i=n.formData;else if(n.body instanceof FormData)o=eE(n.body),i=n.body;else if(n.body instanceof URLSearchParams)i=eR(o=n.body);else if(null==n.body)o=new URLSearchParams,i=new FormData;else try{o=new URLSearchParams(n.body),i=eR(o)}catch(e){return l()}let d={formMethod:u,formAction:c,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(eM(d.formMethod))return{path:r,submission:d};let f=y(r);return t&&f.search&&ez(f.search)&&o.append("index",""),f.search="?"+o,{path:v(f),submission:d}}function es(e,t,r){void 0===r&&(r=!1);let n=e.findIndex(e=>e.route.id===t);return n>=0?e.slice(0,r?n+1:n):e}function eu(e,t,r,n,a,o,i,s,u,c,d,h,f,p,m,v){let y=v?eA(v[1])?v[1].error:v[1].data:void 0,g=e.createURL(t.location),b=e.createURL(a),w=r;o&&t.errors?w=es(r,Object.keys(t.errors)[0],!0):v&&eA(v[1])&&(w=es(r,v[0]));let R=v?v[1].statusCode:void 0,S=i&&R&&R>=400,x=w.filter((e,r)=>{var a,i,c;let d,h,{route:f}=e;if(f.lazy)return!0;if(null==f.loader)return!1;if(o)return ec(f,t.loaderData,t.errors);if(a=t.loaderData,i=t.matches[r],c=e,d=!i||c.route.id!==i.route.id,h=void 0===a[c.route.id],d||h||u.some(t=>t===e.route.id))return!0;let p=t.matches[r];return eh(e,l({currentUrl:g,currentParams:p.params,nextUrl:b,nextParams:e.params},n,{actionResult:y,actionStatus:R,defaultShouldRevalidate:!S&&(s||g.pathname+g.search===b.pathname+b.search||g.search!==b.search||ed(p,e))}))}),C=[];return h.forEach((e,a)=>{if(o||!r.some(t=>t.route.id===e.routeId)||d.has(a))return;let i=E(p,e.path,m);if(!i)return void C.push({key:a,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let u=t.fetchers.get(a),h=eH(i,e.path),v=!1;f.has(a)?v=!1:c.has(a)?(c.delete(a),v=!0):v=u&&"idle"!==u.state&&void 0===u.data?s:eh(h,l({currentUrl:g,currentParams:t.matches[t.matches.length-1].params,nextUrl:b,nextParams:r[r.length-1].params},n,{actionResult:y,actionStatus:R,defaultShouldRevalidate:!S&&s})),v&&C.push({key:a,routeId:e.routeId,path:e.path,matches:i,match:h,controller:new AbortController})}),[x,C]}function ec(e,t,r){if(e.lazy)return!0;if(!e.loader)return!1;let n=null!=t&&void 0!==t[e.id],a=null!=r&&void 0!==r[e.id];return(!!n||!a)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!n&&!a)}function ed(e,t){let r=e.route.path;return e.pathname!==t.pathname||null!=r&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function eh(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if("boolean"==typeof r)return r}return t.defaultShouldRevalidate}function ef(e,t,r,n,a){var o;let i;if(e){let t=n[e];h(t,"No route found to patch children into: routeId = "+e),t.children||(t.children=[]),i=t.children}else i=r;let l=w(t.filter(e=>!i.some(t=>(function e(t,r){return"id"in t&&"id"in r&&t.id===r.id||t.index===r.index&&t.path===r.path&&t.caseSensitive===r.caseSensitive&&((!t.children||0===t.children.length)&&(!r.children||0===r.children.length)||t.children.every((t,n)=>{var a;return null==(a=r.children)?void 0:a.some(r=>e(t,r))}))})(e,t))),a,[e||"_","patch",String((null==(o=i)?void 0:o.length)||"0")],n);i.push(...l)}async function ep(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let a=r[e.id];h(a,"No route found in manifest");let o={};for(let e in n){let t=void 0!==a[e]&&"hasErrorBoundary"!==e;f(!t,'Route "'+a.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||b.has(e)||(o[e]=n[e])}Object.assign(a,o),Object.assign(a,l({},t(a),{lazy:void 0}))}async function em(e){let{matches:t}=e,r=t.filter(e=>e.shouldLoad);return(await Promise.all(r.map(e=>e.resolve()))).reduce((e,t,n)=>Object.assign(e,{[r[n].route.id]:t}),{})}async function ev(e,t,r,n,o,i,s,u,c,d){let h=i.map(e=>e.route.lazy?ep(e.route,c,u):void 0),f=i.map((e,r)=>{let i=h[r],s=o.some(t=>t.route.id===e.route.id),u=async r=>(r&&"GET"===n.method&&(e.route.lazy||e.route.loader)&&(s=!0),s?ey(t,n,e,i,r,d):Promise.resolve({type:a.data,result:void 0}));return l({},e,{shouldLoad:s,resolve:u})}),p=await e({matches:f,request:n,params:i[0].params,fetcherKey:s,context:d});try{await Promise.all(h)}catch(e){}return p}async function ey(e,t,r,n,o,i){let l,s,u=n=>{let a,l=new Promise((e,t)=>a=t);s=()=>a(),t.signal.addEventListener("abort",s);let u=a=>"function"!=typeof n?Promise.reject(Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: ')+r.route.id+"]")):n({request:t,params:r.params,context:i},...void 0!==a?[a]:[]);return Promise.race([(async()=>{try{let e=await (o?o(e=>u(e)):u());return{type:"data",result:e}}catch(e){return{type:"error",result:e}}})(),l])};try{let o=r.route[e];if(n)if(o){let e,[t]=await Promise.all([u(o).catch(t=>{e=t}),n]);if(void 0!==e)throw e;l=t}else if(await n,o=r.route[e])l=await u(o);else{if("action"!==e)return{type:a.data,result:void 0};let n=new URL(t.url),o=n.pathname+n.search;throw eL(405,{method:t.method,pathname:o,routeId:r.route.id})}else if(o)l=await u(o);else{let e=new URL(t.url),r=e.pathname+e.search;throw eL(404,{pathname:r})}h(void 0!==l.result,"You defined "+("action"===e?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `")+e+"` function. Please return a value or `null`.")}catch(e){return{type:a.error,result:e}}finally{s&&t.signal.removeEventListener("abort",s)}return l}async function eg(e){var t,r,n,o,i,l,s,u,c;let{result:d,type:h}=e;if(ej(d)){let e;try{let t=d.headers.get("Content-Type");e=t&&/\bapplication\/json\b/.test(t)?null==d.body?null:await d.json():await d.text()}catch(e){return{type:a.error,error:e}}return h===a.error?{type:a.error,error:new K(d.status,d.statusText,e),statusCode:d.status,headers:d.headers}:{type:a.data,data:e,statusCode:d.status,headers:d.headers}}if(h===a.error)return eU(d)?d.data instanceof Error?{type:a.error,error:d.data,statusCode:null==(n=d.init)?void 0:n.status,headers:null!=(o=d.init)&&o.headers?new Headers(d.init.headers):void 0}:{type:a.error,error:new K((null==(t=d.init)?void 0:t.status)||500,void 0,d.data),statusCode:q(d)?d.status:void 0,headers:null!=(r=d.init)&&r.headers?new Headers(d.init.headers):void 0}:{type:a.error,error:d,statusCode:q(d)?d.status:void 0};return(c=d)&&"object"==typeof c&&"object"==typeof c.data&&"function"==typeof c.subscribe&&"function"==typeof c.cancel&&"function"==typeof c.resolveData?{type:a.deferred,deferredData:d,statusCode:null==(i=d.init)?void 0:i.status,headers:(null==(l=d.init)?void 0:l.headers)&&new Headers(d.init.headers)}:eU(d)?{type:a.data,data:d.data,statusCode:null==(s=d.init)?void 0:s.status,headers:null!=(u=d.init)&&u.headers?new Headers(d.init.headers):void 0}:{type:a.data,data:d}}function eb(e,t,r){if(er.test(e)){let n=new URL(e.startsWith("//")?t.protocol+e:e),a=null!=k(n.pathname,r);if(n.origin===t.origin&&a)return n.pathname+n.search+n.hash}return e}function ew(e,t,r,n){let a=e.createURL(e_(t)).toString(),o={signal:r};if(n&&eM(n.formMethod)){let{formMethod:e,formEncType:t}=n;o.method=e.toUpperCase(),"application/json"===t?(o.headers=new Headers({"Content-Type":t}),o.body=JSON.stringify(n.json)):"text/plain"===t?o.body=n.text:"application/x-www-form-urlencoded"===t&&n.formData?o.body=eE(n.formData):o.body=n.formData}return new Request(a,o)}function eE(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,"string"==typeof n?n:n.name);return t}function eR(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function eS(e,t,r,n,a,o,i){let s,u,c,d,f,p,{loaderData:m,errors:v}=(u={},c=null,d=!1,f={},p=n&&eA(n[1])?n[1].error:void 0,t.forEach(e=>{if(!(e.route.id in r))return;let n=e.route.id,a=r[n];if(h(!eT(a),"Cannot handle redirect results in processLoaderData"),eA(a)){let e=a.error;void 0!==p&&(e=p,p=void 0),c=c||{},1;{let r=eP(t,n);null==c[r.route.id]&&(c[r.route.id]=e)}u[n]=void 0,d||(d=!0,s=q(a.error)?a.error.status:500),a.headers&&(f[n]=a.headers)}else eO(a)?(i.set(n,a.deferredData),u[n]=a.deferredData.data,null==a.statusCode||200===a.statusCode||d||(s=a.statusCode)):(u[n]=a.data,a.statusCode&&200!==a.statusCode&&!d&&(s=a.statusCode)),a.headers&&(f[n]=a.headers)}),void 0!==p&&n&&(c={[n[0]]:p},u[n[0]]=void 0),{loaderData:u,errors:c,statusCode:s||200,loaderHeaders:f});return a.forEach(t=>{let{key:r,match:n,controller:a}=t,i=o[r];if(h(i,"Did not find corresponding fetcher result"),!a||!a.signal.aborted)if(eA(i)){let t=eP(e.matches,null==n?void 0:n.route.id);v&&v[t.route.id]||(v=l({},v,{[t.route.id]:i.error})),e.fetchers.delete(r)}else if(eT(i))h(!1,"Unhandled fetcher revalidation redirect");else if(eO(i))h(!1,"Unhandled fetcher deferred data");else{let t=eW(i.data);e.fetchers.set(r,t)}}),{loaderData:m,errors:v}}function ex(e,t,r,n){let a=l({},t);for(let o of r){let r=o.route.id;if(t.hasOwnProperty(r)?void 0!==t[r]&&(a[r]=t[r]):void 0!==e[r]&&o.route.loader&&(a[r]=e[r]),n&&n.hasOwnProperty(r))break}return a}function eC(e){return e?eA(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function eP(e,t){return(t?e.slice(0,e.findIndex(e=>e.route.id===t)+1):[...e]).reverse().find(e=>!0===e.route.hasErrorBoundary)||e[0]}function eD(e){let t=1===e.length?e[0]:e.find(e=>e.index||!e.path||"/"===e.path)||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function eL(e,t){let{pathname:r,routeId:n,method:a,type:o,message:i}=void 0===t?{}:t,l="Unknown Server Error",s="Unknown @remix-run/router error";return 400===e?(l="Bad Request",a&&r&&n?s="You made a "+a+' request to "'+r+'" but did not provide a `loader` for route "'+n+'", so there is no way to handle the request.':"defer-action"===o?s="defer() is not supported in actions":"invalid-body"===o&&(s="Unable to encode submission body")):403===e?(l="Forbidden",s='Route "'+n+'" does not match URL "'+r+'"'):404===e?(l="Not Found",s='No route matches URL "'+r+'"'):405===e&&(l="Method Not Allowed",a&&r&&n?s="You made a "+a.toUpperCase()+' request to "'+r+'" but did not provide an `action` for route "'+n+'", so there is no way to handle the request.':a&&(s='Invalid request method "'+a.toUpperCase()+'"')),new K(e||500,l,Error(s),!0)}function ek(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[r,n]=t[e];if(eT(n))return{key:r,result:n}}}function e_(e){let t="string"==typeof e?y(e):e;return v(l({},t,{hash:""}))}function eO(e){return e.type===a.deferred}function eA(e){return e.type===a.error}function eT(e){return(e&&e.type)===a.redirect}function eU(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function ej(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function eM(e){return Y.has(e.toLowerCase())}async function eF(e,t,r,n,a){let o=Object.entries(t);for(let i=0;i<o.length;i++){let[l,s]=o[i],u=e.find(e=>(null==e?void 0:e.route.id)===l);if(!u)continue;let c=n.find(e=>e.route.id===u.route.id),d=null!=c&&!ed(c,u)&&(a&&a[u.route.id])!==void 0;eO(s)&&d&&await eB(s,r,!1).then(e=>{e&&(t[l]=e)})}}async function eN(e,t,r){for(let n=0;n<r.length;n++){let{key:a,routeId:o,controller:i}=r[n],l=t[a];e.find(e=>(null==e?void 0:e.route.id)===o)&&eO(l)&&(h(i,"Expected an AbortController for revalidating fetcher deferred result"),await eB(l,i.signal,!0).then(e=>{e&&(t[a]=e)}))}}async function eB(e,t,r){if(void 0===r&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:a.data,data:e.deferredData.unwrappedData}}catch(e){return{type:a.error,error:e}}return{type:a.data,data:e.deferredData.data}}}function ez(e){return new URLSearchParams(e).getAll("index").some(e=>""===e)}function eH(e,t){let r="string"==typeof t?y(t).search:t.search;if(e[e.length-1].route.index&&ez(r||""))return e[e.length-1];let n=A(e);return n[n.length-1]}function eI(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:o,json:i}=e;if(t&&r&&n){if(null!=a)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a};else if(null!=o)return{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0};else if(void 0!==i)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:i,text:void 0}}}function eV(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function e$(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function eW(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}Symbol("deferred")},49348:function(e,t,r){r.r(t),r.d(t,{AbortedDeferredError:()=>c.tH,Await:()=>u.jD,BrowserRouter:()=>U,Form:()=>H,HashRouter:()=>j,Link:()=>B,MemoryRouter:()=>u.fS,NavLink:()=>z,Navigate:()=>u.C5,NavigationType:()=>c.rc,Outlet:()=>u.sv,Route:()=>u.qh,Router:()=>u.Ix,RouterProvider:()=>A,Routes:()=>u.BV,ScrollRestoration:()=>I,UNSAFE_DataRouterContext:()=>u.sp,UNSAFE_DataRouterStateContext:()=>u.Rq,UNSAFE_ErrorResponseImpl:()=>c.VV,UNSAFE_FetchersContext:()=>P,UNSAFE_LocationContext:()=>u.yN,UNSAFE_NavigationContext:()=>u.jb,UNSAFE_RouteContext:()=>u.UX,UNSAFE_ViewTransitionContext:()=>C,UNSAFE_useRouteId:()=>u.$3,UNSAFE_useScrollRestoration:()=>et,createBrowserRouter:()=>R,createHashRouter:()=>S,createMemoryRouter:()=>u.bg,createPath:()=>c.AO,createRoutesFromChildren:()=>u.AV,createRoutesFromElements:()=>u.Eu,createSearchParams:()=>m,defer:()=>c.v6,generatePath:()=>c.tW,isRouteErrorResponse:()=>c.pX,json:()=>c.Pq,matchPath:()=>c.B6,matchRoutes:()=>c.ue,parsePath:()=>c.Rr,redirect:()=>c.V2,redirectDocument:()=>c.Sk,renderMatches:()=>u.KT,replace:()=>c.HC,resolvePath:()=>c.o1,unstable_HistoryRouter:()=>M,unstable_usePrompt:()=>en,useActionData:()=>u.mP,useAsyncError:()=>u.oI,useAsyncValue:()=>u.J8,useBeforeUnload:()=>er,useBlocker:()=>u.KP,useFetcher:()=>G,useFetchers:()=>Q,useFormAction:()=>X,useHref:()=>u.$P,useInRouterContext:()=>u.Ri,useLinkClickHandler:()=>W,useLoaderData:()=>u.LG,useLocation:()=>u.zy,useMatch:()=>u.RQ,useMatches:()=>u.FE,useNavigate:()=>u.Zp,useNavigation:()=>u.cq,useNavigationType:()=>u.wQ,useOutlet:()=>u.P1,useOutletContext:()=>u.KC,useParams:()=>u.g,useResolvedPath:()=>u.x$,useRevalidator:()=>u.vL,useRouteError:()=>u.r5,useRouteLoaderData:()=>u.Ew,useRoutes:()=>u.Ye,useSearchParams:()=>K,useSubmit:()=>Y,useViewTransitionState:()=>ea});var n,a,o,i,l=r(70451),s=r(20231),u=r(67435),c=r(70744);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function h(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}let f="application/x-www-form-urlencoded";function p(e){return null!=e&&"string"==typeof e.tagName}function m(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(e=>[r,e]):[[r,n]])},[]))}let v=null,y=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function g(e){return null==e||y.has(e)?e:null}let b=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],w=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],E=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(e){}function R(e,t){return(0,c.aE)({basename:null==t?void 0:t.basename,future:d({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(0,c.zR)({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||x(),routes:e,mapRouteProperties:u.wE,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function S(e,t){return(0,c.aE)({basename:null==t?void 0:t.basename,future:d({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(0,c.TM)({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||x(),routes:e,mapRouteProperties:u.wE,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function x(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=d({},t,{errors:function(e){if(!e)return null;let t=Object.entries(e),r={};for(let[e,n]of t)if(n&&"RouteErrorResponse"===n.__type)r[e]=new c.VV(n.status,n.statusText,n.data,!0===n.internal);else if(n&&"Error"===n.__type){if(n.__subType){let t=window[n.__subType];if("function"==typeof t)try{let a=new t(n.message);a.stack="",r[e]=a}catch(e){}}if(null==r[e]){let t=Error(n.message);t.stack="",r[e]=t}}else r[e]=n;return r}(t.errors)})),t}let C=l.createContext({isTransitioning:!1}),P=l.createContext(new Map),D=l.startTransition,L=s.flushSync,k=l.useId;function _(e){L?L(e):e()}class O{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}})}}function A(e){let{fallbackElement:t,router:r,future:n}=e,[a,o]=l.useState(r.state),[i,s]=l.useState(),[c,d]=l.useState({isTransitioning:!1}),[h,f]=l.useState(),[p,m]=l.useState(),[v,y]=l.useState(),g=l.useRef(new Map),{v7_startTransition:b}=n||{},w=l.useCallback(e=>{if(b)D?D(e):e();else e()},[b]),E=l.useCallback((e,t)=>{let{deletedFetchers:n,flushSync:a,viewTransitionOpts:i}=t;e.fetchers.forEach((e,t)=>{void 0!==e.data&&g.current.set(t,e.data)}),n.forEach(e=>g.current.delete(e));let l=null==r.window||null==r.window.document||"function"!=typeof r.window.document.startViewTransition;if(!i||l)return void(a?_(()=>o(e)):w(()=>o(e)));if(a){_(()=>{p&&(h&&h.resolve(),p.skipTransition()),d({isTransitioning:!0,flushSync:!0,currentLocation:i.currentLocation,nextLocation:i.nextLocation})});let t=r.window.document.startViewTransition(()=>{_(()=>o(e))});t.finished.finally(()=>{_(()=>{f(void 0),m(void 0),s(void 0),d({isTransitioning:!1})})}),_(()=>m(t));return}p?(h&&h.resolve(),p.skipTransition(),y({state:e,currentLocation:i.currentLocation,nextLocation:i.nextLocation})):(s(e),d({isTransitioning:!0,flushSync:!1,currentLocation:i.currentLocation,nextLocation:i.nextLocation}))},[r.window,p,h,g,w]);l.useLayoutEffect(()=>r.subscribe(E),[r,E]),l.useEffect(()=>{c.isTransitioning&&!c.flushSync&&f(new O)},[c]),l.useEffect(()=>{if(h&&i&&r.window){let e=h.promise,t=r.window.document.startViewTransition(async()=>{w(()=>o(i)),await e});t.finished.finally(()=>{f(void 0),m(void 0),s(void 0),d({isTransitioning:!1})}),m(t)}},[w,i,h,r.window]),l.useEffect(()=>{h&&i&&a.location.key===i.location.key&&h.resolve()},[h,p,a.location,i]),l.useEffect(()=>{!c.isTransitioning&&v&&(s(v.state),d({isTransitioning:!0,flushSync:!1,currentLocation:v.currentLocation,nextLocation:v.nextLocation}),y(void 0))},[c.isTransitioning,v]),l.useEffect(()=>{},[]);let R=l.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:e=>r.navigate(e),push:(e,t,n)=>r.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset}),replace:(e,t,n)=>r.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})}),[r]),S=r.basename||"/",x=l.useMemo(()=>({router:r,navigator:R,static:!1,basename:S}),[r,R,S]),L=l.useMemo(()=>({v7_relativeSplatPath:r.future.v7_relativeSplatPath}),[r.future.v7_relativeSplatPath]);return l.useEffect(()=>(0,u.V8)(n,r.future),[n,r.future]),l.createElement(l.Fragment,null,l.createElement(u.sp.Provider,{value:x},l.createElement(u.Rq.Provider,{value:a},l.createElement(P.Provider,{value:g.current},l.createElement(C.Provider,{value:c},l.createElement(u.Ix,{basename:S,location:a.location,navigationType:a.historyAction,navigator:R,future:L},a.initialized||r.future.v7_partialHydration?l.createElement(T,{routes:r.routes,future:r.future,state:a}):t))))),null)}let T=l.memo(function(e){let{routes:t,future:r,state:n}=e;return(0,u.ph)(t,void 0,n,r)});function U(e){let{basename:t,children:r,future:n,window:a}=e,o=l.useRef();null==o.current&&(o.current=(0,c.zR)({window:a,v5Compat:!0}));let i=o.current,[s,d]=l.useState({action:i.action,location:i.location}),{v7_startTransition:h}=n||{},f=l.useCallback(e=>{h&&D?D(()=>d(e)):d(e)},[d,h]);return l.useLayoutEffect(()=>i.listen(f),[i,f]),l.useEffect(()=>(0,u.V8)(n),[n]),l.createElement(u.Ix,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:i,future:n})}function j(e){let{basename:t,children:r,future:n,window:a}=e,o=l.useRef();null==o.current&&(o.current=(0,c.TM)({window:a,v5Compat:!0}));let i=o.current,[s,d]=l.useState({action:i.action,location:i.location}),{v7_startTransition:h}=n||{},f=l.useCallback(e=>{h&&D?D(()=>d(e)):d(e)},[d,h]);return l.useLayoutEffect(()=>i.listen(f),[i,f]),l.useEffect(()=>(0,u.V8)(n),[n]),l.createElement(u.Ix,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:i,future:n})}function M(e){let{basename:t,children:r,future:n,history:a}=e,[o,i]=l.useState({action:a.action,location:a.location}),{v7_startTransition:s}=n||{},c=l.useCallback(e=>{s&&D?D(()=>i(e)):i(e)},[i,s]);return l.useLayoutEffect(()=>a.listen(c),[a,c]),l.useEffect(()=>(0,u.V8)(n),[n]),l.createElement(u.Ix,{basename:t,children:r,location:o.location,navigationType:o.action,navigator:a,future:n})}let F="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,N=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,B=l.forwardRef(function(e,t){let r,{onClick:n,relative:a,reloadDocument:o,replace:i,state:s,target:f,to:p,preventScrollReset:m,viewTransition:v}=e,y=h(e,b),{basename:g}=l.useContext(u.jb),w=!1;if("string"==typeof p&&N.test(p)&&(r=p,F))try{let e=new URL(window.location.href),t=new URL(p.startsWith("//")?e.protocol+p:p),r=(0,c.pb)(t.pathname,g);t.origin===e.origin&&null!=r?p=r+t.search+t.hash:w=!0}catch(e){}let E=(0,u.$P)(p,{relative:a}),R=W(p,{replace:i,state:s,target:f,preventScrollReset:m,relative:a,viewTransition:v});return l.createElement("a",d({},y,{href:r||E,onClick:w||o?n:function(e){n&&n(e),e.defaultPrevented||R(e)},ref:t,target:f}))}),z=l.forwardRef(function(e,t){let r,{"aria-current":n="page",caseSensitive:a=!1,className:o="",end:i=!1,style:s,to:f,viewTransition:p,children:m}=e,v=h(e,w),y=(0,u.x$)(f,{relative:v.relative}),g=(0,u.zy)(),b=l.useContext(u.Rq),{navigator:E,basename:R}=l.useContext(u.jb),S=null!=b&&ea(y)&&!0===p,x=E.encodeLocation?E.encodeLocation(y).pathname:y.pathname,C=g.pathname,P=b&&b.navigation&&b.navigation.location?b.navigation.location.pathname:null;a||(C=C.toLowerCase(),P=P?P.toLowerCase():null,x=x.toLowerCase()),P&&R&&(P=(0,c.pb)(P,R)||P);let D="/"!==x&&x.endsWith("/")?x.length-1:x.length,L=C===x||!i&&C.startsWith(x)&&"/"===C.charAt(D),k=null!=P&&(P===x||!i&&P.startsWith(x)&&"/"===P.charAt(x.length)),_={isActive:L,isPending:k,isTransitioning:S},O=L?n:void 0;r="function"==typeof o?o(_):[o,L?"active":null,k?"pending":null,S?"transitioning":null].filter(Boolean).join(" ");let A="function"==typeof s?s(_):s;return l.createElement(B,d({},v,{"aria-current":O,className:r,ref:t,style:A,to:f,viewTransition:p}),"function"==typeof m?m(_):m)}),H=l.forwardRef((e,t)=>{let{fetcherKey:r,navigate:n,reloadDocument:a,replace:o,state:i,method:s="get",action:u,onSubmit:c,relative:f,preventScrollReset:p,viewTransition:m}=e,v=h(e,E),y=Y(),g=X(u,{relative:f}),b="get"===s.toLowerCase()?"get":"post";return l.createElement("form",d({ref:t,method:b,action:g,onSubmit:a?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,a=(null==t?void 0:t.getAttribute("formmethod"))||s;y(t||e.currentTarget,{fetcherKey:r,method:a,navigate:n,replace:o,state:i,relative:f,preventScrollReset:p,viewTransition:m})}},v))});function I(e){let{getKey:t,storageKey:r}=e;return et({getKey:t,storageKey:r}),null}function V(e){let t=l.useContext(u.sp);return t||(0,c.Oi)(!1),t}function $(e){let t=l.useContext(u.Rq);return t||(0,c.Oi)(!1),t}function W(e,t){let{target:r,replace:n,state:a,preventScrollReset:o,relative:i,viewTransition:s}=void 0===t?{}:t,d=(0,u.Zp)(),h=(0,u.zy)(),f=(0,u.x$)(e,{relative:i});return l.useCallback(t=>{0!==t.button||r&&"_self"!==r||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||(t.preventDefault(),d(e,{replace:void 0!==n?n:(0,c.AO)(h)===(0,c.AO)(f),state:a,preventScrollReset:o,relative:i,viewTransition:s}))},[h,d,f,n,a,r,e,o,i,s])}function K(e){let t=l.useRef(m(e)),r=l.useRef(!1),n=(0,u.zy)(),a=l.useMemo(()=>{var e,a;let o;return e=n.search,a=r.current?null:t.current,o=m(e),a&&a.forEach((e,t)=>{o.has(t)||a.getAll(t).forEach(e=>{o.append(t,e)})}),o},[n.search]),o=(0,u.Zp)(),i=l.useCallback((e,t)=>{let n=m("function"==typeof e?e(a):e);r.current=!0,o("?"+n,t)},[o,a]);return[a,i]}(n=o||(o={})).UseScrollRestoration="useScrollRestoration",n.UseSubmit="useSubmit",n.UseSubmitFetcher="useSubmitFetcher",n.UseFetcher="useFetcher",n.useViewTransitionState="useViewTransitionState",(a=i||(i={})).UseFetcher="useFetcher",a.UseFetchers="useFetchers",a.UseScrollRestoration="useScrollRestoration";let q=0,J=()=>"__"+String(++q)+"__";function Y(){let{router:e}=V(o.UseSubmit),{basename:t}=l.useContext(u.jb),r=(0,u.$3)();return l.useCallback(function(n,a){if(void 0===a&&(a={}),"undefined"==typeof document)throw Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.");let{action:o,method:i,encType:l,formData:s,body:u}=function(e,t){let r,n,a,o,i;if(p(e)&&"form"===e.tagName.toLowerCase()){let i=e.getAttribute("action");n=i?(0,c.pb)(i,t):null,r=e.getAttribute("method")||"get",a=g(e.getAttribute("enctype"))||f,o=new FormData(e)}else if(p(e)&&"button"===e.tagName.toLowerCase()||p(e)&&"input"===e.tagName.toLowerCase()&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||i.getAttribute("action");if(n=l?(0,c.pb)(l,t):null,r=e.getAttribute("formmethod")||i.getAttribute("method")||"get",a=g(e.getAttribute("formenctype"))||g(i.getAttribute("enctype"))||f,o=new FormData(i,e),!function(){if(null===v)try{new FormData(document.createElement("form"),0),v=!1}catch(e){v=!0}return v}()){let{name:t,type:r,value:n}=e;if("image"===r){let e=t?t+".":"";o.append(e+"x","0"),o.append(e+"y","0")}else t&&o.append(t,n)}}else if(p(e))throw Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');else r="get",n=null,a=f,i=e;return o&&"text/plain"===a&&(i=o,o=void 0),{action:n,method:r.toLowerCase(),encType:a,formData:o,body:i}}(n,t);if(!1===a.navigate){let t=a.fetcherKey||J();e.fetch(t,r,a.action||o,{preventScrollReset:a.preventScrollReset,formData:s,body:u,formMethod:a.method||i,formEncType:a.encType||l,flushSync:a.flushSync})}else e.navigate(a.action||o,{preventScrollReset:a.preventScrollReset,formData:s,body:u,formMethod:a.method||i,formEncType:a.encType||l,replace:a.replace,state:a.state,fromRouteId:r,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,r])}function X(e,t){let{relative:r}=void 0===t?{}:t,{basename:n}=l.useContext(u.jb),a=l.useContext(u.UX);a||(0,c.Oi)(!1);let[o]=a.matches.slice(-1),i=d({},(0,u.x$)(e||".",{relative:r})),s=(0,u.zy)();if(null==e){i.search=s.search;let e=new URLSearchParams(i.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let r=e.toString();i.search=r?"?"+r:""}}return(!e||"."===e)&&o.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),"/"!==n&&(i.pathname="/"===i.pathname?n:(0,c.HS)([n,i.pathname])),(0,c.AO)(i)}function G(e){var t;let{key:r}=void 0===e?{}:e,{router:n}=V(o.UseFetcher),a=$(i.UseFetcher),s=l.useContext(P),h=l.useContext(u.UX),f=null==(t=h.matches[h.matches.length-1])?void 0:t.route.id;s||(0,c.Oi)(!1),h||(0,c.Oi)(!1),null==f&&(0,c.Oi)(!1);let p=k?k():"",[m,v]=l.useState(r||p);r&&r!==m?v(r):m||v(J()),l.useEffect(()=>(n.getFetcher(m),()=>{n.deleteFetcher(m)}),[n,m]);let y=l.useCallback((e,t)=>{f||(0,c.Oi)(!1),n.fetch(m,f,e,t)},[m,f,n]),g=Y(),b=l.useCallback((e,t)=>{g(e,d({},t,{navigate:!1,fetcherKey:m}))},[m,g]),w=l.useMemo(()=>l.forwardRef((e,t)=>l.createElement(H,d({},e,{navigate:!1,fetcherKey:m,ref:t}))),[m]),E=a.fetchers.get(m)||c.HW,R=s.get(m);return l.useMemo(()=>d({Form:w,submit:b,load:y},E,{data:R}),[w,b,y,E,R])}function Q(){return Array.from($(i.UseFetchers).fetchers.entries()).map(e=>{let[t,r]=e;return d({},r,{key:t})})}let Z="react-router-scroll-positions",ee={};function et(e){let{getKey:t,storageKey:r}=void 0===e?{}:e,{router:n}=V(o.UseScrollRestoration),{restoreScrollPosition:a,preventScrollReset:s}=$(i.UseScrollRestoration),{basename:h}=l.useContext(u.jb),f=(0,u.zy)(),p=(0,u.FE)(),m=(0,u.cq)();l.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),function(e,t){let{capture:r}={};l.useEffect(()=>{let t=null!=r?{capture:r}:void 0;return window.addEventListener("pagehide",e,t),()=>{window.removeEventListener("pagehide",e,t)}},[e,r])}(l.useCallback(()=>{"idle"===m.state&&(ee[(t?t(f,p):null)||f.key]=window.scrollY);try{sessionStorage.setItem(r||Z,JSON.stringify(ee))}catch(e){}window.history.scrollRestoration="auto"},[r,t,m.state,f,p])),"undefined"!=typeof document&&(l.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(r||Z);e&&(ee=JSON.parse(e))}catch(e){}},[r]),l.useLayoutEffect(()=>{let e=t&&"/"!==h?(e,r)=>t(d({},e,{pathname:(0,c.pb)(e.pathname,h)||e.pathname}),r):t,r=null==n?void 0:n.enableScrollRestoration(ee,()=>window.scrollY,e);return()=>r&&r()},[n,h,t]),l.useLayoutEffect(()=>{if(!1!==a){if("number"==typeof a)return void window.scrollTo(0,a);if(f.hash){let e=document.getElementById(decodeURIComponent(f.hash.slice(1)));if(e)return void e.scrollIntoView()}!0!==s&&window.scrollTo(0,0)}},[f,a,s]))}function er(e,t){let{capture:r}=t||{};l.useEffect(()=>{let t=null!=r?{capture:r}:void 0;return window.addEventListener("beforeunload",e,t),()=>{window.removeEventListener("beforeunload",e,t)}},[e,r])}function en(e){let{when:t,message:r}=e,n=(0,u.KP)(t);l.useEffect(()=>{"blocked"===n.state&&(window.confirm(r)?setTimeout(n.proceed,0):n.reset())},[n,r]),l.useEffect(()=>{"blocked"!==n.state||t||n.reset()},[n,t])}function ea(e,t){void 0===t&&(t={});let r=l.useContext(C);null==r&&(0,c.Oi)(!1);let{basename:n}=V(o.useViewTransitionState),a=(0,u.x$)(e,{relative:t.relative});if(!r.isTransitioning)return!1;let i=(0,c.pb)(r.currentLocation.pathname,n)||r.currentLocation.pathname,s=(0,c.pb)(r.nextLocation.pathname,n)||r.nextLocation.pathname;return null!=(0,c.B6)(a.pathname,s)||null!=(0,c.B6)(a.pathname,i)}},67435:function(e,t,r){r.d(t,{$3:()=>B,$P:()=>v,AV:()=>eh,BV:()=>ei,C5:()=>er,Eu:()=>eh,Ew:()=>$,FE:()=>I,Ix:()=>eo,J8:()=>q,KC:()=>x,KP:()=>X,KT:()=>ef,LG:()=>V,P1:()=>C,RQ:()=>w,Ri:()=>y,Rq:()=>c,UX:()=>p,V8:()=>Z,Ye:()=>L,Zp:()=>R,bg:()=>em,cq:()=>z,fS:()=>et,g:()=>P,jD:()=>el,jb:()=>h,mP:()=>W,oI:()=>J,ph:()=>k,qh:()=>ea,r5:()=>K,sp:()=>u,sv:()=>en,vL:()=>H,wE:()=>ep,wQ:()=>b,x$:()=>D,yN:()=>f,zy:()=>g});var n,a,o,i=r(70451),l=r(70744);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let u=i.createContext(null),c=i.createContext(null),d=i.createContext(null),h=i.createContext(null),f=i.createContext(null),p=i.createContext({outlet:null,matches:[],isDataRoute:!1}),m=i.createContext(null);function v(e,t){let{relative:r}=void 0===t?{}:t;y()||(0,l.Oi)(!1);let{basename:n,navigator:a}=i.useContext(h),{hash:o,pathname:s,search:u}=D(e,{relative:r}),c=s;return"/"!==n&&(c="/"===s?n:(0,l.HS)([n,s])),a.createHref({pathname:c,search:u,hash:o})}function y(){return null!=i.useContext(f)}function g(){return y()||(0,l.Oi)(!1),i.useContext(f).location}function b(){return i.useContext(f).navigationType}function w(e){y()||(0,l.Oi)(!1);let{pathname:t}=g();return i.useMemo(()=>(0,l.B6)(e,(0,l.RO)(t)),[t,e])}function E(e){i.useContext(h).static||i.useLayoutEffect(e)}function R(){let{isDataRoute:e}=i.useContext(p);return e?function(){let{router:e}=M(U.UseNavigateStable),t=N(j.UseNavigateStable),r=i.useRef(!1);return E(()=>{r.current=!0}),i.useCallback(function(n,a){void 0===a&&(a={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,s({fromRouteId:t},a)))},[e,t])}():function(){y()||(0,l.Oi)(!1);let e=i.useContext(u),{basename:t,future:r,navigator:n}=i.useContext(h),{matches:a}=i.useContext(p),{pathname:o}=g(),s=JSON.stringify((0,l.yD)(a,r.v7_relativeSplatPath)),c=i.useRef(!1);return E(()=>{c.current=!0}),i.useCallback(function(r,a){if(void 0===a&&(a={}),!c.current)return;if("number"==typeof r)return void n.go(r);let i=(0,l.Gh)(r,JSON.parse(s),o,"path"===a.relative);null==e&&"/"!==t&&(i.pathname="/"===i.pathname?t:(0,l.HS)([t,i.pathname])),(a.replace?n.replace:n.push)(i,a.state,a)},[t,n,s,o,e])}()}let S=i.createContext(null);function x(){return i.useContext(S)}function C(e){let t=i.useContext(p).outlet;return t?i.createElement(S.Provider,{value:e},t):t}function P(){let{matches:e}=i.useContext(p),t=e[e.length-1];return t?t.params:{}}function D(e,t){let{relative:r}=void 0===t?{}:t,{future:n}=i.useContext(h),{matches:a}=i.useContext(p),{pathname:o}=g(),s=JSON.stringify((0,l.yD)(a,n.v7_relativeSplatPath));return i.useMemo(()=>(0,l.Gh)(e,JSON.parse(s),o,"path"===r),[e,s,o,r])}function L(e,t){return k(e,t)}function k(e,t,r,n){let a;y()||(0,l.Oi)(!1);let{navigator:o,static:u}=i.useContext(h),{matches:c}=i.useContext(p),d=c[c.length-1],m=d?d.params:{};d&&d.pathname;let v=d?d.pathnameBase:"/";d&&d.route;let b=g();if(t){var w;let e="string"==typeof t?(0,l.Rr)(t):t;"/"===v||(null==(w=e.pathname)?void 0:w.startsWith(v))||(0,l.Oi)(!1),a=e}else a=b;let E=a.pathname||"/",R=E;if("/"!==v){let e=v.replace(/^\//,"").split("/");R="/"+E.replace(/^\//,"").split("/").slice(e.length).join("/")}let S=!u&&r&&r.matches&&r.matches.length>0?r.matches:(0,l.ue)(e,{pathname:R}),x=T(S&&S.map(e=>Object.assign({},e,{params:Object.assign({},m,e.params),pathname:(0,l.HS)([v,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?v:(0,l.HS)([v,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),c,r,n);return t&&x?i.createElement(f.Provider,{value:{location:s({pathname:"/",search:"",hash:"",state:null,key:"default"},a),navigationType:l.rc.Pop}},x):x}let _=i.createElement(function(){let e=K(),t=(0,l.pX)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null;return i.createElement(i.Fragment,null,i.createElement("h2",null,"Unexpected Application Error!"),i.createElement("h3",{style:{fontStyle:"italic"}},t),r?i.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},r):null,null)},null);class O extends i.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?i.createElement(p.Provider,{value:this.props.routeContext},i.createElement(m.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function A(e){let{routeContext:t,match:r,children:n}=e,a=i.useContext(u);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),i.createElement(p.Provider,{value:t},n)}function T(e,t,r,n){var a,o;if(void 0===t&&(t=[]),void 0===r&&(r=null),void 0===n&&(n=null),null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(null==(o=n)||!o.v7_partialHydration||0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let s=e,u=null==(a=r)?void 0:a.errors;if(null!=u){let e=s.findIndex(e=>e.route.id&&(null==u?void 0:u[e.route.id])!==void 0);e>=0||(0,l.Oi)(!1),s=s.slice(0,Math.min(s.length,e+1))}let c=!1,d=-1;if(r&&n&&n.v7_partialHydration)for(let e=0;e<s.length;e++){let t=s[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(d=e),t.route.id){let{loaderData:e,errors:n}=r,a=t.route.loader&&void 0===e[t.route.id]&&(!n||void 0===n[t.route.id]);if(t.route.lazy||a){c=!0,s=d>=0?s.slice(0,d+1):[s[0]];break}}}return s.reduceRight((e,n,a)=>{var o;let l,h=!1,f=null,p=null;r&&(l=u&&n.route.id?u[n.route.id]:void 0,f=n.route.errorElement||_,c&&(d<0&&0===a?(o="route-fallback",G[o]||(G[o]=!0),h=!0,p=null):d===a&&(h=!0,p=n.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,a+1)),v=()=>{let t;return t=l?f:h?p:n.route.Component?i.createElement(n.route.Component,null):n.route.element?n.route.element:e,i.createElement(A,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===a)?i.createElement(O,{location:r.location,revalidation:r.revalidation,component:f,error:l,children:v(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):v()},null)}var U=((n=U||{}).UseBlocker="useBlocker",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n),j=((a=j||{}).UseBlocker="useBlocker",a.UseLoaderData="useLoaderData",a.UseActionData="useActionData",a.UseRouteError="useRouteError",a.UseNavigation="useNavigation",a.UseRouteLoaderData="useRouteLoaderData",a.UseMatches="useMatches",a.UseRevalidator="useRevalidator",a.UseNavigateStable="useNavigate",a.UseRouteId="useRouteId",a);function M(e){let t=i.useContext(u);return t||(0,l.Oi)(!1),t}function F(e){let t=i.useContext(c);return t||(0,l.Oi)(!1),t}function N(e){let t,r=((t=i.useContext(p))||(0,l.Oi)(!1),t),n=r.matches[r.matches.length-1];return n.route.id||(0,l.Oi)(!1),n.route.id}function B(){return N(j.UseRouteId)}function z(){return F(j.UseNavigation).navigation}function H(){let e=M(U.UseRevalidator),t=F(j.UseRevalidator);return i.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])}function I(){let{matches:e,loaderData:t}=F(j.UseMatches);return i.useMemo(()=>e.map(e=>(0,l.ro)(e,t)),[e,t])}function V(){let e=F(j.UseLoaderData),t=N(j.UseLoaderData);return e.errors&&null!=e.errors[t]?void console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")"):e.loaderData[t]}function $(e){return F(j.UseRouteLoaderData).loaderData[e]}function W(){let e=F(j.UseActionData),t=N(j.UseLoaderData);return e.actionData?e.actionData[t]:void 0}function K(){var e;let t=i.useContext(m),r=F(j.UseRouteError),n=N(j.UseRouteError);return void 0!==t?t:null==(e=r.errors)?void 0:e[n]}function q(){let e=i.useContext(d);return null==e?void 0:e._data}function J(){let e=i.useContext(d);return null==e?void 0:e._error}let Y=0;function X(e){let{router:t,basename:r}=M(U.UseBlocker),n=F(j.UseBlocker),[a,o]=i.useState(""),u=i.useCallback(t=>{if("function"!=typeof e)return!!e;if("/"===r)return e(t);let{currentLocation:n,nextLocation:a,historyAction:o}=t;return e({currentLocation:s({},n,{pathname:(0,l.pb)(n.pathname,r)||n.pathname}),nextLocation:s({},a,{pathname:(0,l.pb)(a.pathname,r)||a.pathname}),historyAction:o})},[r,e]);return i.useEffect(()=>{let e=String(++Y);return o(e),()=>t.deleteBlocker(e)},[t]),i.useEffect(()=>{""!==a&&t.getBlocker(a,u)},[t,a,u]),a&&n.blockers.has(a)?n.blockers.get(a):l.G3}let G={},Q=(e,t,r)=>{};function Z(e,t){(null==e?void 0:e.v7_startTransition)===void 0&&Q("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(null==e?void 0:e.v7_relativeSplatPath)!==void 0||t&&t.v7_relativeSplatPath||Q("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),t&&(void 0===t.v7_fetcherPersist&&Q("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),void 0===t.v7_normalizeFormMethod&&Q("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),void 0===t.v7_partialHydration&&Q("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),void 0===t.v7_skipActionErrorRevalidation&&Q("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}let ee=i.startTransition;function et(e){let{basename:t,children:r,initialEntries:n,initialIndex:a,future:o}=e,s=i.useRef();null==s.current&&(s.current=(0,l.sC)({initialEntries:n,initialIndex:a,v5Compat:!0}));let u=s.current,[c,d]=i.useState({action:u.action,location:u.location}),{v7_startTransition:h}=o||{},f=i.useCallback(e=>{h&&ee?ee(()=>d(e)):d(e)},[d,h]);return i.useLayoutEffect(()=>u.listen(f),[u,f]),i.useEffect(()=>Z(o),[o]),i.createElement(eo,{basename:t,children:r,location:c.location,navigationType:c.action,navigator:u,future:o})}function er(e){let{to:t,replace:r,state:n,relative:a}=e;y()||(0,l.Oi)(!1);let{future:o,static:s}=i.useContext(h),{matches:u}=i.useContext(p),{pathname:c}=g(),d=R(),f=JSON.stringify((0,l.Gh)(t,(0,l.yD)(u,o.v7_relativeSplatPath),c,"path"===a));return i.useEffect(()=>d(JSON.parse(f),{replace:r,state:n,relative:a}),[d,f,a,r,n]),null}function en(e){return C(e.context)}function ea(e){(0,l.Oi)(!1)}function eo(e){let{basename:t="/",children:r=null,location:n,navigationType:a=l.rc.Pop,navigator:o,static:u=!1,future:c}=e;y()&&(0,l.Oi)(!1);let d=t.replace(/^\/*/,"/"),p=i.useMemo(()=>({basename:d,navigator:o,static:u,future:s({v7_relativeSplatPath:!1},c)}),[d,c,o,u]);"string"==typeof n&&(n=(0,l.Rr)(n));let{pathname:m="/",search:v="",hash:g="",state:b=null,key:w="default"}=n,E=i.useMemo(()=>{let e=(0,l.pb)(m,d);return null==e?null:{location:{pathname:e,search:v,hash:g,state:b,key:w},navigationType:a}},[d,m,v,g,b,w,a]);return null==E?null:i.createElement(h.Provider,{value:p},i.createElement(f.Provider,{children:r,value:E}))}function ei(e){let{children:t,location:r}=e;return k(eh(t),r)}function el(e){let{children:t,errorElement:r,resolve:n}=e;return i.createElement(ec,{resolve:n,errorElement:r},i.createElement(ed,null,t))}var es=((o=es||{})[o.pending=0]="pending",o[o.success=1]="success",o[o.error=2]="error",o);let eu=new Promise(()=>{});class ec extends i.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:r}=this.props,n=null,a=es.pending;if(r instanceof Promise)if(this.state.error){a=es.error;let e=this.state.error;Object.defineProperty(n=Promise.reject().catch(()=>{}),"_tracked",{get:()=>!0}),Object.defineProperty(n,"_error",{get:()=>e})}else r._tracked?a="_error"in(n=r)?es.error:"_data"in n?es.success:es.pending:(a=es.pending,Object.defineProperty(r,"_tracked",{get:()=>!0}),n=r.then(e=>Object.defineProperty(r,"_data",{get:()=>e}),e=>Object.defineProperty(r,"_error",{get:()=>e})));else a=es.success,Object.defineProperty(n=Promise.resolve(),"_tracked",{get:()=>!0}),Object.defineProperty(n,"_data",{get:()=>r});if(a===es.error&&n._error instanceof l.tH)throw eu;if(a===es.error&&!t)throw n._error;if(a===es.error)return i.createElement(d.Provider,{value:n,children:t});if(a===es.success)return i.createElement(d.Provider,{value:n,children:e});throw n}}function ed(e){let{children:t}=e,r=q(),n="function"==typeof t?t(r):t;return i.createElement(i.Fragment,null,n)}function eh(e,t){void 0===t&&(t=[]);let r=[];return i.Children.forEach(e,(e,n)=>{if(!i.isValidElement(e))return;let a=[...t,n];if(e.type===i.Fragment)return void r.push.apply(r,eh(e.props.children,a));e.type!==ea&&(0,l.Oi)(!1),e.props.index&&e.props.children&&(0,l.Oi)(!1);let o={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=eh(e.props.children,a)),r.push(o)}),r}function ef(e){return T(e)}function ep(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:i.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:i.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:i.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function em(e,t){return(0,l.aE)({basename:null==t?void 0:t.basename,future:s({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(0,l.sC)({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:ep,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()}}}]);
@@ -0,0 +1,6 @@
1
+ (()=>{var __webpack_modules__={23362:function(e,t,r){Promise.all([r.e("312"),r.e("4"),r.e("941")]).then(r.bind(r,86604))},55994:function(e,t){"use strict";let r="RUNTIME-001",n="RUNTIME-002",o="RUNTIME-003",i="RUNTIME-004",a="RUNTIME-005",s="RUNTIME-006",l="RUNTIME-007",c="RUNTIME-008",u="RUNTIME-009",f="TYPE-001",d="BUILD-001",h="BUILD-002",p=e=>{let t=e.split("-")[0].toLowerCase();return`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${t}/${e}`},m=(e,t,r,n)=>{let o=[`${[t[e]]} #${e}`];return r&&o.push(`args: ${JSON.stringify(r)}`),o.push(p(e)),n&&o.push(`Original Error Message:
2
+ ${n}`),o.join("\n")},g={[r]:"Failed to get remoteEntry exports.",[n]:'The remote entry interface does not contain "init"',[o]:"Failed to get manifest.",[i]:"Failed to locate remote.",[a]:"Invalid loadShareSync function call from bundler runtime",[s]:"Invalid loadShareSync function call from runtime",[l]:"Failed to get remote snapshot.",[c]:"Failed to load script resources.",[u]:"Please call createInstance first."},y={[f]:"Failed to generate type declaration. Execute the below cmd to reproduce and fix the error."},_={[d]:"Failed to find expose module.",[h]:"PublicPath is required in prod mode."},E={...g,...y,..._};t.BUILD_001=d,t.BUILD_002=h,t.RUNTIME_001=r,t.RUNTIME_002=n,t.RUNTIME_003=o,t.RUNTIME_004=i,t.RUNTIME_005=a,t.RUNTIME_006=s,t.RUNTIME_007=l,t.RUNTIME_008=c,t.RUNTIME_009=u,t.TYPE_001=f,t.buildDescMap=_,t.errorDescMap=E,t.getShortErrorMsg=m,t.runtimeDescMap=g,t.typeDescMap=y},93870:function(e,t,r){"use strict";var n=r(44826),o=r(55994);let i="[ Federation Runtime ]",a=n.createLogger(i);function s(e,t){e||l(t)}function l(e){if(e instanceof Error)throw e.message.startsWith(i)||(e.message=`${i}: ${e.message}`),e;throw Error(`${i}: ${e}`)}function c(e){e instanceof Error&&(e.message.startsWith(i)||(e.message=`${i}: ${e.message}`)),a.warn(e)}function u(e,t){return -1===e.findIndex(e=>e===t)&&e.push(t),e}function f(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`}function d(e){return void 0!==e.entry}function h(e){return!e.entry.includes(".json")}async function p(e,t){try{return await e()}catch(e){t||c(e);return}}function m(e){return e&&"object"==typeof e}let g=Object.prototype.toString;function y(e){return"[object Object]"===g.call(e)}function _(e,t){let r=/^(https?:)?\/\//i;return e.replace(r,"").replace(/\/$/,"")===t.replace(r,"").replace(/\/$/,"")}function E(e){return Array.isArray(e)?e:[e]}function b(e){let t={url:"",type:"global",globalName:""};return n.isBrowserEnv()||n.isReactNativeEnv()?"remoteEntry"in e?{url:e.remoteEntry,type:e.remoteEntryType,globalName:e.globalName}:t:"ssrRemoteEntry"in e?{url:e.ssrRemoteEntry||t.url,type:e.ssrRemoteEntryType||t.type,globalName:e.globalName}:t}let v=(e,t)=>{let r;return r=e.endsWith("/")?e.slice(0,-1):e,t.startsWith(".")&&(t=t.slice(1)),r+=t},S="object"==typeof globalThis?globalThis:window,R=(()=>{try{return document.defaultView}catch{return S}})(),I=R;function N(e,t,r){Object.defineProperty(e,t,{value:r,configurable:!1,writable:!0})}function M(e,t){return Object.hasOwnProperty.call(e,t)}M(S,"__GLOBAL_LOADING_REMOTE_ENTRY__")||N(S,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});let $=S.__GLOBAL_LOADING_REMOTE_ENTRY__;function w(e){var t,r,n,o,i,a;M(e,"__VMOK__")&&!M(e,"__FEDERATION__")&&N(e,"__FEDERATION__",e.__VMOK__),M(e,"__FEDERATION__")||(N(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),N(e,"__VMOK__",e.__FEDERATION__)),(t=e.__FEDERATION__).__GLOBAL_PLUGIN__??(t.__GLOBAL_PLUGIN__=[]),(r=e.__FEDERATION__).__INSTANCES__??(r.__INSTANCES__=[]),(n=e.__FEDERATION__).moduleInfo??(n.moduleInfo={}),(o=e.__FEDERATION__).__SHARE__??(o.__SHARE__={}),(i=e.__FEDERATION__).__MANIFEST_LOADING__??(i.__MANIFEST_LOADING__={}),(a=e.__FEDERATION__).__PRELOADED_MAP__??(a.__PRELOADED_MAP__=new Map)}function T(){S.__FEDERATION__.__GLOBAL_PLUGIN__=[],S.__FEDERATION__.__INSTANCES__=[],S.__FEDERATION__.moduleInfo={},S.__FEDERATION__.__SHARE__={},S.__FEDERATION__.__MANIFEST_LOADING__={},Object.keys($).forEach(e=>{delete $[e]})}function A(e){S.__FEDERATION__.__INSTANCES__.push(e)}function O(){return S.__FEDERATION__.__DEBUG_CONSTRUCTOR__}function k(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.isDebugMode();t&&(S.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,S.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.21.6")}function P(e,t){if("string"==typeof t){if(e[t])return{value:e[t],key:t};for(let r of Object.keys(e)){let[n,o]=r.split(":"),i=`${n}:${t}`,a=e[i];if(a)return{value:a,key:i}}return{value:void 0,key:t}}throw Error("key must be string")}w(S),w(R);let D=()=>R.__FEDERATION__.moduleInfo,L=(e,t)=>{let r=P(t,f(e)).value;if(r&&!r.version&&"version"in e&&e.version&&(r.version=e.version),r)return r;if("version"in e&&e.version){let{version:t,...r}=e,n=f(r),o=P(R.__FEDERATION__.moduleInfo,n).value;if((null==o?void 0:o.version)===t)return o}},F=e=>L(e,R.__FEDERATION__.moduleInfo),j=(e,t)=>{let r=f(e);return R.__FEDERATION__.moduleInfo[r]=t,R.__FEDERATION__.moduleInfo},H=e=>(R.__FEDERATION__.moduleInfo={...R.__FEDERATION__.moduleInfo,...e},()=>{for(let t of Object.keys(e))delete R.__FEDERATION__.moduleInfo[t]}),C=(e,t)=>{let r=t||`__FEDERATION_${e}:custom__`,n=S[r];return{remoteEntryKey:r,entryExports:n}},x=e=>{let{__GLOBAL_PLUGIN__:t}=R.__FEDERATION__;e.forEach(e=>{-1===t.findIndex(t=>t.name===e.name)?t.push(e):c(`The plugin ${e.name} has been registered.`)})},U=()=>R.__FEDERATION__.__GLOBAL_PLUGIN__,V=e=>S.__FEDERATION__.__PRELOADED_MAP__.get(e),G=e=>S.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),q="default",B="global",W="[0-9A-Za-z-]+",K=`(?:\\+(${W}(?:\\.${W})*))`,z="0|[1-9]\\d*",Y="[0-9]+",X="\\d*[a-zA-Z-][a-zA-Z0-9-]*",J=`(?:${Y}|${X})`,Z=`(?:-?(${J}(?:\\.${J})*))`,Q=`(?:${z}|${X})`,ee=`(?:-(${Q}(?:\\.${Q})*))`,et=`${z}|x|X|\\*`,er=`[v=\\s]*(${et})(?:\\.(${et})(?:\\.(${et})(?:${ee})?${K}?)?)?`,en=`^\\s*(${er})\\s+-\\s+(${er})\\s*$`,eo=`(${Y})\\.(${Y})\\.(${Y})`,ei=`[v=\\s]*${eo}${Z}?${K}?`,ea="((?:<|>)?=?)",es=`(\\s*)${ea}\\s*(${ei}|${er})`,el="(?:~>?)",ec=`(\\s*)${el}\\s+`,eu="(?:\\^)",ef=`(\\s*)${eu}\\s+`,ed="(<|>)?=?\\s*\\*",eh=`^${eu}${er}$`,ep=`(${z})\\.(${z})\\.(${z})`,em=`v?${ep}${ee}?${K}?`,eg=`^${el}${er}$`,ey=`^${ea}\\s*${er}$`,e_=`^${ea}\\s*(${em})$|^$`,eE="^\\s*>=\\s*0.0.0\\s*$";function eb(e){return new RegExp(e)}function ev(e){return!e||"x"===e.toLowerCase()||"*"===e}function eS(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>t.reduce((e,t)=>t(e),e)}function eR(e){return e.match(eb(e_))}function eI(e,t,r,n){let o=`${e}.${t}.${r}`;return n?`${o}-${n}`:o}function eN(e){return e.replace(eb(en),(e,t,r,n,o,i,a,s,l,c,u,f)=>(t=ev(r)?"":ev(n)?`>=${r}.0.0`:ev(o)?`>=${r}.${n}.0`:`>=${t}`,s=ev(l)?"":ev(c)?`<${Number(l)+1}.0.0-0`:ev(u)?`<${l}.${Number(c)+1}.0-0`:f?`<=${l}.${c}.${u}-${f}`:`<=${s}`,`${t} ${s}`.trim()))}function eM(e){return e.replace(eb(es),"$1$2$3")}function e$(e){return e.replace(eb(ec),"$1~")}function ew(e){return e.replace(eb(ef),"$1^")}function eT(e){return e.trim().split(/\s+/).map(e=>e.replace(eb(eh),(e,t,r,n,o)=>{if(ev(t))return"";if(ev(r))return`>=${t}.0.0 <${Number(t)+1}.0.0-0`;if(ev(n))if("0"===t)return`>=${t}.${r}.0 <${t}.${Number(r)+1}.0-0`;else return`>=${t}.${r}.0 <${Number(t)+1}.0.0-0`;if(o)if("0"!==t)return`>=${t}.${r}.${n}-${o} <${Number(t)+1}.0.0-0`;else if("0"===r)return`>=${t}.${r}.${n}-${o} <${t}.${r}.${Number(n)+1}-0`;else return`>=${t}.${r}.${n}-${o} <${t}.${Number(r)+1}.0-0`;if("0"===t)if("0"===r)return`>=${t}.${r}.${n} <${t}.${r}.${Number(n)+1}-0`;else return`>=${t}.${r}.${n} <${t}.${Number(r)+1}.0-0`;return`>=${t}.${r}.${n} <${Number(t)+1}.0.0-0`})).join(" ")}function eA(e){return e.trim().split(/\s+/).map(e=>e.replace(eb(eg),(e,t,r,n,o)=>ev(t)?"":ev(r)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:ev(n)?`>=${t}.${r}.0 <${t}.${Number(r)+1}.0-0`:o?`>=${t}.${r}.${n}-${o} <${t}.${Number(r)+1}.0-0`:`>=${t}.${r}.${n} <${t}.${Number(r)+1}.0-0`)).join(" ")}function eO(e){return e.split(/\s+/).map(e=>e.trim().replace(eb(ey),(e,t,r,n,o,i)=>{let a=ev(r),s=a||ev(n),l=s||ev(o);if("="===t&&l&&(t=""),i="",a)if(">"===t||"<"===t)return"<0.0.0-0";else return"*";return t&&l?(s&&(n=0),o=0,">"===t?(t=">=",s?(r=Number(r)+1,n=0):n=Number(n)+1,o=0):"<="===t&&(t="<",s?r=Number(r)+1:n=Number(n)+1),"<"===t&&(i="-0"),`${t+r}.${n}.${o}${i}`):s?`>=${r}.0.0${i} <${Number(r)+1}.0.0-0`:l?`>=${r}.${n}.0${i} <${r}.${Number(n)+1}.0-0`:e})).join(" ")}function ek(e){return e.trim().replace(eb(ed),"")}function eP(e){return e.trim().replace(eb(eE),"")}function eD(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function eL(e,t){let{preRelease:r}=e,{preRelease:n}=t;if(void 0===r&&n)return 1;if(r&&void 0===n)return -1;if(void 0===r&&void 0===n)return 0;for(let e=0,t=r.length;e<=t;e++){let t=r[e],o=n[e];if(t!==o){if(void 0===t&&void 0===o)return 0;if(!t)return 1;if(!o)return -1;return eD(t,o)}}return 0}function eF(e,t){return eD(e.major,t.major)||eD(e.minor,t.minor)||eD(e.patch,t.patch)||eL(e,t)}function ej(e,t){return e.version===t.version}function eH(e,t){switch(e.operator){case"":case"=":return ej(e,t);case">":return 0>eF(e,t);case">=":return ej(e,t)||0>eF(e,t);case"<":return eF(e,t)>0;case"<=":return ej(e,t)||eF(e,t)>0;case void 0:return!0;default:return!1}}function eC(e){return eS(eT,eA,eO,ek)(e)}function ex(e){return eS(eN,eM,e$,ew)(e.trim()).split(/\s+/).join(" ")}function eU(e,t){if(!e)return!1;let r=eR(e);if(!r)return!1;let[,n,,o,i,a,s]=r,l={operator:n,version:eI(o,i,a,s),major:o,minor:i,patch:a,preRelease:null==s?void 0:s.split(".")};for(let e of t.split("||")){let t=e.trim();if(!t||"*"===t||"x"===t)return!0;try{let e=ex(t);if(!e.trim())return!0;let r=e.split(" ").map(e=>eC(e)).join(" ");if(!r.trim())return!0;let n=r.split(/\s+/).map(e=>eP(e)).filter(Boolean);if(0===n.length)continue;let o=!0;for(let e of n){let t=eR(e);if(!t){o=!1;break}let[,r,,n,i,a,s]=t,c={operator:r,version:eI(n,i,a,s),major:n,minor:i,patch:a,preRelease:null==s?void 0:s.split(".")};if(!eH(c,l)){o=!1;break}}if(o)return!0}catch(e){console.error(`[semver] Error processing range part "${t}":`,e);continue}}return!1}function eV(e,t,r,n){let o;return o="get"in e?e.get:"lib"in e?()=>Promise.resolve(e.lib):()=>Promise.resolve(()=>{throw Error(`Can not get shared '${r}'!`)}),{deps:[],useIn:[],from:t,loading:null,...e,shareConfig:{requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1,...e.shareConfig},get:o,loaded:null!=e&&!!e.loaded||"lib"in e||void 0,version:e.version??"0",scope:Array.isArray(e.scope)?e.scope:[e.scope??"default"],strategy:(e.strategy??n)||"version-first"}}function eG(e,t){let r=t.shared||{},n=t.name,o=Object.keys(r).reduce((e,o)=>{let i=E(r[o]);return e[o]=e[o]||[],i.forEach(r=>{e[o].push(eV(r,n,o,t.shareStrategy))}),e},{}),i={...e.shared};return Object.keys(o).forEach(e=>{i[e]?o[e].forEach(t=>{i[e].find(e=>e.version===t.version)||i[e].push(t)}):i[e]=o[e]}),{shared:i,shareInfos:o}}function eq(e,t){let r=e=>{if(!Number.isNaN(Number(e))){let t=e.split("."),r=e;for(let e=0;e<3-t.length;e++)r+=".0";return r}return e};return!!eU(r(e),`<=${r(t)}`)}let eB=(e,t)=>{let r=t||function(e,t){return eq(e,t)};return Object.keys(e).reduce((e,t)=>!e||r(e,t)||"0"===e?t:e,0)},eW=e=>!!e.loaded||"function"==typeof e.lib,eK=e=>!!e.loading;function ez(e,t,r){let n=e[t][r],o=function(e,t){return!eW(n[e])&&eq(e,t)};return eB(e[t][r],o)}function eY(e,t,r){let n=e[t][r],o=function(e,t){let r=e=>eW(e)||eK(e);if(r(n[t]))if(r(n[e]))return!!eq(e,t);else return!0;return!r(n[e])&&eq(e,t)};return eB(e[t][r],o)}function eX(e){return"loaded-first"===e?eY:ez}function eJ(e,t,r,n){if(!e)return;let{shareConfig:o,scope:i=q,strategy:a}=r;for(let s of Array.isArray(i)?i:[i])if(o&&e[s]&&e[s][t]){let{requiredVersion:i}=o,u=eX(a)(e,s,t),f=()=>{if(o.singleton){if("string"==typeof i&&!eU(u,i)){let n=`Version ${u} from ${u&&e[s][t][u].from} of shared singleton module ${t} does not satisfy the requirement of ${r.from} which needs ${i})`;o.strictVersion?l(n):c(n)}return e[s][t][u]}if(!1===i||"*"===i||eU(u,i))return e[s][t][u];for(let[r,n]of Object.entries(e[s][t]))if(eU(r,i))return n},d={shareScopeMap:e,scope:s,pkgName:t,version:u,GlobalFederation:I.__FEDERATION__,resolver:f};return(n.emit(d)||d).resolver()}}function eZ(){return I.__FEDERATION__.__SHARE__}function eQ(e){let{pkgName:t,extraOptions:r,shareInfos:n}=e,o=e=>{if(!e)return;let t={};e.forEach(e=>{t[e.version]=e});let r=function(e,r){return!eW(t[e])&&eq(e,r)},n=eB(t,r);return t[n]};return Object.assign({},((null==r?void 0:r.resolver)??o)(n[t]),null==r?void 0:r.customShareInfo)}function e0(){return"Markdown:0.11.0-beta.0"}function e1(e,t){for(let r of e){let e=t.startsWith(r.name),n=t.replace(r.name,"");if(e){if(n.startsWith("/"))return{pkgNameOrAlias:r.name,expose:n=`.${n}`,remote:r};else if(""===n)return{pkgNameOrAlias:r.name,expose:".",remote:r}}let o=r.alias&&t.startsWith(r.alias),i=r.alias&&t.replace(r.alias,"");if(r.alias&&o){if(i&&i.startsWith("/"))return{pkgNameOrAlias:r.alias,expose:i=`.${i}`,remote:r};else if(""===i)return{pkgNameOrAlias:r.alias,expose:".",remote:r}}}}function e2(e,t){for(let r of e)if(t===r.name||r.alias&&t===r.alias)return r}function e3(e,t){let r=U(),n=[t.hooks,t.remoteHandler.hooks,t.sharedHandler.hooks,t.snapshotHandler.hooks,t.loaderHook,t.bridgeHook];return r.length>0&&r.forEach(t=>{(null==e?void 0:e.find(e=>e.name!==t.name))&&e.push(t)}),e&&e.length>0&&e.forEach(e=>{n.forEach(r=>{r.applyPlugin(e,t)})}),e}let e4=".then(callbacks[0]).catch(callbacks[1])";async function e5(e){let{entry:t,remoteEntryExports:r}=e;return new Promise((e,n)=>{try{r?e(r):"undefined"!=typeof FEDERATION_ALLOW_NEW_FUNCTION?Function("callbacks",`import("${t}")${e4}`)([e,n]):import(t).then(e).catch(n)}catch(e){n(e)}})}async function e8(e){let{entry:t,remoteEntryExports:r}=e;return new Promise((e,n)=>{try{r?e(r):Function("callbacks",`System.import("${t}")${e4}`)([e,n])}catch(e){n(e)}})}function e9(e,t,r){let{remoteEntryKey:n,entryExports:i}=C(e,t);return s(i,o.getShortErrorMsg(o.RUNTIME_001,o.runtimeDescMap,{remoteName:e,remoteEntryUrl:r,remoteEntryKey:n})),i}async function e6(e){let{name:t,globalName:r,entry:i,loaderHook:a,getEntryUrl:l}=e,{entryExports:c}=C(t,r);if(c)return c;let u=l?l(i):i;return n.loadScript(u,{attrs:{},createScriptHook:(e,t)=>{let r=a.lifecycle.createScript.emit({url:e,attrs:t});if(r&&(r instanceof HTMLScriptElement||"script"in r||"timeout"in r))return r}}).then(()=>e9(t,r,i)).catch(e=>{throw s(void 0,o.getShortErrorMsg(o.RUNTIME_008,o.runtimeDescMap,{remoteName:t,resourceUrl:i})),e})}async function e7(e){let{remoteInfo:t,remoteEntryExports:r,loaderHook:n,getEntryUrl:o}=e,{entry:i,entryGlobalName:a,name:s,type:l}=t;switch(l){case"esm":case"module":return e5({entry:i,remoteEntryExports:r});case"system":return e8({entry:i,remoteEntryExports:r});default:return e6({entry:i,globalName:a,name:s,loaderHook:n,getEntryUrl:o})}}async function te(e){let{remoteInfo:t,loaderHook:r}=e,{entry:o,entryGlobalName:i,name:a,type:s}=t,{entryExports:l}=C(a,i);return l||n.loadScriptNode(o,{attrs:{name:a,globalName:i,type:s},loaderHook:{createScriptHook:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.lifecycle.createScript.emit({url:e,attrs:t});if(n&&"url"in n)return n}}}).then(()=>e9(a,i,o)).catch(e=>{throw e})}function tt(e){let{entry:t,name:r}=e;return n.composeKeyWithSeparator(r,t)}async function tr(e){let{origin:t,remoteEntryExports:r,remoteInfo:i,getEntryUrl:a,_inErrorHandling:s=!1}=e,l=tt(i);if(r)return r;if(!$[l]){let e=t.remoteHandler.hooks.lifecycle.loadEntry,c=t.loaderHook;$[l]=e.emit({loaderHook:c,remoteInfo:i,remoteEntryExports:r}).then(e=>e||(("undefined"!=typeof ENV_TARGET?"web"===ENV_TARGET:n.isBrowserEnv())?e7({remoteInfo:i,remoteEntryExports:r,loaderHook:c,getEntryUrl:a}):te({remoteInfo:i,loaderHook:c}))).catch(async e=>{let n=tt(i);if(e instanceof Error&&e.message.includes(o.RUNTIME_008)&&!s){let e=e=>tr({...e,_inErrorHandling:!0}),o=await t.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:e,origin:t,remoteInfo:i,remoteEntryExports:r,globalLoading:$,uniqueKey:n});if(o)return o}throw e})}return $[l]}function tn(e){return{...e,entry:"entry"in e?e.entry:"",type:e.type||B,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||q}}function to(e){return{resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1,...e}}function ti(e,t){return t.map(t=>{let r=e2(e,t.nameOrAlias);return s(r,`Unable to preload ${t.nameOrAlias} as it is not included in ${!r&&n.safeToString({remoteInfo:r,remotes:e})}`),{remote:r,preloadConfig:to(t)}})}function ta(e){return e?e.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[]}function ts(e,t,r){let o=!(arguments.length>3)||void 0===arguments[3]||arguments[3],{cssAssets:i,jsAssetsWithoutEntry:a,entryAssets:s}=r;if(t.options.inBrowser){if(s.forEach(r=>{let{moduleInfo:n}=r,o=t.moduleCache.get(e.name);o?tr({origin:t,remoteInfo:n,remoteEntryExports:o.remoteEntryExports}):tr({origin:t,remoteInfo:n,remoteEntryExports:void 0})}),o){let e={rel:"preload",as:"style"};i.forEach(r=>{let{link:o,needAttach:i}=n.createLink({url:r,cb:()=>{},attrs:e,createLinkHook:(e,r)=>{let n=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:r});if(n instanceof HTMLLinkElement)return n}});i&&document.head.appendChild(o)})}else{let e={rel:"stylesheet",type:"text/css"};i.forEach(r=>{let{link:o,needAttach:i}=n.createLink({url:r,cb:()=>{},attrs:e,createLinkHook:(e,r)=>{let n=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:r});if(n instanceof HTMLLinkElement)return n},needDeleteLink:!1});i&&document.head.appendChild(o)})}if(o){let e={rel:"preload",as:"script"};a.forEach(r=>{let{link:o,needAttach:i}=n.createLink({url:r,cb:()=>{},attrs:e,createLinkHook:(e,r)=>{let n=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:r});if(n instanceof HTMLLinkElement)return n}});i&&document.head.appendChild(o)})}else{let r={fetchpriority:"high",type:(null==e?void 0:e.type)==="module"?"module":"text/javascript"};a.forEach(e=>{let{script:o,needAttach:i}=n.createScript({url:e,cb:()=>{},attrs:r,createScriptHook:(e,r)=>{let n=t.loaderHook.lifecycle.createScript.emit({url:e,attrs:r});if(n instanceof HTMLScriptElement)return n},needDeleteScript:!0});i&&document.head.appendChild(o)})}}}var tl={global:{Global:I,nativeGlobal:R,resetFederationGlobalInfo:T,setGlobalFederationInstance:A,getGlobalFederationConstructor:O,setGlobalFederationConstructor:k,getInfoWithoutType:P,getGlobalSnapshot:D,getTargetSnapshotInfoByModuleInfo:L,getGlobalSnapshotInfoByModuleInfo:F,setGlobalSnapshotInfoByModuleInfo:j,addGlobalSnapshot:H,getRemoteEntryExports:C,registerGlobalPlugins:x,getGlobalHostPlugins:U,getPreloaded:V,setPreloaded:G},share:{getRegisteredShare:eJ,getGlobalShareScope:eZ},utils:{matchRemoteWithNameAndExpose:e1,preloadAssets:ts,getRemoteInfo:tn}};class tc{async getEntry(){let e;return this.remoteEntryExports||(s(e=await tr({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports}),`remoteEntryExports is undefined
3
+ ${n.safeToString(this.remoteInfo)}`),this.remoteEntryExports=e),this.remoteEntryExports}async get(e,t,r,n){let i,{loadFactory:a=!0}=r||{loadFactory:!0},c=await this.getEntry();if(!this.inited){let t=this.host.shareScopeMap,r=Array.isArray(this.remoteInfo.shareScope)?this.remoteInfo.shareScope:[this.remoteInfo.shareScope];r.length||r.push("default"),r.forEach(e=>{t[e]||(t[e]={})});let i=t[r[0]],a=[],s={version:this.remoteInfo.version||"",shareScopeKeys:Array.isArray(this.remoteInfo.shareScope)?r:this.remoteInfo.shareScope||"default"};Object.defineProperty(s,"shareScopeMap",{value:t,enumerable:!1});let u=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:i,remoteEntryInitOptions:s,initScope:a,remoteInfo:this.remoteInfo,origin:this.host});void 0===(null==c?void 0:c.init)&&l(o.getShortErrorMsg(o.RUNTIME_002,o.runtimeDescMap,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName})),await c.init(u.shareScope,u.initScope,u.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit({...u,id:e,remoteSnapshot:n,remoteEntryExports:c})}this.lib=c,this.inited=!0,(i=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:c,expose:t,moduleInfo:this.remoteInfo}))||(i=await c.get(t)),s(i,`${f(this.remoteInfo)} remote don't export ${t}.`);let u=v(this.remoteInfo.name,t),d=this.wraperFactory(i,u);return a?await d():d}wraperFactory(e,t){function r(e,t){e&&"object"==typeof e&&Object.isExtensible(e)&&!Object.getOwnPropertyDescriptor(e,Symbol.for("mf_module_id"))&&Object.defineProperty(e,Symbol.for("mf_module_id"),{value:t,enumerable:!1})}return e instanceof Promise?async()=>{let n=await e();return r(n,t),n}:()=>{let n=e();return r(n,t),n}}constructor({remoteInfo:e,host:t}){this.inited=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}}class tu{on(e){"function"==typeof e&&this.listeners.add(e)}once(e){let t=this;this.on(function r(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return t.remove(r),e.apply(null,o)})}emit(){let e;for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.listeners.size>0&&this.listeners.forEach(t=>{e=t(...r)}),e}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}}class tf extends tu{emit(){let e;for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let o=Array.from(this.listeners);if(o.length>0){let t=0,n=e=>!1!==e&&(t<o.length?Promise.resolve(o[t++].apply(null,r)).then(n):e);e=n()}return Promise.resolve(e)}}function td(e,t){if(!m(t))return!1;if(e!==t){for(let r in e)if(!(r in t))return!1}return!0}class th extends tu{emit(e){for(let t of(m(e)||l(`The data for the "${this.type}" hook should be an object.`),this.listeners))try{let r=t(e);if(td(e,r))e=r;else{this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}}catch(e){c(e),this.onerror(e)}return e}constructor(e){super(),this.onerror=l,this.type=e}}class tp extends tu{emit(e){m(e)||l(`The response data for the "${this.type}" hook must be an object.`);let t=Array.from(this.listeners);if(t.length>0){let r=0,n=t=>(c(t),this.onerror(t),e),o=i=>{if(td(e,i)){if(e=i,r<t.length)try{return Promise.resolve(t[r++](e)).then(o,n)}catch(e){return n(e)}}else this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`);return e};return Promise.resolve(o(e))}return Promise.resolve(e)}constructor(e){super(),this.onerror=l,this.type=e}}class tm{applyPlugin(e,t){s(y(e),"Plugin configuration is invalid.");let r=e.name;if(s(r,"A name must be provided by the plugin."),!this.registerPlugins[r]){var n;this.registerPlugins[r]=e,null==(n=e.apply)||n.call(e,t),Object.keys(this.lifecycle).forEach(t=>{let r=e[t];r&&this.lifecycle[t].on(r)})}}removePlugin(e){s(e,"A name is required.");let t=this.registerPlugins[e];s(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach(e=>{"name"!==e&&this.lifecycle[e].remove(t[e])})}constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}}function tg(e,t){let r=b(t);r.url||l(`The attribute remoteEntry of ${e.name} must not be undefined.`);let o=n.getResourceUrl(t,r.url);n.isBrowserEnv()||o.startsWith("http")||(o=`https:${o}`),e.type=r.type,e.entryGlobalName=r.globalName,e.entry=o,e.version=t.version,e.buildVersion=t.buildVersion}function ty(){return{name:"snapshot-plugin",async afterResolve(e){let{remote:t,pkgNameOrAlias:r,expose:n,origin:o,remoteInfo:i,id:a}=e;if(!d(t)||!h(t)){let{remoteSnapshot:s,globalSnapshot:l}=await o.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:t,id:a});tg(i,s);let c={remote:t,preloadConfig:{nameOrAlias:r,exposes:[n],resourceCategory:"sync",share:!1,depsRemote:!1}},u=await o.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:o,preloadOptions:c,remoteInfo:i,remote:t,remoteSnapshot:s,globalSnapshot:l});return u&&ts(i,o,u,!1),{...e,remoteSnapshot:s}}return e}}}function t_(e){let t=e.split(":");return 1===t.length?{name:t[0],version:void 0}:2===t.length?{name:t[0],version:t[1]}:{name:t[1],version:t[2]}}function tE(e,t,r,o){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5?arguments[5]:void 0,{value:s}=P(e,f(t)),l=a||s;if(l&&!n.isManifestProvider(l)&&(r(l,t,o),l.remotesInfo))for(let t of Object.keys(l.remotesInfo)){if(i[t])continue;i[t]=!0;let n=t_(t),o=l.remotesInfo[t];tE(e,{name:n.name,version:o.matchedVersion},r,!1,i,void 0)}}let tb=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);function tv(e,t,r,o,i){let a=[],s=[],l=[],c=new Set,u=new Set,{options:f}=e,{preloadConfig:d}=t,{depsRemote:h}=d;if(tE(o,r,(t,r,o)=>{let i;if(o)i=d;else if(Array.isArray(h)){let e=h.find(e=>e.nameOrAlias===r.name||e.nameOrAlias===r.alias);if(!e)return;i=to(e)}else{if(!0!==h)return;i=d}let c=n.getResourceUrl(t,b(t).url);c&&l.push({name:r.name,moduleInfo:{name:r.name,entry:c,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:r.name,shareScope:"",version:"version"in t?t.version:void 0},url:c});let u="modules"in t?t.modules:[],f=ta(i.exposes);if(f.length&&"modules"in t){var p;u=null==t||null==(p=t.modules)?void 0:p.reduce((e,t)=>((null==f?void 0:f.indexOf(t.moduleName))!==-1&&e.push(t),e),[])}function m(e){let r=e.map(e=>n.getResourceUrl(t,e));return i.filter?r.filter(i.filter):r}if(u){let n=u.length;for(let o=0;o<n;o++){let n=u[o],l=`${r.name}/${n.moduleName}`;e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:"."===n.moduleName?r.name:l,name:r.name,remoteSnapshot:t,preloadConfig:i,remote:r,origin:e}),V(l)||("all"===i.resourceCategory?(a.push(...m(n.assets.css.async)),a.push(...m(n.assets.css.sync)),s.push(...m(n.assets.js.async))):(i.resourceCategory="sync",a.push(...m(n.assets.css.sync))),s.push(...m(n.assets.js.sync)),G(l))}}},!0,{},i),i.shared&&i.shared.length>0){let t=(t,r)=>{let n=eJ(e.shareScopeMap,r.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare);n&&"function"==typeof n.lib&&(r.assets.js.sync.forEach(e=>{c.add(e)}),r.assets.css.sync.forEach(e=>{u.add(e)}))};i.shared.forEach(e=>{var r;let n=null==(r=f.shared)?void 0:r[e.sharedName];if(!n)return;let o=e.version?n.find(t=>t.version===e.version):n;o&&E(o).forEach(r=>{t(r,e)})})}let p=s.filter(e=>!c.has(e)&&!tb("script",e));return{cssAssets:a.filter(e=>!u.has(e)&&!tb("link",e)),jsAssetsWithoutEntry:p,entryAssets:l.filter(e=>!tb("script",e.url))}}let tS=function(){return{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){let{origin:t,preloadOptions:r,remoteInfo:o,remote:i,globalSnapshot:a,remoteSnapshot:s}=e;return n.isBrowserEnv()?d(i)&&h(i)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:i.name,url:i.entry,moduleInfo:{name:o.name,entry:i.entry,type:o.type||"global",entryGlobalName:"",shareScope:""}}]}:(tg(o,s),tv(t,r,o,a,s)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}};function tR(e,t){let r=F({name:t.name,version:t.options.version}),n=r&&"remotesInfo"in r&&r.remotesInfo&&P(r.remotesInfo,e.name).value;return n&&n.matchedVersion?{hostGlobalSnapshot:r,globalSnapshot:D(),remoteSnapshot:F({name:e.name,version:n.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:D(),remoteSnapshot:F({name:e.name,version:"version"in e?e.version:void 0})}}class tI{async loadRemoteSnapshotInfo(e){let t,r,{moduleInfo:i,id:a,expose:s}=e,{options:c}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:c,moduleInfo:i});let u=F({name:this.HostInstance.options.name,version:this.HostInstance.options.version});u||(u={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},H({[this.HostInstance.options.name]:u})),u&&"remotesInfo"in u&&!P(u.remotesInfo,i.name).value&&("version"in i||"entry"in i)&&(u.remotesInfo={...null==u?void 0:u.remotesInfo,[i.name]:{matchedVersion:"version"in i?i.version:i.entry}});let{hostGlobalSnapshot:f,remoteSnapshot:h,globalSnapshot:p}=this.getGlobalRemoteInfo(i),{remoteSnapshot:m,globalSnapshot:g}=await this.hooks.lifecycle.loadSnapshot.emit({options:c,moduleInfo:i,hostGlobalSnapshot:f,remoteSnapshot:h,globalSnapshot:p});if(m)if(n.isManifestProvider(m)){let e=n.isBrowserEnv()?m.remoteEntry:m.ssrRemoteEntry||m.remoteEntry||"",o=await this.getManifestJson(e,i,{}),a=j({...i,entry:e},o);t=o,r=a}else{let{remoteSnapshot:e}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:i,remoteSnapshot:m,from:"global"});t=e,r=g}else if(d(i)){let e=await this.getManifestJson(i.entry,i,{}),n=j(i,e),{remoteSnapshot:o}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:i,remoteSnapshot:e,from:"global"});t=o,r=n}else l(o.getShortErrorMsg(o.RUNTIME_007,o.runtimeDescMap,{hostName:i.name,hostVersion:i.version,globalSnapshot:JSON.stringify(g)}));return await this.hooks.lifecycle.afterLoadSnapshot.emit({id:a,host:this.HostInstance,options:c,moduleInfo:i,remoteSnapshot:t}),{remoteSnapshot:t,globalSnapshot:r}}getGlobalRemoteInfo(e){return tR(e,this.HostInstance)}async getManifestJson(e,t,r){let i=async()=>{let r=this.manifestCache.get(e);if(r)return r;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{});t&&t instanceof Response||(t=await fetch(e,{})),r=await t.json()}catch(n){(r=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:n,from:"runtime",lifecycle:"afterResolve",origin:this.HostInstance}))||(delete this.manifestLoading[e],l(o.getShortErrorMsg(o.RUNTIME_003,o.runtimeDescMap,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${n}`)))}return s(r.metaData&&r.exposes&&r.shared,`${e} is not a federation manifest`),this.manifestCache.set(e,r),r},a=async()=>{let r=await i(),o=n.generateSnapshotFromManifest(r,{version:e}),{remoteSnapshot:a}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:r,remoteSnapshot:o,manifestUrl:e,from:"manifest"});return a};return this.manifestLoading[e]||(this.manifestLoading[e]=a().then(e=>e)),this.manifestLoading[e]}constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new tm({beforeLoadRemoteSnapshot:new tf("beforeLoadRemoteSnapshot"),loadSnapshot:new tp("loadGlobalSnapshot"),loadRemoteSnapshot:new tp("loadRemoteSnapshot"),afterLoadSnapshot:new tp("afterLoadSnapshot")}),this.manifestLoading=I.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}}class tN{registerShared(e,t){let{shareInfos:r,shared:n}=eG(e,t);return Object.keys(r).forEach(e=>{r[e].forEach(r=>{r.scope.forEach(n=>{var o;(null==(o=this.shareScopeMap[n])?void 0:o[e])||this.setShared({pkgName:e,lib:r.lib,get:r.get,loaded:r.loaded||!!r.lib,shared:r,from:t.name})})})}),{shareInfos:r,shared:n}}async loadShare(e,t){let{host:r}=this,n=eQ({pkgName:e,extraOptions:t,shareInfos:r.options.shared});(null==n?void 0:n.scope)&&await Promise.all(n.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:n.strategy}))}));let{shareInfo:o}=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:n,shared:r.options.shared,origin:r});s(o,`Cannot find ${e} Share in the ${r.options.name}. Please ensure that the ${e} Share parameters have been injected`);let i=eJ(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare),a=e=>{e.useIn||(e.useIn=[]),u(e.useIn,r.options.name)};if(i&&i.lib)return a(i),i.lib;if(i&&i.loading&&!i.loaded){let e=await i.loading;return i.loaded=!0,i.lib||(i.lib=e),a(i),e}if(i){let t=(async()=>{let e=await i.get();return a(i),i.loaded=!0,i.lib=e,e})();return this.setShared({pkgName:e,loaded:!1,shared:i,from:r.options.name,lib:null,loading:t}),t}{if(null==t?void 0:t.customShareInfo)return!1;let n=(async()=>{let t=await o.get();o.lib=t,o.loaded=!0,a(o);let r=eJ(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare);return r&&(r.lib=t,r.loaded=!0,r.from=o.from),t})();return this.setShared({pkgName:e,loaded:!1,shared:o,from:r.options.name,lib:null,loading:n}),n}}initializeSharing(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q,t=arguments.length>1?arguments[1]:void 0,{host:r}=this,n=null==t?void 0:t.from,o=null==t?void 0:t.strategy,i=null==t?void 0:t.initScope,a=[];if("build"!==n){let{initTokens:t}=this;i||(i=[]);let r=t[e];if(r||(r=t[e]={from:this.host.name}),i.indexOf(r)>=0)return a;i.push(r)}let s=this.shareScopeMap,l=r.options.name;s[e]||(s[e]={});let c=s[e],u=(e,t)=>{var r;let{version:n,eager:o}=t;c[e]=c[e]||{};let i=c[e],a=i[n],s=!!(a&&(a.eager||(null==(r=a.shareConfig)?void 0:r.eager)));(!a||"loaded-first"!==a.strategy&&!a.loaded&&(!o!=!s?o:l>a.from))&&(i[n]=t)},f=t=>t&&t.init&&t.init(s[e],i),d=async e=>{let{module:t}=await r.remoteHandler.getRemoteModuleAndOptions({id:e});if(t.getEntry){let n;try{n=await t.getEntry()}catch(t){n=await r.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:t,from:"runtime",lifecycle:"beforeLoadShare",origin:r})}t.inited||(await f(n),t.inited=!0)}};return Object.keys(r.options.shared).forEach(t=>{r.options.shared[t].forEach(r=>{r.scope.includes(e)&&u(t,r)})}),("version-first"===r.options.shareStrategy||"version-first"===o)&&r.options.remotes.forEach(t=>{t.shareScope===e&&a.push(d(t.name))}),a}loadShareSync(e,t){let{host:r}=this,n=eQ({pkgName:e,extraOptions:t,shareInfos:r.options.shared});(null==n?void 0:n.scope)&&n.scope.forEach(e=>{this.initializeSharing(e,{strategy:n.strategy})});let i=eJ(this.shareScopeMap,e,n,this.hooks.lifecycle.resolveShare),a=e=>{e.useIn||(e.useIn=[]),u(e.useIn,r.options.name)};if(i){if("function"==typeof i.lib)return a(i),i.loaded||(i.loaded=!0,i.from===r.options.name&&(n.loaded=!0)),i.lib;if("function"==typeof i.get){let t=i.get();if(!(t instanceof Promise))return a(i),this.setShared({pkgName:e,loaded:!0,from:r.options.name,lib:t,shared:i}),t}}if(n.lib)return n.loaded||(n.loaded=!0),n.lib;if(n.get){let i=n.get();if(i instanceof Promise){let n=(null==t?void 0:t.from)==="build"?o.RUNTIME_005:o.RUNTIME_006;throw Error(o.getShortErrorMsg(n,o.runtimeDescMap,{hostName:r.options.name,sharedPkgName:e}))}return n.lib=i,this.setShared({pkgName:e,loaded:!0,from:r.options.name,lib:n.lib,shared:n}),n.lib}throw Error(o.getShortErrorMsg(o.RUNTIME_006,o.runtimeDescMap,{hostName:r.options.name,sharedPkgName:e}))}initShareScopeMap(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{host:n}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:n.options,origin:n,scopeName:e,hostShareScopeMap:r.hostShareScopeMap})}setShared(e){let{pkgName:t,shared:r,from:n,lib:o,loading:i,loaded:a,get:s}=e,{version:l,scope:c="default",...u}=r;(Array.isArray(c)?c:[c]).forEach(e=>{if(this.shareScopeMap[e]||(this.shareScopeMap[e]={}),this.shareScopeMap[e][t]||(this.shareScopeMap[e][t]={}),!this.shareScopeMap[e][t][l]){this.shareScopeMap[e][t][l]={version:l,scope:[e],...u,lib:o,loaded:a,loading:i},s&&(this.shareScopeMap[e][t][l].get=s);return}let r=this.shareScopeMap[e][t][l];i&&!r.loading&&(r.loading=i),a&&!r.loaded&&(r.loaded=a),n&&r.from!==n&&(r.from=n)})}_setGlobalShareScopeMap(e){let t=eZ(),r=e.id||e.name;r&&!t[r]&&(t[r]=this.shareScopeMap)}constructor(e){this.hooks=new tm({afterResolve:new tp("afterResolve"),beforeLoadShare:new tp("beforeLoadShare"),loadShare:new tf,resolveShare:new th("resolveShare"),initContainerShareScopeMap:new th("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}}class tM{formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce((e,t)=>(this.registerRemote(t,e,{force:!1}),e),e.remotes)}setIdToRemoteMap(e,t){let{remote:r,expose:n}=t,{name:o,alias:i}=r;if(this.idToRemoteMap[e]={name:r.name,expose:n},i&&e.startsWith(o)){let t=e.replace(o,i);this.idToRemoteMap[t]={name:r.name,expose:n};return}if(i&&e.startsWith(i)){let t=e.replace(i,o);this.idToRemoteMap[t]={name:r.name,expose:n}}}async loadRemote(e,t){let{host:r}=this;try{let{loadFactory:n=!0}=t||{loadFactory:!0},{module:o,moduleOptions:i,remoteMatchInfo:a}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:s,remote:l,expose:c,id:u,remoteSnapshot:f}=a,d=await o.get(u,c,t,f),h=await this.hooks.lifecycle.onLoad.emit({id:u,pkgNameOrAlias:s,expose:c,exposeModule:n?d:void 0,exposeModuleFactory:n?void 0:d,remote:l,options:i,moduleInstance:o,origin:r});if(this.setIdToRemoteMap(e,a),"function"==typeof h)return h;return d}catch(i){let{from:n="runtime"}=t||{from:"runtime"},o=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:i,from:n,lifecycle:"onLoad",origin:r});if(!o)throw i;return o}}async preloadRemote(e){let{host:t}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});let r=ti(t.options.remotes,e);await Promise.all(r.map(async e=>{let{remote:r}=e,n=tn(r),{globalSnapshot:o,remoteSnapshot:i}=await t.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:r}),a=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:e,remote:r,remoteInfo:n,globalSnapshot:o,remoteSnapshot:i});a&&ts(n,t,a)}))}registerRemotes(e,t){let{host:r}=this;e.forEach(e=>{this.registerRemote(e,r.options.remotes,{force:null==t?void 0:t.force})})}async getRemoteModuleAndOptions(e){let t,{host:r}=this,{id:n}=e;try{t=await this.hooks.lifecycle.beforeRequest.emit({id:n,options:r.options,origin:r})}catch(e){if(!(t=await this.hooks.lifecycle.errorLoadRemote.emit({id:n,options:r.options,origin:r,from:"runtime",error:e,lifecycle:"beforeRequest"})))throw e}let{id:i}=t,a=e1(r.options.remotes,i);s(a,o.getShortErrorMsg(o.RUNTIME_004,o.runtimeDescMap,{hostName:r.options.name,requestId:i}));let{remote:l}=a,c=tn(l),u=await r.sharedHandler.hooks.lifecycle.afterResolve.emit({id:i,...a,options:r.options,origin:r,remoteInfo:c}),{remote:f,expose:d}=u;s(f&&d,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${i}.`);let h=r.moduleCache.get(f.name),p={host:r,remoteInfo:c};return h||(h=new tc(p),r.moduleCache.set(f.name,h)),{module:h,moduleOptions:p,remoteMatchInfo:u}}registerRemote(e,t,r){let{host:o}=this,i=()=>{if(e.alias){let r=t.find(t=>{var r;return e.alias&&(t.name.startsWith(e.alias)||(null==(r=t.alias)?void 0:r.startsWith(e.alias)))});s(!r,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${r&&r.name} name or alias`)}"entry"in e&&n.isBrowserEnv()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=q),e.type||(e.type=B)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:o});let a=t.find(t=>t.name===e.name);if(a){let s=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];(null==r?void 0:r.force)&&(this.removeRemote(a),i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:o}),n.warn(s.join(" ")))}else i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:o})}removeRemote(e){try{let{host:r}=this,{name:o}=e,i=r.options.remotes.findIndex(e=>e.name===o);-1!==i&&r.options.remotes.splice(i,1);let a=r.moduleCache.get(e.name);if(a){let o=a.remoteInfo,i=o.entryGlobalName;if(S[i]){var t;(null==(t=Object.getOwnPropertyDescriptor(S,i))?void 0:t.configurable)?delete S[i]:S[i]=void 0}let s=tt(a.remoteInfo);$[s]&&delete $[s],r.snapshotHandler.manifestCache.delete(o.entry);let l=o.buildVersion?n.composeKeyWithSeparator(o.name,o.buildVersion):o.name,c=S.__FEDERATION__.__INSTANCES__.findIndex(e=>o.buildVersion?e.options.id===l:e.name===l);if(-1!==c){let e=S.__FEDERATION__.__INSTANCES__[c];l=e.options.id||l;let t=eZ(),r=!0,n=[];Object.keys(t).forEach(e=>{let i=t[e];i&&Object.keys(i).forEach(t=>{let a=i[t];a&&Object.keys(a).forEach(i=>{let s=a[i];s&&Object.keys(s).forEach(a=>{let l=s[a];l&&"object"==typeof l&&l.from===o.name&&(l.loaded||l.loading?(l.useIn=l.useIn.filter(e=>e!==o.name),l.useIn.length?r=!1:n.push([e,t,i,a])):n.push([e,t,i,a]))})})})}),r&&(e.shareScopeMap={},delete t[l]),n.forEach(e=>{var r,n,o;let[i,a,s,l]=e;null==(o=t[i])||null==(n=o[a])||null==(r=n[s])||delete r[l]}),S.__FEDERATION__.__INSTANCES__.splice(c,1)}let{hostGlobalSnapshot:u}=tR(e,r);if(u){let t=u&&"remotesInfo"in u&&u.remotesInfo&&P(u.remotesInfo,e.name).key;t&&(delete u.remotesInfo[t],I.__FEDERATION__.__MANIFEST_LOADING__[t]&&delete I.__FEDERATION__.__MANIFEST_LOADING__[t])}r.moduleCache.delete(e.name)}}catch(e){a.log("removeRemote fail: ",e)}}constructor(e){this.hooks=new tm({beforeRegisterRemote:new th("beforeRegisterRemote"),registerRemote:new th("registerRemote"),beforeRequest:new tp("beforeRequest"),onLoad:new tf("onLoad"),handlePreloadModule:new tu("handlePreloadModule"),errorLoadRemote:new tf("errorLoadRemote"),beforePreloadRemote:new tf("beforePreloadRemote"),generatePreloadAssets:new tf("generatePreloadAssets"),afterPreloadRemote:new tf,loadEntry:new tf}),this.host=e,this.idToRemoteMap={}}}class t${initOptions(e){this.registerPlugins(e.plugins);let t=this.formatOptions(this.options,e);return this.options=t,t}async loadShare(e,t){return this.sharedHandler.loadShare(e,t)}loadShareSync(e,t){return this.sharedHandler.loadShareSync(e,t)}initializeSharing(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q,t=arguments.length>1?arguments[1]:void 0;return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,r){let n=new tc({host:this,remoteInfo:tn({name:e,entry:t})});return n.remoteEntryExports=r,this.moduleCache.set(e,n),n}async loadRemote(e,t){return this.remoteHandler.loadRemote(e,t)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.sharedHandler.initShareScopeMap(e,t,r)}formatOptions(e,t){let{shared:r}=eG(e,t),{userOptions:n,options:o}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:r}),i=this.remoteHandler.formatAndRegisterRemote(o,n),{shared:a}=this.sharedHandler.registerShared(o,n),s=[...o.plugins];n.plugins&&n.plugins.forEach(e=>{s.includes(e)||s.push(e)});let l={...e,...t,plugins:s,remotes:i,shared:a};return this.hooks.lifecycle.init.emit({origin:this,options:l}),l}registerPlugins(e){let t=e3(e,this);this.options.plugins=this.options.plugins.reduce((e,t)=>(t&&e&&!e.find(e=>e.name===t.name)&&e.push(t),e),t||[])}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}registerShared(e){this.sharedHandler.registerShared(this.options,{...this.options,shared:e})}constructor(e){this.hooks=new tm({beforeInit:new th("beforeInit"),init:new tu,beforeInitContainer:new tp("beforeInitContainer"),initContainer:new tp("initContainer")}),this.version="0.21.6",this.moduleCache=new Map,this.loaderHook=new tm({getModuleInfo:new tu,createScript:new tu,createLink:new tu,fetch:new tf,loadEntryError:new tf,getModuleFactory:new tf}),this.bridgeHook=new tm({beforeBridgeRender:new tu,afterBridgeRender:new tu,beforeBridgeDestroy:new tu,afterBridgeDestroy:new tu});const t=[ty(),tS()],r={id:e0(),name:e.name,plugins:t,remotes:[],shared:{},inBrowser:n.isBrowserEnv()};this.name=e.name,this.options=r,this.snapshotHandler=new tI(this),this.sharedHandler=new tN(this),this.remoteHandler=new tM(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...r.plugins,...e.plugins||[]]),this.options=this.formatOptions(r,e)}}var tw=Object.freeze({__proto__:null});t.loadScript=n.loadScript,t.loadScriptNode=n.loadScriptNode,t.CurrentGlobal=S,t.Global=I,t.Module=tc,t.ModuleFederation=t$,t.addGlobalSnapshot=H,t.assert=s,t.getGlobalFederationConstructor=O,t.getGlobalSnapshot=D,t.getInfoWithoutType=P,t.getRegisteredShare=eJ,t.getRemoteEntry=tr,t.getRemoteInfo=tn,t.helpers=tl,t.isStaticResourcesEqual=_,t.matchRemoteWithNameAndExpose=e1,t.registerGlobalPlugins=x,t.resetFederationGlobalInfo=T,t.safeWrapper=p,t.satisfy=eU,t.setGlobalFederationConstructor=k,t.setGlobalFederationInstance=A,t.types=tw},94490:function(e,t,r){"use strict";var n=r(93870),o=r(55994),i=r(31925);function a(e){let t=new(n.getGlobalFederationConstructor()||n.ModuleFederation)(e);return n.setGlobalFederationInstance(t),t}let s=null;function l(e){let t=i.getGlobalFederationInstance(e.name,e.version);return t?(t.initOptions(e),s||(s=t),t):s=a(e)}function c(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.loadRemote.apply(s,t)}function u(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.loadShare.apply(s,t)}function f(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.loadShareSync.apply(s,t)}function d(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.preloadRemote.apply(s,t)}function h(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.registerRemotes.apply(s,t)}function p(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.registerPlugins.apply(s,t)}function m(){return s}function g(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.registerShared.apply(s,t)}n.setGlobalFederationConstructor(n.ModuleFederation),t.Module=n.Module,t.ModuleFederation=n.ModuleFederation,t.getRemoteEntry=n.getRemoteEntry,t.getRemoteInfo=n.getRemoteInfo,t.loadScript=n.loadScript,t.loadScriptNode=n.loadScriptNode,t.registerGlobalPlugins=n.registerGlobalPlugins,t.createInstance=a,t.getInstance=m,t.init=l,t.loadRemote=c,t.loadShare=u,t.loadShareSync=f,t.preloadRemote=d,t.registerPlugins=p,t.registerRemotes=h,t.registerShared=g},31925:function(e,t,r){"use strict";var n=r(93870);function o(){return"Markdown:0.11.0-beta.0"}t.getGlobalFederationInstance=function(e,t){let r=o();return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}},44826:function(__unused_webpack_module,exports){"use strict";let FederationModuleManifest="federation-manifest.json",MANIFEST_EXT=".json",BROWSER_LOG_KEY="FEDERATION_DEBUG",NameTransformSymbol={AT:"@",HYPHEN:"-",SLASH:"/"},NameTransformMap={[NameTransformSymbol.AT]:"scope_",[NameTransformSymbol.HYPHEN]:"_",[NameTransformSymbol.SLASH]:"__"},EncodedNameTransformMap={[NameTransformMap[NameTransformSymbol.AT]]:NameTransformSymbol.AT,[NameTransformMap[NameTransformSymbol.HYPHEN]]:NameTransformSymbol.HYPHEN,[NameTransformMap[NameTransformSymbol.SLASH]]:NameTransformSymbol.SLASH},SEPARATOR=":",ManifestFileName="mf-manifest.json",StatsFileName="mf-stats.json",MFModuleType={NPM:"npm",APP:"app"},MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__",ENCODE_NAME_PREFIX="ENCODE_NAME_PREFIX",TEMP_DIR=".federation",MFPrefetchCommon={identifier:"MFDataPrefetch",globalKey:"__PREFETCH__",library:"mf-data-prefetch",exportsKey:"__PREFETCH_EXPORTS__",fileName:"bootstrap.js"};var ContainerPlugin=Object.freeze({__proto__:null}),ContainerReferencePlugin=Object.freeze({__proto__:null}),ModuleFederationPlugin=Object.freeze({__proto__:null}),SharePlugin=Object.freeze({__proto__:null});function isBrowserEnv(){return"undefined"!=typeof window&&void 0!==window.document}function isReactNativeEnv(){var e;return"undefined"!=typeof navigator&&(null==(e=navigator)?void 0:e.product)==="ReactNative"}function isBrowserDebug(){try{if(isBrowserEnv()&&window.localStorage)return!!localStorage.getItem(BROWSER_LOG_KEY)}catch(e){}return!1}function isDebugMode(){return"undefined"!=typeof process&&process.env&&process.env.FEDERATION_DEBUG?!!process.env.FEDERATION_DEBUG:!!("undefined"!=typeof FEDERATION_DEBUG&&FEDERATION_DEBUG)||isBrowserDebug()}let getProcessEnv=function(){return"undefined"!=typeof process&&process.env?process.env:{}},LOG_CATEGORY="[ Federation Runtime ]",parseEntry=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:SEPARATOR,n=e.split(r),o="development"===getProcessEnv().NODE_ENV&&t,i="*",a=e=>e.startsWith("http")||e.includes(MANIFEST_EXT);if(n.length>=2){let[t,...s]=n;e.startsWith(r)&&(t=n.slice(0,2).join(r),s=[o||n.slice(2).join(r)]);let l=o||s.join(r);return a(l)?{name:t,entry:l}:{name:t,version:l||i}}if(1===n.length){let[e]=n;return o&&a(o)?{name:e,entry:o}:{name:e,version:o||i}}throw`Invalid entry value: ${e}`},composeKeyWithSeparator=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length?t.reduce((e,t)=>t?e?`${e}${SEPARATOR}${t}`:t:e,""):""},encodeName=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{let n=r?".js":"";return`${t}${e.replace(RegExp(`${NameTransformSymbol.AT}`,"g"),NameTransformMap[NameTransformSymbol.AT]).replace(RegExp(`${NameTransformSymbol.HYPHEN}`,"g"),NameTransformMap[NameTransformSymbol.HYPHEN]).replace(RegExp(`${NameTransformSymbol.SLASH}`,"g"),NameTransformMap[NameTransformSymbol.SLASH])}${n}`}catch(e){throw e}},decodeName=function(e,t,r){try{let n=e;if(t){if(!n.startsWith(t))return n;n=n.replace(RegExp(t,"g"),"")}return n=n.replace(RegExp(`${NameTransformMap[NameTransformSymbol.AT]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.SLASH]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.HYPHEN]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]),r&&(n=n.replace(".js","")),n}catch(e){throw e}},generateExposeFilename=(e,t)=>{if(!e)return"";let r=e;return"."===r&&(r="default_export"),r.startsWith("./")&&(r=r.replace("./","")),encodeName(r,"__federation_expose_",t)},generateShareFilename=(e,t)=>e?encodeName(e,"__federation_shared_",t):"",getResourceUrl=(e,t)=>{if("getPublicPath"in e){let r;return r=e.getPublicPath.startsWith("function")?Function("return "+e.getPublicPath)()():Function(e.getPublicPath)(),`${r}${t}`}return"publicPath"in e?!isBrowserEnv()&&!isReactNativeEnv()&&"ssrPublicPath"in e?`${e.ssrPublicPath}${t}`:`${e.publicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},assert=(e,t)=>{e||error(t)},error=e=>{throw Error(`${LOG_CATEGORY}: ${e}`)},warn=e=>{console.warn(`${LOG_CATEGORY}: ${e}`)};function safeToString(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}let VERSION_PATTERN_REGEXP=/^([\d^=v<>~]|[*xX]$)/;function isRequiredVersion(e){return VERSION_PATTERN_REGEXP.test(e)}let simpleJoinRemoteEntry=(e,t)=>{if(!e)return t;let r=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){let t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e})(e);return r?r.endsWith("/")?`${r}${t}`:`${r}/${t}`:t};function inferAutoPublicPath(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function generateSnapshotFromManifest(e){var t,r,n;let o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{remotes:a={},overrides:s={},version:l}=i,c=()=>"publicPath"in e.metaData?"auto"===e.metaData.publicPath&&l?inferAutoPublicPath(l):e.metaData.publicPath:e.metaData.getPublicPath,u=Object.keys(s),f={};Object.keys(a).length||(f=(null==(n=e.remotes)?void 0:n.reduce((e,t)=>{let r,n=t.federationContainerName;return r=u.includes(n)?s[n]:"version"in t?t.version:t.entry,e[n]={matchedVersion:r},e},{}))||{}),Object.keys(a).forEach(e=>f[e]={matchedVersion:u.includes(e)?s[e]:a[e]});let{remoteEntry:{path:d,name:h,type:p},types:m={path:"",name:"",zip:"",api:""},buildInfo:{buildVersion:g},globalName:y,ssrRemoteEntry:_}=e.metaData,{exposes:E}=e,b={version:l||"",buildVersion:g,globalName:y,remoteEntry:simpleJoinRemoteEntry(d,h),remoteEntryType:p,remoteTypes:simpleJoinRemoteEntry(m.path,m.name),remoteTypesZip:m.zip||"",remoteTypesAPI:m.api||"",remotesInfo:f,shared:null==e?void 0:e.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version})),modules:null==E?void 0:E.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if(null==(t=e.metaData)?void 0:t.prefetchInterface){let t=e.metaData.prefetchInterface;b={...b,prefetchInterface:t}}if(null==(r=e.metaData)?void 0:r.prefetchEntry){let{path:t,name:r,type:n}=e.metaData.prefetchEntry;b={...b,prefetchEntry:simpleJoinRemoteEntry(t,r),prefetchEntryType:n}}return o="publicPath"in e.metaData?{...b,publicPath:c(),ssrPublicPath:e.metaData.ssrPublicPath}:{...b,getPublicPath:c()},_&&(o.ssrRemoteEntry=simpleJoinRemoteEntry(_.path,_.name),o.ssrRemoteEntryType=_.type||"commonjs-module"),o}function isManifestProvider(e){return!!("remoteEntry"in e&&e.remoteEntry.includes(MANIFEST_EXT))}function getManifestFileName(e){if(!e)return{statsFileName:StatsFileName,manifestFileName:ManifestFileName};let t="boolean"==typeof e?"":e.filePath||"",r="boolean"==typeof e?"":e.fileName||"",n=".json",o=e=>e.endsWith(n)?e:`${e}${n}`,i=(e,t)=>e.replace(n,`${t}${n}`),a=r?o(r):ManifestFileName;return{statsFileName:simpleJoinRemoteEntry(t,r?i(a,"-stats"):StatsFileName),manifestFileName:simpleJoinRemoteEntry(t,a)}}let PREFIX="[ Module Federation ]",DEFAULT_DELEGATE=console,LOGGER_STACK_SKIP_TOKENS=["logger.ts","logger.js","captureStackTrace","Logger.emit","Logger.log","Logger.info","Logger.warn","Logger.error","Logger.debug"];function captureStackTrace(){try{let e=Error().stack;if(!e)return;let[,...t]=e.split("\n"),r=t.filter(e=>!LOGGER_STACK_SKIP_TOKENS.some(t=>e.includes(t)));if(!r.length)return;let n=r.slice(0,5).join("\n");return`Stack trace:
4
+ ${n}`}catch{return}}class Logger{setPrefix(e){this.prefix=e}setDelegate(e){this.delegate=e??DEFAULT_DELEGATE}emit(e,t){let r=this.delegate,n=isDebugMode()?captureStackTrace():void 0,o=n?[...t,n]:t,i=(()=>{switch(e){case"log":return["log","info"];case"info":return["info","log"];case"warn":return["warn","info","log"];case"error":return["error","warn","log"];default:return["debug","log"]}})();for(let e of i){let t=r[e];if("function"==typeof t)return void t.call(r,this.prefix,...o)}for(let e of i){let t=DEFAULT_DELEGATE[e];if("function"==typeof t)return void t.call(DEFAULT_DELEGATE,this.prefix,...o)}}log(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];this.emit("log",t)}warn(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];this.emit("warn",t)}error(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];this.emit("error",t)}success(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];this.emit("info",t)}info(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];this.emit("info",t)}ready(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];this.emit("info",t)}debug(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];isDebugMode()&&this.emit("debug",t)}constructor(e,t=DEFAULT_DELEGATE){this.prefix=e,this.delegate=t??DEFAULT_DELEGATE}}function createLogger(e){return new Logger(e)}function createInfrastructureLogger(e){let t=new Logger(e);return Object.defineProperty(t,"__mf_infrastructure_logger__",{value:!0,enumerable:!1,configurable:!1}),t}function bindLoggerToCompiler(e,t,r){if(e.__mf_infrastructure_logger__&&(null==t?void 0:t.getInfrastructureLogger))try{let n=t.getInfrastructureLogger(r);n&&"object"==typeof n&&("function"==typeof n.log||"function"==typeof n.info||"function"==typeof n.warn||"function"==typeof n.error)&&e.setDelegate(n)}catch{e.setDelegate(void 0)}}let logger=createLogger(PREFIX),infrastructureLogger=createInfrastructureLogger(PREFIX);async function safeWrapper(e,t){try{return await e()}catch(e){t||warn(e);return}}function isStaticResourcesEqual(e,t){let r=/^(https?:)?\/\//i;return e.replace(r,"").replace(/\/$/,"")===t.replace(r,"").replace(/\/$/,"")}function createScript(e){let t,r=null,n=!0,o=2e4,i=document.getElementsByTagName("script");for(let t=0;t<i.length;t++){let o=i[t],a=o.getAttribute("src");if(a&&isStaticResourcesEqual(a,e.url)){r=o,n=!1;break}}if(!r){let t,n=e.attrs;(r=document.createElement("script")).type=(null==n?void 0:n.type)==="module"?"module":"text/javascript",e.createScriptHook&&((t=e.createScriptHook(e.url,e.attrs))instanceof HTMLScriptElement?r=t:"object"==typeof t&&("script"in t&&t.script&&(r=t.script),"timeout"in t&&t.timeout&&(o=t.timeout))),r.src||(r.src=e.url),n&&!t&&Object.keys(n).forEach(e=>{r&&("async"===e||"defer"===e?r[e]=n[e]:r.getAttribute(e)||r.setAttribute(e,n[e]))})}let a=async(n,o)=>{clearTimeout(t);let i=()=>{(null==o?void 0:o.type)==="error"?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(o)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(r&&(r.onerror=null,r.onload=null,safeWrapper(()=>{let{needDeleteScript:t=!0}=e;t&&(null==r?void 0:r.parentNode)&&r.parentNode.removeChild(r)}),n&&"function"==typeof n)){let e=n(o);if(e instanceof Promise){let t=await e;return i(),t}return i(),e}i()};return r.onerror=a.bind(null,r.onerror),r.onload=a.bind(null,r.onload),t=setTimeout(()=>{a(null,Error(`Remote script "${e.url}" time-outed.`))},o),{script:r,needAttach:n}}function createLink(e){let t=null,r=!0,n=document.getElementsByTagName("link");for(let o=0;o<n.length;o++){let i=n[o],a=i.getAttribute("href"),s=i.getAttribute("rel");if(a&&isStaticResourcesEqual(a,e.url)&&s===e.attrs.rel){t=i,r=!1;break}}if(!t){let r;(t=document.createElement("link")).setAttribute("href",e.url);let n=e.attrs;e.createLinkHook&&(r=e.createLinkHook(e.url,n))instanceof HTMLLinkElement&&(t=r),n&&!r&&Object.keys(n).forEach(e=>{t&&!t.getAttribute(e)&&t.setAttribute(e,n[e])})}let o=(r,n)=>{let o=()=>{(null==n?void 0:n.type)==="error"?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(n)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(t&&(t.onerror=null,t.onload=null,safeWrapper(()=>{let{needDeleteLink:r=!0}=e;r&&(null==t?void 0:t.parentNode)&&t.parentNode.removeChild(t)}),r)){let e=r(n);return o(),e}o()};return t.onerror=o.bind(null,t.onerror),t.onload=o.bind(null,t.onload),{link:t,needAttach:r}}function loadScript(e,t){let{attrs:r={},createScriptHook:n}=t;return new Promise((t,o)=>{let{script:i,needAttach:a}=createScript({url:e,cb:t,onErrorCallback:o,attrs:{fetchpriority:"high",...r},createScriptHook:n,needDeleteScript:!0});a&&document.head.appendChild(i)})}let sdkImportCache=new Map;function importNodeModule(e){if(!e)throw Error("import specifier is required");if(sdkImportCache.has(e))return sdkImportCache.get(e);let t=Function("name","return import(name)")(e).then(e=>e).catch(t=>{throw console.error(`Error importing module ${e}:`,t),sdkImportCache.delete(e),t});return sdkImportCache.set(e,t),t}let loadNodeFetch=async()=>{let e=await importNodeModule("node-fetch");return e.default||e},lazyLoaderHookFetch=async(e,t,r)=>{let n=(e,t)=>r.lifecycle.fetch.emit(e,t),o=await n(e,t||{});return o&&o instanceof Response?o:("undefined"==typeof fetch?await loadNodeFetch():fetch)(e,t||{})},createScriptNode="undefined"==typeof ENV_TARGET||"web"!==ENV_TARGET?(url,cb,attrs,loaderHook)=>{let urlObj;if(null==loaderHook?void 0:loaderHook.createScriptHook){let hookResult=loaderHook.createScriptHook(url);hookResult&&"object"==typeof hookResult&&"url"in hookResult&&(url=hookResult.url)}try{urlObj=new URL(url)}catch(e){console.error("Error constructing URL:",e),cb(Error(`Invalid URL: ${e}`));return}let getFetch=async()=>(null==loaderHook?void 0:loaderHook.fetch)?(e,t)=>lazyLoaderHookFetch(e,t,loaderHook):"undefined"==typeof fetch?loadNodeFetch():fetch,handleScriptFetch=async(f,urlObj)=>{try{var _vm_constants;let res=await f(urlObj.href),data=await res.text(),[path,vm]=await Promise.all([importNodeModule("path"),importNodeModule("vm")]),scriptContext={exports:{},module:{exports:{}}},urlDirname=urlObj.pathname.split("/").slice(0,-1).join("/"),filename=path.basename(urlObj.pathname),script=new vm.Script(`(function(exports, module, require, __dirname, __filename) {${data}
5
+ })`,{filename,importModuleDynamically:(null==(_vm_constants=vm.constants)?void 0:_vm_constants.USE_MAIN_CONTEXT_DEFAULT_LOADER)??importNodeModule});script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename);let exportedInterface=scriptContext.module.exports||scriptContext.exports;if(attrs&&exportedInterface&&attrs.globalName){let container=exportedInterface[attrs.globalName]||exportedInterface;cb(void 0,container);return}cb(void 0,exportedInterface)}catch(e){cb(e instanceof Error?e:Error(`Script execution error: ${e}`))}};getFetch().then(async e=>{if((null==attrs?void 0:attrs.type)==="esm"||(null==attrs?void 0:attrs.type)==="module")return loadModule(urlObj.href,{fetch:e,vm:await importNodeModule("vm")}).then(async e=>{await e.evaluate(),cb(void 0,e.namespace)}).catch(e=>{cb(e instanceof Error?e:Error(`Script execution error: ${e}`))});handleScriptFetch(e,urlObj)}).catch(e=>{cb(e)})}:(e,t,r,n)=>{t(Error("createScriptNode is disabled in non-Node.js environment"))},loadScriptNode="undefined"==typeof ENV_TARGET||"web"!==ENV_TARGET?(e,t)=>new Promise((r,n)=>{createScriptNode(e,(e,o)=>{if(e)n(e);else{var i,a;let e=(null==t||null==(i=t.attrs)?void 0:i.globalName)||`__FEDERATION_${null==t||null==(a=t.attrs)?void 0:a.name}:custom__`;r(globalThis[e]=o)}},t.attrs,t.loaderHook)}):(e,t)=>{throw Error("loadScriptNode is disabled in non-Node.js environment")},esmModuleCache=new Map;async function loadModule(e,t){if(esmModuleCache.has(e))return esmModuleCache.get(e);let{fetch:r,vm:n}=t,o=await r(e),i=await o.text(),a=new n.SourceTextModule(i,{importModuleDynamically:async(r,n)=>loadModule(new URL(r,e).href,t)});return esmModuleCache.set(e,a),await a.link(async r=>{let n=new URL(r,e).href;return await loadModule(n,t)}),a}function normalizeOptions(e,t,r){return function(n){if(!1===n)return!1;if(void 0===n)if(e)return t;else return!1;if(!0===n)return t;if(n&&"object"==typeof n)return{...t,...n};throw Error(`Unexpected type for \`${r}\`, expect boolean/undefined/object, got: ${typeof n}`)}}let createModuleFederationConfig=e=>e;exports.BROWSER_LOG_KEY=BROWSER_LOG_KEY,exports.ENCODE_NAME_PREFIX=ENCODE_NAME_PREFIX,exports.EncodedNameTransformMap=EncodedNameTransformMap,exports.FederationModuleManifest=FederationModuleManifest,exports.MANIFEST_EXT=MANIFEST_EXT,exports.MFModuleType=MFModuleType,exports.MFPrefetchCommon=MFPrefetchCommon,exports.MODULE_DEVTOOL_IDENTIFIER=MODULE_DEVTOOL_IDENTIFIER,exports.ManifestFileName=ManifestFileName,exports.NameTransformMap=NameTransformMap,exports.NameTransformSymbol=NameTransformSymbol,exports.SEPARATOR=SEPARATOR,exports.StatsFileName=StatsFileName,exports.TEMP_DIR=TEMP_DIR,exports.assert=assert,exports.bindLoggerToCompiler=bindLoggerToCompiler,exports.composeKeyWithSeparator=composeKeyWithSeparator,exports.containerPlugin=ContainerPlugin,exports.containerReferencePlugin=ContainerReferencePlugin,exports.createInfrastructureLogger=createInfrastructureLogger,exports.createLink=createLink,exports.createLogger=createLogger,exports.createModuleFederationConfig=createModuleFederationConfig,exports.createScript=createScript,exports.createScriptNode=createScriptNode,exports.decodeName=decodeName,exports.encodeName=encodeName,exports.error=error,exports.generateExposeFilename=generateExposeFilename,exports.generateShareFilename=generateShareFilename,exports.generateSnapshotFromManifest=generateSnapshotFromManifest,exports.getManifestFileName=getManifestFileName,exports.getProcessEnv=getProcessEnv,exports.getResourceUrl=getResourceUrl,exports.inferAutoPublicPath=inferAutoPublicPath,exports.infrastructureLogger=infrastructureLogger,exports.isBrowserEnv=isBrowserEnv,exports.isDebugMode=isDebugMode,exports.isManifestProvider=isManifestProvider,exports.isReactNativeEnv=isReactNativeEnv,exports.isRequiredVersion=isRequiredVersion,exports.isStaticResourcesEqual=isStaticResourcesEqual,exports.loadScript=loadScript,exports.loadScriptNode=loadScriptNode,exports.logger=logger,exports.moduleFederationPlugin=ModuleFederationPlugin,exports.normalizeOptions=normalizeOptions,exports.parseEntry=parseEntry,exports.safeToString=safeToString,exports.safeWrapper=safeWrapper,exports.sharePlugin=SharePlugin,exports.simpleJoinRemoteEntry=simpleJoinRemoteEntry,exports.warn=warn},86317:function(e,t){"use strict";t.FEDERATION_SUPPORTED_TYPES=["script"]},50227:function(e,t,r){"use strict";var n=r(94490),o=r(86317),i=r(44826);function a(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}function s(e){let{webpackRequire:t,moduleToHandlerMapping:r}=e,{consumesLoadingData:n,initializeSharingData:o}=t;if(n&&!n._updated){let{moduleIdToConsumeDataMapping:t={},initialConsumes:o=[],chunkMapping:i={}}=n;if(Object.entries(t).forEach(e=>{let[t,n]=e;r[t]||(r[t]={getter:n.fallback,shareInfo:{shareConfig:{requiredVersion:n.requiredVersion,strictVersion:n.strictVersion,singleton:n.singleton,eager:n.eager,layer:n.layer},scope:Array.isArray(n.shareScope)?n.shareScope:[n.shareScope||"default"]},shareKey:n.shareKey})}),"initialConsumes"in e){let{initialConsumes:t=[]}=e;o.forEach(e=>{t.includes(e)||t.push(e)})}if("chunkMapping"in e){let{chunkMapping:t={}}=e;Object.entries(i).forEach(e=>{let[r,n]=e;t[r]||(t[r]=[]),n.forEach(e=>{t[r].includes(e)||t[r].push(e)})})}n._updated=1}if(o&&!o._updated){let{federation:e}=t;if(!e.instance||!o.scopeToSharingDataMapping)return;let r={};for(let[e,t]of Object.entries(o.scopeToSharingDataMapping))for(let n of t)if("object"==typeof n&&null!==n){let{name:t,version:o,factory:i,eager:a,singleton:s,requiredVersion:l,strictVersion:c}=n,u={requiredVersion:`^${o}`},f=function(e){return void 0!==e};f(s)&&(u.singleton=s),f(l)&&(u.requiredVersion=l),f(a)&&(u.eager=a),f(c)&&(u.strictVersion=c);let d={version:o,scope:[e],shareConfig:u,get:i};r[t]?r[t].push(d):r[t]=[d]}e.instance.registerShared(r),o._updated=1}}function l(e){var t,r,n,o,i;let{webpackRequire:a,idToExternalAndNameMapping:s={},idToRemoteMap:l={},chunkMapping:c={}}=e,{remotesLoadingData:u}=a,f=null==(n=a.federation)||null==(r=n.bundlerRuntimeOptions)||null==(t=r.remotes)?void 0:t.remoteInfos;if(!u||u._updated||!f)return;let{chunkMapping:d,moduleIdToRemoteDataMapping:h}=u;if(d&&h){for(let[e,t]of Object.entries(h))if(s[e]||(s[e]=[t.shareScope,t.name,t.externalModuleId]),!l[e]&&f[t.remoteName]){let r=f[t.remoteName];(o=l)[i=e]||(o[i]=[]),r.forEach(t=>{l[e].includes(t)||l[e].push(t)})}c&&Object.entries(d).forEach(e=>{let[t,r]=e;c[t]||(c[t]=[]),r.forEach(e=>{c[t].includes(e)||c[t].push(e)})}),u._updated=1}}function c(e){l(e);let{chunkId:t,promises:r,webpackRequire:n,chunkMapping:s,idToExternalAndNameMapping:c,idToRemoteMap:u}=e;a(n),n.o(s,t)&&s[t].forEach(e=>{let t=n.R;t||(t=[]);let a=c[e],s=u[e]||[];if(t.indexOf(a)>=0)return;if(t.push(a),a.p)return r.push(a.p);let l=t=>{t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+=`
6
+ while loading "${a[1]}" from ${a[2]}`),n.m[e]=()=>{throw t},a.p=0},f=(e,t,n,o,i,s)=>{try{let c=e(t,n);if(!c||!c.then)return i(c,o,s);{let e=c.then(e=>i(e,o),l);if(!s)return e;r.push(a.p=e)}}catch(e){l(e)}},d=(e,t,r)=>e?f(n.I,a[0],0,e,h,r):l();var h=(e,r,n)=>f(r.get,a[1],t,0,p,n),p=t=>{a.p=1,n.m[e]=e=>{e.exports=t()}};let m=()=>{try{let e=i.decodeName(s[0].name,i.ENCODE_NAME_PREFIX)+a[1].slice(1),t=n.federation.instance,r=()=>n.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy)return Promise.all(t.sharedHandler.initializeSharing(a[0])).then(()=>r());return r()}catch(e){l(e)}};1===s.length&&o.FEDERATION_SUPPORTED_TYPES.includes(s[0].externalType)&&s[0].name?f(m,a[2],0,0,p,1):f(n,a[2],0,0,d,1)})}function u(e){s(e);let{chunkId:t,promises:r,installedModules:n,webpackRequire:o,chunkMapping:i,moduleToHandlerMapping:l}=e;a(o),o.o(i,t)&&i[t].forEach(e=>{if(o.o(n,e))return r.push(n[e]);let t=t=>{n[e]=0,o.m[e]=r=>{var n;delete o.c[e];let i=t(),{shareInfo:a}=l[e];if((null==a||null==(n=a.shareConfig)?void 0:n.layer)&&i&&"object"==typeof i)try{i.hasOwnProperty("layer")&&void 0!==i.layer||(i.layer=a.shareConfig.layer)}catch(e){}r.exports=i}},i=t=>{delete n[e],o.m[e]=r=>{throw delete o.c[e],t}};try{let a=o.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:s,getter:c,shareInfo:u}=l[e],f=a.loadShare(s,{customShareInfo:u}).then(e=>!1===e?c():e);f.then?r.push(n[e]=f.then(t).catch(i)):t(f)}catch(e){i(e)}})}function f(e){let{shareScopeName:t,webpackRequire:r,initPromises:n,initTokens:i,initScope:s}=e,l=Array.isArray(t)?t:[t];var c=[],u=function(e){s||(s=[]);let l=r.federation.instance;var c=i[e];if(c||(c=i[e]={from:l.name}),s.indexOf(c)>=0)return;s.push(c);let u=n[e];if(u)return u;var f=e=>"undefined"!=typeof console&&console.warn&&console.warn(e),d=n=>{var o=e=>f("Initialization of sharing external failed: "+e);try{var i=r(n);if(!i)return;var a=n=>n&&n.init&&n.init(r.S[e],s,{shareScopeMap:r.S||{},shareScopeKeys:t});if(i.then)return h.push(i.then(a,o));var l=a(i);if(l&&"boolean"!=typeof l&&l.then)return h.push(l.catch(o))}catch(e){o(e)}};let h=l.initializeSharing(e,{strategy:l.options.shareStrategy,initScope:s,from:"build"});a(r);let p=r.federation.bundlerRuntimeOptions.remotes;return(p&&Object.keys(p.idToRemoteMap).forEach(e=>{let t=p.idToRemoteMap[e],r=p.idToExternalAndNameMapping[e][2];if(t.length>1)d(r);else if(1===t.length){let e=t[0];o.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||d(r)}}),h.length)?n[e]=Promise.all(h).then(()=>n[e]=!0):n[e]=!0};return l.forEach(e=>{c.push(u(e))}),Promise.all(c).then(()=>!0)}function d(e){let{moduleId:t,moduleToHandlerMapping:r,webpackRequire:n}=e,o=n.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:i,shareInfo:a}=r[t];try{return o.loadShareSync(i,{customShareInfo:a})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}function h(e){let{webpackRequire:t}=e;s(e);let{initialConsumes:r,moduleToHandlerMapping:n,installedModules:o}=e;r.forEach(e=>{t.m[e]=r=>{var i;o[e]=0,delete t.c[e];let a=d({moduleId:e,moduleToHandlerMapping:n,webpackRequire:t});if("function"!=typeof a)throw Error(`Shared module is not available for eager consumption: ${e}`);let s=a(),{shareInfo:l}=n[e];if((null==l||null==(i=l.shareConfig)?void 0:i.layer)&&s&&"object"==typeof s)try{s.hasOwnProperty("layer")&&void 0!==s.layer||(s.layer=l.shareConfig.layer)}catch(e){}r.exports=s}})}function p(e){let{webpackRequire:t,shareScope:r,initScope:n,shareScopeKey:o,remoteEntryInitOptions:i}=e;if(!t.S||!t.federation||!t.federation.instance||!t.federation.initOptions)return;let a=t.federation.instance;a.initOptions({name:t.federation.initOptions.name,remotes:[],...i});let s=null==i?void 0:i.shareScopeKeys,l=null==i?void 0:i.shareScopeMap;if(o&&"string"!=typeof o)o.forEach(e=>{if(!s||!l)return void a.initShareScopeMap(e,r,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}});l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}})});else{let e=o||"default";Array.isArray(s)?s.forEach(e=>{l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}})}):a.initShareScopeMap(e,r,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),"function"==typeof t.federation.prefetch&&t.federation.prefetch(),Array.isArray(o))?t.federation.initOptions.shared?t.I(o,n):Promise.all(o.map(e=>t.I(e,n))).then(()=>!0):t.I(o||"default",n)}e.exports={runtime:function(e){var t=Object.create(null);if(e)for(var r in e)t[r]=e[r];return t.default=e,Object.freeze(t)}(n),instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:c,consumes:u,I:f,S:{},installInitialConsumes:h,initContainerEntry:p},attachShareScopeMap:a,bundlerRuntimeOptions:{}}},26205:function(e,t,r){"use strict";var n,o,i,a,s,l,c,u,f,d,h,p,m=r(50227),g=r.n(m);let y=[],_={},E="Markdown",b="version-first";if((r.initializeSharingData||r.initializeExposesData)&&r.federation){let e=(e,t,r)=>{e&&e[t]&&(e[t]=r)},t=(e,t,r)=>{var n,o,i,a,s,l;let c=r();Array.isArray(c)?(null!=(i=(n=e)[o=t])||(n[o]=[]),e[t].push(...c)):"object"==typeof c&&null!==c&&(null!=(l=(a=e)[s=t])||(a[s]={}),Object.assign(e[t],c))},m=(e,t,r)=>{var n,o,i;null!=(i=(n=e)[o=t])||(n[o]=r())},v=null!=(u=null==(n=r.remotesLoadingData)?void 0:n.chunkMapping)?u:{},S=null!=(f=null==(o=r.remotesLoadingData)?void 0:o.moduleIdToRemoteDataMapping)?f:{},R=null!=(d=null==(i=r.initializeSharingData)?void 0:i.scopeToSharingDataMapping)?d:{},I=null!=(h=null==(a=r.consumesLoadingData)?void 0:a.chunkMapping)?h:{},N=null!=(p=null==(s=r.consumesLoadingData)?void 0:s.moduleIdToConsumeDataMapping)?p:{},M={},$=[],w={},T=null==(l=r.initializeExposesData)?void 0:l.shareScope;for(let e in g())r.federation[e]=g()[e];m(r.federation,"consumesLoadingModuleToHandlerMapping",()=>{let e={};for(let[t,r]of Object.entries(N))e[t]={getter:r.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:r.requiredVersion,strictVersion:r.strictVersion,singleton:r.singleton,eager:r.eager},scope:[r.shareScope]},shareKey:r.shareKey};return e}),m(r.federation,"initOptions",()=>({})),m(r.federation.initOptions,"name",()=>E),m(r.federation.initOptions,"shareStrategy",()=>b),m(r.federation.initOptions,"shared",()=>{let e={};for(let[t,r]of Object.entries(R))for(let n of r)if("object"==typeof n&&null!==n){let{name:r,version:o,factory:i,eager:a,singleton:s,requiredVersion:l,strictVersion:c}=n,u={},f=function(e){return void 0!==e};f(s)&&(u.singleton=s),f(l)&&(u.requiredVersion=l),f(a)&&(u.eager=a),f(c)&&(u.strictVersion=c);let d={version:o,scope:[t],shareConfig:u,get:i};e[r]?e[r].push(d):e[r]=[d]}return e}),t(r.federation.initOptions,"remotes",()=>Object.values(_).flat().filter(e=>"script"===e.externalType)),t(r.federation.initOptions,"plugins",()=>y),m(r.federation,"bundlerRuntimeOptions",()=>({})),m(r.federation.bundlerRuntimeOptions,"remotes",()=>({})),m(r.federation.bundlerRuntimeOptions.remotes,"chunkMapping",()=>v),m(r.federation.bundlerRuntimeOptions.remotes,"remoteInfos",()=>_),m(r.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",()=>{let e={};for(let[t,r]of Object.entries(S))e[t]=[r.shareScope,r.name,r.externalModuleId,r.remoteName];return e}),m(r.federation.bundlerRuntimeOptions.remotes,"webpackRequire",()=>r),t(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",()=>{let e={};for(let[t,r]of Object.entries(S)){let n=_[r.remoteName];n&&(e[t]=n)}return e}),e(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),e(r.f,"remotes",(e,t)=>r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:v,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})),e(r.f,"consumes",(e,t)=>r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:I,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:M,webpackRequire:r})),e(r,"I",(e,t)=>r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:$,initTokens:w,webpackRequire:r})),e(r,"initContainer",(e,t,n)=>r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:n,shareScopeKey:T,webpackRequire:r})),e(r,"getContainer",(e,t)=>{var n=r.initializeExposesData.moduleMap;return r.R=t,t=Object.prototype.hasOwnProperty.call(n,e)?n[e]():Promise.resolve().then(()=>{throw Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t}),r.federation.instance=r.federation.runtime.init(r.federation.initOptions),(null==(c=r.consumesLoadingData)?void 0:c.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:M,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,__webpack_require__.x=()=>__webpack_require__(23362),(()=>{__webpack_require__.federation||(__webpack_require__.federation={chunkMatcher:function(e){return!/^(3(12|35|67)|10|221|4|442|70|823)$/.test(e)},rootOutputDir:"../../"})})(),(()=>{__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t}})(),(()=>{__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((t,r)=>(__webpack_require__.f[r](e,t),t),[]))})(),(()=>{__webpack_require__.u=e=>"__mf/js/async/"+("535"===e?"lib-router":e)+"."+({121:"c4937021",138:"f8838514",188:"8fc0d073",192:"0912c114",235:"1c10569d",252:"b328953d",274:"6c3acee5",340:"f2539096",356:"f3cf0f3c",377:"0c71c106",392:"dce6d4aa",43:"c6917720",470:"3c80236f",535:"6de523a3",555:"884213fc",587:"7518b166",588:"2c2805ab",616:"493454f5",71:"6cc63587",854:"376fcae3",873:"0132aafa",941:"604b0645",968:"91b15af4",978:"a0eec770"})[e]+".js"})(),(()=>{__webpack_require__.miniCssF=e=>"__mf/css/async/"+e+"."+({442:"d3010b86",823:"d3010b86"})[e]+".css"})(),(()=>{__webpack_require__.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})()})(),(()=>{__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="Markdown:";__webpack_require__.l=function(r,n,o,i){if(e[r])return void e[r].push(n);if(void 0!==o)for(var a,s,l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var u=l[c];if(u.getAttribute("src")==r||u.getAttribute("data-webpack")==t+o){a=u;break}}a||(s=!0,(a=document.createElement("script")).timeout=120,__webpack_require__.nc&&a.setAttribute("nonce",__webpack_require__.nc),a.setAttribute("data-webpack",t+o),a.src=r),e[r]=[n];var f=function(t,n){a.onerror=a.onload=null,clearTimeout(d);var o=e[r];if(delete e[r],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(function(e){return e(n)}),t)return t(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(null,a.onerror),a.onload=f.bind(null,a.onload),s&&document.head.appendChild(a)}})(),(()=>{__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e)})(),(()=>{__webpack_require__.nc=void 0})(),(()=>{__webpack_require__.S={},__webpack_require__.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@emotion/react",version:"11.14.0",factory:()=>Promise.all([__webpack_require__.e("274"),__webpack_require__.e("312"),__webpack_require__.e("377")]).then(()=>()=>__webpack_require__(67449)),eager:0,singleton:1,requiredVersion:"^11.11.3"},{name:"@emotion/styled",version:"11.14.0",factory:()=>Promise.all([__webpack_require__.e("312"),__webpack_require__.e("367"),__webpack_require__.e("616")]).then(()=>()=>__webpack_require__(63859)),eager:0,singleton:1},{name:"@hookform/resolvers",version:"3.10.0",factory:()=>Promise.all([__webpack_require__.e("356"),__webpack_require__.e("312"),__webpack_require__.e("587")]).then(()=>()=>__webpack_require__(75150)),eager:0,singleton:1},{name:"@perses-dev/components",version:"0.53.0-beta.4",factory:()=>Promise.all([__webpack_require__.e("588"),__webpack_require__.e("71"),__webpack_require__.e("356"),__webpack_require__.e("43"),__webpack_require__.e("188"),__webpack_require__.e("555"),__webpack_require__.e("138"),__webpack_require__.e("312"),__webpack_require__.e("10"),__webpack_require__.e("4"),__webpack_require__.e("367"),__webpack_require__.e("221"),__webpack_require__.e("442")]).then(()=>()=>__webpack_require__(7990)),eager:0,singleton:1},{name:"@perses-dev/plugin-system",version:"0.53.0-beta.4",factory:()=>Promise.all([__webpack_require__.e("535"),__webpack_require__.e("356"),__webpack_require__.e("188"),__webpack_require__.e("138"),__webpack_require__.e("252"),__webpack_require__.e("312"),__webpack_require__.e("10"),__webpack_require__.e("4"),__webpack_require__.e("367"),__webpack_require__.e("221"),__webpack_require__.e("335"),__webpack_require__.e("340")]).then(()=>()=>__webpack_require__(21015)),eager:0,singleton:1},{name:"date-fns",version:"4.1.0",factory:()=>Promise.all([__webpack_require__.e("588"),__webpack_require__.e("71"),__webpack_require__.e("192")]).then(()=>()=>__webpack_require__(89227)),eager:0,singleton:1},{name:"echarts",version:"5.5.0",factory:()=>Promise.all([__webpack_require__.e("43"),__webpack_require__.e("873")]).then(()=>()=>__webpack_require__(83824)),eager:0,singleton:1},{name:"lodash",version:"4.17.21",factory:()=>__webpack_require__.e("392").then(()=>()=>__webpack_require__(17243)),eager:0,singleton:1},{name:"react-dom",version:"18.3.1",factory:()=>Promise.all([__webpack_require__.e("470"),__webpack_require__.e("312")]).then(()=>()=>__webpack_require__(78325)),eager:0,singleton:1,requiredVersion:"18.2.0"},{name:"react",version:"18.3.1",factory:()=>__webpack_require__.e("121").then(()=>()=>__webpack_require__(63696)),eager:0,singleton:1,requiredVersion:"18.2.0"}]},uniqueName:"Markdown"},__webpack_require__.I=__webpack_require__.I||function(){throw Error("should have __webpack_require__.I")}})(),(()=>{__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var e,t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw Error("Automatic publicPath is not supported in this browser");__webpack_require__.p=(e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"))+"../../"})(),(()=>{__webpack_require__.consumesLoadingData={chunkMapping:{312:["70451"],4:["20231"],367:["69402"],70:["31829"],335:["84607","98100","92648","64198","25511","51035","71935"],10:["40224","63682","94461"],221:["42292"]},moduleIdToConsumeDataMapping:{98100:{shareScope:"default",shareKey:"@perses-dev/plugin-system",import:"@perses-dev/plugin-system",requiredVersion:"0.53.0-beta.4",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>()=>__webpack_require__(21015)},40224:{shareScope:"default",shareKey:"lodash",import:"lodash",requiredVersion:"^4.17.21",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("392").then(()=>()=>__webpack_require__(17243))},51035:{shareScope:"default",shareKey:"lodash",import:"lodash",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("392").then(()=>()=>__webpack_require__(17243))},31829:{shareScope:"default",shareKey:"date-fns",import:"date-fns",requiredVersion:"^3.0.0 || ^4.0.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("588"),__webpack_require__.e("192")]).then(()=>()=>__webpack_require__(89227))},92648:{shareScope:"default",shareKey:"@perses-dev/components",import:"@perses-dev/components",requiredVersion:"0.53.0-beta.4",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("588"),__webpack_require__.e("71"),__webpack_require__.e("43"),__webpack_require__.e("555"),__webpack_require__.e("823")]).then(()=>()=>__webpack_require__(7990))},64198:{shareScope:"default",shareKey:"echarts",import:"echarts",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("43"),__webpack_require__.e("873")]).then(()=>()=>__webpack_require__(83824))},84607:{shareScope:"default",shareKey:"@emotion/styled",import:"@emotion/styled",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("235").then(()=>()=>__webpack_require__(63859))},71935:{shareScope:"default",shareKey:"@perses-dev/plugin-system",import:"@perses-dev/plugin-system",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>()=>__webpack_require__(21015)},70451:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.2.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("121").then(()=>()=>__webpack_require__(63696))},63682:{shareScope:"default",shareKey:"date-fns-tz",import:"date-fns-tz",requiredVersion:"^3.2.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("71"),__webpack_require__.e("978"),__webpack_require__.e("70")]).then(()=>()=>__webpack_require__(61153))},94461:{shareScope:"default",shareKey:"date-fns",import:"date-fns",requiredVersion:"^4.1.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("588"),__webpack_require__.e("71"),__webpack_require__.e("192")]).then(()=>()=>__webpack_require__(89227))},25511:{shareScope:"default",shareKey:"@hookform/resolvers",import:"@hookform/resolvers",requiredVersion:"^2.0.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("968").then(()=>()=>__webpack_require__(75150))},69402:{shareScope:"default",shareKey:"@emotion/react",import:"@emotion/react",requiredVersion:"^11.11.3",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("274").then(()=>()=>__webpack_require__(67449))},42292:{shareScope:"default",shareKey:"@emotion/styled",import:"@emotion/styled",requiredVersion:"^11.3.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("854").then(()=>()=>__webpack_require__(63859))},20231:{shareScope:"default",shareKey:"react-dom",import:"react-dom",requiredVersion:"18.2.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("470").then(()=>()=>__webpack_require__(78325))}},initialConsumes:[]},__webpack_require__.f.consumes=__webpack_require__.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")}})(),(()=>{if("undefined"!=typeof document){var e=function(e,t,r,n,o){var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",__webpack_require__.nc&&(i.nonce=__webpack_require__.nc);var a=function(r){if(i.onerror=i.onload=null,"load"===r.type)n();else{var a=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.href||t,l=Error("Loading CSS chunk "+e+" failed.\\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=a,l.request=s,i.parentNode&&i.parentNode.removeChild(i),o(l)}};return i.onerror=i.onload=a,i.href=t,r?r.parentNode.insertBefore(i,r.nextSibling):document.head.appendChild(i),i},t=function(e,t){for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=r[n],i=o.getAttribute("data-href")||o.getAttribute("href");if(i&&(i=i.split("?")[0]),"stylesheet"===o.rel&&(i===e||i===t))return o}for(var a=document.getElementsByTagName("style"),n=0;n<a.length;n++){var o=a[n],i=o.getAttribute("data-href");if(i===e||i===t)return o}},r=function(r){return new Promise(function(n,o){var i=__webpack_require__.miniCssF(r),a=__webpack_require__.p+i;if(t(i,a))return n();e(r,a,null,n,o)})},n={889:0};__webpack_require__.f.miniCss=function(e,t){var o={823:1,442:1};n[e]?t.push(n[e]):0!==n[e]&&o[e]&&t.push(n[e]=r(e).then(function(){n[e]=0},function(t){throw delete n[e],t}))}}})(),(()=>{var e={889:0};__webpack_require__.f.j=function(t,r){var n=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(3(12|35|67)|10|221|4|442|70|823)$/.test(t))e[t]=0;else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var i=__webpack_require__.p+__webpack_require__.u(t),a=Error(),s=function(r){if(__webpack_require__.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}};__webpack_require__.l(i,s,"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[i,a,s]=r,l=0;if(i.some(t=>0!==e[t])){for(n in a)__webpack_require__.o(a,n)&&(__webpack_require__.m[n]=a[n]);s&&s(__webpack_require__)}for(t&&t(r);l<i.length;l++)o=i[l],__webpack_require__.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self.chunk_Markdown=self.chunk_Markdown||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),(()=>{var e=__webpack_require__.x,t=!1;__webpack_require__.x=function(){if(t||(t=!0,__webpack_require__(26205)),"function"==typeof e)return e();console.warn("[MF] Invalid prevStartup")}})();var __webpack_exports__=__webpack_require__.x()})();
@@ -1,3 +1,4 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
1
2
  // Copyright 2023 The Perses Authors
2
3
  // Licensed under the Apache License, Version 2.0 (the "License");
3
4
  // you may not use this file except in compliance with the License.
@@ -10,7 +11,6 @@
10
11
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
12
  // See the License for the specific language governing permissions and
12
13
  // limitations under the License.
13
- import { jsx as _jsx } from "react/jsx-runtime";
14
14
  import { Box } from '@mui/material';
15
15
  import { useChartsTheme } from '@perses-dev/components';
16
16
  import { useReplaceVariablesInString } from '@perses-dev/plugin-system';
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/MarkdownPanel.tsx"],"sourcesContent":["// Copyright 2023 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { Box, Theme } from '@mui/material';\nimport { PersesChartsTheme, useChartsTheme } from '@perses-dev/components';\nimport { PanelProps, useReplaceVariablesInString } from '@perses-dev/plugin-system';\nimport DOMPurify from 'dompurify';\nimport { marked } from 'marked';\nimport React, { ReactElement, useMemo } from 'react';\nimport { MarkdownPanelOptions } from './markdown-panel-model';\n\nexport type MarkdownPanelProps = PanelProps<MarkdownPanelOptions>;\n\nfunction createMarkdownPanelStyles(theme: Theme, chartsTheme: PersesChartsTheme): Record<string, unknown> {\n return {\n padding: `${chartsTheme.container.padding.default}px`,\n // Make the content scrollable\n height: '100%',\n overflowY: 'auto',\n // Ignore top margin on the first element.\n '& :first-of-type': {\n marginTop: 0,\n },\n // Styles for headers\n '& h1': {\n fontSize: '2em',\n },\n // Styles for <code>\n '& code': { fontSize: '0.85em' },\n '& :not(pre) code': {\n padding: '0.2em 0.4em',\n backgroundColor: theme.palette.grey[100],\n borderRadius: '4px',\n },\n '& pre': {\n padding: '1.2em',\n backgroundColor: theme.palette.grey[100],\n borderRadius: '4px',\n },\n // Styles for <table>\n '& table, & th, & td': {\n padding: '0.6em',\n border: `1px solid ${theme.palette.grey[300]}`,\n borderCollapse: 'collapse',\n },\n // Styles for <li>\n '& li + li': {\n marginTop: '0.25em',\n },\n // Styles for <a>\n '& a': {\n color: theme.palette.primary.main,\n },\n };\n}\n\n// Convert markdown to HTML\n// Supports original markdown and GitHub Flavored markdown\nfunction markdownToHTML(text: string): string {\n return marked.parse(text, { gfm: true, async: false });\n}\n\n// Prevent XSS attacks by removing the vectors for attacks\nfunction sanitizeHTML(html: string): string {\n return DOMPurify.sanitize(html);\n}\n\nexport function MarkdownPanel(props: MarkdownPanelProps): ReactElement {\n const {\n spec: { text },\n } = props;\n const chartsTheme = useChartsTheme();\n\n const textAfterVariableReplacement = useReplaceVariablesInString(text);\n\n const html = useMemo(() => markdownToHTML(textAfterVariableReplacement ?? ''), [textAfterVariableReplacement]);\n const sanitizedHTML = useMemo(() => sanitizeHTML(html), [html]);\n\n return (\n <Box\n sx={(theme) => createMarkdownPanelStyles(theme, chartsTheme)}\n dangerouslySetInnerHTML={{ __html: sanitizedHTML }}\n />\n );\n}\n"],"names":["Box","useChartsTheme","useReplaceVariablesInString","DOMPurify","marked","React","useMemo","createMarkdownPanelStyles","theme","chartsTheme","padding","container","default","height","overflowY","marginTop","fontSize","backgroundColor","palette","grey","borderRadius","border","borderCollapse","color","primary","main","markdownToHTML","text","parse","gfm","async","sanitizeHTML","html","sanitize","MarkdownPanel","props","spec","textAfterVariableReplacement","sanitizedHTML","sx","dangerouslySetInnerHTML","__html"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,SAASA,GAAG,QAAe,gBAAgB;AAC3C,SAA4BC,cAAc,QAAQ,yBAAyB;AAC3E,SAAqBC,2BAA2B,QAAQ,4BAA4B;AACpF,OAAOC,eAAe,YAAY;AAClC,SAASC,MAAM,QAAQ,SAAS;AAChC,OAAOC,SAAuBC,OAAO,QAAQ,QAAQ;AAKrD,SAASC,0BAA0BC,KAAY,EAAEC,WAA8B;IAC7E,OAAO;QACLC,SAAS,GAAGD,YAAYE,SAAS,CAACD,OAAO,CAACE,OAAO,CAAC,EAAE,CAAC;QACrD,8BAA8B;QAC9BC,QAAQ;QACRC,WAAW;QACX,0CAA0C;QAC1C,oBAAoB;YAClBC,WAAW;QACb;QACA,qBAAqB;QACrB,QAAQ;YACNC,UAAU;QACZ;QACA,oBAAoB;QACpB,UAAU;YAAEA,UAAU;QAAS;QAC/B,oBAAoB;YAClBN,SAAS;YACTO,iBAAiBT,MAAMU,OAAO,CAACC,IAAI,CAAC,IAAI;YACxCC,cAAc;QAChB;QACA,SAAS;YACPV,SAAS;YACTO,iBAAiBT,MAAMU,OAAO,CAACC,IAAI,CAAC,IAAI;YACxCC,cAAc;QAChB;QACA,qBAAqB;QACrB,uBAAuB;YACrBV,SAAS;YACTW,QAAQ,CAAC,UAAU,EAAEb,MAAMU,OAAO,CAACC,IAAI,CAAC,IAAI,EAAE;YAC9CG,gBAAgB;QAClB;QACA,kBAAkB;QAClB,aAAa;YACXP,WAAW;QACb;QACA,iBAAiB;QACjB,OAAO;YACLQ,OAAOf,MAAMU,OAAO,CAACM,OAAO,CAACC,IAAI;QACnC;IACF;AACF;AAEA,2BAA2B;AAC3B,0DAA0D;AAC1D,SAASC,eAAeC,IAAY;IAClC,OAAOvB,OAAOwB,KAAK,CAACD,MAAM;QAAEE,KAAK;QAAMC,OAAO;IAAM;AACtD;AAEA,0DAA0D;AAC1D,SAASC,aAAaC,IAAY;IAChC,OAAO7B,UAAU8B,QAAQ,CAACD;AAC5B;AAEA,OAAO,SAASE,cAAcC,KAAyB;IACrD,MAAM,EACJC,MAAM,EAAET,IAAI,EAAE,EACf,GAAGQ;IACJ,MAAM1B,cAAcR;IAEpB,MAAMoC,+BAA+BnC,4BAA4ByB;IAEjE,MAAMK,OAAO1B,QAAQ,IAAMoB,eAAeW,gCAAgC,KAAK;QAACA;KAA6B;IAC7G,MAAMC,gBAAgBhC,QAAQ,IAAMyB,aAAaC,OAAO;QAACA;KAAK;IAE9D,qBACE,KAAChC;QACCuC,IAAI,CAAC/B,QAAUD,0BAA0BC,OAAOC;QAChD+B,yBAAyB;YAAEC,QAAQH;QAAc;;AAGvD"}
1
+ {"version":3,"sources":["../../src/MarkdownPanel.tsx"],"sourcesContent":["// Copyright 2023 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { Box, Theme } from '@mui/material';\nimport { PersesChartsTheme, useChartsTheme } from '@perses-dev/components';\nimport { PanelProps, useReplaceVariablesInString } from '@perses-dev/plugin-system';\nimport DOMPurify from 'dompurify';\nimport { marked } from 'marked';\nimport React, { ReactElement, useMemo } from 'react';\nimport { MarkdownPanelOptions } from './markdown-panel-model';\n\nexport type MarkdownPanelProps = PanelProps<MarkdownPanelOptions>;\n\nfunction createMarkdownPanelStyles(theme: Theme, chartsTheme: PersesChartsTheme): Record<string, unknown> {\n return {\n padding: `${chartsTheme.container.padding.default}px`,\n // Make the content scrollable\n height: '100%',\n overflowY: 'auto',\n // Ignore top margin on the first element.\n '& :first-of-type': {\n marginTop: 0,\n },\n // Styles for headers\n '& h1': {\n fontSize: '2em',\n },\n // Styles for <code>\n '& code': { fontSize: '0.85em' },\n '& :not(pre) code': {\n padding: '0.2em 0.4em',\n backgroundColor: theme.palette.grey[100],\n borderRadius: '4px',\n },\n '& pre': {\n padding: '1.2em',\n backgroundColor: theme.palette.grey[100],\n borderRadius: '4px',\n },\n // Styles for <table>\n '& table, & th, & td': {\n padding: '0.6em',\n border: `1px solid ${theme.palette.grey[300]}`,\n borderCollapse: 'collapse',\n },\n // Styles for <li>\n '& li + li': {\n marginTop: '0.25em',\n },\n // Styles for <a>\n '& a': {\n color: theme.palette.primary.main,\n },\n };\n}\n\n// Convert markdown to HTML\n// Supports original markdown and GitHub Flavored markdown\nfunction markdownToHTML(text: string): string {\n return marked.parse(text, { gfm: true, async: false });\n}\n\n// Prevent XSS attacks by removing the vectors for attacks\nfunction sanitizeHTML(html: string): string {\n return DOMPurify.sanitize(html);\n}\n\nexport function MarkdownPanel(props: MarkdownPanelProps): ReactElement {\n const {\n spec: { text },\n } = props;\n const chartsTheme = useChartsTheme();\n\n const textAfterVariableReplacement = useReplaceVariablesInString(text);\n\n const html = useMemo(() => markdownToHTML(textAfterVariableReplacement ?? ''), [textAfterVariableReplacement]);\n const sanitizedHTML = useMemo(() => sanitizeHTML(html), [html]);\n\n return (\n <Box\n sx={(theme) => createMarkdownPanelStyles(theme, chartsTheme)}\n dangerouslySetInnerHTML={{ __html: sanitizedHTML }}\n />\n );\n}\n"],"names":["Box","useChartsTheme","useReplaceVariablesInString","DOMPurify","marked","React","useMemo","createMarkdownPanelStyles","theme","chartsTheme","padding","container","default","height","overflowY","marginTop","fontSize","backgroundColor","palette","grey","borderRadius","border","borderCollapse","color","primary","main","markdownToHTML","text","parse","gfm","async","sanitizeHTML","html","sanitize","MarkdownPanel","props","spec","textAfterVariableReplacement","sanitizedHTML","sx","dangerouslySetInnerHTML","__html"],"mappings":";AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,SAASA,GAAG,QAAe,gBAAgB;AAC3C,SAA4BC,cAAc,QAAQ,yBAAyB;AAC3E,SAAqBC,2BAA2B,QAAQ,4BAA4B;AACpF,OAAOC,eAAe,YAAY;AAClC,SAASC,MAAM,QAAQ,SAAS;AAChC,OAAOC,SAAuBC,OAAO,QAAQ,QAAQ;AAKrD,SAASC,0BAA0BC,KAAY,EAAEC,WAA8B;IAC7E,OAAO;QACLC,SAAS,GAAGD,YAAYE,SAAS,CAACD,OAAO,CAACE,OAAO,CAAC,EAAE,CAAC;QACrD,8BAA8B;QAC9BC,QAAQ;QACRC,WAAW;QACX,0CAA0C;QAC1C,oBAAoB;YAClBC,WAAW;QACb;QACA,qBAAqB;QACrB,QAAQ;YACNC,UAAU;QACZ;QACA,oBAAoB;QACpB,UAAU;YAAEA,UAAU;QAAS;QAC/B,oBAAoB;YAClBN,SAAS;YACTO,iBAAiBT,MAAMU,OAAO,CAACC,IAAI,CAAC,IAAI;YACxCC,cAAc;QAChB;QACA,SAAS;YACPV,SAAS;YACTO,iBAAiBT,MAAMU,OAAO,CAACC,IAAI,CAAC,IAAI;YACxCC,cAAc;QAChB;QACA,qBAAqB;QACrB,uBAAuB;YACrBV,SAAS;YACTW,QAAQ,CAAC,UAAU,EAAEb,MAAMU,OAAO,CAACC,IAAI,CAAC,IAAI,EAAE;YAC9CG,gBAAgB;QAClB;QACA,kBAAkB;QAClB,aAAa;YACXP,WAAW;QACb;QACA,iBAAiB;QACjB,OAAO;YACLQ,OAAOf,MAAMU,OAAO,CAACM,OAAO,CAACC,IAAI;QACnC;IACF;AACF;AAEA,2BAA2B;AAC3B,0DAA0D;AAC1D,SAASC,eAAeC,IAAY;IAClC,OAAOvB,OAAOwB,KAAK,CAACD,MAAM;QAAEE,KAAK;QAAMC,OAAO;IAAM;AACtD;AAEA,0DAA0D;AAC1D,SAASC,aAAaC,IAAY;IAChC,OAAO7B,UAAU8B,QAAQ,CAACD;AAC5B;AAEA,OAAO,SAASE,cAAcC,KAAyB;IACrD,MAAM,EACJC,MAAM,EAAET,IAAI,EAAE,EACf,GAAGQ;IACJ,MAAM1B,cAAcR;IAEpB,MAAMoC,+BAA+BnC,4BAA4ByB;IAEjE,MAAMK,OAAO1B,QAAQ,IAAMoB,eAAeW,gCAAgC,KAAK;QAACA;KAA6B;IAC7G,MAAMC,gBAAgBhC,QAAQ,IAAMyB,aAAaC,OAAO;QAACA;KAAK;IAE9D,qBACE,KAAChC;QACCuC,IAAI,CAAC/B,QAAUD,0BAA0BC,OAAOC;QAChD+B,yBAAyB;YAAEC,QAAQH;QAAc;;AAGvD"}
package/lib/bootstrap.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
1
2
  // Copyright 2024 The Perses Authors
2
3
  // Licensed under the Apache License, Version 2.0 (the "License");
3
4
  // you may not use this file except in compliance with the License.
@@ -10,7 +11,6 @@
10
11
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
12
  // See the License for the specific language governing permissions and
12
13
  // limitations under the License.
13
- import { jsx as _jsx } from "react/jsx-runtime";
14
14
  import React from 'react';
15
15
  import ReactDOM from 'react-dom/client';
16
16
  const root = ReactDOM.createRoot(document.getElementById('root'));
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/bootstrap.tsx"],"sourcesContent":["// Copyright 2024 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport React from 'react';\nimport ReactDOM from 'react-dom/client';\n\nconst root = ReactDOM.createRoot(document.getElementById('root')!);\nroot.render(<React.StrictMode></React.StrictMode>);\n"],"names":["React","ReactDOM","root","createRoot","document","getElementById","render","StrictMode"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,OAAOA,WAAW,QAAQ;AAC1B,OAAOC,cAAc,mBAAmB;AAExC,MAAMC,OAAOD,SAASE,UAAU,CAACC,SAASC,cAAc,CAAC;AACzDH,KAAKI,MAAM,eAAC,KAACN,MAAMO,UAAU"}
1
+ {"version":3,"sources":["../../src/bootstrap.tsx"],"sourcesContent":["// Copyright 2024 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport React from 'react';\nimport ReactDOM from 'react-dom/client';\n\nconst root = ReactDOM.createRoot(document.getElementById('root')!);\nroot.render(<React.StrictMode></React.StrictMode>);\n"],"names":["React","ReactDOM","root","createRoot","document","getElementById","render","StrictMode"],"mappings":";AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,OAAOA,WAAW,QAAQ;AAC1B,OAAOC,cAAc,mBAAmB;AAExC,MAAMC,OAAOD,SAASE,UAAU,CAACC,SAASC,cAAc,CAAC;AACzDH,KAAKI,MAAM,eAAC,KAACN,MAAMO,UAAU"}