@hawtio/ai-plugin 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/index.css +85 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +16457 -0
- package/dist/index.js.map +1 -0
- package/package.json +13 -8
- package/build/remoteEntry.js +0 -1
- package/build/static/js/1107.3ddb1c2d.chunk.js +0 -1
- package/build/static/js/1118.cc586ed0.chunk.js +0 -2
- package/build/static/js/1118.cc586ed0.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/1122.22f683c0.chunk.js +0 -2
- package/build/static/js/1122.22f683c0.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/1196.36b61548.chunk.js +0 -1
- package/build/static/js/1282.13293291.chunk.js +0 -2
- package/build/static/js/1282.13293291.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/1399.62776aed.chunk.js +0 -1
- package/build/static/js/1420.cdad4edc.chunk.js +0 -2
- package/build/static/js/1420.cdad4edc.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/1438.998bfeaa.chunk.js +0 -2
- package/build/static/js/1438.998bfeaa.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/1446.078792a0.chunk.js +0 -2
- package/build/static/js/1446.078792a0.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/1474.d2802542.chunk.js +0 -1
- package/build/static/js/1560.dd1d891c.chunk.js +0 -2
- package/build/static/js/1560.dd1d891c.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/1601.8d77a531.chunk.js +0 -1
- package/build/static/js/1657.1022ae9a.chunk.js +0 -1
- package/build/static/js/1691.e36cd2a4.chunk.js +0 -1
- package/build/static/js/1710.7459cdc6.chunk.js +0 -2
- package/build/static/js/1710.7459cdc6.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/1740.7846bdc0.chunk.js +0 -2
- package/build/static/js/1740.7846bdc0.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/1764.ed1eb715.chunk.js +0 -1
- package/build/static/js/1819.f3578ba7.chunk.js +0 -1
- package/build/static/js/1888.1bf114de.chunk.js +0 -2
- package/build/static/js/1888.1bf114de.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/1914.2fedcabe.chunk.js +0 -2
- package/build/static/js/1914.2fedcabe.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/198.e412f14d.chunk.js +0 -2
- package/build/static/js/198.e412f14d.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/2018.11cc71b6.chunk.js +0 -2
- package/build/static/js/2018.11cc71b6.chunk.js.LICENSE.txt +0 -8
- package/build/static/js/205.c7a39524.chunk.js +0 -2
- package/build/static/js/205.c7a39524.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/2052.55dab559.chunk.js +0 -1
- package/build/static/js/2077.1abeea86.chunk.js +0 -2
- package/build/static/js/2077.1abeea86.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/2094.1a90435d.chunk.js +0 -2
- package/build/static/js/2094.1a90435d.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/2126.fa7086de.chunk.js +0 -1
- package/build/static/js/2244.907ff9ca.chunk.js +0 -2
- package/build/static/js/2244.907ff9ca.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/2278.983ac17a.chunk.js +0 -2
- package/build/static/js/2278.983ac17a.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/2355.1cb3702b.chunk.js +0 -2
- package/build/static/js/2355.1cb3702b.chunk.js.LICENSE.txt +0 -11
- package/build/static/js/2398.f417f4a2.chunk.js +0 -2
- package/build/static/js/2398.f417f4a2.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/2586.f6222422.chunk.js +0 -2
- package/build/static/js/2586.f6222422.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/2648.5843f909.chunk.js +0 -2
- package/build/static/js/2648.5843f909.chunk.js.LICENSE.txt +0 -32
- package/build/static/js/2658.add23c16.chunk.js +0 -2
- package/build/static/js/2658.add23c16.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/2686.850a32f4.chunk.js +0 -2
- package/build/static/js/2686.850a32f4.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/2692.fe14cdb3.chunk.js +0 -2
- package/build/static/js/2692.fe14cdb3.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/2745.5a754c4c.chunk.js +0 -2
- package/build/static/js/2745.5a754c4c.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/2815.2f5b8610.chunk.js +0 -2
- package/build/static/js/2815.2f5b8610.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/2962.63da9472.chunk.js +0 -2
- package/build/static/js/2962.63da9472.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/3042.27bed794.chunk.js +0 -2
- package/build/static/js/3042.27bed794.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/3062.9b619c25.chunk.js +0 -2
- package/build/static/js/3062.9b619c25.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/3096.77d3d184.chunk.js +0 -2
- package/build/static/js/3096.77d3d184.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/3182.80e1e1c4.chunk.js +0 -2
- package/build/static/js/3182.80e1e1c4.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/3622.1381979b.chunk.js +0 -2
- package/build/static/js/3622.1381979b.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/3726.d4f752df.chunk.js +0 -2
- package/build/static/js/3726.d4f752df.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/3774.ae96f799.chunk.js +0 -1
- package/build/static/js/3780.62776aed.chunk.js +0 -1
- package/build/static/js/3913.73506d6d.chunk.js +0 -1
- package/build/static/js/3938.763f8f34.chunk.js +0 -1
- package/build/static/js/398.09ec70bb.chunk.js +0 -2
- package/build/static/js/398.09ec70bb.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/4027.95c5d665.chunk.js +0 -2
- package/build/static/js/4027.95c5d665.chunk.js.LICENSE.txt +0 -20
- package/build/static/js/4114.4bdaacc3.chunk.js +0 -2
- package/build/static/js/4114.4bdaacc3.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/4120.14cddb2c.chunk.js +0 -2
- package/build/static/js/4120.14cddb2c.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/4334.fd251383.chunk.js +0 -2
- package/build/static/js/4334.fd251383.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/434.6e69569b.chunk.js +0 -2
- package/build/static/js/434.6e69569b.chunk.js.LICENSE.txt +0 -1
- package/build/static/js/4630.3f202237.chunk.js +0 -2
- package/build/static/js/4630.3f202237.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/4680.a4ec5aaa.chunk.js +0 -2
- package/build/static/js/4680.a4ec5aaa.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/4698.1bb4f8d7.chunk.js +0 -2
- package/build/static/js/4698.1bb4f8d7.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/4839.30e37894.chunk.js +0 -2
- package/build/static/js/4839.30e37894.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/494.831600ac.chunk.js +0 -2
- package/build/static/js/494.831600ac.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/4958.d1f8353d.chunk.js +0 -2
- package/build/static/js/4958.d1f8353d.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/4962.e43e6f4e.chunk.js +0 -2
- package/build/static/js/4962.e43e6f4e.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/5130.6b8ee76b.chunk.js +0 -2
- package/build/static/js/5130.6b8ee76b.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/5364.f3157b50.chunk.js +0 -2
- package/build/static/js/5364.f3157b50.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/5550.3a32ea3c.chunk.js +0 -2
- package/build/static/js/5550.3a32ea3c.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/558.448709e5.chunk.js +0 -2
- package/build/static/js/558.448709e5.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/5618.ea5c3f41.chunk.js +0 -2
- package/build/static/js/5618.ea5c3f41.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/5628.562b716d.chunk.js +0 -1
- package/build/static/js/5786.acee2584.chunk.js +0 -2
- package/build/static/js/5786.acee2584.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/5966.2cb0d97e.chunk.js +0 -2
- package/build/static/js/5966.2cb0d97e.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/6018.1034f99f.chunk.js +0 -2
- package/build/static/js/6018.1034f99f.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/6134.c56a6141.chunk.js +0 -2
- package/build/static/js/6134.c56a6141.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/6185.01f6e181.chunk.js +0 -2
- package/build/static/js/6185.01f6e181.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/6264.995bd452.chunk.js +0 -1
- package/build/static/js/6302.b7b9cf31.chunk.js +0 -2
- package/build/static/js/6302.b7b9cf31.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/6343.00b0271d.chunk.js +0 -2
- package/build/static/js/6343.00b0271d.chunk.js.LICENSE.txt +0 -5
- package/build/static/js/6414.bfe34fac.chunk.js +0 -2
- package/build/static/js/6414.bfe34fac.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/6446.e6db7785.chunk.js +0 -2
- package/build/static/js/6446.e6db7785.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/6540.0651c08e.chunk.js +0 -2
- package/build/static/js/6540.0651c08e.chunk.js.LICENSE.txt +0 -9
- package/build/static/js/6590.7eaaa156.chunk.js +0 -2
- package/build/static/js/6590.7eaaa156.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/6830.51680ad4.chunk.js +0 -2
- package/build/static/js/6830.51680ad4.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/6940.3a036032.chunk.js +0 -2
- package/build/static/js/6940.3a036032.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/6990.a6bd4bf9.chunk.js +0 -2
- package/build/static/js/6990.a6bd4bf9.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/7048.0e787cc6.chunk.js +0 -2
- package/build/static/js/7048.0e787cc6.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/7103.8782bdea.chunk.js +0 -1
- package/build/static/js/7200.497ad729.chunk.js +0 -2
- package/build/static/js/7200.497ad729.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/7246.4174a151.chunk.js +0 -2
- package/build/static/js/7246.4174a151.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/7282.91c7a4e1.chunk.js +0 -1
- package/build/static/js/7359.d0f02461.chunk.js +0 -1
- package/build/static/js/7466.78789e01.chunk.js +0 -2
- package/build/static/js/7466.78789e01.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/7502.245ac470.chunk.js +0 -1
- package/build/static/js/7614.6a58b86d.chunk.js +0 -1
- package/build/static/js/7836.3f36ca48.chunk.js +0 -2
- package/build/static/js/7836.3f36ca48.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/7886.9a581df6.chunk.js +0 -2
- package/build/static/js/7886.9a581df6.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/7901.492e04fd.chunk.js +0 -1
- package/build/static/js/7955.961129d7.chunk.js +0 -2
- package/build/static/js/7955.961129d7.chunk.js.LICENSE.txt +0 -16
- package/build/static/js/8001.b8362437.chunk.js +0 -1
- package/build/static/js/8230.8412810c.chunk.js +0 -2
- package/build/static/js/8230.8412810c.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/8332.214ec5a3.chunk.js +0 -2
- package/build/static/js/8332.214ec5a3.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/8334.1c22f729.chunk.js +0 -2
- package/build/static/js/8334.1c22f729.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/8390.e38e84bb.chunk.js +0 -2
- package/build/static/js/8390.e38e84bb.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/8419.d4bedc1d.chunk.js +0 -2
- package/build/static/js/8419.d4bedc1d.chunk.js.LICENSE.txt +0 -9
- package/build/static/js/8494.f1def255.chunk.js +0 -2
- package/build/static/js/8494.f1def255.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/8508.94511b9b.chunk.js +0 -1
- package/build/static/js/853.25a6ae32.chunk.js +0 -2
- package/build/static/js/853.25a6ae32.chunk.js.LICENSE.txt +0 -4
- package/build/static/js/8542.ff0a75e0.chunk.js +0 -2
- package/build/static/js/8542.ff0a75e0.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/8566.0ca46abb.chunk.js +0 -2
- package/build/static/js/8566.0ca46abb.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/8643.4e287da3.chunk.js +0 -1
- package/build/static/js/8807.3e096883.chunk.js +0 -1
- package/build/static/js/8826.d1a03e1d.chunk.js +0 -1
- package/build/static/js/8902.01d14b56.chunk.js +0 -2
- package/build/static/js/8902.01d14b56.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/8976.6765092d.chunk.js +0 -1
- package/build/static/js/8990.6e5b2faf.chunk.js +0 -2
- package/build/static/js/8990.6e5b2faf.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/9034.4d9f7a42.chunk.js +0 -2
- package/build/static/js/9034.4d9f7a42.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/9038.1bd2fbfd.chunk.js +0 -2
- package/build/static/js/9038.1bd2fbfd.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/910.71f7efbf.chunk.js +0 -2
- package/build/static/js/910.71f7efbf.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/9150.370d7055.chunk.js +0 -2
- package/build/static/js/9150.370d7055.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/9355.313cb110.chunk.js +0 -1
- package/build/static/js/9390.49904317.chunk.js +0 -2
- package/build/static/js/9390.49904317.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/946.ef602f12.chunk.js +0 -2
- package/build/static/js/946.ef602f12.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/9510.be29e01f.chunk.js +0 -2
- package/build/static/js/9510.be29e01f.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/961.94ad6975.chunk.js +0 -2
- package/build/static/js/961.94ad6975.chunk.js.LICENSE.txt +0 -19
- package/build/static/js/968.1fce69dd.chunk.js +0 -2
- package/build/static/js/968.1fce69dd.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/970.097e9bdb.chunk.js +0 -2
- package/build/static/js/970.097e9bdb.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/9838.f55a5e51.chunk.js +0 -2
- package/build/static/js/9838.f55a5e51.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/main.beb03f56.js +0 -1
- package/build/static/media/RedHatDisplayVF-Italic.813182e673c38ef5ee4b.woff2 +0 -0
- package/build/static/media/RedHatDisplayVF.18ca482120faaa701d8b.woff2 +0 -0
- package/build/static/media/RedHatMonoVF-Italic.6e3027616d8de472723c.woff2 +0 -0
- package/build/static/media/RedHatMonoVF.e4faf134e53e0f37296b.woff2 +0 -0
- package/build/static/media/RedHatTextVF-Italic.078865af129336cde269.woff2 +0 -0
- package/build/static/media/RedHatTextVF.c33624692c8b41e36780.woff2 +0 -0
- package/build/static/media/codicon.f6283f7ccaed1249d9eb.ttf +0 -0
- package/build/static/media/pf-v6-pficon.463d4ddeac4dae277fc4.woff2 +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 2398.f417f4a2.chunk.js.LICENSE.txt */
|
|
2
|
-
"use strict";(globalThis.webpackChunk_hawtio_ai_plugin=globalThis.webpackChunk_hawtio_ai_plugin||[]).push([[2398],{62398(e,n,i){i.r(n),i.d(n,{conf:()=>t,language:()=>r});var t={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["begin","end"],["case","endcase"],["casex","endcase"],["casez","endcase"],["checker","endchecker"],["class","endclass"],["clocking","endclocking"],["config","endconfig"],["function","endfunction"],["generate","endgenerate"],["group","endgroup"],["interface","endinterface"],["module","endmodule"],["package","endpackage"],["primitive","endprimitive"],["program","endprogram"],["property","endproperty"],["specify","endspecify"],["sequence","endsequence"],["table","endtable"],["task","endtask"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!1,markers:{start:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"),end:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b")}}},r={defaultToken:"",tokenPostfix:".sv",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","null","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],builtin_gates:["and","nand","nor","or","xor","xnor","buf","not","bufif0","bufif1","notif1","notif0","cmos","nmos","pmos","rcmos","rnmos","rpmos","tran","tranif1","tranif0","rtran","rtranif1","rtranif0"],operators:["=","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>+","<<<=",">>>=","?",":","+","-","!","~","&","~&","|","~|","^","~^","^~","+","-","*","/","%","==","!=","===","!==","==?","!=?","&&","||","**","<","<=",">",">=","&","|","^",">>","<<",">>>","<<<","++","--","->","<->","inside","dist","::","+:","-:","*>","&&&","|->","|=>","#=#"],symbols:/[=><!~?:&|+\-*\/\^%#]+/,escapes:/%%|\\(?:[antvf\\"']|x[0-9A-Fa-f]{1,2}|[0-7]{1,3})/,identifier:/(?:[a-zA-Z_][a-zA-Z0-9_$\.]*|\\\S+ )/,systemcall:/[$][a-zA-Z0-9_]+/,timeunits:/s|ms|us|ns|ps|fs/,tokenizer:{root:[[/^(\s*)(@identifier)/,["",{cases:{"@builtin_gates":{token:"keyword.$2",next:"@module_instance"},table:{token:"keyword.$2",next:"@table"},"@keywords":{token:"keyword.$2"},"@default":{token:"identifier",next:"@module_instance"}}}]],[/^\s*`include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*`\s*\w+/,"keyword"],{include:"@identifier_or_keyword"},{include:"@whitespace"},[/\(\*.*\*\)/,"annotation"],[/@systemcall/,"variable.predefined"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],{include:"@numbers"},[/[;,.]/,"delimiter"],{include:"@strings"}],identifier_or_keyword:[[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}]],numbers:[[/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/,"number.float"],[/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/,"number.float"],[/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/,"number"],[/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/,"number.binary"],[/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/,"number.octal"],[/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/,"number.hex"],[/1step/,"number"],[/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/,"number"],[/'[01xXzZ]+/,"number"]],module_instance:[{include:"@whitespace"},[/(#?)(\()/,["",{token:"@brackets",next:"@port_connection"}]],[/@identifier\s*[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@symbols|[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@identifier/,"type"],[/;/,"delimiter","@pop"]],port_connection:[{include:"@identifier_or_keyword"},{include:"@whitespace"},[/@systemcall/,"variable.predefined"],{include:"@numbers"},{include:"@strings"},[/[,]/,"delimiter"],[/\(/,"@brackets","@port_connection"],[/\)/,"@brackets","@pop"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],include:[[/(\s*)(")([\w*\/*]*)(.\w*)(")/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]],[/(\s*)(<)([\w*\/*]*)(.\w*)(>)/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]]],table:[{include:"@whitespace"},[/[()]/,"@brackets"],[/[:;]/,"delimiter"],[/[01\-*?xXbBrRfFpPnN]/,"variable.predefined"],["endtable","keyword.endtable","@pop"]]}}}}]);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 2586.f6222422.chunk.js.LICENSE.txt */
|
|
2
|
-
"use strict";(globalThis.webpackChunk_hawtio_ai_plugin=globalThis.webpackChunk_hawtio_ai_plugin||[]).push([[2586],{22586(t,e,i){i.r(e),i.d(e,{conf:()=>r,language:()=>m});var r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{#","#}"]},brackets:[["{#","#}"],["{%","%}"],["{{","}}"],["(",")"],["[","]"],["\x3c!--","--\x3e"],["<",">"]],autoClosingPairs:[{open:"{# ",close:" #}"},{open:"{% ",close:" %}"},{open:"{{ ",close:" }}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},m={defaultToken:"",tokenPostfix:"",ignoreCase:!0,keywords:["apply","autoescape","block","deprecated","do","embed","extends","flush","for","from","if","import","include","macro","sandbox","set","use","verbatim","with","endapply","endautoescape","endblock","endembed","endfor","endif","endmacro","endsandbox","endset","endwith","true","false"],tokenizer:{root:[[/\s+/],[/{#/,"comment.twig","@commentState"],[/{%[-~]?/,"delimiter.twig","@blockState"],[/{{[-~]?/,"delimiter.twig","@variableState"],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter.html","tag.html","","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<{]+/]],commentState:[[/#}/,"comment.twig","@pop"],[/./,"comment.twig"]],blockState:[[/[-~]?%}/,"delimiter.twig","@pop"],[/\s+/],[/(verbatim)(\s*)([-~]?%})/,["keyword.twig","",{token:"delimiter.twig",next:"@rawDataState"}]],{include:"expression"}],rawDataState:[[/({%[-~]?)(\s*)(endverbatim)(\s*)([-~]?%})/,["delimiter.twig","","keyword.twig","",{token:"delimiter.twig",next:"@popall"}]],[/./,"string.twig"]],variableState:[[/[-~]?}}/,"delimiter.twig","@pop"],{include:"expression"}],stringState:[[/"/,"string.twig","@pop"],[/#{\s*/,"string.twig","@interpolationState"],[/[^#"\\]*(?:(?:\\.|#(?!\{))[^#"\\]*)*/,"string.twig"]],interpolationState:[[/}/,"string.twig","@pop"],{include:"expression"}],expression:[[/\s+/],[/\+|-|\/{1,2}|%|\*{1,2}/,"operators.twig"],[/(and|or|not|b-and|b-xor|b-or)(\s+)/,["operators.twig",""]],[/==|!=|<|>|>=|<=/,"operators.twig"],[/(starts with|ends with|matches)(\s+)/,["operators.twig",""]],[/(in)(\s+)/,["operators.twig",""]],[/(is)(\s+)/,["operators.twig",""]],[/\||~|:|\.{1,2}|\?{1,2}/,"operators.twig"],[/[^\W\d][\w]*/,{cases:{"@keywords":"keyword.twig","@default":"variable.twig"}}],[/\d+(\.\d+)?/,"number.twig"],[/\(|\)|\[|\]|{|}|,/,"delimiter.twig"],[/"([^#"\\]*(?:\\.[^#"\\]*)*)"|\'([^\'\\]*(?:\\.[^\'\\]*)*)\'/,"string.twig"],[/"/,"string.twig","@stringState"],[/=>/,"operators.twig"],[/=/,"operators.twig"]],doctype:[[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name.html","@scriptAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter.html","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name.html","@styleAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter.html","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}}}]);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 2648.5843f909.chunk.js.LICENSE.txt */
|
|
2
|
-
"use strict";(globalThis.webpackChunk_hawtio_ai_plugin=globalThis.webpackChunk_hawtio_ai_plugin||[]).push([[2648],{92648(e,t,r){r.r(t),r.d(t,{AbortedDeferredError:()=>q,Await:()=>tr,BrowserRouter:()=>Or,Form:()=>Wr,HashRouter:()=>Fr,Link:()=>zr,MemoryRouter:()=>Yt,NavLink:()=>Hr,Navigate:()=>Xt,NavigationType:()=>n,Outlet:()=>Gt,Route:()=>Qt,Router:()=>Zt,RouterProvider:()=>Ur,Routes:()=>er,ScrollRestoration:()=>Kr,UNSAFE_DataRouterContext:()=>nt,UNSAFE_DataRouterStateContext:()=>at,UNSAFE_ErrorResponseImpl:()=>te,UNSAFE_FetchersContext:()=>Lr,UNSAFE_LocationContext:()=>lt,UNSAFE_NavigationContext:()=>it,UNSAFE_RouteContext:()=>st,UNSAFE_ViewTransitionContext:()=>Cr,UNSAFE_useRouteId:()=>Mt,UNSAFE_useScrollRestoration:()=>on,createBrowserRouter:()=>Sr,createHashRouter:()=>Rr,createMemoryRouter:()=>ur,createPath:()=>y,createRoutesFromChildren:()=>ir,createRoutesFromElements:()=>ir,createSearchParams:()=>mr,defer:()=>G,generatePath:()=>_,isRouteErrorResponse:()=>re,json:()=>J,matchPath:()=>U,matchRoutes:()=>R,parsePath:()=>g,redirect:()=>Q,redirectDocument:()=>Z,renderMatches:()=>lr,replace:()=>ee,resolvePath:()=>F,unstable_HistoryRouter:()=>Nr,unstable_usePrompt:()=>sn,useActionData:()=>It,useAsyncError:()=>Wt,useAsyncValue:()=>Ht,useBeforeUnload:()=>ln,useBlocker:()=>$t,useFetcher:()=>tn,useFetchers:()=>rn,useFormAction:()=>en,useHref:()=>ct,useInRouterContext:()=>dt,useLinkClickHandler:()=>Yr,useLoaderData:()=>Nt,useLocation:()=>ht,useMatch:()=>pt,useMatches:()=>Ft,useNavigate:()=>vt,useNavigation:()=>jt,useNavigationType:()=>ft,useOutlet:()=>bt,useOutletContext:()=>gt,useParams:()=>wt,useResolvedPath:()=>Et,useRevalidator:()=>Ot,useRouteError:()=>zt,useRouteLoaderData:()=>Bt,useRoutes:()=>St,useSearchParams:()=>Xr,useSubmit:()=>Zr,useViewTransitionState:()=>un});var n,a=r(50318),o=r.t(a,2),i=r(80676),l=r.t(i,2);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},s.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(n||(n={}));const u="popstate";function c(e){void 0===e&&(e={});let t,{initialEntries:r=["/"],initialIndex:a,v5Compat:o=!1}=e;t=r.map((e,t)=>d(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(){return t[i]}function d(e,r,n){void 0===r&&(r=null);let a=v(t?c().pathname:"/",e,r,n);return p("/"===a.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),a}function h(e){return"string"==typeof e?e:y(e)}return{get index(){return i},get action(){return l},get location(){return c()},createHref:h,createURL:e=>new URL(h(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?g(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,r){l=n.Push;let a=d(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=d(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 d(e){return void 0===e&&(e={}),b(function(e,t){let{pathname:r,search:n,hash:a}=e.location;return v("",{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:y(t)},null,e)}function h(e){return void 0===e&&(e={}),b(function(e,t){let{pathname:r="/",search:n="",hash:a=""}=g(e.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),v("",{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:y(t))},function(e,t){p("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")},e)}function f(e,t){if(!1===e||null==e)throw new Error(t)}function p(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function m(e,t){return{usr:e.state,key:e.key,idx:t}}function v(e,t,r,n){return void 0===r&&(r=null),s({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?g(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function y(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 g(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 b(e,t,r,a){void 0===a&&(a={});let{window:o=document.defaultView,v5Compat:i=!1}=a,l=o.history,c=n.Pop,d=null,h=p();function p(){return(l.state||{idx:null}).idx}function g(){c=n.Pop;let e=p(),t=null==e?null:e-h;h=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:y(e);return r=r.replace(/ $/,"%20"),f(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==h&&(h=0,l.replaceState(s({},l.state,{idx:h}),""));let w={get action(){return c},get location(){return e(o,l)},listen(e){if(d)throw new Error("A history only accepts one active listener");return o.addEventListener(u,g),d=e,()=>{o.removeEventListener(u,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=v(w.location,e,t);r&&r(a,e),h=p()+1;let s=m(a,h),u=w.createHref(a);try{l.pushState(s,"",u)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(u)}i&&d&&d({action:c,location:w.location,delta:1})},replace:function(e,t){c=n.Replace;let a=v(w.location,e,t);r&&r(a,e),h=p();let o=m(a,h),s=w.createHref(a);l.replaceState(o,"",s),i&&d&&d({action:c,location:w.location,delta:0})},go:e=>l.go(e)};return w}var w;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(w||(w={}));const E=new Set(["lazy","caseSensitive","path","id","index","children"]);function S(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(f(!0!==e.index||!e.children,"Cannot specify children on an index route"),f(!n[i],'Found a route id collision on id "'+i+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let r=s({},e,t(e),{id:i});return n[i]=r,r}{let r=s({},e,t(e),{id:i,children:void 0});return n[i]=r,e.children&&(r.children=S(e.children,t,o,n)),r}})}function R(e,t,r){return void 0===r&&(r="/"),x(e,t,r,!1)}function x(e,t,r,n){let a=j(("string"==typeof t?g(t):t).pathname||"/",r);if(null==a)return null;let o=C(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every((e,r)=>e===t[r])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(o);let i=null;for(let e=0;null==i&&e<o.length;++e){let t=M(a);i=A(o[e],t,n)}return i}function D(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}}function C(e,t,r,n){void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===n&&(n="");let a=(e,a,o)=>{let i={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};i.relativePath.startsWith("/")&&(f(i.relativePath.startsWith(n),'Absolute route path "'+i.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),i.relativePath=i.relativePath.slice(n.length));let l=W([n,i.relativePath]),s=r.concat(i);e.children&&e.children.length>0&&(f(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),C(e.children,t,s,l)),(null!=e.path||e.index)&&t.push({path:l,score:T(l,e.index),routesMeta:s})};return e.forEach((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of L(e.path))a(e,t,r);else a(e,t)}),t}function L(e){let t=e.split("/");if(0===t.length)return[];let[r,...n]=t,a=r.endsWith("?"),o=r.replace(/\?$/,"");if(0===n.length)return a?[o,""]:[o];let i=L(n.join("/")),l=[];return l.push(...i.map(e=>""===e?o:[o,e].join("/"))),a&&l.push(...i),l.map(t=>e.startsWith("/")&&""===t?"/":t)}const P=/^:[\w-]+$/,k=e=>"*"===e;function T(e,t){let r=e.split("/"),n=r.length;return r.some(k)&&(n+=-2),t&&(n+=2),r.filter(e=>!k(e)).reduce((e,t)=>e+(P.test(t)?3:""===t?1:10),n)}function A(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=U({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},u),d=l.route;if(!c&&s&&r&&!n[n.length-1].route.index&&(c=U({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!c)return null;Object.assign(a,c.params),i.push({params:a,pathname:W([o,c.pathname]),pathnameBase:K(W([o,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(o=W([o,c.pathnameBase]))}return i}function _(e,t){void 0===t&&(t={});let r=e;r.endsWith("*")&&"*"!==r&&!r.endsWith("/*")&&(p(!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(/\*$/,"/*"));const 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["*"]);const o=e.match(/^:([\w-]+)(\??)$/);if(o){const[,e,r]=o;let n=t[e];return f("?"===r||null!=n,'Missing ":'+e+'" param'),a(n)}return e.replace(/\?$/g,"")}).filter(e=>!!e).join("/")}function U(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),p("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let n=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,r)=>(n.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let o=a[0],i=o.replace(/(.)\/+$/,"$1"),l=a.slice(1);return{params:n.reduce((e,t,r)=>{let{paramName:n,isOptional:a}=t;if("*"===n){let e=l[r]||"";i=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const s=l[r];return e[n]=a&&!s?void 0:(s||"").replace(/%2F/g,"/"),e},{}),pathname:o,pathnameBase:i,pattern:e}}function M(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return p(!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 j(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)||"/"}const O=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function F(e,t){void 0===t&&(t="/");let r,{pathname:n,search:a="",hash:o=""}="string"==typeof e?g(e):e;if(n)if(i=n,O.test(i))r=n;else{if(n.includes("//")){let e=n;n=n.replace(/\/\/+/g,"/"),p(!1,"Pathnames cannot have embedded double slashes - normalizing "+e+" -> "+n)}r=n.startsWith("/")?N(n.substring(1),"/"):N(n,t)}else r=t;var i;return{pathname:r,search:$(a),hash:V(o)}}function N(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)}),r.length>1?r.join("/"):"/"}function B(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 I(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function z(e,t){let r=I(e);return t?r.map((e,t)=>t===r.length-1?e.pathname:e.pathnameBase):r.map(e=>e.pathnameBase)}function H(e,t,r,n){let a;void 0===n&&(n=!1),"string"==typeof e?a=g(e):(a=s({},e),f(!a.pathname||!a.pathname.includes("?"),B("?","pathname","search",a)),f(!a.pathname||!a.pathname.includes("#"),B("#","pathname","hash",a)),f(!a.search||!a.search.includes("#"),B("#","search","hash",a)));let o,i=""===e||""===a.pathname,l=i?"/":a.pathname;if(null==l)o=r;else{let e=t.length-1;if(!n&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let u=F(a,o),c=l&&"/"!==l&&l.endsWith("/"),d=(i||"."===l)&&r.endsWith("/");return u.pathname.endsWith("/")||!c&&!d||(u.pathname+="/"),u}const W=e=>e.join("/").replace(/\/\/+/g,"/"),K=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),$=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",V=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",J=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),s({},r,{headers:n}))};class q extends Error{}class Y{constructor(e,t){let r;this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],f(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 q("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 q)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=new 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 f(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]:X(n)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function X(e){if(!function(e){return e instanceof Promise&&!0===e._tracked}(e))return e;if(e._error)throw e._error;return e._data}const G=function(e,t){return void 0===t&&(t={}),new Y(e,"number"==typeof t?{status:t}:t)},Q=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,s({},r,{headers:n}))},Z=(e,t)=>{let r=Q(e,t);return r.headers.set("X-Remix-Reload-Document","true"),r},ee=(e,t)=>{let r=Q(e,t);return r.headers.set("X-Remix-Replace","true"),r};class te{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 re(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const ne=["post","put","patch","delete"],ae=new Set(ne),oe=["get",...ne],ie=new Set(oe),le=new Set([301,302,303,307,308]),se=new Set([307,308]),ue={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ce={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},de={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},he=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,fe=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),pe="remix-router-transitions";function me(e){const t=e.window?e.window:"undefined"!=typeof window?window:void 0,r=void 0!==t&&void 0!==t.document&&void 0!==t.document.createElement,a=!r;let o;if(f(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)o=e.mapRouteProperties;else if(e.detectErrorBoundary){let t=e.detectErrorBoundary;o=e=>({hasErrorBoundary:t(e)})}else o=fe;let i,l,u,c={},d=S(e.routes,o,void 0,c),h=e.basename||"/",m=e.dataStrategy||De,y=e.patchRoutesOnNavigation,g=s({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),b=null,C=new Set,L=null,P=null,k=null,T=null!=e.hydrationData,A=R(d,e.history.location,h),_=!1,U=null;if(null==A&&!y){let t=Fe(404,{pathname:e.history.location.pathname}),{matches:r,route:n}=Oe(d);A=r,U={[n.id]:t}}if(A&&!e.hydrationData&&ct(A,d,e.history.location.pathname).active&&(A=null),A)if(A.some(e=>e.route.lazy))l=!1;else if(A.some(e=>e.route.loader))if(g.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,r=e.hydrationData?e.hydrationData.errors:null;if(r){let e=A.findIndex(e=>void 0!==r[e.route.id]);l=A.slice(0,e+1).every(e=>!we(e.route,t,r))}else l=A.every(e=>!we(e.route,t,r))}else l=null!=e.hydrationData;else l=!0;else if(l=!1,A=[],g.v7_partialHydration){let t=ct(null,d,e.history.location.pathname);t.active&&t.matches&&(_=!0,A=t.matches)}let M,O,F={historyAction:e.history.action,location:e.history.location,matches:A,initialized:l,navigation:ue,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||U,fetchers:new Map,blockers:new Map},N=n.Pop,B=!1,I=!1,z=new Map,H=null,W=!1,K=!1,$=[],V=new Set,J=new Map,q=0,Y=-1,X=new Map,G=new Set,Q=new Map,Z=new Map,ee=new Set,te=new Map,ne=new Map;function ae(e,t){void 0===t&&(t={}),F=s({},F,e);let r=[],n=[];g.v7_fetcherPersist&&F.fetchers.forEach((e,t)=>{"idle"===e.state&&(ee.has(t)?n.push(t):r.push(t))}),ee.forEach(e=>{F.fetchers.has(e)||J.has(e)||n.push(e)}),[...C].forEach(e=>e(F,{deletedFetchers:n,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync})),g.v7_fetcherPersist?(r.forEach(e=>F.fetchers.delete(e)),n.forEach(e=>Be(e))):n.forEach(e=>ee.delete(e))}function oe(t,r,a){var o,l;let u,{flushSync:c}=void 0===a?{}:a,h=null!=F.actionData&&null!=F.navigation.formMethod&&Ve(F.navigation.formMethod)&&"loading"===F.navigation.state&&!0!==(null==(o=t.state)?void 0:o._isRedirect);u=r.actionData?Object.keys(r.actionData).length>0?r.actionData:null:h?F.actionData:null;let f=r.loaderData?Ue(F.loaderData,r.loaderData,r.matches||[],r.errors):F.loaderData,p=F.blockers;p.size>0&&(p=new Map(p),p.forEach((e,t)=>p.set(t,de)));let m,v=!0===B||null!=F.navigation.formMethod&&Ve(F.navigation.formMethod)&&!0!==(null==(l=t.state)?void 0:l._isRedirect);if(i&&(d=i,i=void 0),W||N===n.Pop||(N===n.Push?e.history.push(t,t.state):N===n.Replace&&e.history.replace(t,t.state)),N===n.Pop){let e=z.get(F.location.pathname);e&&e.has(t.pathname)?m={currentLocation:F.location,nextLocation:t}:z.has(t.pathname)&&(m={currentLocation:t,nextLocation:F.location})}else if(I){let e=z.get(F.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),z.set(F.location.pathname,e)),m={currentLocation:F.location,nextLocation:t}}ae(s({},r,{actionData:u,loaderData:f,historyAction:N,location:t,initialized:!0,navigation:ue,revalidation:"idle",restoreScrollPosition:ut(t,r.matches||F.matches),preventScrollReset:v,blockers:p}),{viewTransitionOpts:m,flushSync:!0===c}),N=n.Pop,B=!1,I=!1,W=!1,K=!1,$=[]}async function ie(t,r,a){M&&M.abort(),M=null,N=t,W=!0===(a&&a.startUninterruptedRevalidation),function(e,t){if(L&&k){let r=st(e,t);L[r]=k()}}(F.location,F.matches),B=!0===(a&&a.preventScrollReset),I=!0===(a&&a.enableViewTransition);let o=i||d,l=a&&a.overrideNavigation,u=null!=a&&a.initialHydration&&F.matches&&F.matches.length>0&&!_?F.matches:R(o,r,h),c=!0===(a&&a.flushSync);if(u&&F.initialized&&!K&&(f=F.location,p=r,f.pathname===p.pathname&&f.search===p.search&&(""===f.hash?""!==p.hash:f.hash===p.hash||""!==p.hash))&&!(a&&a.submission&&Ve(a.submission.formMethod)))return void oe(r,{matches:u},{flushSync:c});var f,p;let m=ct(u,o,r.pathname);if(m.active&&m.matches&&(u=m.matches),!u){let{error:e,notFoundMatches:t,route:n}=it(r.pathname);return void oe(r,{matches:t,loaderData:{},errors:{[n.id]:e}},{flushSync:c})}M=new AbortController;let v,y=ke(e.history,r,M.signal,a&&a.submission);if(a&&a.pendingError)v=[je(u).route.id,{type:w.error,error:a.pendingError}];else if(a&&a.submission&&Ve(a.submission.formMethod)){let t=await async function(t,r,a,o,i,l){void 0===l&&(l={}),Se();let s,u=function(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}(r,a);if(ae({navigation:u},{flushSync:!0===l.flushSync}),i){let e=await dt(o,r.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=je(e.partialMatches).route.id;return{matches:e.partialMatches,pendingActionResult:[t,{type:w.error,error:e.error}]}}if(!e.matches){let{notFoundMatches:e,error:t,route:n}=it(r.pathname);return{matches:e,pendingActionResult:[n.id,{type:w.error,error:t}]}}o=e.matches}let c=Ge(o,r);if(c.route.action||c.route.lazy){if(s=(await ge("action",F,t,[c],o,null))[c.route.id],t.signal.aborted)return{shortCircuited:!0}}else s={type:w.error,error:Fe(405,{method:t.method,pathname:r.pathname,routeId:c.route.id})};if(We(s)){let r;return r=l&&null!=l.replace?l.replace:Pe(s.response.headers.get("Location"),new URL(t.url),h,e.history)===F.location.pathname+F.location.search,await me(t,s,!0,{submission:a,replace:r}),{shortCircuited:!0}}if(ze(s))throw Fe(400,{type:"defer-action"});if(He(s)){let e=je(o,c.route.id);return!0!==(l&&l.replace)&&(N=n.Push),{matches:o,pendingActionResult:[e.route.id,s]}}return{matches:o,pendingActionResult:[c.route.id,s]}}(y,r,a.submission,u,m.active,{replace:a.replace,flushSync:c});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,n]=t.pendingActionResult;if(He(n)&&re(n.error)&&404===n.error.status)return M=null,void oe(r,{matches:t.matches,loaderData:{},errors:{[e]:n.error}})}u=t.matches||u,v=t.pendingActionResult,l=Ze(r,a.submission),c=!1,m.active=!1,y=ke(e.history,y.url,y.signal)}let{shortCircuited:b,matches:E,loaderData:S,errors:x}=await async function(t,r,n,a,o,l,u,c,f,p,m){let v=o||Ze(r,l),y=l||u||Qe(v),b=!(W||g.v7_partialHydration&&f);if(a){if(b){let e=le(m);ae(s({navigation:v},void 0!==e?{actionData:e}:{}),{flushSync:p})}let e=await dt(n,r.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=je(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(!e.matches){let{error:e,notFoundMatches:t,route:n}=it(r.pathname);return{matches:t,loaderData:{},errors:{[n.id]:e}}}n=e.matches}let w=i||d,[E,S]=be(e.history,F,n,y,r,g.v7_partialHydration&&!0===f,g.v7_skipActionErrorRevalidation,K,$,V,ee,Q,G,w,h,m);if(lt(e=>!(n&&n.some(t=>t.route.id===e))||E&&E.some(t=>t.route.id===e)),Y=++q,0===E.length&&0===S.length){let e=Xe();return oe(r,s({matches:n,loaderData:{},errors:m&&He(m[1])?{[m[0]]:m[1].error}:null},Me(m),e?{fetchers:new Map(F.fetchers)}:{}),{flushSync:p}),{shortCircuited:!0}}if(b){let e={};if(!a){e.navigation=v;let t=le(m);void 0!==t&&(e.actionData=t)}S.length>0&&(e.fetchers=function(e){return e.forEach(e=>{let t=F.fetchers.get(e.key),r=et(void 0,t?t.data:void 0);F.fetchers.set(e.key,r)}),new Map(F.fetchers)}(S)),ae(e,{flushSync:p})}S.forEach(e=>{Ke(e.key),e.controller&&J.set(e.key,e.controller)});let R=()=>S.forEach(e=>Ke(e.key));M&&M.signal.addEventListener("abort",R);let{loaderResults:x,fetcherResults:D}=await Ee(F,n,E,S,t);if(t.signal.aborted)return{shortCircuited:!0};M&&M.signal.removeEventListener("abort",R),S.forEach(e=>J.delete(e.key));let C=Ne(x);if(C)return await me(t,C.result,!0,{replace:c}),{shortCircuited:!0};if(C=Ne(D),C)return G.add(C.key),await me(t,C.result,!0,{replace:c}),{shortCircuited:!0};let{loaderData:L,errors:P}=_e(F,n,x,m,S,D,te);te.forEach((e,t)=>{e.subscribe(r=>{(r||e.done)&&te.delete(t)})}),g.v7_partialHydration&&f&&F.errors&&(P=s({},F.errors,P));let k=Xe(),T=rt(Y),A=k||T||S.length>0;return s({matches:n,loaderData:L,errors:P},A?{fetchers:new Map(F.fetchers)}:{})}(y,r,u,m.active,l,a&&a.submission,a&&a.fetcherSubmission,a&&a.replace,a&&!0===a.initialHydration,c,v);b||(M=null,oe(r,s({matches:E||u},Me(v),{loaderData:S,errors:x})))}function le(e){return e&&!He(e[1])?{[e[0]]:e[1].data}:F.actionData?0===Object.keys(F.actionData).length?null:F.actionData:void 0}async function me(a,o,i,l){let{submission:u,fetcherSubmission:c,preventScrollReset:d,replace:p}=void 0===l?{}:l;o.response.headers.has("X-Remix-Revalidate")&&(K=!0);let m=o.response.headers.get("Location");f(m,"Expected a Location header on the redirect Response"),m=Pe(m,new URL(a.url),h,e.history);let y=v(F.location,m,{_isRedirect:!0});if(r){let r=!1;if(o.response.headers.has("X-Remix-Reload-Document"))r=!0;else if(he.test(m)){const n=e.history.createURL(m);r=n.origin!==t.location.origin||null==j(n.pathname,h)}if(r)return void(p?t.location.replace(m):t.location.assign(m))}M=null;let g=!0===p||o.response.headers.has("X-Remix-Replace")?n.Replace:n.Push,{formMethod:b,formAction:w,formEncType:E}=F.navigation;!u&&!c&&b&&w&&E&&(u=Qe(F.navigation));let S=u||c;if(se.has(o.response.status)&&S&&Ve(S.formMethod))await ie(g,y,{submission:s({},S,{formAction:m}),preventScrollReset:d||B,enableViewTransition:i?I:void 0});else{let e=Ze(y,u);await ie(g,y,{overrideNavigation:e,fetcherSubmission:c,preventScrollReset:d||B,enableViewTransition:i?I:void 0})}}async function ge(e,t,r,n,a,i){let l,u={};try{l=await async function(e,t,r,n,a,o,i,l,u,c){let d=o.map(e=>e.route.lazy?async function(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let a=r[e.id];f(a,"No route found in manifest");let o={};for(let e in n){let t=void 0!==a[e]&&"hasErrorBoundary"!==e;p(!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||E.has(e)||(o[e]=n[e])}Object.assign(a,o),Object.assign(a,s({},t(a),{lazy:void 0}))}(e.route,u,l):void 0),h=o.map((e,r)=>{let o=d[r],i=a.some(t=>t.route.id===e.route.id);return s({},e,{shouldLoad:i,resolve:async r=>(r&&"GET"===n.method&&(e.route.lazy||e.route.loader)&&(i=!0),i?async function(e,t,r,n,a,o){let i,l,s=n=>{let i,s=new Promise((e,t)=>i=t);l=()=>i(),t.signal.addEventListener("abort",l);let u=a=>"function"!=typeof n?Promise.reject(new 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:o},...void 0!==a?[a]:[]),c=(async()=>{try{return{type:"data",result:await(a?a(e=>u(e)):u())}}catch(e){return{type:"error",result:e}}})();return Promise.race([c,s])};try{let a=r.route[e];if(n)if(a){let e,[t]=await Promise.all([s(a).catch(t=>{e=t}),n]);if(void 0!==e)throw e;i=t}else{if(await n,a=r.route[e],!a){if("action"===e){let e=new URL(t.url),n=e.pathname+e.search;throw Fe(405,{method:t.method,pathname:n,routeId:r.route.id})}return{type:w.data,result:void 0}}i=await s(a)}else{if(!a){let e=new URL(t.url);throw Fe(404,{pathname:e.pathname+e.search})}i=await s(a)}f(void 0!==i.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:w.error,result:e}}finally{l&&t.signal.removeEventListener("abort",l)}return i}(t,n,e,o,r,c):Promise.resolve({type:w.data,result:void 0}))})}),m=await e({matches:h,request:n,params:o[0].params,fetcherKey:i,context:c});try{await Promise.all(d)}catch(e){}return m}(m,e,0,r,n,a,i,c,o)}catch(e){return n.forEach(t=>{u[t.route.id]={type:w.error,error:e}}),u}for(let[e,t]of Object.entries(l))if(Ie(t)){let n=t.result;u[e]={type:w.redirect,response:Le(n,r,e,a,h,g.v7_relativeSplatPath)}}else u[e]=await Ce(t);return u}async function Ee(t,r,n,a,o){let i=t.matches,l=ge("loader",0,o,n,r,null),s=Promise.all(a.map(async t=>{if(t.matches&&t.match&&t.controller){let r=(await ge("loader",0,ke(e.history,t.path,t.controller.signal),[t.match],t.matches,t.key))[t.match.route.id];return{[t.key]:r}}return Promise.resolve({[t.key]:{type:w.error,error:Fe(404,{pathname:t.path})}})})),u=await l,c=(await s).reduce((e,t)=>Object.assign(e,t),{});return await Promise.all([Je(r,u,o.signal,i,t.loaderData),qe(r,c,a)]),{loaderResults:u,fetcherResults:c}}function Se(){K=!0,$.push(...lt()),Q.forEach((e,t)=>{J.has(t)&&V.add(t),Ke(t)})}function xe(e,t,r){void 0===r&&(r={}),F.fetchers.set(e,t),ae({fetchers:new Map(F.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function Te(e,t,r,n){void 0===n&&(n={});let a=je(F.matches,t);Be(e),ae({errors:{[a.route.id]:r},fetchers:new Map(F.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function Ae(e){return Z.set(e,(Z.get(e)||0)+1),ee.has(e)&&ee.delete(e),F.fetchers.get(e)||ce}function Be(e){let t=F.fetchers.get(e);!J.has(e)||t&&"loading"===t.state&&X.has(e)||Ke(e),Q.delete(e),X.delete(e),G.delete(e),g.v7_fetcherPersist&&ee.delete(e),V.delete(e),F.fetchers.delete(e)}function Ke(e){let t=J.get(e);t&&(t.abort(),J.delete(e))}function $e(e){for(let t of e){let e=tt(Ae(t).data);F.fetchers.set(t,e)}}function Xe(){let e=[],t=!1;for(let r of G){let n=F.fetchers.get(r);f(n,"Expected fetcher: "+r),"loading"===n.state&&(G.delete(r),e.push(r),t=!0)}return $e(e),t}function rt(e){let t=[];for(let[r,n]of X)if(n<e){let e=F.fetchers.get(r);f(e,"Expected fetcher: "+r),"loading"===e.state&&(Ke(r),X.delete(r),t.push(r))}return $e(t),t.length>0}function nt(e){F.blockers.delete(e),ne.delete(e)}function at(e,t){let r=F.blockers.get(e)||de;f("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(F.blockers);n.set(e,t),ae({blockers:n})}function ot(e){let{currentLocation:t,nextLocation:r,historyAction:n}=e;if(0===ne.size)return;ne.size>1&&p(!1,"A router only supports one blocker at a time");let a=Array.from(ne.entries()),[o,i]=a[a.length-1],l=F.blockers.get(o);return l&&"proceeding"===l.state?void 0:i({currentLocation:t,nextLocation:r,historyAction:n})?o:void 0}function it(e){let t=Fe(404,{pathname:e}),r=i||d,{matches:n,route:a}=Oe(r);return lt(),{notFoundMatches:n,route:a,error:t}}function lt(e){let t=[];return te.forEach((r,n)=>{e&&!e(n)||(r.cancel(),t.push(n),te.delete(n))}),t}function st(e,t){return P&&P(e,t.map(e=>D(e,F.loaderData)))||e.key}function ut(e,t){if(L){let r=st(e,t),n=L[r];if("number"==typeof n)return n}return null}function ct(e,t,r){if(y){if(!e)return{active:!0,matches:x(t,r,h,!0)||[]};if(Object.keys(e[0].params).length>0)return{active:!0,matches:x(t,r,h,!0)}}return{active:!1,matches:null}}async function dt(e,t,r,n){if(!y)return{type:"success",matches:e};let a=e;for(;;){let e=null==i,l=i||d,s=c;try{await y({signal:r,path:t,matches:a,fetcherKey:n,patch:(e,t)=>{r.aborted||Re(e,t,l,s,o)}})}catch(e){return{type:"error",error:e,partialMatches:a}}finally{e&&!r.aborted&&(d=[...d])}if(r.aborted)return{type:"aborted"};let u=R(l,t,h);if(u)return{type:"success",matches:u};let f=x(l,t,h,!0);if(!f||a.length===f.length&&a.every((e,t)=>e.route.id===f[t].route.id))return{type:"success",matches:null};a=f}}return u={get basename(){return h},get future(){return g},get state(){return F},get routes(){return d},get window(){return t},initialize:function(){if(b=e.history.listen(t=>{let{action:r,location:n,delta:a}=t;if(O)return O(),void(O=void 0);p(0===ne.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=ot({currentLocation:F.location,nextLocation:n,historyAction:r});if(o&&null!=a){let t=new Promise(e=>{O=e});return e.history.go(-1*a),void at(o,{state:"blocked",location:n,proceed(){at(o,{state:"proceeding",proceed:void 0,reset:void 0,location:n}),t.then(()=>e.history.go(a))},reset(){let e=new Map(F.blockers);e.set(o,de),ae({blockers:e})}})}return ie(r,n)}),r){!function(e,t){try{let r=e.sessionStorage.getItem(pe);if(r){let e=JSON.parse(r);for(let[r,n]of Object.entries(e||{}))n&&Array.isArray(n)&&t.set(r,new Set(n||[]))}}catch(e){}}(t,z);let e=()=>function(e,t){if(t.size>0){let r={};for(let[e,n]of t)r[e]=[...n];try{e.sessionStorage.setItem(pe,JSON.stringify(r))}catch(e){p(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}}(t,z);t.addEventListener("pagehide",e),H=()=>t.removeEventListener("pagehide",e)}return F.initialized||ie(n.Pop,F.location,{initialHydration:!0}),u},subscribe:function(e){return C.add(e),()=>C.delete(e)},enableScrollRestoration:function(e,t,r){if(L=e,k=t,P=r||null,!T&&F.navigation===ue){T=!0;let e=ut(F.location,F.matches);null!=e&&ae({restoreScrollPosition:e})}return()=>{L=null,k=null,P=null}},navigate:async function t(r,a){if("number"==typeof r)return void e.history.go(r);let o=ve(F.location,F.matches,h,g.v7_prependBasename,r,g.v7_relativeSplatPath,null==a?void 0:a.fromRouteId,null==a?void 0:a.relative),{path:i,submission:l,error:u}=ye(g.v7_normalizeFormMethod,!1,o,a),c=F.location,d=v(F.location,i,a&&a.state);d=s({},d,e.history.encodeLocation(d));let f=a&&null!=a.replace?a.replace:void 0,p=n.Push;!0===f?p=n.Replace:!1===f||null!=l&&Ve(l.formMethod)&&l.formAction===F.location.pathname+F.location.search&&(p=n.Replace);let m=a&&"preventScrollReset"in a?!0===a.preventScrollReset:void 0,y=!0===(a&&a.flushSync),b=ot({currentLocation:c,nextLocation:d,historyAction:p});if(!b)return await ie(p,d,{submission:l,pendingError:u,preventScrollReset:m,replace:a&&a.replace,enableViewTransition:a&&a.viewTransition,flushSync:y});at(b,{state:"blocked",location:d,proceed(){at(b,{state:"proceeding",proceed:void 0,reset:void 0,location:d}),t(r,a)},reset(){let e=new Map(F.blockers);e.set(b,de),ae({blockers:e})}})},fetch:function(t,r,n,o){if(a)throw new 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.");Ke(t);let l=!0===(o&&o.flushSync),s=i||d,u=ve(F.location,F.matches,h,g.v7_prependBasename,n,g.v7_relativeSplatPath,r,null==o?void 0:o.relative),c=R(s,u,h),p=ct(c,s,u);if(p.active&&p.matches&&(c=p.matches),!c)return void Te(t,r,Fe(404,{pathname:u}),{flushSync:l});let{path:m,submission:v,error:y}=ye(g.v7_normalizeFormMethod,!0,u,o);if(y)return void Te(t,r,y,{flushSync:l});let b=Ge(c,m),w=!0===(o&&o.preventScrollReset);v&&Ve(v.formMethod)?async function(t,r,n,a,o,l,s,u,c){function p(e){if(!e.route.action&&!e.route.lazy){let e=Fe(405,{method:c.formMethod,pathname:n,routeId:r});return Te(t,r,e,{flushSync:s}),!0}return!1}if(Se(),Q.delete(t),!l&&p(a))return;let m=F.fetchers.get(t);xe(t,function(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}(c,m),{flushSync:s});let v=new AbortController,y=ke(e.history,n,v.signal,c);if(l){let e=await dt(o,new URL(y.url).pathname,y.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void Te(t,r,e.error,{flushSync:s});if(!e.matches)return void Te(t,r,Fe(404,{pathname:n}),{flushSync:s});if(p(a=Ge(o=e.matches,n)))return}J.set(t,v);let b=q,w=(await ge("action",0,y,[a],o,t))[a.route.id];if(y.signal.aborted)return void(J.get(t)===v&&J.delete(t));if(g.v7_fetcherPersist&&ee.has(t)){if(We(w)||He(w))return void xe(t,tt(void 0))}else{if(We(w))return J.delete(t),Y>b?void xe(t,tt(void 0)):(G.add(t),xe(t,et(c)),me(y,w,!1,{fetcherSubmission:c,preventScrollReset:u}));if(He(w))return void Te(t,r,w.error)}if(ze(w))throw Fe(400,{type:"defer-action"});let E=F.navigation.location||F.location,S=ke(e.history,E,v.signal),x=i||d,D="idle"!==F.navigation.state?R(x,F.navigation.location,h):F.matches;f(D,"Didn't find any matches after fetcher action");let C=++q;X.set(t,C);let L=et(c,w.data);F.fetchers.set(t,L);let[P,k]=be(e.history,F,D,c,E,!1,g.v7_skipActionErrorRevalidation,K,$,V,ee,Q,G,x,h,[a.route.id,w]);k.filter(e=>e.key!==t).forEach(e=>{let t=e.key,r=F.fetchers.get(t),n=et(void 0,r?r.data:void 0);F.fetchers.set(t,n),Ke(t),e.controller&&J.set(t,e.controller)}),ae({fetchers:new Map(F.fetchers)});let T=()=>k.forEach(e=>Ke(e.key));v.signal.addEventListener("abort",T);let{loaderResults:A,fetcherResults:_}=await Ee(F,D,P,k,S);if(v.signal.aborted)return;v.signal.removeEventListener("abort",T),X.delete(t),J.delete(t),k.forEach(e=>J.delete(e.key));let U=Ne(A);if(U)return me(S,U.result,!1,{preventScrollReset:u});if(U=Ne(_),U)return G.add(U.key),me(S,U.result,!1,{preventScrollReset:u});let{loaderData:j,errors:O}=_e(F,D,A,void 0,k,_,te);if(F.fetchers.has(t)){let e=tt(w.data);F.fetchers.set(t,e)}rt(C),"loading"===F.navigation.state&&C>Y?(f(N,"Expected pending action"),M&&M.abort(),oe(F.navigation.location,{matches:D,loaderData:j,errors:O,fetchers:new Map(F.fetchers)})):(ae({errors:O,loaderData:Ue(F.loaderData,j,D,O),fetchers:new Map(F.fetchers)}),K=!1)}(t,r,m,b,c,p.active,l,w,v):(Q.set(t,{routeId:r,path:m}),async function(t,r,n,a,o,i,l,s,u){let c=F.fetchers.get(t);xe(t,et(u,c?c.data:void 0),{flushSync:l});let d=new AbortController,h=ke(e.history,n,d.signal);if(i){let e=await dt(o,new URL(h.url).pathname,h.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void Te(t,r,e.error,{flushSync:l});if(!e.matches)return void Te(t,r,Fe(404,{pathname:n}),{flushSync:l});a=Ge(o=e.matches,n)}J.set(t,d);let p=q,m=(await ge("loader",0,h,[a],o,t))[a.route.id];if(ze(m)&&(m=await Ye(m,h.signal,!0)||m),J.get(t)===d&&J.delete(t),!h.signal.aborted){if(!ee.has(t))return We(m)?Y>p?void xe(t,tt(void 0)):(G.add(t),void await me(h,m,!1,{preventScrollReset:s})):void(He(m)?Te(t,r,m.error):(f(!ze(m),"Unhandled fetcher deferred data"),xe(t,tt(m.data))));xe(t,tt(void 0))}}(t,r,m,b,c,p.active,l,w,v))},revalidate:function(){Se(),ae({revalidation:"loading"}),"submitting"!==F.navigation.state&&("idle"!==F.navigation.state?ie(N||F.historyAction,F.navigation.location,{overrideNavigation:F.navigation,enableViewTransition:!0===I}):ie(F.historyAction,F.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:Ae,deleteFetcher:function(e){let t=(Z.get(e)||0)-1;t<=0?(Z.delete(e),ee.add(e),g.v7_fetcherPersist||Be(e)):Z.set(e,t),ae({fetchers:new Map(F.fetchers)})},dispose:function(){b&&b(),H&&H(),C.clear(),M&&M.abort(),F.fetchers.forEach((e,t)=>Be(t)),F.blockers.forEach((e,t)=>nt(t))},getBlocker:function(e,t){let r=F.blockers.get(e)||de;return ne.get(e)!==t&&ne.set(e,t),r},deleteBlocker:nt,patchRoutes:function(e,t){let r=null==i;Re(e,t,i||d,c,o),r&&(d=[...d],ae({}))},_internalFetchControllers:J,_internalActiveDeferreds:te,_internalSetRoutes:function(e){c={},i=S(e,o,void 0,c)}},u}function ve(e,t,r,n,a,o,i,l){let s,u;if(i){s=[];for(let e of t)if(s.push(e),e.route.id===i){u=e;break}}else s=t,u=t[t.length-1];let c=H(a||".",z(s,o),j(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=Xe(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:W([r,c.pathname])),y(c)}function ye(e,t,r,n){if(!n||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(n))return{path:r};if(n.formMethod&&(a=n.formMethod,!ie.has(a.toLowerCase())))return{path:r,error:Fe(405,{method:n.formMethod})};var a;let o,i,l=()=>({path:r,error:Fe(400,{type:"invalid-body"})}),s=n.formMethod||"get",u=e?s.toUpperCase():s.toLowerCase(),c=Be(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!Ve(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}}}if("application/json"===n.formEncType){if(!Ve(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(f("function"==typeof FormData,"FormData is not available in this environment"),n.formData)o=Te(n.formData),i=n.formData;else if(n.body instanceof FormData)o=Te(n.body),i=n.body;else if(n.body instanceof URLSearchParams)o=n.body,i=Ae(o);else if(null==n.body)o=new URLSearchParams,i=new FormData;else try{o=new URLSearchParams(n.body),i=Ae(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(Ve(d.formMethod))return{path:r,submission:d};let h=g(r);return t&&h.search&&Xe(h.search)&&o.append("index",""),h.search="?"+o,{path:y(h),submission:d}}function ge(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 be(e,t,r,n,a,o,i,l,u,c,d,h,f,p,m,v){let y=v?He(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=ge(r,Object.keys(t.errors)[0],!0):v&&He(v[1])&&(w=ge(r,v[0]));let E=v?v[1].statusCode:void 0,S=i&&E&&E>=400,x=w.filter((e,r)=>{let{route:a}=e;if(a.lazy)return!0;if(null==a.loader)return!1;if(o)return we(a,t.loaderData,t.errors);if(function(e,t,r){let n=!t||r.route.id!==t.route.id,a=void 0===e[r.route.id];return n||a}(t.loaderData,t.matches[r],e)||u.some(t=>t===e.route.id))return!0;let i=t.matches[r],c=e;return Se(e,s({currentUrl:g,currentParams:i.params,nextUrl:b,nextParams:c.params},n,{actionResult:y,actionStatus:E,defaultShouldRevalidate:!S&&(l||g.pathname+g.search===b.pathname+b.search||g.search!==b.search||Ee(i,c))}))}),D=[];return h.forEach((e,a)=>{if(o||!r.some(t=>t.route.id===e.routeId)||d.has(a))return;let i=R(p,e.path,m);if(!i)return void D.push({key:a,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let u=t.fetchers.get(a),h=Ge(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?l:Se(h,s({currentUrl:g,currentParams:t.matches[t.matches.length-1].params,nextUrl:b,nextParams:r[r.length-1].params},n,{actionResult:y,actionStatus:E,defaultShouldRevalidate:!S&&l})),v&&D.push({key:a,routeId:e.routeId,path:e.path,matches:i,match:h,controller:new AbortController})}),[x,D]}function we(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 Ee(e,t){let r=e.route.path;return e.pathname!==t.pathname||null!=r&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function Se(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if("boolean"==typeof r)return r}return t.defaultShouldRevalidate}function Re(e,t,r,n,a){var o;let i;if(e){let t=n[e];f(t,"No route found to patch children into: routeId = "+e),t.children||(t.children=[]),i=t.children}else i=r;let l=S(t.filter(e=>!i.some(t=>xe(e,t))),a,[e||"_","patch",String((null==(o=i)?void 0:o.length)||"0")],n);i.push(...l)}function xe(e,t){return"id"in e&&"id"in t&&e.id===t.id||e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive&&(!(e.children&&0!==e.children.length||t.children&&0!==t.children.length)||e.children.every((e,r)=>{var n;return null==(n=t.children)?void 0:n.some(t=>xe(e,t))}))}async function De(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 Ce(e){let{result:t,type:r}=e;if($e(t)){let e;try{let r=t.headers.get("Content-Type");e=r&&/\bapplication\/json\b/.test(r)?null==t.body?null:await t.json():await t.text()}catch(e){return{type:w.error,error:e}}return r===w.error?{type:w.error,error:new te(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:w.data,data:e,statusCode:t.status,headers:t.headers}}var n,a,o,i,l,s,u,c;return r===w.error?Ke(t)?t.data instanceof Error?{type:w.error,error:t.data,statusCode:null==(o=t.init)?void 0:o.status,headers:null!=(i=t.init)&&i.headers?new Headers(t.init.headers):void 0}:{type:w.error,error:new te((null==(n=t.init)?void 0:n.status)||500,void 0,t.data),statusCode:re(t)?t.status:void 0,headers:null!=(a=t.init)&&a.headers?new Headers(t.init.headers):void 0}:{type:w.error,error:t,statusCode:re(t)?t.status:void 0}:function(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}(t)?{type:w.deferred,deferredData:t,statusCode:null==(l=t.init)?void 0:l.status,headers:(null==(s=t.init)?void 0:s.headers)&&new Headers(t.init.headers)}:Ke(t)?{type:w.data,data:t.data,statusCode:null==(u=t.init)?void 0:u.status,headers:null!=(c=t.init)&&c.headers?new Headers(t.init.headers):void 0}:{type:w.data,data:t}}function Le(e,t,r,n,a,o){let i=e.headers.get("Location");if(f(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!he.test(i)){let l=n.slice(0,n.findIndex(e=>e.route.id===r)+1);i=ve(new URL(t.url),l,a,!0,i,o),e.headers.set("Location",i)}return e}function Pe(e,t,r,n){let a=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];if(he.test(e)){let n=e,o=n.startsWith("//")?new URL(t.protocol+n):new URL(n);if(a.includes(o.protocol))throw new Error("Invalid redirect location");let i=null!=j(o.pathname,r);if(o.origin===t.origin&&i)return o.pathname+o.search+o.hash}try{let t=n.createURL(e);if(a.includes(t.protocol))throw new Error("Invalid redirect location")}catch(e){}return e}function ke(e,t,r,n){let a=e.createURL(Be(t)).toString(),o={signal:r};if(n&&Ve(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=Te(n.formData):o.body=n.formData}return new Request(a,o)}function Te(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,"string"==typeof n?n:n.name);return t}function Ae(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function _e(e,t,r,n,a,o,i){let{loaderData:l,errors:u}=function(e,t,r,n,a){let o,i={},l=null,s=!1,u={},c=r&&He(r[1])?r[1].error:void 0;return e.forEach(r=>{if(!(r.route.id in t))return;let d=r.route.id,h=t[d];if(f(!We(h),"Cannot handle redirect results in processLoaderData"),He(h)){let t=h.error;if(void 0!==c&&(t=c,c=void 0),l=l||{},a)l[d]=t;else{let r=je(e,d);null==l[r.route.id]&&(l[r.route.id]=t)}i[d]=void 0,s||(s=!0,o=re(h.error)?h.error.status:500),h.headers&&(u[d]=h.headers)}else ze(h)?(n.set(d,h.deferredData),i[d]=h.deferredData.data,null==h.statusCode||200===h.statusCode||s||(o=h.statusCode),h.headers&&(u[d]=h.headers)):(i[d]=h.data,h.statusCode&&200!==h.statusCode&&!s&&(o=h.statusCode),h.headers&&(u[d]=h.headers))}),void 0!==c&&r&&(l={[r[0]]:c},i[r[0]]=void 0),{loaderData:i,errors:l,statusCode:o||200,loaderHeaders:u}}(t,r,n,i,!1);return a.forEach(t=>{let{key:r,match:n,controller:a}=t,i=o[r];if(f(i,"Did not find corresponding fetcher result"),!a||!a.signal.aborted)if(He(i)){let t=je(e.matches,null==n?void 0:n.route.id);u&&u[t.route.id]||(u=s({},u,{[t.route.id]:i.error})),e.fetchers.delete(r)}else if(We(i))f(!1,"Unhandled fetcher revalidation redirect");else if(ze(i))f(!1,"Unhandled fetcher deferred data");else{let t=tt(i.data);e.fetchers.set(r,t)}}),{loaderData:l,errors:u}}function Ue(e,t,r,n){let a=s({},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 Me(e){return e?He(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function je(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 Oe(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 Fe(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 te(e||500,l,new Error(s),!0)}function Ne(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[r,n]=t[e];if(We(n))return{key:r,result:n}}}function Be(e){return y(s({},"string"==typeof e?g(e):e,{hash:""}))}function Ie(e){return $e(e.result)&&le.has(e.result.status)}function ze(e){return e.type===w.deferred}function He(e){return e.type===w.error}function We(e){return(e&&e.type)===w.redirect}function Ke(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function $e(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function Ve(e){return ae.has(e.toLowerCase())}async function Je(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&&!Ee(c,u)&&void 0!==(a&&a[u.route.id]);ze(s)&&d&&await Ye(s,r,!1).then(e=>{e&&(t[l]=e)})}}async function qe(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)&&ze(l)&&(f(i,"Expected an AbortController for revalidating fetcher deferred result"),await Ye(l,i.signal,!0).then(e=>{e&&(t[a]=e)}))}}async function Ye(e,t,r){if(void 0===r&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:w.data,data:e.deferredData.unwrappedData}}catch(e){return{type:w.error,error:e}}return{type:w.data,data:e.deferredData.data}}}function Xe(e){return new URLSearchParams(e).getAll("index").some(e=>""===e)}function Ge(e,t){let r="string"==typeof t?g(t).search:t.search;if(e[e.length-1].route.index&&Xe(r||""))return e[e.length-1];let n=I(e);return n[n.length-1]}function Qe(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:o,json:i}=e;if(t&&r&&n)return null!=a?{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a}:null!=o?{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0}:void 0!==i?{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:i,text:void 0}:void 0}function Ze(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 et(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 tt(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function rt(){return rt=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},rt.apply(this,arguments)}Symbol("deferred");const nt=a.createContext(null),at=a.createContext(null),ot=a.createContext(null),it=a.createContext(null),lt=a.createContext(null),st=a.createContext({outlet:null,matches:[],isDataRoute:!1}),ut=a.createContext(null);function ct(e,t){let{relative:r}=void 0===t?{}:t;dt()||f(!1);let{basename:n,navigator:o}=a.useContext(it),{hash:i,pathname:l,search:s}=Et(e,{relative:r}),u=l;return"/"!==n&&(u="/"===l?n:W([n,l])),o.createHref({pathname:u,search:s,hash:i})}function dt(){return null!=a.useContext(lt)}function ht(){return dt()||f(!1),a.useContext(lt).location}function ft(){return a.useContext(lt).navigationType}function pt(e){dt()||f(!1);let{pathname:t}=ht();return a.useMemo(()=>U(e,M(t)),[t,e])}function mt(e){a.useContext(it).static||a.useLayoutEffect(e)}function vt(){let{isDataRoute:e}=a.useContext(st);return e?function(){let{router:e}=At(kt.UseNavigateStable),t=Ut(Tt.UseNavigateStable),r=a.useRef(!1);return mt(()=>{r.current=!0}),a.useCallback(function(n,a){void 0===a&&(a={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,rt({fromRouteId:t},a)))},[e,t])}():function(){dt()||f(!1);let e=a.useContext(nt),{basename:t,future:r,navigator:n}=a.useContext(it),{matches:o}=a.useContext(st),{pathname:i}=ht(),l=JSON.stringify(z(o,r.v7_relativeSplatPath)),s=a.useRef(!1);return mt(()=>{s.current=!0}),a.useCallback(function(r,a){if(void 0===a&&(a={}),!s.current)return;if("number"==typeof r)return void n.go(r);let o=H(r,JSON.parse(l),i,"path"===a.relative);null==e&&"/"!==t&&(o.pathname="/"===o.pathname?t:W([t,o.pathname])),(a.replace?n.replace:n.push)(o,a.state,a)},[t,n,l,i,e])}()}const yt=a.createContext(null);function gt(){return a.useContext(yt)}function bt(e){let t=a.useContext(st).outlet;return t?a.createElement(yt.Provider,{value:e},t):t}function wt(){let{matches:e}=a.useContext(st),t=e[e.length-1];return t?t.params:{}}function Et(e,t){let{relative:r}=void 0===t?{}:t,{future:n}=a.useContext(it),{matches:o}=a.useContext(st),{pathname:i}=ht(),l=JSON.stringify(z(o,n.v7_relativeSplatPath));return a.useMemo(()=>H(e,JSON.parse(l),i,"path"===r),[e,l,i,r])}function St(e,t){return Rt(e,t)}function Rt(e,t,r,o){dt()||f(!1);let{navigator:i}=a.useContext(it),{matches:l}=a.useContext(st),s=l[l.length-1],u=s?s.params:{},c=(s&&s.pathname,s?s.pathnameBase:"/");s&&s.route;let d,h=ht();if(t){var p;let e="string"==typeof t?g(t):t;"/"===c||(null==(p=e.pathname)?void 0:p.startsWith(c))||f(!1),d=e}else d=h;let m=d.pathname||"/",v=m;if("/"!==c){let e=c.replace(/^\//,"").split("/");v="/"+m.replace(/^\//,"").split("/").slice(e.length).join("/")}let y=R(e,{pathname:v}),b=Pt(y&&y.map(e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:W([c,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:W([c,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),l,r,o);return t&&b?a.createElement(lt.Provider,{value:{location:rt({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:n.Pop}},b):b}function xt(){let e=zt(),t=re(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return a.createElement(a.Fragment,null,a.createElement("h2",null,"Unexpected Application Error!"),a.createElement("h3",{style:{fontStyle:"italic"}},t),r?a.createElement("pre",{style:n},r):null,null)}const Dt=a.createElement(xt,null);class Ct extends a.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?a.createElement(st.Provider,{value:this.props.routeContext},a.createElement(ut.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Lt(e){let{routeContext:t,match:r,children:n}=e,o=a.useContext(nt);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),a.createElement(st.Provider,{value:t},n)}function Pt(e,t,r,n){var o;if(void 0===t&&(t=[]),void 0===r&&(r=null),void 0===n&&(n=null),null==e){var i;if(!r)return null;if(r.errors)e=r.matches;else{if(!(null!=(i=n)&&i.v7_partialHydration&&0===t.length&&!r.initialized&&r.matches.length>0))return null;e=r.matches}}let l=e,s=null==(o=r)?void 0:o.errors;if(null!=s){let e=l.findIndex(e=>e.route.id&&void 0!==(null==s?void 0:s[e.route.id]));e>=0||f(!1),l=l.slice(0,Math.min(l.length,e+1))}let u=!1,c=-1;if(r&&n&&n.v7_partialHydration)for(let e=0;e<l.length;e++){let t=l[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(c=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){u=!0,l=c>=0?l.slice(0,c+1):[l[0]];break}}}return l.reduceRight((e,n,o)=>{let i,d=!1,h=null,f=null;var p;r&&(i=s&&n.route.id?s[n.route.id]:void 0,h=n.route.errorElement||Dt,u&&(c<0&&0===o?(Vt[p="route-fallback"]||(Vt[p]=!0),d=!0,f=null):c===o&&(d=!0,f=n.route.hydrateFallbackElement||null)));let m=t.concat(l.slice(0,o+1)),v=()=>{let t;return t=i?h:d?f:n.route.Component?a.createElement(n.route.Component,null):n.route.element?n.route.element:e,a.createElement(Lt,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===o)?a.createElement(Ct,{location:r.location,revalidation:r.revalidation,component:h,error:i,children:v(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):v()},null)}var kt=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(kt||{}),Tt=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Tt||{});function At(e){let t=a.useContext(nt);return t||f(!1),t}function _t(e){let t=a.useContext(at);return t||f(!1),t}function Ut(e){let t=function(){let e=a.useContext(st);return e||f(!1),e}(),r=t.matches[t.matches.length-1];return r.route.id||f(!1),r.route.id}function Mt(){return Ut(Tt.UseRouteId)}function jt(){return _t(Tt.UseNavigation).navigation}function Ot(){let e=At(kt.UseRevalidator),t=_t(Tt.UseRevalidator);return a.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])}function Ft(){let{matches:e,loaderData:t}=_t(Tt.UseMatches);return a.useMemo(()=>e.map(e=>D(e,t)),[e,t])}function Nt(){let e=_t(Tt.UseLoaderData),t=Ut(Tt.UseLoaderData);if(!e.errors||null==e.errors[t])return e.loaderData[t];console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")")}function Bt(e){return _t(Tt.UseRouteLoaderData).loaderData[e]}function It(){let e=_t(Tt.UseActionData),t=Ut(Tt.UseLoaderData);return e.actionData?e.actionData[t]:void 0}function zt(){var e;let t=a.useContext(ut),r=_t(Tt.UseRouteError),n=Ut(Tt.UseRouteError);return void 0!==t?t:null==(e=r.errors)?void 0:e[n]}function Ht(){let e=a.useContext(ot);return null==e?void 0:e._data}function Wt(){let e=a.useContext(ot);return null==e?void 0:e._error}let Kt=0;function $t(e){let{router:t,basename:r}=At(kt.UseBlocker),n=_t(Tt.UseBlocker),[o,i]=a.useState(""),l=a.useCallback(t=>{if("function"!=typeof e)return!!e;if("/"===r)return e(t);let{currentLocation:n,nextLocation:a,historyAction:o}=t;return e({currentLocation:rt({},n,{pathname:j(n.pathname,r)||n.pathname}),nextLocation:rt({},a,{pathname:j(a.pathname,r)||a.pathname}),historyAction:o})},[r,e]);return a.useEffect(()=>{let e=String(++Kt);return i(e),()=>t.deleteBlocker(e)},[t]),a.useEffect(()=>{""!==o&&t.getBlocker(o,l)},[t,o,l]),o&&n.blockers.has(o)?n.blockers.get(o):de}const Vt={};function Jt(e,t){null==e||e.v7_startTransition,void 0===(null==e?void 0:e.v7_relativeSplatPath)&&(!t||t.v7_relativeSplatPath),t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation)}const qt=o.startTransition;function Yt(e){let{basename:t,children:r,initialEntries:n,initialIndex:o,future:i}=e,l=a.useRef();null==l.current&&(l.current=c({initialEntries:n,initialIndex:o,v5Compat:!0}));let s=l.current,[u,d]=a.useState({action:s.action,location:s.location}),{v7_startTransition:h}=i||{},f=a.useCallback(e=>{h&&qt?qt(()=>d(e)):d(e)},[d,h]);return a.useLayoutEffect(()=>s.listen(f),[s,f]),a.useEffect(()=>Jt(i),[i]),a.createElement(Zt,{basename:t,children:r,location:u.location,navigationType:u.action,navigator:s,future:i})}function Xt(e){let{to:t,replace:r,state:n,relative:o}=e;dt()||f(!1);let{future:i,static:l}=a.useContext(it),{matches:s}=a.useContext(st),{pathname:u}=ht(),c=vt(),d=H(t,z(s,i.v7_relativeSplatPath),u,"path"===o),h=JSON.stringify(d);return a.useEffect(()=>c(JSON.parse(h),{replace:r,state:n,relative:o}),[c,h,o,r,n]),null}function Gt(e){return bt(e.context)}function Qt(e){f(!1)}function Zt(e){let{basename:t="/",children:r=null,location:o,navigationType:i=n.Pop,navigator:l,static:s=!1,future:u}=e;dt()&&f(!1);let c=t.replace(/^\/*/,"/"),d=a.useMemo(()=>({basename:c,navigator:l,static:s,future:rt({v7_relativeSplatPath:!1},u)}),[c,u,l,s]);"string"==typeof o&&(o=g(o));let{pathname:h="/",search:p="",hash:m="",state:v=null,key:y="default"}=o,b=a.useMemo(()=>{let e=j(h,c);return null==e?null:{location:{pathname:e,search:p,hash:m,state:v,key:y},navigationType:i}},[c,h,p,m,v,y,i]);return null==b?null:a.createElement(it.Provider,{value:d},a.createElement(lt.Provider,{children:r,value:b}))}function er(e){let{children:t,location:r}=e;return St(ir(t),r)}function tr(e){let{children:t,errorElement:r,resolve:n}=e;return a.createElement(ar,{resolve:n,errorElement:r},a.createElement(or,null,t))}var rr=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(rr||{});const nr=new Promise(()=>{});class ar extends a.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,o=rr.pending;if(r instanceof Promise)if(this.state.error){o=rr.error;let e=this.state.error;n=Promise.reject().catch(()=>{}),Object.defineProperty(n,"_tracked",{get:()=>!0}),Object.defineProperty(n,"_error",{get:()=>e})}else r._tracked?(n=r,o="_error"in n?rr.error:"_data"in n?rr.success:rr.pending):(o=rr.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 o=rr.success,n=Promise.resolve(),Object.defineProperty(n,"_tracked",{get:()=>!0}),Object.defineProperty(n,"_data",{get:()=>r});if(o===rr.error&&n._error instanceof q)throw nr;if(o===rr.error&&!t)throw n._error;if(o===rr.error)return a.createElement(ot.Provider,{value:n,children:t});if(o===rr.success)return a.createElement(ot.Provider,{value:n,children:e});throw n}}function or(e){let{children:t}=e,r=Ht(),n="function"==typeof t?t(r):t;return a.createElement(a.Fragment,null,n)}function ir(e,t){void 0===t&&(t=[]);let r=[];return a.Children.forEach(e,(e,n)=>{if(!a.isValidElement(e))return;let o=[...t,n];if(e.type===a.Fragment)return void r.push.apply(r,ir(e.props.children,o));e.type!==Qt&&f(!1),e.props.index&&e.props.children&&f(!1);let i={id:e.props.id||o.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&&(i.children=ir(e.props.children,o)),r.push(i)}),r}function lr(e){return Pt(e)}function sr(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:a.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:a.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:a.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function ur(e,t){return me({basename:null==t?void 0:t.basename,future:rt({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:c({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:sr,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()}function cr(){return cr=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},cr.apply(this,arguments)}function dr(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}const hr="get",fr="application/x-www-form-urlencoded";function pr(e){return null!=e&&"string"==typeof e.tagName}function mr(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 vr=null;const yr=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function gr(e){return null==e||yr.has(e)?e:null}const br=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],wr=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],Er=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(e){}function Sr(e,t){return me({basename:null==t?void 0:t.basename,future:cr({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:d({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||xr(),routes:e,mapRouteProperties:sr,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function Rr(e,t){return me({basename:null==t?void 0:t.basename,future:cr({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:h({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||xr(),routes:e,mapRouteProperties:sr,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function xr(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=cr({},t,{errors:Dr(t.errors)})),t}function Dr(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 te(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=new Error(n.message);t.stack="",r[e]=t}}else r[e]=n;return r}const Cr=a.createContext({isTransitioning:!1}),Lr=a.createContext(new Map),Pr=o.startTransition,kr=l.flushSync,Tr=o.useId;function Ar(e){kr?kr(e):e()}class _r{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 Ur(e){let{fallbackElement:t,router:r,future:n}=e,[o,i]=a.useState(r.state),[l,s]=a.useState(),[u,c]=a.useState({isTransitioning:!1}),[d,h]=a.useState(),[f,p]=a.useState(),[m,v]=a.useState(),y=a.useRef(new Map),{v7_startTransition:g}=n||{},b=a.useCallback(e=>{g?function(e){Pr?Pr(e):e()}(e):e()},[g]),w=a.useCallback((e,t)=>{let{deletedFetchers:n,flushSync:a,viewTransitionOpts:o}=t;e.fetchers.forEach((e,t)=>{void 0!==e.data&&y.current.set(t,e.data)}),n.forEach(e=>y.current.delete(e));let l=null==r.window||null==r.window.document||"function"!=typeof r.window.document.startViewTransition;if(o&&!l){if(a){Ar(()=>{f&&(d&&d.resolve(),f.skipTransition()),c({isTransitioning:!0,flushSync:!0,currentLocation:o.currentLocation,nextLocation:o.nextLocation})});let t=r.window.document.startViewTransition(()=>{Ar(()=>i(e))});return t.finished.finally(()=>{Ar(()=>{h(void 0),p(void 0),s(void 0),c({isTransitioning:!1})})}),void Ar(()=>p(t))}f?(d&&d.resolve(),f.skipTransition(),v({state:e,currentLocation:o.currentLocation,nextLocation:o.nextLocation})):(s(e),c({isTransitioning:!0,flushSync:!1,currentLocation:o.currentLocation,nextLocation:o.nextLocation}))}else a?Ar(()=>i(e)):b(()=>i(e))},[r.window,f,d,y,b]);a.useLayoutEffect(()=>r.subscribe(w),[r,w]),a.useEffect(()=>{u.isTransitioning&&!u.flushSync&&h(new _r)},[u]),a.useEffect(()=>{if(d&&l&&r.window){let e=l,t=d.promise,n=r.window.document.startViewTransition(async()=>{b(()=>i(e)),await t});n.finished.finally(()=>{h(void 0),p(void 0),s(void 0),c({isTransitioning:!1})}),p(n)}},[b,l,d,r.window]),a.useEffect(()=>{d&&l&&o.location.key===l.location.key&&d.resolve()},[d,f,o.location,l]),a.useEffect(()=>{!u.isTransitioning&&m&&(s(m.state),c({isTransitioning:!0,flushSync:!1,currentLocation:m.currentLocation,nextLocation:m.nextLocation}),v(void 0))},[u.isTransitioning,m]),a.useEffect(()=>{},[]);let E=a.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||"/",R=a.useMemo(()=>({router:r,navigator:E,static:!1,basename:S}),[r,E,S]),x=a.useMemo(()=>({v7_relativeSplatPath:r.future.v7_relativeSplatPath}),[r.future.v7_relativeSplatPath]);return a.useEffect(()=>Jt(n,r.future),[n,r.future]),a.createElement(a.Fragment,null,a.createElement(nt.Provider,{value:R},a.createElement(at.Provider,{value:o},a.createElement(Lr.Provider,{value:y.current},a.createElement(Cr.Provider,{value:u},a.createElement(Zt,{basename:S,location:o.location,navigationType:o.historyAction,navigator:E,future:x},o.initialized||r.future.v7_partialHydration?a.createElement(Mr,{routes:r.routes,future:r.future,state:o}):t))))),null)}const Mr=a.memo(jr);function jr(e){let{routes:t,future:r,state:n}=e;return Rt(t,void 0,n,r)}function Or(e){let{basename:t,children:r,future:n,window:o}=e,i=a.useRef();null==i.current&&(i.current=d({window:o,v5Compat:!0}));let l=i.current,[s,u]=a.useState({action:l.action,location:l.location}),{v7_startTransition:c}=n||{},h=a.useCallback(e=>{c&&Pr?Pr(()=>u(e)):u(e)},[u,c]);return a.useLayoutEffect(()=>l.listen(h),[l,h]),a.useEffect(()=>Jt(n),[n]),a.createElement(Zt,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:l,future:n})}function Fr(e){let{basename:t,children:r,future:n,window:o}=e,i=a.useRef();null==i.current&&(i.current=h({window:o,v5Compat:!0}));let l=i.current,[s,u]=a.useState({action:l.action,location:l.location}),{v7_startTransition:c}=n||{},d=a.useCallback(e=>{c&&Pr?Pr(()=>u(e)):u(e)},[u,c]);return a.useLayoutEffect(()=>l.listen(d),[l,d]),a.useEffect(()=>Jt(n),[n]),a.createElement(Zt,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:l,future:n})}function Nr(e){let{basename:t,children:r,future:n,history:o}=e,[i,l]=a.useState({action:o.action,location:o.location}),{v7_startTransition:s}=n||{},u=a.useCallback(e=>{s&&Pr?Pr(()=>l(e)):l(e)},[l,s]);return a.useLayoutEffect(()=>o.listen(u),[o,u]),a.useEffect(()=>Jt(n),[n]),a.createElement(Zt,{basename:t,children:r,location:i.location,navigationType:i.action,navigator:o,future:n})}const Br="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,Ir=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,zr=a.forwardRef(function(e,t){let r,{onClick:n,relative:o,reloadDocument:i,replace:l,state:s,target:u,to:c,preventScrollReset:d,viewTransition:h}=e,f=dr(e,br),{basename:p}=a.useContext(it),m=!1;if("string"==typeof c&&Ir.test(c)&&(r=c,Br))try{let e=new URL(window.location.href),t=c.startsWith("//")?new URL(e.protocol+c):new URL(c),r=j(t.pathname,p);t.origin===e.origin&&null!=r?c=r+t.search+t.hash:m=!0}catch(e){}let v=ct(c,{relative:o}),y=Yr(c,{replace:l,state:s,target:u,preventScrollReset:d,relative:o,viewTransition:h});return a.createElement("a",cr({},f,{href:r||v,onClick:m||i?n:function(e){n&&n(e),e.defaultPrevented||y(e)},ref:t,target:u}))}),Hr=a.forwardRef(function(e,t){let{"aria-current":r="page",caseSensitive:n=!1,className:o="",end:i=!1,style:l,to:s,viewTransition:u,children:c}=e,d=dr(e,wr),h=Et(s,{relative:d.relative}),f=ht(),p=a.useContext(at),{navigator:m,basename:v}=a.useContext(it),y=null!=p&&un(h)&&!0===u,g=m.encodeLocation?m.encodeLocation(h).pathname:h.pathname,b=f.pathname,w=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;n||(b=b.toLowerCase(),w=w?w.toLowerCase():null,g=g.toLowerCase()),w&&v&&(w=j(w,v)||w);const E="/"!==g&&g.endsWith("/")?g.length-1:g.length;let S,R=b===g||!i&&b.startsWith(g)&&"/"===b.charAt(E),x=null!=w&&(w===g||!i&&w.startsWith(g)&&"/"===w.charAt(g.length)),D={isActive:R,isPending:x,isTransitioning:y},C=R?r:void 0;S="function"==typeof o?o(D):[o,R?"active":null,x?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let L="function"==typeof l?l(D):l;return a.createElement(zr,cr({},d,{"aria-current":C,className:S,ref:t,style:L,to:s,viewTransition:u}),"function"==typeof c?c(D):c)}),Wr=a.forwardRef((e,t)=>{let{fetcherKey:r,navigate:n,reloadDocument:o,replace:i,state:l,method:s=hr,action:u,onSubmit:c,relative:d,preventScrollReset:h,viewTransition:f}=e,p=dr(e,Er),m=Zr(),v=en(u,{relative:d}),y="get"===s.toLowerCase()?"get":"post";return a.createElement("form",cr({ref:t,method:y,action:v,onSubmit:o?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;m(t||e.currentTarget,{fetcherKey:r,method:a,navigate:n,replace:i,state:l,relative:d,preventScrollReset:h,viewTransition:f})}},p))});function Kr(e){let{getKey:t,storageKey:r}=e;return on({getKey:t,storageKey:r}),null}var $r,Vr;function Jr(e){let t=a.useContext(nt);return t||f(!1),t}function qr(e){let t=a.useContext(at);return t||f(!1),t}function Yr(e,t){let{target:r,replace:n,state:o,preventScrollReset:i,relative:l,viewTransition:s}=void 0===t?{}:t,u=vt(),c=ht(),d=Et(e,{relative:l});return a.useCallback(t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,r)){t.preventDefault();let r=void 0!==n?n:y(c)===y(d);u(e,{replace:r,state:o,preventScrollReset:i,relative:l,viewTransition:s})}},[c,u,d,n,o,r,e,i,l,s])}function Xr(e){let t=a.useRef(mr(e)),r=a.useRef(!1),n=ht(),o=a.useMemo(()=>function(e,t){let r=mr(e);return t&&t.forEach((e,n)=>{r.has(n)||t.getAll(n).forEach(e=>{r.append(n,e)})}),r}(n.search,r.current?null:t.current),[n.search]),i=vt(),l=a.useCallback((e,t)=>{const n=mr("function"==typeof e?e(o):e);r.current=!0,i("?"+n,t)},[i,o]);return[o,l]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})($r||($r={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Vr||(Vr={}));let Gr=0,Qr=()=>"__"+String(++Gr)+"__";function Zr(){let{router:e}=Jr($r.UseSubmit),{basename:t}=a.useContext(it),r=Mt();return a.useCallback(function(n,a){void 0===a&&(a={}),function(){if("undefined"==typeof document)throw new 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(pr(l=e)&&"form"===l.tagName.toLowerCase()){let i=e.getAttribute("action");n=i?j(i,t):null,r=e.getAttribute("method")||hr,a=gr(e.getAttribute("enctype"))||fr,o=new FormData(e)}else if(function(e){return pr(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return pr(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||i.getAttribute("action");if(n=l?j(l,t):null,r=e.getAttribute("formmethod")||i.getAttribute("method")||hr,a=gr(e.getAttribute("formenctype"))||gr(i.getAttribute("enctype"))||fr,o=new FormData(i,e),!function(){if(null===vr)try{new FormData(document.createElement("form"),0),vr=!1}catch(e){vr=!0}return vr}()){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(pr(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=hr,n=null,a=fr,i=e}var l;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||Qr();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 en(e,t){let{relative:r}=void 0===t?{}:t,{basename:n}=a.useContext(it),o=a.useContext(st);o||f(!1);let[i]=o.matches.slice(-1),l=cr({},Et(e||".",{relative:r})),s=ht();if(null==e){l.search=s.search;let e=new URLSearchParams(l.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();l.search=r?"?"+r:""}}return e&&"."!==e||!i.route.index||(l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index"),"/"!==n&&(l.pathname="/"===l.pathname?n:W([n,l.pathname])),y(l)}function tn(e){var t;let{key:r}=void 0===e?{}:e,{router:n}=Jr($r.UseFetcher),o=qr(Vr.UseFetcher),i=a.useContext(Lr),l=a.useContext(st),s=null==(t=l.matches[l.matches.length-1])?void 0:t.route.id;i||f(!1),l||f(!1),null==s&&f(!1);let u=Tr?Tr():"",[c,d]=a.useState(r||u);r&&r!==c?d(r):c||d(Qr()),a.useEffect(()=>(n.getFetcher(c),()=>{n.deleteFetcher(c)}),[n,c]);let h=a.useCallback((e,t)=>{s||f(!1),n.fetch(c,s,e,t)},[c,s,n]),p=Zr(),m=a.useCallback((e,t)=>{p(e,cr({},t,{navigate:!1,fetcherKey:c}))},[c,p]),v=a.useMemo(()=>a.forwardRef((e,t)=>a.createElement(Wr,cr({},e,{navigate:!1,fetcherKey:c,ref:t}))),[c]),y=o.fetchers.get(c)||ce,g=i.get(c);return a.useMemo(()=>cr({Form:v,submit:m,load:h},y,{data:g}),[v,m,h,y,g])}function rn(){let e=qr(Vr.UseFetchers);return Array.from(e.fetchers.entries()).map(e=>{let[t,r]=e;return cr({},r,{key:t})})}const nn="react-router-scroll-positions";let an={};function on(e){let{getKey:t,storageKey:r}=void 0===e?{}:e,{router:n}=Jr($r.UseScrollRestoration),{restoreScrollPosition:o,preventScrollReset:i}=qr(Vr.UseScrollRestoration),{basename:l}=a.useContext(it),s=ht(),u=Ft(),c=jt();a.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),function(e){let{capture:t}={};a.useEffect(()=>{let r=null!=t?{capture:t}:void 0;return window.addEventListener("pagehide",e,r),()=>{window.removeEventListener("pagehide",e,r)}},[e,t])}(a.useCallback(()=>{if("idle"===c.state){let e=(t?t(s,u):null)||s.key;an[e]=window.scrollY}try{sessionStorage.setItem(r||nn,JSON.stringify(an))}catch(e){}window.history.scrollRestoration="auto"},[r,t,c.state,s,u])),"undefined"!=typeof document&&(a.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(r||nn);e&&(an=JSON.parse(e))}catch(e){}},[r]),a.useLayoutEffect(()=>{let e=t&&"/"!==l?(e,r)=>t(cr({},e,{pathname:j(e.pathname,l)||e.pathname}),r):t,r=null==n?void 0:n.enableScrollRestoration(an,()=>window.scrollY,e);return()=>r&&r()},[n,l,t]),a.useLayoutEffect(()=>{if(!1!==o)if("number"!=typeof o){if(s.hash){let e=document.getElementById(decodeURIComponent(s.hash.slice(1)));if(e)return void e.scrollIntoView()}!0!==i&&window.scrollTo(0,0)}else window.scrollTo(0,o)},[s,o,i]))}function ln(e,t){let{capture:r}=t||{};a.useEffect(()=>{let t=null!=r?{capture:r}:void 0;return window.addEventListener("beforeunload",e,t),()=>{window.removeEventListener("beforeunload",e,t)}},[e,r])}function sn(e){let{when:t,message:r}=e,n=$t(t);a.useEffect(()=>{"blocked"===n.state&&(window.confirm(r)?setTimeout(n.proceed,0):n.reset())},[n,r]),a.useEffect(()=>{"blocked"!==n.state||t||n.reset()},[n,t])}function un(e,t){void 0===t&&(t={});let r=a.useContext(Cr);null==r&&f(!1);let{basename:n}=Jr($r.useViewTransitionState),o=Et(e,{relative:t.relative});if(!r.isTransitioning)return!1;let i=j(r.currentLocation.pathname,n)||r.currentLocation.pathname,l=j(r.nextLocation.pathname,n)||r.nextLocation.pathname;return null!=U(o.pathname,l)||null!=U(o.pathname,i)}}}]);
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @remix-run/router v1.23.2
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) Remix Software Inc.
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
8
|
-
*
|
|
9
|
-
* @license MIT
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* React Router DOM v6.30.3
|
|
14
|
-
*
|
|
15
|
-
* Copyright (c) Remix Software Inc.
|
|
16
|
-
*
|
|
17
|
-
* This source code is licensed under the MIT license found in the
|
|
18
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
19
|
-
*
|
|
20
|
-
* @license MIT
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* React Router v6.30.3
|
|
25
|
-
*
|
|
26
|
-
* Copyright (c) Remix Software Inc.
|
|
27
|
-
*
|
|
28
|
-
* This source code is licensed under the MIT license found in the
|
|
29
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
30
|
-
*
|
|
31
|
-
* @license MIT
|
|
32
|
-
*/
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 2658.add23c16.chunk.js.LICENSE.txt */
|
|
2
|
-
"use strict";(globalThis.webpackChunk_hawtio_ai_plugin=globalThis.webpackChunk_hawtio_ai_plugin||[]).push([[2658],{92658(e,t,n){n.r(t),n.d(t,{conf:()=>m,language:()=>c});var i=n(64614),r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,d=(e,t,n,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let d of a(t))s.call(e,d)||d===n||r(e,d,{get:()=>t[d],enumerable:!(i=o(t,d))||i.enumerable});return e},p={};d(p,i,"default");var l=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],m={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${l.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:p.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:p.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*\x3c!--\\s*#region\\b.*--\x3e"),end:new RegExp("^\\s*\x3c!--\\s*#endregion\\b.*--\x3e")}}},c={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}}}]);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 2686.850a32f4.chunk.js.LICENSE.txt */
|
|
2
|
-
"use strict";(globalThis.webpackChunk_hawtio_ai_plugin=globalThis.webpackChunk_hawtio_ai_plugin||[]).push([[2686],{32686(e,n,o){o.r(n),o.d(n,{conf:()=>t,language:()=>i});var t={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},i={defaultToken:"",tokenPostfix:".objective-c",keywords:["#import","#include","#define","#else","#endif","#if","#ifdef","#ifndef","#ident","#undef","@class","@defs","@dynamic","@encode","@end","@implementation","@interface","@package","@private","@protected","@property","@protocol","@public","@selector","@synthesize","__declspec","assign","auto","BOOL","break","bycopy","byref","case","char","Class","const","copy","continue","default","do","double","else","enum","extern","FALSE","false","float","for","goto","if","in","int","id","inout","IMP","long","nil","nonatomic","NULL","oneway","out","private","public","protected","readwrite","readonly","register","return","SEL","self","short","signed","sizeof","static","struct","super","switch","typedef","TRUE","true","union","unsigned","volatile","void","while"],decpart:/\d(_?\d)*/,decimal:/0|@decpart/,tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()<>]/,"@brackets"],[/[a-zA-Z@#]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[<>=\\+\\-\\*\\/\\^\\|\\~,]|and\\b|or\\b|not\\b]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[[/0[xX][0-9a-fA-F]*(_?[0-9a-fA-F])*/,"number.hex"],[/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)[fF]*/,{cases:{"(\\d)*":"number",$0:"number.float"}}]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}}}}]);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 2692.fe14cdb3.chunk.js.LICENSE.txt */
|
|
2
|
-
"use strict";(globalThis.webpackChunk_hawtio_ai_plugin=globalThis.webpackChunk_hawtio_ai_plugin||[]).push([[2692],{82692(e,s,o){o.r(s),o.d(s,{conf:()=>n,language:()=>a});var n={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},a={defaultToken:"",tokenPostfix:".dockerfile",variable:/\${?[\w]+}?/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/(ONBUILD)(\s+)/,["keyword",""]],[/(ENV)(\s+)([\w]+)/,["keyword","",{token:"variable",next:"@arguments"}]],[/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,{token:"keyword",next:"@arguments"}]],arguments:[{include:"@whitespace"},{include:"@strings"},[/(@variable)/,{cases:{"@eos":{token:"variable",next:"@popall"},"@default":"variable"}}],[/\\/,{cases:{"@eos":"","@default":""}}],[/./,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],whitespace:[[/\s+/,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],comment:[[/(^#.*$)/,"comment","@popall"]],strings:[[/\\'$/,"","@popall"],[/\\'/,""],[/'$/,"string","@popall"],[/'/,"string","@stringBody"],[/"$/,"string","@popall"],[/"/,"string","@dblStringBody"]],stringBody:[[/[^\\\$']/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/'$/,"string","@popall"],[/'/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]],dblStringBody:[[/[^\\\$"]/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/"$/,"string","@popall"],[/"/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]]}}}}]);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 2745.5a754c4c.chunk.js.LICENSE.txt */
|
|
2
|
-
"use strict";(globalThis.webpackChunk_hawtio_ai_plugin=globalThis.webpackChunk_hawtio_ai_plugin||[]).push([[2745],{52745(e,t,n){n.r(t),n.d(t,{CompletionAdapter:()=>Ot,DefinitionAdapter:()=>Jt,DiagnosticsAdapter:()=>Ut,DocumentColorAdapter:()=>cn,DocumentFormattingEditProvider:()=>an,DocumentHighlightAdapter:()=>Qt,DocumentLinkAdapter:()=>on,DocumentRangeFormattingEditProvider:()=>sn,DocumentSymbolAdapter:()=>tn,FoldingRangeAdapter:()=>dn,HoverAdapter:()=>$t,ReferenceAdapter:()=>Zt,RenameAdapter:()=>en,SelectionRangeAdapter:()=>ln,WorkerManager:()=>Ft,fromPosition:()=>Kt,fromRange:()=>Wt,setupMode:()=>gn,toRange:()=>Ht,toTextEdit:()=>zt});var r=n(64614),i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,u=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let u of a(t))s.call(e,u)||u===n||i(e,u,{get:()=>t[u],enumerable:!(r=o(t,u))||r.enumerable});return e},c={};u(c,r,"default");var d,l,g,f,h,p,m,v,b,_,k,w,y,x,I,E,C,A,S,R,L,T,M,D,P,F,j,N,U,V,O,K,W,H,X,z,$,B,q,Q,G,J,Y,Z,ee,te,ne,re,ie,oe,ae,se,ue,ce,de,le,ge,fe,he,pe,me,ve,be,_e,ke,we,ye,xe,Ie,Ee,Ce,Ae,Se,Re,Le,Te,Me,De,Pe,Fe,je,Ne,Ue,Ve,Oe,Ke,We,He,Xe,ze,$e,Be,qe,Qe,Ge,Je,Ye,Ze,et,tt,nt,rt,it,ot,at,st,ut,ct,dt,lt,gt,ft,ht,pt,mt,vt,bt,_t,kt,wt,yt,xt,It,Et,Ct,At,St,Rt,Lt,Tt,Mt,Dt,Pt,Ft=class{constructor(e){this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){this._worker&&Date.now()-this._lastUsedTime>12e4&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=c.editor.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let t;return this._getClient().then(e=>{t=e}).then(t=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(e=>t)}};(d||(d={})).is=function(e){return"string"==typeof e},(l||(l={})).is=function(e){return"string"==typeof e},(f=g||(g={})).MIN_VALUE=-2147483648,f.MAX_VALUE=2147483647,f.is=function(e){return"number"==typeof e&&f.MIN_VALUE<=e&&e<=f.MAX_VALUE},(p=h||(h={})).MIN_VALUE=0,p.MAX_VALUE=2147483647,p.is=function(e){return"number"==typeof e&&p.MIN_VALUE<=e&&e<=p.MAX_VALUE},(v=m||(m={})).create=function(e,t){return e===Number.MAX_VALUE&&(e=h.MAX_VALUE),t===Number.MAX_VALUE&&(t=h.MAX_VALUE),{line:e,character:t}},v.is=function(e){let t=e;return jt.objectLiteral(t)&&jt.uinteger(t.line)&&jt.uinteger(t.character)},(_=b||(b={})).create=function(e,t,n,r){if(jt.uinteger(e)&&jt.uinteger(t)&&jt.uinteger(n)&&jt.uinteger(r))return{start:m.create(e,t),end:m.create(n,r)};if(m.is(e)&&m.is(t))return{start:e,end:t};throw new Error(`Range#create called with invalid arguments[${e}, ${t}, ${n}, ${r}]`)},_.is=function(e){let t=e;return jt.objectLiteral(t)&&m.is(t.start)&&m.is(t.end)},(w=k||(k={})).create=function(e,t){return{uri:e,range:t}},w.is=function(e){let t=e;return jt.objectLiteral(t)&&b.is(t.range)&&(jt.string(t.uri)||jt.undefined(t.uri))},(x=y||(y={})).create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},x.is=function(e){let t=e;return jt.objectLiteral(t)&&b.is(t.targetRange)&&jt.string(t.targetUri)&&b.is(t.targetSelectionRange)&&(b.is(t.originSelectionRange)||jt.undefined(t.originSelectionRange))},(E=I||(I={})).create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},E.is=function(e){const t=e;return jt.objectLiteral(t)&&jt.numberRange(t.red,0,1)&&jt.numberRange(t.green,0,1)&&jt.numberRange(t.blue,0,1)&&jt.numberRange(t.alpha,0,1)},(A=C||(C={})).create=function(e,t){return{range:e,color:t}},A.is=function(e){const t=e;return jt.objectLiteral(t)&&b.is(t.range)&&I.is(t.color)},(R=S||(S={})).create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},R.is=function(e){const t=e;return jt.objectLiteral(t)&&jt.string(t.label)&&(jt.undefined(t.textEdit)||z.is(t))&&(jt.undefined(t.additionalTextEdits)||jt.typedArray(t.additionalTextEdits,z.is))},(T=L||(L={})).Comment="comment",T.Imports="imports",T.Region="region",(D=M||(M={})).create=function(e,t,n,r,i,o){const a={startLine:e,endLine:t};return jt.defined(n)&&(a.startCharacter=n),jt.defined(r)&&(a.endCharacter=r),jt.defined(i)&&(a.kind=i),jt.defined(o)&&(a.collapsedText=o),a},D.is=function(e){const t=e;return jt.objectLiteral(t)&&jt.uinteger(t.startLine)&&jt.uinteger(t.startLine)&&(jt.undefined(t.startCharacter)||jt.uinteger(t.startCharacter))&&(jt.undefined(t.endCharacter)||jt.uinteger(t.endCharacter))&&(jt.undefined(t.kind)||jt.string(t.kind))},(F=P||(P={})).create=function(e,t){return{location:e,message:t}},F.is=function(e){let t=e;return jt.defined(t)&&k.is(t.location)&&jt.string(t.message)},(N=j||(j={})).Error=1,N.Warning=2,N.Information=3,N.Hint=4,(V=U||(U={})).Unnecessary=1,V.Deprecated=2,(O||(O={})).is=function(e){const t=e;return jt.objectLiteral(t)&&jt.string(t.href)},(W=K||(K={})).create=function(e,t,n,r,i,o){let a={range:e,message:t};return jt.defined(n)&&(a.severity=n),jt.defined(r)&&(a.code=r),jt.defined(i)&&(a.source=i),jt.defined(o)&&(a.relatedInformation=o),a},W.is=function(e){var t;let n=e;return jt.defined(n)&&b.is(n.range)&&jt.string(n.message)&&(jt.number(n.severity)||jt.undefined(n.severity))&&(jt.integer(n.code)||jt.string(n.code)||jt.undefined(n.code))&&(jt.undefined(n.codeDescription)||jt.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(jt.string(n.source)||jt.undefined(n.source))&&(jt.undefined(n.relatedInformation)||jt.typedArray(n.relatedInformation,P.is))},(X=H||(H={})).create=function(e,t,...n){let r={title:e,command:t};return jt.defined(n)&&n.length>0&&(r.arguments=n),r},X.is=function(e){let t=e;return jt.defined(t)&&jt.string(t.title)&&jt.string(t.command)},($=z||(z={})).replace=function(e,t){return{range:e,newText:t}},$.insert=function(e,t){return{range:{start:e,end:e},newText:t}},$.del=function(e){return{range:e,newText:""}},$.is=function(e){const t=e;return jt.objectLiteral(t)&&jt.string(t.newText)&&b.is(t.range)},(q=B||(B={})).create=function(e,t,n){const r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},q.is=function(e){const t=e;return jt.objectLiteral(t)&&jt.string(t.label)&&(jt.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(jt.string(t.description)||void 0===t.description)},(Q||(Q={})).is=function(e){const t=e;return jt.string(t)},(J=G||(G={})).replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},J.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},J.del=function(e,t){return{range:e,newText:"",annotationId:t}},J.is=function(e){const t=e;return z.is(t)&&(B.is(t.annotationId)||Q.is(t.annotationId))},(Z=Y||(Y={})).create=function(e,t){return{textDocument:e,edits:t}},Z.is=function(e){let t=e;return jt.defined(t)&&le.is(t.textDocument)&&Array.isArray(t.edits)},(te=ee||(ee={})).create=function(e,t,n){let r={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},te.is=function(e){let t=e;return t&&"create"===t.kind&&jt.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||jt.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||jt.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||Q.is(t.annotationId))},(re=ne||(ne={})).create=function(e,t,n,r){let i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),void 0!==r&&(i.annotationId=r),i},re.is=function(e){let t=e;return t&&"rename"===t.kind&&jt.string(t.oldUri)&&jt.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||jt.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||jt.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||Q.is(t.annotationId))},(oe=ie||(ie={})).create=function(e,t,n){let r={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},oe.is=function(e){let t=e;return t&&"delete"===t.kind&&jt.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||jt.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||jt.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||Q.is(t.annotationId))},(ae||(ae={})).is=function(e){let t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every(e=>jt.string(e.kind)?ee.is(e)||ne.is(e)||ie.is(e):Y.is(e)))},(ue=se||(se={})).create=function(e){return{uri:e}},ue.is=function(e){let t=e;return jt.defined(t)&&jt.string(t.uri)},(de=ce||(ce={})).create=function(e,t){return{uri:e,version:t}},de.is=function(e){let t=e;return jt.defined(t)&&jt.string(t.uri)&&jt.integer(t.version)},(ge=le||(le={})).create=function(e,t){return{uri:e,version:t}},ge.is=function(e){let t=e;return jt.defined(t)&&jt.string(t.uri)&&(null===t.version||jt.integer(t.version))},(he=fe||(fe={})).create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},he.is=function(e){let t=e;return jt.defined(t)&&jt.string(t.uri)&&jt.string(t.languageId)&&jt.integer(t.version)&&jt.string(t.text)},(me=pe||(pe={})).PlainText="plaintext",me.Markdown="markdown",me.is=function(e){const t=e;return t===me.PlainText||t===me.Markdown},(ve||(ve={})).is=function(e){const t=e;return jt.objectLiteral(e)&&pe.is(t.kind)&&jt.string(t.value)},(_e=be||(be={})).Text=1,_e.Method=2,_e.Function=3,_e.Constructor=4,_e.Field=5,_e.Variable=6,_e.Class=7,_e.Interface=8,_e.Module=9,_e.Property=10,_e.Unit=11,_e.Value=12,_e.Enum=13,_e.Keyword=14,_e.Snippet=15,_e.Color=16,_e.File=17,_e.Reference=18,_e.Folder=19,_e.EnumMember=20,_e.Constant=21,_e.Struct=22,_e.Event=23,_e.Operator=24,_e.TypeParameter=25,(we=ke||(ke={})).PlainText=1,we.Snippet=2,(ye||(ye={})).Deprecated=1,(Ie=xe||(xe={})).create=function(e,t,n){return{newText:e,insert:t,replace:n}},Ie.is=function(e){const t=e;return t&&jt.string(t.newText)&&b.is(t.insert)&&b.is(t.replace)},(Ce=Ee||(Ee={})).asIs=1,Ce.adjustIndentation=2,(Ae||(Ae={})).is=function(e){const t=e;return t&&(jt.string(t.detail)||void 0===t.detail)&&(jt.string(t.description)||void 0===t.description)},(Se||(Se={})).create=function(e){return{label:e}},(Re||(Re={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(Te=Le||(Le={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},Te.is=function(e){const t=e;return jt.string(t)||jt.objectLiteral(t)&&jt.string(t.language)&&jt.string(t.value)},(Me||(Me={})).is=function(e){let t=e;return!!t&&jt.objectLiteral(t)&&(ve.is(t.contents)||Le.is(t.contents)||jt.typedArray(t.contents,Le.is))&&(void 0===e.range||b.is(e.range))},(De||(De={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(Pe||(Pe={})).create=function(e,t,...n){let r={label:e};return jt.defined(t)&&(r.documentation=t),jt.defined(n)?r.parameters=n:r.parameters=[],r},(je=Fe||(Fe={})).Text=1,je.Read=2,je.Write=3,(Ne||(Ne={})).create=function(e,t){let n={range:e};return jt.number(t)&&(n.kind=t),n},(Ve=Ue||(Ue={})).File=1,Ve.Module=2,Ve.Namespace=3,Ve.Package=4,Ve.Class=5,Ve.Method=6,Ve.Property=7,Ve.Field=8,Ve.Constructor=9,Ve.Enum=10,Ve.Interface=11,Ve.Function=12,Ve.Variable=13,Ve.Constant=14,Ve.String=15,Ve.Number=16,Ve.Boolean=17,Ve.Array=18,Ve.Object=19,Ve.Key=20,Ve.Null=21,Ve.EnumMember=22,Ve.Struct=23,Ve.Event=24,Ve.Operator=25,Ve.TypeParameter=26,(Oe||(Oe={})).Deprecated=1,(Ke||(Ke={})).create=function(e,t,n,r,i){let o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o},(We||(We={})).create=function(e,t,n,r){return void 0!==r?{name:e,kind:t,location:{uri:n,range:r}}:{name:e,kind:t,location:{uri:n}}},(Xe=He||(He={})).create=function(e,t,n,r,i,o){let a={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(a.children=o),a},Xe.is=function(e){let t=e;return t&&jt.string(t.name)&&jt.number(t.kind)&&b.is(t.range)&&b.is(t.selectionRange)&&(void 0===t.detail||jt.string(t.detail))&&(void 0===t.deprecated||jt.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))},($e=ze||(ze={})).Empty="",$e.QuickFix="quickfix",$e.Refactor="refactor",$e.RefactorExtract="refactor.extract",$e.RefactorInline="refactor.inline",$e.RefactorRewrite="refactor.rewrite",$e.Source="source",$e.SourceOrganizeImports="source.organizeImports",$e.SourceFixAll="source.fixAll",(qe=Be||(Be={})).Invoked=1,qe.Automatic=2,(Ge=Qe||(Qe={})).create=function(e,t,n){let r={diagnostics:e};return null!=t&&(r.only=t),null!=n&&(r.triggerKind=n),r},Ge.is=function(e){let t=e;return jt.defined(t)&&jt.typedArray(t.diagnostics,K.is)&&(void 0===t.only||jt.typedArray(t.only,jt.string))&&(void 0===t.triggerKind||t.triggerKind===Be.Invoked||t.triggerKind===Be.Automatic)},(Ye=Je||(Je={})).create=function(e,t,n){let r={title:e},i=!0;return"string"==typeof t?(i=!1,r.kind=t):H.is(t)?r.command=t:r.edit=t,i&&void 0!==n&&(r.kind=n),r},Ye.is=function(e){let t=e;return t&&jt.string(t.title)&&(void 0===t.diagnostics||jt.typedArray(t.diagnostics,K.is))&&(void 0===t.kind||jt.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||H.is(t.command))&&(void 0===t.isPreferred||jt.boolean(t.isPreferred))&&(void 0===t.edit||ae.is(t.edit))},(et=Ze||(Ze={})).create=function(e,t){let n={range:e};return jt.defined(t)&&(n.data=t),n},et.is=function(e){let t=e;return jt.defined(t)&&b.is(t.range)&&(jt.undefined(t.command)||H.is(t.command))},(nt=tt||(tt={})).create=function(e,t){return{tabSize:e,insertSpaces:t}},nt.is=function(e){let t=e;return jt.defined(t)&&jt.uinteger(t.tabSize)&&jt.boolean(t.insertSpaces)},(it=rt||(rt={})).create=function(e,t,n){return{range:e,target:t,data:n}},it.is=function(e){let t=e;return jt.defined(t)&&b.is(t.range)&&(jt.undefined(t.target)||jt.string(t.target))},(at=ot||(ot={})).create=function(e,t){return{range:e,parent:t}},at.is=function(e){let t=e;return jt.objectLiteral(t)&&b.is(t.range)&&(void 0===t.parent||at.is(t.parent))},(ut=st||(st={})).namespace="namespace",ut.type="type",ut.class="class",ut.enum="enum",ut.interface="interface",ut.struct="struct",ut.typeParameter="typeParameter",ut.parameter="parameter",ut.variable="variable",ut.property="property",ut.enumMember="enumMember",ut.event="event",ut.function="function",ut.method="method",ut.macro="macro",ut.keyword="keyword",ut.modifier="modifier",ut.comment="comment",ut.string="string",ut.number="number",ut.regexp="regexp",ut.operator="operator",ut.decorator="decorator",(dt=ct||(ct={})).declaration="declaration",dt.definition="definition",dt.readonly="readonly",dt.static="static",dt.deprecated="deprecated",dt.abstract="abstract",dt.async="async",dt.modification="modification",dt.documentation="documentation",dt.defaultLibrary="defaultLibrary",(lt||(lt={})).is=function(e){const t=e;return jt.objectLiteral(t)&&(void 0===t.resultId||"string"==typeof t.resultId)&&Array.isArray(t.data)&&(0===t.data.length||"number"==typeof t.data[0])},(ft=gt||(gt={})).create=function(e,t){return{range:e,text:t}},ft.is=function(e){const t=e;return null!=t&&b.is(t.range)&&jt.string(t.text)},(pt=ht||(ht={})).create=function(e,t,n){return{range:e,variableName:t,caseSensitiveLookup:n}},pt.is=function(e){const t=e;return null!=t&&b.is(t.range)&&jt.boolean(t.caseSensitiveLookup)&&(jt.string(t.variableName)||void 0===t.variableName)},(vt=mt||(mt={})).create=function(e,t){return{range:e,expression:t}},vt.is=function(e){const t=e;return null!=t&&b.is(t.range)&&(jt.string(t.expression)||void 0===t.expression)},(_t=bt||(bt={})).create=function(e,t){return{frameId:e,stoppedLocation:t}},_t.is=function(e){const t=e;return jt.defined(t)&&b.is(e.stoppedLocation)},(wt=kt||(kt={})).Type=1,wt.Parameter=2,wt.is=function(e){return 1===e||2===e},(xt=yt||(yt={})).create=function(e){return{value:e}},xt.is=function(e){const t=e;return jt.objectLiteral(t)&&(void 0===t.tooltip||jt.string(t.tooltip)||ve.is(t.tooltip))&&(void 0===t.location||k.is(t.location))&&(void 0===t.command||H.is(t.command))},(Et=It||(It={})).create=function(e,t,n){const r={position:e,label:t};return void 0!==n&&(r.kind=n),r},Et.is=function(e){const t=e;return jt.objectLiteral(t)&&m.is(t.position)&&(jt.string(t.label)||jt.typedArray(t.label,yt.is))&&(void 0===t.kind||kt.is(t.kind))&&void 0===t.textEdits||jt.typedArray(t.textEdits,z.is)&&(void 0===t.tooltip||jt.string(t.tooltip)||ve.is(t.tooltip))&&(void 0===t.paddingLeft||jt.boolean(t.paddingLeft))&&(void 0===t.paddingRight||jt.boolean(t.paddingRight))},(Ct||(Ct={})).createSnippet=function(e){return{kind:"snippet",value:e}},(At||(At={})).create=function(e,t,n,r){return{insertText:e,filterText:t,range:n,command:r}},(St||(St={})).create=function(e){return{items:e}},(Lt=Rt||(Rt={})).Invoked=0,Lt.Automatic=1,(Tt||(Tt={})).create=function(e,t){return{range:e,text:t}},(Mt||(Mt={})).create=function(e,t){return{triggerKind:e,selectedCompletionInfo:t}},(Dt||(Dt={})).is=function(e){const t=e;return jt.objectLiteral(t)&&l.is(t.uri)&&jt.string(t.name)},function(e){function t(e,n){if(e.length<=1)return e;const r=e.length/2|0,i=e.slice(0,r),o=e.slice(r);t(i,n),t(o,n);let a=0,s=0,u=0;for(;a<i.length&&s<o.length;){let t=n(i[a],o[s]);e[u++]=t<=0?i[a++]:o[s++]}for(;a<i.length;)e[u++]=i[a++];for(;s<o.length;)e[u++]=o[s++];return e}e.create=function(e,t,n,r){return new Nt(e,t,n,r)},e.is=function(e){let t=e;return!!(jt.defined(t)&&jt.string(t.uri)&&(jt.undefined(t.languageId)||jt.string(t.languageId))&&jt.uinteger(t.lineCount)&&jt.func(t.getText)&&jt.func(t.positionAt)&&jt.func(t.offsetAt))},e.applyEdits=function(e,n){let r=e.getText(),i=t(n,(e,t)=>{let n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}),o=r.length;for(let t=i.length-1;t>=0;t--){let n=i[t],a=e.offsetAt(n.range.start),s=e.offsetAt(n.range.end);if(!(s<=o))throw new Error("Overlapping edit");r=r.substring(0,a)+n.newText+r.substring(s,r.length),o=a}return r}}(Pt||(Pt={}));var jt,Nt=class{constructor(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0}getLineOffsets(){if(void 0===this._lineOffsets){let e=[],t=this._content,n=!0;for(let r=0;r<t.length;r++){n&&(e.push(r),n=!1);let i=t.charAt(r);n="\r"===i||"\n"===i,"\r"===i&&r+1<t.length&&"\n"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return m.create(0,e);for(;n<r;){let i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}let i=n-1;return m.create(i,e-t[i])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)}get lineCount(){return this.getLineOffsets().length}};!function(e){const t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.numberRange=function(e,n,r){return"[object Number]"===t.call(e)&&n<=e&&e<=r},e.integer=function(e){return"[object Number]"===t.call(e)&&-2147483648<=e&&e<=2147483647},e.uinteger=function(e){return"[object Number]"===t.call(e)&&0<=e&&e<=2147483647},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(jt||(jt={}));var Ut=class{constructor(e,t,n){this._languageId=e,this._worker=t,this._disposables=[],this._listener=Object.create(null);const r=e=>{let t,n=e.getLanguageId();n===this._languageId&&(this._listener[e.uri.toString()]=e.onDidChangeContent(()=>{window.clearTimeout(t),t=window.setTimeout(()=>this._doValidate(e.uri,n),500)}),this._doValidate(e.uri,n))},i=e=>{c.editor.setModelMarkers(e,this._languageId,[]);let t=e.uri.toString(),n=this._listener[t];n&&(n.dispose(),delete this._listener[t])};this._disposables.push(c.editor.onDidCreateModel(r)),this._disposables.push(c.editor.onWillDisposeModel(i)),this._disposables.push(c.editor.onDidChangeModelLanguage(e=>{i(e.model),r(e.model)})),this._disposables.push(n(e=>{c.editor.getModels().forEach(e=>{e.getLanguageId()===this._languageId&&(i(e),r(e))})})),this._disposables.push({dispose:()=>{c.editor.getModels().forEach(i);for(let e in this._listener)this._listener[e].dispose()}}),c.editor.getModels().forEach(r)}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,t){this._worker(e).then(t=>t.doValidation(e.toString())).then(n=>{const r=n.map(e=>function(e,t){let n="number"==typeof t.code?String(t.code):t.code;return{severity:Vt(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:n,source:t.source}}(0,e));let i=c.editor.getModel(e);i&&i.getLanguageId()===t&&c.editor.setModelMarkers(i,t,r)}).then(void 0,e=>{console.error(e)})}};function Vt(e){switch(e){case j.Error:return c.MarkerSeverity.Error;case j.Warning:return c.MarkerSeverity.Warning;case j.Information:return c.MarkerSeverity.Info;case j.Hint:return c.MarkerSeverity.Hint;default:return c.MarkerSeverity.Info}}var Ot=class{constructor(e,t){this._worker=e,this._triggerCharacters=t}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,t,n,r){const i=e.uri;return this._worker(i).then(e=>e.doComplete(i.toString(),Kt(t))).then(n=>{if(!n)return;const r=e.getWordUntilPosition(t),i=new c.Range(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn),o=n.items.map(e=>{const t={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,command:(n=e.command,n&&"editor.action.triggerSuggest"===n.command?{id:n.command,title:n.title,arguments:n.arguments}:void 0),range:i,kind:Xt(e.kind)};var n,r;return e.textEdit&&(void 0!==(r=e.textEdit).insert&&void 0!==r.replace?t.range={insert:Ht(e.textEdit.insert),replace:Ht(e.textEdit.replace)}:t.range=Ht(e.textEdit.range),t.insertText=e.textEdit.newText),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(zt)),e.insertTextFormat===ke.Snippet&&(t.insertTextRules=c.languages.CompletionItemInsertTextRule.InsertAsSnippet),t});return{isIncomplete:n.isIncomplete,suggestions:o}})}};function Kt(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function Wt(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function Ht(e){if(e)return new c.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function Xt(e){const t=c.languages.CompletionItemKind;switch(e){case be.Text:return t.Text;case be.Method:return t.Method;case be.Function:return t.Function;case be.Constructor:return t.Constructor;case be.Field:return t.Field;case be.Variable:return t.Variable;case be.Class:return t.Class;case be.Interface:return t.Interface;case be.Module:return t.Module;case be.Property:return t.Property;case be.Unit:return t.Unit;case be.Value:return t.Value;case be.Enum:return t.Enum;case be.Keyword:return t.Keyword;case be.Snippet:return t.Snippet;case be.Color:return t.Color;case be.File:return t.File;case be.Reference:return t.Reference}return t.Property}function zt(e){if(e)return{range:Ht(e.range),text:e.newText}}var $t=class{constructor(e){this._worker=e}provideHover(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.doHover(r.toString(),Kt(t))).then(e=>{if(e)return{range:Ht(e.range),contents:qt(e.contents)}})}};function Bt(e){return"string"==typeof e?{value:e}:(t=e)&&"object"==typeof t&&"string"==typeof t.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"};var t}function qt(e){if(e)return Array.isArray(e)?e.map(Bt):[Bt(e)]}var Qt=class{constructor(e){this._worker=e}provideDocumentHighlights(e,t,n){const r=e.uri;return this._worker(r).then(e=>e.findDocumentHighlights(r.toString(),Kt(t))).then(e=>{if(e)return e.map(e=>({range:Ht(e.range),kind:Gt(e.kind)}))})}};function Gt(e){switch(e){case Fe.Read:return c.languages.DocumentHighlightKind.Read;case Fe.Write:return c.languages.DocumentHighlightKind.Write;case Fe.Text:return c.languages.DocumentHighlightKind.Text}return c.languages.DocumentHighlightKind.Text}var Jt=class{constructor(e){this._worker=e}provideDefinition(e,t,n){const r=e.uri;return this._worker(r).then(e=>e.findDefinition(r.toString(),Kt(t))).then(e=>{if(e)return[Yt(e)]})}};function Yt(e){return{uri:c.Uri.parse(e.uri),range:Ht(e.range)}}var Zt=class{constructor(e){this._worker=e}provideReferences(e,t,n,r){const i=e.uri;return this._worker(i).then(e=>e.findReferences(i.toString(),Kt(t))).then(e=>{if(e)return e.map(Yt)})}},en=class{constructor(e){this._worker=e}provideRenameEdits(e,t,n,r){const i=e.uri;return this._worker(i).then(e=>e.doRename(i.toString(),Kt(t),n)).then(e=>function(e){if(!e||!e.changes)return;let t=[];for(let n in e.changes){const r=c.Uri.parse(n);for(let i of e.changes[n])t.push({resource:r,versionId:void 0,textEdit:{range:Ht(i.range),text:i.newText}})}return{edits:t}}(e))}},tn=class{constructor(e){this._worker=e}provideDocumentSymbols(e,t){const n=e.uri;return this._worker(n).then(e=>e.findDocumentSymbols(n.toString())).then(e=>{if(e)return e.map(e=>"children"in e?nn(e):{name:e.name,detail:"",containerName:e.containerName,kind:rn(e.kind),range:Ht(e.location.range),selectionRange:Ht(e.location.range),tags:[]})})}};function nn(e){return{name:e.name,detail:e.detail??"",kind:rn(e.kind),range:Ht(e.range),selectionRange:Ht(e.selectionRange),tags:e.tags??[],children:(e.children??[]).map(e=>nn(e))}}function rn(e){let t=c.languages.SymbolKind;switch(e){case Ue.File:return t.File;case Ue.Module:return t.Module;case Ue.Namespace:return t.Namespace;case Ue.Package:return t.Package;case Ue.Class:return t.Class;case Ue.Method:return t.Method;case Ue.Property:return t.Property;case Ue.Field:return t.Field;case Ue.Constructor:return t.Constructor;case Ue.Enum:return t.Enum;case Ue.Interface:return t.Interface;case Ue.Function:return t.Function;case Ue.Variable:return t.Variable;case Ue.Constant:return t.Constant;case Ue.String:return t.String;case Ue.Number:return t.Number;case Ue.Boolean:return t.Boolean;case Ue.Array:return t.Array}return t.Function}var on=class{constructor(e){this._worker=e}provideLinks(e,t){const n=e.uri;return this._worker(n).then(e=>e.findDocumentLinks(n.toString())).then(e=>{if(e)return{links:e.map(e=>({range:Ht(e.range),url:e.target}))}})}},an=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,t,n){const r=e.uri;return this._worker(r).then(e=>e.format(r.toString(),null,un(t)).then(e=>{if(e&&0!==e.length)return e.map(zt)}))}},sn=class{constructor(e){this._worker=e,this.canFormatMultipleRanges=!1}provideDocumentRangeFormattingEdits(e,t,n,r){const i=e.uri;return this._worker(i).then(e=>e.format(i.toString(),Wt(t),un(n)).then(e=>{if(e&&0!==e.length)return e.map(zt)}))}};function un(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var cn=class{constructor(e){this._worker=e}provideDocumentColors(e,t){const n=e.uri;return this._worker(n).then(e=>e.findDocumentColors(n.toString())).then(e=>{if(e)return e.map(e=>({color:e.color,range:Ht(e.range)}))})}provideColorPresentations(e,t,n){const r=e.uri;return this._worker(r).then(e=>e.getColorPresentations(r.toString(),t.color,Wt(t.range))).then(e=>{if(e)return e.map(e=>{let t={label:e.label};return e.textEdit&&(t.textEdit=zt(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(zt)),t})})}},dn=class{constructor(e){this._worker=e}provideFoldingRanges(e,t,n){const r=e.uri;return this._worker(r).then(e=>e.getFoldingRanges(r.toString(),t)).then(e=>{if(e)return e.map(e=>{const t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case L.Comment:return c.languages.FoldingRangeKind.Comment;case L.Imports:return c.languages.FoldingRangeKind.Imports;case L.Region:return c.languages.FoldingRangeKind.Region}}(e.kind)),t})})}},ln=class{constructor(e){this._worker=e}provideSelectionRanges(e,t,n){const r=e.uri;return this._worker(r).then(e=>e.getSelectionRanges(r.toString(),t.map(Kt))).then(e=>{if(e)return e.map(e=>{const t=[];for(;e;)t.push({range:Ht(e.range)}),e=e.parent;return t})})}};function gn(e){const t=[],n=[],r=new Ft(e);t.push(r);const i=(...e)=>r.getLanguageServiceWorker(...e);return function(){const{languageId:t,modeConfiguration:r}=e;hn(n),r.completionItems&&n.push(c.languages.registerCompletionItemProvider(t,new Ot(i,["/","-",":"]))),r.hovers&&n.push(c.languages.registerHoverProvider(t,new $t(i))),r.documentHighlights&&n.push(c.languages.registerDocumentHighlightProvider(t,new Qt(i))),r.definitions&&n.push(c.languages.registerDefinitionProvider(t,new Jt(i))),r.references&&n.push(c.languages.registerReferenceProvider(t,new Zt(i))),r.documentSymbols&&n.push(c.languages.registerDocumentSymbolProvider(t,new tn(i))),r.rename&&n.push(c.languages.registerRenameProvider(t,new en(i))),r.colors&&n.push(c.languages.registerColorProvider(t,new cn(i))),r.foldingRanges&&n.push(c.languages.registerFoldingRangeProvider(t,new dn(i))),r.diagnostics&&n.push(new Ut(t,i,e.onDidChange)),r.selectionRanges&&n.push(c.languages.registerSelectionRangeProvider(t,new ln(i))),r.documentFormattingEdits&&n.push(c.languages.registerDocumentFormattingEditProvider(t,new an(i))),r.documentRangeFormattingEdits&&n.push(c.languages.registerDocumentRangeFormattingEditProvider(t,new sn(i)))}(),t.push(fn(n)),fn(t)}function fn(e){return{dispose:()=>hn(e)}}function hn(e){for(;e.length;)e.pop().dispose()}}}]);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 2815.2f5b8610.chunk.js.LICENSE.txt */
|
|
2
|
-
"use strict";(globalThis.webpackChunk_hawtio_ai_plugin=globalThis.webpackChunk_hawtio_ai_plugin||[]).push([[2815],{45196(e,t,n){n.r(t),n.d(t,{conf:()=>c,language:()=>g});var r=n(64614),i=Object.defineProperty,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,a=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of o(t))l.call(e,a)||a===n||i(e,a,{get:()=>t[a],enumerable:!(r=s(t,a))||r.enumerable});return e},p={};a(p,r,"default");var c={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"),action:{indentAction:p.languages.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},g={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","_","and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","match","nonlocal","not","or","pass","print","raise","return","try","type","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/f'{1,3}/,"string.escape","@fStringBody"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/f"{1,3}/,"string.escape","@fDblStringBody"],[/"/,"string.escape","@dblStringBody"]],fStringBody:[[/[^\\'\{\}]+$/,"string","@popall"],[/[^\\'\{\}]+/,"string"],[/\{[^\}':!=]+/,"identifier","@fStringDetail"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],fDblStringBody:[[/[^\\"\{\}]+$/,"string","@popall"],[/[^\\"\{\}]+/,"string"],[/\{[^\}':!=]+/,"identifier","@fStringDetail"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]],fStringDetail:[[/[:][^}]+/,"string"],[/[!][ars]/,"string"],[/=/,"string"],[/\}/,"identifier","@pop"]]}}}}]);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 2962.63da9472.chunk.js.LICENSE.txt */
|
|
2
|
-
"use strict";(globalThis.webpackChunk_hawtio_ai_plugin=globalThis.webpackChunk_hawtio_ai_plugin||[]).push([[2962],{42962(e,t,r){r.r(t),r.d(t,{conf:()=>n,language:()=>o});var n={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={tokenPostfix:".julia",keywords:["begin","while","if","for","try","return","break","continue","function","macro","quote","let","local","global","const","do","struct","module","baremodule","using","import","export","end","else","elseif","catch","finally","mutable","primitive","abstract","type","in","isa","where","new"],types:["LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","AbstractArray","UndefKeywordError","AbstractChannel","UndefRefError","AbstractChar","UndefVarError","AbstractDict","Union","AbstractDisplay","UnionAll","AbstractFloat","UnitRange","AbstractIrrational","Unsigned","AbstractMatrix","AbstractRange","Val","AbstractSet","Vararg","AbstractString","VecElement","AbstractUnitRange","VecOrMat","AbstractVecOrMat","Vector","AbstractVector","VersionNumber","Any","WeakKeyDict","ArgumentError","WeakRef","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError"],keywordops:["<:",">:",":","=>","...",".","->","?"],allops:/[^\w\d\s()\[\]{}"'#]+/,constants:["true","false","nothing","missing","undef","Inf","pi","NaN","π","ℯ","ans","PROGRAM_FILE","ARGS","C_NULL","VERSION","DEPOT_PATH","LOAD_PATH"],operators:["!","!=","!==","%","&","*","+","-","/","//","<","<<","<=","==","===","=>",">",">=",">>",">>>","\\","^","|","|>","~","÷","∈","∉","∋","∌","∘","√","∛","∩","∪","≈","≉","≠","≡","≢","≤","≥","⊆","⊇","⊈","⊉","⊊","⊋","⊻"],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],ident:/π|ℯ|\b(?!\d)\w+\b/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,tokenizer:{root:[[/(::)\s*|\b(isa)\s+/,"keyword","@typeanno"],[/\b(isa)(\s*\(@ident\s*,\s*)/,["keyword",{token:"",next:"@typeanno"}]],[/\b(type|struct)[ \t]+/,"keyword","@typeanno"],[/^\s*:@ident[!?]?/,"metatag"],[/(return)(\s*:@ident[!?]?)/,["keyword","metatag"]],[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/,["","metatag"]],[/:\(/,"metatag","@quote"],[/r"""/,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/raw"""/,"string.delim","@rtstring"],[/[bv]?"""/,"string.delim","@dtstring"],[/raw"/,"string.delim","@rsstring"],[/[bv]?"/,"string.delim","@dsstring"],[/(@ident)\{/,{cases:{"$1@types":{token:"type",next:"@gen"},"@default":{token:"type",next:"@gen"}}}],[/@ident[!?'']?(?=\.?\()/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"keyword.flow"}}],[/@ident[!?']?/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"identifier"}}],[/\$\w+/,"key"],[/\$\(/,"key","@paste"],[/@@@ident/,"annotation"],{include:"@whitespace"},[/'(?:@escapes|.)'/,"string.character"],[/[()\[\]{}]/,"@brackets"],[/@allops/,{cases:{"@keywordops":"keyword","@operators":"operator"}}],[/[;,]/,"delimiter"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,"number.hex"],[/0[_oO][0-7](_?[0-7])*/,"number.octal"],[/0[bB][01](_?[01])*/,"number.binary"],[/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/,"number"]],typeanno:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@gen"],[/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/,["type","keyword"]],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type","@pop"],["","","@pop"]],gen:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@push"],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type"],[/<:/,"keyword"],[/(\})(\s*<:\s*)/,["type",{token:"keyword",next:"@pop"}]],[/\}/,"type","@pop"],{include:"@root"}],quote:[[/\$\(/,"key","@paste"],[/\(/,"@brackets","@paren"],[/\)/,"metatag","@pop"],{include:"@root"}],paste:[[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@paren"],[/\)/,"key","@pop"],{include:"@root"}],paren:[[/\$\(/,"key","@paste"],[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@push"],[/\)/,"@brackets","@pop"],{include:"@root"}],sregexp:[[/^.*/,"invalid"],[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"[imsx]*/,"regexp.delim","@pop"]],tregexp:[[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"(?!"")/,"string"],[/"""[imsx]*/,"regexp.delim","@pop"]],rsstring:[[/^.*/,"invalid"],[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"/,"string.delim","@pop"]],rtstring:[[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],dsstring:[[/^.*/,"invalid"],[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string.delim","@pop"]],dtstring:[[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],interpolated:[[/\(/,{token:"",switchTo:"@interpolated_compound"}],[/[a-zA-Z_]\w*/,"identifier"],["","","@pop"]],interpolated_compound:[[/\)/,"","@pop"],{include:"@root"}],whitespace:[[/[ \t\r\n]+/,""],[/#=/,"comment","@multi_comment"],[/#.*$/,"comment"]],multi_comment:[[/#=/,"comment","@push"],[/=#/,"comment","@pop"],[/=(?!#)|#(?!=)/,"comment"],[/[^#=]+/,"comment"]]}}}}]);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/
|