From 078a438b220f003bf5c87077583e5716396f6812 Mon Sep 17 00:00:00 2001 From: markus-moser Date: Wed, 4 Dec 2024 08:09:53 +0000 Subject: [PATCH] Automatic frontend build --- .../entrypoints.json | 9 - .../manifest.json | 3 - .../entrypoints.json | 9 - .../manifest.json | 3 - .../core-dll.js | 2 - .../entrypoints.json | 12 - .../manifest.json | 1866 --------- .../105.js | 2 - .../105.js.LICENSE.txt | 16 - .../core-dll.css | 16 - .../core-dll.js.LICENSE.txt | 138 - .../entrypoints.json | 12 - .../fonts/Lato-Bold.636be8de.ttf | Bin 73332 -> 0 bytes .../fonts/Lato-Light.c7400fca.ttf | Bin 77208 -> 0 bytes .../fonts/Lato-Regular.9d883d54.ttf | Bin 75152 -> 0 bytes .../images/layers-2x.8f2c4d11.png | Bin 1259 -> 0 bytes .../images/layers.416d9136.png | Bin 696 -> 0 bytes .../images/marker-icon.2b3e1faf.png | Bin 1466 -> 0 bytes .../images/spritesheet-2x.7ea3a6d4.png | Bin 3581 -> 0 bytes .../images/spritesheet.a4e0eb7a.svg | 156 - .../images/spritesheet.ef32ea2b.png | Bin 1906 -> 0 bytes .../entrypoints.json | 9 - .../manifest.json | 3 - .../vendor.js | 2 - .../vendor.js.LICENSE.txt | 165 - .../105.js | 0 .../105.js.LICENSE.txt | 0 .../core-dll.css | 2 +- .../core-dll.js | 2 +- .../core-dll.js.LICENSE.txt | 0 .../entrypoints.json | 12 + .../fonts/Lato-Bold.636be8de.ttf | Bin .../fonts/Lato-Light.c7400fca.ttf | Bin .../fonts/Lato-Regular.9d883d54.ttf | Bin .../images/layers-2x.8f2c4d11.png | Bin .../images/layers.416d9136.png | Bin .../images/marker-icon.2b3e1faf.png | Bin .../images/spritesheet-2x.7ea3a6d4.png | Bin .../images/spritesheet.a4e0eb7a.svg | 0 .../images/spritesheet.ef32ea2b.png | Bin .../manifest.json | 3728 ++++++++--------- .../entrypoints.json | 9 + .../manifest.json | 3 + .../vendor.js | 0 .../vendor.js.LICENSE.txt | 0 .../entrypoints.json | 9 - .../main.js | 2 - .../main.js.LICENSE.txt | 16 - .../manifest.json | 3 - .../entrypoints.json | 9 + .../main.js | 0 .../main.js.LICENSE.txt | 0 .../manifest.json | 3 + 53 files changed, 1902 insertions(+), 4319 deletions(-) delete mode 100644 public/build/10b875a4-86c3-4bfa-8e61-89f4586a754a/entrypoints.json delete mode 100644 public/build/10b875a4-86c3-4bfa-8e61-89f4586a754a/manifest.json delete mode 100644 public/build/488b5fcd-f206-4a97-b564-efc7fc3b4ee4/entrypoints.json delete mode 100644 public/build/488b5fcd-f206-4a97-b564-efc7fc3b4ee4/manifest.json delete mode 100644 public/build/4bc53ba4-d3df-4918-9012-fcbcd2d16163/core-dll.js delete mode 100644 public/build/4bc53ba4-d3df-4918-9012-fcbcd2d16163/entrypoints.json delete mode 100644 public/build/4bc53ba4-d3df-4918-9012-fcbcd2d16163/manifest.json delete mode 100644 public/build/7372f59b-fd64-44a7-b1f1-3853260d3e38/105.js delete mode 100644 public/build/7372f59b-fd64-44a7-b1f1-3853260d3e38/105.js.LICENSE.txt delete mode 100644 public/build/7372f59b-fd64-44a7-b1f1-3853260d3e38/core-dll.css delete mode 100644 public/build/7372f59b-fd64-44a7-b1f1-3853260d3e38/core-dll.js.LICENSE.txt delete mode 100644 public/build/7372f59b-fd64-44a7-b1f1-3853260d3e38/entrypoints.json delete mode 100644 public/build/7372f59b-fd64-44a7-b1f1-3853260d3e38/fonts/Lato-Bold.636be8de.ttf delete mode 100644 public/build/7372f59b-fd64-44a7-b1f1-3853260d3e38/fonts/Lato-Light.c7400fca.ttf delete mode 100644 public/build/7372f59b-fd64-44a7-b1f1-3853260d3e38/fonts/Lato-Regular.9d883d54.ttf delete mode 100644 public/build/7372f59b-fd64-44a7-b1f1-3853260d3e38/images/layers-2x.8f2c4d11.png delete mode 100644 public/build/7372f59b-fd64-44a7-b1f1-3853260d3e38/images/layers.416d9136.png delete mode 100644 public/build/7372f59b-fd64-44a7-b1f1-3853260d3e38/images/marker-icon.2b3e1faf.png delete mode 100644 public/build/7372f59b-fd64-44a7-b1f1-3853260d3e38/images/spritesheet-2x.7ea3a6d4.png delete mode 100644 public/build/7372f59b-fd64-44a7-b1f1-3853260d3e38/images/spritesheet.a4e0eb7a.svg delete mode 100644 public/build/7372f59b-fd64-44a7-b1f1-3853260d3e38/images/spritesheet.ef32ea2b.png delete mode 100644 public/build/8a3663f4-4061-470e-a18f-b9f29e99b652/entrypoints.json delete mode 100644 public/build/8a3663f4-4061-470e-a18f-b9f29e99b652/manifest.json delete mode 100644 public/build/8a3663f4-4061-470e-a18f-b9f29e99b652/vendor.js delete mode 100644 public/build/8a3663f4-4061-470e-a18f-b9f29e99b652/vendor.js.LICENSE.txt rename public/build/{4bc53ba4-d3df-4918-9012-fcbcd2d16163 => 9a1555cb-999d-4cd7-8c43-8a9063dbea91}/105.js (100%) rename public/build/{4bc53ba4-d3df-4918-9012-fcbcd2d16163 => 9a1555cb-999d-4cd7-8c43-8a9063dbea91}/105.js.LICENSE.txt (100%) rename public/build/{4bc53ba4-d3df-4918-9012-fcbcd2d16163 => 9a1555cb-999d-4cd7-8c43-8a9063dbea91}/core-dll.css (96%) rename public/build/{7372f59b-fd64-44a7-b1f1-3853260d3e38 => 9a1555cb-999d-4cd7-8c43-8a9063dbea91}/core-dll.js (99%) rename public/build/{4bc53ba4-d3df-4918-9012-fcbcd2d16163 => 9a1555cb-999d-4cd7-8c43-8a9063dbea91}/core-dll.js.LICENSE.txt (100%) create mode 100644 public/build/9a1555cb-999d-4cd7-8c43-8a9063dbea91/entrypoints.json rename public/build/{4bc53ba4-d3df-4918-9012-fcbcd2d16163 => 9a1555cb-999d-4cd7-8c43-8a9063dbea91}/fonts/Lato-Bold.636be8de.ttf (100%) rename public/build/{4bc53ba4-d3df-4918-9012-fcbcd2d16163 => 9a1555cb-999d-4cd7-8c43-8a9063dbea91}/fonts/Lato-Light.c7400fca.ttf (100%) rename public/build/{4bc53ba4-d3df-4918-9012-fcbcd2d16163 => 9a1555cb-999d-4cd7-8c43-8a9063dbea91}/fonts/Lato-Regular.9d883d54.ttf (100%) rename public/build/{4bc53ba4-d3df-4918-9012-fcbcd2d16163 => 9a1555cb-999d-4cd7-8c43-8a9063dbea91}/images/layers-2x.8f2c4d11.png (100%) rename public/build/{4bc53ba4-d3df-4918-9012-fcbcd2d16163 => 9a1555cb-999d-4cd7-8c43-8a9063dbea91}/images/layers.416d9136.png (100%) rename public/build/{4bc53ba4-d3df-4918-9012-fcbcd2d16163 => 9a1555cb-999d-4cd7-8c43-8a9063dbea91}/images/marker-icon.2b3e1faf.png (100%) rename public/build/{4bc53ba4-d3df-4918-9012-fcbcd2d16163 => 9a1555cb-999d-4cd7-8c43-8a9063dbea91}/images/spritesheet-2x.7ea3a6d4.png (100%) rename public/build/{4bc53ba4-d3df-4918-9012-fcbcd2d16163 => 9a1555cb-999d-4cd7-8c43-8a9063dbea91}/images/spritesheet.a4e0eb7a.svg (100%) rename public/build/{4bc53ba4-d3df-4918-9012-fcbcd2d16163 => 9a1555cb-999d-4cd7-8c43-8a9063dbea91}/images/spritesheet.ef32ea2b.png (100%) rename public/build/{7372f59b-fd64-44a7-b1f1-3853260d3e38 => 9a1555cb-999d-4cd7-8c43-8a9063dbea91}/manifest.json (55%) create mode 100644 public/build/ba116efb-d1bb-417d-9cb5-5ba944b92969/entrypoints.json create mode 100644 public/build/ba116efb-d1bb-417d-9cb5-5ba944b92969/manifest.json rename public/build/{10b875a4-86c3-4bfa-8e61-89f4586a754a => ba116efb-d1bb-417d-9cb5-5ba944b92969}/vendor.js (100%) rename public/build/{10b875a4-86c3-4bfa-8e61-89f4586a754a => ba116efb-d1bb-417d-9cb5-5ba944b92969}/vendor.js.LICENSE.txt (100%) delete mode 100644 public/build/bb72eece-911b-4934-b29f-8c45e1e9a35e/entrypoints.json delete mode 100644 public/build/bb72eece-911b-4934-b29f-8c45e1e9a35e/main.js delete mode 100644 public/build/bb72eece-911b-4934-b29f-8c45e1e9a35e/main.js.LICENSE.txt delete mode 100644 public/build/bb72eece-911b-4934-b29f-8c45e1e9a35e/manifest.json create mode 100644 public/build/de91caae-bb9d-4466-bcfe-a01cf47d8489/entrypoints.json rename public/build/{488b5fcd-f206-4a97-b564-efc7fc3b4ee4 => de91caae-bb9d-4466-bcfe-a01cf47d8489}/main.js (100%) rename public/build/{488b5fcd-f206-4a97-b564-efc7fc3b4ee4 => de91caae-bb9d-4466-bcfe-a01cf47d8489}/main.js.LICENSE.txt (100%) create mode 100644 public/build/de91caae-bb9d-4466-bcfe-a01cf47d8489/manifest.json diff --git a/public/build/10b875a4-86c3-4bfa-8e61-89f4586a754a/entrypoints.json b/public/build/10b875a4-86c3-4bfa-8e61-89f4586a754a/entrypoints.json deleted file mode 100644 index d3b4a159c..000000000 --- a/public/build/10b875a4-86c3-4bfa-8e61-89f4586a754a/entrypoints.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "entrypoints": { - "vendor": { - "js": [ - "/bundles/pimcorestudioui/build/10b875a4-86c3-4bfa-8e61-89f4586a754a/vendor.js" - ] - } - } -} \ No newline at end of file diff --git a/public/build/10b875a4-86c3-4bfa-8e61-89f4586a754a/manifest.json b/public/build/10b875a4-86c3-4bfa-8e61-89f4586a754a/manifest.json deleted file mode 100644 index 6f377ef60..000000000 --- a/public/build/10b875a4-86c3-4bfa-8e61-89f4586a754a/manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "bundles/pimcorestudioui/build/10b875a4-86c3-4bfa-8e61-89f4586a754a/vendor.js": "/bundles/pimcorestudioui/build/10b875a4-86c3-4bfa-8e61-89f4586a754a/vendor.js" -} \ No newline at end of file diff --git a/public/build/488b5fcd-f206-4a97-b564-efc7fc3b4ee4/entrypoints.json b/public/build/488b5fcd-f206-4a97-b564-efc7fc3b4ee4/entrypoints.json deleted file mode 100644 index 808c0820f..000000000 --- a/public/build/488b5fcd-f206-4a97-b564-efc7fc3b4ee4/entrypoints.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "entrypoints": { - "main": { - "js": [ - "/bundles/pimcorestudioui/build/488b5fcd-f206-4a97-b564-efc7fc3b4ee4/main.js" - ] - } - } -} \ No newline at end of file diff --git a/public/build/488b5fcd-f206-4a97-b564-efc7fc3b4ee4/manifest.json b/public/build/488b5fcd-f206-4a97-b564-efc7fc3b4ee4/manifest.json deleted file mode 100644 index ba5df8b6b..000000000 --- a/public/build/488b5fcd-f206-4a97-b564-efc7fc3b4ee4/manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "bundles/pimcorestudioui/build/488b5fcd-f206-4a97-b564-efc7fc3b4ee4/main.js": "/bundles/pimcorestudioui/build/488b5fcd-f206-4a97-b564-efc7fc3b4ee4/main.js" -} \ No newline at end of file diff --git a/public/build/4bc53ba4-d3df-4918-9012-fcbcd2d16163/core-dll.js b/public/build/4bc53ba4-d3df-4918-9012-fcbcd2d16163/core-dll.js deleted file mode 100644 index 796c18057..000000000 --- a/public/build/4bc53ba4-d3df-4918-9012-fcbcd2d16163/core-dll.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see core-dll.js.LICENSE.txt */ -var studio_core;(()=>{var e,t,r,n,o,i,a,s,l={79752:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>g});var n=r(41191),o=2,i=.16,a=.05,s=.05,l=.15,c=5,u=4,f=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function d(e){var t=e.r,r=e.g,o=e.b,i=(0,n.rgbToHsv)(t,r,o);return{h:360*i.h,s:i.s,v:i.v}}function p(e){var t=e.r,r=e.g,o=e.b;return"#".concat((0,n.rgbToHex)(t,r,o,!1))}function h(e,t,r){var n;return(n=Math.round(e.h)>=60&&Math.round(e.h)<=240?r?Math.round(e.h)-o*t:Math.round(e.h)+o*t:r?Math.round(e.h)+o*t:Math.round(e.h)-o*t)<0?n+=360:n>=360&&(n-=360),n}function m(e,t,r){return 0===e.h&&0===e.s?e.s:((n=r?e.s-i*t:t===u?e.s+i:e.s+a*t)>1&&(n=1),r&&t===c&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2)));var n}function y(e,t,r){var n;return(n=r?e.v+s*t:e.v-l*t)>1&&(n=1),Number(n.toFixed(2))}function g(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[],o=(0,n.inputToRGB)(e),i=c;i>0;i-=1){var a=d(o),s=p((0,n.inputToRGB)({h:h(a,i,!0),s:m(a,i,!0),v:y(a,i,!0)}));r.push(s)}r.push(p(o));for(var l=1;l<=u;l+=1){var g=d(o),v=p((0,n.inputToRGB)({h:h(g,l),s:m(g,l),v:y(g,l)}));r.push(v)}return"dark"===t.theme?f.map((function(e){var o,i,a,s=e.index,l=e.opacity;return p((o=(0,n.inputToRGB)(t.backgroundColor||"#141414"),i=(0,n.inputToRGB)(r[s]),a=100*l/100,{r:(i.r-o.r)*a+o.r,g:(i.g-o.g)*a+o.g,b:(i.b-o.b)*a+o.b}))})):r}},11305:(e,t,r)=>{"use strict";r.r(t),r.d(t,{blue:()=>o.blue,blueDark:()=>o.blueDark,cyan:()=>o.cyan,cyanDark:()=>o.cyanDark,geekblue:()=>o.geekblue,geekblueDark:()=>o.geekblueDark,generate:()=>n.default,gold:()=>o.gold,goldDark:()=>o.goldDark,gray:()=>o.gray,green:()=>o.green,greenDark:()=>o.greenDark,grey:()=>o.grey,greyDark:()=>o.greyDark,lime:()=>o.lime,limeDark:()=>o.limeDark,magenta:()=>o.magenta,magentaDark:()=>o.magentaDark,orange:()=>o.orange,orangeDark:()=>o.orangeDark,presetDarkPalettes:()=>o.presetDarkPalettes,presetPalettes:()=>o.presetPalettes,presetPrimaryColors:()=>o.presetPrimaryColors,purple:()=>o.purple,purpleDark:()=>o.purpleDark,red:()=>o.red,redDark:()=>o.redDark,volcano:()=>o.volcano,volcanoDark:()=>o.volcanoDark,yellow:()=>o.yellow,yellowDark:()=>o.yellowDark});var n=r(79752),o=r(78897);r(89010)},78897:(e,t,r)=>{"use strict";r.r(t),r.d(t,{blue:()=>d,blueDark:()=>T,cyan:()=>f,cyanDark:()=>P,geekblue:()=>p,geekblueDark:()=>j,gold:()=>s,goldDark:()=>S,gray:()=>g,green:()=>u,greenDark:()=>_,grey:()=>y,greyDark:()=>A,lime:()=>c,limeDark:()=>E,magenta:()=>m,magentaDark:()=>k,orange:()=>a,orangeDark:()=>w,presetDarkPalettes:()=>D,presetPalettes:()=>v,presetPrimaryColors:()=>n,purple:()=>h,purpleDark:()=>C,red:()=>o,redDark:()=>b,volcano:()=>i,volcanoDark:()=>O,yellow:()=>l,yellowDark:()=>x});var n={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},o=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];o.primary=o[5];var i=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];i.primary=i[5];var a=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];a.primary=a[5];var s=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];s.primary=s[5];var l=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];l.primary=l[5];var c=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];c.primary=c[5];var u=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];u.primary=u[5];var f=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];f.primary=f[5];var d=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];d.primary=d[5];var p=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];p.primary=p[5];var h=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];h.primary=h[5];var m=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];m.primary=m[5];var y=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];y.primary=y[5];var g=y,v={red:o,volcano:i,orange:a,gold:s,yellow:l,lime:c,green:u,cyan:f,blue:d,geekblue:p,purple:h,magenta:m,grey:y},b=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];b.primary=b[5];var O=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];O.primary=O[5];var w=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];w.primary=w[5];var S=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];S.primary=S[5];var x=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];x.primary=x[5];var E=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];E.primary=E[5];var _=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];_.primary=_[5];var P=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];P.primary=P[5];var T=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];T.primary=T[5];var j=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];j.primary=j[5];var C=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];C.primary=C[5];var k=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];k.primary=k[5];var A=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];A.primary=A[5];var D={red:b,volcano:O,orange:w,gold:S,yellow:x,lime:E,green:_,cyan:P,blue:T,geekblue:j,purple:C,magenta:k,grey:A}},89010:(e,t,r)=>{"use strict";r.r(t)},20077:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(71002),o=r(15671),i=r(43144),a=r(4942),s=r(36198),l=new(function(){function e(){(0,o.default)(this,e),(0,a.default)(this,"map",new Map),(0,a.default)(this,"objectIDMap",new WeakMap),(0,a.default)(this,"nextID",0),(0,a.default)(this,"lastAccessBeat",new Map),(0,a.default)(this,"accessBeat",0)}return(0,i.default)(e,[{key:"set",value:function(e,t){this.clear();var r=this.getCompositeKey(e);this.map.set(r,t),this.lastAccessBeat.set(r,Date.now())}},{key:"get",value:function(e){var t=this.getCompositeKey(e),r=this.map.get(t);return this.lastAccessBeat.set(t,Date.now()),this.accessBeat+=1,r}},{key:"getCompositeKey",value:function(e){var t=this;return e.map((function(e){return e&&"object"===(0,n.default)(e)?"obj_".concat(t.getObjectID(e)):"".concat((0,n.default)(e),"_").concat(e)})).join("|")}},{key:"getObjectID",value:function(e){if(this.objectIDMap.has(e))return this.objectIDMap.get(e);var t=this.nextID;return this.objectIDMap.set(e,t),this.nextID+=1,t}},{key:"clear",value:function(){var e=this;if(this.accessBeat>1e4){var t=Date.now();this.lastAccessBeat.forEach((function(r,n){t-r>6e5&&(e.map.delete(n),e.lastAccessBeat.delete(n))})),this.accessBeat=0}}}]),e}());const c=function(e,t){return s.useMemo((function(){var r=l.get(t);if(r)return r;var n=e();return l.set(t,n),n}),t)}},81291:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=function(){return{}}},90506:(e,t,r)=>{"use strict";r.r(t),r.d(t,{genCalc:()=>o.default,genStyleUtils:()=>n.default,mergeToken:()=>i.merge,statistic:()=>i.statistic,statisticToken:()=>i.default});var n=r(99981),o=r(18441),i=r(50952)},78964:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(71002),o=r(15671),i=r(43144),a=r(97326),s=r(60136),l=r(29388),c=r(4942),u=r(14406),f="CALC_UNIT",d=new RegExp(f,"g");function p(e){return"number"==typeof e?"".concat(e).concat(f):e}var h=function(e){(0,s.default)(r,e);var t=(0,l.default)(r);function r(e,i){var s;(0,o.default)(this,r),s=t.call(this),(0,c.default)((0,a.default)(s),"result",""),(0,c.default)((0,a.default)(s),"unitlessCssVar",void 0),(0,c.default)((0,a.default)(s),"lowPriority",void 0);var l=(0,n.default)(e);return s.unitlessCssVar=i,e instanceof r?s.result="(".concat(e.result,")"):"number"===l?s.result=p(e):"string"===l&&(s.result=e),s}return(0,i.default)(r,[{key:"add",value:function(e){return e instanceof r?this.result="".concat(this.result," + ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," + ").concat(p(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof r?this.result="".concat(this.result," - ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," - ").concat(p(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof r?this.result="".concat(this.result," * ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof r?this.result="".concat(this.result," / ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,r=(e||{}).unit,n=!0;return"boolean"==typeof r?n=r:Array.from(this.unitlessCssVar).some((function(e){return t.result.includes(e)}))&&(n=!1),this.result=this.result.replace(d,n?"px":""),void 0!==this.lowPriority?"calc(".concat(this.result,")"):this.result}}]),r}(u.default)},40935:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(15671),o=r(43144),i=r(97326),a=r(60136),s=r(29388),l=r(4942);const c=function(e){(0,a.default)(r,e);var t=(0,s.default)(r);function r(e){var o;return(0,n.default)(this,r),o=t.call(this),(0,l.default)((0,i.default)(o),"result",0),e instanceof r?o.result=e.result:"number"==typeof e&&(o.result=e),o}return(0,o.default)(r,[{key:"add",value:function(e){return e instanceof r?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof r?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof r?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof r?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),r}(r(14406).default)},14406:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(43144),o=r(15671);const i=(0,n.default)((function e(){(0,o.default)(this,e)}))},18441:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(78964),o=r(40935);const i=function(e,t){var r="css"===e?n.default:o.default;return function(e){return new r(e,t)}}},99981:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>g});var n=r(71002),o=r(93324),i=r(4942),a=r(1413),s=r(36198),l=r(78419),c=r(18441),u=r(79078),f=r(72254),d=r(62342),p=r(81663),h=r(50952),m=r(20077),y=r(81291);const g=function(e){var t=e.useCSP,r=void 0===t?y.default:t,g=e.useToken,v=e.usePrefix,b=e.getResetStyles,O=e.getCommonStyle,w=e.getCompUnitless;function S(t,i,s){var y=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},w=Array.isArray(t)?t:[t,t],S=(0,o.default)(w,1)[0],x=w.join("-"),E=e.layer||{name:"antd"};return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=g(),w=o.theme,_=o.realToken,P=o.hashId,T=o.token,j=o.cssVar,C=v(),k=C.rootPrefixCls,A=C.iconPrefixCls,D=r(),L=j?"css":"js",R=(0,m.default)((function(){var e=new Set;return j&&Object.keys(y.unitless||{}).forEach((function(t){e.add((0,l.token2CSSVar)(t,j.prefix)),e.add((0,l.token2CSSVar)(t,(0,u.default)(S,j.prefix)))})),(0,c.default)(L,e)}),[L,S,null==j?void 0:j.prefix]),M=(0,p.default)(L),I=M.max,N=M.min,B={theme:w,token:T,hashId:P,nonce:function(){return D.nonce},clientOnly:y.clientOnly,layer:E,order:y.order||-999};return(0,l.useStyleRegister)((0,a.default)((0,a.default)({},B),{},{clientOnly:!1,path:["Shared",k]}),(function(){return"function"==typeof b?b(T):[]})),[(0,l.useStyleRegister)((0,a.default)((0,a.default)({},B),{},{path:[x,e,A]}),(function(){if(!1===y.injectStyle)return[];var r=(0,h.default)(T),o=r.token,a=r.flush,c=(0,d.default)(S,_,s),p=".".concat(e),m=(0,f.default)(S,_,c,{deprecatedTokens:y.deprecatedTokens});j&&c&&"object"===(0,n.default)(c)&&Object.keys(c).forEach((function(e){c[e]="var(".concat((0,l.token2CSSVar)(e,(0,u.default)(S,j.prefix)),")")}));var g=(0,h.merge)(o,{componentCls:p,prefixCls:e,iconCls:".".concat(A),antCls:".".concat(k),calc:R,max:I,min:N},j?c:m),v=i(g,{hashId:P,prefixCls:e,rootPrefixCls:k,iconPrefixCls:A});a(S,m);var b="function"==typeof O?O(g,e,t,y.resetFont):null;return[!1===y.resetStyle?null:b,v]})),P]}}return{genStyleHooks:function(e,t,r,n){var c=Array.isArray(e)?e[0]:e;function u(e){return"".concat(String(c)).concat(e.slice(0,1).toUpperCase()).concat(e.slice(1))}var p=(null==n?void 0:n.unitless)||{},h="function"==typeof w?w(e):{},m=(0,a.default)((0,a.default)({},h),{},(0,i.default)({},u("zIndexPopup"),!0));Object.keys(p).forEach((function(e){m[u(e)]=p[e]}));var y=(0,a.default)((0,a.default)({},n),{},{unitless:m,prefixToken:u}),v=S(e,t,r,y),b=function(e,t,r){var n=r.unitless,o=r.injectStyle,i=void 0===o||o,a=r.prefixToken,c=r.ignore,u=function(o){var i=o.rootCls,s=o.cssVar,u=void 0===s?{}:s,p=g().realToken;return(0,l.useCSSVarRegister)({path:[e],prefix:u.prefix,key:u.key,unitless:n,ignore:c,token:p,scope:i},(function(){var n=(0,d.default)(e,p,t),o=(0,f.default)(e,p,n,{deprecatedTokens:null==r?void 0:r.deprecatedTokens});return Object.keys(n).forEach((function(e){o[a(e)]=o[e],delete o[e]})),o})),null},p=function(t){var r=g().cssVar;return[function(n){return i&&r?s.createElement(s.Fragment,null,s.createElement(u,{rootCls:t,cssVar:r,component:e}),n):n},null==r?void 0:r.key]};return p}(c,r,y);return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=v(e,t),n=(0,o.default)(r,2)[1],i=b(t),a=(0,o.default)(i,2);return[a[0],n,a[1]]}},genSubStyleComponent:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=S(e,t,r,(0,a.default)({resetStyle:!1,order:-998},n));return function(e){var t=e.prefixCls,r=e.rootCls;return o(t,void 0===r?t:r),null}},genComponentStyleHook:S}}},79078:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=function(e,t){return"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))}},72254:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(93324),o=r(1413);r(56790);const i=function(e,t,r,i){var a=(0,o.default)({},t[e]);null!=i&&i.deprecatedTokens&&i.deprecatedTokens.forEach((function(e){var t,r=(0,n.default)(e,2),o=r[0],i=r[1];(null!=a&&a[o]||null!=a&&a[i])&&(null!==(t=a[i])&&void 0!==t||(a[i]=null==a?void 0:a[o]))}));var s=(0,o.default)((0,o.default)({},r),a);return Object.keys(s).forEach((function(e){s[e]===t[e]&&delete s[e]})),s}},62342:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(50952);const o=function(e,t,r){var o;return"function"==typeof r?r((0,n.merge)(t,null!==(o=t[e])&&void 0!==o?o:{})):null!=r?r:{}}},81663:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(78419);const o=function(e){return"js"===e?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";r.r(t),r.d(t,{_statistic_build_:()=>c,default:()=>f,merge:()=>s,statistic:()=>l});var n=r(1413),o=r(71002),i="undefined"!=typeof CSSINJS_STATISTIC,a=!0;function s(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";r.r(t),r.d(t,{default:()=>l,pathKey:()=>s});var n=r(15671),o=r(43144),i=r(4942),a="%";function s(e){return e.join(a)}const l=function(){function e(t){(0,n.default)(this,e),(0,i.default)(this,"instanceId",void 0),(0,i.default)(this,"cache",new Map),this.instanceId=t}return(0,o.default)(e,[{key:"get",value:function(e){return this.opGet(s(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(s(e),t)}},{key:"opUpdate",value:function(e,t){var r=t(this.cache.get(e));null===r?this.cache.delete(e):this.cache.set(e,r)}}]),e}()},22236:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(15671),o=r(43144),i=r(4942);const a=function(){function e(t,r){(0,n.default)(this,e),(0,i.default)(this,"name",void 0),(0,i.default)(this,"style",void 0),(0,i.default)(this,"_keyframe",!0),this.name=t,this.style=r}return(0,o.default)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}()},61052:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ATTR_CACHE_PATH:()=>d,ATTR_MARK:()=>f,ATTR_TOKEN:()=>u,CSS_IN_JS_INSTANCE:()=>p,StyleProvider:()=>y,createCache:()=>h,default:()=>g});var n=r(1413),o=r(45987),i=r(56982),a=r(91881),s=r(36198),l=r(43481),c=["children"],u="data-token-hash",f="data-css-hash",d="data-cache-path",p="__cssinjs_instance__";function h(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(f,"]"))||[],r=document.head.firstChild;Array.from(t).forEach((function(t){t[p]=t[p]||e,t[p]===e&&document.head.insertBefore(t,r)}));var n={};Array.from(document.querySelectorAll("style[".concat(f,"]"))).forEach((function(t){var r,o=t.getAttribute(f);n[o]?t[p]===e&&(null===(r=t.parentNode)||void 0===r||r.removeChild(t)):n[o]=!0}))}return new l.default(e)}var m=s.createContext({hashPriority:"low",cache:h(),defaultCache:!0}),y=function(e){var t=e.children,r=(0,o.default)(e,c),l=s.useContext(m),u=(0,i.default)((function(){var e=(0,n.default)({},l);Object.keys(r).forEach((function(t){var n=r[t];void 0!==r[t]&&(e[t]=n)}));var t=r.cache;return e.cache=e.cache||h(),e.defaultCache=!t&&l.defaultCache,e}),[l,r],(function(e,t){return!(0,a.default)(e[0],t[0],!0)||!(0,a.default)(e[1],t[1],!0)}));return s.createElement(m.Provider,{value:u},t)};const g=m},73098:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>p});var n,o=r(93324),i=r(4942),a=r(79942),s=r(4522),l=r(78195),c=r(43449),u=r(58356),f=(n={},(0,i.default)(n,l.STYLE_PREFIX,l.extract),(0,i.default)(n,a.TOKEN_PREFIX,a.extract),(0,i.default)(n,s.CSS_VAR_PREFIX,s.extract),n);function d(e){return null!==e}function p(e,t){var r="boolean"==typeof t?{plain:t}:t||{},n=r.plain,a=void 0!==n&&n,s=r.types,l=void 0===s?["style","token","cssVar"]:s,p=new RegExp("^(".concat(("string"==typeof l?[l]:l).join("|"),")%")),h=Array.from(e.cache.keys()).filter((function(e){return p.test(e)})),m={},y={},g="";return h.map((function(t){var r=t.replace(p,"").replace(/%/g,"|"),n=t.split("%"),i=(0,o.default)(n,1)[0],s=(0,f[i])(e.cache.get(t)[1],m,{plain:a});if(!s)return null;var l=(0,o.default)(s,3),c=l[0],u=l[1],d=l[2];return t.startsWith("style")&&(y[r]=u),[c,d]})).filter(d).sort((function(e,t){return(0,o.default)(e,1)[0]-(0,o.default)(t,1)[0]})).forEach((function(e){var t=(0,o.default)(e,2)[1];g+=t})),g+=(0,c.toStyleStr)(".".concat(u.ATTR_CACHE_MAP,'{content:"').concat((0,u.serialize)(y),'";}'),void 0,void 0,(0,i.default)({},u.ATTR_CACHE_MAP,u.ATTR_CACHE_MAP),a)}},4522:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CSS_VAR_PREFIX:()=>d,default:()=>h,extract:()=>p});var n=r(93324),o=r(89062),i=r(44958),a=r(36198),s=r(61052),l=r(43449),c=r(11154),u=r(6507),f=r(78195),d="cssVar",p=function(e,t,r){var o=(0,n.default)(e,4),i=o[1],a=o[2],s=o[3],c=(r||{}).plain;if(!i)return null;var u={"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)};return[-999,a,(0,l.toStyleStr)(i,s,a,u,c)]};const h=function(e,t){var r=e.key,p=e.prefix,h=e.unitless,m=e.ignore,y=e.token,g=e.scope,v=void 0===g?"":g,b=(0,a.useContext)(s.default),O=b.cache.instanceId,w=b.container,S=y._tokenKey,x=[].concat((0,o.default)(e.path),[r,v,S]);return(0,u.default)(d,x,(function(){var e=t(),o=(0,c.transformToken)(e,r,{prefix:p,unitless:h,ignore:m,scope:v}),i=(0,n.default)(o,2),a=i[0],s=i[1];return[a,s,(0,f.uniqueHash)(x,s),r]}),(function(e){var t=(0,n.default)(e,3)[2];l.isClientSide&&(0,i.removeCSS)(t,{mark:s.ATTR_MARK})}),(function(e){var t=(0,n.default)(e,3),o=t[1],a=t[2];if(o){var l=(0,i.updateCSS)(o,a,{mark:s.ATTR_MARK,prepend:"queue",attachTo:w,priority:-999});l[s.CSS_IN_JS_INSTANCE]=O,l.setAttribute(s.ATTR_TOKEN,r)}}))}},79942:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TOKEN_PREFIX:()=>b,default:()=>O,extract:()=>w,getComputedToken:()=>v});var n=r(93324),o=r(89062),i=r(1413),a=r(62506),s=r(44958),l=r(36198),c=r(61052),u=r(43449),f=r(11154),d=r(6507),p={},h="css",m=new Map;var y=0;function g(e,t){m.set(e,(m.get(e)||0)-1);var r=Array.from(m.keys()),n=r.filter((function(e){return(m.get(e)||0)<=0}));r.length-n.length>y&&n.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(c.ATTR_TOKEN,'="').concat(e,'"]')).forEach((function(e){var r;e[c.CSS_IN_JS_INSTANCE]===t&&(null===(r=e.parentNode)||void 0===r||r.removeChild(e))}))}(e,t),m.delete(e)}))}var v=function(e,t,r,n){var o=r.getDerivativeToken(e),a=(0,i.default)((0,i.default)({},o),t);return n&&(a=n(a)),a},b="token";function O(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},y=(0,l.useContext)(c.default),O=y.cache.instanceId,w=y.container,S=r.salt,x=void 0===S?"":S,E=r.override,_=void 0===E?p:E,P=r.formatToken,T=r.getComputedToken,j=r.cssVar,C=(0,u.memoResult)((function(){return Object.assign.apply(Object,[{}].concat((0,o.default)(t)))}),t),k=(0,u.flattenToken)(C),A=(0,u.flattenToken)(_),D=j?(0,u.flattenToken)(j):"";return(0,d.default)(b,[x,e.id,k,A,D],(function(){var t,r=T?T(C,_,e):v(C,_,e,P),o=(0,i.default)({},r),s="";if(j){var l=(0,f.transformToken)(r,j.key,{prefix:j.prefix,ignore:j.ignore,unitless:j.unitless,preserve:j.preserve}),c=(0,n.default)(l,2);r=c[0],s=c[1]}var d=(0,u.token2key)(r,x);r._tokenKey=d,o._tokenKey=(0,u.token2key)(o,x);var p=null!==(t=null==j?void 0:j.key)&&void 0!==t?t:d;r._themeKey=p,function(e){m.set(e,(m.get(e)||0)+1)}(p);var y="".concat(h,"-").concat((0,a.default)(d));return r._hashId=y,[r,y,o,s,(null==j?void 0:j.key)||""]}),(function(e){g(e[0]._themeKey,O)}),(function(e){var t=(0,n.default)(e,4),r=t[0],o=t[3];if(j&&o){var i=(0,s.updateCSS)(o,(0,a.default)("css-variables-".concat(r._themeKey)),{mark:c.ATTR_MARK,prepend:"queue",attachTo:w,priority:-999});i[c.CSS_IN_JS_INSTANCE]=O,i.setAttribute(c.ATTR_TOKEN,r._themeKey)}}))}var w=function(e,t,r){var o=(0,n.default)(e,5),i=o[2],a=o[3],s=o[4],l=(r||{}).plain;if(!a)return null;var c=i._tokenKey,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)};return[-999,c,(0,u.toStyleStr)(a,s,c,f,l)]}},28204:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{default:()=>l});var o=r(1413),i=r(8410),a=r(36198),s=(0,o.default)({},n||(n=r.t(a,2))).useInsertionEffect;const l=s?function(e,t,r){return s((function(){return e(),t()}),r)}:function(e,t,r){a.useMemo(e,r),(0,i.default)((function(){return t(!0)}),r)}},31364:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{default:()=>a});var o=r(1413),i=(r(80334),r(36198));const a=void 0!==(0,o.default)({},n||(n=r.t(i,2))).useInsertionEffect?function(e){var t=[],r=!1;return i.useEffect((function(){return r=!1,function(){r=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){r||t.push(e)}}:function(){return function(e){e()}}},6507:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(93324),o=r(89062),i=r(36198),a=r(43481),s=r(61052),l=r(28204),c=r(31364),u=r(70265);function f(e,t,r,f,d){var p=i.useContext(s.default).cache,h=[e].concat((0,o.default)(t)),m=(0,a.pathKey)(h),y=(0,c.default)([m]),g=((0,u.default)(),function(e){p.opUpdate(m,(function(t){var o=t||[void 0,void 0],i=(0,n.default)(o,2),a=i[0];var s=[void 0===a?0:a,i[1]||r()];return e?e(s):s}))});i.useMemo((function(){g()}),[m]);var v=p.opGet(m)[1];return(0,l.default)((function(){null==d||d(v)}),(function(e){return g((function(t){var r=(0,n.default)(t,2),o=r[0],i=r[1];return e&&0===o&&(null==d||d(v)),[o+1,i]})),function(){p.opUpdate(m,(function(t){var r=t||[],o=(0,n.default)(r,2),i=o[0],a=void 0===i?0:i,s=o[1];return 0===a-1?(y((function(){!e&&p.opGet(m)||null==f||f(s,!1)})),null):[a-1,s]}))}}),[m]),v}},70265:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=function(){return!1}},78195:(e,t,r)=>{"use strict";r.r(t),r.d(t,{STYLE_PREFIX:()=>E,default:()=>_,extract:()=>P,normalizeStyle:()=>b,parseStyle:()=>w,uniqueHash:()=>S});var n=r(87462),o=r(4942),i=r(1413),a=r(93324),s=r(89062),l=r(71002),c=r(62506),u=r(44958),f=r(36198),d=r(40351),p=r(40913),h=(r(56596),r(61052)),m=r(43449),y=r(58356),g=r(6507),v="_multi_value_";function b(e){return(0,p.serialize)((0,p.compile)(e),p.stringify).replace(/\{%%%\:[^;];}/g,";")}function O(e,t,r){if(!t)return e;var n=".".concat(t),o="low"===r?":where(".concat(n,")"):n;return e.split(",").map((function(e){var t,r=e.trim().split(/\s+/),n=r[0]||"",i=(null===(t=n.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[n="".concat(i).concat(o).concat(n.slice(i.length))].concat((0,s.default)(r.slice(1))).join(" ")})).join(",")}var w=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},o=n.root,c=n.injectHash,u=n.parentSelectors,f=r.hashId,p=r.layer,h=(r.path,r.hashPriority),m=r.transformers,y=void 0===m?[]:m,g=(r.linters,""),b={};function w(t){var n=t.getName(f);if(!b[n]){var o=e(t.style,r,{root:!1,parentSelectors:u}),i=(0,a.default)(o,1)[0];b[n]="@keyframes ".concat(t.getName(f)).concat(i)}}var S=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach((function(t){Array.isArray(t)?e(t,r):t&&r.push(t)})),r}(Array.isArray(t)?t:[t]);return S.forEach((function(t){var n="string"!=typeof t||o?t:{};if("string"==typeof n)g+="".concat(n,"\n");else if(n._keyframe)w(n);else{var p=y.reduce((function(e,t){var r;return(null==t||null===(r=t.visit)||void 0===r?void 0:r.call(t,e))||e}),n);Object.keys(p).forEach((function(t){var n=p[t];if("object"!==(0,l.default)(n)||!n||"animationName"===t&&n._keyframe||function(e){return"object"===(0,l.default)(e)&&e&&("_skip_check_"in e||v in e)}(n)){var m;function C(e,t){var r=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),n=t;d.default[e]||"number"!=typeof n||0===n||(n="".concat(n,"px")),"animationName"===e&&null!=t&&t._keyframe&&(w(t),n=t.getName(f)),g+="".concat(r,":").concat(n,";")}var y=null!==(m=null==n?void 0:n.value)&&void 0!==m?m:n;"object"===(0,l.default)(n)&&null!=n&&n[v]&&Array.isArray(y)?y.forEach((function(e){C(t,e)})):C(t,y)}else{var S=!1,x=t.trim(),E=!1;(o||c)&&f?x.startsWith("@")?S=!0:x=O("&"===x?"":t,f,h):!o||f||"&"!==x&&""!==x||(x="",E=!0);var _=e(n,r,{root:E,injectHash:S,parentSelectors:[].concat((0,s.default)(u),[x])}),P=(0,a.default)(_,2),T=P[0],j=P[1];b=(0,i.default)((0,i.default)({},b),j),g+="".concat(x).concat(T)}}))}})),o?p&&(g="@layer ".concat(p.name," {").concat(g,"}"),p.dependencies&&(b["@layer ".concat(p.name)]=p.dependencies.map((function(e){return"@layer ".concat(e,", ").concat(p.name,";")})).join("\n"))):g="{".concat(g,"}"),[g,b]};function S(e,t){return(0,c.default)("".concat(e.join("%")).concat(t))}function x(){return null}var E="style";function _(e,t){var r=e.token,l=e.path,c=e.hashId,d=e.layer,p=e.nonce,v=e.clientOnly,O=e.order,_=void 0===O?0:O,P=f.useContext(h.default),T=P.autoClear,j=(P.mock,P.defaultCache),C=P.hashPriority,k=P.container,A=P.ssrInline,D=P.transformers,L=P.linters,R=P.cache,M=P.layer,I=r._tokenKey,N=[I];M&&N.push("layer"),N.push.apply(N,(0,s.default)(l));var B=m.isClientSide;var $=(0,g.default)(E,N,(function(){var e=N.join("|");if((0,y.existPath)(e)){var r=(0,y.getStyleAndHash)(e),n=(0,a.default)(r,2),o=n[0],i=n[1];if(o)return[o,I,i,{},v,_]}var s=t(),u=w(s,{hashId:c,hashPriority:C,layer:M?d:void 0,path:l.join("-"),transformers:D,linters:L}),f=(0,a.default)(u,2),p=f[0],h=f[1],m=b(p),g=S(N,m);return[m,I,g,h,v,_]}),(function(e,t){var r=(0,a.default)(e,3)[2];(t||T)&&m.isClientSide&&(0,u.removeCSS)(r,{mark:h.ATTR_MARK})}),(function(e){var t=(0,a.default)(e,4),r=t[0],n=(t[1],t[2]),o=t[3];if(B&&r!==y.CSS_FILE_STYLE){var s={mark:h.ATTR_MARK,prepend:!M&&"queue",attachTo:k,priority:_},l="function"==typeof p?p():p;l&&(s.csp={nonce:l});var c=[],f=[];Object.keys(o).forEach((function(e){e.startsWith("@layer")?c.push(e):f.push(e)})),c.forEach((function(e){(0,u.updateCSS)(b(o[e]),"_layer-".concat(e),(0,i.default)((0,i.default)({},s),{},{prepend:!0}))}));var d=(0,u.updateCSS)(r,n,s);d[h.CSS_IN_JS_INSTANCE]=R.instanceId,d.setAttribute(h.ATTR_TOKEN,I),f.forEach((function(e){(0,u.updateCSS)(b(o[e]),"_effect-".concat(e),s)}))}})),F=(0,a.default)($,3),z=F[0],Q=F[1],V=F[2];return function(e){var t,r;A&&!B&&j?t=f.createElement("style",(0,n.default)({},(r={},(0,o.default)(r,h.ATTR_TOKEN,Q),(0,o.default)(r,h.ATTR_MARK,V),r),{dangerouslySetInnerHTML:{__html:z}})):t=f.createElement(x,null);return f.createElement(f.Fragment,null,t,e)}}var P=function(e,t,r){var n=(0,a.default)(e,6),o=n[0],i=n[1],s=n[2],l=n[3],c=n[4],u=n[5],f=(r||{}).plain;if(c)return null;var d=o,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return d=(0,m.toStyleStr)(o,i,s,p,f),l&&Object.keys(l).forEach((function(e){if(!t[e]){t[e]=!0;var r=b(l[e]),n=(0,m.toStyleStr)(r,i,"_effect-".concat(e),p,f);e.startsWith("@layer")?d=n+d:d+=n}})),[u,s,d]}},78419:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Keyframes:()=>s.default,NaNLinter:()=>l.NaNLinter,StyleProvider:()=>c.StyleProvider,Theme:()=>u.Theme,_experimental:()=>m,createCache:()=>c.createCache,createTheme:()=>u.createTheme,extractStyle:()=>n.default,genCalc:()=>u.genCalc,getComputedToken:()=>o.getComputedToken,legacyLogicalPropertiesTransformer:()=>f.default,legacyNotSelectorLinter:()=>l.legacyNotSelectorLinter,logicalPropertiesLinter:()=>l.logicalPropertiesLinter,parentSelectorLinter:()=>l.parentSelectorLinter,px2remTransformer:()=>d.default,token2CSSVar:()=>h.token2CSSVar,unit:()=>p.unit,useCSSVarRegister:()=>i.default,useCacheToken:()=>o.default,useStyleRegister:()=>a.default});var n=r(73098),o=r(79942),i=r(4522),a=r(78195),s=r(22236),l=r(56596),c=r(61052),u=r(81671),f=r(41202),d=r(10376),p=r(43449),h=r(11154),m={supportModernCSS:function(){return(0,p.supportWhere)()&&(0,p.supportLogicProps)()}}},76564:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(88132);const o=function(e,t,r){("string"==typeof t&&/NaN/g.test(t)||Number.isNaN(t))&&(0,n.lintWarning)("Unexpected 'NaN' in property '".concat(e,": ").concat(t,"'."),r)}},82352:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(88132);const o=function(e,t,r){if("content"===e){("string"!=typeof t||-1===["normal","none","initial","inherit","unset"].indexOf(t)&&!/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0)))&&(0,n.lintWarning)("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(t,"\"'`."),r)}}},64238:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(88132);const o=function(e,t,r){"animation"===e&&r.hashId&&"none"!==t&&(0,n.lintWarning)("You seem to be using hashed animation '".concat(t,"', in which case 'animationName' with Keyframe as value is recommended."),r)}},56596:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NaNLinter:()=>s.default,contentQuotesLinter:()=>n.default,hashedAnimationLinter:()=>o.default,legacyNotSelectorLinter:()=>i.default,logicalPropertiesLinter:()=>a.default,parentSelectorLinter:()=>l.default});var n=r(82352),o=r(64238),i=r(41190),a=r(62745),s=r(76564),l=r(68102)},41190:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(88132);function o(e){var t;return((null===(t=e.match(/:not\(([^)]*)\)/))||void 0===t?void 0:t[1])||"").split(/(\[[^[]*])|(?=[.#])/).filter((function(e){return e})).length>1}const i=function(e,t,r){var i=function(e){return e.parentSelectors.reduce((function(e,t){return e?t.includes("&")?t.replace(/&/g,e):"".concat(e," ").concat(t):t}),"")}(r),a=i.match(/:not\([^)]*\)/g)||[];a.length>0&&a.some(o)&&(0,n.lintWarning)("Concat ':not' selector not support in legacy browsers.",r)}},62745:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(88132);const o=function(e,t,r){switch(e){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":return void(0,n.lintWarning)("You seem to be using non-logical property '".concat(e,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);case"margin":case"padding":case"borderWidth":case"borderStyle":if("string"==typeof t){var o=t.split(" ").map((function(e){return e.trim()}));4===o.length&&o[1]!==o[3]&&(0,n.lintWarning)("You seem to be using '".concat(e,"' property with different left ").concat(e," and right ").concat(e,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r)}return;case"clear":case"textAlign":return void("left"!==t&&"right"!==t||(0,n.lintWarning)("You seem to be using non-logical value '".concat(t,"' of ").concat(e,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r));case"borderRadius":if("string"==typeof t)t.split("/").map((function(e){return e.trim()})).reduce((function(e,t){if(e)return e;var r=t.split(" ").map((function(e){return e.trim()}));return r.length>=2&&r[0]!==r[1]||(3===r.length&&r[1]!==r[2]||(4===r.length&&r[2]!==r[3]||e))}),!1)&&(0,n.lintWarning)("You seem to be using non-logical value '".concat(t,"' of ").concat(e,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return}}},68102:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(88132);const o=function(e,t,r){r.parentSelectors.some((function(e){return e.split(",").some((function(e){return e.split("&").length>2}))}))&&(0,n.lintWarning)("Should not use more than one `&` in a selector.",r)}},88132:(e,t,r)=>{"use strict";r.r(t),r.d(t,{lintWarning:()=>o});var n=r(80334);function o(e,t){var r=t.path,o=t.parentSelectors;(0,n.default)(!1,"[Ant Design CSS-in-JS] ".concat(r?"Error in ".concat(r,": "):"").concat(e).concat(o.length?" Selector: ".concat(o.join(" | ")):""))}},80960:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(15671),o=r(43144),i=r(4942),a=r(80334),s=0,l=function(){function e(t){(0,n.default)(this,e),(0,i.default)(this,"derivatives",void 0),(0,i.default)(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=s,0===t.length&&(0,a.warning)(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),s+=1}return(0,o.default)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,r){return r(e,t)}),void 0)}}]),e}()},34286:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,sameDerivativeOption:()=>s});var n=r(93324),o=r(15671),i=r(43144),a=r(4942);function s(e,t){if(e.length!==t.length)return!1;for(var r=0;r1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach((function(e){var t;o?o=null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e):o=void 0})),null!==(t=o)&&void 0!==t&&t.value&&n&&(o.value[1]=this.cacheCallTimes++),null===(r=o)||void 0===r?void 0:r.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,r){var o=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce((function(e,t){var r=(0,n.default)(e,2)[1];return o.internalGet(t)[1]{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(71002),o=r(15671),i=r(43144),a=r(97326),s=r(60136),l=r(29388),c=r(4942),u=r(74476),f="CALC_UNIT",d=new RegExp(f,"g");function p(e){return"number"==typeof e?"".concat(e).concat(f):e}var h=function(e){(0,s.default)(r,e);var t=(0,l.default)(r);function r(e,i){var s;(0,o.default)(this,r),s=t.call(this),(0,c.default)((0,a.default)(s),"result",""),(0,c.default)((0,a.default)(s),"unitlessCssVar",void 0),(0,c.default)((0,a.default)(s),"lowPriority",void 0);var l=(0,n.default)(e);return s.unitlessCssVar=i,e instanceof r?s.result="(".concat(e.result,")"):"number"===l?s.result=p(e):"string"===l&&(s.result=e),s}return(0,i.default)(r,[{key:"add",value:function(e){return e instanceof r?this.result="".concat(this.result," + ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," + ").concat(p(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof r?this.result="".concat(this.result," - ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," - ").concat(p(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof r?this.result="".concat(this.result," * ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof r?this.result="".concat(this.result," / ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,r=(e||{}).unit,n=!0;return"boolean"==typeof r?n=r:Array.from(this.unitlessCssVar).some((function(e){return t.result.includes(e)}))&&(n=!1),this.result=this.result.replace(d,n?"px":""),void 0!==this.lowPriority?"calc(".concat(this.result,")"):this.result}}]),r}(u.default)},7065:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(15671),o=r(43144),i=r(97326),a=r(60136),s=r(29388),l=r(4942),c=function(e){(0,a.default)(r,e);var t=(0,s.default)(r);function r(e){var o;return(0,n.default)(this,r),o=t.call(this),(0,l.default)((0,i.default)(o),"result",0),e instanceof r?o.result=e.result:"number"==typeof e&&(o.result=e),o}return(0,o.default)(r,[{key:"add",value:function(e){return e instanceof r?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof r?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof r?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof r?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),r}(r(74476).default)},74476:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(43144),o=r(15671);const i=(0,n.default)((function e(){(0,o.default)(this,e)}))},39411:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(18158),o=r(7065);const i=function(e,t){var r="css"===e?n.default:o.default;return function(e){return new r(e,t)}}},3705:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(34286),o=r(80960),i=new n.default;function a(e){var t=Array.isArray(e)?e:[e];return i.has(t)||i.set(t,new o.default(t)),i.get(t)}},81671:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Theme:()=>i.default,ThemeCache:()=>a.default,createTheme:()=>o.default,genCalc:()=>n.default});var n=r(39411),o=r(3705),i=r(80960),a=r(34286)},41202:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(93324);function o(e){return e.notSplit=!0,e}var i={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:o(["borderTop","borderBottom"]),borderBlockStart:o(["borderTop"]),borderBlockEnd:o(["borderBottom"]),borderInline:o(["borderLeft","borderRight"]),borderInlineStart:o(["borderLeft"]),borderInlineEnd:o(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function a(e,t){var r=e;return t&&(r="".concat(r," !important")),{_skip_check_:!0,value:r}}const s={visit:function(e){var t={};return Object.keys(e).forEach((function(r){var o=e[r],s=i[r];if(!s||"number"!=typeof o&&"string"!=typeof o)t[r]=o;else{var l=function(e){if("number"==typeof e)return[[e],!1];var t=String(e).trim(),r=t.match(/(.*)(!important)/),n=(r?r[1]:t).trim().split(/\s+/),o=[],i=0;return[n.reduce((function(e,t){if(t.includes("(")||t.includes(")")){var r=t.split("(").length-1,n=t.split(")").length-1;i+=r-n}return i>=0&&o.push(t),0===i&&(e.push(o.join(" ")),o=[]),e}),[]),!!r]}(o),c=(0,n.default)(l,2),u=c[0],f=c[1];s.length&&s.notSplit?s.forEach((function(e){t[e]=a(o,f)})):1===s.length?t[s[0]]=a(u[0],f):2===s.length?s.forEach((function(e,r){var n;t[e]=a(null!==(n=u[r])&&void 0!==n?n:u[0],f)})):4===s.length?s.forEach((function(e,r){var n,o;t[e]=a(null!==(n=null!==(o=u[r])&&void 0!==o?o:u[r-2])&&void 0!==n?n:u[0],f)})):t[r]=o}})),t}}},10376:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(93324),o=r(1413),i=r(40351),a=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;const s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.rootValue,r=void 0===t?16:t,s=e.precision,l=void 0===s?5:s,c=e.mediaQuery,u=void 0!==c&&c,f=function(e,t){if(!t)return e;var n=parseFloat(t);if(n<=1)return e;var o=function(e,t){var r=Math.pow(10,t+1),n=Math.floor(e*r);return 10*Math.round(n/10)/r}(n/r,l);return"".concat(o,"rem")};return{visit:function(e){var t=(0,o.default)({},e);return Object.entries(e).forEach((function(e){var r=(0,n.default)(e,2),o=r[0],s=r[1];if("string"==typeof s&&s.includes("px")){var l=s.replace(a,f);t[o]=l}i.default[o]||"number"!=typeof s||0===s||(t[o]="".concat(s,"px").replace(a,f));var c=o.trim();if(c.startsWith("@")&&c.includes("px")&&u){var d=o.replace(a,f);t[d]=t[o],delete t[o]}})),t}}}},58356:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ATTR_CACHE_MAP:()=>s,CSS_FILE_STYLE:()=>l,existPath:()=>p,getStyleAndHash:()=>h,prepare:()=>d,reset:()=>f,serialize:()=>c});var n,o=r(93324),i=r(98924),a=r(61052),s="data-ant-cssinjs-cache-path",l="_FILE_STYLE__";function c(e){return Object.keys(e).map((function(t){var r=e[t];return"".concat(t,":").concat(r)})).join(";")}var u=!0;function f(e){n=e,u=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]}function d(){if(!n&&(n={},(0,i.default)())){var e=document.createElement("div");e.className=s,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";(t=t.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var t=e.split(":"),r=(0,o.default)(t,2),i=r[0],a=r[1];n[i]=a}));var r,a=document.querySelector("style[".concat(s,"]"));if(a)u=!1,null===(r=a.parentNode)||void 0===r||r.removeChild(a);document.body.removeChild(e)}}function p(e){return d(),!!n[e]}function h(e){var t=n[e],r=null;if(t&&(0,i.default)())if(u)r=l;else{var o=document.querySelector("style[".concat(a.ATTR_MARK,'="').concat(n[e],'"]'));o?r=o.innerHTML:delete n[e]}return[r,t]}},11154:(e,t,r)=>{"use strict";r.r(t),r.d(t,{serializeCSSVar:()=>i,token2CSSVar:()=>o,transformToken:()=>a});var n=r(93324),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},i=function(e,t,r){return Object.keys(e).length?".".concat(t).concat(null!=r&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(e).map((function(e){var t=(0,n.default)(e,2),r=t[0],o=t[1];return"".concat(r,":").concat(o,";")})).join(""),"}"):""},a=function(e,t,r){var a={},s={};return Object.entries(e).forEach((function(e){var t,i,l=(0,n.default)(e,2),c=l[0],u=l[1];if(null!=r&&null!==(t=r.preserve)&&void 0!==t&&t[c])s[c]=u;else if(!("string"!=typeof u&&"number"!=typeof u||null!=r&&null!==(i=r.ignore)&&void 0!==i&&i[c])){var f,d=o(c,null==r?void 0:r.prefix);a[d]="number"!=typeof u||null!=r&&null!==(f=r.unitless)&&void 0!==f&&f[c]?String(u):"".concat(u,"px"),s[c]="var(".concat(d,")")}})),[s,i(a,t,{scope:null==r?void 0:r.scope})]}},43449:(e,t,r)=>{"use strict";r.r(t),r.d(t,{flattenToken:()=>m,isClientSide:()=>P,memoResult:()=>p,supportLayer:()=>w,supportLogicProps:()=>_,supportWhere:()=>x,toStyleStr:()=>j,token2key:()=>y,unit:()=>T});var n=r(4942),o=r(1413),i=r(71002),a=r(62506),s=r(98924),l=r(44958),c=r(61052),u=r(81671),f=new WeakMap,d={};function p(e,t){for(var r=f,n=0;n3&&void 0!==arguments[3]?arguments[3]:{};if(arguments.length>4&&void 0!==arguments[4]&&arguments[4])return e;var s=(0,o.default)((0,o.default)({},a),{},(i={},(0,n.default)(i,c.ATTR_TOKEN,t),(0,n.default)(i,c.ATTR_MARK,r),i)),l=Object.keys(s).map((function(e){var t=s[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"")}},75752:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FastColor:()=>l});var n=r(4942);const o=Math.round;function i(e,t){const r=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],n=r.map((e=>parseFloat(e)));for(let e=0;e<3;e+=1)n[e]=t(n[e]||0,r[e]||"",e);return r[3]?n[3]=r[3].includes("%")?n[3]/100:n[3]:n[3]=1,n}const a=(e,t,r)=>0===r?e:e/100;function s(e,t){const r=t||255;return e>r?r:e<0?0:e}class l{constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if((0,n.default)(this,"isValid",!0),(0,n.default)(this,"r",0),(0,n.default)(this,"g",0),(0,n.default)(this,"b",0),(0,n.default)(this,"a",1),(0,n.default)(this,"_h",void 0),(0,n.default)(this,"_s",void 0),(0,n.default)(this,"_l",void 0),(0,n.default)(this,"_v",void 0),(0,n.default)(this,"_max",void 0),(0,n.default)(this,"_min",void 0),(0,n.default)(this,"_brightness",void 0),e)if("string"==typeof e){const r=e.trim();function o(e){return r.startsWith(e)}/^#?[A-F\d]{3,8}$/i.test(r)?this.fromHexString(r):o("rgb")?this.fromRgbString(r):o("hsl")?this.fromHslString(r):(o("hsv")||o("hsb"))&&this.fromHsvString(r)}else if(e instanceof l)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=s(e.r),this.g=s(e.g),this.b=s(e.b),this.a="number"==typeof e.a?s(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else{if(!t("hsv"))throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e));this.fromHsv(e)}else;}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){const t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}return.2126*e(this.r)+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){const e=this.getMax()-this.getMin();this._h=0===e?0:o(60*(this.r===this.getMax()?(this.g-this.b)/e+(this.g1&&(n=1),this._c({h:t,s:r,l:n,a:this.a})}mix(e,t=50){const r=this._c(e),n=t/100,i=e=>(r[e]-this[e])*n+this[e],a={r:o(i("r")),g:o(i("g")),b:o(i("b")),a:o(100*i("a"))/100};return this._c(a)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){const t=this._c(e),r=this.a+t.a*(1-this.a),n=e=>o((this[e]*this.a+t[e]*t.a*(1-this.a))/r);return this._c({r:n("r"),g:n("g"),b:n("b"),a:r})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#";const t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;const r=(this.g||0).toString(16);e+=2===r.length?r:"0"+r;const n=(this.b||0).toString(16);if(e+=2===n.length?n:"0"+n,"number"==typeof this.a&&this.a>=0&&this.a<1){const t=o(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const e=this.getHue(),t=o(100*this.getSaturation()),r=o(100*this.getLightness());return 1!==this.a?`hsla(${e},${t}%,${r}%,${this.a})`:`hsl(${e},${t}%,${r}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,r){const n=this.clone();return n[e]=s(t,r),n}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){const t=e.replace("#","");function r(e,r){return parseInt(t[e]+t[r||e],16)}t.length<6?(this.r=r(0),this.g=r(1),this.b=r(2),this.a=t[3]?r(3)/255:1):(this.r=r(0,1),this.g=r(2,3),this.b=r(4,5),this.a=t[6]?r(6,7)/255:1)}fromHsl({h:e,s:t,l:r,a:n}){if(this._h=e%360,this._s=t,this._l=r,this.a="number"==typeof n?n:1,t<=0){const e=o(255*r);this.r=e,this.g=e,this.b=e}let i=0,a=0,s=0;const l=e/60,c=(1-Math.abs(2*r-1))*t,u=c*(1-Math.abs(l%2-1));l>=0&&l<1?(i=c,a=u):l>=1&&l<2?(i=u,a=c):l>=2&&l<3?(a=c,s=u):l>=3&&l<4?(a=u,s=c):l>=4&&l<5?(i=u,s=c):l>=5&&l<6&&(i=c,s=u);const f=r-c/2;this.r=o(255*(i+f)),this.g=o(255*(a+f)),this.b=o(255*(s+f))}fromHsv({h:e,s:t,v:r,a:n}){this._h=e%360,this._s=t,this._v=r,this.a="number"==typeof n?n:1;const i=o(255*r);if(this.r=i,this.g=i,this.b=i,t<=0)return;const a=e/60,s=Math.floor(a),l=a-s,c=o(r*(1-t)*255),u=o(r*(1-t*l)*255),f=o(r*(1-t*(1-l))*255);switch(s){case 0:this.g=f,this.b=c;break;case 1:this.r=u,this.b=c;break;case 2:this.r=c,this.b=f;break;case 3:this.r=c,this.g=u;break;case 4:this.r=f,this.g=c;break;default:this.g=c,this.b=u}}fromHsvString(e){const t=i(e,a);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){const t=i(e,a);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){const t=i(e,((e,t)=>t.includes("%")?o(e/100*255):e));this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}},22420:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FastColor:()=>n.FastColor});var n=r(75752);r(79973)},79973:(e,t,r)=>{"use strict";r.r(t)},72961:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"}},32857:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"}},1085:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"}},89503:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"}},47046:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"}},49495:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"}},5717:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"}},9303:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}}]}},name:"file",theme:"twotone"}},15294:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"}},90102:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"}},5140:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:e}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:t}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:t}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:t}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:e}}]}},name:"picture",theme:"twotone"}},50756:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"}},509:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"}},13401:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>g});var n=r(87462),o=r(93324),i=r(4942),a=r(45987),s=r(36198),l=r(93967),c=r.n(l),u=r(11305),f=r(63017),d=r(58784),p=r(59068),h=r(41755),m=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];(0,p.setTwoToneColor)(u.blue.primary);var y=s.forwardRef((function(e,t){var r=e.className,l=e.icon,u=e.spin,p=e.rotate,y=e.tabIndex,g=e.onClick,v=e.twoToneColor,b=(0,a.default)(e,m),O=s.useContext(f.default),w=O.prefixCls,S=void 0===w?"anticon":w,x=O.rootClassName,E=c()(x,S,(0,i.default)((0,i.default)({},"".concat(S,"-").concat(l.name),!!l.name),"".concat(S,"-spin"),!!u||"loading"===l.name),r),_=y;void 0===_&&g&&(_=-1);var P=p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0,T=(0,h.normalizeTwoToneColors)(v),j=(0,o.default)(T,2),C=j[0],k=j[1];return s.createElement("span",(0,n.default)({role:"img","aria-label":l.name},b,{ref:t,tabIndex:_,onClick:g,className:E}),s.createElement(d.default,{icon:l,primaryColor:C,secondaryColor:k,style:P}))}));y.displayName="AntdIcon",y.getTwoToneColor=p.getTwoToneColor,y.setTwoToneColor=p.setTwoToneColor;const g=y},63017:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=(0,r(36198).createContext)({})},58784:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var n=r(45987),o=r(1413),i=r(36198),a=r(41755),s=["icon","className","onClick","style","primaryColor","secondaryColor"],l={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var c=function(e){var t=e.icon,r=e.className,c=e.onClick,u=e.style,f=e.primaryColor,d=e.secondaryColor,p=(0,n.default)(e,s),h=i.useRef(),m=l;if(f&&(m={primaryColor:f,secondaryColor:d||(0,a.getSecondaryColor)(f)}),(0,a.useInsertStyles)(h),(0,a.warning)((0,a.isIconDefinition)(t),"icon should be icon definiton, but got ".concat(t)),!(0,a.isIconDefinition)(t))return null;var y=t;return y&&"function"==typeof y.icon&&(y=(0,o.default)((0,o.default)({},y),{},{icon:y.icon(m.primaryColor,m.secondaryColor)})),(0,a.generate)(y.icon,"svg-".concat(y.name),(0,o.default)((0,o.default)({className:r,onClick:c,style:u,"data-icon":y.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},p),{},{ref:h}))};c.displayName="IconReact",c.getTwoToneColors=function(){return(0,o.default)({},l)},c.setTwoToneColors=function(e){var t=e.primaryColor,r=e.secondaryColor;l.primaryColor=t,l.secondaryColor=r||(0,a.getSecondaryColor)(t),l.calculated=!!r};const u=c},59068:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getTwoToneColor:()=>s,setTwoToneColor:()=>a});var n=r(93324),o=r(58784),i=r(41755);function a(e){var t=(0,i.normalizeTwoToneColors)(e),r=(0,n.default)(t,2),a=r[0],s=r[1];return o.default.setTwoToneColors({primaryColor:a,secondaryColor:s})}function s(){var e=o.default.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}},50675:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(87462),o=r(36198),i=r(72961),a=r(13401),s=function(e,t){return o.createElement(a.default,(0,n.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},88284:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(87462),o=r(36198),i=r(32857),a=r(13401),s=function(e,t){return o.createElement(a.default,(0,n.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},8913:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(87462),o=r(36198),i=r(1085),a=r(13401),s=function(e,t){return o.createElement(a.default,(0,n.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},28508:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(87462),o=r(36198),i=r(89503),a=r(13401),s=function(e,t){return o.createElement(a.default,(0,n.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},82061:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(87462),o=r(36198),i=r(47046),a=r(13401),s=function(e,t){return o.createElement(a.default,(0,n.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},69753:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(87462),o=r(36198),i=r(49495),a=r(13401),s=function(e,t){return o.createElement(a.default,(0,n.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},55287:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(87462),o=r(36198),i=r(5717),a=r(13401),s=function(e,t){return o.createElement(a.default,(0,n.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},95807:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(87462),o=r(36198),i=r(9303),a=r(13401),s=function(e,t){return o.createElement(a.default,(0,n.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},79090:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(87462),o=r(36198),i=r(15294),a=r(13401),s=function(e,t){return o.createElement(a.default,(0,n.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},45128:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(87462),o=r(36198),i=r(90102),a=r(13401),s=function(e,t){return o.createElement(a.default,(0,n.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},8948:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(87462),o=r(36198),i=r(5140),a=r(13401),s=function(e,t){return o.createElement(a.default,(0,n.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},43929:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(87462),o=r(36198),i=r(50756),a=r(13401),s=function(e,t){return o.createElement(a.default,(0,n.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},40110:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(87462),o=r(36198),i=r(509),a=r(13401),s=function(e,t){return o.createElement(a.default,(0,n.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},41755:(e,t,r)=>{"use strict";r.r(t),r.d(t,{generate:()=>h,getSecondaryColor:()=>m,iconStyles:()=>v,isIconDefinition:()=>d,normalizeAttrs:()=>p,normalizeTwoToneColors:()=>y,svgBaseProps:()=>g,useInsertStyles:()=>b,warning:()=>f});var n=r(1413),o=r(71002),i=r(11305),a=r(44958),s=r(27571),l=r(80334),c=r(36198),u=r(63017);function f(e,t){(0,l.default)(e,"[@ant-design/icons] ".concat(t))}function d(e){return"object"===(0,o.default)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,o.default)(e.icon)||"function"==typeof e.icon)}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,r){var n,o=e[r];if("class"===r)t.className=o,delete t.class;else delete t[r],t[(n=r,n.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=o;return t}),{})}function h(e,t,r){return r?c.createElement(e.tag,(0,n.default)((0,n.default)({key:t},p(e.attrs)),r),(e.children||[]).map((function(r,n){return h(r,"".concat(t,"-").concat(e.tag,"-").concat(n))}))):c.createElement(e.tag,(0,n.default)({key:t},p(e.attrs)),(e.children||[]).map((function(r,n){return h(r,"".concat(t,"-").concat(e.tag,"-").concat(n))})))}function m(e){return(0,i.generate)(e)[0]}function y(e){return e?Array.isArray(e)?e:[e]:[]}var g={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},v="\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",b=function(e){var t=(0,c.useContext)(u.default),r=t.csp,n=t.prefixCls,o=v;n&&(o=o.replace(/anticon/g,n)),(0,c.useEffect)((function(){var t=e.current,n=(0,s.getShadowRoot)(t);(0,a.updateCSS)(o,"@ant-design-icons",{prepend:!0,csp:r,attachTo:n})}),[])}},86500:(e,t,r)=>{"use strict";r.r(t),r.d(t,{convertDecimalToHex:()=>p,convertHexToDecimal:()=>h,hslToRgb:()=>s,hsvToRgb:()=>c,numberInputToObject:()=>y,parseIntFromHex:()=>m,rgbToHex:()=>u,rgbToHsl:()=>i,rgbToHsv:()=>l,rgbToRgb:()=>o,rgbaToArgbHex:()=>d,rgbaToHex:()=>f});var n=r(90279);function o(e,t,r){return{r:255*(0,n.bound01)(e,255),g:255*(0,n.bound01)(t,255),b:255*(0,n.bound01)(r,255)}}function i(e,t,r){e=(0,n.bound01)(e,255),t=(0,n.bound01)(t,255),r=(0,n.bound01)(r,255);var o=Math.max(e,t,r),i=Math.min(e,t,r),a=0,s=0,l=(o+i)/2;if(o===i)s=0,a=0;else{var c=o-i;switch(s=l>.5?c/(2-o-i):c/(o+i),o){case e:a=(t-r)/c+(t1&&(r-=1),r<1/6?e+6*r*(t-e):r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function s(e,t,r){var o,i,s;if(e=(0,n.bound01)(e,360),t=(0,n.bound01)(t,100),r=(0,n.bound01)(r,100),0===t)i=r,s=r,o=r;else{var l=r<.5?r*(1+t):r+t-r*t,c=2*r-l;o=a(c,l,e+1/3),i=a(c,l,e),s=a(c,l,e-1/3)}return{r:255*o,g:255*i,b:255*s}}function l(e,t,r){e=(0,n.bound01)(e,255),t=(0,n.bound01)(t,255),r=(0,n.bound01)(r,255);var o=Math.max(e,t,r),i=Math.min(e,t,r),a=0,s=o,l=o-i,c=0===o?0:l/o;if(o===i)a=0;else{switch(o){case e:a=(t-r)/l+(t>16,g:(65280&e)>>8,b:255&e}}},48701:(e,t,r)=>{"use strict";r.r(t),r.d(t,{names:()=>n});var n={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},1350:(e,t,r)=>{"use strict";r.r(t),r.d(t,{inputToRGB:()=>a,isValidCSSUnit:()=>d,stringInputToObject:()=>f});var n=r(86500),o=r(48701),i=r(90279);function a(e){var t={r:0,g:0,b:0},r=1,o=null,a=null,s=null,l=!1,c=!1;return"string"==typeof e&&(e=f(e)),"object"==typeof e&&(d(e.r)&&d(e.g)&&d(e.b)?(t=(0,n.rgbToRgb)(e.r,e.g,e.b),l=!0,c="%"===String(e.r).substr(-1)?"prgb":"rgb"):d(e.h)&&d(e.s)&&d(e.v)?(o=(0,i.convertToPercentage)(e.s),a=(0,i.convertToPercentage)(e.v),t=(0,n.hsvToRgb)(e.h,o,a),l=!0,c="hsv"):d(e.h)&&d(e.s)&&d(e.l)&&(o=(0,i.convertToPercentage)(e.s),s=(0,i.convertToPercentage)(e.l),t=(0,n.hslToRgb)(e.h,o,s),l=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=(0,i.boundAlpha)(r),{ok:l,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var s="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),l="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),c="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),u={CSS_UNIT:new RegExp(s),rgb:new RegExp("rgb"+l),rgba:new RegExp("rgba"+c),hsl:new RegExp("hsl"+l),hsla:new RegExp("hsla"+c),hsv:new RegExp("hsv"+l),hsva:new RegExp("hsva"+c),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function f(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(o.names[e])e=o.names[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var r=u.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=u.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=u.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=u.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=u.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=u.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=u.hex8.exec(e))?{r:(0,n.parseIntFromHex)(r[1]),g:(0,n.parseIntFromHex)(r[2]),b:(0,n.parseIntFromHex)(r[3]),a:(0,n.convertHexToDecimal)(r[4]),format:t?"name":"hex8"}:(r=u.hex6.exec(e))?{r:(0,n.parseIntFromHex)(r[1]),g:(0,n.parseIntFromHex)(r[2]),b:(0,n.parseIntFromHex)(r[3]),format:t?"name":"hex"}:(r=u.hex4.exec(e))?{r:(0,n.parseIntFromHex)(r[1]+r[1]),g:(0,n.parseIntFromHex)(r[2]+r[2]),b:(0,n.parseIntFromHex)(r[3]+r[3]),a:(0,n.convertHexToDecimal)(r[4]+r[4]),format:t?"name":"hex8"}:!!(r=u.hex3.exec(e))&&{r:(0,n.parseIntFromHex)(r[1]+r[1]),g:(0,n.parseIntFromHex)(r[2]+r[2]),b:(0,n.parseIntFromHex)(r[3]+r[3]),format:t?"name":"hex"}}function d(e){return Boolean(u.CSS_UNIT.exec(String(e)))}},98840:(e,t,r)=>{"use strict";r.r(t),r.d(t,{fromRatio:()=>i,legacyRandom:()=>a});var n=r(10274),o=r(90279);function i(e,t){var r={r:(0,o.convertToPercentage)(e.r),g:(0,o.convertToPercentage)(e.g),b:(0,o.convertToPercentage)(e.b)};return void 0!==e.a&&(r.a=Number(e.a)),new n.TinyColor(r,t)}function a(){return new n.TinyColor({r:Math.random(),g:Math.random(),b:Math.random()})}},10274:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TinyColor:()=>s,tinycolor:()=>l});var n=r(86500),o=r(48701),i=r(1350),a=r(90279),s=function(){function e(t,r){var o;if(void 0===t&&(t=""),void 0===r&&(r={}),t instanceof e)return t;"number"==typeof t&&(t=(0,n.numberInputToObject)(t)),this.originalInput=t;var a=(0,i.inputToRGB)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=r.format)&&void 0!==o?o:a.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,r=e.g/255,n=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.boundAlpha)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,n.rgbToHsv)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,n.rgbToHsv)(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,n.rgbToHsl)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,n.rgbToHsl)(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,n.rgbToHex)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,n.rgbaToHex)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),r=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(r,")"):"rgba(".concat(e,", ").concat(t,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.bound01)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.bound01)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,n.rgbToHex)(this.r,this.g,this.b,!1),t=0,r=Object.entries(o.names);t=0;return t||!n||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=(0,a.clamp01)(r.l),new e(r)},e.prototype.brighten=function(t){void 0===t&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-t/100*255))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-t/100*255))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-t/100*255))),new e(r)},e.prototype.darken=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=(0,a.clamp01)(r.l),new e(r)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=(0,a.clamp01)(r.s),new e(r)},e.prototype.saturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=(0,a.clamp01)(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){void 0===r&&(r=50);var n=this.toRgb(),o=new e(t).toRgb(),i=r/100;return new e({r:(o.r-n.r)*i+n.r,g:(o.g-n.g)*i+n.g,b:(o.b-n.b)*i+n.b,a:(o.a-n.a)*i+n.a})},e.prototype.analogous=function(t,r){void 0===t&&(t=6),void 0===r&&(r=30);var n=this.toHsl(),o=360/r,i=[this];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,i.push(new e(n));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var r=this.toHsv(),n=r.h,o=r.s,i=r.v,a=[],s=1/t;t--;)a.push(new e({h:n,s:o,v:i})),i=(i+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),o=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/o,g:(r.g*r.a+n.g*n.a*(1-r.a))/o,b:(r.b*r.a+n.b*n.a*(1-r.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,o=[this],i=360/t,a=1;a{"use strict";r.r(t)},41191:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TinyColor:()=>n.TinyColor,bounds:()=>c.bounds,convertDecimalToHex:()=>u.convertDecimalToHex,convertHexToDecimal:()=>u.convertHexToDecimal,default:()=>f,fromRatio:()=>s.fromRatio,hslToRgb:()=>u.hslToRgb,hsvToRgb:()=>u.hsvToRgb,inputToRGB:()=>l.inputToRGB,isReadable:()=>i.isReadable,isValidCSSUnit:()=>l.isValidCSSUnit,legacyRandom:()=>s.legacyRandom,mostReadable:()=>i.mostReadable,names:()=>o.names,numberInputToObject:()=>u.numberInputToObject,parseIntFromHex:()=>u.parseIntFromHex,random:()=>c.random,readability:()=>i.readability,rgbToHex:()=>u.rgbToHex,rgbToHsl:()=>u.rgbToHsl,rgbToHsv:()=>u.rgbToHsv,rgbToRgb:()=>u.rgbToRgb,rgbaToArgbHex:()=>u.rgbaToArgbHex,rgbaToHex:()=>u.rgbaToHex,stringInputToObject:()=>l.stringInputToObject,tinycolor:()=>n.tinycolor,toMsFilter:()=>a.toMsFilter});var n=r(10274),o=r(48701),i=r(47816),a=r(39258),s=r(98840),l=r(1350),c=r(96624),u=(r(76721),r(86500));const f=n.tinycolor},96624:(e,t,r)=>{"use strict";r.r(t),r.d(t,{bounds:()=>l,random:()=>o});var n=r(10274);function o(e){if(void 0===e&&(e={}),void 0!==e.count&&null!==e.count){var t=e.count,r=[];for(e.count=void 0;t>r.length;)e.count=null,e.seed&&(e.seed+=1),r.push(o(e));return e.count=t,r}var c=function(e,t){var r=a(function(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if("string"==typeof e){var r=l.find((function(t){return t.name===e}));if(r){var o=s(r);if(o.hueRange)return o.hueRange}var i=new n.TinyColor(e);if(i.isValid){var a=i.toHsv().h;return[a,a]}}return[0,360]}(e),t);r<0&&(r=360+r);return r}(e.hue,e.seed),u=function(e,t){if("monochrome"===t.hue)return 0;if("random"===t.luminosity)return a([0,100],t.seed);var r=i(e).saturationRange,n=r[0],o=r[1];switch(t.luminosity){case"bright":n=55;break;case"dark":n=o-10;break;case"light":o=55}return a([n,o],t.seed)}(c,e),f=function(e,t,r){var n=function(e,t){for(var r=i(e).lowerBounds,n=0;n=o&&t<=s){var c=(l-a)/(s-o);return c*t+(a-c*o)}}return 0}(e,t),o=100;switch(r.luminosity){case"dark":o=n+20;break;case"light":n=(o+n)/2;break;case"random":n=0,o=100}return a([n,o],r.seed)}(c,u,e),d={h:c,s:u,v:f};return void 0!==e.alpha&&(d.a=e.alpha),new n.TinyColor(d)}function i(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=l;t=n.hueRange[0]&&e<=n.hueRange[1])return n}throw Error("Color not found")}function a(e,t){if(void 0===t)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var r=e[1]||1,n=e[0]||0,o=(t=(9301*t+49297)%233280)/233280;return Math.floor(n+o*(r-n))}function s(e){var t=e.lowerBounds[0][0],r=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],o=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,r],brightnessRange:[n,o]}}var l=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}]},47816:(e,t,r)=>{"use strict";r.r(t),r.d(t,{isReadable:()=>i,mostReadable:()=>a,readability:()=>o});var n=r(10274);function o(e,t){var r=new n.TinyColor(e),o=new n.TinyColor(t);return(Math.max(r.getLuminance(),o.getLuminance())+.05)/(Math.min(r.getLuminance(),o.getLuminance())+.05)}function i(e,t,r){var n,i;void 0===r&&(r={level:"AA",size:"small"});var a=o(e,t);switch((null!==(n=r.level)&&void 0!==n?n:"AA")+(null!==(i=r.size)&&void 0!==i?i:"small")){case"AAsmall":case"AAAlarge":return a>=4.5;case"AAlarge":return a>=3;case"AAAsmall":return a>=7;default:return!1}}function a(e,t,r){void 0===r&&(r={includeFallbackColors:!1,level:"AA",size:"small"});for(var s=null,l=0,c=r.includeFallbackColors,u=r.level,f=r.size,d=0,p=t;dl&&(l=m,s=new n.TinyColor(h))}return i(e,s,{level:u,size:f})||!c?s:(r.includeFallbackColors=!1,a(e,["#fff","#000"],r))}},39258:(e,t,r)=>{"use strict";r.r(t),r.d(t,{toMsFilter:()=>i});var n=r(86500),o=r(10274);function i(e,t){var r=new o.TinyColor(e),i="#"+(0,n.rgbaToArgbHex)(r.r,r.g,r.b,r.a),a=i,s=r.gradientType?"GradientType = 1, ":"";if(t){var l=new o.TinyColor(t);a="#"+(0,n.rgbaToArgbHex)(l.r,l.g,l.b,l.a)}return"progid:DXImageTransform.Microsoft.gradient(".concat(s,"startColorstr=").concat(i,",endColorstr=").concat(a,")")}},90279:(e,t,r)=>{"use strict";function n(e,t){i(e)&&(e="100%");var r=a(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)}function a(e){return"string"==typeof e&&-1!==e.indexOf("%")}function s(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function l(e){return e<=1?"".concat(100*Number(e),"%"):e}function c(e){return 1===e.length?"0"+e:String(e)}r.r(t),r.d(t,{bound01:()=>n,boundAlpha:()=>s,clamp01:()=>o,convertToPercentage:()=>l,isOnePointZero:()=>i,isPercentage:()=>a,pad2:()=>c})},42617:(e,t,r)=>{"use strict";r.r(t),r.d(t,{HiddenText:()=>i,LiveRegion:()=>a,useAnnouncement:()=>s});var n=r(36198);const o={display:"none"};function i(e){let{id:t,value:r}=e;return n.createElement("div",{id:t,style:o},r)}function a(e){let{id:t,announcement:r,ariaLiveType:o="assertive"}=e;return n.createElement("div",{id:t,style:{position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":o,"aria-atomic":!0},r)}function s(){const[e,t]=(0,n.useState)("");return{announce:(0,n.useCallback)((e=>{null!=e&&t(e)}),[]),announcement:e}}},94697:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AutoScrollActivator:()=>ve,DndContext:()=>Ze,DragOverlay:()=>ht,KeyboardCode:()=>re,KeyboardSensor:()=>se,MeasuringFrequency:()=>xe,MeasuringStrategy:()=>Se,MouseSensor:()=>me,PointerSensor:()=>de,TouchSensor:()=>ge,TraversalOrder:()=>be,applyModifiers:()=>Ge,closestCenter:()=>E,closestCorners:()=>_,defaultAnnouncements:()=>u,defaultCoordinates:()=>y,defaultDropAnimation:()=>ut,defaultDropAnimationSideEffects:()=>ct,defaultScreenReaderInstructions:()=>c,getClientRect:()=>M,getFirstCollision:()=>S,getScrollableAncestors:()=>N,pointerWithin:()=>C,rectIntersection:()=>T,useDndContext:()=>Je,useDndMonitor:()=>l,useDraggable:()=>Ke,useDroppable:()=>rt,useSensor:()=>h,useSensors:()=>m});var n=r(36198),o=r(18348),i=r(24285),a=r(42617);const s=(0,n.createContext)(null);function l(e){const t=(0,n.useContext)(s);(0,n.useEffect)((()=>{if(!t)throw new Error("useDndMonitor must be used within a children of ");return t(e)}),[e,t])}const c={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},u={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was moved over droppable area "+r.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was dropped over droppable area "+r.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function f(e){let{announcements:t=u,container:r,hiddenTextDescribedById:s,screenReaderInstructions:f=c}=e;const{announce:d,announcement:p}=(0,a.useAnnouncement)(),h=(0,i.useUniqueId)("DndLiveRegion"),[m,y]=(0,n.useState)(!1);if((0,n.useEffect)((()=>{y(!0)}),[]),l((0,n.useMemo)((()=>({onDragStart(e){let{active:r}=e;d(t.onDragStart({active:r}))},onDragMove(e){let{active:r,over:n}=e;t.onDragMove&&d(t.onDragMove({active:r,over:n}))},onDragOver(e){let{active:r,over:n}=e;d(t.onDragOver({active:r,over:n}))},onDragEnd(e){let{active:r,over:n}=e;d(t.onDragEnd({active:r,over:n}))},onDragCancel(e){let{active:r,over:n}=e;d(t.onDragCancel({active:r,over:n}))}})),[d,t])),!m)return null;const g=n.createElement(n.Fragment,null,n.createElement(a.HiddenText,{id:s,value:f.draggable}),n.createElement(a.LiveRegion,{id:h,announcement:p}));return r?(0,o.createPortal)(g,r):g}var d;function p(){}function h(e,t){return(0,n.useMemo)((()=>({sensor:e,options:null!=t?t:{}})),[e,t])}function m(){for(var e=arguments.length,t=new Array(e),r=0;r[...t].filter((e=>null!=e))),[...t])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(d||(d={}));const y=Object.freeze({x:0,y:0});function g(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function v(e,t){const r=(0,i.getEventCoordinates)(e);if(!r)return"0 0";return(r.x-t.left)/t.width*100+"% "+(r.y-t.top)/t.height*100+"%"}function b(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return r-n}function O(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return n-r}function w(e){let{left:t,top:r,height:n,width:o}=e;return[{x:t,y:r},{x:t+o,y:r},{x:t,y:r+n},{x:t+o,y:r+n}]}function S(e,t){if(!e||0===e.length)return null;const[r]=e;return t?r[t]:r}function x(e,t,r){return void 0===t&&(t=e.left),void 0===r&&(r=e.top),{x:t+.5*e.width,y:r+.5*e.height}}const E=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const o=x(t,t.left,t.top),i=[];for(const e of n){const{id:t}=e,n=r.get(t);if(n){const r=g(x(n),o);i.push({id:t,data:{droppableContainer:e,value:r}})}}return i.sort(b)},_=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const o=w(t),i=[];for(const e of n){const{id:t}=e,n=r.get(t);if(n){const r=w(n),a=o.reduce(((e,t,n)=>e+g(r[n],t)),0),s=Number((a/4).toFixed(4));i.push({id:t,data:{droppableContainer:e,value:s}})}}return i.sort(b)};function P(e,t){const r=Math.max(t.top,e.top),n=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),a=o-n,s=i-r;if(n{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const o=[];for(const e of n){const{id:n}=e,i=r.get(n);if(i){const r=P(i,t);r>0&&o.push({id:n,data:{droppableContainer:e,value:r}})}}return o.sort(O)};function j(e,t){const{top:r,left:n,bottom:o,right:i}=t;return r<=e.y&&e.y<=o&&n<=e.x&&e.x<=i}const C=e=>{let{droppableContainers:t,droppableRects:r,pointerCoordinates:n}=e;if(!n)return[];const o=[];for(const e of t){const{id:t}=e,i=r.get(t);if(i&&j(n,i)){const r=w(i).reduce(((e,t)=>e+g(n,t)),0),a=Number((r/4).toFixed(4));o.push({id:t,data:{droppableContainer:e,value:a}})}}return o.sort(b)};function k(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:y}function A(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o({...t,top:t.top+e*r.y,bottom:t.bottom+e*r.y,left:t.left+e*r.x,right:t.right+e*r.x})),{...t})}}const D=A(1);function L(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}const R={ignoreTransform:!1};function M(e,t){void 0===t&&(t=R);let r=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:n}=(0,i.getWindow)(e).getComputedStyle(e);t&&(r=function(e,t,r){const n=L(t);if(!n)return e;const{scaleX:o,scaleY:i,x:a,y:s}=n,l=e.left-a-(1-o)*parseFloat(r),c=e.top-s-(1-i)*parseFloat(r.slice(r.indexOf(" ")+1)),u=o?e.width/o:e.width,f=i?e.height/i:e.height;return{width:u,height:f,top:c,right:l+u,bottom:c+f,left:l}}(r,t,n))}const{top:n,left:o,width:a,height:s,bottom:l,right:c}=r;return{top:n,left:o,width:a,height:s,bottom:l,right:c}}function I(e){return M(e,{ignoreTransform:!0})}function N(e,t){const r=[];return e?function n(o){if(null!=t&&r.length>=t)return r;if(!o)return r;if((0,i.isDocument)(o)&&null!=o.scrollingElement&&!r.includes(o.scrollingElement))return r.push(o.scrollingElement),r;if(!(0,i.isHTMLElement)(o)||(0,i.isSVGElement)(o))return r;if(r.includes(o))return r;const a=(0,i.getWindow)(e).getComputedStyle(o);return o!==e&&function(e,t){void 0===t&&(t=(0,i.getWindow)(e).getComputedStyle(e));const r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const n=t[e];return"string"==typeof n&&r.test(n)}))}(o,a)&&r.push(o),function(e,t){return void 0===t&&(t=(0,i.getWindow)(e).getComputedStyle(e)),"fixed"===t.position}(o,a)?r:n(o.parentNode)}(e):r}function B(e){const[t]=N(e,1);return null!=t?t:null}function $(e){return i.canUseDOM&&e?(0,i.isWindow)(e)?e:(0,i.isNode)(e)?(0,i.isDocument)(e)||e===(0,i.getOwnerDocument)(e).scrollingElement?window:(0,i.isHTMLElement)(e)?e:null:null:null}function F(e){return(0,i.isWindow)(e)?e.scrollX:e.scrollLeft}function z(e){return(0,i.isWindow)(e)?e.scrollY:e.scrollTop}function Q(e){return{x:F(e),y:z(e)}}var V;function U(e){return!(!i.canUseDOM||!e)&&e===document.scrollingElement}function G(e){const t={x:0,y:0},r=U(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},n={x:e.scrollWidth-r.width,y:e.scrollHeight-r.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=n.y,isRight:e.scrollLeft>=n.x,maxScroll:n,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(V||(V={}));const W={x:.2,y:.2};function H(e,t,r,n,o){let{top:i,left:a,right:s,bottom:l}=r;void 0===n&&(n=10),void 0===o&&(o=W);const{isTop:c,isBottom:u,isLeft:f,isRight:d}=G(e),p={x:0,y:0},h={x:0,y:0},m=t.height*o.y,y=t.width*o.x;return!c&&i<=t.top+m?(p.y=V.Backward,h.y=n*Math.abs((t.top+m-i)/m)):!u&&l>=t.bottom-m&&(p.y=V.Forward,h.y=n*Math.abs((t.bottom-m-l)/m)),!d&&s>=t.right-y?(p.x=V.Forward,h.x=n*Math.abs((t.right-y-s)/y)):!f&&a<=t.left+y&&(p.x=V.Backward,h.x=n*Math.abs((t.left+y-a)/y)),{direction:p,speed:h}}function Z(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:r,right:n,bottom:o}=e.getBoundingClientRect();return{top:t,left:r,right:n,bottom:o,width:e.clientWidth,height:e.clientHeight}}function X(e){return e.reduce(((e,t)=>(0,i.add)(e,Q(t))),y)}function q(e,t){if(void 0===t&&(t=M),!e)return;const{top:r,left:n,bottom:o,right:i}=t(e);B(e)&&(o<=0||i<=0||r>=window.innerHeight||n>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const Y=[["x",["left","right"],function(e){return e.reduce(((e,t)=>e+F(t)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+z(t)),0)}]];class K{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=N(t),n=X(r);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,o]of Y)for(const i of t)Object.defineProperty(this,i,{get:()=>{const t=o(r),a=n[e]-t;return this.rect[i]+a},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class J{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach((e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)}))},this.target=e}add(e,t,r){var n;null==(n=this.target)||n.addEventListener(e,t,r),this.listeners.push([e,t,r])}}function ee(e,t){const r=Math.abs(e.x),n=Math.abs(e.y);return"number"==typeof t?Math.sqrt(r**2+n**2)>t:"x"in t&&"y"in t?r>t.x&&n>t.y:"x"in t?r>t.x:"y"in t&&n>t.y}var te,re;function ne(e){e.preventDefault()}function oe(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(te||(te={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(re||(re={}));const ie={start:[re.Space,re.Enter],cancel:[re.Esc],end:[re.Space,re.Enter]},ae=(e,t)=>{let{currentCoordinates:r}=t;switch(e.code){case re.Right:return{...r,x:r.x+25};case re.Left:return{...r,x:r.x-25};case re.Down:return{...r,y:r.y+25};case re.Up:return{...r,y:r.y-25}}};class se{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new J((0,i.getOwnerDocument)(t)),this.windowListeners=new J((0,i.getWindow)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(te.Resize,this.handleCancel),this.windowListeners.add(te.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(te.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,r=e.node.current;r&&q(r),t(y)}handleKeyDown(e){if((0,i.isKeyboardEvent)(e)){const{active:t,context:r,options:n}=this.props,{keyboardCodes:o=ie,coordinateGetter:a=ae,scrollBehavior:s="smooth"}=n,{code:l}=e;if(o.end.includes(l))return void this.handleEnd(e);if(o.cancel.includes(l))return void this.handleCancel(e);const{collisionRect:c}=r.current,u=c?{x:c.left,y:c.top}:y;this.referenceCoordinates||(this.referenceCoordinates=u);const f=a(e,{active:t,context:r.current,currentCoordinates:u});if(f){const t=(0,i.subtract)(f,u),n={x:0,y:0},{scrollableAncestors:o}=r.current;for(const r of o){const o=e.code,{isTop:i,isRight:a,isLeft:l,isBottom:c,maxScroll:u,minScroll:d}=G(r),p=Z(r),h={x:Math.min(o===re.Right?p.right-p.width/2:p.right,Math.max(o===re.Right?p.left:p.left+p.width/2,f.x)),y:Math.min(o===re.Down?p.bottom-p.height/2:p.bottom,Math.max(o===re.Down?p.top:p.top+p.height/2,f.y))},m=o===re.Right&&!a||o===re.Left&&!l,y=o===re.Down&&!c||o===re.Up&&!i;if(m&&h.x!==f.x){const e=r.scrollLeft+t.x,i=o===re.Right&&e<=u.x||o===re.Left&&e>=d.x;if(i&&!t.y)return void r.scrollTo({left:e,behavior:s});n.x=i?r.scrollLeft-e:o===re.Right?r.scrollLeft-u.x:r.scrollLeft-d.x,n.x&&r.scrollBy({left:-n.x,behavior:s});break}if(y&&h.y!==f.y){const e=r.scrollTop+t.y,i=o===re.Down&&e<=u.y||o===re.Up&&e>=d.y;if(i&&!t.x)return void r.scrollTo({top:e,behavior:s});n.y=i?r.scrollTop-e:o===re.Down?r.scrollTop-u.y:r.scrollTop-d.y,n.y&&r.scrollBy({top:-n.y,behavior:s});break}}this.handleMove(e,(0,i.add)((0,i.subtract)(f,this.referenceCoordinates),n))}}}handleMove(e,t){const{onMove:r}=this.props;e.preventDefault(),r(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function le(e){return Boolean(e&&"distance"in e)}function ce(e){return Boolean(e&&"delay"in e)}se.activators=[{eventName:"onKeyDown",handler:(e,t,r)=>{let{keyboardCodes:n=ie,onActivation:o}=t,{active:i}=r;const{code:a}=e.nativeEvent;if(n.start.includes(a)){const t=i.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==o||o({event:e.nativeEvent}),!0)}return!1}}];class ue{constructor(e,t,r){var n;void 0===r&&(r=function(e){const{EventTarget:t}=(0,i.getWindow)(e);return e instanceof t?e:(0,i.getOwnerDocument)(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:o}=e,{target:a}=o;this.props=e,this.events=t,this.document=(0,i.getOwnerDocument)(a),this.documentListeners=new J(this.document),this.listeners=new J(r),this.windowListeners=new J((0,i.getWindow)(a)),this.initialCoordinates=null!=(n=(0,i.getEventCoordinates)(o))?n:y,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:r}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(te.Resize,this.handleCancel),this.windowListeners.add(te.DragStart,ne),this.windowListeners.add(te.VisibilityChange,this.handleCancel),this.windowListeners.add(te.ContextMenu,ne),this.documentListeners.add(te.Keydown,this.handleKeydown),t){if(null!=r&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(ce(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay));if(le(t))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(te.Click,oe,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(te.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:r,initialCoordinates:n,props:o}=this,{onMove:a,options:{activationConstraint:s}}=o;if(!n)return;const l=null!=(t=(0,i.getEventCoordinates)(e))?t:y,c=(0,i.subtract)(n,l);if(!r&&s){if(le(s)){if(null!=s.tolerance&&ee(c,s.tolerance))return this.handleCancel();if(ee(c,s.distance))return this.handleStart()}return ce(s)&&ee(c,s.tolerance)?this.handleCancel():void 0}e.cancelable&&e.preventDefault(),a(l)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===re.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const fe={move:{name:"pointermove"},end:{name:"pointerup"}};class de extends ue{constructor(e){const{event:t}=e,r=(0,i.getOwnerDocument)(t.target);super(e,fe,r)}}de.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return!(!r.isPrimary||0!==r.button)&&(null==n||n({event:r}),!0)}}];const pe={move:{name:"mousemove"},end:{name:"mouseup"}};var he;!function(e){e[e.RightClick=2]="RightClick"}(he||(he={}));class me extends ue{constructor(e){super(e,pe,(0,i.getOwnerDocument)(e.event.target))}}me.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return r.button!==he.RightClick&&(null==n||n({event:r}),!0)}}];const ye={move:{name:"touchmove"},end:{name:"touchend"}};class ge extends ue{constructor(e){super(e,ye)}static setup(){return window.addEventListener(ye.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(ye.move.name,e)};function e(){}}}var ve,be;function Oe(e){let{acceleration:t,activator:r=ve.Pointer,canScroll:o,draggingRect:a,enabled:s,interval:l=5,order:c=be.TreeOrder,pointerCoordinates:u,scrollableAncestors:f,scrollableAncestorRects:d,delta:p,threshold:h}=e;const m=function(e){let{delta:t,disabled:r}=e;const n=(0,i.usePrevious)(t);return(0,i.useLazyMemo)((e=>{if(r||!n||!e)return we;const o={x:Math.sign(t.x-n.x),y:Math.sign(t.y-n.y)};return{x:{[V.Backward]:e.x[V.Backward]||-1===o.x,[V.Forward]:e.x[V.Forward]||1===o.x},y:{[V.Backward]:e.y[V.Backward]||-1===o.y,[V.Forward]:e.y[V.Forward]||1===o.y}}}),[r,t,n])}({delta:p,disabled:!s}),[y,g]=(0,i.useInterval)(),v=(0,n.useRef)({x:0,y:0}),b=(0,n.useRef)({x:0,y:0}),O=(0,n.useMemo)((()=>{switch(r){case ve.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case ve.DraggableRect:return a}}),[r,a,u]),w=(0,n.useRef)(null),S=(0,n.useCallback)((()=>{const e=w.current;if(!e)return;const t=v.current.x*b.current.x,r=v.current.y*b.current.y;e.scrollBy(t,r)}),[]),x=(0,n.useMemo)((()=>c===be.TreeOrder?[...f].reverse():f),[c,f]);(0,n.useEffect)((()=>{if(s&&f.length&&O){for(const e of x){if(!1===(null==o?void 0:o(e)))continue;const r=f.indexOf(e),n=d[r];if(!n)continue;const{direction:i,speed:a}=H(e,n,O,t,h);for(const e of["x","y"])m[e][i[e]]||(a[e]=0,i[e]=0);if(a.x>0||a.y>0)return g(),w.current=e,y(S,l),v.current=a,void(b.current=i)}v.current={x:0,y:0},b.current={x:0,y:0},g()}else g()}),[t,S,o,g,s,l,JSON.stringify(O),JSON.stringify(m),y,f,x,d,JSON.stringify(h)])}ge.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;const{touches:o}=r;return!(o.length>1)&&(null==n||n({event:r}),!0)}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(ve||(ve={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(be||(be={}));const we={x:{[V.Backward]:!1,[V.Forward]:!1},y:{[V.Backward]:!1,[V.Forward]:!1}};var Se,xe;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(Se||(Se={})),function(e){e.Optimized="optimized"}(xe||(xe={}));const Ee=new Map;function _e(e,t){return(0,i.useLazyMemo)((r=>e?r||("function"==typeof t?t(e):e):null),[t,e])}function Pe(e){let{callback:t,disabled:r}=e;const o=(0,i.useEvent)(t),a=(0,n.useMemo)((()=>{if(r||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(o)}),[r]);return(0,n.useEffect)((()=>()=>null==a?void 0:a.disconnect()),[a]),a}function Te(e){return new K(M(e),e)}function je(e,t,r){void 0===t&&(t=Te);const[o,a]=(0,n.useReducer)((function(n){if(!e)return null;var o;if(!1===e.isConnected)return null!=(o=null!=n?n:r)?o:null;const i=t(e);if(JSON.stringify(n)===JSON.stringify(i))return n;return i}),null),s=function(e){let{callback:t,disabled:r}=e;const o=(0,i.useEvent)(t),a=(0,n.useMemo)((()=>{if(r||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(o)}),[o,r]);return(0,n.useEffect)((()=>()=>null==a?void 0:a.disconnect()),[a]),a}({callback(t){if(e)for(const r of t){const{type:t,target:n}=r;if("childList"===t&&n instanceof HTMLElement&&n.contains(e)){a();break}}}}),l=Pe({callback:a});return(0,i.useIsomorphicLayoutEffect)((()=>{a(),e?(null==l||l.observe(e),null==s||s.observe(document.body,{childList:!0,subtree:!0})):(null==l||l.disconnect(),null==s||s.disconnect())}),[e]),o}const Ce=[];function ke(e,t){void 0===t&&(t=[]);const r=(0,n.useRef)(null);return(0,n.useEffect)((()=>{r.current=null}),t),(0,n.useEffect)((()=>{const t=e!==y;t&&!r.current&&(r.current=e),!t&&r.current&&(r.current=null)}),[e]),r.current?(0,i.subtract)(e,r.current):y}function Ae(e){return(0,n.useMemo)((()=>e?function(e){const t=e.innerWidth,r=e.innerHeight;return{top:0,left:0,right:t,bottom:r,width:t,height:r}}(e):null),[e])}const De=[];function Le(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return(0,i.isHTMLElement)(t)?t:e}const Re=[{sensor:de,options:{}},{sensor:se,options:{}}],Me={current:{}},Ie={draggable:{measure:I},droppable:{measure:I,strategy:Se.WhileDragging,frequency:xe.Optimized},dragOverlay:{measure:M}};class Ne extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:t}=e;return!t}))}getNodeFor(e){var t,r;return null!=(t=null==(r=this.get(e))?void 0:r.node.current)?t:void 0}}const Be={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Ne,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:p},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Ie,measureDroppableContainers:p,windowRect:null,measuringScheduled:!1},$e={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:p,draggableNodes:new Map,over:null,measureDroppableContainers:p},Fe=(0,n.createContext)($e),ze=(0,n.createContext)(Be);function Qe(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Ne}}}function Ve(e,t){switch(t.type){case d.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case d.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case d.DragEnd:case d.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case d.RegisterDroppable:{const{element:r}=t,{id:n}=r,o=new Ne(e.droppable.containers);return o.set(n,r),{...e,droppable:{...e.droppable,containers:o}}}case d.SetDroppableDisabled:{const{id:r,key:n,disabled:o}=t,i=e.droppable.containers.get(r);if(!i||n!==i.key)return e;const a=new Ne(e.droppable.containers);return a.set(r,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:a}}}case d.UnregisterDroppable:{const{id:r,key:n}=t,o=e.droppable.containers.get(r);if(!o||n!==o.key)return e;const i=new Ne(e.droppable.containers);return i.delete(r),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function Ue(e){let{disabled:t}=e;const{active:r,activatorEvent:o,draggableNodes:a}=(0,n.useContext)(Fe),s=(0,i.usePrevious)(o),l=(0,i.usePrevious)(null==r?void 0:r.id);return(0,n.useEffect)((()=>{if(!t&&!o&&s&&null!=l){if(!(0,i.isKeyboardEvent)(s))return;if(document.activeElement===s.target)return;const e=a.get(l);if(!e)return;const{activatorNode:t,node:r}=e;if(!t.current&&!r.current)return;requestAnimationFrame((()=>{for(const e of[t.current,r.current]){if(!e)continue;const t=(0,i.findFirstFocusableNode)(e);if(t){t.focus();break}}}))}}),[o,t,a,l,s]),null}function Ge(e,t){let{transform:r,...n}=t;return null!=e&&e.length?e.reduce(((e,t)=>t({transform:e,...n})),r):r}const We=(0,n.createContext)({...y,scaleX:1,scaleY:1});var He;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(He||(He={}));const Ze=(0,n.memo)((function(e){var t,r,a,l;let{id:c,accessibility:u,autoScroll:p=!0,children:h,sensors:m=Re,collisionDetection:g=T,measuring:v,modifiers:b,...O}=e;const w=(0,n.useReducer)(Ve,void 0,Qe),[x,E]=w,[_,P]=function(){const[e]=(0,n.useState)((()=>new Set)),t=(0,n.useCallback)((t=>(e.add(t),()=>e.delete(t))),[e]);return[(0,n.useCallback)((t=>{let{type:r,event:n}=t;e.forEach((e=>{var t;return null==(t=e[r])?void 0:t.call(e,n)}))}),[e]),t]}(),[j,C]=(0,n.useState)(He.Uninitialized),A=j===He.Initialized,{draggable:{active:L,nodes:R,translate:I},droppable:{containers:F}}=x,z=L?R.get(L):null,V=(0,n.useRef)({initial:null,translated:null}),G=(0,n.useMemo)((()=>{var e;return null!=L?{id:L,data:null!=(e=null==z?void 0:z.data)?e:Me,rect:V}:null}),[L,z]),W=(0,n.useRef)(null),[H,Z]=(0,n.useState)(null),[q,Y]=(0,n.useState)(null),J=(0,i.useLatestValue)(O,Object.values(O)),ee=(0,i.useUniqueId)("DndDescribedBy",c),te=(0,n.useMemo)((()=>F.getEnabled()),[F]),re=(ne=v,(0,n.useMemo)((()=>({draggable:{...Ie.draggable,...null==ne?void 0:ne.draggable},droppable:{...Ie.droppable,...null==ne?void 0:ne.droppable},dragOverlay:{...Ie.dragOverlay,...null==ne?void 0:ne.dragOverlay}})),[null==ne?void 0:ne.draggable,null==ne?void 0:ne.droppable,null==ne?void 0:ne.dragOverlay]));var ne;const{droppableRects:oe,measureDroppableContainers:ie,measuringScheduled:ae}=function(e,t){let{dragging:r,dependencies:o,config:a}=t;const[s,l]=(0,n.useState)(null),{frequency:c,measure:u,strategy:f}=a,d=(0,n.useRef)(e),p=function(){switch(f){case Se.Always:return!1;case Se.BeforeDragging:return r;default:return!r}}(),h=(0,i.useLatestValue)(p),m=(0,n.useCallback)((function(e){void 0===e&&(e=[]),h.current||l((t=>null===t?e:t.concat(e.filter((e=>!t.includes(e))))))}),[h]),y=(0,n.useRef)(null),g=(0,i.useLazyMemo)((t=>{if(p&&!r)return Ee;if(!t||t===Ee||d.current!==e||null!=s){const t=new Map;for(let r of e){if(!r)continue;if(s&&s.length>0&&!s.includes(r.id)&&r.rect.current){t.set(r.id,r.rect.current);continue}const e=r.node.current,n=e?new K(u(e),e):null;r.rect.current=n,n&&t.set(r.id,n)}return t}return t}),[e,s,r,p,u]);return(0,n.useEffect)((()=>{d.current=e}),[e]),(0,n.useEffect)((()=>{p||m()}),[r,p]),(0,n.useEffect)((()=>{s&&s.length>0&&l(null)}),[JSON.stringify(s)]),(0,n.useEffect)((()=>{p||"number"!=typeof c||null!==y.current||(y.current=setTimeout((()=>{m(),y.current=null}),c))}),[c,p,m,...o]),{droppableRects:g,measureDroppableContainers:m,measuringScheduled:null!=s}}(te,{dragging:A,dependencies:[I.x,I.y],config:re.droppable}),se=function(e,t){const r=null!==t?e.get(t):void 0,n=r?r.node.current:null;return(0,i.useLazyMemo)((e=>{var r;return null===t?null:null!=(r=null!=n?n:e)?r:null}),[n,t])}(R,L),le=(0,n.useMemo)((()=>q?(0,i.getEventCoordinates)(q):null),[q]),ce=function(){const e=!1===(null==H?void 0:H.autoScrollEnabled),t="object"==typeof p?!1===p.enabled:!1===p,r=A&&!e&&!t;if("object"==typeof p)return{...p,enabled:r};return{enabled:r}}(),ue=function(e,t){return _e(e,t)}(se,re.draggable.measure);!function(e){let{activeNode:t,measure:r,initialRect:o,config:a=!0}=e;const s=(0,n.useRef)(!1),{x:l,y:c}="boolean"==typeof a?{x:a,y:a}:a;(0,i.useIsomorphicLayoutEffect)((()=>{if(!l&&!c||!t)return void(s.current=!1);if(s.current||!o)return;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;const n=k(r(e),o);if(l||(n.x=0),c||(n.y=0),s.current=!0,Math.abs(n.x)>0||Math.abs(n.y)>0){const t=B(e);t&&t.scrollBy({top:n.y,left:n.x})}}),[t,l,c,o,r])}({activeNode:L?R.get(L):null,config:ce.layoutShiftCompensation,initialRect:ue,measure:re.draggable.measure});const fe=je(se,re.draggable.measure,ue),de=je(se?se.parentElement:null),pe=(0,n.useRef)({activatorEvent:null,active:null,activeNode:se,collisionRect:null,collisions:null,droppableRects:oe,draggableNodes:R,draggingNode:null,draggingNodeRect:null,droppableContainers:F,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),he=F.getNodeFor(null==(t=pe.current.over)?void 0:t.id),me=function(e){let{measure:t}=e;const[r,o]=(0,n.useState)(null),a=Pe({callback:(0,n.useCallback)((e=>{for(const{target:r}of e)if((0,i.isHTMLElement)(r)){o((e=>{const n=t(r);return e?{...e,width:n.width,height:n.height}:n}));break}}),[t])}),s=(0,n.useCallback)((e=>{const r=Le(e);null==a||a.disconnect(),r&&(null==a||a.observe(r)),o(r?t(r):null)}),[t,a]),[l,c]=(0,i.useNodeRef)(s);return(0,n.useMemo)((()=>({nodeRef:l,rect:r,setRef:c})),[r,l,c])}({measure:re.dragOverlay.measure}),ye=null!=(r=me.nodeRef.current)?r:se,ge=A?null!=(a=me.rect)?a:fe:null,ve=Boolean(me.nodeRef.current&&me.rect),be=k(we=ve?null:fe,_e(we));var we;const xe=Ae(ye?(0,i.getWindow)(ye):null),Te=function(e){const t=(0,n.useRef)(e),r=(0,i.useLazyMemo)((r=>e?r&&r!==Ce&&e&&t.current&&e.parentNode===t.current.parentNode?r:N(e):Ce),[e]);return(0,n.useEffect)((()=>{t.current=e}),[e]),r}(A?null!=he?he:se:null),Ne=function(e,t){void 0===t&&(t=M);const[r]=e,o=Ae(r?(0,i.getWindow)(r):null),[a,s]=(0,n.useReducer)((function(){return e.length?e.map((e=>U(e)?o:new K(t(e),e))):De}),De),l=Pe({callback:s});return e.length>0&&a===De&&s(),(0,i.useIsomorphicLayoutEffect)((()=>{e.length?e.forEach((e=>null==l?void 0:l.observe(e))):(null==l||l.disconnect(),s())}),[e]),a}(Te),Be=Ge(b,{transform:{x:I.x-be.x,y:I.y-be.y,scaleX:1,scaleY:1},activatorEvent:q,active:G,activeNodeRect:fe,containerNodeRect:de,draggingNodeRect:ge,over:pe.current.over,overlayNodeRect:me.rect,scrollableAncestors:Te,scrollableAncestorRects:Ne,windowRect:xe}),$e=le?(0,i.add)(le,I):null,Ze=function(e){const[t,r]=(0,n.useState)(null),o=(0,n.useRef)(e),a=(0,n.useCallback)((e=>{const t=$(e.target);t&&r((e=>e?(e.set(t,Q(t)),new Map(e)):null))}),[]);return(0,n.useEffect)((()=>{const t=o.current;if(e!==t){n(t);const i=e.map((e=>{const t=$(e);return t?(t.addEventListener("scroll",a,{passive:!0}),[t,Q(t)]):null})).filter((e=>null!=e));r(i.length?new Map(i):null),o.current=e}return()=>{n(e),n(t)};function n(e){e.forEach((e=>{const t=$(e);null==t||t.removeEventListener("scroll",a)}))}}),[a,e]),(0,n.useMemo)((()=>e.length?t?Array.from(t.values()).reduce(((e,t)=>(0,i.add)(e,t)),y):X(e):y),[e,t])}(Te),Xe=ke(Ze),qe=ke(Ze,[fe]),Ye=(0,i.add)(Be,Xe),Ke=ge?D(ge,Be):null,Je=G&&Ke?g({active:G,collisionRect:Ke,droppableRects:oe,droppableContainers:te,pointerCoordinates:$e}):null,et=S(Je,"id"),[tt,rt]=(0,n.useState)(null),nt=function(e,t,r){return{...e,scaleX:t&&r?t.width/r.width:1,scaleY:t&&r?t.height/r.height:1}}(ve?Be:(0,i.add)(Be,qe),null!=(l=null==tt?void 0:tt.rect)?l:null,fe),ot=(0,n.useCallback)(((e,t)=>{let{sensor:r,options:n}=t;if(null==W.current)return;const i=R.get(W.current);if(!i)return;const a=e.nativeEvent,s=new r({active:W.current,activeNode:i,event:a,options:n,context:pe,onStart(e){const t=W.current;if(null==t)return;const r=R.get(t);if(!r)return;const{onDragStart:n}=J.current,i={active:{id:t,data:r.data,rect:V}};(0,o.unstable_batchedUpdates)((()=>{null==n||n(i),C(He.Initializing),E({type:d.DragStart,initialCoordinates:e,active:t}),_({type:"onDragStart",event:i})}))},onMove(e){E({type:d.DragMove,coordinates:e})},onEnd:l(d.DragEnd),onCancel:l(d.DragCancel)});function l(e){return async function(){const{active:t,collisions:r,over:n,scrollAdjustedTranslate:i}=pe.current;let s=null;if(t&&i){const{cancelDrop:o}=J.current;if(s={activatorEvent:a,active:t,collisions:r,delta:i,over:n},e===d.DragEnd&&"function"==typeof o){await Promise.resolve(o(s))&&(e=d.DragCancel)}}W.current=null,(0,o.unstable_batchedUpdates)((()=>{E({type:e}),C(He.Uninitialized),rt(null),Z(null),Y(null);const t=e===d.DragEnd?"onDragEnd":"onDragCancel";if(s){const e=J.current[t];null==e||e(s),_({type:t,event:s})}}))}}(0,o.unstable_batchedUpdates)((()=>{Z(s),Y(e.nativeEvent)}))}),[R]),it=(0,n.useCallback)(((e,t)=>(r,n)=>{const o=r.nativeEvent,i=R.get(n);if(null!==W.current||!i||o.dndKit||o.defaultPrevented)return;const a={active:i};!0===e(r,t.options,a)&&(o.dndKit={capturedBy:t.sensor},W.current=n,ot(r,t))}),[R,ot]),at=function(e,t){return(0,n.useMemo)((()=>e.reduce(((e,r)=>{const{sensor:n}=r;return[...e,...n.activators.map((e=>({eventName:e.eventName,handler:t(e.handler,r)})))]}),[])),[e,t])}(m,it);!function(e){(0,n.useEffect)((()=>{if(!i.canUseDOM)return;const t=e.map((e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()}));return()=>{for(const e of t)null==e||e()}}),e.map((e=>{let{sensor:t}=e;return t})))}(m),(0,i.useIsomorphicLayoutEffect)((()=>{fe&&j===He.Initializing&&C(He.Initialized)}),[fe,j]),(0,n.useEffect)((()=>{const{onDragMove:e}=J.current,{active:t,activatorEvent:r,collisions:n,over:i}=pe.current;if(!t||!r)return;const a={active:t,activatorEvent:r,collisions:n,delta:{x:Ye.x,y:Ye.y},over:i};(0,o.unstable_batchedUpdates)((()=>{null==e||e(a),_({type:"onDragMove",event:a})}))}),[Ye.x,Ye.y]),(0,n.useEffect)((()=>{const{active:e,activatorEvent:t,collisions:r,droppableContainers:n,scrollAdjustedTranslate:i}=pe.current;if(!e||null==W.current||!t||!i)return;const{onDragOver:a}=J.current,s=n.get(et),l=s&&s.rect.current?{id:s.id,rect:s.rect.current,data:s.data,disabled:s.disabled}:null,c={active:e,activatorEvent:t,collisions:r,delta:{x:i.x,y:i.y},over:l};(0,o.unstable_batchedUpdates)((()=>{rt(l),null==a||a(c),_({type:"onDragOver",event:c})}))}),[et]),(0,i.useIsomorphicLayoutEffect)((()=>{pe.current={activatorEvent:q,active:G,activeNode:se,collisionRect:Ke,collisions:Je,droppableRects:oe,draggableNodes:R,draggingNode:ye,draggingNodeRect:ge,droppableContainers:F,over:tt,scrollableAncestors:Te,scrollAdjustedTranslate:Ye},V.current={initial:ge,translated:Ke}}),[G,se,Je,Ke,R,ye,ge,oe,F,tt,Te,Ye]),Oe({...ce,delta:I,draggingRect:Ke,pointerCoordinates:$e,scrollableAncestors:Te,scrollableAncestorRects:Ne});const st=(0,n.useMemo)((()=>({active:G,activeNode:se,activeNodeRect:fe,activatorEvent:q,collisions:Je,containerNodeRect:de,dragOverlay:me,draggableNodes:R,droppableContainers:F,droppableRects:oe,over:tt,measureDroppableContainers:ie,scrollableAncestors:Te,scrollableAncestorRects:Ne,measuringConfiguration:re,measuringScheduled:ae,windowRect:xe})),[G,se,fe,q,Je,de,me,R,F,oe,tt,ie,Te,Ne,re,ae,xe]),lt=(0,n.useMemo)((()=>({activatorEvent:q,activators:at,active:G,activeNodeRect:fe,ariaDescribedById:{draggable:ee},dispatch:E,draggableNodes:R,over:tt,measureDroppableContainers:ie})),[q,at,G,fe,E,ee,R,tt,ie]);return n.createElement(s.Provider,{value:P},n.createElement(Fe.Provider,{value:lt},n.createElement(ze.Provider,{value:st},n.createElement(We.Provider,{value:nt},h)),n.createElement(Ue,{disabled:!1===(null==u?void 0:u.restoreFocus)})),n.createElement(f,{...u,hiddenTextDescribedById:ee}))})),Xe=(0,n.createContext)(null),qe="button",Ye="Droppable";function Ke(e){let{id:t,data:r,disabled:o=!1,attributes:a}=e;const s=(0,i.useUniqueId)(Ye),{activators:l,activatorEvent:c,active:u,activeNodeRect:f,ariaDescribedById:d,draggableNodes:p,over:h}=(0,n.useContext)(Fe),{role:m=qe,roleDescription:y="draggable",tabIndex:g=0}=null!=a?a:{},v=(null==u?void 0:u.id)===t,b=(0,n.useContext)(v?We:Xe),[O,w]=(0,i.useNodeRef)(),[S,x]=(0,i.useNodeRef)(),E=function(e,t){return(0,n.useMemo)((()=>e.reduce(((e,r)=>{let{eventName:n,handler:o}=r;return e[n]=e=>{o(e,t)},e}),{})),[e,t])}(l,t),_=(0,i.useLatestValue)(r);(0,i.useIsomorphicLayoutEffect)((()=>(p.set(t,{id:t,key:s,node:O,activatorNode:S,data:_}),()=>{const e=p.get(t);e&&e.key===s&&p.delete(t)})),[p,t]);return{active:u,activatorEvent:c,activeNodeRect:f,attributes:(0,n.useMemo)((()=>({role:m,tabIndex:g,"aria-disabled":o,"aria-pressed":!(!v||m!==qe)||void 0,"aria-roledescription":y,"aria-describedby":d.draggable})),[o,m,g,v,y,d.draggable]),isDragging:v,listeners:o?void 0:E,node:O,over:h,setNodeRef:w,setActivatorNodeRef:x,transform:b}}function Je(){return(0,n.useContext)(ze)}const et="Droppable",tt={timeout:25};function rt(e){let{data:t,disabled:r=!1,id:o,resizeObserverConfig:a}=e;const s=(0,i.useUniqueId)(et),{active:l,dispatch:c,over:u,measureDroppableContainers:f}=(0,n.useContext)(Fe),p=(0,n.useRef)({disabled:r}),h=(0,n.useRef)(!1),m=(0,n.useRef)(null),y=(0,n.useRef)(null),{disabled:g,updateMeasurementsFor:v,timeout:b}={...tt,...a},O=(0,i.useLatestValue)(null!=v?v:o),w=Pe({callback:(0,n.useCallback)((()=>{h.current?(null!=y.current&&clearTimeout(y.current),y.current=setTimeout((()=>{f(Array.isArray(O.current)?O.current:[O.current]),y.current=null}),b)):h.current=!0}),[b]),disabled:g||!l}),S=(0,n.useCallback)(((e,t)=>{w&&(t&&(w.unobserve(t),h.current=!1),e&&w.observe(e))}),[w]),[x,E]=(0,i.useNodeRef)(S),_=(0,i.useLatestValue)(t);return(0,n.useEffect)((()=>{w&&x.current&&(w.disconnect(),h.current=!1,w.observe(x.current))}),[x,w]),(0,i.useIsomorphicLayoutEffect)((()=>(c({type:d.RegisterDroppable,element:{id:o,key:s,disabled:r,node:x,rect:m,data:_}}),()=>c({type:d.UnregisterDroppable,key:s,id:o}))),[o]),(0,n.useEffect)((()=>{r!==p.current.disabled&&(c({type:d.SetDroppableDisabled,id:o,key:s,disabled:r}),p.current.disabled=r)}),[o,s,r,c]),{active:l,rect:m,isOver:(null==u?void 0:u.id)===o,node:x,over:u,setNodeRef:E}}function nt(e){let{animation:t,children:r}=e;const[o,a]=(0,n.useState)(null),[s,l]=(0,n.useState)(null),c=(0,i.usePrevious)(r);return r||o||!c||a(c),(0,i.useIsomorphicLayoutEffect)((()=>{if(!s)return;const e=null==o?void 0:o.key,r=null==o?void 0:o.props.id;null!=e&&null!=r?Promise.resolve(t(r,s)).then((()=>{a(null)})):a(null)}),[t,o,s]),n.createElement(n.Fragment,null,r,o?(0,n.cloneElement)(o,{ref:l}):null)}const ot={x:0,y:0,scaleX:1,scaleY:1};function it(e){let{children:t}=e;return n.createElement(Fe.Provider,{value:$e},n.createElement(We.Provider,{value:ot},t))}const at={position:"fixed",touchAction:"none"},st=e=>(0,i.isKeyboardEvent)(e)?"transform 250ms ease":void 0,lt=(0,n.forwardRef)(((e,t)=>{let{as:r,activatorEvent:o,adjustScale:a,children:s,className:l,rect:c,style:u,transform:f,transition:d=st}=e;if(!c)return null;const p=a?f:{...f,scaleX:1,scaleY:1},h={...at,width:c.width,height:c.height,top:c.top,left:c.left,transform:i.CSS.Transform.toString(p),transformOrigin:a&&o?v(o,c):void 0,transition:"function"==typeof d?d(o):d,...u};return n.createElement(r,{className:l,style:h,ref:t},s)})),ct=e=>t=>{let{active:r,dragOverlay:n}=t;const o={},{styles:i,className:a}=e;if(null!=i&&i.active)for(const[e,t]of Object.entries(i.active))void 0!==t&&(o[e]=r.node.style.getPropertyValue(e),r.node.style.setProperty(e,t));if(null!=i&&i.dragOverlay)for(const[e,t]of Object.entries(i.dragOverlay))void 0!==t&&n.node.style.setProperty(e,t);return null!=a&&a.active&&r.node.classList.add(a.active),null!=a&&a.dragOverlay&&n.node.classList.add(a.dragOverlay),function(){for(const[e,t]of Object.entries(o))r.node.style.setProperty(e,t);null!=a&&a.active&&r.node.classList.remove(a.active)}},ut={duration:250,easing:"ease",keyframes:e=>{let{transform:{initial:t,final:r}}=e;return[{transform:i.CSS.Transform.toString(t)},{transform:i.CSS.Transform.toString(r)}]},sideEffects:ct({styles:{active:{opacity:"0"}}})};function ft(e){let{config:t,draggableNodes:r,droppableContainers:n,measuringConfiguration:o}=e;return(0,i.useEvent)(((e,a)=>{if(null===t)return;const s=r.get(e);if(!s)return;const l=s.node.current;if(!l)return;const c=Le(a);if(!c)return;const{transform:u}=(0,i.getWindow)(a).getComputedStyle(a),f=L(u);if(!f)return;const d="function"==typeof t?t:function(e){const{duration:t,easing:r,sideEffects:n,keyframes:o}={...ut,...e};return e=>{let{active:i,dragOverlay:a,transform:s,...l}=e;if(!t)return;const c={x:a.rect.left-i.rect.left,y:a.rect.top-i.rect.top},u={scaleX:1!==s.scaleX?i.rect.width*s.scaleX/a.rect.width:1,scaleY:1!==s.scaleY?i.rect.height*s.scaleY/a.rect.height:1},f={x:s.x-c.x,y:s.y-c.y,...u},d=o({...l,active:i,dragOverlay:a,transform:{initial:s,final:f}}),[p]=d,h=d[d.length-1];if(JSON.stringify(p)===JSON.stringify(h))return;const m=null==n?void 0:n({active:i,dragOverlay:a,...l}),y=a.node.animate(d,{duration:t,easing:r,fill:"forwards"});return new Promise((e=>{y.onfinish=()=>{null==m||m(),e()}}))}}(t);return q(l,o.draggable.measure),d({active:{id:e,data:s.data,node:l,rect:o.draggable.measure(l)},draggableNodes:r,dragOverlay:{node:a,rect:o.dragOverlay.measure(c)},droppableContainers:n,measuringConfiguration:o,transform:f})}))}let dt=0;function pt(e){return(0,n.useMemo)((()=>{if(null!=e)return dt++,dt}),[e])}const ht=n.memo((e=>{let{adjustScale:t=!1,children:r,dropAnimation:o,style:i,transition:a,modifiers:s,wrapperElement:l="div",className:c,zIndex:u=999}=e;const{activatorEvent:f,active:d,activeNodeRect:p,containerNodeRect:h,draggableNodes:m,droppableContainers:y,dragOverlay:g,over:v,measuringConfiguration:b,scrollableAncestors:O,scrollableAncestorRects:w,windowRect:S}=Je(),x=(0,n.useContext)(We),E=pt(null==d?void 0:d.id),_=Ge(s,{activatorEvent:f,active:d,activeNodeRect:p,containerNodeRect:h,draggingNodeRect:g.rect,over:v,overlayNodeRect:g.rect,scrollableAncestors:O,scrollableAncestorRects:w,transform:x,windowRect:S}),P=_e(p),T=ft({config:o,draggableNodes:m,droppableContainers:y,measuringConfiguration:b}),j=P?g.setRef:void 0;return n.createElement(it,null,n.createElement(nt,{animation:T},d&&E?n.createElement(lt,{key:E,id:d.id,ref:j,as:l,activatorEvent:f,adjustScale:t,className:c,transition:a,rect:P,style:{zIndex:u,...i},transform:_},r):null))}))},32339:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createSnapModifier:()=>o,restrictToFirstScrollableAncestor:()=>l,restrictToHorizontalAxis:()=>i,restrictToParentElement:()=>s,restrictToVerticalAxis:()=>c,restrictToWindowEdges:()=>u,snapCenterToCursor:()=>f});var n=r(24285);function o(e){return t=>{let{transform:r}=t;return{...r,x:Math.ceil(r.x/e)*e,y:Math.ceil(r.y/e)*e}}}const i=e=>{let{transform:t}=e;return{...t,y:0}};function a(e,t,r){const n={...e};return t.top+e.y<=r.top?n.y=r.top-t.top:t.bottom+e.y>=r.top+r.height&&(n.y=r.top+r.height-t.bottom),t.left+e.x<=r.left?n.x=r.left-t.left:t.right+e.x>=r.left+r.width&&(n.x=r.left+r.width-t.right),n}const s=e=>{let{containerNodeRect:t,draggingNodeRect:r,transform:n}=e;return r&&t?a(n,r,t):n},l=e=>{let{draggingNodeRect:t,transform:r,scrollableAncestorRects:n}=e;const o=n[0];return t&&o?a(r,t,o):r},c=e=>{let{transform:t}=e;return{...t,x:0}},u=e=>{let{transform:t,draggingNodeRect:r,windowRect:n}=e;return r&&n?a(t,r,n):t},f=e=>{let{activatorEvent:t,draggingNodeRect:r,transform:o}=e;if(r&&t){const e=(0,n.getEventCoordinates)(t);if(!e)return o;const i=e.x-r.left,a=e.y-r.top;return{...o,x:o.x+i-r.width/2,y:o.y+a-r.height/2}}return o}},45587:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SortableContext:()=>v,arrayMove:()=>a,arraySwap:()=>s,defaultAnimateLayoutChanges:()=>O,defaultNewIndexGetter:()=>b,hasSortableData:()=>P,horizontalListSortingStrategy:()=>f,rectSortingStrategy:()=>d,rectSwappingStrategy:()=>p,sortableKeyboardCoordinates:()=>j,useSortable:()=>_,verticalListSortingStrategy:()=>m});var n=r(36198),o=r(94697),i=r(24285);function a(e,t,r){const n=e.slice();return n.splice(r<0?n.length+r:r,0,n.splice(t,1)[0]),n}function s(e,t,r){const n=e.slice();return n[t]=e[r],n[r]=e[t],n}function l(e,t){return e.reduce(((e,r,n)=>{const o=t.get(r);return o&&(e[n]=o),e}),Array(e.length))}function c(e){return null!==e&&e>=0}const u={scaleX:1,scaleY:1},f=e=>{var t;let{rects:r,activeNodeRect:n,activeIndex:o,overIndex:i,index:a}=e;const s=null!=(t=r[o])?t:n;if(!s)return null;const l=function(e,t,r){const n=e[t],o=e[t-1],i=e[t+1];if(!n||!o&&!i)return 0;if(ro&&a<=i?{x:-s.width-l,y:0,...u}:a=i?{x:s.width+l,y:0,...u}:{x:0,y:0,...u}};const d=e=>{let{rects:t,activeIndex:r,overIndex:n,index:o}=e;const i=a(t,n,r),s=t[o],l=i[o];return l&&s?{x:l.left-s.left,y:l.top-s.top,scaleX:l.width/s.width,scaleY:l.height/s.height}:null},p=e=>{let t,r,{activeIndex:n,index:o,rects:i,overIndex:a}=e;return o===n&&(t=i[o],r=i[a]),o===a&&(t=i[o],r=i[n]),r&&t?{x:r.left-t.left,y:r.top-t.top,scaleX:r.width/t.width,scaleY:r.height/t.height}:null},h={scaleX:1,scaleY:1},m=e=>{var t;let{activeIndex:r,activeNodeRect:n,index:o,rects:i,overIndex:a}=e;const s=null!=(t=i[r])?t:n;if(!s)return null;if(o===r){const e=i[a];return e?{x:0,y:rr&&o<=a?{x:0,y:-s.height-l,...h}:o=a?{x:0,y:s.height+l,...h}:{x:0,y:0,...h}};const y="Sortable",g=n.createContext({activeIndex:-1,containerId:y,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:d,disabled:{draggable:!1,droppable:!1}});function v(e){let{children:t,id:r,items:a,strategy:s=d,disabled:c=!1}=e;const{active:u,dragOverlay:f,droppableRects:p,over:h,measureDroppableContainers:m}=(0,o.useDndContext)(),v=(0,i.useUniqueId)(y,r),b=Boolean(null!==f.rect),O=(0,n.useMemo)((()=>a.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[a]),w=null!=u,S=u?O.indexOf(u.id):-1,x=h?O.indexOf(h.id):-1,E=(0,n.useRef)(O),_=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r{_&&w&&m(O)}),[_,O,w,m]),(0,n.useEffect)((()=>{E.current=O}),[O]);const j=(0,n.useMemo)((()=>({activeIndex:S,containerId:v,disabled:T,disableTransforms:P,items:O,overIndex:x,useDragOverlay:b,sortedRects:l(O,p),strategy:s})),[S,v,T.draggable,T.droppable,P,O,x,p,b,s]);return n.createElement(g.Provider,{value:j},t)}const b=e=>{let{id:t,items:r,activeIndex:n,overIndex:o}=e;return a(r,n,o).indexOf(t)},O=e=>{let{containerId:t,isSorting:r,wasDragging:n,index:o,items:i,newIndex:a,previousItems:s,previousContainerId:l,transition:c}=e;return!(!c||!n)&&((s===i||o!==a)&&(!!r||a!==o&&t===l))},w={duration:200,easing:"ease"},S="transform",x=i.CSS.Transition.toString({property:S,duration:0,easing:"linear"}),E={roleDescription:"sortable"};function _(e){let{animateLayoutChanges:t=O,attributes:r,disabled:a,data:s,getNewIndex:l=b,id:u,strategy:f,resizeObserverConfig:d,transition:p=w}=e;const{items:h,containerId:m,activeIndex:y,disabled:v,disableTransforms:_,sortedRects:P,overIndex:T,useDragOverlay:j,strategy:C}=(0,n.useContext)(g),k=function(e,t){var r,n;if("boolean"==typeof e)return{draggable:e,droppable:!1};return{draggable:null!=(r=null==e?void 0:e.draggable)?r:t.draggable,droppable:null!=(n=null==e?void 0:e.droppable)?n:t.droppable}}(a,v),A=h.indexOf(u),D=(0,n.useMemo)((()=>({sortable:{containerId:m,index:A,items:h},...s})),[m,s,A,h]),L=(0,n.useMemo)((()=>h.slice(h.indexOf(u))),[h,u]),{rect:R,node:M,isOver:I,setNodeRef:N}=(0,o.useDroppable)({id:u,data:D,disabled:k.droppable,resizeObserverConfig:{updateMeasurementsFor:L,...d}}),{active:B,activatorEvent:$,activeNodeRect:F,attributes:z,setNodeRef:Q,listeners:V,isDragging:U,over:G,setActivatorNodeRef:W,transform:H}=(0,o.useDraggable)({id:u,data:D,attributes:{...E,...r},disabled:k.draggable}),Z=(0,i.useCombinedRefs)(N,Q),X=Boolean(B),q=X&&!_&&c(y)&&c(T),Y=!j&&U,K=Y&&q?H:null,J=q?null!=K?K:(null!=f?f:C)({rects:P,activeNodeRect:F,activeIndex:y,overIndex:T,index:A}):null,ee=c(y)&&c(T)?l({id:u,items:h,activeIndex:y,overIndex:T}):A,te=null==B?void 0:B.id,re=(0,n.useRef)({activeId:te,items:h,newIndex:ee,containerId:m}),ne=h!==re.current.items,oe=t({active:B,containerId:m,isDragging:U,isSorting:X,id:u,index:A,items:h,newIndex:re.current.newIndex,previousItems:re.current.items,previousContainerId:re.current.containerId,transition:p,wasDragging:null!=re.current.activeId}),ie=function(e){let{disabled:t,index:r,node:a,rect:s}=e;const[l,c]=(0,n.useState)(null),u=(0,n.useRef)(r);return(0,i.useIsomorphicLayoutEffect)((()=>{if(!t&&r!==u.current&&a.current){const e=s.current;if(e){const t=(0,o.getClientRect)(a.current,{ignoreTransform:!0}),r={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(r.x||r.y)&&c(r)}}r!==u.current&&(u.current=r)}),[t,r,a,s]),(0,n.useEffect)((()=>{l&&c(null)}),[l]),l}({disabled:!oe,index:A,node:M,rect:R});return(0,n.useEffect)((()=>{X&&re.current.newIndex!==ee&&(re.current.newIndex=ee),m!==re.current.containerId&&(re.current.containerId=m),h!==re.current.items&&(re.current.items=h)}),[X,ee,m,h]),(0,n.useEffect)((()=>{if(te===re.current.activeId)return;if(te&&!re.current.activeId)return void(re.current.activeId=te);const e=setTimeout((()=>{re.current.activeId=te}),50);return()=>clearTimeout(e)}),[te]),{active:B,activeIndex:y,attributes:z,data:D,rect:R,index:A,newIndex:ee,items:h,isOver:I,isSorting:X,isDragging:U,listeners:V,node:M,overIndex:T,over:G,setNodeRef:Z,setActivatorNodeRef:W,setDroppableNodeRef:N,setDraggableNodeRef:Q,transform:null!=ie?ie:J,transition:function(){if(ie||ne&&re.current.newIndex===A)return x;if(Y&&!(0,i.isKeyboardEvent)($)||!p)return;if(X||oe)return i.CSS.Transition.toString({...p,property:S});return}()}}function P(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const T=[o.KeyboardCode.Down,o.KeyboardCode.Right,o.KeyboardCode.Up,o.KeyboardCode.Left],j=(e,t)=>{let{context:{active:r,collisionRect:n,droppableRects:a,droppableContainers:s,over:l,scrollableAncestors:c}}=t;if(T.includes(e.code)){if(e.preventDefault(),!r||!n)return;const t=[];s.getEnabled().forEach((r=>{if(!r||null!=r&&r.disabled)return;const i=a.get(r.id);if(i)switch(e.code){case o.KeyboardCode.Down:n.topi.top&&t.push(r);break;case o.KeyboardCode.Left:n.left>i.left&&t.push(r);break;case o.KeyboardCode.Right:n.left1&&(f=u[1].id),null!=f){const e=s.get(r.id),t=s.get(f),l=t?a.get(t.id):null,u=null==t?void 0:t.node.current;if(u&&l&&e&&t){const r=(0,o.getScrollableAncestors)(u).some(((e,t)=>c[t]!==e)),a=C(e,t),s=function(e,t){if(!P(e)||!P(t))return!1;if(!C(e,t))return!1;return e.data.current.sortable.index{"use strict";r.r(t),r.d(t,{CSS:()=>C,add:()=>x,canUseDOM:()=>i,findFirstFocusableNode:()=>A,getEventCoordinates:()=>j,getOwnerDocument:()=>d,getWindow:()=>l,hasViewportRelativeCoordinates:()=>_,isDocument:()=>c,isHTMLElement:()=>u,isKeyboardEvent:()=>P,isNode:()=>s,isSVGElement:()=>f,isTouchEvent:()=>T,isWindow:()=>a,subtract:()=>E,useCombinedRefs:()=>o,useEvent:()=>h,useInterval:()=>m,useIsomorphicLayoutEffect:()=>p,useLatestValue:()=>y,useLazyMemo:()=>g,useNodeRef:()=>v,usePrevious:()=>b,useUniqueId:()=>w});var n=r(36198);function o(){for(var e=arguments.length,t=new Array(e),r=0;re=>{t.forEach((t=>t(e)))}),t)}const i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function a(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function s(e){return"nodeType"in e}function l(e){var t,r;return e?a(e)?e:s(e)&&null!=(t=null==(r=e.ownerDocument)?void 0:r.defaultView)?t:window:window}function c(e){const{Document:t}=l(e);return e instanceof t}function u(e){return!a(e)&&e instanceof l(e).HTMLElement}function f(e){return e instanceof l(e).SVGElement}function d(e){return e?a(e)?e.document:s(e)?c(e)?e:u(e)||f(e)?e.ownerDocument:document:document:document}const p=i?n.useLayoutEffect:n.useEffect;function h(e){const t=(0,n.useRef)(e);return p((()=>{t.current=e})),(0,n.useCallback)((function(){for(var e=arguments.length,r=new Array(e),n=0;n{e.current=setInterval(t,r)}),[]),(0,n.useCallback)((()=>{null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}function y(e,t){void 0===t&&(t=[e]);const r=(0,n.useRef)(e);return p((()=>{r.current!==e&&(r.current=e)}),t),r}function g(e,t){const r=(0,n.useRef)();return(0,n.useMemo)((()=>{const t=e(r.current);return r.current=t,t}),[...t])}function v(e){const t=h(e),r=(0,n.useRef)(null),o=(0,n.useCallback)((e=>{e!==r.current&&(null==t||t(e,r.current)),r.current=e}),[]);return[r,o]}function b(e){const t=(0,n.useRef)();return(0,n.useEffect)((()=>{t.current=e}),[e]),t.current}let O={};function w(e,t){return(0,n.useMemo)((()=>{if(t)return t;const r=null==O[e]?0:O[e]+1;return O[e]=r,e+"-"+r}),[e,t])}function S(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o{const n=Object.entries(r);for(const[r,o]of n){const n=t[r];null!=n&&(t[r]=n+e*o)}return t}),{...t})}}const x=S(1),E=S(-1);function _(e){return"clientX"in e&&"clientY"in e}function P(e){if(!e)return!1;const{KeyboardEvent:t}=l(e.target);return t&&e instanceof t}function T(e){if(!e)return!1;const{TouchEvent:t}=l(e.target);return t&&e instanceof t}function j(e){if(T(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:r}=e.touches[0];return{x:t,y:r}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:r}=e.changedTouches[0];return{x:t,y:r}}}return _(e)?{x:e.clientX,y:e.clientY}:null}const C=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:r}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(r?Math.round(r):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:r}=e;return"scaleX("+t+") scaleY("+r+")"}},Transform:{toString(e){if(e)return[C.Translate.toString(e),C.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:r,easing:n}=e;return t+" "+r+"ms "+n}}}),k="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function A(e){return e.matches(k)?e:e.querySelector(k)}},62506:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}},40351:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},54572:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>p});var n=r(1413),o=r(89062),i=r(71002),a=r(15671),s=r(43144),l=r(4942),c=r(70580),u=r(45197),f=r(82781),d=(r(28811),function(){function e(t){(0,a.default)(this,e),(0,l.default)(this,"rules",null),(0,l.default)(this,"_messages",c.messages),this.define(t)}return(0,s.default)(e,[{key:"define",value:function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(0,i.default)(e)||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(r){var n=e[r];t.rules[r]=Array.isArray(n)?n:[n]}))}},{key:"messages",value:function(e){return e&&(this._messages=(0,u.deepMerge)((0,c.newMessages)(),e)),this._messages}},{key:"validate",value:function(t){var r=this,a=t,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if("function"==typeof s&&(l=s,s={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(null,a),Promise.resolve(a);if(s.messages){var f=this.messages();f===c.messages&&(f=(0,c.newMessages)()),(0,u.deepMerge)(f,s.messages),s.messages=f}else s.messages=this.messages();var d={};(s.keys||Object.keys(this.rules)).forEach((function(e){var o=r.rules[e],s=a[e];o.forEach((function(o){var l=o;"function"==typeof l.transform&&(a===t&&(a=(0,n.default)({},a)),null!=(s=a[e]=l.transform(s))&&(l.type=l.type||(Array.isArray(s)?"array":(0,i.default)(s)))),(l="function"==typeof l?{validator:l}:(0,n.default)({},l)).validator=r.getValidationMethod(l),l.validator&&(l.field=e,l.fullField=l.fullField||e,l.type=r.getType(l),d[e]=d[e]||[],d[e].push({rule:l,value:s,source:a,field:e}))}))}));var p={};return(0,u.asyncMap)(d,s,(function(t,r){var l,c=t.rule,f=!("object"!==c.type&&"array"!==c.type||"object"!==(0,i.default)(c.fields)&&"object"!==(0,i.default)(c.defaultField));function d(e,t){return(0,n.default)((0,n.default)({},t),{},{fullField:"".concat(c.fullField,".").concat(e),fullFields:c.fullFields?[].concat((0,o.default)(c.fullFields),[e]):[e]})}function h(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],l=Array.isArray(i)?i:[i];!s.suppressWarning&&l.length&&e.warning("async-validator:",l),l.length&&void 0!==c.message&&(l=[].concat(c.message));var h=l.map((0,u.complementError)(c,a));if(s.first&&h.length)return p[c.field]=1,r(h);if(f){if(c.required&&!t.value)return void 0!==c.message?h=[].concat(c.message).map((0,u.complementError)(c,a)):s.error&&(h=[s.error(c,(0,u.format)(s.messages.required,c.field))]),r(h);var m={};c.defaultField&&Object.keys(t.value).map((function(e){m[e]=c.defaultField})),m=(0,n.default)((0,n.default)({},m),t.rule.fields);var y={};Object.keys(m).forEach((function(e){var t=m[e],r=Array.isArray(t)?t:[t];y[e]=r.map(d.bind(null,e))}));var g=new e(y);g.messages(s.messages),t.rule.options&&(t.rule.options.messages=s.messages,t.rule.options.error=s.error),g.validate(t.value,t.rule.options||s,(function(e){var t=[];h&&h.length&&t.push.apply(t,(0,o.default)(h)),e&&e.length&&t.push.apply(t,(0,o.default)(e)),r(t.length?t:null)}))}else r(h)}if(f=f&&(c.required||!c.required&&t.value),c.field=t.field,c.asyncValidator)l=c.asyncValidator(c,t.value,h,t.source,s);else if(c.validator){try{l=c.validator(c,t.value,h,t.source,s)}catch(e){var m,y;null===(m=(y=console).error)||void 0===m||m.call(y,e),s.suppressValidatorError||setTimeout((function(){throw e}),0),h(e.message)}!0===l?h():!1===l?h("function"==typeof c.message?c.message(c.fullField||c.field):c.message||"".concat(c.fullField||c.field," fails")):l instanceof Array?h(l):l instanceof Error&&h(l.message)}l&&l.then&&l.then((function(){return h()}),(function(e){return h(e)}))}),(function(e){!function(e){for(var t,r,n=[],i={},s=0;s{"use strict";r.r(t)},70580:(e,t,r)=>{"use strict";function n(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}r.r(t),r.d(t,{messages:()=>o,newMessages:()=>n});var o=n()},70122:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(45197),o="enum";const i=function(e,t,r,i,a){e[o]=Array.isArray(e[o])?e[o]:[],-1===e[o].indexOf(t)&&i.push((0,n.format)(a.messages[o],e.fullField,e[o].join(", ")))}},66758:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(70122),o=r(3885),i=r(45575),a=r(28766),s=r(6126),l=r(53898);const c={required:a.default,whitespace:l.default,type:s.default,range:i.default,enum:n.default,pattern:o.default}},3885:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(45197);const o=function(e,t,r,o,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push((0,n.format)(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push((0,n.format)(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},45575:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(45197);const o=function(e,t,r,o,i){var a="number"==typeof e.len,s="number"==typeof e.min,l="number"==typeof e.max,c=t,u=null,f="number"==typeof t,d="string"==typeof t,p=Array.isArray(t);if(f?u="number":d?u="string":p&&(u="array"),!u)return!1;p&&(c=t.length),d&&(c=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?c!==e.len&&o.push((0,n.format)(i.messages[u].len,e.fullField,e.len)):s&&!l&&ce.max?o.push((0,n.format)(i.messages[u].max,e.fullField,e.max)):s&&l&&(ce.max)&&o.push((0,n.format)(i.messages[u].range,e.fullField,e.min,e.max))}},28766:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(45197);const o=function(e,t,r,o,i,a){!e.required||r.hasOwnProperty(e.field)&&!(0,n.isEmptyValue)(t,a||e.type)||o.push((0,n.format)(i.messages.required,e.fullField))}},6126:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var n=r(71002),o=r(45197),i=r(28766),a=r(63274),s=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,l=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,c={integer:function(e){return c.number(e)&&parseInt(e,10)===e},float:function(e){return c.number(e)&&!c.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(0,n.default)(e)&&!c.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(s)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match((0,a.default)())},hex:function(e){return"string"==typeof e&&!!e.match(l)}};const u=function(e,t,r,a,s){if(e.required&&void 0===t)(0,i.default)(e,t,r,a,s);else{var l=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(l)>-1?c[l](t)||a.push((0,o.format)(s.messages.types[l],e.fullField,e.type)):l&&(0,n.default)(t)!==e.type&&a.push((0,o.format)(s.messages.types[l],e.fullField,e.type))}}},63274:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{default:()=>o});const o=function(){if(n)return n;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},r="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",o="[a-fA-F\\d]{1,4}",i=["(?:".concat(o,":){7}(?:").concat(o,"|:)"),"(?:".concat(o,":){6}(?:").concat(r,"|:").concat(o,"|:)"),"(?:".concat(o,":){5}(?::").concat(r,"|(?::").concat(o,"){1,2}|:)"),"(?:".concat(o,":){4}(?:(?::").concat(o,"){0,1}:").concat(r,"|(?::").concat(o,"){1,3}|:)"),"(?:".concat(o,":){3}(?:(?::").concat(o,"){0,2}:").concat(r,"|(?::").concat(o,"){1,4}|:)"),"(?:".concat(o,":){2}(?:(?::").concat(o,"){0,3}:").concat(r,"|(?::").concat(o,"){1,5}|:)"),"(?:".concat(o,":){1}(?:(?::").concat(o,"){0,4}:").concat(r,"|(?::").concat(o,"){1,6}|:)"),"(?::(?:(?::".concat(o,"){0,5}:").concat(r,"|(?::").concat(o,"){1,7}|:))")],a="(?:".concat(i.join("|"),")").concat("(?:%[0-9a-zA-Z]{1,})?"),s=new RegExp("(?:^".concat(r,"$)|(?:^").concat(a,"$)")),l=new RegExp("^".concat(r,"$")),c=new RegExp("^".concat(a,"$")),u=function(e){return e&&e.exact?s:new RegExp("(?:".concat(t(e)).concat(r).concat(t(e),")|(?:").concat(t(e)).concat(a).concat(t(e),")"),"g")};u.v4=function(e){return e&&e.exact?l:new RegExp("".concat(t(e)).concat(r).concat(t(e)),"g")},u.v6=function(e){return e&&e.exact?c:new RegExp("".concat(t(e)).concat(a).concat(t(e)),"g")};var f=u.v4().source,d=u.v6().source,p="(?:".concat("(?:(?:[a-z]+:)?//)","|www\\.)").concat("(?:\\S+(?::\\S*)?@)?","(?:localhost|").concat(f,"|").concat(d,"|").concat("(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)").concat("(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*").concat("(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",")").concat("(?::\\d{2,5})?").concat('(?:[/?#][^\\s"]*)?');return n=new RegExp("(?:^".concat(p,"$)"),"i")}},53898:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(45197);const o=function(e,t,r,o,i){(/^\s+$/.test(t)||""===t)&&o.push((0,n.format)(i.messages.whitespace,e.fullField))}},45197:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AsyncValidationError:()=>O,asyncMap:()=>w,complementError:()=>S,convertFieldsError:()=>m,deepMerge:()=>x,format:()=>y,isEmptyObject:()=>v,isEmptyValue:()=>g,warning:()=>h});var n=r(1413),o=r(71002),i=r(43144),a=r(15671),s=r(97326),l=r(60136),c=r(29388),u=r(7112),f=r(4942),d=r(89062),p=/%[sdj%]/g,h=function(){};function m(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var r=e.field;t[r]=t[r]||[],t[r].push(e)})),t}function y(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n=i)return e;switch(e){case"%s":return String(r[o++]);case"%d":return Number(r[o++]);case"%j":try{return JSON.stringify(r[o++])}catch(e){return"[Circular]"}break;default:return e}})):e}function g(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e))}function v(e){return 0===Object.keys(e).length}function b(e,t,r){var n=0,o=e.length;!function i(a){if(a&&a.length)r(a);else{var s=n;n+=1,s{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(66758),o=r(45197);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return r();n.default.required(e,t,i,s,a)}r(s)}},63519:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(66758);const o=function(e,t,r,o,i){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(null==t&&!e.required)return r();n.default.required(e,t,o,a,i,"array"),null!=t&&(n.default.type(e,t,o,a,i),n.default.range(e,t,o,a,i))}r(a)}},4301:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(66758),o=r(45197);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return r();n.default.required(e,t,i,s,a),void 0!==t&&n.default.type(e,t,i,s,a)}r(s)}},75378:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(66758),o=r(45197);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t,"date")&&!e.required)return r();var l;if(n.default.required(e,t,i,s,a),!(0,o.isEmptyValue)(t,"date"))l=t instanceof Date?t:new Date(t),n.default.type(e,l,i,s,a),l&&n.default.range(e,l.getTime(),i,s,a)}r(s)}},80588:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(66758),o=r(45197);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return r();n.default.required(e,t,i,s,a),void 0!==t&&n.default.enum(e,t,i,s,a)}r(s)}},85806:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(66758),o=r(45197);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return r();n.default.required(e,t,i,s,a),void 0!==t&&(n.default.type(e,t,i,s,a),n.default.range(e,t,i,s,a))}r(s)}},82781:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(86329),o=r(63519),i=r(4301),a=r(75378),s=r(80588),l=r(85806),c=r(77394),u=r(38767),f=r(85764),d=r(12377),p=r(68585),h=r(15976),m=r(99185),y=r(96246),g=r(30142);const v={string:y.default,method:u.default,number:f.default,boolean:i.default,regexp:h.default,integer:c.default,float:l.default,array:o.default,object:d.default,enum:s.default,pattern:p.default,date:a.default,url:g.default,hex:g.default,email:g.default,required:m.default,any:n.default}},77394:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(66758),o=r(45197);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return r();n.default.required(e,t,i,s,a),void 0!==t&&(n.default.type(e,t,i,s,a),n.default.range(e,t,i,s,a))}r(s)}},38767:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(66758),o=r(45197);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return r();n.default.required(e,t,i,s,a),void 0!==t&&n.default.type(e,t,i,s,a)}r(s)}},85764:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(66758),o=r(45197);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(""===t&&(t=void 0),(0,o.isEmptyValue)(t)&&!e.required)return r();n.default.required(e,t,i,s,a),void 0!==t&&(n.default.type(e,t,i,s,a),n.default.range(e,t,i,s,a))}r(s)}},12377:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(66758),o=r(45197);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return r();n.default.required(e,t,i,s,a),void 0!==t&&n.default.type(e,t,i,s,a)}r(s)}},68585:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(66758),o=r(45197);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t,"string")&&!e.required)return r();n.default.required(e,t,i,s,a),(0,o.isEmptyValue)(t,"string")||n.default.pattern(e,t,i,s,a)}r(s)}},15976:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(66758),o=r(45197);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return r();n.default.required(e,t,i,s,a),(0,o.isEmptyValue)(t)||n.default.type(e,t,i,s,a)}r(s)}},99185:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(71002),o=r(66758);const i=function(e,t,r,i,a){var s=[],l=Array.isArray(t)?"array":(0,n.default)(t);o.default.required(e,t,i,s,a,l),r(s)}},96246:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(66758),o=r(45197);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t,"string")&&!e.required)return r();n.default.required(e,t,i,s,a,"string"),(0,o.isEmptyValue)(t,"string")||(n.default.type(e,t,i,s,a),n.default.range(e,t,i,s,a),n.default.pattern(e,t,i,s,a),!0===e.whitespace&&n.default.whitespace(e,t,i,s,a))}r(s)}},30142:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(66758),o=r(45197);const i=function(e,t,r,i,a){var s=e.type,l=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t,s)&&!e.required)return r();n.default.required(e,t,i,l,a,s),(0,o.isEmptyValue)(t,s)||n.default.type(e,t,i,l,a)}r(l)}},63073:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>y});var n=r(87462),o=r(4942),i=r(93324),a=r(36198),s=r(87814),l=r(93967),c=r.n(l),u=r(92313),f=r(6685),d=r(39222),p=r(51879),h=r(72436),m=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}];const y=(0,a.forwardRef)((function(e,t){var r=e.value,l=e.defaultValue,y=e.prefixCls,g=void 0===y?s.ColorPickerPrefixCls:y,v=e.onChange,b=e.onChangeComplete,O=e.className,w=e.style,S=e.panelRender,x=e.disabledAlpha,E=void 0!==x&&x,_=e.disabled,P=void 0!==_&&_,T=e.components,j=(0,h.default)(T),C=(0,i.default)(j,1)[0],k=(0,p.default)(l||s.defaultColor,r),A=(0,i.default)(k,2),D=A[0],L=A[1],R=(0,a.useMemo)((function(){return D.setA(1).toRgbString()}),[D]),M=function(e,t){r||L(e),null==v||v(e,t)},I=function(e){return new u.Color(D.setHue(e))},N=function(e){return new u.Color(D.setA(e/100))},B=c()("".concat(g,"-panel"),O,(0,o.default)({},"".concat(g,"-panel-disabled"),P)),$={prefixCls:g,disabled:P,color:D},F=a.createElement(a.Fragment,null,a.createElement(d.default,(0,n.default)({onChange:M},$,{onChangeComplete:b})),a.createElement("div",{className:"".concat(g,"-slider-container")},a.createElement("div",{className:c()("".concat(g,"-slider-group"),(0,o.default)({},"".concat(g,"-slider-group-disabled-alpha"),E))},a.createElement(C,(0,n.default)({},$,{type:"hue",colors:m,min:0,max:359,value:D.getHue(),onChange:function(e){M(I(e),{type:"hue",value:e})},onChangeComplete:function(e){b&&b(I(e))}})),!E&&a.createElement(C,(0,n.default)({},$,{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:R}],min:0,max:100,value:100*D.a,onChange:function(e){M(N(e),{type:"alpha",value:e})},onChangeComplete:function(e){b&&b(N(e))}}))),a.createElement(f.default,{color:D.toRgbString(),prefixCls:g})));return a.createElement("div",{className:B,style:w,ref:t},"function"==typeof S?S(F):F)}))},92313:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Color:()=>h,getRoundNumber:()=>p});var n=r(15671),o=r(43144),i=r(60136),a=r(29388),s=r(1413),l=r(45987),c=r(71002),u=r(22420),f=["b"],d=["v"],p=function(e){return Math.round(Number(e||0))},h=function(e){(0,i.default)(r,e);var t=(0,a.default)(r);function r(e){return(0,n.default)(this,r),t.call(this,function(e){if(e instanceof u.FastColor)return e;if(e&&"object"===(0,c.default)(e)&&"h"in e&&"b"in e){var t=e,r=t.b,n=(0,l.default)(t,f);return(0,s.default)((0,s.default)({},n),{},{v:r})}return"string"==typeof e&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e}(e))}return(0,o.default)(r,[{key:"toHsbString",value:function(){var e=this.toHsb(),t=p(100*e.s),r=p(100*e.b),n=p(e.h),o=e.a,i="hsb(".concat(n,", ").concat(t,"%, ").concat(r,"%)"),a="hsba(".concat(n,", ").concat(t,"%, ").concat(r,"%, ").concat(o.toFixed(0===o?0:2),")");return 1===o?i:a}},{key:"toHsb",value:function(){var e=this.toHsv(),t=e.v,r=(0,l.default)(e,d);return(0,s.default)((0,s.default)({},r),{},{b:t,a:this.a})}}]),r}(u.FastColor)},6685:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(93967),o=r.n(n),i=r(36198);const a=function(e){var t=e.color,r=e.prefixCls,n=e.className,a=e.style,s=e.onClick,l="".concat(r,"-color-block");return i.createElement("div",{className:o()(l,n),style:a,onClick:s},i.createElement("div",{className:"".concat(l,"-inner"),style:{background:t}}))}},53210:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(36198),o=r(92313),i=r(87814);const a=function(e){var t=e.colors,r=e.children,a=e.direction,s=void 0===a?"to right":a,l=e.type,c=e.prefixCls,u=(0,n.useMemo)((function(){return t.map((function(e,r){var n=(0,i.generateColor)(e);return"alpha"===l&&r===t.length-1&&(n=new o.Color(n.setA(1))),n.toRgbString()})).join(",")}),[t,l]);return n.createElement("div",{className:"".concat(c,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(s,", ").concat(u,")")}},r)}},629:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(4942),o=r(93967),i=r.n(o),a=r(36198);const s=function(e){var t=e.size,r=void 0===t?"default":t,o=e.color,s=e.prefixCls;return a.createElement("div",{className:i()("".concat(s,"-handler"),(0,n.default)({},"".concat(s,"-handler-sm"),"small"===r)),style:{backgroundColor:o}})}},85212:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(1413),o=r(36198);const i=function(e){var t=e.children,r=e.style,i=e.prefixCls;return o.createElement("div",{className:"".concat(i,"-palette"),style:(0,n.default)({position:"relative"},r)},t)}},39222:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(93324),o=r(36198),i=r(53011),a=r(87814),s=r(56790),l=r(629),c=r(85212),u=r(17371);const f=function(e){var t=e.color,r=e.onChange,f=e.prefixCls,d=e.onChangeComplete,p=e.disabled,h=(0,o.useRef)(),m=(0,o.useRef)(),y=(0,o.useRef)(t),g=(0,s.useEvent)((function(e){var n=(0,a.calculateColor)({offset:e,targetRef:m,containerRef:h,color:t});y.current=n,r(n)})),v=(0,i.default)({color:t,containerRef:h,targetRef:m,calculate:function(){return(0,a.calcOffset)(t)},onDragChange:g,onDragChangeComplete:function(){return null==d?void 0:d(y.current)},disabledDrag:p}),b=(0,n.default)(v,2),O=b[0],w=b[1];return o.createElement("div",{ref:h,className:"".concat(f,"-select"),onMouseDown:w,onTouchStart:w},o.createElement(c.default,{prefixCls:f},o.createElement(u.default,{x:O.x,y:O.y,ref:m},o.createElement(l.default,{color:t.toRgbString(),prefixCls:f})),o.createElement("div",{className:"".concat(f,"-saturation"),style:{backgroundColor:"hsl(".concat(t.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))}},60777:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m});var n=r(93324),o=r(36198),i=r(53011),a=r(85212),s=r(93967),l=r.n(s),c=r(56790),u=r(92313),f=r(87814),d=r(53210),p=r(629),h=r(17371);const m=function(e){var t=e.prefixCls,r=e.colors,s=e.disabled,m=e.onChange,y=e.onChangeComplete,g=e.color,v=e.type,b=(0,o.useRef)(),O=(0,o.useRef)(),w=(0,o.useRef)(g),S=function(e){return"hue"===v?e.getHue():100*e.a},x=(0,c.useEvent)((function(e){var t=(0,f.calculateColor)({offset:e,targetRef:O,containerRef:b,color:g,type:v});w.current=t,m(S(t))})),E=(0,i.default)({color:g,targetRef:O,containerRef:b,calculate:function(){return(0,f.calcOffset)(g,v)},onDragChange:x,onDragChangeComplete:function(){y(S(w.current))},direction:"x",disabledDrag:s}),_=(0,n.default)(E,2),P=_[0],T=_[1],j=o.useMemo((function(){if("hue"===v){var e=g.toHsb();return e.s=1,e.b=1,e.a=1,new u.Color(e)}return g}),[g,v]),C=o.useMemo((function(){return r.map((function(e){return"".concat(e.color," ").concat(e.percent,"%")}))}),[r]);return o.createElement("div",{ref:b,className:l()("".concat(t,"-slider"),"".concat(t,"-slider-").concat(v)),onMouseDown:T,onTouchStart:T},o.createElement(a.default,{prefixCls:t},o.createElement(h.default,{x:P.x,y:P.y,ref:O},o.createElement(p.default,{size:"small",color:j.toHexString(),prefixCls:t})),o.createElement(d.default,{colors:C,type:v,prefixCls:t})))}},17371:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(36198);const o=(0,n.forwardRef)((function(e,t){var r=e.children,o=e.x,i=e.y;return n.createElement("div",{ref:t,style:{position:"absolute",left:"".concat(o,"%"),top:"".concat(i,"%"),zIndex:1,transform:"translate(-50%, -50%)"}},r)}))},53011:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(93324),o=r(36198);const i=function(e){var t=e.targetRef,r=e.containerRef,i=e.direction,a=e.onDragChange,s=e.onDragChangeComplete,l=e.calculate,c=e.color,u=e.disabledDrag,f=(0,o.useState)({x:0,y:0}),d=(0,n.default)(f,2),p=d[0],h=d[1],m=(0,o.useRef)(null),y=(0,o.useRef)(null);(0,o.useEffect)((function(){h(l())}),[c]),(0,o.useEffect)((function(){return function(){document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",y.current),document.removeEventListener("touchmove",m.current),document.removeEventListener("touchend",y.current),m.current=null,y.current=null}}),[]);var g=function(e){var n=function(e){var t="touches"in e?e.touches[0]:e,r=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,n=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:t.pageX-r,pageY:t.pageY-n}}(e),o=n.pageX,s=n.pageY,l=r.current.getBoundingClientRect(),c=l.x,u=l.y,f=l.width,d=l.height,h=t.current.getBoundingClientRect(),m=h.width,y=h.height,g=m/2,v=y/2,b=Math.max(0,Math.min(o-c,f))-g,O=Math.max(0,Math.min(s-u,d))-v,w={x:b,y:"x"===i?p.y:O};if(0===m&&0===y||m!==y)return!1;null==a||a(w)},v=function(e){e.preventDefault(),g(e)},b=function(e){e.preventDefault(),document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",y.current),document.removeEventListener("touchmove",m.current),document.removeEventListener("touchend",y.current),m.current=null,y.current=null,null==s||s()};return[p,function(e){document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",y.current),u||(g(e),document.addEventListener("mousemove",v),document.addEventListener("mouseup",b),document.addEventListener("touchmove",v),document.addEventListener("touchend",b),m.current=v,y.current=b)}]}},51879:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(93324),o=r(56790),i=r(36198),a=r(87814);const s=function(e,t){var r=(0,o.useMergedState)(e,{value:t}),s=(0,n.default)(r,2),l=s[0],c=s[1];return[(0,i.useMemo)((function(){return(0,a.generateColor)(l)}),[l]),c]}},72436:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(36198),o=r(60777);function i(e){return n.useMemo((function(){return[(e||{}).slider||o.default]}),[e])}},10708:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Color:()=>o.Color,ColorBlock:()=>i.default,default:()=>a});var n=r(63073),o=r(92313),i=r(6685);r(49989);const a=n.default},49989:(e,t,r)=>{"use strict";r.r(t)},87814:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ColorPickerPrefixCls:()=>i,calcOffset:()=>c,calculateColor:()=>l,defaultColor:()=>s,generateColor:()=>a});var n=r(1413),o=r(92313),i="rc-color-picker",a=function(e){return e instanceof o.Color?e:new o.Color(e)},s=a("#1677ff"),l=function(e){var t=e.offset,r=e.targetRef,o=e.containerRef,i=e.color,s=e.type,l=o.current.getBoundingClientRect(),c=l.width,u=l.height,f=r.current.getBoundingClientRect(),d=f.width/2,p=f.height/2,h=(t.x+d)/c,m=1-(t.y+p)/u,y=i.toHsb(),g=h,v=(t.x+d)/c*360;if(s)switch(s){case"hue":return a((0,n.default)((0,n.default)({},y),{},{h:v<=0?0:v}));case"alpha":return a((0,n.default)((0,n.default)({},y),{},{a:g<=0?0:g}))}return a({h:y.h,s:h<=0?0:h,b:m>=1?1:m,a:y.a})},c=function(e,t){var r=e.toHsb();switch(t){case"hue":return{x:r.h/360*100,y:50};case"alpha":return{x:100*e.a,y:50};default:return{x:100*r.s,y:100*(1-r.b)}}}},77885:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=r(36198).createContext(null)},58653:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>p});var n=r(93324),o=r(36198),i=r(18348),a=r(98924),s=(r(80334),r(42550)),l=r(77885),c=r(99860),u=r(14409),f=r(54378),d=function(e){return!1!==e&&((0,a.default)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)};const p=o.forwardRef((function(e,t){var r=e.open,p=e.autoLock,h=e.getContainer,m=e.debug,y=e.autoDestroy,g=void 0===y||y,v=e.children,b=o.useState(r),O=(0,n.default)(b,2),w=O[0],S=O[1],x=w||r;o.useEffect((function(){(g||r)&&S(r)}),[r,g]);var E=o.useState((function(){return d(h)})),_=(0,n.default)(E,2),P=_[0],T=_[1];o.useEffect((function(){var e=d(h);T(null!=e?e:null)}));var j=(0,c.default)(x&&!P,m),C=(0,n.default)(j,2),k=C[0],A=C[1],D=null!=P?P:k;(0,u.default)(p&&r&&(0,a.default)()&&(D===k||D===document.body));var L=null;v&&(0,s.supportRef)(v)&&t&&(L=v.ref);var R=(0,s.useComposeRef)(L,t);if(!x||!(0,a.default)()||void 0===P)return null;var M=!1===D||(0,f.inlineMock)(),I=v;return t&&(I=o.cloneElement(v,{ref:R})),o.createElement(l.default.Provider,{value:A},M?I:(0,i.createPortal)(I,D))}))},56963:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i,inlineMock:()=>o.inlineMock});var n=r(58653),o=r(54378);const i=n.default},54378:(e,t,r)=>{"use strict";r.r(t),r.d(t,{inline:()=>n,inlineMock:()=>o});var n=!1;function o(e){return"boolean"==typeof e&&(n=e),n}},99860:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var n=r(89062),o=r(93324),i=r(36198),a=r(8410),s=r(98924),l=r(77885),c=[];function u(e,t){var r=i.useState((function(){return(0,s.default)()?document.createElement("div"):null})),u=(0,o.default)(r,1)[0],f=i.useRef(!1),d=i.useContext(l.default),p=i.useState(c),h=(0,o.default)(p,2),m=h[0],y=h[1],g=d||(f.current?void 0:function(e){y((function(t){return[e].concat((0,n.default)(t))}))});function v(){u.parentElement||document.body.appendChild(u),f.current=!0}function b(){var e;null===(e=u.parentElement)||void 0===e||e.removeChild(u),f.current=!1}return(0,a.default)((function(){return e?d?d(v):v():b(),b}),[e]),(0,a.default)((function(){m.length&&(m.forEach((function(e){return e()})),y(c))}),[m]),[u,g]}},14409:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(93324),o=r(36198),i=r(44958),a=r(8410),s=r(74204),l=r(78186),c="rc-util-locker-".concat(Date.now()),u=0;function f(e){var t=!!e,r=o.useState((function(){return u+=1,"".concat(c,"_").concat(u)})),f=(0,n.default)(r,1)[0];(0,a.default)((function(){if(t){var e=(0,s.getTargetScrollBarSize)(document.body).width,r=(0,l.isBodyOverflowing)();(0,i.updateCSS)("\nhtml body {\n overflow-y: hidden;\n ".concat(r?"width: calc(100% - ".concat(e,"px);"):"","\n}"),f)}else(0,i.removeCSS)(f);return function(){(0,i.removeCSS)(f)}}),[t,f])}},78186:(e,t,r)=>{"use strict";function n(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}r.r(t),r.d(t,{isBodyOverflowing:()=>n})},85908:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(93967),o=r.n(n),i=r(36198);function a(e){var t=e.prefixCls,r=e.align,n=e.arrow,a=e.arrowPos,s=n||{},l=s.className,c=s.content,u=a.x,f=void 0===u?0:u,d=a.y,p=void 0===d?0:d,h=i.useRef();if(!r||!r.points)return null;var m={position:"absolute"};if(!1!==r.autoArrow){var y=r.points[0],g=r.points[1],v=y[0],b=y[1],O=g[0],w=g[1];v!==O&&["t","b"].includes(v)?"t"===v?m.top=0:m.bottom=0:m.top=p,b!==w&&["l","r"].includes(b)?"l"===b?m.left=0:m.right=0:m.left=f}return i.createElement("div",{ref:h,className:o()("".concat(t,"-arrow"),l),style:m},c)}},35045:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(87462),o=r(93967),i=r.n(o),a=r(93587),s=r(36198);function l(e){var t=e.prefixCls,r=e.open,o=e.zIndex,l=e.mask,c=e.motion;return l?s.createElement(a.default,(0,n.default)({},c,{motionAppear:!0,visible:r,removeOnLeave:!0}),(function(e){var r=e.className;return s.createElement("div",{style:{zIndex:o},className:i()("".concat(t,"-mask"),r)})})):null}},72905:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=r(36198).memo((function(e){return e.children}),(function(e,t){return t.cache}))},84339:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>y});var n=r(87462),o=r(1413),i=r(93324),a=r(93967),s=r.n(a),l=r(93587),c=r(4084),u=r(8410),f=r(42550),d=r(36198),p=r(85908),h=r(35045),m=r(72905);const y=d.forwardRef((function(e,t){var r=e.popup,a=e.className,y=e.prefixCls,g=e.style,v=e.target,b=e.onVisibleChanged,O=e.open,w=e.keepDom,S=e.fresh,x=e.onClick,E=e.mask,_=e.arrow,P=e.arrowPos,T=e.align,j=e.motion,C=e.maskMotion,k=e.forceRender,A=e.getPopupContainer,D=e.autoDestroy,L=e.portal,R=e.zIndex,M=e.onMouseEnter,I=e.onMouseLeave,N=e.onPointerEnter,B=e.onPointerDownCapture,$=e.ready,F=e.offsetX,z=e.offsetY,Q=e.offsetR,V=e.offsetB,U=e.onAlign,G=e.onPrepare,W=e.stretch,H=e.targetWidth,Z=e.targetHeight,X="function"==typeof r?r():r,q=O||w,Y=(null==A?void 0:A.length)>0,K=d.useState(!A||!Y),J=(0,i.default)(K,2),ee=J[0],te=J[1];if((0,u.default)((function(){!ee&&Y&&v&&te(!0)}),[ee,Y,v]),!ee)return null;var re="auto",ne={left:"-1000vw",top:"-1000vh",right:re,bottom:re};if($||!O){var oe,ie=T.points,ae=T.dynamicInset||(null===(oe=T._experimental)||void 0===oe?void 0:oe.dynamicInset),se=ae&&"r"===ie[0][1],le=ae&&"b"===ie[0][0];se?(ne.right=Q,ne.left=re):(ne.left=F,ne.right=re),le?(ne.bottom=V,ne.top=re):(ne.top=z,ne.bottom=re)}var ce={};return W&&(W.includes("height")&&Z?ce.height=Z:W.includes("minHeight")&&Z&&(ce.minHeight=Z),W.includes("width")&&H?ce.width=H:W.includes("minWidth")&&H&&(ce.minWidth=H)),O||(ce.pointerEvents="none"),d.createElement(L,{open:k||q,getContainer:A&&function(){return A(v)},autoDestroy:D},d.createElement(h.default,{prefixCls:y,open:O,zIndex:R,mask:E,motion:C}),d.createElement(c.default,{onResize:U,disabled:!O},(function(e){return d.createElement(l.default,(0,n.default)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:k,leavedClassName:"".concat(y,"-hidden")},j,{onAppearPrepare:G,onEnterPrepare:G,visible:O,onVisibleChanged:function(e){var t;null==j||null===(t=j.onVisibleChanged)||void 0===t||t.call(j,e),b(e)}}),(function(r,n){var i=r.className,l=r.style,c=s()(y,i,a);return d.createElement("div",{ref:(0,f.composeRef)(e,t,n),className:c,style:(0,o.default)((0,o.default)((0,o.default)((0,o.default)({"--arrow-x":"".concat(P.x||0,"px"),"--arrow-y":"".concat(P.y||0,"px")},ne),ce),l),{},{boxSizing:"border-box",zIndex:R},g),onMouseEnter:M,onMouseLeave:I,onPointerEnter:N,onClick:x,onPointerDownCapture:B},_&&d.createElement(p.default,{prefixCls:y,arrow:_,arrowPos:P,align:T}),d.createElement(m.default,{cache:!O&&!S},X))}))})))}))},94059:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(42550),o=r(36198);const i=o.forwardRef((function(e,t){var r=e.children,i=e.getTriggerDOMNode,a=(0,n.supportRef)(r),s=o.useCallback((function(e){(0,n.fillRef)(t,i?i(e):e)}),[i]),l=(0,n.useComposeRef)(s,r.ref);return a?o.cloneElement(r,{ref:l}):r}))},94531:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=r(36198).createContext(null)},35819:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(36198);function o(e){return e?Array.isArray(e)?e:[e]:[]}function i(e,t,r,i){return n.useMemo((function(){var n=o(null!=r?r:t),a=o(null!=i?i:t),s=new Set(n),l=new Set(a);return e&&(s.has("hover")&&(s.delete("hover"),s.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[s,l]}),[e,t,r,i])}},83151:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>y});var n=r(1413),o=r(93324),i=r(34203),a=r(5110),s=r(66680),l=r(8410),c=r(36198),u=r(28745);function f(e){var t="".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),r=t.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(t)}function d(e,t){var r=t||[],n=(0,o.default)(r,2),i=n[0],a=n[1];return[f(e.width,i),f(e.height,a)]}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function h(e,t){var r,n=t[0],o=t[1];return r="t"===n?e.y:"b"===n?e.y+e.height:e.y+e.height/2,{x:"l"===o?e.x:"r"===o?e.x+e.width:e.x+e.width/2,y:r}}function m(e,t){var r={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,n){return n===t?r[e]||"c":e})).join("")}function y(e,t,r,f,y,g,v){var b=c.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:y[f]||{}}),O=(0,o.default)(b,2),w=O[0],S=O[1],x=c.useRef(0),E=c.useMemo((function(){return t?(0,u.collectScroller)(t):[]}),[t]),_=c.useRef({});e||(_.current={});var P=(0,s.default)((function(){if(t&&r&&e){var s,l,c,b,O,w=t,x=w.ownerDocument,P=(0,u.getWin)(w).getComputedStyle(w),T=P.width,j=P.height,C=P.position,k=w.style.left,A=w.style.top,D=w.style.right,L=w.style.bottom,R=w.style.overflow,M=(0,n.default)((0,n.default)({},y[f]),g),I=x.createElement("div");if(null===(s=w.parentElement)||void 0===s||s.appendChild(I),I.style.left="".concat(w.offsetLeft,"px"),I.style.top="".concat(w.offsetTop,"px"),I.style.position=C,I.style.height="".concat(w.offsetHeight,"px"),I.style.width="".concat(w.offsetWidth,"px"),w.style.left="0",w.style.top="0",w.style.right="auto",w.style.bottom="auto",w.style.overflow="hidden",Array.isArray(r))O={x:r[0],y:r[1],width:0,height:0};else{var N,B,$=r.getBoundingClientRect();$.x=null!==(N=$.x)&&void 0!==N?N:$.left,$.y=null!==(B=$.y)&&void 0!==B?B:$.top,O={x:$.x,y:$.y,width:$.width,height:$.height}}var F=w.getBoundingClientRect();F.x=null!==(l=F.x)&&void 0!==l?l:F.left,F.y=null!==(c=F.y)&&void 0!==c?c:F.top;var z=x.documentElement,Q=z.clientWidth,V=z.clientHeight,U=z.scrollWidth,G=z.scrollHeight,W=z.scrollTop,H=z.scrollLeft,Z=F.height,X=F.width,q=O.height,Y=O.width,K={left:0,top:0,right:Q,bottom:V},J={left:-H,top:-W,right:U-H,bottom:G-W},ee=M.htmlRegion,te="visible",re="visibleFirst";"scroll"!==ee&&ee!==re&&(ee=te);var ne=ee===re,oe=(0,u.getVisibleArea)(J,E),ie=(0,u.getVisibleArea)(K,E),ae=ee===te?ie:oe,se=ne?ie:ae;w.style.left="auto",w.style.top="auto",w.style.right="0",w.style.bottom="0";var le=w.getBoundingClientRect();w.style.left=k,w.style.top=A,w.style.right=D,w.style.bottom=L,w.style.overflow=R,null===(b=w.parentElement)||void 0===b||b.removeChild(I);var ce=(0,u.toNum)(Math.round(X/parseFloat(T)*1e3)/1e3),ue=(0,u.toNum)(Math.round(Z/parseFloat(j)*1e3)/1e3);if(0===ce||0===ue||(0,i.isDOM)(r)&&!(0,a.default)(r))return;var fe=M.offset,de=M.targetOffset,pe=d(F,fe),he=(0,o.default)(pe,2),me=he[0],ye=he[1],ge=d(O,de),ve=(0,o.default)(ge,2),be=ve[0],Oe=ve[1];O.x-=be,O.y-=Oe;var we=M.points||[],Se=(0,o.default)(we,2),xe=Se[0],Ee=p(Se[1]),_e=p(xe),Pe=h(O,Ee),Te=h(F,_e),je=(0,n.default)({},M),Ce=Pe.x-Te.x+me,ke=Pe.y-Te.y+ye;function xt(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ae,n=F.x+e,o=F.y+t,i=n+X,a=o+Z,s=Math.max(n,r.left),l=Math.max(o,r.top),c=Math.min(i,r.right),u=Math.min(a,r.bottom);return Math.max(0,(c-s)*(u-l))}var Ae,De,Le,Re,Me=xt(Ce,ke),Ie=xt(Ce,ke,ie),Ne=h(O,["t","l"]),Be=h(F,["t","l"]),$e=h(O,["b","r"]),Fe=h(F,["b","r"]),ze=M.overflow||{},Qe=ze.adjustX,Ve=ze.adjustY,Ue=ze.shiftX,Ge=ze.shiftY,We=function(e){return"boolean"==typeof e?e:e>=0};function Et(){Ae=F.y+ke,De=Ae+Z,Le=F.x+Ce,Re=Le+X}Et();var He=We(Ve),Ze=_e[0]===Ee[0];if(He&&"t"===_e[0]&&(De>se.bottom||_.current.bt)){var Xe=ke;Ze?Xe-=Z-q:Xe=Ne.y-Fe.y-ye;var qe=xt(Ce,Xe),Ye=xt(Ce,Xe,ie);qe>Me||qe===Me&&(!ne||Ye>=Ie)?(_.current.bt=!0,ke=Xe,ye=-ye,je.points=[m(_e,0),m(Ee,0)]):_.current.bt=!1}if(He&&"b"===_e[0]&&(AeMe||Je===Me&&(!ne||et>=Ie)?(_.current.tb=!0,ke=Ke,ye=-ye,je.points=[m(_e,0),m(Ee,0)]):_.current.tb=!1}var tt=We(Qe),rt=_e[1]===Ee[1];if(tt&&"l"===_e[1]&&(Re>se.right||_.current.rl)){var nt=Ce;rt?nt-=X-Y:nt=Ne.x-Fe.x-me;var ot=xt(nt,ke),it=xt(nt,ke,ie);ot>Me||ot===Me&&(!ne||it>=Ie)?(_.current.rl=!0,Ce=nt,me=-me,je.points=[m(_e,1),m(Ee,1)]):_.current.rl=!1}if(tt&&"r"===_e[1]&&(LeMe||st===Me&&(!ne||lt>=Ie)?(_.current.lr=!0,Ce=at,me=-me,je.points=[m(_e,1),m(Ee,1)]):_.current.lr=!1}Et();var ct=!0===Ue?0:Ue;"number"==typeof ct&&(Leie.right&&(Ce-=Re-ie.right-me,O.x>ie.right-ct&&(Ce+=O.x-ie.right+ct)));var ut=!0===Ge?0:Ge;"number"==typeof ut&&(Aeie.bottom&&(ke-=De-ie.bottom-ye,O.y>ie.bottom-ut&&(ke+=O.y-ie.bottom+ut)));var ft=F.x+Ce,dt=ft+X,pt=F.y+ke,ht=pt+Z,mt=O.x,yt=mt+Y,gt=O.y,vt=gt+q,bt=(Math.max(ft,mt)+Math.min(dt,yt))/2-ft,Ot=(Math.max(pt,gt)+Math.min(ht,vt))/2-pt;null==v||v(t,je);var wt=le.right-F.x-(Ce+F.width),St=le.bottom-F.y-(ke+F.height);1===ce&&(Ce=Math.round(Ce),wt=Math.round(wt)),1===ue&&(ke=Math.round(ke),St=Math.round(St)),S({ready:!0,offsetX:Ce/ce,offsetY:ke/ue,offsetR:wt/ce,offsetB:St/ue,arrowX:bt/ce,arrowY:Ot/ue,scaleX:ce,scaleY:ue,align:je})}})),T=function(){S((function(e){return(0,n.default)((0,n.default)({},e),{},{ready:!1})}))};return(0,l.default)(T,[f]),(0,l.default)((function(){e||T()}),[e]),[w.ready,w.offsetX,w.offsetY,w.offsetR,w.offsetB,w.arrowX,w.arrowY,w.scaleX,w.scaleY,w.align,function(){x.current+=1;var e=x.current;Promise.resolve().then((function(){x.current===e&&P()}))}]}},36264:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(89062),o=r(8410),i=r(28745);function a(e,t,r,a,s){(0,o.default)((function(){if(e&&t&&r){var o=t,l=r,c=(0,i.collectScroller)(o),u=(0,i.collectScroller)(l),f=(0,i.getWin)(l),d=new Set([f].concat((0,n.default)(c),(0,n.default)(u)));function p(){a(),s()}return d.forEach((function(e){e.addEventListener("scroll",p,{passive:!0})})),f.addEventListener("resize",p,{passive:!0}),a(),function(){d.forEach((function(e){e.removeEventListener("scroll",p),f.removeEventListener("resize",p)}))}}}),[e,t,r])}},3929:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(27571),o=(r(80334),r(36198)),i=r(28745);function a(e,t,r,a,s,l,c,u){var f=o.useRef(e);f.current=e;var d=o.useRef(!1);return o.useEffect((function(){if(t&&a&&(!s||l)){var e=function(){d.current=!1},o=function(e){var t;!f.current||c((null===(t=e.composedPath)||void 0===t||null===(t=t.call(e))||void 0===t?void 0:t[0])||e.target)||d.current||u(!1)},p=(0,i.getWin)(a);p.addEventListener("pointerdown",e,!0),p.addEventListener("mousedown",o,!0),p.addEventListener("contextmenu",o,!0);var h=(0,n.getShadowRoot)(r);return h&&(h.addEventListener("mousedown",o,!0),h.addEventListener("contextmenu",o,!0)),function(){p.removeEventListener("pointerdown",e,!0),p.removeEventListener("mousedown",o,!0),p.removeEventListener("contextmenu",o,!0),h&&(h.removeEventListener("mousedown",o,!0),h.removeEventListener("contextmenu",o,!0))}}}),[t,r,a,s,l]),function(){d.current=!0}}},73439:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>T,generateTrigger:()=>P});var n=r(1413),o=r(93324),i=r(45987),a=r(56963),s=r(93967),l=r.n(s),c=r(4084),u=r(34203),f=r(27571),d=r(66680),p=r(7028),h=r(8410),m=r(31131),y=r(36198),g=r(84339),v=r(94059),b=r(94531),O=r(35819),w=r(83151),S=r(36264),x=r(3929),E=r(28745),_=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function P(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.default,t=y.forwardRef((function(t,r){var a=t.prefixCls,s=void 0===a?"rc-trigger-popup":a,P=t.children,T=t.action,j=void 0===T?"hover":T,C=t.showAction,k=t.hideAction,A=t.popupVisible,D=t.defaultPopupVisible,L=t.onPopupVisibleChange,R=t.afterPopupVisibleChange,M=t.mouseEnterDelay,I=t.mouseLeaveDelay,N=void 0===I?.1:I,B=t.focusDelay,$=t.blurDelay,F=t.mask,z=t.maskClosable,Q=void 0===z||z,V=t.getPopupContainer,U=t.forceRender,G=t.autoDestroy,W=t.destroyPopupOnHide,H=t.popup,Z=t.popupClassName,X=t.popupStyle,q=t.popupPlacement,Y=t.builtinPlacements,K=void 0===Y?{}:Y,J=t.popupAlign,ee=t.zIndex,te=t.stretch,re=t.getPopupClassNameFromAlign,ne=t.fresh,oe=t.alignPoint,ie=t.onPopupClick,ae=t.onPopupAlign,se=t.arrow,le=t.popupMotion,ce=t.maskMotion,ue=t.popupTransitionName,fe=t.popupAnimation,de=t.maskTransitionName,pe=t.maskAnimation,he=t.className,me=t.getTriggerDOMNode,ye=(0,i.default)(t,_),ge=G||W||!1,ve=y.useState(!1),be=(0,o.default)(ve,2),Oe=be[0],we=be[1];(0,h.default)((function(){we((0,m.default)())}),[]);var Se=y.useRef({}),xe=y.useContext(b.default),Ee=y.useMemo((function(){return{registerSubPopup:function(e,t){Se.current[e]=t,null==xe||xe.registerSubPopup(e,t)}}}),[xe]),_e=(0,p.default)(),Pe=y.useState(null),Te=(0,o.default)(Pe,2),je=Te[0],Ce=Te[1],ke=y.useRef(null),Ae=(0,d.default)((function(e){ke.current=e,(0,u.isDOM)(e)&&je!==e&&Ce(e),null==xe||xe.registerSubPopup(_e,e)})),De=y.useState(null),Le=(0,o.default)(De,2),Re=Le[0],Me=Le[1],Ie=y.useRef(null),Ne=(0,d.default)((function(e){(0,u.isDOM)(e)&&Re!==e&&(Me(e),Ie.current=e)})),Be=y.Children.only(P),$e=(null==Be?void 0:Be.props)||{},Fe={},ze=(0,d.default)((function(e){var t,r,n=Re;return(null==n?void 0:n.contains(e))||(null===(t=(0,f.getShadowRoot)(n))||void 0===t?void 0:t.host)===e||e===n||(null==je?void 0:je.contains(e))||(null===(r=(0,f.getShadowRoot)(je))||void 0===r?void 0:r.host)===e||e===je||Object.values(Se.current).some((function(t){return(null==t?void 0:t.contains(e))||e===t}))})),Qe=(0,E.getMotion)(s,le,fe,ue),Ve=(0,E.getMotion)(s,ce,pe,de),Ue=y.useState(D||!1),Ge=(0,o.default)(Ue,2),We=Ge[0],He=Ge[1],Ze=null!=A?A:We,Xe=(0,d.default)((function(e){void 0===A&&He(e)}));(0,h.default)((function(){He(A||!1)}),[A]);var qe=y.useRef(Ze);qe.current=Ze;var Ye=y.useRef([]);Ye.current=[];var Ke=(0,d.default)((function(e){var t;Xe(e),(null!==(t=Ye.current[Ye.current.length-1])&&void 0!==t?t:Ze)!==e&&(Ye.current.push(e),null==L||L(e))})),Je=y.useRef(),et=function(){clearTimeout(Je.current)},tt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;et(),0===t?Ke(e):Je.current=setTimeout((function(){Ke(e)}),1e3*t)};y.useEffect((function(){return et}),[]);var rt=y.useState(!1),nt=(0,o.default)(rt,2),ot=nt[0],it=nt[1];(0,h.default)((function(e){e&&!Ze||it(!0)}),[Ze]);var at=y.useState(null),st=(0,o.default)(at,2),lt=st[0],ct=st[1],ut=y.useState(null),ft=(0,o.default)(ut,2),dt=ft[0],pt=ft[1],ht=function(e){pt([e.clientX,e.clientY])},mt=(0,w.default)(Ze,je,oe&&null!==dt?dt:Re,q,K,J,ae),yt=(0,o.default)(mt,11),gt=yt[0],vt=yt[1],bt=yt[2],Ot=yt[3],wt=yt[4],St=yt[5],xt=yt[6],Et=yt[7],_t=yt[8],Pt=yt[9],Tt=yt[10],jt=(0,O.default)(Oe,j,C,k),Ct=(0,o.default)(jt,2),kt=Ct[0],At=Ct[1],Dt=kt.has("click"),Lt=At.has("click")||At.has("contextMenu"),Rt=(0,d.default)((function(){ot||Tt()}));(0,S.default)(Ze,Re,je,Rt,(function(){qe.current&&oe&&Lt&&tt(!1)})),(0,h.default)((function(){Rt()}),[dt,q]),(0,h.default)((function(){!Ze||null!=K&&K[q]||Rt()}),[JSON.stringify(J)]);var Mt=y.useMemo((function(){var e=(0,E.getAlignPopupClassName)(K,s,Pt,oe);return l()(e,null==re?void 0:re(Pt))}),[Pt,re,K,s,oe]);y.useImperativeHandle(r,(function(){return{nativeElement:Ie.current,popupElement:ke.current,forceAlign:Rt}}));var It=y.useState(0),Nt=(0,o.default)(It,2),Bt=Nt[0],$t=Nt[1],Ft=y.useState(0),zt=(0,o.default)(Ft,2),Qt=zt[0],Vt=zt[1],Ut=function(){if(te&&Re){var e=Re.getBoundingClientRect();$t(e.width),Vt(e.height)}};function Gt(e,t,r,n){Fe[e]=function(o){var i;null==n||n(o),tt(t,r);for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l1?r-1:0),o=1;o1?r-1:0),o=1;o{"use strict";r.r(t),r.d(t,{collectScroller:()=>l,getAlignPopupClassName:()=>i,getMotion:()=>a,getVisibleArea:()=>f,getWin:()=>s,toNum:()=>c});var n=r(1413);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(arguments.length>2?arguments[2]:void 0)?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function i(e,t,r,n){for(var i=r.points,a=Object.keys(e),s=0;s1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function u(e){return c(parseFloat(e),0)}function f(e,t){var r=(0,n.default)({},e);return(t||[]).forEach((function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=s(e).getComputedStyle(e),n=t.overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,l=t.borderLeftWidth,f=t.borderRightWidth,d=e.getBoundingClientRect(),p=e.offsetHeight,h=e.clientHeight,m=e.offsetWidth,y=e.clientWidth,g=u(i),v=u(a),b=u(l),O=u(f),w=c(Math.round(d.width/m*1e3)/1e3),S=c(Math.round(d.height/p*1e3)/1e3),x=(m-y-b-O)*w,E=(p-h-g-v)*S,_=g*S,P=v*S,T=b*w,j=O*w,C=0,k=0;if("clip"===n){var A=u(o);C=A*w,k=A*S}var D=d.x+T-C,L=d.y+_-k,R=D+d.width+2*C-T-j-x,M=L+d.height+2*k-_-P-E;r.left=Math.max(r.left,D),r.top=Math.max(r.top,L),r.right=Math.min(r.right,R),r.bottom=Math.min(r.bottom,M)}})),r}},12599:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;tq,Action:()=>o,IDLE_BLOCKER:()=>pe,IDLE_FETCHER:()=>de,IDLE_NAVIGATION:()=>fe,UNSAFE_DEFERRED_SYMBOL:()=>ve,UNSAFE_DeferredData:()=>Y,UNSAFE_ErrorResponseImpl:()=>ne,UNSAFE_convertRouteMatchToUiMatch:()=>w,UNSAFE_convertRoutesToDataRoutes:()=>v,UNSAFE_decodePath:()=>M,UNSAFE_getResolveToMatches:()=>F,UNSAFE_invariant:()=>c,UNSAFE_warning:()=>u,createBrowserHistory:()=>s,createHashHistory:()=>l,createMemoryHistory:()=>a,createPath:()=>p,createRouter:()=>ge,createStaticHandler:()=>be,data:()=>X,defer:()=>J,generatePath:()=>L,getStaticContextFromError:()=>Oe,getToPathname:()=>Q,isDataWithResponseInit:()=>Ke,isDeferredData:()=>Je,isRouteErrorResponse:()=>oe,joinPaths:()=>V,json:()=>H,matchPath:()=>R,matchRoutes:()=>b,normalizePathname:()=>U,parsePath:()=>h,redirect:()=>ee,redirectDocument:()=>te,replace:()=>re,resolvePath:()=>N,resolveTo:()=>z,stripBasename:()=>I}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(o||(o={}));const i="popstate";function a(e){void 0===e&&(e={});let t,{initialEntries:r=["/"],initialIndex:n,v5Compat:i=!1}=e;t=r.map(((e,t)=>m(e,"string"==typeof e?null:e.state,0===t?"default":void 0)));let a=c(null==n?t.length-1:n),s=o.Pop,l=null;function c(e){return Math.min(Math.max(e,0),t.length-1)}function f(){return t[a]}function m(e,r,n){void 0===r&&(r=null);let o=d(t?f().pathname:"/",e,r,n);return u("/"===o.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),o}function y(e){return"string"==typeof e?e:p(e)}return{get index(){return a},get action(){return s},get location(){return f()},createHref:y,createURL:e=>new URL(y(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?h(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,r){s=o.Push;let n=m(e,r);a+=1,t.splice(a,t.length,n),i&&l&&l({action:s,location:n,delta:1})},replace(e,r){s=o.Replace;let n=m(e,r);t[a]=n,i&&l&&l({action:s,location:n,delta:0})},go(e){s=o.Pop;let r=c(a+e),n=t[r];a=r,l&&l({action:s,location:n,delta:e})},listen:e=>(l=e,()=>{l=null})}}function s(e){return void 0===e&&(e={}),m((function(e,t){let{pathname:r,search:n,hash:o}=e.location;return d("",{pathname:r,search:n,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:p(t)}),null,e)}function l(e){return void 0===e&&(e={}),m((function(e,t){let{pathname:r="/",search:n="",hash:o=""}=h(e.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),d("",{pathname:r,search:n,hash:o},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:p(t))}),(function(e,t){u("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}function c(e,t){if(!1===e||null==e)throw new Error(t)}function u(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function f(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,r,o){return void 0===r&&(r=null),n({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?h(t):t,{state:r,key:t&&t.key||o||Math.random().toString(36).substr(2,8)})}function p(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 h(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 m(e,t,r,a){void 0===a&&(a={});let{window:s=document.defaultView,v5Compat:l=!1}=a,u=s.history,h=o.Pop,m=null,y=g();function g(){return(u.state||{idx:null}).idx}function v(){h=o.Pop;let e=g(),t=null==e?null:e-y;y=e,m&&m({action:h,location:O.location,delta:t})}function b(e){let t="null"!==s.location.origin?s.location.origin:s.location.href,r="string"==typeof e?e:p(e);return r=r.replace(/ $/,"%20"),c(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==y&&(y=0,u.replaceState(n({},u.state,{idx:y}),""));let O={get action(){return h},get location(){return e(s,u)},listen(e){if(m)throw new Error("A history only accepts one active listener");return s.addEventListener(i,v),m=e,()=>{s.removeEventListener(i,v),m=null}},createHref:e=>t(s,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){h=o.Push;let n=d(O.location,e,t);r&&r(n,e),y=g()+1;let i=f(n,y),a=O.createHref(n);try{u.pushState(i,"",a)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;s.location.assign(a)}l&&m&&m({action:h,location:O.location,delta:1})},replace:function(e,t){h=o.Replace;let n=d(O.location,e,t);r&&r(n,e),y=g();let i=f(n,y),a=O.createHref(n);u.replaceState(i,"",a),l&&m&&m({action:h,location:O.location,delta:0})},go:e=>u.go(e)};return O}var y;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(y||(y={}));const g=new Set(["lazy","caseSensitive","path","id","index","children"]);function v(e,t,r,o){return void 0===r&&(r=[]),void 0===o&&(o={}),e.map(((e,i)=>{let a=[...r,String(i)],s="string"==typeof e.id?e.id:a.join("-");if(c(!0!==e.index||!e.children,"Cannot specify children on an index route"),c(!o[s],'Found a route id collision on id "'+s+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let r=n({},e,t(e),{id:s});return o[s]=r,r}{let r=n({},e,t(e),{id:s,children:void 0});return o[s]=r,e.children&&(r.children=v(e.children,t,a,o)),r}}))}function b(e,t,r){return void 0===r&&(r="/"),O(e,t,r,!1)}function O(e,t,r,n){let o=I(("string"==typeof t?h(t):t).pathname||"/",r);if(null==o)return null;let i=S(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let r=e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]));return r?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let a=null;for(let e=0;null==a&&e{let a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(c(a.relativePath.startsWith(n),'Absolute route path "'+a.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(n.length));let s=V([n,a.relativePath]),l=r.concat(a);e.children&&e.children.length>0&&(c(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),S(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:A(s,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of x(e.path))o(e,t,r);else o(e,t)})),t}function x(e){let t=e.split("/");if(0===t.length)return[];let[r,...n]=t,o=r.endsWith("?"),i=r.replace(/\?$/,"");if(0===n.length)return o?[i,""]:[i];let a=x(n.join("/")),s=[];return s.push(...a.map((e=>""===e?i:[i,e].join("/")))),o&&s.push(...a),s.map((t=>e.startsWith("/")&&""===t?"/":t))}const E=/^:[\w-]+$/,_=3,P=2,T=1,j=10,C=-2,k=e=>"*"===e;function A(e,t){let r=e.split("/"),n=r.length;return r.some(k)&&(n+=C),t&&(n+=P),r.filter((e=>!k(e))).reduce(((e,t)=>e+(E.test(t)?_:""===t?T:j)),n)}function D(e,t,r){void 0===r&&(r=!1);let{routesMeta:n}=e,o={},i="/",a=[];for(let e=0;enull==e?"":"string"==typeof e?e:String(e);return n+r.split(/\/+/).map(((e,r,n)=>{if(r===n.length-1&&"*"===e){return o(t["*"])}const i=e.match(/^:([\w-]+)(\??)$/);if(i){const[,e,r]=i;let n=t[e];return c("?"===r||null!=n,'Missing ":'+e+'" param'),o(n)}return e.replace(/\?$/g,"")})).filter((e=>!!e)).join("/")}function R(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);u("*"===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=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,r)=>(n.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(n.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");let i=new RegExp(o,t?void 0:"i");return[i,n]}(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:n.reduce(((e,t,r)=>{let{paramName:n,isOptional:o}=t;if("*"===n){let e=s[r]||"";a=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[r];return e[n]=o&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:i,pathnameBase:a,pattern:e}}function M(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return u(!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 I(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function N(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:o=""}="string"==typeof e?h(e):e,i=r?r.startsWith("/")?r:function(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("/"):"/"}(r,t):t;return{pathname:i,search:G(n),hash:W(o)}}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 and the router will parse it for you.'}function $(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function F(e,t){let r=$(e);return t?r.map(((e,t)=>t===r.length-1?e.pathname:e.pathnameBase)):r.map((e=>e.pathnameBase))}function z(e,t,r,o){let i;void 0===o&&(o=!1),"string"==typeof e?i=h(e):(i=n({},e),c(!i.pathname||!i.pathname.includes("?"),B("?","pathname","search",i)),c(!i.pathname||!i.pathname.includes("#"),B("#","pathname","hash",i)),c(!i.search||!i.search.includes("#"),B("#","search","hash",i)));let a,s=""===e||""===i.pathname,l=s?"/":i.pathname;if(null==l)a=r;else{let e=t.length-1;if(!o&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?t[e]:"/"}let u=N(i,a),f=l&&"/"!==l&&l.endsWith("/"),d=(s||"."===l)&&r.endsWith("/");return u.pathname.endsWith("/")||!f&&!d||(u.pathname+="/"),u}function Q(e){return""===e||""===e.pathname?"/":"string"==typeof e?h(e).pathname:e.pathname}const V=e=>e.join("/").replace(/\/\/+/g,"/"),U=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),G=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",W=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",H=function(e,t){void 0===t&&(t={});let r="number"==typeof t?{status:t}:t,o=new Headers(r.headers);return o.has("Content-Type")||o.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(e),n({},r,{headers:o}))};class Z{constructor(e,t){this.type="DataWithResponseInit",this.data=e,this.init=t||null}}function X(e,t){return new Z(e,"number"==typeof t?{status:t}:t)}class q extends Error{}class Y{constructor(e,t){let r;this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],c(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 c(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]:K(n)})}),{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function K(e){if(!function(e){return e instanceof Promise&&!0===e._tracked}(e))return e;if(e._error)throw e._error;return e._data}const J=function(e,t){return void 0===t&&(t={}),new Y(e,"number"==typeof t?{status:t}:t)},ee=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 o=new Headers(r.headers);return o.set("Location",e),new Response(null,n({},r,{headers:o}))},te=(e,t)=>{let r=ee(e,t);return r.headers.set("X-Remix-Reload-Document","true"),r},re=(e,t)=>{let r=ee(e,t);return r.headers.set("X-Remix-Replace","true"),r};class ne{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 oe(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const ie=["post","put","patch","delete"],ae=new Set(ie),se=["get",...ie],le=new Set(se),ce=new Set([301,302,303,307,308]),ue=new Set([307,308]),fe={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},de={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},pe={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},he=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,me=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),ye="remix-router-transitions";function ge(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,i=!r;let a;if(c(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)a=e.mapRouteProperties;else if(e.detectErrorBoundary){let t=e.detectErrorBoundary;a=e=>({hasErrorBoundary:t(e)})}else a=me;let s,l,f,p={},h=v(e.routes,a,void 0,p),m=e.basename||"/",g=e.dataStrategy||Ae,S=e.patchRoutesOnNavigation,x=n({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),E=null,_=new Set,P=null,T=null,j=null,C=null!=e.hydrationData,k=b(h,e.history.location,m),A=null;if(null==k&&!S){let t=Ge(404,{pathname:e.history.location.pathname}),{matches:r,route:n}=Ue(h);k=r,A={[n.id]:t}}if(k&&!e.hydrationData){et(k,h,e.history.location.pathname).active&&(k=null)}if(k)if(k.some((e=>e.route.lazy)))l=!1;else if(k.some((e=>e.route.loader)))if(x.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,r=e.hydrationData?e.hydrationData.errors:null;if(r){let e=k.findIndex((e=>void 0!==r[e.route.id]));l=k.slice(0,e+1).every((e=>!Pe(e.route,t,r)))}else l=k.every((e=>!Pe(e.route,t,r)))}else l=null!=e.hydrationData;else l=!0;else if(l=!1,k=[],x.v7_partialHydration){let t=et(null,h,e.history.location.pathname);t.active&&t.matches&&(k=t.matches)}let D,L,R={historyAction:e.history.action,location:e.history.location,matches:k,initialized:l,navigation:fe,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||A,fetchers:new Map,blockers:new Map},M=o.Pop,N=!1,B=!1,$=new Map,F=null,z=!1,Q=!1,V=[],U=new Set,G=new Map,W=0,H=-1,Z=new Map,X=new Set,q=new Map,Y=new Map,K=new Set,J=new Map,ee=new Map;function te(e,t){void 0===t&&(t={}),R=n({},R,e);let r=[],o=[];x.v7_fetcherPersist&&R.fetchers.forEach(((e,t)=>{"idle"===e.state&&(K.has(t)?o.push(t):r.push(t))})),[..._].forEach((e=>e(R,{deletedFetchers:o,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync}))),x.v7_fetcherPersist&&(r.forEach((e=>R.fetchers.delete(e))),o.forEach((e=>Oe(e))))}function re(t,r,i){var a,l;let c,{flushSync:u}=void 0===i?{}:i,f=null!=R.actionData&&null!=R.navigation.formMethod&&rt(R.navigation.formMethod)&&"loading"===R.navigation.state&&!0!==(null==(a=t.state)?void 0:a._isRedirect);c=r.actionData?Object.keys(r.actionData).length>0?r.actionData:null:f?R.actionData:null;let d=r.loaderData?ze(R.loaderData,r.loaderData,r.matches||[],r.errors):R.loaderData,p=R.blockers;p.size>0&&(p=new Map(p),p.forEach(((e,t)=>p.set(t,pe))));let m,y=!0===N||null!=R.navigation.formMethod&&rt(R.navigation.formMethod)&&!0!==(null==(l=t.state)?void 0:l._isRedirect);if(s&&(h=s,s=void 0),z||M===o.Pop||(M===o.Push?e.history.push(t,t.state):M===o.Replace&&e.history.replace(t,t.state)),M===o.Pop){let e=$.get(R.location.pathname);e&&e.has(t.pathname)?m={currentLocation:R.location,nextLocation:t}:$.has(t.pathname)&&(m={currentLocation:t,nextLocation:R.location})}else if(B){let e=$.get(R.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),$.set(R.location.pathname,e)),m={currentLocation:R.location,nextLocation:t}}te(n({},r,{actionData:c,loaderData:d,historyAction:M,location:t,initialized:!0,navigation:fe,revalidation:"idle",restoreScrollPosition:Je(t,r.matches||R.matches),preventScrollReset:y,blockers:p}),{viewTransitionOpts:m,flushSync:!0===u}),M=o.Pop,N=!1,B=!1,z=!1,Q=!1,V=[]}async function ne(t,r,i){D&&D.abort(),D=null,M=t,z=!0===(i&&i.startUninterruptedRevalidation),function(e,t){if(P&&j){let r=Ke(e,t);P[r]=j()}}(R.location,R.matches),N=!0===(i&&i.preventScrollReset),B=!0===(i&&i.enableViewTransition);let a=s||h,l=i&&i.overrideNavigation,c=b(a,r,m),u=!0===(i&&i.flushSync),f=et(c,a,r.pathname);if(f.active&&f.matches&&(c=f.matches),!c){let{error:e,notFoundMatches:t,route:n}=$e(r.pathname);return void re(r,{matches:t,loaderData:{},errors:{[n.id]:e}},{flushSync:u})}if(R.initialized&&!Q&&function(e,t){if(e.pathname!==t.pathname||e.search!==t.search)return!1;if(""===e.hash)return""!==t.hash;if(e.hash===t.hash)return!0;if(""!==t.hash)return!0;return!1}(R.location,r)&&!(i&&i.submission&&rt(i.submission.formMethod)))return void re(r,{matches:c},{flushSync:u});D=new AbortController;let d,p=Ie(e.history,r,D.signal,i&&i.submission);if(i&&i.pendingError)d=[Ve(c).route.id,{type:y.error,error:i.pendingError}];else if(i&&i.submission&&rt(i.submission.formMethod)){let t=await async function(e,t,r,n,i,a){void 0===a&&(a={});ce();let s,l=function(e,t){let r={state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text};return r}(t,r);if(te({navigation:l},{flushSync:!0===a.flushSync}),i){let r=await tt(n,t.pathname,e.signal);if("aborted"===r.type)return{shortCircuited:!0};if("error"===r.type){let e=Ve(r.partialMatches).route.id;return{matches:r.partialMatches,pendingActionResult:[e,{type:y.error,error:r.error}]}}if(!r.matches){let{notFoundMatches:e,error:r,route:n}=$e(t.pathname);return{matches:e,pendingActionResult:[n.id,{type:y.error,error:r}]}}n=r.matches}let c=st(n,t);if(c.route.action||c.route.lazy){if(s=(await se("action",R,e,[c],n,null))[c.route.id],e.signal.aborted)return{shortCircuited:!0}}else s={type:y.error,error:Ge(405,{method:e.method,pathname:t.pathname,routeId:c.route.id})};if(Ye(s)){let t;if(a&&null!=a.replace)t=a.replace;else{t=Me(s.response.headers.get("Location"),new URL(e.url),m)===R.location.pathname+R.location.search}return await ae(e,s,!0,{submission:r,replace:t}),{shortCircuited:!0}}if(Xe(s))throw Ge(400,{type:"defer-action"});if(qe(s)){let e=Ve(n,c.route.id);return!0!==(a&&a.replace)&&(M=o.Push),{matches:n,pendingActionResult:[e.route.id,s]}}return{matches:n,pendingActionResult:[c.route.id,s]}}(p,r,i.submission,c,f.active,{replace:i.replace,flushSync:u});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,n]=t.pendingActionResult;if(qe(n)&&oe(n.error)&&404===n.error.status)return D=null,void re(r,{matches:t.matches,loaderData:{},errors:{[e]:n.error}})}c=t.matches||c,d=t.pendingActionResult,l=ct(r,i.submission),u=!1,f.active=!1,p=Ie(e.history,p.url,p.signal)}let{shortCircuited:g,matches:v,loaderData:O,errors:w}=await async function(t,r,o,i,a,l,c,u,f,d,p){let y=a||ct(r,l),g=l||c||lt(y),v=!(z||x.v7_partialHydration&&f);if(i){if(v){let e=ie(p);te(n({navigation:y},void 0!==e?{actionData:e}:{}),{flushSync:d})}let e=await tt(o,r.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=Ve(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(!e.matches){let{error:e,notFoundMatches:t,route:n}=$e(r.pathname);return{matches:t,loaderData:{},errors:{[n.id]:e}}}o=e.matches}let b=s||h,[O,w]=_e(e.history,R,o,g,r,x.v7_partialHydration&&!0===f,x.v7_skipActionErrorRevalidation,Q,V,U,K,q,X,b,m,p);if(He((e=>!(o&&o.some((t=>t.route.id===e)))||O&&O.some((t=>t.route.id===e)))),H=++W,0===O.length&&0===w.length){let e=Te();return re(r,n({matches:o,loaderData:{},errors:p&&qe(p[1])?{[p[0]]:p[1].error}:null},Qe(p),e?{fetchers:new Map(R.fetchers)}:{}),{flushSync:d}),{shortCircuited:!0}}if(v){let e={};if(!i){e.navigation=y;let t=ie(p);void 0!==t&&(e.actionData=t)}w.length>0&&(e.fetchers=function(e){return e.forEach((e=>{let t=R.fetchers.get(e.key),r=ut(void 0,t?t.data:void 0);R.fetchers.set(e.key,r)})),new Map(R.fetchers)}(w)),te(e,{flushSync:d})}w.forEach((e=>{we(e.key),e.controller&&G.set(e.key,e.controller)}));let S=()=>w.forEach((e=>we(e.key)));D&&D.signal.addEventListener("abort",S);let{loaderResults:E,fetcherResults:_}=await le(R,o,O,w,t);if(t.signal.aborted)return{shortCircuited:!0};D&&D.signal.removeEventListener("abort",S);w.forEach((e=>G.delete(e.key)));let P=We(E);if(P)return await ae(t,P.result,!0,{replace:u}),{shortCircuited:!0};if(P=We(_),P)return X.add(P.key),await ae(t,P.result,!0,{replace:u}),{shortCircuited:!0};let{loaderData:T,errors:j}=Fe(R,o,E,p,w,_,J);J.forEach(((e,t)=>{e.subscribe((r=>{(r||e.done)&&J.delete(t)}))})),x.v7_partialHydration&&f&&R.errors&&(j=n({},R.errors,j));let C=Te(),k=je(H),A=C||k||w.length>0;return n({matches:o,loaderData:T,errors:j},A?{fetchers:new Map(R.fetchers)}:{})}(p,r,c,f.active,l,i&&i.submission,i&&i.fetcherSubmission,i&&i.replace,i&&!0===i.initialHydration,u,d);g||(D=null,re(r,n({matches:v||c},Qe(d),{loaderData:O,errors:w})))}function ie(e){return e&&!qe(e[1])?{[e[0]]:e[1].data}:R.actionData?0===Object.keys(R.actionData).length?null:R.actionData:void 0}async function ae(i,a,s,l){let{submission:u,fetcherSubmission:f,preventScrollReset:p,replace:h}=void 0===l?{}:l;a.response.headers.has("X-Remix-Revalidate")&&(Q=!0);let y=a.response.headers.get("Location");c(y,"Expected a Location header on the redirect Response"),y=Me(y,new URL(i.url),m);let g=d(R.location,y,{_isRedirect:!0});if(r){let r=!1;if(a.response.headers.has("X-Remix-Reload-Document"))r=!0;else if(he.test(y)){const n=e.history.createURL(y);r=n.origin!==t.location.origin||null==I(n.pathname,m)}if(r)return void(h?t.location.replace(y):t.location.assign(y))}D=null;let v=!0===h||a.response.headers.has("X-Remix-Replace")?o.Replace:o.Push,{formMethod:b,formAction:O,formEncType:w}=R.navigation;!u&&!f&&b&&O&&w&&(u=lt(R.navigation));let S=u||f;if(ue.has(a.response.status)&&S&&rt(S.formMethod))await ne(v,g,{submission:n({},S,{formAction:y}),preventScrollReset:p||N,enableViewTransition:s?B:void 0});else{let e=ct(g,u);await ne(v,g,{overrideNavigation:e,fetcherSubmission:f,preventScrollReset:p||N,enableViewTransition:s?B:void 0})}}async function se(e,t,r,n,o,i){let s,l={};try{s=await De(g,e,t,r,n,o,i,p,a)}catch(e){return n.forEach((t=>{l[t.route.id]={type:y.error,error:e}})),l}for(let[e,t]of Object.entries(s))if(Ze(t)){let n=t.result;l[e]={type:y.redirect,response:Re(n,r,e,o,m,x.v7_relativeSplatPath)}}else l[e]=await Le(t);return l}async function le(t,r,n,o,i){let a=t.matches,s=se("loader",t,i,n,r,null),l=Promise.all(o.map((async r=>{if(r.matches&&r.match&&r.controller){let n=(await se("loader",t,Ie(e.history,r.path,r.controller.signal),[r.match],r.matches,r.key))[r.match.route.id];return{[r.key]:n}}return Promise.resolve({[r.key]:{type:y.error,error:Ge(404,{pathname:r.path})}})}))),c=await s,u=(await l).reduce(((e,t)=>Object.assign(e,t)),{});return await Promise.all([nt(r,c,i.signal,a,t.loaderData),ot(r,u,o)]),{loaderResults:c,fetcherResults:u}}function ce(){Q=!0,V.push(...He()),q.forEach(((e,t)=>{G.has(t)&&U.add(t),we(t)}))}function ge(e,t,r){void 0===r&&(r={}),R.fetchers.set(e,t),te({fetchers:new Map(R.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function ve(e,t,r,n){void 0===n&&(n={});let o=Ve(R.matches,t);Oe(e),te({errors:{[o.route.id]:r},fetchers:new Map(R.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function be(e){return x.v7_fetcherPersist&&(Y.set(e,(Y.get(e)||0)+1),K.has(e)&&K.delete(e)),R.fetchers.get(e)||de}function Oe(e){let t=R.fetchers.get(e);!G.has(e)||t&&"loading"===t.state&&Z.has(e)||we(e),q.delete(e),Z.delete(e),X.delete(e),K.delete(e),U.delete(e),R.fetchers.delete(e)}function we(e){let t=G.get(e);t&&(t.abort(),G.delete(e))}function Ee(e){for(let t of e){let e=ft(be(t).data);R.fetchers.set(t,e)}}function Te(){let e=[],t=!1;for(let r of X){let n=R.fetchers.get(r);c(n,"Expected fetcher: "+r),"loading"===n.state&&(X.delete(r),e.push(r),t=!0)}return Ee(e),t}function je(e){let t=[];for(let[r,n]of Z)if(n0}function ke(e){R.blockers.delete(e),ee.delete(e)}function Ne(e,t){let r=R.blockers.get(e)||pe;c("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(R.blockers);n.set(e,t),te({blockers:n})}function Be(e){let{currentLocation:t,nextLocation:r,historyAction:n}=e;if(0===ee.size)return;ee.size>1&&u(!1,"A router only supports one blocker at a time");let o=Array.from(ee.entries()),[i,a]=o[o.length-1],s=R.blockers.get(i);return s&&"proceeding"===s.state?void 0:a({currentLocation:t,nextLocation:r,historyAction:n})?i:void 0}function $e(e){let t=Ge(404,{pathname:e}),r=s||h,{matches:n,route:o}=Ue(r);return He(),{notFoundMatches:n,route:o,error:t}}function He(e){let t=[];return J.forEach(((r,n)=>{e&&!e(n)||(r.cancel(),t.push(n),J.delete(n))})),t}function Ke(e,t){if(T){return T(e,t.map((e=>w(e,R.loaderData))))||e.key}return e.key}function Je(e,t){if(P){let r=Ke(e,t),n=P[r];if("number"==typeof n)return n}return null}function et(e,t,r){if(S){if(!e){return{active:!0,matches:O(t,r,m,!0)||[]}}if(Object.keys(e[0].params).length>0){return{active:!0,matches:O(t,r,m,!0)}}}return{active:!1,matches:null}}async function tt(e,t,r){if(!S)return{type:"success",matches:e};let n=e;for(;;){let e=null==s,o=s||h,i=p;try{await S({path:t,matches:n,patch:(e,t)=>{r.aborted||Ce(e,t,o,i,a)}})}catch(e){return{type:"error",error:e,partialMatches:n}}finally{e&&!r.aborted&&(h=[...h])}if(r.aborted)return{type:"aborted"};let l=b(o,t,m);if(l)return{type:"success",matches:l};let c=O(o,t,m,!0);if(!c||n.length===c.length&&n.every(((e,t)=>e.route.id===c[t].route.id)))return{type:"success",matches:null};n=c}}return f={get basename(){return m},get future(){return x},get state(){return R},get routes(){return h},get window(){return t},initialize:function(){if(E=e.history.listen((t=>{let{action:r,location:n,delta:o}=t;if(L)return L(),void(L=void 0);u(0===ee.size||null!=o,"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 i=Be({currentLocation:R.location,nextLocation:n,historyAction:r});if(i&&null!=o){let t=new Promise((e=>{L=e}));return e.history.go(-1*o),void Ne(i,{state:"blocked",location:n,proceed(){Ne(i,{state:"proceeding",proceed:void 0,reset:void 0,location:n}),t.then((()=>e.history.go(o)))},reset(){let e=new Map(R.blockers);e.set(i,pe),te({blockers:e})}})}return ne(r,n)})),r){!function(e,t){try{let r=e.sessionStorage.getItem(ye);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,$);let e=()=>function(e,t){if(t.size>0){let r={};for(let[e,n]of t)r[e]=[...n];try{e.sessionStorage.setItem(ye,JSON.stringify(r))}catch(e){u(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}}(t,$);t.addEventListener("pagehide",e),F=()=>t.removeEventListener("pagehide",e)}return R.initialized||ne(o.Pop,R.location,{initialHydration:!0}),f},subscribe:function(e){return _.add(e),()=>_.delete(e)},enableScrollRestoration:function(e,t,r){if(P=e,j=t,T=r||null,!C&&R.navigation===fe){C=!0;let e=Je(R.location,R.matches);null!=e&&te({restoreScrollPosition:e})}return()=>{P=null,j=null,T=null}},navigate:async function t(r,i){if("number"==typeof r)return void e.history.go(r);let a=Se(R.location,R.matches,m,x.v7_prependBasename,r,x.v7_relativeSplatPath,null==i?void 0:i.fromRouteId,null==i?void 0:i.relative),{path:s,submission:l,error:c}=xe(x.v7_normalizeFormMethod,!1,a,i),u=R.location,f=d(R.location,s,i&&i.state);f=n({},f,e.history.encodeLocation(f));let p=i&&null!=i.replace?i.replace:void 0,h=o.Push;!0===p?h=o.Replace:!1===p||null!=l&&rt(l.formMethod)&&l.formAction===R.location.pathname+R.location.search&&(h=o.Replace);let y=i&&"preventScrollReset"in i?!0===i.preventScrollReset:void 0,g=!0===(i&&i.flushSync),v=Be({currentLocation:u,nextLocation:f,historyAction:h});if(!v)return await ne(h,f,{submission:l,pendingError:c,preventScrollReset:y,replace:i&&i.replace,enableViewTransition:i&&i.viewTransition,flushSync:g});Ne(v,{state:"blocked",location:f,proceed(){Ne(v,{state:"proceeding",proceed:void 0,reset:void 0,location:f}),t(r,i)},reset(){let e=new Map(R.blockers);e.set(v,pe),te({blockers:e})}})},fetch:function(t,r,n,o){if(i)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.");we(t);let a=!0===(o&&o.flushSync),l=s||h,u=Se(R.location,R.matches,m,x.v7_prependBasename,n,x.v7_relativeSplatPath,r,null==o?void 0:o.relative),f=b(l,u,m),d=et(f,l,u);if(d.active&&d.matches&&(f=d.matches),!f)return void ve(t,r,Ge(404,{pathname:u}),{flushSync:a});let{path:p,submission:y,error:g}=xe(x.v7_normalizeFormMethod,!0,u,o);if(g)return void ve(t,r,g,{flushSync:a});let v=st(f,p),O=!0===(o&&o.preventScrollReset);y&&rt(y.formMethod)?async function(t,r,n,o,i,a,l,u,f){function d(e){if(!e.route.action&&!e.route.lazy){let e=Ge(405,{method:f.formMethod,pathname:n,routeId:r});return ve(t,r,e,{flushSync:l}),!0}return!1}if(ce(),q.delete(t),!a&&d(o))return;let p=R.fetchers.get(t);ge(t,function(e,t){let r={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};return r}(f,p),{flushSync:l});let y=new AbortController,g=Ie(e.history,n,y.signal,f);if(a){let e=await tt(i,n,g.signal);if("aborted"===e.type)return;if("error"===e.type)return void ve(t,r,e.error,{flushSync:l});if(!e.matches)return void ve(t,r,Ge(404,{pathname:n}),{flushSync:l});if(d(o=st(i=e.matches,n)))return}G.set(t,y);let v=W,O=await se("action",R,g,[o],i,t),w=O[o.route.id];if(g.signal.aborted)return void(G.get(t)===y&&G.delete(t));if(x.v7_fetcherPersist&&K.has(t)){if(Ye(w)||qe(w))return void ge(t,ft(void 0))}else{if(Ye(w))return G.delete(t),H>v?void ge(t,ft(void 0)):(X.add(t),ge(t,ut(f)),ae(g,w,!1,{fetcherSubmission:f,preventScrollReset:u}));if(qe(w))return void ve(t,r,w.error)}if(Xe(w))throw Ge(400,{type:"defer-action"});let S=R.navigation.location||R.location,E=Ie(e.history,S,y.signal),_=s||h,P="idle"!==R.navigation.state?b(_,R.navigation.location,m):R.matches;c(P,"Didn't find any matches after fetcher action");let T=++W;Z.set(t,T);let j=ut(f,w.data);R.fetchers.set(t,j);let[C,k]=_e(e.history,R,P,f,S,!1,x.v7_skipActionErrorRevalidation,Q,V,U,K,q,X,_,m,[o.route.id,w]);k.filter((e=>e.key!==t)).forEach((e=>{let t=e.key,r=R.fetchers.get(t),n=ut(void 0,r?r.data:void 0);R.fetchers.set(t,n),we(t),e.controller&&G.set(t,e.controller)})),te({fetchers:new Map(R.fetchers)});let A=()=>k.forEach((e=>we(e.key)));y.signal.addEventListener("abort",A);let{loaderResults:L,fetcherResults:I}=await le(R,P,C,k,E);if(y.signal.aborted)return;y.signal.removeEventListener("abort",A),Z.delete(t),G.delete(t),k.forEach((e=>G.delete(e.key)));let N=We(L);if(N)return ae(E,N.result,!1,{preventScrollReset:u});if(N=We(I),N)return X.add(N.key),ae(E,N.result,!1,{preventScrollReset:u});let{loaderData:B,errors:$}=Fe(R,P,L,void 0,k,I,J);if(R.fetchers.has(t)){let e=ft(w.data);R.fetchers.set(t,e)}je(T),"loading"===R.navigation.state&&T>H?(c(M,"Expected pending action"),D&&D.abort(),re(R.navigation.location,{matches:P,loaderData:B,errors:$,fetchers:new Map(R.fetchers)})):(te({errors:$,loaderData:ze(R.loaderData,B,P,$),fetchers:new Map(R.fetchers)}),Q=!1)}(t,r,p,v,f,d.active,a,O,y):(q.set(t,{routeId:r,path:p}),async function(t,r,n,o,i,a,s,l,u){let f=R.fetchers.get(t);ge(t,ut(u,f?f.data:void 0),{flushSync:s});let d=new AbortController,p=Ie(e.history,n,d.signal);if(a){let e=await tt(i,n,p.signal);if("aborted"===e.type)return;if("error"===e.type)return void ve(t,r,e.error,{flushSync:s});if(!e.matches)return void ve(t,r,Ge(404,{pathname:n}),{flushSync:s});o=st(i=e.matches,n)}G.set(t,d);let h=W,m=await se("loader",R,p,[o],i,t),y=m[o.route.id];Xe(y)&&(y=await it(y,p.signal,!0)||y);G.get(t)===d&&G.delete(t);if(p.signal.aborted)return;if(K.has(t))return void ge(t,ft(void 0));if(Ye(y))return H>h?void ge(t,ft(void 0)):(X.add(t),void await ae(p,y,!1,{preventScrollReset:l}));if(qe(y))return void ve(t,r,y.error);c(!Xe(y),"Unhandled fetcher deferred data"),ge(t,ft(y.data))}(t,r,p,v,f,d.active,a,O,y))},revalidate:function(){ce(),te({revalidation:"loading"}),"submitting"!==R.navigation.state&&("idle"!==R.navigation.state?ne(M||R.historyAction,R.navigation.location,{overrideNavigation:R.navigation,enableViewTransition:!0===B}):ne(R.historyAction,R.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:be,deleteFetcher:function(e){if(x.v7_fetcherPersist){let t=(Y.get(e)||0)-1;t<=0?(Y.delete(e),K.add(e)):Y.set(e,t)}else Oe(e);te({fetchers:new Map(R.fetchers)})},dispose:function(){E&&E(),F&&F(),_.clear(),D&&D.abort(),R.fetchers.forEach(((e,t)=>Oe(t))),R.blockers.forEach(((e,t)=>ke(t)))},getBlocker:function(e,t){let r=R.blockers.get(e)||pe;return ee.get(e)!==t&&ee.set(e,t),r},deleteBlocker:ke,patchRoutes:function(e,t){let r=null==s;Ce(e,t,s||h,p,a),r&&(h=[...h],te({}))},_internalFetchControllers:G,_internalActiveDeferreds:J,_internalSetRoutes:function(e){p={},s=v(e,a,void 0,p)}},f}const ve=Symbol("deferred");function be(e,t){c(e.length>0,"You must provide a non-empty routes array to createStaticHandler");let r,o={},i=(t?t.basename:null)||"/";if(null!=t&&t.mapRouteProperties)r=t.mapRouteProperties;else if(null!=t&&t.detectErrorBoundary){let e=t.detectErrorBoundary;r=t=>({hasErrorBoundary:e(t)})}else r=me;let a=n({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},t?t.future:null),s=v(e,r,void 0,o);async function l(e,t,r,o,i,s,l){c(e.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(rt(e.method.toLowerCase())){let c=await async function(e,t,r,o,i,s,l){let c;if(r.route.action||r.route.lazy){c=(await f("action",e,[r],t,l,o,i))[r.route.id],e.signal.aborted&&we(e,l,a)}else{let t=Ge(405,{method:e.method,pathname:new URL(e.url).pathname,routeId:r.route.id});if(l)throw t;c={type:y.error,error:t}}if(Ye(c))throw new Response(null,{status:c.response.status,headers:{Location:c.response.headers.get("Location")}});if(Xe(c)){let e=Ge(400,{type:"defer-action"});if(l)throw e;c={type:y.error,error:e}}if(l){if(qe(c))throw c.error;return{matches:[r],loaderData:{},actionData:{[r.route.id]:c.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let d=new Request(e.url,{headers:e.headers,redirect:e.redirect,signal:e.signal});if(qe(c)){let e=s?r:Ve(t,r.route.id);return n({},await u(d,t,o,i,s,null,[e.route.id,c]),{statusCode:oe(c.error)?c.error.status:null!=c.statusCode?c.statusCode:500,actionData:null,actionHeaders:n({},c.headers?{[r.route.id]:c.headers}:{})})}let p=await u(d,t,o,i,s,null);return n({},p,{actionData:{[r.route.id]:c.data}},c.statusCode?{statusCode:c.statusCode}:{},{actionHeaders:c.headers?{[r.route.id]:c.headers}:{}})}(e,r,l||st(r,t),o,i,s,null!=l);return c}let c=await u(e,r,o,i,s,l);return et(c)?c:n({},c,{actionData:null,actionHeaders:{}})}catch(e){if(null!=(d=e)&&"object"==typeof d&&"type"in d&&"result"in d&&(d.type===y.data||d.type===y.error)&&et(e.result)){if(e.type===y.error)throw e.result;return e.result}if(function(e){if(!et(e))return!1;let t=e.status,r=e.headers.get("Location");return t>=300&&t<=399&&null!=r}(e))return e;throw e}var d}async function u(e,t,r,o,i,s,l){let c=null!=s;if(c&&(null==s||!s.route.loader)&&(null==s||!s.route.lazy))throw Ge(400,{method:e.method,pathname:new URL(e.url).pathname,routeId:null==s?void 0:s.route.id});let u=(s?[s]:l&&qe(l[1])?Ee(t,l[0]):t).filter((e=>e.route.loader||e.route.lazy));if(0===u.length)return{matches:t,loaderData:t.reduce(((e,t)=>Object.assign(e,{[t.route.id]:null})),{}),errors:l&&qe(l[1])?{[l[0]]:l[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let d=await f("loader",e,u,t,c,r,o);e.signal.aborted&&we(e,c,a);let p=new Map,h=$e(t,d,l,p,i),m=new Set(u.map((e=>e.route.id)));return t.forEach((e=>{m.has(e.route.id)||(h.loaderData[e.route.id]=null)})),n({},h,{matches:t,activeDeferreds:p.size>0?Object.fromEntries(p.entries()):null})}async function f(e,t,n,s,l,c,u){let f=await De(u||Ae,e,null,t,n,s,null,o,r,c),d={};return await Promise.all(s.map((async e=>{if(!(e.route.id in f))return;let r=f[e.route.id];if(Ze(r)){throw Re(r.result,t,e.route.id,s,i,a.v7_relativeSplatPath)}if(et(r.result)&&l)throw r;d[e.route.id]=await Le(r)}))),d}return{dataRoutes:s,query:async function(e,t){let{requestContext:r,skipLoaderErrorBubbling:o,dataStrategy:a}=void 0===t?{}:t,c=new URL(e.url),u=e.method,f=d("",p(c),null,"default"),h=b(s,f,i);if(!tt(u)&&"HEAD"!==u){let e=Ge(405,{method:u}),{matches:t,route:r}=Ue(s);return{basename:i,location:f,matches:t,loaderData:{},actionData:null,errors:{[r.id]:e},statusCode:e.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}if(!h){let e=Ge(404,{pathname:f.pathname}),{matches:t,route:r}=Ue(s);return{basename:i,location:f,matches:t,loaderData:{},actionData:null,errors:{[r.id]:e},statusCode:e.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let m=await l(e,f,h,r,a||null,!0===o,null);return et(m)?m:n({location:f,basename:i},m)},queryRoute:async function(e,t){let{routeId:r,requestContext:n,dataStrategy:o}=void 0===t?{}:t,a=new URL(e.url),c=e.method,u=d("",p(a),null,"default"),f=b(s,u,i);if(!tt(c)&&"HEAD"!==c&&"OPTIONS"!==c)throw Ge(405,{method:c});if(!f)throw Ge(404,{pathname:u.pathname});let h=r?f.find((e=>e.route.id===r)):st(f,u);if(r&&!h)throw Ge(403,{pathname:u.pathname,routeId:r});if(!h)throw Ge(404,{pathname:u.pathname});let m=await l(e,u,f,n,o||null,!1,h);if(et(m))return m;let y=m.errors?Object.values(m.errors)[0]:void 0;if(void 0!==y)throw y;if(m.actionData)return Object.values(m.actionData)[0];if(m.loaderData){var g;let e=Object.values(m.loaderData)[0];return null!=(g=m.activeDeferreds)&&g[h.route.id]&&(e[ve]=m.activeDeferreds[h.route.id]),e}}}}function Oe(e,t,r){return n({},t,{statusCode:oe(r)?r.status:500,errors:{[t._deepestRenderedBoundaryId||e[0].id]:r}})}function we(e,t,r){if(r.v7_throwAbortReason&&void 0!==e.signal.reason)throw e.signal.reason;throw new Error((t?"queryRoute":"query")+"() call aborted: "+e.method+" "+e.url)}function Se(e,t,r,n,o,i,a,s){let l,c;if(a){l=[];for(let e of t)if(l.push(e),e.route.id===a){c=e;break}}else l=t,c=t[t.length-1];let u=z(o||".",F(l,i),I(e.pathname,r)||e.pathname,"path"===s);if(null==o&&(u.search=e.search,u.hash=e.hash),(null==o||""===o||"."===o)&&c){let e=at(u.search);if(c.route.index&&!e)u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index";else if(!c.route.index&&e){let e=new URLSearchParams(u.search),t=e.getAll("index");e.delete("index"),t.filter((e=>e)).forEach((t=>e.append("index",t)));let r=e.toString();u.search=r?"?"+r:""}}return n&&"/"!==r&&(u.pathname="/"===u.pathname?r:V([r,u.pathname])),p(u)}function xe(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&&!tt(n.formMethod))return{path:r,error:Ge(405,{method:n.formMethod})};let o,i,a=()=>({path:r,error:Ge(400,{type:"invalid-body"})}),s=n.formMethod||"get",l=e?s.toUpperCase():s.toLowerCase(),u=He(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!rt(l))return a();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:l,formAction:u,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===n.formEncType){if(!rt(l))return a();try{let e="string"==typeof n.body?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:l,formAction:u,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return a()}}}if(c("function"==typeof FormData,"FormData is not available in this environment"),n.formData)o=Ne(n.formData),i=n.formData;else if(n.body instanceof FormData)o=Ne(n.body),i=n.body;else if(n.body instanceof URLSearchParams)o=n.body,i=Be(o);else if(null==n.body)o=new URLSearchParams,i=new FormData;else try{o=new URLSearchParams(n.body),i=Be(o)}catch(e){return a()}let f={formMethod:l,formAction:u,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(rt(f.formMethod))return{path:r,submission:f};let d=h(r);return t&&d.search&&at(d.search)&&o.append("index",""),d.search="?"+o,{path:p(d),submission:f}}function Ee(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 _e(e,t,r,o,i,a,s,l,c,u,f,d,p,h,m,y){let g=y?qe(y[1])?y[1].error:y[1].data:void 0,v=e.createURL(t.location),O=e.createURL(i),w=r;a&&t.errors?w=Ee(r,Object.keys(t.errors)[0],!0):y&&qe(y[1])&&(w=Ee(r,y[0]));let S=y?y[1].statusCode:void 0,x=s&&S&&S>=400,E=w.filter(((e,r)=>{let{route:i}=e;if(i.lazy)return!0;if(null==i.loader)return!1;if(a)return Pe(i,t.loaderData,t.errors);if(function(e,t,r){let n=!t||r.route.id!==t.route.id,o=void 0===e[r.route.id];return n||o}(t.loaderData,t.matches[r],e)||c.some((t=>t===e.route.id)))return!0;let s=t.matches[r],u=e;return je(e,n({currentUrl:v,currentParams:s.params,nextUrl:O,nextParams:u.params},o,{actionResult:g,actionStatus:S,defaultShouldRevalidate:!x&&(l||v.pathname+v.search===O.pathname+O.search||v.search!==O.search||Te(s,u))}))})),_=[];return d.forEach(((e,i)=>{if(a||!r.some((t=>t.route.id===e.routeId))||f.has(i))return;let s=b(h,e.path,m);if(!s)return void _.push({key:i,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let c=t.fetchers.get(i),d=st(s,e.path),y=!1;p.has(i)?y=!1:u.has(i)?(u.delete(i),y=!0):y=c&&"idle"!==c.state&&void 0===c.data?l:je(d,n({currentUrl:v,currentParams:t.matches[t.matches.length-1].params,nextUrl:O,nextParams:r[r.length-1].params},o,{actionResult:g,actionStatus:S,defaultShouldRevalidate:!x&&l})),y&&_.push({key:i,routeId:e.routeId,path:e.path,matches:s,match:d,controller:new AbortController})})),[E,_]}function Pe(e,t,r){if(e.lazy)return!0;if(!e.loader)return!1;let n=null!=t&&void 0!==t[e.id],o=null!=r&&void 0!==r[e.id];return!(!n&&o)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!n&&!o)}function Te(e,t){let r=e.route.path;return e.pathname!==t.pathname||null!=r&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function je(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if("boolean"==typeof r)return r}return t.defaultShouldRevalidate}function Ce(e,t,r,n,o){var i;let a;if(e){let t=n[e];c(t,"No route found to patch children into: routeId = "+e),t.children||(t.children=[]),a=t.children}else a=r;let s=v(t.filter((e=>!a.some((t=>ke(e,t))))),o,[e||"_","patch",String((null==(i=a)?void 0:i.length)||"0")],n);a.push(...s)}function ke(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=>ke(e,t)))})))}async function Ae(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 De(e,t,r,o,i,a,s,l,f,d){let p=a.map((e=>e.route.lazy?async function(e,t,r){if(!e.lazy)return;let o=await e.lazy();if(!e.lazy)return;let i=r[e.id];c(i,"No route found in manifest");let a={};for(let e in o){let t=void 0!==i[e]&&"hasErrorBoundary"!==e;u(!t,'Route "'+i.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||g.has(e)||(a[e]=o[e])}Object.assign(i,a),Object.assign(i,n({},t(i),{lazy:void 0}))}(e.route,f,l):void 0)),h=a.map(((e,r)=>{let a=p[r],s=i.some((t=>t.route.id===e.route.id));return n({},e,{shouldLoad:s,resolve:async r=>(r&&"GET"===o.method&&(e.route.lazy||e.route.loader)&&(s=!0),s?async function(e,t,r,n,o,i){let a,s,l=n=>{let a,l=new Promise(((e,t)=>a=t));s=()=>a(),t.signal.addEventListener("abort",s);let c=o=>"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:i},...void 0!==o?[o]:[]),u=(async()=>{try{return{type:"data",result:await(o?o((e=>c(e))):c())}}catch(e){return{type:"error",result:e}}})();return Promise.race([u,l])};try{let o=r.route[e];if(n)if(o){let e,[t]=await Promise.all([l(o).catch((t=>{e=t})),n]);if(void 0!==e)throw e;a=t}else{if(await n,o=r.route[e],!o){if("action"===e){let e=new URL(t.url),n=e.pathname+e.search;throw Ge(405,{method:t.method,pathname:n,routeId:r.route.id})}return{type:y.data,result:void 0}}a=await l(o)}else{if(!o){let e=new URL(t.url);throw Ge(404,{pathname:e.pathname+e.search})}a=await l(o)}c(void 0!==a.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:y.error,result:e}}finally{s&&t.signal.removeEventListener("abort",s)}return a}(t,o,e,a,r,d):Promise.resolve({type:y.data,result:void 0}))})})),m=await e({matches:h,request:o,params:a[0].params,fetcherKey:s,context:d});try{await Promise.all(p)}catch(e){}return m}async function Le(e){let{result:t,type:r}=e;if(et(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:y.error,error:e}}return r===y.error?{type:y.error,error:new ne(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:y.data,data:e,statusCode:t.status,headers:t.headers}}if(r===y.error){if(Ke(t)){var n,o;if(t.data instanceof Error)return{type:y.error,error:t.data,statusCode:null==(o=t.init)?void 0:o.status};t=new ne((null==(n=t.init)?void 0:n.status)||500,void 0,t.data)}return{type:y.error,error:t,statusCode:oe(t)?t.status:void 0}}var i,a,s,l;return Je(t)?{type:y.deferred,deferredData:t,statusCode:null==(i=t.init)?void 0:i.status,headers:(null==(a=t.init)?void 0:a.headers)&&new Headers(t.init.headers)}:Ke(t)?{type:y.data,data:t.data,statusCode:null==(s=t.init)?void 0:s.status,headers:null!=(l=t.init)&&l.headers?new Headers(t.init.headers):void 0}:{type:y.data,data:t}}function Re(e,t,r,n,o,i){let a=e.headers.get("Location");if(c(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!he.test(a)){let s=n.slice(0,n.findIndex((e=>e.route.id===r))+1);a=Se(new URL(t.url),s,o,!0,a,i),e.headers.set("Location",a)}return e}function Me(e,t,r){if(he.test(e)){let n=e,o=n.startsWith("//")?new URL(t.protocol+n):new URL(n),i=null!=I(o.pathname,r);if(o.origin===t.origin&&i)return o.pathname+o.search+o.hash}return e}function Ie(e,t,r,n){let o=e.createURL(He(t)).toString(),i={signal:r};if(n&&rt(n.formMethod)){let{formMethod:e,formEncType:t}=n;i.method=e.toUpperCase(),"application/json"===t?(i.headers=new Headers({"Content-Type":t}),i.body=JSON.stringify(n.json)):"text/plain"===t?i.body=n.text:"application/x-www-form-urlencoded"===t&&n.formData?i.body=Ne(n.formData):i.body=n.formData}return new Request(o,i)}function Ne(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,"string"==typeof n?n:n.name);return t}function Be(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function $e(e,t,r,n,o){let i,a={},s=null,l=!1,u={},f=r&&qe(r[1])?r[1].error:void 0;return e.forEach((r=>{if(!(r.route.id in t))return;let d=r.route.id,p=t[d];if(c(!Ye(p),"Cannot handle redirect results in processLoaderData"),qe(p)){let t=p.error;if(void 0!==f&&(t=f,f=void 0),s=s||{},o)s[d]=t;else{let r=Ve(e,d);null==s[r.route.id]&&(s[r.route.id]=t)}a[d]=void 0,l||(l=!0,i=oe(p.error)?p.error.status:500),p.headers&&(u[d]=p.headers)}else Xe(p)?(n.set(d,p.deferredData),a[d]=p.deferredData.data,null==p.statusCode||200===p.statusCode||l||(i=p.statusCode),p.headers&&(u[d]=p.headers)):(a[d]=p.data,p.statusCode&&200!==p.statusCode&&!l&&(i=p.statusCode),p.headers&&(u[d]=p.headers))})),void 0!==f&&r&&(s={[r[0]]:f},a[r[0]]=void 0),{loaderData:a,errors:s,statusCode:i||200,loaderHeaders:u}}function Fe(e,t,r,o,i,a,s){let{loaderData:l,errors:u}=$e(t,r,o,s,!1);return i.forEach((t=>{let{key:r,match:o,controller:i}=t,s=a[r];if(c(s,"Did not find corresponding fetcher result"),!i||!i.signal.aborted)if(qe(s)){let t=Ve(e.matches,null==o?void 0:o.route.id);u&&u[t.route.id]||(u=n({},u,{[t.route.id]:s.error})),e.fetchers.delete(r)}else if(Ye(s))c(!1,"Unhandled fetcher revalidation redirect");else if(Xe(s))c(!1,"Unhandled fetcher deferred data");else{let t=ft(s.data);e.fetchers.set(r,t)}})),{loaderData:l,errors:u}}function ze(e,t,r,o){let i=n({},t);for(let n of r){let r=n.route.id;if(t.hasOwnProperty(r)?void 0!==t[r]&&(i[r]=t[r]):void 0!==e[r]&&n.route.loader&&(i[r]=e[r]),o&&o.hasOwnProperty(r))break}return i}function Qe(e){return e?qe(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Ve(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 Ue(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 Ge(e,t){let{pathname:r,routeId:n,method:o,type:i,message:a}=void 0===t?{}:t,s="Unknown Server Error",l="Unknown @remix-run/router error";return 400===e?(s="Bad Request",o&&r&&n?l="You made a "+o+' request to "'+r+'" but did not provide a `loader` for route "'+n+'", so there is no way to handle the request.':"defer-action"===i?l="defer() is not supported in actions":"invalid-body"===i&&(l="Unable to encode submission body")):403===e?(s="Forbidden",l='Route "'+n+'" does not match URL "'+r+'"'):404===e?(s="Not Found",l='No route matches URL "'+r+'"'):405===e&&(s="Method Not Allowed",o&&r&&n?l="You made a "+o.toUpperCase()+' request to "'+r+'" but did not provide an `action` for route "'+n+'", so there is no way to handle the request.':o&&(l='Invalid request method "'+o.toUpperCase()+'"')),new ne(e||500,s,new Error(l),!0)}function We(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[r,n]=t[e];if(Ye(n))return{key:r,result:n}}}function He(e){return p(n({},"string"==typeof e?h(e):e,{hash:""}))}function Ze(e){return et(e.result)&&ce.has(e.result.status)}function Xe(e){return e.type===y.deferred}function qe(e){return e.type===y.error}function Ye(e){return(e&&e.type)===y.redirect}function Ke(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function Je(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}function et(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function tt(e){return le.has(e.toLowerCase())}function rt(e){return ae.has(e.toLowerCase())}async function nt(e,t,r,n,o){let i=Object.entries(t);for(let a=0;a(null==e?void 0:e.route.id)===s));if(!c)continue;let u=n.find((e=>e.route.id===c.route.id)),f=null!=u&&!Te(u,c)&&void 0!==(o&&o[c.route.id]);Xe(l)&&f&&await it(l,r,!1).then((e=>{e&&(t[s]=e)}))}}async function ot(e,t,r){for(let n=0;n(null==e?void 0:e.route.id)===i))&&(Xe(s)&&(c(a,"Expected an AbortController for revalidating fetcher deferred result"),await it(s,a.signal,!0).then((e=>{e&&(t[o]=e)}))))}}async function it(e,t,r){if(void 0===r&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:y.data,data:e.deferredData.unwrappedData}}catch(e){return{type:y.error,error:e}}return{type:y.data,data:e.deferredData.data}}}function at(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function st(e,t){let r="string"==typeof t?h(t).search:t.search;if(e[e.length-1].route.index&&at(r||""))return e[e.length-1];let n=$(e);return n[n.length-1]}function lt(e){let{formMethod:t,formAction:r,formEncType:n,text:o,formData:i,json:a}=e;if(t&&r&&n)return null!=o?{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:o}:null!=i?{formMethod:t,formAction:r,formEncType:n,formData:i,json:void 0,text:void 0}:void 0!==a?{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:a,text:void 0}:void 0}function ct(e,t){if(t){return{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}return{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function ut(e,t){if(e){return{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}}return{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function ft(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}},79608:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>l});var n,o,i,a=r(36198);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>c});var n,o,i,a,s=r(36198);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>c});var n,o,i,a,s=r(36198);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>l});var n,o,i,a=r(36198);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>c});var n,o,i,a,s=r(36198);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(36198);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(36198);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{basicSetup:()=>u,minimalSetup:()=>f});var n=r(47421),o=r(78120),i=r(45383),a=r(49892),s=r(34790),l=r(59119),c=r(28519),u=function(e){void 0===e&&(e={});var{crosshairCursor:t=!1}=e,r=[];!1!==e.closeBracketsKeymap&&(r=r.concat(s.closeBracketsKeymap)),!1!==e.defaultKeymap&&(r=r.concat(i.defaultKeymap)),!1!==e.searchKeymap&&(r=r.concat(a.searchKeymap)),!1!==e.historyKeymap&&(r=r.concat(i.historyKeymap)),!1!==e.foldKeymap&&(r=r.concat(l.foldKeymap)),!1!==e.completionKeymap&&(r=r.concat(s.completionKeymap)),!1!==e.lintKeymap&&(r=r.concat(c.lintKeymap));var u=[];return!1!==e.lineNumbers&&u.push((0,n.lineNumbers)()),!1!==e.highlightActiveLineGutter&&u.push((0,n.highlightActiveLineGutter)()),!1!==e.highlightSpecialChars&&u.push((0,n.highlightSpecialChars)()),!1!==e.history&&u.push((0,i.history)()),!1!==e.foldGutter&&u.push((0,l.foldGutter)()),!1!==e.drawSelection&&u.push((0,n.drawSelection)()),!1!==e.dropCursor&&u.push((0,n.dropCursor)()),!1!==e.allowMultipleSelections&&u.push(o.EditorState.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&u.push((0,l.indentOnInput)()),!1!==e.syntaxHighlighting&&u.push((0,l.syntaxHighlighting)(l.defaultHighlightStyle,{fallback:!0})),!1!==e.bracketMatching&&u.push((0,l.bracketMatching)()),!1!==e.closeBrackets&&u.push((0,s.closeBrackets)()),!1!==e.autocompletion&&u.push((0,s.autocompletion)()),!1!==e.rectangularSelection&&u.push((0,n.rectangularSelection)()),!1!==t&&u.push((0,n.crosshairCursor)()),!1!==e.highlightActiveLine&&u.push((0,n.highlightActiveLine)()),!1!==e.highlightSelectionMatches&&u.push((0,a.highlightSelectionMatches)()),e.tabSize&&"number"==typeof e.tabSize&&u.push(l.indentUnit.of(" ".repeat(e.tabSize))),u.concat([n.keymap.of(r.flat())]).filter(Boolean)},f=function(e){void 0===e&&(e={});var t=[];!1!==e.defaultKeymap&&(t=t.concat(i.defaultKeymap)),!1!==e.historyKeymap&&(t=t.concat(i.historyKeymap));var r=[];return!1!==e.highlightSpecialChars&&r.push((0,n.highlightSpecialChars)()),!1!==e.history&&r.push((0,i.history)()),!1!==e.drawSelection&&r.push((0,n.drawSelection)()),!1!==e.syntaxHighlighting&&r.push((0,l.syntaxHighlighting)(l.defaultHighlightStyle,{fallback:!0})),r.concat([n.keymap.of(t.flat())]).filter(Boolean)}},3891:(e,t,r)=>{"use strict";r.r(t),r.d(t,{color:()=>a.color,defaultLightThemeOption:()=>l.defaultLightThemeOption,getDefaultExtensions:()=>c,oneDark:()=>a.oneDark,oneDarkHighlightStyle:()=>a.oneDarkHighlightStyle,oneDarkTheme:()=>a.oneDarkTheme});var n=r(45383),o=r(15643),i=r(47421),a=r(23732),s=r(78120),l=r(86915),c=function(e){void 0===e&&(e={});var{indentWithTab:t=!0,editable:r=!0,readOnly:c=!1,theme:u="light",placeholder:f="",basicSetup:d=!0}=e,p=[];switch(t&&p.unshift(i.keymap.of([n.indentWithTab])),d&&("boolean"==typeof d?p.unshift((0,o.basicSetup)()):p.unshift((0,o.basicSetup)(d))),f&&p.unshift((0,i.placeholder)(f)),u){case"light":p.push(l.defaultLightThemeOption);break;case"dark":p.push(a.oneDark);break;case"none":break;default:p.push(u)}return!1===r&&p.push(i.EditorView.editable.of(!1)),c&&p.push(s.EditorState.readOnly.of(!0)),[...p]}},5770:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Annotation:()=>c.Annotation,AnnotationType:()=>c.AnnotationType,BidiSpan:()=>l.BidiSpan,BlockInfo:()=>l.BlockInfo,BlockType:()=>l.BlockType,ChangeDesc:()=>c.ChangeDesc,ChangeSet:()=>c.ChangeSet,CharCategory:()=>c.CharCategory,Compartment:()=>c.Compartment,Decoration:()=>l.Decoration,Direction:()=>l.Direction,EditorSelection:()=>c.EditorSelection,EditorState:()=>c.EditorState,EditorView:()=>l.EditorView,Facet:()=>c.Facet,GutterMarker:()=>l.GutterMarker,Line:()=>c.Line,MapMode:()=>c.MapMode,MatchDecorator:()=>l.MatchDecorator,Prec:()=>c.Prec,Range:()=>c.Range,RangeSet:()=>c.RangeSet,RangeSetBuilder:()=>c.RangeSetBuilder,RangeValue:()=>c.RangeValue,RectangleMarker:()=>l.RectangleMarker,SelectionRange:()=>c.SelectionRange,StateEffect:()=>c.StateEffect,StateEffectType:()=>c.StateEffectType,StateField:()=>c.StateField,Text:()=>c.Text,Transaction:()=>c.Transaction,ViewPlugin:()=>l.ViewPlugin,ViewUpdate:()=>l.ViewUpdate,WidgetType:()=>l.WidgetType,__test:()=>l.__test,basicSetup:()=>u.basicSetup,closeHoverTooltips:()=>l.closeHoverTooltips,codePointAt:()=>c.codePointAt,codePointSize:()=>c.codePointSize,color:()=>f.color,combineConfig:()=>c.combineConfig,countColumn:()=>c.countColumn,crosshairCursor:()=>l.crosshairCursor,default:()=>m,defaultLightThemeOption:()=>f.defaultLightThemeOption,drawSelection:()=>l.drawSelection,dropCursor:()=>l.dropCursor,findClusterBreak:()=>c.findClusterBreak,findColumn:()=>c.findColumn,fromCodePoint:()=>c.fromCodePoint,getDefaultExtensions:()=>f.getDefaultExtensions,getDrawSelectionConfig:()=>l.getDrawSelectionConfig,getPanel:()=>l.getPanel,getStatistics:()=>d.getStatistics,getTooltip:()=>l.getTooltip,gutter:()=>l.gutter,gutterLineClass:()=>l.gutterLineClass,gutterWidgetClass:()=>l.gutterWidgetClass,gutters:()=>l.gutters,hasHoverTooltips:()=>l.hasHoverTooltips,highlightActiveLine:()=>l.highlightActiveLine,highlightActiveLineGutter:()=>l.highlightActiveLineGutter,highlightSpecialChars:()=>l.highlightSpecialChars,highlightTrailingWhitespace:()=>l.highlightTrailingWhitespace,highlightWhitespace:()=>l.highlightWhitespace,hoverTooltip:()=>l.hoverTooltip,keymap:()=>l.keymap,layer:()=>l.layer,lineNumberMarkers:()=>l.lineNumberMarkers,lineNumberWidgetMarker:()=>l.lineNumberWidgetMarker,lineNumbers:()=>l.lineNumbers,logException:()=>l.logException,minimalSetup:()=>u.minimalSetup,oneDark:()=>f.oneDark,oneDarkHighlightStyle:()=>f.oneDarkHighlightStyle,oneDarkTheme:()=>f.oneDarkTheme,panels:()=>l.panels,placeholder:()=>l.placeholder,rectangularSelection:()=>l.rectangularSelection,repositionTooltips:()=>l.repositionTooltips,runScopeHandlers:()=>l.runScopeHandlers,scrollPastEnd:()=>l.scrollPastEnd,showPanel:()=>l.showPanel,showTooltip:()=>l.showTooltip,tooltips:()=>l.tooltips,useCodeMirror:()=>a.useCodeMirror});var n=r(87462),o=r(63366),i=r(36198),a=r(57871),s=r(85893),l=r(47421),c=r(78120),u=r(15643),f=r(3891),d=r(74241),p=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],h=(0,i.forwardRef)(((e,t)=>{var{className:r,value:l="",selection:c,extensions:u=[],onChange:f,onStatistics:d,onCreateEditor:h,onUpdate:m,autoFocus:y,theme:g="light",height:v,minHeight:b,maxHeight:O,width:w,minWidth:S,maxWidth:x,basicSetup:E,placeholder:_,indentWithTab:P,editable:T,readOnly:j,root:C,initialState:k}=e,A=(0,o.default)(e,p),D=(0,i.useRef)(null),{state:L,view:R,container:M}=(0,a.useCodeMirror)({container:D.current,root:C,value:l,autoFocus:y,theme:g,height:v,minHeight:b,maxHeight:O,width:w,minWidth:S,maxWidth:x,basicSetup:E,placeholder:_,indentWithTab:P,editable:T,readOnly:j,selection:c,onChange:f,onStatistics:d,onCreateEditor:h,onUpdate:m,extensions:u,initialState:k});if((0,i.useImperativeHandle)(t,(()=>({editor:D.current,state:L,view:R})),[D,M,L,R]),"string"!=typeof l)throw new Error("value must be typeof string but got "+typeof l);var I="string"==typeof g?"cm-theme-"+g:"cm-theme";return(0,s.jsx)("div",(0,n.default)({ref:D,className:I+(r?" "+r:"")},A))}));h.displayName="CodeMirror";const m=h},86915:(e,t,r)=>{"use strict";r.r(t),r.d(t,{defaultLightThemeOption:()=>n});var n=r(47421).EditorView.theme({"&":{backgroundColor:"#fff"}},{dark:!1})},57871:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useCodeMirror:()=>u});var n=r(36198),o=r(78120),i=r(47421),a=r(3891),s=r(74241),l=o.Annotation.define(),c=[];function u(e){var{value:t,selection:r,onChange:u,onStatistics:f,onCreateEditor:d,onUpdate:p,extensions:h=c,autoFocus:m,theme:y="light",height:g=null,minHeight:v=null,maxHeight:b=null,width:O=null,minWidth:w=null,maxWidth:S=null,placeholder:x="",editable:E=!0,readOnly:_=!1,indentWithTab:P=!0,basicSetup:T=!0,root:j,initialState:C}=e,[k,A]=(0,n.useState)(),[D,L]=(0,n.useState)(),[R,M]=(0,n.useState)(),I=i.EditorView.theme({"&":{height:g,minHeight:v,maxHeight:b,width:O,minWidth:w,maxWidth:S},"& .cm-scroller":{height:"100% !important"}}),N=[i.EditorView.updateListener.of((e=>{if(e.docChanged&&"function"==typeof u&&!e.transactions.some((e=>e.annotation(l)))){var t=e.state.doc.toString();u(t,e)}f&&f((0,s.getStatistics)(e))})),I,...(0,a.getDefaultExtensions)({theme:y,editable:E,readOnly:_,placeholder:x,indentWithTab:P,basicSetup:T})];return p&&"function"==typeof p&&N.push(i.EditorView.updateListener.of(p)),N=N.concat(h),(0,n.useEffect)((()=>{if(k&&!R){var e={doc:t,selection:r,extensions:N},n=C?o.EditorState.fromJSON(C.json,e,C.fields):o.EditorState.create(e);if(M(n),!D){var a=new i.EditorView({state:n,parent:k,root:j});L(a),d&&d(a,n)}}return()=>{D&&(M(void 0),L(void 0))}}),[k,R]),(0,n.useEffect)((()=>A(e.container)),[e.container]),(0,n.useEffect)((()=>()=>{D&&(D.destroy(),L(void 0))}),[D]),(0,n.useEffect)((()=>{m&&D&&D.focus()}),[m,D]),(0,n.useEffect)((()=>{D&&D.dispatch({effects:o.StateEffect.reconfigure.of(N)})}),[y,h,g,v,b,O,w,S,x,E,_,P,T,u,p]),(0,n.useEffect)((()=>{if(void 0!==t){var e=D?D.state.doc.toString():"";D&&t!==e&&D.dispatch({changes:{from:0,to:e.length,insert:t||""},annotations:[l.of(!0)]})}}),[t,D]),{state:R,setState:M,view:D,setView:L,container:k,setContainer:A}}},74241:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getStatistics:()=>n});var n=e=>({line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map((t=>e.state.sliceDoc(t.from,t.to))),selectedText:e.state.selection.ranges.some((e=>!e.empty))})},89942:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(36198),o=r(65223),i=r(4173);const a=e=>{const{space:t,form:r,children:a}=e;if(null==a)return null;let s=a;return r&&(s=n.createElement(o.NoFormStyle,{override:!0,status:!0},s)),t&&(s=n.createElement(i.NoCompactStyle,null,s)),s}},98787:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PresetStatusColorTypes:()=>a,isPresetColor:()=>s,isPresetStatusColor:()=>l});var n=r(89062),o=r(33363);const i=o.PresetColors.map((e=>`${e}-inverse`)),a=["success","processing","error","default","warning"];function s(e){return!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?[].concat((0,n.default)(i),(0,n.default)(o.PresetColors)).includes(e):o.PresetColors.includes(e)}function l(e){return a.includes(e)}},78290:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(36198),o=r(8913);const i=e=>{let t;return"object"==typeof e&&(null==e?void 0:e.clearIcon)?t=e:e&&(t={clearIcon:n.createElement(o.default,null)}),t}},57838:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(36198);function o(){const[,e]=n.useReducer((e=>e+1),0);return e}},87263:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CONTAINER_MAX_OFFSET:()=>s,consumerBaseZIndexOffset:()=>c,containerBaseZIndexOffset:()=>l,useZIndex:()=>u});var n=r(36198),o=r(29691),i=(r(27288),r(43945));const a=100,s=1e3,l={Modal:a,Drawer:a,Popover:a,Popconfirm:a,Tooltip:a,Tour:a,FloatButton:a},c={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};const u=(e,t)=>{const[,r]=(0,o.default)(),a=n.useContext(i.default),s=function(e){return e in l}(e);let u;if(void 0!==t)u=[t,t];else{let n=null!=a?a:0;n+=s?(a?0:r.zIndexPopupBase)+l[e]:c[e],u=[void 0===a?t:n,n]}return u}},33603:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c,getTransitionName:()=>l});var n=r(49134);const o=()=>({height:0,opacity:0}),i=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},a=e=>({height:e?e.offsetHeight:0}),s=(e,t)=>!0===(null==t?void 0:t.deadline)||"height"===t.propertyName,l=(e,t,r)=>void 0!==r?r:`${e}-${t}`,c=function(){return{motionName:`${arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.defaultPrefixCls}-motion-collapse`,onAppearStart:o,onEnterStart:o,onAppearActive:i,onEnterActive:i,onLeaveStart:a,onLeaveActive:o,onAppearEnd:s,onEnterEnd:s,onLeaveEnd:s,motionDeadline:500}}},80636:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,getOverflowOptions:()=>o});var n=r(97414);function o(e,t,r,n){if(!1===n)return{adjustX:!1,adjustY:!1};const o=n&&"object"==typeof n?n:{},i={};switch(e){case"top":case"bottom":i.shiftX=2*t.arrowOffsetHorizontal+r,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=2*t.arrowOffsetVertical+r,i.shiftX=!0,i.adjustX=!0}const a=Object.assign(Object.assign({},i),o);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}const i={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},a={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},s=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function l(e){const{arrowWidth:t,autoAdjustOverflow:r,arrowPointAtCenter:l,offset:c,borderRadius:u,visibleFirst:f}=e,d=t/2,p={};return Object.keys(i).forEach((e=>{const h=l&&a[e]||i[e],m=Object.assign(Object.assign({},h),{offset:[0,0],dynamicInset:!0});switch(p[e]=m,s.has(e)&&(m.autoArrow=!1),e){case"top":case"topLeft":case"topRight":m.offset[1]=-d-c;break;case"bottom":case"bottomLeft":case"bottomRight":m.offset[1]=d+c;break;case"left":case"leftTop":case"leftBottom":m.offset[0]=-d-c;break;case"right":case"rightTop":case"rightBottom":m.offset[0]=d+c}const y=(0,n.getArrowOffsetToken)({contentRadius:u,limitVerticalRadius:!0});if(l)switch(e){case"topLeft":case"bottomLeft":m.offset[0]=-y.arrowOffsetHorizontal-d;break;case"topRight":case"bottomRight":m.offset[0]=y.arrowOffsetHorizontal+d;break;case"leftTop":case"rightTop":m.offset[1]=2*-y.arrowOffsetHorizontal+d;break;case"leftBottom":case"rightBottom":m.offset[1]=2*y.arrowOffsetHorizontal-d}m.overflow=o(e,y,t,r),f&&(m.htmlRegion="visibleFirst")})),p}},96159:(e,t,r)=>{"use strict";r.r(t),r.d(t,{cloneElement:()=>a,isFragment:()=>o,replaceElement:()=>i});var n=r(36198);function o(e){return e&&n.isValidElement(e)&&e.type===n.Fragment}const i=(e,t,r)=>n.isValidElement(e)?n.cloneElement(e,"function"==typeof r?r(e.props||{}):r):t;function a(e,t){return i(e,e,t)}},9708:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getMergedStatus:()=>a,getStatusClassNames:()=>i});var n=r(93967),o=r.n(n);function i(e,t,r){return o()({[`${e}-status-success`]:"success"===t,[`${e}-status-warning`]:"warning"===t,[`${e}-status-error`]:"error"===t,[`${e}-status-validating`]:"validating"===t,[`${e}-has-feedback`]:r})}const a=(e,t)=>t||e},27288:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WarningContext:()=>c,default:()=>f,devUseWarning:()=>u,noop:()=>i,resetWarned:()=>s});var n=r(36198),o=r(80334);function i(){}let a=null;function s(){a=null,(0,o.resetWarned)()}let l=i;const c=n.createContext({}),u=()=>{const e=()=>{};return e.deprecated=i,e},f=l},11443:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(36198),o=r(93967),i=r.n(o),a=r(93587),s=r(75164),l=r(38135),c=r(42550),u=r(17415),f=r(30190);function d(e){return Number.isNaN(e)?0:e}const p=e=>{const{className:t,target:r,component:o}=e,p=n.useRef(null),[h,m]=n.useState(null),[y,g]=n.useState([]),[v,b]=n.useState(0),[O,w]=n.useState(0),[S,x]=n.useState(0),[E,_]=n.useState(0),[P,T]=n.useState(!1),j={left:v,top:O,width:S,height:E,borderRadius:y.map((e=>`${e}px`)).join(" ")};function C(){const e=getComputedStyle(r);m((0,f.getTargetWaveColor)(r));const t="static"===e.position,{borderLeftWidth:n,borderTopWidth:o}=e;b(t?r.offsetLeft:d(-parseFloat(n))),w(t?r.offsetTop:d(-parseFloat(o))),x(r.offsetWidth),_(r.offsetHeight);const{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:s,borderBottomRightRadius:l}=e;g([i,a,l,s].map((e=>d(parseFloat(e)))))}if(h&&(j["--wave-color"]=h),n.useEffect((()=>{if(r){const e=(0,s.default)((()=>{C(),T(!0)}));let t;return"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(C),t.observe(r)),()=>{s.default.cancel(e),null==t||t.disconnect()}}}),[]),!P)return null;const k=("Checkbox"===o||"Radio"===o)&&(null==r?void 0:r.classList.contains(u.TARGET_CLS));return n.createElement(a.default,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var r;if(t.deadline||"opacity"===t.propertyName){const e=null===(r=p.current)||void 0===r?void 0:r.parentElement;(0,l.unmount)(e).then((()=>{null==e||e.remove()}))}return!1}},((e,r)=>{let{className:o}=e;return n.createElement("div",{ref:(0,c.composeRef)(p,r),className:i()(t,o,{"wave-quick":k}),style:j})}))},h=(e,t)=>{var r;const{component:o}=t;if("Checkbox"===o&&!(null===(r=e.querySelector("input"))||void 0===r?void 0:r.checked))return;const i=document.createElement("div");i.style.position="absolute",i.style.left="0px",i.style.top="0px",null==e||e.insertBefore(i,null==e?void 0:e.firstChild),(0,l.render)(n.createElement(p,Object.assign({},t,{target:e})),i)}},3378:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var n=r(36198),o=r(93967),i=r.n(o),a=r(5110),s=r(42550),l=r(49134),c=r(96159),u=r(55521),f=r(98345);const d=e=>{const{children:t,disabled:r,component:o}=e,{getPrefixCls:d}=(0,n.useContext)(l.ConfigContext),p=(0,n.useRef)(null),h=d("wave"),[,m]=(0,u.default)(h),y=(0,f.default)(p,i()(h,m),o);if(n.useEffect((()=>{const e=p.current;if(!e||1!==e.nodeType||r)return;const t=t=>{!(0,a.default)(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||y(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}}),[r]),!n.isValidElement(t))return null!=t?t:null;const g=(0,s.supportRef)(t)?(0,s.composeRef)(t.ref,p):p;return(0,c.cloneElement)(t,{ref:g})}},17415:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TARGET_CLS:()=>n});const n=`${r(49134).defaultPrefixCls}-wave-target`},55521:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(12641);const o=e=>{const{componentCls:t,colorPrimary:r}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${r})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},i=(0,n.genComponentStyleHook)("Wave",(e=>[o(e)]))},98345:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var n=r(36198),o=r(66680),i=r(75164),a=r(49134),s=r(29691),l=r(17415),c=r(11443);const u=(e,t,r)=>{const{wave:u}=n.useContext(a.ConfigContext),[,f,d]=(0,s.default)(),p=(0,o.default)((n=>{const o=e.current;if((null==u?void 0:u.disabled)||!o)return;const i=o.querySelector(`.${l.TARGET_CLS}`)||o,{showEffect:a}=u||{};(a||c.default)(i,{className:t,token:f,component:r,event:n,hashId:d})})),h=n.useRef();return e=>{i.default.cancel(h.current),h.current=(0,i.default)((()=>{p(e)}))}}},30190:(e,t,r)=>{"use strict";function n(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}function o(e){const{borderTopColor:t,borderColor:r,backgroundColor:o}=getComputedStyle(e);return n(t)?t:n(r)?r:n(o)?o:null}r.r(t),r.d(t,{getTargetWaveColor:()=>o,isValidWaveColor:()=>n})},43945:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=r(36198).createContext(void 0)},6508:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(36198),o=r(93967),i=r.n(o);const a=(0,n.forwardRef)(((e,t)=>{const{className:r,style:o,children:a,prefixCls:s}=e,l=i()(`${s}-icon`,r);return n.createElement("span",{ref:t,className:l,style:o},a)}))},44942:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var n=r(36198),o=r(79090),i=r(93967),a=r.n(i),s=r(93587),l=r(6508);const c=(0,n.forwardRef)(((e,t)=>{const{prefixCls:r,className:i,style:s,iconClassName:c}=e,u=a()(`${r}-loading-icon`,i);return n.createElement(l.default,{prefixCls:r,className:u,style:s,ref:t},n.createElement(o.default,{className:c}))})),u=()=>({width:0,opacity:0,transform:"scale(0)"}),f=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),d=e=>{const{prefixCls:t,loading:r,existIcon:o,className:i,style:a}=e,l=!!r;return o?n.createElement(c,{prefixCls:t,className:i,style:a}):n.createElement(s.default,{visible:l,motionName:`${t}-loading-icon-motion`,motionLeave:l,removeOnLeave:!0,onAppearStart:u,onAppearActive:f,onEnterStart:u,onEnterActive:f,onLeaveStart:f,onLeaveActive:u},((e,r)=>{let{className:o,style:s}=e;return n.createElement(c,{prefixCls:t,className:i,style:Object.assign(Object.assign({},a),s),ref:r,iconClassName:o})}))}},95658:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GroupSizeContext:()=>c,default:()=>u});var n=r(36198),o=r(93967),i=r.n(o),a=(r(27288),r(49134)),s=r(12641),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:t,direction:r}=n.useContext(a.ConfigContext),{prefixCls:o,size:u,className:f}=e,d=l(e,["prefixCls","size","className"]),p=t("btn-group",o),[,,h]=(0,s.useToken)();let m="";switch(u){case"large":m="lg";break;case"small":m="sm"}const y=i()(p,{[`${p}-${m}`]:m,[`${p}-rtl`]:"rtl"===r},f,h);return n.createElement(c.Provider,{value:u},n.createElement("div",Object.assign({},d,{className:y})))}},97447:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>S});var n=r(36198),o=r(93967),i=r.n(o),a=r(98423),s=r(42550),l=(r(27288),r(3378)),c=r(49134),u=r(98866),f=r(98675),d=r(4173),p=r(95658),h=r(33671),m=r(6508),y=r(44942),g=r(57663),v=r(36171),b=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{var r,o,w,S;const{loading:x=!1,prefixCls:E,color:_,variant:P,type:T,danger:j=!1,shape:C="default",size:k,styles:A,disabled:D,className:L,rootClassName:R,children:M,icon:I,iconPosition:N="start",ghost:B=!1,block:$=!1,htmlType:F="button",classNames:z,style:Q={},autoInsertSpace:V,autoFocus:U}=e,G=b(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),W=T||"default",[H,Z]=(0,n.useMemo)((()=>{if(_&&P)return[_,P];const e=O[W]||[];return j?["danger",e[1]]:e}),[T,_,P,j]),X="danger"===H?"dangerous":H,{getPrefixCls:q,direction:Y,button:K}=(0,n.useContext)(c.ConfigContext),J=null===(r=null!=V?V:null==K?void 0:K.autoInsertSpace)||void 0===r||r,ee=q("btn",E),[te,re,ne]=(0,g.default)(ee),oe=(0,n.useContext)(u.default),ie=null!=D?D:oe,ae=(0,n.useContext)(p.GroupSizeContext),se=(0,n.useMemo)((()=>function(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return t=Number.isNaN(t)||"number"!=typeof t?0:t,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}(x)),[x]),[le,ce]=(0,n.useState)(se.loading),[ue,fe]=(0,n.useState)(!1),de=(0,n.useRef)(),pe=(0,s.useComposeRef)(t,de),he=1===n.Children.count(M)&&!I&&!(0,h.isUnBorderedButtonVariant)(Z);(0,n.useEffect)((()=>{let e=null;return se.delay>0?e=setTimeout((()=>{e=null,ce(!0)}),se.delay):ce(se.loading),function(){e&&(clearTimeout(e),e=null)}}),[se]),(0,n.useEffect)((()=>{if(!de.current||!J)return;const e=de.current.textContent||"";he&&(0,h.isTwoCNChar)(e)?ue||fe(!0):ue&&fe(!1)})),(0,n.useEffect)((()=>{U&&de.current&&de.current.focus()}),[]);const me=n.useCallback((t=>{var r;le||ie?t.preventDefault():null===(r=e.onClick)||void 0===r||r.call(e,t)}),[e.onClick,le,ie]);const{compactSize:ye,compactItemClassnames:ge}=(0,d.useCompactItemContext)(ee,Y),ve={large:"lg",small:"sm",middle:void 0},be=(0,f.default)((e=>{var t,r;return null!==(r=null!==(t=null!=k?k:ye)&&void 0!==t?t:ae)&&void 0!==r?r:e})),Oe=be&&null!==(o=ve[be])&&void 0!==o?o:"",we=le?"loading":I,Se=(0,a.default)(G,["navigate"]),xe=i()(ee,re,ne,{[`${ee}-${C}`]:"default"!==C&&C,[`${ee}-${W}`]:W,[`${ee}-dangerous`]:j,[`${ee}-color-${X}`]:X,[`${ee}-variant-${Z}`]:Z,[`${ee}-${Oe}`]:Oe,[`${ee}-icon-only`]:!M&&0!==M&&!!we,[`${ee}-background-ghost`]:B&&!(0,h.isUnBorderedButtonVariant)(Z),[`${ee}-loading`]:le,[`${ee}-two-chinese-chars`]:ue&&J&&!le,[`${ee}-block`]:$,[`${ee}-rtl`]:"rtl"===Y,[`${ee}-icon-end`]:"end"===N},ge,L,R,null==K?void 0:K.className),Ee=Object.assign(Object.assign({},null==K?void 0:K.style),Q),_e=i()(null==z?void 0:z.icon,null===(w=null==K?void 0:K.classNames)||void 0===w?void 0:w.icon),Pe=Object.assign(Object.assign({},(null==A?void 0:A.icon)||{}),(null===(S=null==K?void 0:K.styles)||void 0===S?void 0:S.icon)||{}),Te=I&&!le?n.createElement(m.default,{prefixCls:ee,className:_e,style:Pe},I):n.createElement(y.default,{existIcon:!!I,prefixCls:ee,loading:le}),je=M||0===M?(0,h.spaceChildren)(M,he&&J):null;if(void 0!==Se.href)return te(n.createElement("a",Object.assign({},Se,{className:i()(xe,{[`${ee}-disabled`]:ie}),href:ie?void 0:Se.href,style:Ee,onClick:me,ref:pe,tabIndex:ie?-1:0}),Te,je));let Ce=n.createElement("button",Object.assign({},G,{type:F,className:xe,style:Ee,onClick:me,disabled:ie,ref:pe}),Te,je,ge&&n.createElement(v.default,{prefixCls:ee}));return(0,h.isUnBorderedButtonVariant)(Z)||(Ce=n.createElement(l.default,{component:"Button",disabled:le},Ce)),te(Ce)}));w.Group=p.default,w.__ANT_BUTTON=!0;const S=w},33671:(e,t,r)=>{"use strict";r.r(t),r.d(t,{_ButtonColorTypes:()=>d,_ButtonVariantTypes:()=>f,convertLegacyProps:()=>s,isString:()=>l,isTwoCNChar:()=>a,isUnBorderedButtonVariant:()=>c,spaceChildren:()=>u});var n=r(36198),o=r(96159);const i=/^[\u4E00-\u9FA5]{2}$/,a=i.test.bind(i);function s(e){return"danger"===e?{danger:!0}:{type:e}}function l(e){return"string"==typeof e}function c(e){return"text"===e||"link"===e}function u(e,t){let r=!1;const i=[];return n.Children.forEach(e,(e=>{const t=typeof e,n="string"===t||"number"===t;if(r&&n){const t=i.length-1,r=i[t];i[t]=`${r}${e}`}else i.push(e);r=n})),n.Children.map(i,(e=>function(e,t){if(null==e)return;const r=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&l(e.type)&&a(e.props.children)?(0,o.cloneElement)(e,{children:e.props.children.split("").join(r)}):l(e)?a(e)?n.createElement("span",null,e.split("").join(r)):n.createElement("span",null,e):(0,o.isFragment)(e)?n.createElement("span",null,e):e}(e,t)))}const f=["outlined","dashed","solid","filled","text","link"],d=["default","primary","danger"]},71577:(e,t,r)=>{"use strict";r.r(t),r.d(t,{_ButtonColorTypes:()=>o._ButtonColorTypes,_ButtonVariantTypes:()=>o._ButtonVariantTypes,convertLegacyProps:()=>o.convertLegacyProps,default:()=>i,isString:()=>o.isString,isTwoCNChar:()=>o.isTwoCNChar,isUnBorderedButtonVariant:()=>o.isUnBorderedButtonVariant,spaceChildren:()=>o.spaceChildren});var n=r(97447),o=r(33671);const i=n.default},36171:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(80110),o=r(54228),i=r(12641),a=r(54287);const s=e=>{const{componentCls:t,colorPrimaryHover:r,lineWidth:n,calc:o}=e,i=o(n).mul(-1).equal(),a=e=>({[`${t}-compact${e?"-vertical":""}-item${t}-primary:not([disabled])`]:{"& + &::before":{position:"absolute",top:e?i:0,insetInlineStart:e?0:i,backgroundColor:r,content:'""',width:e?"100%":n,height:e?n:"100%"}}});return Object.assign(Object.assign({},a()),a(!0))},l=(0,i.genSubStyleComponent)(["Button","compact"],(e=>{const t=(0,a.prepareToken)(e);return[(0,n.genCompactItemStyle)(t),(0,o.genCompactItemVerticalStyle)(t),s(t)]}),a.prepareComponentToken)},74145:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});const n=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),o=e=>{const{componentCls:t,fontSize:r,lineWidth:o,groupBorderColor:i,colorErrorHover:a}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(o).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:r}},n(`${t}-primary`,i),n(`${t}-danger`,a)]}}},57663:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>D});var n=r(78419),o=r(14747),i=r(12641),a=r(74145),s=r(54287);const l=e=>{const{componentCls:t,iconCls:r,fontWeight:i}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:i,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${(0,n.unit)(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`> span, ${t}-icon`]:{display:"inline-flex"},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,o.genFocusStyle)(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${r})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},"&-icon-end":{flexDirection:"row-reverse"}}}},c=(e,t,r)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":r}}),u=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),f=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),d=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),p=(e,t,r,n,o,i,a,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:r||void 0,background:t,borderColor:n||void 0,boxShadow:"none"},c(e,Object.assign({background:t},a),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),h=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},d(e))}),m=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),y=(e,t,r,n)=>{const o=n&&["link","text"].includes(n)?m:h;return Object.assign(Object.assign({},o(e)),c(e.componentCls,t,r))},g=(e,t,r,n,o)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:r},y(e,n,o))}),v=(e,t,r,n,o)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:r},y(e,n,o))}),b=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),O=(e,t,r,n)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},y(e,r,n))}),w=(e,t,r,n,o)=>({[`&${e.componentCls}-variant-${r}`]:Object.assign({color:t,boxShadow:"none"},y(e,n,o,r))}),S=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},g(e,e.solidTextColor,e.colorBgSolid,{background:e.colorBgSolidHover},{background:e.colorBgSolidActive})),b(e)),O(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill})),w(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),p(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),x=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},v(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),b(e)),O(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder})),w(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),p(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),E=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},g(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),v(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),b(e)),O(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive})),w(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),w(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),p(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),_=e=>{const{componentCls:t}=e;return{[`${t}-color-default`]:S(e),[`${t}-color-primary`]:x(e),[`${t}-color-dangerous`]:E(e)}},P=e=>Object.assign(Object.assign(Object.assign(Object.assign({},v(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),w(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),g(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),w(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),T=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{componentCls:r,controlHeight:o,fontSize:i,lineHeight:a,borderRadius:s,buttonPaddingHorizontal:l,iconCls:c,buttonPaddingVertical:d,motionDurationSlow:p,motionEaseInOut:h,buttonIconOnlyFontSize:m,opacityLoading:y}=e;return[{[t]:{fontSize:i,lineHeight:a,height:o,padding:`${(0,n.unit)(d)} ${(0,n.unit)(l)}`,borderRadius:s,[`&${r}-icon-only`]:{width:o,paddingInline:0,[`&${r}-compact-item`]:{flex:"none"},[`&${r}-round`]:{width:"auto"},[c]:{fontSize:m}},[`&${r}-loading`]:{opacity:y,cursor:"default"},[`${r}-loading-icon`]:{transition:`width ${p} ${h}, opacity ${p} ${h}`}}},{[`${r}${r}-circle${t}`]:u(e)},{[`${r}${r}-round${t}`]:f(e)}]},j=e=>{const t=(0,i.mergeToken)(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return T(t,e.componentCls)},C=e=>{const t=(0,i.mergeToken)(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return T(t,`${e.componentCls}-sm`)},k=e=>{const t=(0,i.mergeToken)(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return T(t,`${e.componentCls}-lg`)},A=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},D=(0,i.genStyleHooks)("Button",(e=>{const t=(0,s.prepareToken)(e);return[l(t),j(t),C(t),k(t),A(t),_(t),P(t),(0,a.default)(t)]}),s.prepareComponentToken,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}})},54287:(e,t,r)=>{"use strict";r.r(t),r.d(t,{prepareComponentToken:()=>s,prepareToken:()=>a});var n=r(11616),o=r(71529),i=r(12641);const a=e=>{const{paddingInline:t,onlyIconSize:r,paddingBlock:n}=e;return(0,i.mergeToken)(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:n,buttonIconOnlyFontSize:r})},s=e=>{var t,r,a,s,l,c;const u=null!==(t=e.contentFontSize)&&void 0!==t?t:e.fontSize,f=null!==(r=e.contentFontSizeSM)&&void 0!==r?r:e.fontSize,d=null!==(a=e.contentFontSizeLG)&&void 0!==a?a:e.fontSizeLG,p=null!==(s=e.contentLineHeight)&&void 0!==s?s:(0,i.getLineHeight)(u),h=null!==(l=e.contentLineHeightSM)&&void 0!==l?l:(0,i.getLineHeight)(f),m=null!==(c=e.contentLineHeightLG)&&void 0!==c?c:(0,i.getLineHeight)(d),y=(0,o.isBright)(new n.AggregationColor(e.colorBgSolid),"#fff")?"#000":"#fff";return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:y,contentFontSize:u,contentFontSizeSM:f,contentFontSizeLG:d,contentLineHeight:p,contentLineHeightSM:h,contentLineHeightLG:m,paddingBlock:Math.max((e.controlHeight-u*p)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-f*h)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-d*m)/2-e.lineWidth,0)}}},74228:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=r(9674).default},46256:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(36198),o=r(93967),i=r.n(o),a=r(49134),s=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:r,avatar:o,title:l,description:c}=e,u=s(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:f}=n.useContext(a.ConfigContext),d=f("card",t),p=i()(`${d}-meta`,r),h=o?n.createElement("div",{className:`${d}-meta-avatar`},o):null,m=l?n.createElement("div",{className:`${d}-meta-title`},l):null,y=c?n.createElement("div",{className:`${d}-meta-description`},c):null,g=m||y?n.createElement("div",{className:`${d}-meta-detail`},m,y):null;return n.createElement("div",Object.assign({},u,{className:p}),h,g)}},400:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>g});var n=r(36198),o=r(43929),i=r(93967),a=r.n(i),s=r(7790),l=r(50344),c=r(98423),u=r(33603),f=r(96159),d=(r(27288),r(49134)),p=r(98675),h=r(21158),m=r(7359);const y=n.forwardRef(((e,t)=>{const{getPrefixCls:r,direction:i,collapse:h}=n.useContext(d.ConfigContext),{prefixCls:y,className:g,rootClassName:v,style:b,bordered:O=!0,ghost:w,size:S,expandIconPosition:x="start",children:E,expandIcon:_}=e,P=(0,p.default)((e=>{var t;return null!==(t=null!=S?S:e)&&void 0!==t?t:"middle"})),T=r("collapse",y),j=r(),[C,k,A]=(0,m.default)(T);const D=n.useMemo((()=>"left"===x?"start":"right"===x?"end":x),[x]),L=null!=_?_:null==h?void 0:h.expandIcon,R=n.useCallback((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t="function"==typeof L?L(e):n.createElement(o.default,{rotate:e.isActive?90:void 0,"aria-label":e.isActive?"expanded":"collapsed"});return(0,f.cloneElement)(t,(()=>{var e;return{className:a()(null===(e=null==t?void 0:t.props)||void 0===e?void 0:e.className,`${T}-arrow`)}}))}),[L,T]),M=a()(`${T}-icon-position-${D}`,{[`${T}-borderless`]:!O,[`${T}-rtl`]:"rtl"===i,[`${T}-ghost`]:!!w,[`${T}-${P}`]:"middle"!==P},null==h?void 0:h.className,g,v,k,A),I=Object.assign(Object.assign({},(0,u.default)(j)),{motionAppear:!1,leavedClassName:`${T}-content-hidden`}),N=n.useMemo((()=>E?(0,l.default)(E).map(((e,t)=>{var r,n;if(null===(r=e.props)||void 0===r?void 0:r.disabled){const r=null!==(n=e.key)&&void 0!==n?n:String(t),{disabled:o,collapsible:i}=e.props,a=Object.assign(Object.assign({},(0,c.default)(e.props,["disabled"])),{key:r,collapsible:null!=i?i:o?"disabled":void 0});return(0,f.cloneElement)(e,a)}return e})):null),[E]);return C(n.createElement(s.default,Object.assign({ref:t,openMotion:I},(0,c.default)(e,["rootClassName"]),{expandIcon:R,prefixCls:T,className:M,style:Object.assign(Object.assign({},null==h?void 0:h.style),b)}),N))}));const g=Object.assign(y,{Panel:h.default})},21158:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(36198),o=r(93967),i=r.n(o),a=r(7790),s=(r(27288),r(49134));const l=n.forwardRef(((e,t)=>{const{getPrefixCls:r}=n.useContext(s.ConfigContext),{prefixCls:o,className:l,showArrow:c=!0}=e,u=r("collapse",o),f=i()({[`${u}-no-arrow`]:!c},l);return n.createElement(a.default.Panel,Object.assign({ref:t},e,{prefixCls:u,className:f}))}))},2335:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=r(400).default},7359:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d,genBaseStyle:()=>s,prepareComponentToken:()=>f});var n=r(78419),o=r(14747),i=r(97229),a=r(12641);const s=e=>{const{componentCls:t,contentBg:r,padding:i,headerBg:a,headerPadding:s,collapseHeaderPaddingSM:l,collapseHeaderPaddingLG:c,collapsePanelBorderRadius:u,lineWidth:f,lineType:d,colorBorder:p,colorText:h,colorTextHeading:m,colorTextDisabled:y,fontSizeLG:g,lineHeight:v,lineHeightLG:b,marginSM:O,paddingSM:w,paddingLG:S,paddingXS:x,motionDurationSlow:E,fontSizeIcon:_,contentPadding:P,fontHeight:T,fontHeightLG:j}=e,C=`${(0,n.unit)(f)} ${d} ${p}`;return{[t]:Object.assign(Object.assign({},(0,o.resetComponent)(e)),{backgroundColor:a,border:C,borderRadius:u,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:C,"&:last-child":{[`\n &,\n & > ${t}-header`]:{borderRadius:`0 0 ${(0,n.unit)(u)} ${(0,n.unit)(u)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:s,color:m,lineHeight:v,cursor:"pointer",transition:`all ${E}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:T,display:"flex",alignItems:"center",paddingInlineEnd:O},[`${t}-arrow`]:Object.assign(Object.assign({},(0,o.resetIcon)()),{fontSize:_,transition:`transform ${E}`,svg:{transition:`transform ${E}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-collapsible-header`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"}},[`${t}-collapsible-icon`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:h,backgroundColor:r,borderTop:C,[`& > ${t}-content-box`]:{padding:P},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:l,paddingInlineStart:x,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(w).sub(x).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:w}}},"&-large":{[`> ${t}-item`]:{fontSize:g,lineHeight:b,[`> ${t}-header`]:{padding:c,paddingInlineStart:i,[`> ${t}-expand-icon`]:{height:j,marginInlineStart:e.calc(S).sub(i).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:S}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${(0,n.unit)(u)} ${(0,n.unit)(u)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:y,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:O}}}}})}},l=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{[`> ${t}-item > ${t}-header ${t}-arrow`]:{transform:"rotate(180deg)"}}}},c=e=>{const{componentCls:t,headerBg:r,paddingXXS:n,colorBorder:o}=e;return{[`${t}-borderless`]:{backgroundColor:r,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${o}`},[`\n > ${t}-item:last-child,\n > ${t}-item:last-child ${t}-header\n `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:n}}}},u=e=>{const{componentCls:t,paddingSM:r}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:r}}}}}},f=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),d=(0,a.genStyleHooks)("Collapse",(e=>{const t=(0,a.mergeToken)(e,{collapseHeaderPaddingSM:`${(0,n.unit)(e.paddingXS)} ${(0,n.unit)(e.paddingSM)}`,collapseHeaderPaddingLG:`${(0,n.unit)(e.padding)} ${(0,n.unit)(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[s(t),c(t),u(t),l(t),(0,i.genCollapseMotion)(t)]}),f)},11616:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AggregationColor:()=>l,getHex:()=>s,toHexFormat:()=>a});var n=r(15671),o=r(43144),i=r(10708);const a=(e,t)=>(null==e?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||"",s=(e,t)=>e?a(e,t):"";let l=function(){return(0,o.default)((function e(t){var r;if((0,n.default)(this,e),this.cleared=!1,t instanceof e)return this.metaColor=t.metaColor.clone(),this.colors=null===(r=t.colors)||void 0===r?void 0:r.map((t=>({color:new e(t.color),percent:t.percent}))),void(this.cleared=t.cleared);const o=Array.isArray(t);o&&t.length?(this.colors=t.map((t=>{let{color:r,percent:n}=t;return{color:new e(r),percent:n}})),this.metaColor=new i.Color(this.colors[0].color.metaColor)):this.metaColor=new i.Color(o?"":t),(!t||o&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}),[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return s(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:e}=this;if(e){return`linear-gradient(90deg, ${e.map((e=>`${e.color.toRgbString()} ${e.percent}%`)).join(", ")})`}return this.metaColor.toRgbString()}},{key:"equals",value:function(e){return!(!e||this.isGradient()!==e.isGradient())&&(this.isGradient()?this.colors.length===e.colors.length&&this.colors.every(((t,r)=>{const n=e.colors[r];return t.percent===n.percent&&t.color.equals(n.color)})):this.toHexString()===e.toHexString())}}])}()},71529:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m,isBright:()=>p});var n=r(36198),o=r(10708),i=r(93967),a=r.n(i),s=r(21770),l=r(2335),c=r(94634),u=r(12641),f=r(93766);const d=e=>e.map((e=>(e.colors=e.colors.map(f.generateColor),e))),p=(e,t)=>{const{r,g:n,b:i,a}=e.toRgb(),s=new o.Color(e.toRgbString()).onBackground(t).toHsv();return a<=.5?s.v>.5:.299*r+.587*n+.114*i>192},h=e=>{let{label:t}=e;return`panel-${t}`},m=e=>{let{prefixCls:t,presets:r,value:i,onChange:m}=e;const[y]=(0,c.useLocale)("ColorPicker"),[,g]=(0,u.useToken)(),[v]=(0,s.default)(d(r),{value:d(r),postState:d}),b=`${t}-presets`,O=(0,n.useMemo)((()=>v.reduce(((e,t)=>{const{defaultOpen:r=!0}=t;return r&&e.push(h(t)),e}),[])),[v]),w=v.map((e=>{var r;return{key:h(e),label:n.createElement("div",{className:`${b}-label`},null==e?void 0:e.label),children:n.createElement("div",{className:`${b}-items`},Array.isArray(null==e?void 0:e.colors)&&(null===(r=e.colors)||void 0===r?void 0:r.length)>0?e.colors.map(((e,r)=>n.createElement(o.ColorBlock,{key:`preset-${r}-${e.toHexString()}`,color:(0,f.generateColor)(e).toRgbString(),prefixCls:t,className:a()(`${b}-color`,{[`${b}-color-checked`]:e.toHexString()===(null==i?void 0:i.toHexString()),[`${b}-color-bright`]:p(e,g.colorBgElevated)}),onClick:()=>{return t=e,void(null==m||m(t));var t}}))):n.createElement("span",{className:`${b}-empty`},y.presetEmpty))}}));return n.createElement("div",{className:b},n.createElement(l.default,{defaultActiveKey:O,ghost:!0,items:w}))}},93766:(e,t,r)=>{"use strict";r.r(t),r.d(t,{genAlphaColor:()=>c,generateColor:()=>a,getColorAlpha:()=>l,getGradientPercentColor:()=>u,getRoundNumber:()=>s});var n=r(89062),o=r(10708),i=r(11616);const a=e=>e instanceof i.AggregationColor?e:new i.AggregationColor(e),s=e=>Math.round(Number(e||0)),l=e=>s(100*e.toHsb().a),c=(e,t)=>{const r=e.toRgb();if(!r.r&&!r.g&&!r.b){const r=e.toHsb();return r.a=t||1,a(r)}return r.a=t||1,a(r)},u=(e,t)=>{const r=[{percent:0,color:e[0].color}].concat((0,n.default)(e),[{percent:100,color:e[e.length-1].color}]);for(let e=0;e{"use strict";r.r(t),r.d(t,{DisabledContextProvider:()=>i,default:()=>a});var n=r(36198);const o=n.createContext(!1),i=e=>{let{children:t,disabled:r}=e;const i=n.useContext(o);return n.createElement(o.Provider,{value:null!=r?r:i},t)},a=o},69868:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(36198),o=r(93587),i=r(12641);function a(e){const{children:t}=e,[,r]=(0,i.useToken)(),{motion:a}=r,s=n.useRef(!1);return s.current=s.current||!1===a,s.current?n.createElement(o.Provider,{motion:a},t):t}},31435:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});r(36198),r(27288);const n=()=>null},97647:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SizeContextProvider:()=>i,default:()=>a});var n=r(36198);const o=n.createContext(void 0),i=e=>{let{children:t,size:r}=e;const i=n.useContext(o);return n.createElement(o.Provider,{value:r||i},t)},a=o},32925:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getStyle:()=>l,registerTheme:()=>c});var n=r(11305),o=r(41191),i=r(98924),a=r(44958);r(27288);const s=`-ant-${Date.now()}-${Math.random()}`;function l(e,t){const r={},i=(e,t)=>{let r=e.clone();return r=(null==t?void 0:t(r))||r,r.toRgbString()},a=(e,t)=>{const a=new o.TinyColor(e),s=(0,n.generate)(a.toRgbString());r[`${t}-color`]=i(a),r[`${t}-color-disabled`]=s[1],r[`${t}-color-hover`]=s[4],r[`${t}-color-active`]=s[6],r[`${t}-color-outline`]=a.clone().setAlpha(.2).toRgbString(),r[`${t}-color-deprecated-bg`]=s[0],r[`${t}-color-deprecated-border`]=s[2]};if(t.primaryColor){a(t.primaryColor,"primary");const e=new o.TinyColor(t.primaryColor),s=(0,n.generate)(e.toRgbString());s.forEach(((e,t)=>{r[`primary-${t+1}`]=e})),r["primary-color-deprecated-l-35"]=i(e,(e=>e.lighten(35))),r["primary-color-deprecated-l-20"]=i(e,(e=>e.lighten(20))),r["primary-color-deprecated-t-20"]=i(e,(e=>e.tint(20))),r["primary-color-deprecated-t-50"]=i(e,(e=>e.tint(50))),r["primary-color-deprecated-f-12"]=i(e,(e=>e.setAlpha(.12*e.getAlpha())));const l=new o.TinyColor(s[0]);r["primary-color-active-deprecated-f-30"]=i(l,(e=>e.setAlpha(.3*e.getAlpha()))),r["primary-color-active-deprecated-d-02"]=i(l,(e=>e.darken(2)))}t.successColor&&a(t.successColor,"success"),t.warningColor&&a(t.warningColor,"warning"),t.errorColor&&a(t.errorColor,"error"),t.infoColor&&a(t.infoColor,"info");return`\n :root {\n ${Object.keys(r).map((t=>`--${e}-${t}: ${r[t]};`)).join("\n")}\n }\n `.trim()}function c(e,t){const r=l(e,t);(0,i.default)()&&(0,a.updateCSS)(r,`${s}-dynamic-theme`)}},35792:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(12641);const o=e=>{const[,,,,t]=(0,n.useToken)();return t?`${e}-css-var`:""}},95247:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(36198),o=r(98866),i=r(97647);const a=function(){return{componentDisabled:(0,n.useContext)(o.default),componentSize:(0,n.useContext)(i.default)}}},98675:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(36198),o=r(97647);const i=e=>{const t=n.useContext(o.default);return n.useMemo((()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t),[e,t])}},47871:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(56982),o=r(91881),i=r(27288),a=r(12641),s=r(32969);function l(e,t,r){var l;(0,i.devUseWarning)("ConfigProvider");const c=e||{},u=!1!==c.inherit&&t?t:Object.assign(Object.assign({},a.defaultConfig),{hashed:null!==(l=null==t?void 0:t.hashed)&&void 0!==l?l:a.defaultConfig.hashed,cssVar:null==t?void 0:t.cssVar}),f=(0,s.default)();return(0,n.default)((()=>{var n,o;if(!e)return t;const i=Object.assign({},u.components);Object.keys(e.components||{}).forEach((t=>{i[t]=Object.assign(Object.assign({},i[t]),e.components[t])}));const a=`css-var-${f.replace(/:/g,"")}`,s=(null!==(n=c.cssVar)&&void 0!==n?n:u.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:null==r?void 0:r.prefixCls},"object"==typeof u.cssVar?u.cssVar:{}),"object"==typeof c.cssVar?c.cssVar:{}),{key:"object"==typeof c.cssVar&&(null===(o=c.cssVar)||void 0===o?void 0:o.key)||a});return Object.assign(Object.assign(Object.assign({},u),c),{token:Object.assign(Object.assign({},u.token),c.token),components:i,cssVar:s})}),[c,u],((e,t)=>e.some(((e,r)=>{const n=t[r];return!(0,o.default)(e,n,!0)}))))}},32969:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{default:()=>s});var o=r(36198);const i=Object.assign({},n||(n=r.t(o,2))),{useId:a}=i,s=void 0===a?()=>"":a},49134:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ConfigConsumer:()=>m.ConfigConsumer,ConfigContext:()=>m.ConfigContext,Variants:()=>m.Variants,configConsumerProps:()=>P,default:()=>N,defaultIconPrefixCls:()=>m.defaultIconPrefixCls,defaultPrefixCls:()=>m.defaultPrefixCls,globalConfig:()=>R,warnContext:()=>_});var n=r(36198),o=r(78419),i=r(63017),a=r(56982),s=r(8880),l=r(27288),c=r(37920),u=r(94634),f=r(76745),d=r(40378),p=r(33083),h=r(2790),m=r(25157),y=r(32925),g=r(98866),v=r(95247),b=r(47871),O=r(69868),w=r(31435),S=r(97647),x=r(84305),E=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o({getPrefixCls:(e,t)=>t||(e?`${D()}-${e}`:D()),getIconPrefixCls:L,getRootPrefixCls:()=>j||D(),getTheme:()=>k,holderRender:A}),M=e=>{const{children:t,csp:r,autoInsertSpaceInButton:f,alert:y,anchor:v,form:_,locale:P,componentSize:j,direction:C,space:k,splitter:A,virtual:D,dropdownMatchSelectWidth:L,popupMatchSelectWidth:R,popupOverflow:M,legacyLocale:I,parentContext:N,iconPrefixCls:B,theme:$,componentDisabled:F,segmented:z,statistic:Q,spin:V,calendar:U,carousel:G,cascader:W,collapse:H,typography:Z,checkbox:X,descriptions:q,divider:Y,drawer:K,skeleton:J,steps:ee,image:te,layout:re,list:ne,mentions:oe,modal:ie,progress:ae,result:se,slider:le,breadcrumb:ce,menu:ue,pagination:fe,input:de,textArea:pe,empty:he,badge:me,radio:ye,rate:ge,switch:ve,transfer:be,avatar:Oe,message:we,tag:Se,table:xe,card:Ee,tabs:_e,timeline:Pe,timePicker:Te,upload:je,notification:Ce,tree:ke,colorPicker:Ae,datePicker:De,rangePicker:Le,flex:Re,wave:Me,dropdown:Ie,warning:Ne,tour:Be,floatButtonGroup:$e,variant:Fe,inputNumber:ze,treeSelect:Qe}=e,Ve=n.useCallback(((t,r)=>{const{prefixCls:n}=e;if(r)return r;const o=n||N.getPrefixCls("");return t?`${o}-${t}`:o}),[N.getPrefixCls,e.prefixCls]),Ue=B||N.iconPrefixCls||m.defaultIconPrefixCls,Ge=r||N.csp;(0,x.default)(Ue,Ge);const We=(0,b.default)($,N.theme,{prefixCls:Ve("")});const He={csp:Ge,autoInsertSpaceInButton:f,alert:y,anchor:v,locale:P||I,direction:C,space:k,splitter:A,virtual:D,popupMatchSelectWidth:null!=R?R:L,popupOverflow:M,getPrefixCls:Ve,iconPrefixCls:Ue,theme:We,segmented:z,statistic:Q,spin:V,calendar:U,carousel:G,cascader:W,collapse:H,typography:Z,checkbox:X,descriptions:q,divider:Y,drawer:K,skeleton:J,steps:ee,image:te,input:de,textArea:pe,layout:re,list:ne,mentions:oe,modal:ie,progress:ae,result:se,slider:le,breadcrumb:ce,menu:ue,pagination:fe,empty:he,badge:me,radio:ye,rate:ge,switch:ve,transfer:be,avatar:Oe,message:we,tag:Se,table:xe,card:Ee,tabs:_e,timeline:Pe,timePicker:Te,upload:je,notification:Ce,tree:ke,colorPicker:Ae,datePicker:De,rangePicker:Le,flex:Re,wave:Me,dropdown:Ie,warning:Ne,tour:Be,floatButtonGroup:$e,variant:Fe,inputNumber:ze,treeSelect:Qe};const Ze=Object.assign({},N);Object.keys(He).forEach((e=>{void 0!==He[e]&&(Ze[e]=He[e])})),T.forEach((t=>{const r=e[t];r&&(Ze[t]=r)})),void 0!==f&&(Ze.button=Object.assign({autoInsertSpace:f},Ze.button));const Xe=(0,a.default)((()=>Ze),Ze,((e,t)=>{const r=Object.keys(e),n=Object.keys(t);return r.length!==n.length||r.some((r=>e[r]!==t[r]))})),qe=n.useMemo((()=>({prefixCls:Ue,csp:Ge})),[Ue,Ge]);let Ye=n.createElement(n.Fragment,null,n.createElement(w.default,{dropdownMatchSelectWidth:L}),t);const Ke=n.useMemo((()=>{var e,t,r,n;return(0,s.merge)((null===(e=d.default.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(r=null===(t=Xe.locale)||void 0===t?void 0:t.Form)||void 0===r?void 0:r.defaultValidateMessages)||{},(null===(n=Xe.form)||void 0===n?void 0:n.validateMessages)||{},(null==_?void 0:_.validateMessages)||{})}),[Xe,null==_?void 0:_.validateMessages]);Object.keys(Ke).length>0&&(Ye=n.createElement(c.default.Provider,{value:Ke},Ye)),P&&(Ye=n.createElement(u.default,{locale:P,_ANT_MARK__:u.ANT_MARK},Ye)),(Ue||Ge)&&(Ye=n.createElement(i.default.Provider,{value:qe},Ye)),j&&(Ye=n.createElement(S.SizeContextProvider,{size:j},Ye)),Ye=n.createElement(O.default,null,Ye);const Je=n.useMemo((()=>{const e=We||{},{algorithm:t,token:r,components:n,cssVar:i}=e,a=E(e,["algorithm","token","components","cssVar"]),s=t&&(!Array.isArray(t)||t.length>0)?(0,o.createTheme)(t):p.defaultTheme,l={};Object.entries(n||{}).forEach((e=>{let[t,r]=e;const n=Object.assign({},r);"algorithm"in n&&(!0===n.algorithm?n.theme=s:(Array.isArray(n.algorithm)||"function"==typeof n.algorithm)&&(n.theme=(0,o.createTheme)(n.algorithm)),delete n.algorithm),l[t]=n}));const c=Object.assign(Object.assign({},h.default),r);return Object.assign(Object.assign({},a),{theme:s,token:c,components:l,override:Object.assign({override:c},l),cssVar:i})}),[We]);return $&&(Ye=n.createElement(p.DesignTokenContext.Provider,{value:Je},Ye)),Xe.warning&&(Ye=n.createElement(l.WarningContext.Provider,{value:Xe.warning},Ye)),void 0!==F&&(Ye=n.createElement(g.DisabledContextProvider,{disabled:F},Ye)),n.createElement(m.ConfigContext.Provider,{value:Xe},Ye)},I=e=>{const t=n.useContext(m.ConfigContext),r=n.useContext(f.default);return n.createElement(M,Object.assign({parentContext:t,legacyLocale:r},e))};I.ConfigContext=m.ConfigContext,I.SizeContext=S.default,I.config=e=>{const{prefixCls:t,iconPrefixCls:r,theme:n,holderRender:o}=e;void 0!==t&&(j=t),void 0!==r&&(C=r),"holderRender"in e&&(A=o),n&&(!function(e){return Object.keys(e).some((e=>e.endsWith("Color")))}(n)?k=n:(0,y.registerTheme)(D(),n))},I.useConfig=v.default,Object.defineProperty(I,"SizeContext",{get:()=>S.default});const N=I},84305:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.useResetIconStyle});var n=r(12641)},9674:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(18758),o=r(42115);const i={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},n.default),timePickerLocale:Object.assign({},o.default)}},47974:(e,t,r)=>{"use strict";r.r(t),r.d(t,{List:()=>a.List,default:()=>v,useForm:()=>p.default,useWatch:()=>a.useWatch});var n=r(36198),o=r(93967),i=r.n(o),a=r(6077),s=r(49134),l=r(98866),c=r(35792),u=r(98675),f=r(97647),d=r(65223),p=r(4584),h=(r(85694),r(64390)),m=r(37920),y=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{const r=n.useContext(l.default),{getPrefixCls:o,direction:g,form:v}=n.useContext(s.ConfigContext),{prefixCls:b,className:O,rootClassName:w,size:S,disabled:x=r,form:E,colon:_,labelAlign:P,labelWrap:T,labelCol:j,wrapperCol:C,hideRequiredMark:k,layout:A="horizontal",scrollToFirstError:D,requiredMark:L,onFinishFailed:R,name:M,style:I,feedbackIcons:N,variant:B}=e,$=y(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),F=(0,u.default)(S),z=n.useContext(m.default);const Q=(0,n.useMemo)((()=>void 0!==L?L:!k&&(!v||void 0===v.requiredMark||v.requiredMark)),[k,L,v]),V=null!=_?_:null==v?void 0:v.colon,U=o("form",b),G=(0,c.default)(U),[W,H,Z]=(0,h.default)(U,G),X=i()(U,`${U}-${A}`,{[`${U}-hide-required-mark`]:!1===Q,[`${U}-rtl`]:"rtl"===g,[`${U}-${F}`]:F},Z,G,H,null==v?void 0:v.className,O,w),[q]=(0,p.default)(E),{__INTERNAL__:Y}=q;Y.name=M;const K=(0,n.useMemo)((()=>({name:M,labelAlign:P,labelCol:j,labelWrap:T,wrapperCol:C,vertical:"vertical"===A,colon:V,requiredMark:Q,itemRef:Y.itemRef,form:q,feedbackIcons:N})),[M,P,j,C,A,V,Q,q,N]),J=n.useRef(null);n.useImperativeHandle(t,(()=>{var e;return Object.assign(Object.assign({},q),{nativeElement:null===(e=J.current)||void 0===e?void 0:e.nativeElement})}));const ee=(e,t)=>{if(e){let r={block:"nearest"};"object"==typeof e&&(r=Object.assign(Object.assign({},r),e)),q.scrollToField(t,r),r.focus&&q.focusField(t)}};return W(n.createElement(d.VariantContext.Provider,{value:B},n.createElement(l.DisabledContextProvider,{disabled:x},n.createElement(f.default.Provider,{value:F},n.createElement(d.FormProvider,{validateMessages:z},n.createElement(d.FormContext.Provider,{value:K},n.createElement(a.default,Object.assign({id:M},$,{name:M,onFinishFailed:e=>{if(null==R||R(e),e.errorFields.length){const t=e.errorFields[0].name;if(void 0!==D)return void ee(D,t);v&&void 0!==v.scrollToFirstError&&ee(v.scrollToFirstError,t)}},form:q,ref:J,style:Object.assign(Object.assign({},null==v?void 0:v.style),I),className:X}))))))))};const v=n.forwardRef(g)},65223:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FormContext:()=>a,FormItemInputContext:()=>u,FormItemPrefixContext:()=>c,FormProvider:()=>l,NoFormStyle:()=>f,NoStyleItemContext:()=>s,VariantContext:()=>d});var n=r(36198),o=r(6077),i=r(98423);const a=n.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),s=n.createContext(null),l=e=>{const t=(0,i.default)(e,["prefixCls"]);return n.createElement(o.FormProvider,Object.assign({},t))},c=n.createContext({prefixCls:""}),u=n.createContext({});const f=e=>{let{children:t,status:r,override:o}=e;const i=(0,n.useContext)(u),a=(0,n.useMemo)((()=>{const e=Object.assign({},i);return o&&delete e.isFormItemInput,r&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e}),[r,o,i]);return n.createElement(u.Provider,{value:a},t)},d=(0,n.createContext)(void 0)},4584:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var n=r(36198),o=r(6077),i=r(34203),a=r(18965),s=r(80993);function l(e){return(0,s.toArray)(e).join("_")}function c(e,t){const r=t.getFieldInstance(e),n=(0,i.getDOM)(r);if(n)return n;const o=(0,s.getFieldId)((0,s.toArray)(e),t.__INTERNAL__.name);return o?document.getElementById(o):void 0}function u(e){const[t]=(0,o.useForm)(),r=n.useRef({}),i=n.useMemo((()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{const n=l(e);t?r.current[n]=t:delete r.current[n]}},scrollToField:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=c(e,i);r&&(0,a.default)(r,Object.assign({scrollMode:"if-needed",block:"nearest"},t))},focusField:e=>{var t;const r=c(e,i);r&&(null===(t=r.focus)||void 0===t||t.call(r))},getFieldInstance:e=>{const t=l(e);return r.current[t]}})),[e,t]);return[i]}},71143:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(36198),o=r(65223);function i(){const{form:e}=(0,n.useContext)(o.FormContext);return e}},85694:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(36198),o=r(27288);const i={};function a(e){let{name:t}=e;(0,o.devUseWarning)("Form");(0,n.useEffect)((()=>{if(t)return i[t]=(i[t]||0)+1,()=>{i[t]-=1}}),[t])}},27833:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(36198),o=r(65223),i=r(49134);const a=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;var a,s;const{variant:l,[e]:c}=(0,n.useContext)(i.ConfigContext),u=(0,n.useContext)(o.VariantContext),f=null==c?void 0:c.variant;let d;d=void 0!==t?t:!1===r?"borderless":null!==(s=null!==(a=null!=u?u:f)&&void 0!==a?a:l)&&void 0!==s?s:"outlined";return[d,i.Variants.includes(d)]}},27040:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=e=>{const{componentCls:t}=e,r=`${t}-show-help-item`;return{[`${t}-show-help`]:{transition:`opacity ${e.motionDurationFast} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationFast} ${e.motionEaseInOut},\n opacity ${e.motionDurationFast} ${e.motionEaseInOut},\n transform ${e.motionDurationFast} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}}},64390:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>O,prepareComponentToken:()=>v,prepareToken:()=>b});var n=r(78419),o=r(14747),i=r(97229),a=r(12641),s=r(27040);const l=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,n.unit)(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),c=(e,t)=>{const{formItemCls:r}=e;return{[r]:{[`${r}-label > label`]:{height:t},[`${r}-control-input`]:{minHeight:t}}}},u=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,o.resetComponent)(e)),l(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},c(e,e.controlHeightSM)),"&-large":Object.assign({},c(e,e.controlHeightLG))})}},f=e=>{const{formItemCls:t,iconCls:r,componentCls:n,rootPrefixCls:a,antCls:s,labelRequiredMarkColor:l,labelColor:c,labelFontSize:u,labelHeight:f,labelColonMarginInlineStart:d,labelColonMarginInlineEnd:p,itemMarginBottom:h}=e;return{[t]:Object.assign(Object.assign({},(0,o.resetComponent)(e)),{marginBottom:h,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,\n &-hidden${s}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:f,color:c,fontSize:u,[`> ${r}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:l,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${n}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${n}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:d,marginInlineEnd:p},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${a}-col-'"]):not([class*="' ${a}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:i.zoomIn,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},d=(e,t)=>{const{formItemCls:r}=e;return{[`${t}-horizontal`]:{[`${r}-label`]:{flexGrow:0},[`${r}-control`]:{flex:"1 1 0",minWidth:0},[`${r}-label[class$='-24'], ${r}-label[class*='-24 ']`]:{[`& + ${r}-control`]:{minWidth:"unset"}}}}},p=e=>{const{componentCls:t,formItemCls:r,inlineItemMarginBottom:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[r]:{flex:"none",marginInlineEnd:e.margin,marginBottom:n,"&-row":{flexWrap:"nowrap"},[`> ${r}-label,\n > ${r}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${r}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${r}-has-feedback`]:{display:"inline-block"}}}}},h=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),m=e=>{const{componentCls:t,formItemCls:r,rootPrefixCls:n}=e;return{[`${r} ${r}-label`]:h(e),[`${t}:not(${t}-inline)`]:{[r]:{flexWrap:"wrap",[`${r}-label, ${r}-control`]:{[`&:not([class*=" ${n}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},y=e=>{const{componentCls:t,formItemCls:r,antCls:o}=e;return{[`${t}-vertical`]:{[`${r}:not(${r}-horizontal)`]:{[`${r}-row`]:{flexDirection:"column"},[`${r}-label > label`]:{height:"auto"},[`${r}-control`]:{width:"100%"},[`${r}-label,\n ${o}-col-24${r}-label,\n ${o}-col-xl-24${r}-label`]:h(e)}},[`@media (max-width: ${(0,n.unit)(e.screenXSMax)})`]:[m(e),{[t]:{[`${r}:not(${r}-horizontal)`]:{[`${o}-col-xs-24${r}-label`]:h(e)}}}],[`@media (max-width: ${(0,n.unit)(e.screenSMMax)})`]:{[t]:{[`${r}:not(${r}-horizontal)`]:{[`${o}-col-sm-24${r}-label`]:h(e)}}},[`@media (max-width: ${(0,n.unit)(e.screenMDMax)})`]:{[t]:{[`${r}:not(${r}-horizontal)`]:{[`${o}-col-md-24${r}-label`]:h(e)}}},[`@media (max-width: ${(0,n.unit)(e.screenLGMax)})`]:{[t]:{[`${r}:not(${r}-horizontal)`]:{[`${o}-col-lg-24${r}-label`]:h(e)}}}}},g=e=>{const{formItemCls:t,antCls:r}=e;return{[`${t}-vertical`]:{[`${t}-row`]:{flexDirection:"column"},[`${t}-label > label`]:{height:"auto"},[`${t}-control`]:{width:"100%"}},[`${t}-vertical ${t}-label,\n ${r}-col-24${t}-label,\n ${r}-col-xl-24${t}-label`]:h(e),[`@media (max-width: ${(0,n.unit)(e.screenXSMax)})`]:[m(e),{[t]:{[`${r}-col-xs-24${t}-label`]:h(e)}}],[`@media (max-width: ${(0,n.unit)(e.screenSMMax)})`]:{[t]:{[`${r}-col-sm-24${t}-label`]:h(e)}},[`@media (max-width: ${(0,n.unit)(e.screenMDMax)})`]:{[t]:{[`${r}-col-md-24${t}-label`]:h(e)}},[`@media (max-width: ${(0,n.unit)(e.screenLGMax)})`]:{[t]:{[`${r}-col-lg-24${t}-label`]:h(e)}}}},v=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),b=(e,t)=>(0,a.mergeToken)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),O=(0,a.genStyleHooks)("Form",((e,t)=>{let{rootPrefixCls:r}=t;const n=b(e,r);return[u(n),f(n),(0,s.default)(n),d(n,n.componentCls),d(n,n.formItemCls),p(n),y(n),g(n),(0,i.genCollapseMotion)(n),i.zoomIn]}),v,{order:-1e3})},80993:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getFieldId:()=>a,getStatus:()=>s,toArray:()=>i});const n=["parentNode"],o="form_item";function i(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function a(e,t){if(!e.length)return;const r=e.join("_");if(t)return`${t}_${r}`;return n.includes(r)?`${o}_${r}`:r}function s(e,t,r,n,o,i){let a=n;return void 0!==i?a=i:r.validating?a="validating":e.length?a="error":t.length?a="warning":(r.touched||o&&r.validated)&&(a="success"),a}},37920:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=(0,r(36198).createContext)(void 0)},77749:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>x,triggerFocus:()=>s.triggerFocus});var n=r(36198),o=r(93967),i=r.n(o),a=r(10584),s=r(87887),l=r(42550),c=r(89942),u=r(78290),f=r(9708),d=(r(27288),r(49134)),p=r(98866),h=r(35792),m=r(98675),y=r(65223),g=r(27833),v=r(4173),b=r(72922),O=r(47673),w=r(57737),S=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{var r;const{prefixCls:o,bordered:s=!0,status:x,size:E,disabled:_,onBlur:P,onFocus:T,suffix:j,allowClear:C,addonAfter:k,addonBefore:A,className:D,style:L,styles:R,rootClassName:M,onChange:I,classNames:N,variant:B}=e,$=S(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]);const{getPrefixCls:F,direction:z,input:Q}=n.useContext(d.ConfigContext),V=F("input",o),U=(0,n.useRef)(null),G=(0,h.default)(V),[W,H,Z]=(0,O.default)(V,G),{compactSize:X,compactItemClassnames:q}=(0,v.useCompactItemContext)(V,z),Y=(0,m.default)((e=>{var t;return null!==(t=null!=E?E:X)&&void 0!==t?t:e})),K=n.useContext(p.default),J=null!=_?_:K,{status:ee,hasFeedback:te,feedbackIcon:re}=(0,n.useContext)(y.FormItemInputContext),ne=(0,f.getMergedStatus)(ee,x),oe=(0,w.hasPrefixSuffix)(e)||!!te;(0,n.useRef)(oe);const ie=(0,b.default)(U,!0),ae=(te||j)&&n.createElement(n.Fragment,null,j,te&&re),se=(0,u.default)(null!=C?C:null==Q?void 0:Q.allowClear),[le,ce]=(0,g.default)("input",B,s);return W(n.createElement(a.default,Object.assign({ref:(0,l.composeRef)(t,U),prefixCls:V,autoComplete:null==Q?void 0:Q.autoComplete},$,{disabled:J,onBlur:e=>{ie(),null==P||P(e)},onFocus:e=>{ie(),null==T||T(e)},style:Object.assign(Object.assign({},null==Q?void 0:Q.style),L),styles:Object.assign(Object.assign({},null==Q?void 0:Q.styles),R),suffix:ae,allowClear:se,className:i()(D,M,Z,G,q,null==Q?void 0:Q.className),onChange:e=>{ie(),null==I||I(e)},addonBefore:A&&n.createElement(c.default,{form:!0,space:!0},A),addonAfter:k&&n.createElement(c.default,{form:!0,space:!0},k),classNames:Object.assign(Object.assign(Object.assign({},N),null==Q?void 0:Q.classNames),{input:i()({[`${V}-sm`]:"small"===Y,[`${V}-lg`]:"large"===Y,[`${V}-rtl`]:"rtl"===z},null==N?void 0:N.input,null===(r=null==Q?void 0:Q.classNames)||void 0===r?void 0:r.input,H),variant:i()({[`${V}-${le}`]:ce},(0,f.getStatusClassNames)(V,ne)),affixWrapper:i()({[`${V}-affix-wrapper-sm`]:"small"===Y,[`${V}-affix-wrapper-lg`]:"large"===Y,[`${V}-affix-wrapper-rtl`]:"rtl"===z},H),wrapper:i()({[`${V}-group-rtl`]:"rtl"===z},H),groupWrapper:i()({[`${V}-group-wrapper-sm`]:"small"===Y,[`${V}-group-wrapper-lg`]:"large"===Y,[`${V}-group-wrapper-rtl`]:"rtl"===z,[`${V}-group-wrapper-${le}`]:ce},(0,f.getStatusClassNames)(`${V}-group-wrapper`,ne,te),H)})})))}))},53988:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m});var n=r(36198),o=r(40110),i=r(93967),a=r.n(i),s=r(42550),l=r(96159),c=r(71577),u=r(49134),f=r(98675),d=r(4173),p=r(77749),h=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{const{prefixCls:r,inputPrefixCls:i,className:m,size:y,suffix:g,enterButton:v=!1,addonAfter:b,loading:O,disabled:w,onSearch:S,onChange:x,onCompositionStart:E,onCompositionEnd:_}=e,P=h(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:T,direction:j}=n.useContext(u.ConfigContext),C=n.useRef(!1),k=T("input-search",r),A=T("input",i),{compactSize:D}=(0,d.useCompactItemContext)(k,j),L=(0,f.default)((e=>{var t;return null!==(t=null!=y?y:D)&&void 0!==t?t:e})),R=n.useRef(null),M=e=>{var t;document.activeElement===(null===(t=R.current)||void 0===t?void 0:t.input)&&e.preventDefault()},I=e=>{var t,r;S&&S(null===(r=null===(t=R.current)||void 0===t?void 0:t.input)||void 0===r?void 0:r.value,e,{source:"input"})},N="boolean"==typeof v?n.createElement(o.default,null):null,B=`${k}-button`;let $;const F=v||{},z=F.type&&!0===F.type.__ANT_BUTTON;$=z||"button"===F.type?(0,l.cloneElement)(F,Object.assign({onMouseDown:M,onClick:e=>{var t,r;null===(r=null===(t=null==F?void 0:F.props)||void 0===t?void 0:t.onClick)||void 0===r||r.call(t,e),I(e)},key:"enterButton"},z?{className:B,size:L}:{})):n.createElement(c.default,{className:B,type:v?"primary":void 0,size:L,disabled:w,key:"enterButton",onMouseDown:M,onClick:I,loading:O,icon:N},v),b&&($=[$,(0,l.cloneElement)(b,{key:"addonAfter"})]);const Q=a()(k,{[`${k}-rtl`]:"rtl"===j,[`${k}-${L}`]:!!L,[`${k}-with-button`]:!!v},m);return n.createElement(p.default,Object.assign({ref:(0,s.composeRef)(R,t),onPressEnter:e=>{C.current||O||I(e)}},P,{size:L,onCompositionStart:e=>{C.current=!0,null==E||E(e)},onCompositionEnd:e=>{C.current=!1,null==_||_(e)},prefixCls:A,addonAfter:$,suffix:g,onChange:e=>{(null==e?void 0:e.target)&&"click"===e.type&&S&&S(e.target.value,e,{source:"clear"}),null==x||x(e)},className:Q,disabled:w}))}))},96330:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(36198),o=r(93967),i=r.n(o),a=r(11682),s=r(78290),l=r(9708),c=(r(27288),r(49134)),u=r(98866),f=r(35792),d=r(98675),p=r(65223),h=r(27833),m=r(77749),y=r(47673),g=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{var r,o;const{prefixCls:v,bordered:b=!0,size:O,disabled:w,status:S,allowClear:x,classNames:E,rootClassName:_,className:P,style:T,styles:j,variant:C}=e,k=g(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]);const{getPrefixCls:A,direction:D,textArea:L}=n.useContext(c.ConfigContext),R=(0,d.default)(O),M=n.useContext(u.default),I=null!=w?w:M,{status:N,hasFeedback:B,feedbackIcon:$}=n.useContext(p.FormItemInputContext),F=(0,l.getMergedStatus)(N,S),z=n.useRef(null);n.useImperativeHandle(t,(()=>{var e;return{resizableTextArea:null===(e=z.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,r;(0,m.triggerFocus)(null===(r=null===(t=z.current)||void 0===t?void 0:t.resizableTextArea)||void 0===r?void 0:r.textArea,e)},blur:()=>{var e;return null===(e=z.current)||void 0===e?void 0:e.blur()}}}));const Q=A("input",v),V=(0,f.default)(Q),[U,G,W]=(0,y.default)(Q,V),[H,Z]=(0,h.default)("textArea",C,b),X=(0,s.default)(null!=x?x:null==L?void 0:L.allowClear);return U(n.createElement(a.default,Object.assign({autoComplete:null==L?void 0:L.autoComplete},k,{style:Object.assign(Object.assign({},null==L?void 0:L.style),T),styles:Object.assign(Object.assign({},null==L?void 0:L.styles),j),disabled:I,allowClear:X,className:i()(W,V,P,_,null==L?void 0:L.className),classNames:Object.assign(Object.assign(Object.assign({},E),null==L?void 0:L.classNames),{textarea:i()({[`${Q}-sm`]:"small"===R,[`${Q}-lg`]:"large"===R},G,null==E?void 0:E.textarea,null===(r=null==L?void 0:L.classNames)||void 0===r?void 0:r.textarea),variant:i()({[`${Q}-${H}`]:Z},(0,l.getStatusClassNames)(Q,F)),affixWrapper:i()(`${Q}-textarea-affix-wrapper`,{[`${Q}-affix-wrapper-rtl`]:"rtl"===D,[`${Q}-affix-wrapper-sm`]:"small"===R,[`${Q}-affix-wrapper-lg`]:"large"===R,[`${Q}-textarea-show-count`]:e.showCount||(null===(o=e.count)||void 0===o?void 0:o.show)},G)}),prefixCls:Q,suffix:B&&n.createElement("span",{className:`${Q}-textarea-suffix`},$),ref:z})))}))},72922:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(36198);function o(e,t){const r=(0,n.useRef)([]),o=()=>{r.current.push(setTimeout((()=>{var t,r,n,o;(null===(t=e.current)||void 0===t?void 0:t.input)&&"password"===(null===(r=e.current)||void 0===r?void 0:r.input.getAttribute("type"))&&(null===(n=e.current)||void 0===n?void 0:n.input.hasAttribute("value"))&&(null===(o=e.current)||void 0===o||o.input.removeAttribute("value"))})))};return(0,n.useEffect)((()=>(t&&o(),()=>r.current.forEach((e=>{e&&clearTimeout(e)})))),[]),o}},47673:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>S,genActiveStyle:()=>u,genBasicInputStyle:()=>p,genInputGroupStyle:()=>h,genInputSmallStyle:()=>d,genPlaceholderStyle:()=>c,initComponentToken:()=>s.initComponentToken,initInputToken:()=>s.initInputToken});var n=r(78419),o=r(14747),i=r(80110),a=r(12641),s=r(20353),l=r(93900);const c=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),u=e=>({borderColor:e.activeBorderColor,boxShadow:e.activeShadow,outline:0,backgroundColor:e.activeBg}),f=e=>{const{paddingBlockLG:t,lineHeightLG:r,borderRadiusLG:o,paddingInlineLG:i}=e;return{padding:`${(0,n.unit)(t)} ${(0,n.unit)(i)}`,fontSize:e.inputFontSizeLG,lineHeight:r,borderRadius:o}},d=e=>({padding:`${(0,n.unit)(e.paddingBlockSM)} ${(0,n.unit)(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),p=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,n.unit)(e.paddingBlock)} ${(0,n.unit)(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},c(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},f(e)),"&-sm":Object.assign({},d(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),h=e=>{const{componentCls:t,antCls:r}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},f(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},d(e)),[`&-lg ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,n.unit)(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${r}-select`]:{margin:`${(0,n.unit)(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${(0,n.unit)(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${r}-select-single:not(${r}-select-customize-input):not(${r}-pagination-size-changer)`]:{[`${r}-select-selector`]:{backgroundColor:"inherit",border:`${(0,n.unit)(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${r}-cascader-picker`]:{margin:`-9px ${(0,n.unit)(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${r}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,o.clearFix)()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`\n & > ${t}-affix-wrapper,\n & > ${t}-number-affix-wrapper,\n & > ${r}-picker-range\n `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${r}-select > ${r}-select-selector,\n & > ${r}-select-auto-complete ${t},\n & > ${r}-cascader-picker ${t},\n & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${r}-select-focused`]:{zIndex:1},[`& > ${r}-select > ${r}-select-arrow`]:{zIndex:1},[`& > *:first-child,\n & > ${r}-select:first-child > ${r}-select-selector,\n & > ${r}-select-auto-complete:first-child ${t},\n & > ${r}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,\n & > ${r}-select:last-child > ${r}-select-selector,\n & > ${r}-cascader-picker:last-child ${t},\n & > ${r}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${r}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},m=e=>{const{componentCls:t,controlHeightSM:r,lineWidth:n,calc:i}=e,a=i(r).sub(i(n).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,o.resetComponent)(e)),p(e)),(0,l.genOutlinedStyle)(e)),(0,l.genFilledStyle)(e)),(0,l.genBorderlessStyle)(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:r,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},y=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,n.unit)(e.inputAffixPadding)}`}}}},g=e=>{const{componentCls:t,inputAffixPadding:r,colorTextDescription:n,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:s}=e,l=`${t}-affix-wrapper-disabled`;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign({},p(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:n},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:r},"&-suffix":{marginInlineStart:r}}}),y(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}}),[l]:{[`${s}${t}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},v=e=>{const{componentCls:t,borderRadiusLG:r,borderRadiusSM:n}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},(0,o.resetComponent)(e)),h(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:r,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:n}}},(0,l.genOutlinedGroupStyle)(e)),(0,l.genFilledGroupStyle)(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},b=e=>{const{componentCls:t,antCls:r}=e,n=`${t}-search`;return{[n]:{[t]:{"&:hover, &:focus":{[`+ ${t}-group-addon ${n}-button:not(${r}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{height:e.controlHeight,borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${n}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${n}-button:not(${r}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${r}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${n}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${t}-affix-wrapper, ${n}-button`]:{height:e.controlHeightLG}},"&-small":{[`${t}-affix-wrapper, ${n}-button`]:{height:e.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,\n > ${t},\n ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},O=e=>{const{componentCls:t,paddingLG:r}=e,n=`${t}-textarea`;return{[n]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`\n &-allow-clear > ${t},\n &-affix-wrapper${n}-has-feedback ${t}\n `]:{paddingInlineEnd:r},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},w=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},S=(0,a.genStyleHooks)("Input",(e=>{const t=(0,a.mergeToken)(e,(0,s.initInputToken)(e));return[m(t),O(t),g(t),v(t),b(t),w(t),(0,i.genCompactItemStyle)(t)]}),s.initComponentToken,{resetFont:!1})},20353:(e,t,r)=>{"use strict";r.r(t),r.d(t,{initComponentToken:()=>i,initInputToken:()=>o});var n=r(12641);function o(e){return(0,n.mergeToken)(e,{inputAffixPadding:e.paddingXXS})}const i=e=>{const{controlHeight:t,fontSize:r,lineHeight:n,lineWidth:o,controlHeightSM:i,controlHeightLG:a,fontSizeLG:s,lineHeightLG:l,paddingSM:c,controlPaddingHorizontalSM:u,controlPaddingHorizontal:f,colorFillAlter:d,colorPrimaryHover:p,colorPrimary:h,controlOutlineWidth:m,controlOutline:y,colorErrorOutline:g,colorWarningOutline:v,colorBgContainer:b}=e;return{paddingBlock:Math.max(Math.round((t-r*n)/2*10)/10-o,0),paddingBlockSM:Math.max(Math.round((i-r*n)/2*10)/10-o,0),paddingBlockLG:Math.ceil((a-s*l)/2*10)/10-o,paddingInline:c-o,paddingInlineSM:u-o,paddingInlineLG:f-o,addonBg:d,activeBorderColor:h,hoverBorderColor:p,activeShadow:`0 0 0 ${m}px ${y}`,errorActiveShadow:`0 0 0 ${m}px ${g}`,warningActiveShadow:`0 0 0 ${m}px ${v}`,hoverBg:b,activeBg:b,inputFontSize:r,inputFontSizeLG:s,inputFontSizeSM:r}}},93900:(e,t,r)=>{"use strict";r.r(t),r.d(t,{genBaseOutlinedStyle:()=>s,genBorderlessStyle:()=>d,genDisabledStyle:()=>a,genFilledGroupStyle:()=>g,genFilledStyle:()=>m,genHoverStyle:()=>i,genOutlinedGroupStyle:()=>f,genOutlinedStyle:()=>c});var n=r(78419),o=r(12641);const i=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),a=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},i((0,o.mergeToken)(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),s=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),l=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},s(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),c=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},s(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},a(e))}),l(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),l(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),u=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),f=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},u(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),u(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},a(e))}})}),d=(e,t)=>{const{componentCls:r}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${r}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${r}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${r}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},p=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:null==t?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),h=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},p(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),m=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},p(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},a(e))}),h(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),h(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),y=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),g=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},y(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),y(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})})},57737:(e,t,r)=>{"use strict";function n(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}r.r(t),r.d(t,{hasPrefixSuffix:()=>n})},76745:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=(0,r(36198).createContext)(void 0)},40378:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(62906),o=r(74228),i=r(9674),a=r(42115);const s="${label} is not a valid ${type}",l={locale:"en",Pagination:n.default,DatePicker:i.default,TimePicker:a.default,Calendar:o.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}}},94634:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ANT_MARK:()=>s,default:()=>l,useLocale:()=>a.default});var n=r(36198),o=(r(27288),r(83008)),i=r(76745),a=r(10110);const s="internalMark";const l=e=>{const{locale:t={},children:r,_ANT_MARK__:a}=e;n.useEffect((()=>(0,o.changeConfirmLocale)(null==t?void 0:t.Modal)),[t]);const s=n.useMemo((()=>Object.assign(Object.assign({},t),{exist:!0})),[t]);return n.createElement(i.default.Provider,{value:s},r)}},10110:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(36198),o=r(76745),i=r(40378);const a=(e,t)=>{const r=n.useContext(o.default);return[n.useMemo((()=>{var n;const o=t||i.default[e],a=null!==(n=null==r?void 0:r[e])&&void 0!==n?n:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),a||{})}),[e,t,r]),n.useMemo((()=>{const e=null==r?void 0:r.locale;return(null==r?void 0:r.exist)&&!e?i.default.locale:e}),[r])]}},83008:(e,t,r)=>{"use strict";r.r(t),r.d(t,{changeConfirmLocale:()=>s,getConfirmLocale:()=>l});var n=r(40378);let o=Object.assign({},n.default.Modal),i=[];const a=()=>i.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),n.default.Modal);function s(e){if(e){const t=Object.assign({},e);return i.push(t),o=a(),()=>{i=i.filter((e=>e!==t)),o=a()}}o=Object.assign({},n.default.Modal)}function l(){return o}},33091:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(36198),o=r(93967),i=r.n(o),a=r(64528),s=r(94199),l=r(14870);const c=e=>{const{prefixCls:t,trailColor:r=null,strokeLinecap:o="round",gapPosition:c,gapDegree:u,width:f=120,type:d,children:p,success:h,size:m=f,steps:y}=e,[g,v]=(0,l.getSize)(m,"circle");let{strokeWidth:b}=e;void 0===b&&(b=Math.max((e=>3/e*100)(g),6));const O={width:g,height:v,fontSize:.15*g+6},w=n.useMemo((()=>u||0===u?u:"dashboard"===d?75:void 0),[u,d]),S=(0,l.getPercentage)(e),x=c||"dashboard"===d&&"bottom"||void 0,E="[object Object]"===Object.prototype.toString.call(e.strokeColor),_=(0,l.getStrokeColor)({success:h,strokeColor:e.strokeColor}),P=i()(`${t}-inner`,{[`${t}-circle-gradient`]:E}),T=n.createElement(a.Circle,{steps:y,percent:y?S[1]:S,strokeWidth:b,trailWidth:b,strokeColor:y?_[1]:_,strokeLinecap:o,trailColor:r,prefixCls:t,gapDegree:w,gapPosition:x}),j=g<=20,C=n.createElement("div",{className:P,style:O},T,!j&&p);return j?n.createElement(s.default,{title:p},C):C}},24955:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d,handleGradient:()=>f,sortGradient:()=>u});var n=r(36198),o=r(11305),i=r(93967),a=r.n(i),s=(r(27288),r(34669)),l=r(14870),c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{let t=[];return Object.keys(e).forEach((r=>{const n=parseFloat(r.replace(/%/g,""));isNaN(n)||t.push({key:n,value:e[r]})})),t=t.sort(((e,t)=>e.key-t.key)),t.map((e=>{let{key:t,value:r}=e;return`${r} ${t}%`})).join(", ")},f=(e,t)=>{const{from:r=o.presetPrimaryColors.blue,to:n=o.presetPrimaryColors.blue,direction:i=("rtl"===t?"to left":"to right")}=e,a=c(e,["from","to","direction"]);if(0!==Object.keys(a).length){const e=`linear-gradient(${i}, ${u(a)})`;return{background:e,[s.LineStrokeColorVar]:e}}const l=`linear-gradient(${i}, ${r}, ${n})`;return{background:l,[s.LineStrokeColorVar]:l}},d=e=>{const{prefixCls:t,direction:r,percent:o,size:i,strokeWidth:c,strokeColor:u,strokeLinecap:d="round",children:p,trailColor:h=null,percentPosition:m,success:y}=e,{align:g,type:v}=m,b=u&&"string"!=typeof u?f(u,r):{[s.LineStrokeColorVar]:u,background:u},O="square"===d||"butt"===d?0:void 0,w=null!=i?i:[-1,c||("small"===i?6:8)],[S,x]=(0,l.getSize)(w,"line",{strokeWidth:c});const E={backgroundColor:h||void 0,borderRadius:O},_=Object.assign(Object.assign({width:`${(0,l.validProgress)(o)}%`,height:x,borderRadius:O},b),{[s.Percent]:(0,l.validProgress)(o)/100}),P=(0,l.getSuccessPercent)(e),T={width:`${(0,l.validProgress)(P)}%`,height:x,borderRadius:O,backgroundColor:null==y?void 0:y.strokeColor},j={width:S<0?"100%":S},C=n.createElement("div",{className:`${t}-inner`,style:E},n.createElement("div",{className:a()(`${t}-bg`,`${t}-bg-${v}`),style:_},"inner"===v&&p),void 0!==P&&n.createElement("div",{className:`${t}-success-bg`,style:T})),k="outer"===v&&"start"===g,A="outer"===v&&"end"===g;return"outer"===v&&"center"===g?n.createElement("div",{className:`${t}-layout-bottom`},C,p):n.createElement("div",{className:`${t}-outer`,style:j},k&&p,C,A&&p)}},62817:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(36198),o=r(93967),i=r.n(o),a=r(14870);const s=e=>{const{size:t,steps:r,percent:o=0,strokeWidth:s=8,strokeColor:l,trailColor:c=null,prefixCls:u,children:f}=e,d=Math.round(r*(o/100)),p=null!=t?t:["small"===t?2:14,s],[h,m]=(0,a.getSize)(p,"step",{steps:r,strokeWidth:s}),y=h/r,g=new Array(r);for(let e=0;e{"use strict";r.r(t),r.d(t,{default:()=>n});const n=r(7293).default},7293:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ProgressTypes:()=>b,default:()=>w});var n=r(36198),o=r(50675),i=r(88284),a=r(8913),s=r(28508),l=r(41191),c=r(93967),u=r.n(c),f=r(98423),d=(r(27288),r(49134)),p=r(33091),h=r(24955),m=r(62817),y=r(34669),g=r(14870),v=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{const{prefixCls:r,className:c,rootClassName:b,steps:w,strokeColor:S,percent:x=0,size:E="default",showInfo:_=!0,type:P="line",status:T,format:j,style:C,percentPosition:k={}}=e,A=v(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:D="end",type:L="outer"}=k,R=Array.isArray(S)?S[0]:S,M="string"==typeof S||Array.isArray(S)?S:void 0,I=n.useMemo((()=>{if(R){const e="string"==typeof R?R:Object.values(R)[0];return new l.TinyColor(e).isLight()}return!1}),[S]),N=n.useMemo((()=>{var t,r;const n=(0,g.getSuccessPercent)(e);return parseInt(void 0!==n?null===(t=null!=n?n:0)||void 0===t?void 0:t.toString():null===(r=null!=x?x:0)||void 0===r?void 0:r.toString(),10)}),[x,e.success,e.successPercent]),B=n.useMemo((()=>!O.includes(T)&&N>=100?"success":T||"normal"),[T,N]),{getPrefixCls:$,direction:F,progress:z}=n.useContext(d.ConfigContext),Q=$("progress",r),[V,U,G]=(0,y.default)(Q),W="line"===P,H=W&&!w,Z=n.useMemo((()=>{if(!_)return null;const t=(0,g.getSuccessPercent)(e);let r;const l=W&&I&&"inner"===L;return"inner"===L||j||"exception"!==B&&"success"!==B?r=(j||(e=>`${e}%`))((0,g.validProgress)(x),(0,g.validProgress)(t)):"exception"===B?r=W?n.createElement(a.default,null):n.createElement(s.default,null):"success"===B&&(r=W?n.createElement(o.default,null):n.createElement(i.default,null)),n.createElement("span",{className:u()(`${Q}-text`,{[`${Q}-text-bright`]:l,[`${Q}-text-${D}`]:H,[`${Q}-text-${L}`]:H}),title:"string"==typeof r?r:void 0},r)}),[_,x,N,B,P,Q,j]);let X;"line"===P?X=w?n.createElement(m.default,Object.assign({},e,{strokeColor:M,prefixCls:Q,steps:"object"==typeof w?w.count:w}),Z):n.createElement(h.default,Object.assign({},e,{strokeColor:R,prefixCls:Q,direction:F,percentPosition:{align:D,type:L}}),Z):"circle"!==P&&"dashboard"!==P||(X=n.createElement(p.default,Object.assign({},e,{strokeColor:R,prefixCls:Q,progressStatus:B}),Z));const q=u()(Q,`${Q}-status-${B}`,{[`${Q}-${"dashboard"===P?"circle":P}`]:"line"!==P,[`${Q}-inline-circle`]:"circle"===P&&(0,g.getSize)(E,"circle")[0]<=20,[`${Q}-line`]:H,[`${Q}-line-align-${D}`]:H,[`${Q}-line-position-${L}`]:H,[`${Q}-steps`]:w,[`${Q}-show-info`]:_,[`${Q}-${E}`]:"string"==typeof E,[`${Q}-rtl`]:"rtl"===F},null==z?void 0:z.className,c,b,U,G);return V(n.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},null==z?void 0:z.style),C),className:q,role:"progressbar","aria-valuenow":N,"aria-valuemin":0,"aria-valuemax":100},(0,f.default)(A,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),X))}))},34669:(e,t,r)=>{"use strict";r.r(t),r.d(t,{LineStrokeColorVar:()=>a,Percent:()=>s,default:()=>h,prepareComponentToken:()=>p});var n=r(78419),o=r(14747),i=r(12641);const a="--progress-line-stroke-color",s="--progress-percent",l=e=>{const t=e?"100%":"-100%";return new n.Keyframes(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},c=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},(0,o.resetComponent)(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},[`${t}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${t}-text`]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${a})`]},height:"100%",width:`calc(1 / var(${s}) * 100%)`,display:"block"},[`&${t}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${t}-text-inner`]:{color:e.colorWhite,[`&${t}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[r]:{fontSize:e.fontSize},[`&${t}-text-outer`]:{width:"max-content"},[`&${t}-text-outer${t}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},[`${t}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,n.unit)(e.paddingXXS)}`,[`&${t}-text-start`]:{justifyContent:"start"},[`&${t}-text-end`]:{justifyContent:"end"}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:l(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:l(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},u=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[r]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},f=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},d=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${r}`]:{fontSize:e.fontSizeSM}}}},p=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:e.fontSize/e.fontSizeSM+"em"}),h=(0,i.genStyleHooks)("Progress",(e=>{const t=e.calc(e.marginXXS).div(2).equal(),r=(0,i.mergeToken)(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[c(r),u(r),f(r),d(r)]}),p)},14870:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getPercentage:()=>a,getSize:()=>l,getStrokeColor:()=>s,getSuccessPercent:()=>i,validProgress:()=>o});var n=r(11305);function o(e){return!e||e<0?0:e>100?100:e}function i(e){let{success:t,successPercent:r}=e,n=r;return t&&"progress"in t&&(n=t.progress),t&&"percent"in t&&(n=t.percent),n}const a=e=>{let{percent:t,success:r,successPercent:n}=e;const a=o(i({success:r,successPercent:n}));return[a,o(o(t)-a)]},s=e=>{let{success:t={},strokeColor:r}=e;const{strokeColor:o}=t;return[o||n.presetPrimaryColors.green,r||null]},l=(e,t,r)=>{var n,o,i,a;let s=-1,l=-1;if("step"===t){const t=r.steps,n=r.strokeWidth;"string"==typeof e||void 0===e?(s="small"===e?2:14,l=null!=n?n:8):"number"==typeof e?[s,l]=[e,e]:[s=14,l=8]=Array.isArray(e)?e:[e.width,e.height],s*=t}else if("line"===t){const t=null==r?void 0:r.strokeWidth;"string"==typeof e||void 0===e?l=t||("small"===e?6:8):"number"==typeof e?[s,l]=[e,e]:[s=-1,l=8]=Array.isArray(e)?e:[e.width,e.height]}else"circle"!==t&&"dashboard"!==t||("string"==typeof e||void 0===e?[s,l]="small"===e?[60,60]:[120,120]:"number"==typeof e?[s,l]=[e,e]:Array.isArray(e)&&(s=null!==(o=null!==(n=e[0])&&void 0!==n?n:e[1])&&void 0!==o?o:120,l=null!==(a=null!==(i=e[0])&&void 0!==i?i:e[1])&&void 0!==a?a:120));return[s,l]}},4173:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NoCompactStyle:()=>p,SpaceCompactItemContext:()=>f,default:()=>m,useCompactItemContext:()=>d});var n=r(36198),o=r(93967),i=r.n(o),a=r(50344),s=r(49134),l=r(98675),c=r(49111),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{const r=n.useContext(f),o=n.useMemo((()=>{if(!r)return"";const{compactDirection:n,isFirstItem:o,isLastItem:a}=r,s="vertical"===n?"-vertical-":"-";return i()(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:o,[`${e}-compact${s}last-item`]:a,[`${e}-compact${s}item-rtl`]:"rtl"===t})}),[e,t,r]);return{compactSize:null==r?void 0:r.compactSize,compactDirection:null==r?void 0:r.compactDirection,compactItemClassnames:o}},p=e=>{let{children:t}=e;return n.createElement(f.Provider,{value:null},t)},h=e=>{var{children:t}=e,r=u(e,["children"]);return n.createElement(f.Provider,{value:r},t)},m=e=>{const{getPrefixCls:t,direction:r}=n.useContext(s.ConfigContext),{size:o,direction:d,block:p,prefixCls:m,className:y,rootClassName:g,children:v}=e,b=u(e,["size","direction","block","prefixCls","className","rootClassName","children"]),O=(0,l.default)((e=>null!=o?o:e)),w=t("space-compact",m),[S,x]=(0,c.default)(w),E=i()(w,x,{[`${w}-rtl`]:"rtl"===r,[`${w}-block`]:p,[`${w}-vertical`]:"vertical"===d},y,g),_=n.useContext(f),P=(0,a.default)(v),T=n.useMemo((()=>P.map(((e,t)=>{const r=(null==e?void 0:e.key)||`${w}-item-${t}`;return n.createElement(h,{key:r,compactSize:O,compactDirection:d,isFirstItem:0===t&&(!_||(null==_?void 0:_.isFirstItem)),isLastItem:t===P.length-1&&(!_||(null==_?void 0:_.isLastItem))},e)}))),[o,P,_]);return 0===P.length?null:S(n.createElement("div",Object.assign({className:E},b),T))}},66564:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}}},49111:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,prepareComponentToken:()=>s});var n=r(12641),o=r(66564);const i=e=>{const{componentCls:t,antCls:r}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${r}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},a=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},s=()=>({}),l=(0,n.genStyleHooks)("Space",(e=>{const t=(0,n.mergeToken)(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[i(t),a(t),(0,o.default)(t)]}),(()=>({})),{resetStyle:!1})},54228:(e,t,r)=>{"use strict";function n(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function o(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},n(e,t)),(r=e.componentCls,o=t,{[`&-item:not(${o}-first-item):not(${o}-last-item)`]:{borderRadius:0},[`&-item${o}-first-item:not(${o}-last-item)`]:{[`&, &${r}-sm, &${r}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${o}-last-item:not(${o}-first-item)`]:{[`&, &${r}-sm, &${r}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))};var r,o}r.r(t),r.d(t,{genCompactItemVerticalStyle:()=>o})},80110:(e,t,r)=>{"use strict";function n(e,t,r){const{focusElCls:n,focus:o,borderElCls:i}=r,a=i?"> *":"",s=["hover",o?"focus":null,"active"].filter(Boolean).map((e=>`&:${e} ${a}`)).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},n?{[`&${n}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function o(e,t,r){const{borderElCls:n}=r,o=n?`> ${n}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0};const{componentCls:r}=e,i=`${r}-compact`;return{[i]:Object.assign(Object.assign({},n(e,i,t)),o(r,i,t))}}r.r(t),r.d(t,{genCompactItemStyle:()=>i})},14747:(e,t,r)=>{"use strict";r.r(t),r.d(t,{clearFix:()=>s,genCommonStyle:()=>c,genFocusOutline:()=>u,genFocusStyle:()=>f,genLinkStyle:()=>l,operationUnit:()=>d,resetComponent:()=>i,resetIcon:()=>a,textEllipsis:()=>o});var n=r(78419);const o={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},a=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),s=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),l=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),c=(e,t,r,n)=>{const o=`[class^="${t}"], [class*=" ${t}"]`,i=r?`.${r}`:o,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return!1!==n&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},s),a),{[o]:a})}},u=e=>({outline:`${(0,n.unit)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),f=e=>({"&:focus-visible":Object.assign({},u(e))}),d=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},f(e)),{"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}})},33507:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},16932:(e,t,r)=>{"use strict";r.r(t),r.d(t,{fadeIn:()=>i,fadeOut:()=>a,initFadeMotion:()=>s});var n=r(78419),o=r(93590);const i=new n.Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),a=new n.Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),s=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{antCls:r}=e,n=`${r}-fade`,s=t?"&":"";return[(0,o.initMotion)(n,i,a,e.motionDurationMid,t),{[`\n ${s}${n}-enter,\n ${s}${n}-appear\n `]:{opacity:0,animationTimingFunction:"linear"},[`${s}${n}-leave`]:{animationTimingFunction:"linear"}}]}},97229:(e,t,r)=>{"use strict";r.r(t),r.d(t,{fadeIn:()=>o.fadeIn,fadeOut:()=>o.fadeOut,genCollapseMotion:()=>n.default,initFadeMotion:()=>o.initFadeMotion,initMoveMotion:()=>i.initMoveMotion,initSlideMotion:()=>a.initSlideMotion,initZoomMotion:()=>s.initZoomMotion,moveDownIn:()=>i.moveDownIn,moveDownOut:()=>i.moveDownOut,moveLeftIn:()=>i.moveLeftIn,moveLeftOut:()=>i.moveLeftOut,moveRightIn:()=>i.moveRightIn,moveRightOut:()=>i.moveRightOut,moveUpIn:()=>i.moveUpIn,moveUpOut:()=>i.moveUpOut,slideDownIn:()=>a.slideDownIn,slideDownOut:()=>a.slideDownOut,slideLeftIn:()=>a.slideLeftIn,slideLeftOut:()=>a.slideLeftOut,slideRightIn:()=>a.slideRightIn,slideRightOut:()=>a.slideRightOut,slideUpIn:()=>a.slideUpIn,slideUpOut:()=>a.slideUpOut,zoomBigIn:()=>s.zoomBigIn,zoomBigOut:()=>s.zoomBigOut,zoomDownIn:()=>s.zoomDownIn,zoomDownOut:()=>s.zoomDownOut,zoomIn:()=>s.zoomIn,zoomLeftIn:()=>s.zoomLeftIn,zoomLeftOut:()=>s.zoomLeftOut,zoomOut:()=>s.zoomOut,zoomRightIn:()=>s.zoomRightIn,zoomRightOut:()=>s.zoomRightOut,zoomUpIn:()=>s.zoomUpIn,zoomUpOut:()=>s.zoomUpOut});var n=r(33507),o=r(16932),i=r(33297),a=r(67771),s=r(50438)},93590:(e,t,r)=>{"use strict";r.r(t),r.d(t,{initMotion:()=>i});const n=e=>({animationDuration:e,animationFillMode:"both"}),o=e=>({animationDuration:e,animationFillMode:"both"}),i=function(e,t,r,i){const a=arguments.length>4&&void 0!==arguments[4]&&arguments[4]?"&":"";return{[`\n ${a}${e}-enter,\n ${a}${e}-appear\n `]:Object.assign(Object.assign({},n(i)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},o(i)),{animationPlayState:"paused"}),[`\n ${a}${e}-enter${e}-enter-active,\n ${a}${e}-appear${e}-appear-active\n `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:r,animationPlayState:"running",pointerEvents:"none"}}}},33297:(e,t,r)=>{"use strict";r.r(t),r.d(t,{initMoveMotion:()=>h,moveDownIn:()=>i,moveDownOut:()=>a,moveLeftIn:()=>s,moveLeftOut:()=>l,moveRightIn:()=>c,moveRightOut:()=>u,moveUpIn:()=>f,moveUpOut:()=>d});var n=r(78419),o=r(93590);const i=new n.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),a=new n.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),s=new n.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new n.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),c=new n.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),u=new n.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),f=new n.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new n.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),p={"move-up":{inKeyframes:f,outKeyframes:d},"move-down":{inKeyframes:i,outKeyframes:a},"move-left":{inKeyframes:s,outKeyframes:l},"move-right":{inKeyframes:c,outKeyframes:u}},h=(e,t)=>{const{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:i,outKeyframes:a}=p[t];return[(0,o.initMotion)(n,i,a,e.motionDurationMid),{[`\n ${n}-enter,\n ${n}-appear\n `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},67771:(e,t,r)=>{"use strict";r.r(t),r.d(t,{initSlideMotion:()=>h,slideDownIn:()=>s,slideDownOut:()=>l,slideLeftIn:()=>c,slideLeftOut:()=>u,slideRightIn:()=>f,slideRightOut:()=>d,slideUpIn:()=>i,slideUpOut:()=>a});var n=r(78419),o=r(93590);const i=new n.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),a=new n.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),s=new n.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),l=new n.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),c=new n.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),u=new n.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),f=new n.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),d=new n.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),p={"slide-up":{inKeyframes:i,outKeyframes:a},"slide-down":{inKeyframes:s,outKeyframes:l},"slide-left":{inKeyframes:c,outKeyframes:u},"slide-right":{inKeyframes:f,outKeyframes:d}},h=(e,t)=>{const{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:i,outKeyframes:a}=p[t];return[(0,o.initMotion)(n,i,a,e.motionDurationMid),{[`\n ${n}-enter,\n ${n}-appear\n `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}},50438:(e,t,r)=>{"use strict";r.r(t),r.d(t,{initZoomMotion:()=>v,zoomBigIn:()=>s,zoomBigOut:()=>l,zoomDownIn:()=>m,zoomDownOut:()=>y,zoomIn:()=>i,zoomLeftIn:()=>f,zoomLeftOut:()=>d,zoomOut:()=>a,zoomRightIn:()=>p,zoomRightOut:()=>h,zoomUpIn:()=>c,zoomUpOut:()=>u});var n=r(78419),o=r(93590);const i=new n.Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),a=new n.Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),s=new n.Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),l=new n.Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),c=new n.Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),u=new n.Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),f=new n.Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),d=new n.Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),p=new n.Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),h=new n.Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),m=new n.Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),y=new n.Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),g={zoom:{inKeyframes:i,outKeyframes:a},"zoom-big":{inKeyframes:s,outKeyframes:l},"zoom-big-fast":{inKeyframes:s,outKeyframes:l},"zoom-left":{inKeyframes:f,outKeyframes:d},"zoom-right":{inKeyframes:p,outKeyframes:h},"zoom-up":{inKeyframes:c,outKeyframes:u},"zoom-down":{inKeyframes:m,outKeyframes:y}},v=(e,t)=>{const{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:i,outKeyframes:a}=g[t];return[(0,o.initMotion)(n,i,a,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[`\n ${n}-enter,\n ${n}-appear\n `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},97414:(e,t,r)=>{"use strict";r.r(t),r.d(t,{MAX_VERTICAL_CONTENT_RADIUS:()=>i,default:()=>l,getArrowOffsetToken:()=>a});var n=r(78419),o=r(79511);const i=8;function a(e){const{contentRadius:t,limitVerticalRadius:r}=e,n=t>12?t+2:12;return{arrowOffsetHorizontal:n,arrowOffsetVertical:r?i:n}}function s(e,t){return e?t:{}}function l(e,t,r){const{componentCls:i,boxShadowPopoverArrow:a,arrowOffsetVertical:l,arrowOffsetHorizontal:c}=e,{arrowDistance:u=0,arrowPlacement:f={left:!0,right:!0,top:!0,bottom:!0}}=r||{};return{[i]:Object.assign(Object.assign(Object.assign(Object.assign({[`${i}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,o.genRoundedArrow)(e,t,a)),{"&:before":{background:t}})]},s(!!f.top,{[[`&-placement-top > ${i}-arrow`,`&-placement-topLeft > ${i}-arrow`,`&-placement-topRight > ${i}-arrow`].join(",")]:{bottom:u,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${i}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":c,[`> ${i}-arrow`]:{left:{_skip_check_:!0,value:c}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,n.unit)(c)})`,[`> ${i}-arrow`]:{right:{_skip_check_:!0,value:c}}}})),s(!!f.bottom,{[[`&-placement-bottom > ${i}-arrow`,`&-placement-bottomLeft > ${i}-arrow`,`&-placement-bottomRight > ${i}-arrow`].join(",")]:{top:u,transform:"translateY(-100%)"},[`&-placement-bottom > ${i}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":c,[`> ${i}-arrow`]:{left:{_skip_check_:!0,value:c}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,n.unit)(c)})`,[`> ${i}-arrow`]:{right:{_skip_check_:!0,value:c}}}})),s(!!f.left,{[[`&-placement-left > ${i}-arrow`,`&-placement-leftTop > ${i}-arrow`,`&-placement-leftBottom > ${i}-arrow`].join(",")]:{right:{_skip_check_:!0,value:u},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${i}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${i}-arrow`]:{top:l},[`&-placement-leftBottom > ${i}-arrow`]:{bottom:l}})),s(!!f.right,{[[`&-placement-right > ${i}-arrow`,`&-placement-rightTop > ${i}-arrow`,`&-placement-rightBottom > ${i}-arrow`].join(",")]:{left:{_skip_check_:!0,value:u},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${i}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${i}-arrow`]:{top:l},[`&-placement-rightBottom > ${i}-arrow`]:{bottom:l}}))}}},79511:(e,t,r)=>{"use strict";r.r(t),r.d(t,{genRoundedArrow:()=>i,getArrowToken:()=>o});var n=r(78419);function o(e){const{sizePopupArrow:t,borderRadiusXS:r,borderRadiusOuter:n}=e,o=t/2,i=o,a=1*n/Math.sqrt(2),s=o-n*(1-1/Math.sqrt(2)),l=o-r*(1/Math.sqrt(2)),c=n*(Math.sqrt(2)-1)+r*(1/Math.sqrt(2)),u=2*o-l,f=c,d=2*o-a,p=s,h=2*o-0,m=i,y=o*Math.sqrt(2)+n*(Math.sqrt(2)-2),g=n*(Math.sqrt(2)-1);return{arrowShadowWidth:y,arrowPath:`path('M 0 ${i} A ${n} ${n} 0 0 0 ${a} ${s} L ${l} ${c} A ${r} ${r} 0 0 1 ${u} ${f} L ${d} ${p} A ${n} ${n} 0 0 0 ${h} ${m} Z')`,arrowPolygon:`polygon(${g}px 100%, 50% ${g}px, ${2*o-g}px 100%, ${g}px 100%)`}}const i=(e,t,r)=>{const{sizePopupArrow:o,arrowPolygon:i,arrowPath:a,arrowShadowWidth:s,borderRadiusXS:l,calc:c}=e;return{pointerEvents:"none",width:o,height:o,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:o,height:c(o).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:s,height:s,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,n.unit)(l)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"}}}},33083:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DesignTokenContext:()=>c,defaultConfig:()=>l,defaultTheme:()=>s});var n=r(36198),o=r(78419),i=r(5767),a=r(2790);const s=(0,o.createTheme)(i.default),l={token:a.default,override:{override:a.default},hashed:!0},c=n.createContext(l)},33363:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PresetColors:()=>n.PresetColors});var n=r(8796)},8796:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PresetColors:()=>n});const n=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},12641:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DesignTokenContext:()=>f.DesignTokenContext,PresetColors:()=>i.PresetColors,calc:()=>o.genCalc,defaultConfig:()=>f.defaultConfig,genComponentStyleHook:()=>l.genComponentStyleHook,genPresetColor:()=>c.default,genStyleHooks:()=>l.genStyleHooks,genSubStyleComponent:()=>l.genSubStyleComponent,getLineHeight:()=>a.getLineHeight,mergeToken:()=>o.mergeToken,statistic:()=>o.statistic,statisticToken:()=>o.statisticToken,useResetIconStyle:()=>u.default,useStyleRegister:()=>n.useStyleRegister,useToken:()=>s.default});var n=r(78419),o=r(90506),i=r(33363),a=r(51734),s=r(29691),l=r(83559),c=r(98719),u=r(53269),f=r(33083)},1162:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getAlphaColor:()=>o,getSolidColor:()=>i});var n=r(41191);const o=(e,t)=>new n.TinyColor(e).setAlpha(t).toRgbString(),i=(e,t)=>new n.TinyColor(e).darken(t).toHexString()},5632:(e,t,r)=>{"use strict";r.r(t),r.d(t,{generateColorPalettes:()=>i,generateNeutralColorPalettes:()=>a});var n=r(11305),o=r(1162);const i=e=>{const t=(0,n.generate)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},a=(e,t)=>{const r=e||"#fff",n=t||"#000";return{colorBgBase:r,colorTextBase:n,colorText:(0,o.getAlphaColor)(n,.88),colorTextSecondary:(0,o.getAlphaColor)(n,.65),colorTextTertiary:(0,o.getAlphaColor)(n,.45),colorTextQuaternary:(0,o.getAlphaColor)(n,.25),colorFill:(0,o.getAlphaColor)(n,.15),colorFillSecondary:(0,o.getAlphaColor)(n,.06),colorFillTertiary:(0,o.getAlphaColor)(n,.04),colorFillQuaternary:(0,o.getAlphaColor)(n,.02),colorBgSolid:(0,o.getAlphaColor)(n,1),colorBgSolidHover:(0,o.getAlphaColor)(n,.75),colorBgSolidActive:(0,o.getAlphaColor)(n,.95),colorBgLayout:(0,o.getSolidColor)(r,4),colorBgContainer:(0,o.getSolidColor)(r,0),colorBgElevated:(0,o.getSolidColor)(r,0),colorBgSpotlight:(0,o.getAlphaColor)(n,.85),colorBgBlur:"transparent",colorBorder:(0,o.getSolidColor)(r,15),colorBorderSecondary:(0,o.getSolidColor)(r,6)}}},5767:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(11305),o=r(2790),i=r(57),a=r(4451),s=r(372),l=r(69594),c=r(61268),u=r(5632);function f(e){n.presetPrimaryColors.pink=n.presetPrimaryColors.magenta,n.presetPalettes.pink=n.presetPalettes.magenta;const t=Object.keys(o.defaultPresetColors).map((t=>{const r=e[t]===n.presetPrimaryColors[t]?n.presetPalettes[t]:(0,n.generate)(e[t]);return new Array(10).fill(1).reduce(((e,n,o)=>(e[`${t}-${o+1}`]=r[o],e[`${t}${o+1}`]=r[o],e)),{})})).reduce(((e,t)=>e=Object.assign(Object.assign({},e),t)),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),(0,i.default)(e,{generateColorPalettes:u.generateColorPalettes,generateNeutralColorPalettes:u.generateNeutralColorPalettes})),(0,l.default)(e.fontSize)),(0,c.default)(e)),(0,s.default)(e)),(0,a.default)(e))}},2790:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o,defaultPresetColors:()=>n});const n={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},o=Object.assign(Object.assign({},n),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0})},57:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(41191);function o(e,t){let{generateColorPalettes:r,generateNeutralColorPalettes:o}=t;const{colorSuccess:i,colorWarning:a,colorError:s,colorInfo:l,colorPrimary:c,colorBgBase:u,colorTextBase:f}=e,d=r(c),p=r(i),h=r(a),m=r(s),y=r(l),g=o(u,f),v=r(e.colorLink||e.colorInfo),b=new n.TinyColor(m[1]).mix(new n.TinyColor(m[3]),50).toHexString();return Object.assign(Object.assign({},g),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBgFilledHover:b,colorErrorBgActive:m[3],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:y[1],colorInfoBgHover:y[2],colorInfoBorder:y[3],colorInfoBorderHover:y[4],colorInfoHover:y[4],colorInfo:y[6],colorInfoActive:y[7],colorInfoTextHover:y[8],colorInfoText:y[9],colorInfoTextActive:y[10],colorLinkHover:v[4],colorLink:v[6],colorLinkActive:v[7],colorBgMask:new n.TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}},4451:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(25282);function o(e){const{motionUnit:t,motionBase:r,borderRadius:o,lineWidth:i}=e;return Object.assign({motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+2*t).toFixed(1)}s`,motionDurationSlow:`${(r+3*t).toFixed(1)}s`,lineWidthBold:i+1},(0,n.default)(o))}},372:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=e=>{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}}},69594:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(51734);const o=e=>{const t=(0,n.default)(e),r=t.map((e=>e.size)),o=t.map((e=>e.lineHeight)),i=r[1],a=r[0],s=r[2],l=o[1],c=o[0],u=o[2];return{fontSizeSM:a,fontSize:i,fontSizeLG:s,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:l,lineHeightLG:u,lineHeightSM:c,fontHeight:Math.round(l*i),fontHeightLG:Math.round(u*s),fontHeightSM:Math.round(c*a),lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}}},51734:(e,t,r)=>{"use strict";function n(e){return(e+8)/e}function o(e){const t=new Array(10).fill(null).map(((t,r)=>{const n=r-1,o=e*Math.pow(Math.E,n/5),i=r>1?Math.floor(o):Math.ceil(o);return 2*Math.floor(i/2)}));return t[1]=e,t.map((e=>({size:e,lineHeight:n(e)})))}r.r(t),r.d(t,{default:()=>o,getLineHeight:()=>n})},25282:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=e=>{let t=e,r=e,n=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:o}}},61268:(e,t,r)=>{"use strict";function n(e){const{sizeUnit:t,sizeStep:r}=e;return{sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}r.r(t),r.d(t,{default:()=>n})},29691:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h,getComputedToken:()=>p,ignore:()=>f,unitless:()=>u});var n=r(36198),o=r(78419),i=r(28293),a=r(33083),s=r(2790),l=r(92372),c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{const n=r.getDerivativeToken(e),{override:o}=t,i=c(t,["override"]);let a=Object.assign(Object.assign({},n),{override:o});return a=(0,l.default)(a),i&&Object.entries(i).forEach((e=>{let[t,r]=e;const{theme:n}=r,o=c(r,["theme"]);let i=o;n&&(i=p(Object.assign(Object.assign({},a),o),{override:o},n)),a[t]=i})),a};function h(){const{token:e,hashed:t,theme:r,override:c,cssVar:h}=n.useContext(a.DesignTokenContext),m=`${i.default}-${t||""}`,y=r||a.defaultTheme,[g,v,b]=(0,o.useCacheToken)(y,[s.default,e],{salt:m,override:c,getComputedToken:p,formatToken:l.default,cssVar:h&&{prefix:h.prefix,key:h.key,unitless:u,ignore:f,preserve:d}});return[y,b,t?v:"",g,h]}},92372:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(41191),o=r(2790),i=r(42642),a=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{delete s[e]}));const l=Object.assign(Object.assign({},r),s),c=1200,u=1600;if(!1===l.motion){const e="0s";l.motionDurationFast=e,l.motionDurationMid=e,l.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},l),{colorFillContent:l.colorFillSecondary,colorFillContentHover:l.colorFill,colorFillAlter:l.colorFillQuaternary,colorBgContainerDisabled:l.colorFillTertiary,colorBorderBg:l.colorBgContainer,colorSplit:(0,i.default)(l.colorBorderSecondary,l.colorBgContainer),colorTextPlaceholder:l.colorTextQuaternary,colorTextDisabled:l.colorTextQuaternary,colorTextHeading:l.colorText,colorTextLabel:l.colorTextSecondary,colorTextDescription:l.colorTextTertiary,colorTextLightSolid:l.colorWhite,colorHighlight:l.colorError,colorBgTextHover:l.colorFillSecondary,colorBgTextActive:l.colorFill,colorIcon:l.colorTextTertiary,colorIconHover:l.colorText,colorErrorOutline:(0,i.default)(l.colorErrorBg,l.colorBgContainer),colorWarningOutline:(0,i.default)(l.colorWarningBg,l.colorBgContainer),fontSizeIcon:l.fontSizeSM,lineWidthFocus:3*l.lineWidth,lineWidth:l.lineWidth,controlOutlineWidth:2*l.lineWidth,controlInteractiveSize:l.controlHeight/2,controlItemBgHover:l.colorFillTertiary,controlItemBgActive:l.colorPrimaryBg,controlItemBgActiveHover:l.colorPrimaryBgHover,controlItemBgActiveDisabled:l.colorFill,controlTmpOutline:l.colorFillQuaternary,controlOutline:(0,i.default)(l.colorPrimaryBg,l.colorBgContainer),lineType:l.lineType,borderRadius:l.borderRadius,borderRadiusXS:l.borderRadiusXS,borderRadiusSM:l.borderRadiusSM,borderRadiusLG:l.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:l.sizeXXS,paddingXS:l.sizeXS,paddingSM:l.sizeSM,padding:l.size,paddingMD:l.sizeMD,paddingLG:l.sizeLG,paddingXL:l.sizeXL,paddingContentHorizontalLG:l.sizeLG,paddingContentVerticalLG:l.sizeMS,paddingContentHorizontal:l.sizeMS,paddingContentVertical:l.sizeSM,paddingContentHorizontalSM:l.size,paddingContentVerticalSM:l.sizeXS,marginXXS:l.sizeXXS,marginXS:l.sizeXS,marginSM:l.sizeSM,margin:l.size,marginMD:l.sizeMD,marginLG:l.sizeLG,marginXL:l.sizeXL,marginXXL:l.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:c,screenXLMin:c,screenXLMax:1599,screenXXL:u,screenXXLMin:u,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new n.TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new n.TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new n.TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}\n `,boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),s)}},98719:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(33363);function o(e,t){return n.PresetColors.reduce(((r,n)=>{const o=e[`${n}1`],i=e[`${n}3`],a=e[`${n}6`],s=e[`${n}7`];return Object.assign(Object.assign({},r),t(n,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:s}))}),{})}},83559:(e,t,r)=>{"use strict";r.r(t),r.d(t,{genComponentStyleHook:()=>u,genStyleHooks:()=>c,genSubStyleComponent:()=>f});var n=r(36198),o=r(90506),i=r(25157),a=r(14747),s=r(29691),l=r(53269);const{genStyleHooks:c,genComponentStyleHook:u,genSubStyleComponent:f}=(0,o.genStyleUtils)({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=(0,n.useContext)(i.ConfigContext);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,r,n,o]=(0,s.default)();return{theme:e,realToken:t,hashId:r,token:n,cssVar:o}},useCSP:()=>{const{csp:e,iconPrefixCls:t}=(0,n.useContext)(i.ConfigContext);return(0,l.default)(t,e),null!=e?e:{}},getResetStyles:e=>[{"&":(0,a.genLinkStyle)(e)}],getCommonStyle:a.genCommonStyle,getCompUnitless:()=>s.unitless})},42642:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(41191);function o(e){return e>=0&&e<=255}const i=function(e,t){const{r,g:i,b:a,a:s}=new n.TinyColor(e).toRgb();if(s<1)return e;const{r:l,g:c,b:u}=new n.TinyColor(t).toRgb();for(let e=.01;e<=1;e+=.01){const t=Math.round((r-l*(1-e))/e),s=Math.round((i-c*(1-e))/e),f=Math.round((a-u*(1-e))/e);if(o(t)&&o(s)&&o(f))return new n.TinyColor({r:t,g:s,b:f,a:Math.round(100*e)/100}).toRgbString()}return new n.TinyColor({r,g:i,b:a,a:1}).toRgbString()}},53269:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(78419),o=r(14747),i=r(29691);const a=(e,t)=>{const[r,a]=(0,i.default)();return(0,n.useStyleRegister)({theme:r,token:a,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce,layer:{name:"antd"}},(()=>[{[`.${e}`]:Object.assign(Object.assign({},(0,o.resetIcon)()),{[`.${e} .${e}-icon`]:{display:"block"}})}]))}},42115:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},12148:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var n=r(36198),o=r(93967),i=r.n(o),a=r(69353),s=r(49134),l=r(22385),c=r(43243);const u=e=>{const{prefixCls:t,className:r,placement:o="top",title:u,color:f,overlayInnerStyle:d}=e,{getPrefixCls:p}=n.useContext(s.ConfigContext),h=p("tooltip",t),[m,y,g]=(0,l.default)(h),v=(0,c.parseColor)(h,f),b=v.arrowStyle,O=Object.assign(Object.assign({},d),v.overlayStyle),w=i()(y,g,h,`${h}-pure`,`${h}-placement-${o}`,r,v.className);return m(n.createElement("div",{className:w,style:b},n.createElement("div",{className:`${h}-arrow`}),n.createElement(a.Popup,Object.assign({},e,{className:y,prefixCls:h,overlayInnerStyle:O}),u)))}},94199:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>S});var n=r(36198),o=r(93967),i=r.n(o),a=r(69353),s=r(21770),l=r(89942),c=r(87263),u=r(33603),f=r(80636),d=r(96159),p=r(27288),h=r(43945),m=r(49134),y=r(12641),g=r(12148),v=r(22385),b=r(43243),O=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{var r,o;const{prefixCls:g,openClassName:w,getTooltipContainer:S,overlayClassName:x,color:E,overlayInnerStyle:_,children:P,afterOpenChange:T,afterVisibleChange:j,destroyTooltipOnHide:C,arrow:k=!0,title:A,overlay:D,builtinPlacements:L,arrowPointAtCenter:R=!1,autoAdjustOverflow:M=!0}=e,I=!!k,[,N]=(0,y.useToken)(),{getPopupContainer:B,getPrefixCls:$,direction:F}=n.useContext(m.ConfigContext),z=(0,p.devUseWarning)("Tooltip"),Q=n.useRef(null),V=()=>{var e;null===(e=Q.current)||void 0===e||e.forceAlign()};n.useImperativeHandle(t,(()=>{var e;return{forceAlign:V,forcePopupAlign:()=>{z.deprecated(!1,"forcePopupAlign","forceAlign"),V()},nativeElement:null===(e=Q.current)||void 0===e?void 0:e.nativeElement}}));const[U,G]=(0,s.default)(!1,{value:null!==(r=e.open)&&void 0!==r?r:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),W=!A&&!D&&0!==A,H=n.useMemo((()=>{var e,t;let r=R;return"object"==typeof k&&(r=null!==(t=null!==(e=k.pointAtCenter)&&void 0!==e?e:k.arrowPointAtCenter)&&void 0!==t?t:R),L||(0,f.default)({arrowPointAtCenter:r,autoAdjustOverflow:M,arrowWidth:I?N.sizePopupArrow:0,borderRadius:N.borderRadius,offset:N.marginXXS,visibleFirst:!0})}),[R,k,L,N]),Z=n.useMemo((()=>0===A?A:D||A||""),[D,A]),X=n.createElement(l.default,{space:!0},"function"==typeof Z?Z():Z),{getPopupContainer:q,placement:Y="top",mouseEnterDelay:K=.1,mouseLeaveDelay:J=.1,overlayStyle:ee,rootClassName:te}=e,re=O(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),ne=$("tooltip",g),oe=$(),ie=e["data-popover-inject"];let ae=U;"open"in e||"visible"in e||!W||(ae=!1);const se=n.isValidElement(P)&&!(0,d.isFragment)(P)?P:n.createElement("span",null,P),le=se.props,ce=le.className&&"string"!=typeof le.className?le.className:i()(le.className,w||`${ne}-open`),[ue,fe,de]=(0,v.default)(ne,!ie),pe=(0,b.parseColor)(ne,E),he=pe.arrowStyle,me=Object.assign(Object.assign({},_),pe.overlayStyle),ye=i()(x,{[`${ne}-rtl`]:"rtl"===F},pe.className,te,fe,de),[ge,ve]=(0,c.useZIndex)("Tooltip",re.zIndex),be=n.createElement(a.default,Object.assign({},re,{zIndex:ge,showArrow:I,placement:Y,mouseEnterDelay:K,mouseLeaveDelay:J,prefixCls:ne,overlayClassName:ye,overlayStyle:Object.assign(Object.assign({},he),ee),getTooltipContainer:q||S||B,ref:Q,builtinPlacements:H,overlay:X,visible:ae,onVisibleChange:t=>{var r,n;G(!W&&t),W||(null===(r=e.onOpenChange)||void 0===r||r.call(e,t),null===(n=e.onVisibleChange)||void 0===n||n.call(e,t))},afterVisibleChange:null!=T?T:j,overlayInnerStyle:me,arrowContent:n.createElement("span",{className:`${ne}-arrow-content`}),motion:{motionName:(0,u.getTransitionName)(oe,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!C}),ae?(0,d.cloneElement)(se,{className:ce}):se);return ue(n.createElement(h.default.Provider,{value:ve},be))}));w._InternalPanelDoNotUseOrYouWillBeFired=g.default;const S=w},22385:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f,prepareComponentToken:()=>u});var n=r(78419),o=r(14747),i=r(97229),a=r(97414),s=r(79511),l=r(12641);const c=e=>{const{componentCls:t,tooltipMaxWidth:r,tooltipColor:i,tooltipBg:s,tooltipBorderRadius:c,zIndexPopup:u,controlHeight:f,boxShadowSecondary:d,paddingSM:p,paddingXS:h}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,o.resetComponent)(e)),{position:"absolute",zIndex:u,display:"block",width:"max-content",maxWidth:r,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":s,[`${t}-inner`]:{minWidth:"1em",minHeight:f,padding:`${(0,n.unit)(e.calc(p).div(2).equal())} ${(0,n.unit)(h)}`,color:i,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:s,borderRadius:c,boxShadow:d,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(c,a.MAX_VERTICAL_CONTENT_RADIUS)}},[`${t}-content`]:{position:"relative"}}),(0,l.genPresetColor)(e,((e,r)=>{let{darkColor:n}=r;return{[`&${t}-${e}`]:{[`${t}-inner`]:{backgroundColor:n},[`${t}-arrow`]:{"--antd-arrow-background-color":n}}}}))),{"&-rtl":{direction:"rtl"}})},(0,a.default)(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},u=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},(0,a.getArrowOffsetToken)({contentRadius:e.borderRadius,limitVerticalRadius:!0})),(0,s.getArrowToken)((0,l.mergeToken)(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),f=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,l.genStyleHooks)("Tooltip",(e=>{const{borderRadius:t,colorTextLightSolid:r,colorBgSpotlight:n}=e,o=(0,l.mergeToken)(e,{tooltipMaxWidth:250,tooltipColor:r,tooltipBorderRadius:t,tooltipBg:n});return[c(o),(0,i.initZoomMotion)(e,"zoom-big-fast")]}),u,{resetStyle:!1,injectStyle:t})(e)}},43243:(e,t,r)=>{"use strict";r.r(t),r.d(t,{parseColor:()=>a});var n=r(93967),o=r.n(n),i=r(98787);function a(e,t){const r=(0,i.isPresetColor)(t),n=o()({[`${e}-${t}`]:t&&r}),a={},s={};return t&&!r&&(a.background=t,s["--antd-arrow-background-color"]=t),{className:n,overlayStyle:a,arrowStyle:s}}},89632:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>p});var n=r(36198),o=r(82061),i=r(69753),a=r(55287),s=r(93967),l=r.n(s),c=r(93587),u=r(49134),f=r(29772),d=r(94199);const p=n.forwardRef(((e,t)=>{let{prefixCls:r,className:s,style:p,locale:h,listType:m,file:y,items:g,progress:v,iconRender:b,actionIconRender:O,itemRender:w,isImgUrl:S,showPreviewIcon:x,showRemoveIcon:E,showDownloadIcon:_,previewIcon:P,removeIcon:T,downloadIcon:j,extra:C,onPreview:k,onDownload:A,onClose:D}=e;var L,R;const{status:M}=y,[I,N]=n.useState(M);n.useEffect((()=>{"removed"!==M&&N(M)}),[M]);const[B,$]=n.useState(!1);n.useEffect((()=>{const e=setTimeout((()=>{$(!0)}),300);return()=>{clearTimeout(e)}}),[]);const F=b(y);let z=n.createElement("div",{className:`${r}-icon`},F);if("picture"===m||"picture-card"===m||"picture-circle"===m)if("uploading"===I||!y.thumbUrl&&!y.url){const e=l()(`${r}-list-item-thumbnail`,{[`${r}-list-item-file`]:"uploading"!==I});z=n.createElement("div",{className:e},F)}else{const e=(null==S?void 0:S(y))?n.createElement("img",{src:y.thumbUrl||y.url,alt:y.name,className:`${r}-list-item-image`,crossOrigin:y.crossOrigin}):F,t=l()(`${r}-list-item-thumbnail`,{[`${r}-list-item-file`]:S&&!S(y)});z=n.createElement("a",{className:t,onClick:e=>k(y,e),href:y.url||y.thumbUrl,target:"_blank",rel:"noopener noreferrer"},e)}const Q=l()(`${r}-list-item`,`${r}-list-item-${I}`),V="string"==typeof y.linkProps?JSON.parse(y.linkProps):y.linkProps,U=("function"==typeof E?E(y):E)?O(("function"==typeof T?T(y):T)||n.createElement(o.default,null),(()=>D(y)),r,h.removeFile,!0):null,G=("function"==typeof _?_(y):_)&&"done"===I?O(("function"==typeof j?j(y):j)||n.createElement(i.default,null),(()=>A(y)),r,h.downloadFile):null,W="picture-card"!==m&&"picture-circle"!==m&&n.createElement("span",{key:"download-delete",className:l()(`${r}-list-item-actions`,{picture:"picture"===m})},G,U),H="function"==typeof C?C(y):C,Z=H&&n.createElement("span",{className:`${r}-list-item-extra`},H),X=l()(`${r}-list-item-name`),q=y.url?n.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:X,title:y.name},V,{href:y.url,onClick:e=>k(y,e)}),y.name,Z):n.createElement("span",{key:"view",className:X,onClick:e=>k(y,e),title:y.name},y.name,Z),Y=("function"==typeof x?x(y):x)&&(y.url||y.thumbUrl)?n.createElement("a",{href:y.url||y.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:e=>k(y,e),title:h.previewFile},"function"==typeof P?P(y):P||n.createElement(a.default,null)):null,K=("picture-card"===m||"picture-circle"===m)&&"uploading"!==I&&n.createElement("span",{className:`${r}-list-item-actions`},Y,"done"===I&&G,U),{getPrefixCls:J}=n.useContext(u.ConfigContext),ee=J(),te=n.createElement("div",{className:Q},z,q,W,K,B&&n.createElement(c.default,{motionName:`${ee}-fade`,visible:"uploading"===I,motionDeadline:2e3},(e=>{let{className:t}=e;const o="percent"in y?n.createElement(f.default,Object.assign({},v,{type:"line",percent:y.percent,"aria-label":y["aria-label"],"aria-labelledby":y["aria-labelledby"]})):null;return n.createElement("div",{className:l()(`${r}-list-item-progress`,t)},o)}))),re=y.response&&"string"==typeof y.response?y.response:(null===(L=y.error)||void 0===L?void 0:L.statusText)||(null===(R=y.error)||void 0===R?void 0:R.message)||h.uploadError,ne="error"===I?n.createElement(d.default,{title:re,getPopupContainer:e=>e.parentNode},te):te;return n.createElement("div",{className:l()(`${r}-list-item-container`,s),style:p,ref:t},w?w(ne,y,g,{download:A.bind(null,y),preview:k.bind(null,y),remove:D.bind(null,y)}):ne)}))},88197:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>w});var n=r(89062),o=r(36198),i=r(95807),a=r(79090),s=r(45128),l=r(8948),c=r(93967),u=r.n(c),f=r(93587),d=r(98423),p=r(57838),h=r(33603),m=r(96159),y=r(71577),g=r(49134),v=r(12766),b=r(89632);const O=(e,t)=>{const{listType:r="text",previewFile:c=v.previewImage,onPreview:O,onDownload:w,onRemove:S,locale:x,iconRender:E,isImageUrl:_=v.isImageUrl,prefixCls:P,items:T=[],showPreviewIcon:j=!0,showRemoveIcon:C=!0,showDownloadIcon:k=!1,removeIcon:A,previewIcon:D,downloadIcon:L,extra:R,progress:M={size:[-1,2],showInfo:!1},appendAction:I,appendActionVisible:N=!0,itemRender:B,disabled:$}=e,F=(0,p.default)(),[z,Q]=o.useState(!1),V=["picture-card","picture-circle"].includes(r);o.useEffect((()=>{r.startsWith("picture")&&(T||[]).forEach((e=>{(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",null==c||c(e.originFileObj).then((t=>{e.thumbUrl=t||"",F()})))}))}),[r,T,c]),o.useEffect((()=>{Q(!0)}),[]);const U=(e,t)=>{if(O)return null==t||t.preventDefault(),O(e)},G=e=>{"function"==typeof w?w(e):e.url&&window.open(e.url)},W=e=>{null==S||S(e)},H=e=>{if(E)return E(e,r);const t="uploading"===e.status;if(r.startsWith("picture")){const n="picture"===r?o.createElement(a.default,null):x.uploading,s=(null==_?void 0:_(e))?o.createElement(l.default,null):o.createElement(i.default,null);return t?n:s}return t?o.createElement(a.default,null):o.createElement(s.default,null)},Z=(e,t,r,n,i)=>{const a={type:"text",size:"small",title:n,onClick:r=>{var n,i;t(),o.isValidElement(e)&&(null===(i=(n=e.props).onClick)||void 0===i||i.call(n,r))},className:`${r}-list-item-action`};return i&&(a.disabled=$),o.isValidElement(e)?o.createElement(y.default,Object.assign({},a,{icon:(0,m.cloneElement)(e,Object.assign(Object.assign({},e.props),{onClick:()=>{}}))})):o.createElement(y.default,Object.assign({},a),o.createElement("span",null,e))};o.useImperativeHandle(t,(()=>({handlePreview:U,handleDownload:G})));const{getPrefixCls:X}=o.useContext(g.ConfigContext),q=X("upload",P),Y=X(),K=u()(`${q}-list`,`${q}-list-${r}`),J=o.useMemo((()=>(0,d.default)((0,h.default)(Y),["onAppearEnd","onEnterEnd","onLeaveEnd"])),[Y]),ee=Object.assign(Object.assign({},V?{}:J),{motionDeadline:2e3,motionName:`${q}-${V?"animate-inline":"animate"}`,keys:(0,n.default)(T.map((e=>({key:e.uid,file:e})))),motionAppear:z});return o.createElement("div",{className:K},o.createElement(f.CSSMotionList,Object.assign({},ee,{component:!1}),(e=>{let{key:t,file:n,className:i,style:a}=e;return o.createElement(b.default,{key:t,locale:x,prefixCls:q,className:i,style:a,file:n,items:T,progress:M,listType:r,isImgUrl:_,showPreviewIcon:j,showRemoveIcon:C,showDownloadIcon:k,removeIcon:A,previewIcon:D,downloadIcon:L,extra:R,iconRender:H,actionIconRender:Z,itemRender:B,onPreview:U,onDownload:G,onClose:W})})),I&&o.createElement(f.default,Object.assign({},ee,{visible:N,forceRender:!0}),(e=>{let{className:t,style:r}=e;return(0,m.cloneElement)(I,(e=>({className:u()(e.className,t),style:Object.assign(Object.assign(Object.assign({},r),{pointerEvents:t?"none":void 0}),e.style)})))})))};const w=o.forwardRef(O)},12766:(e,t,r)=>{"use strict";r.r(t),r.d(t,{file2Obj:()=>o,getFileItem:()=>a,isImageUrl:()=>c,previewImage:()=>f,removeFileItem:()=>s,updateFileList:()=>i});var n=r(89062);function o(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function i(e,t){const r=(0,n.default)(t),o=r.findIndex((t=>{let{uid:r}=t;return r===e.uid}));return-1===o?r.push(e):r[o]=e,r}function a(e,t){const r=void 0!==e.uid?"uid":"name";return t.filter((t=>t[r]===e[r]))[0]}function s(e,t){const r=void 0!==e.uid?"uid":"name",n=t.filter((t=>t[r]!==e[r]));return n.length===t.length?null:n}const l=e=>0===e.indexOf("image/"),c=e=>{if(e.type&&!e.thumbUrl)return l(e.type);const t=e.thumbUrl||e.url||"",r=function(){const e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("/"),t=e[e.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(t)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(r))||!/^data:/.test(t)&&!r},u=200;function f(e){return new Promise((t=>{if(!e.type||!l(e.type))return void t("");const r=document.createElement("canvas");r.width=u,r.height=u,r.style.cssText=`position: fixed; left: 0; top: 0; width: ${u}px; height: ${u}px; z-index: 9999; display: none;`,document.body.appendChild(r);const n=r.getContext("2d"),o=new Image;if(o.onload=()=>{const{width:e,height:i}=o;let a=u,s=u,l=0,c=0;e>i?(s=i*(u/e),c=-(s-a)/2):(a=e*(u/i),l=-(a-s)/2),n.drawImage(o,l,c,a,s);const f=r.toDataURL();document.body.removeChild(r),window.URL.revokeObjectURL(o.src),t(f)},o.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const t=new FileReader;t.onload=()=>{t.result&&"string"==typeof t.result&&(o.src=t.result)},t.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){const r=new FileReader;r.onload=()=>{r.result&&t(r.result)},r.readAsDataURL(e)}else o.src=window.URL.createObjectURL(e)}))}},28293:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=r(52336).default},52336:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n="5.22.2"},35525:(e,t,r)=>{"use strict";r.r(t),r.d(t,{api:()=>o});var n=r(99202),o=(0,n.createApi)({baseQuery:(0,n.fetchBaseQuery)({baseUrl:"/"}),endpoints:function(){return{}}})},65246:(e,t,r)=>{"use strict";function n(){return"/pimcore-studio/api"}r.r(t),r.d(t,{getPrefix:()=>n})},38693:(e,t,r)=>{"use strict";r.r(t),r.d(t,{invalidatingTags:()=>i,providingTags:()=>o,tagNames:()=>n});var n={ELEMENT:"ELEMENT",ASSET:"ASSET",ASSET_DETAIL:"ASSET_DETAIL",ASSET_TREE:"ASSET_TREE",ASSET_GRID_CONFIGURATION:"ASSET_GRID_CONFIGURATION",ASSET_GRID_CONFIGURATION_LIST:"ASSET_GRID_CONFIGURATION_LIST",ASSET_GRID_CONFIGURATION_DETAIL:"ASSET_GRID_CONFIGURATION_DETAIL",DATA_OBJECT:"DATA_OBJECT",DATA_OBJECT_DETAIL:"DATA_OBJECT_DETAIL",DATA_OBJECT_TREE:"DATA_OBJECT_TREE",WORKFLOW:"WORKFLOW",VERSIONS:"VERSION",PROPERTIES:"PROPERTIES",SCHEDULES:"SCHEDULES",DEPENDENCIES:"DEPENDENCIES",NOTES_AND_EVENTS:"NOTES_AND_EVENTS"},o={ELEMENT:function(){return[n.ELEMENT]},ASSET:function(){return[n.ASSET]},ASSET_DETAIL:function(){return[n.ASSET,n.ASSET_DETAIL]},ASSET_DETAIL_ID:function(e){return[n.ASSET,{type:n.ASSET_DETAIL,id:e}]},ASSET_TREE:function(){return[n.ASSET,n.ASSET_TREE]},ASSET_TREE_ID:function(e){return[n.ASSET,n.ASSET_TREE,{type:n.ASSET_TREE,id:e}]},ASSET_VERSIONS:function(e){return[{type:n.ASSET_DETAIL,id:e},n.VERSIONS]},ASSET_GRID_CONFIGURATION:function(){return[n.ASSET_GRID_CONFIGURATION]},ASSET_GRID_CONFIGURATION_LIST:function(e){return[n.ASSET,{type:n.ASSET_DETAIL,id:e},n.ASSET_GRID_CONFIGURATION,{type:n.ASSET_GRID_CONFIGURATION_LIST,id:e}]},ASSET_GRID_CONFIGURATION_DETAIL:function(e,t){return[n.ASSET,{type:n.ASSET_DETAIL,id:e},n.ASSET_GRID_CONFIGURATION,{type:n.ASSET_GRID_CONFIGURATION_DETAIL,id:"".concat(e,"-").concat(t)},{type:n.ASSET_GRID_CONFIGURATION_DETAIL,id:"-".concat(t)}]},DATA_OBJECT_DETAIL:function(){return[n.DATA_OBJECT,n.DATA_OBJECT_DETAIL]},DATA_OBJECT_DETAIL_ID:function(e){return[n.DATA_OBJECT,{type:n.DATA_OBJECT_DETAIL,id:e}]},DATA_OBJECT_TREE:function(){return[n.DATA_OBJECT,n.DATA_OBJECT_TREE]},DATA_OBJECT_TREE_ID:function(e){return[n.DATA_OBJECT,n.DATA_OBJECT_TREE,{type:n.DATA_OBJECT_TREE,id:e}]},ELEMENT_PROPERTIES:function(e,t){return[a(e,t),n.PROPERTIES]},ELEMENT_DEPENDENCIES:function(e,t){return[a(e,t),n.DEPENDENCIES]},ELEMENT_SCHEDULES:function(e,t){return[{type:n.SCHEDULES,id:t,elementType:e},n.SCHEDULES]},ELEMENT_WORKFLOW:function(e,t){return[a(e,t),n.WORKFLOW]},VERSIONS_DETAIL:function(e){return[{type:n.VERSIONS,id:e},n.VERSIONS]},ELEMENT_NOTES_AND_EVENTS:function(e,t){return[a(e,t),n.NOTES_AND_EVENTS]},NOTES_AND_EVENTS_ID:function(e){return[n.NOTES_AND_EVENTS,{type:n.NOTES_AND_EVENTS,id:e}]}},i={ELEMENT:function(){return[n.ELEMENT]},ASSET:function(){return[n.ASSET]},ASSET_DETAIL:function(){return[n.ASSET_DETAIL]},ASSET_DETAIL_ID:function(e){return[{type:n.ASSET_DETAIL,id:e}]},ASSET_TREE:function(){return[n.ASSET_TREE]},ASSET_TREE_ID:function(e){return[{type:n.ASSET_TREE,id:e}]},ASSET_VERSIONS:function(e){return[{type:n.ASSET_DETAIL,id:e}]},ASSET_GRID_CONFIGURATION:function(){return[n.ASSET_GRID_CONFIGURATION]},ASSET_GRID_CONFIGURATION_DETAIL:function(e,t){return[{type:n.ASSET_GRID_CONFIGURATION_DETAIL,id:"".concat(e,"-").concat(t)},{type:n.ASSET_GRID_CONFIGURATION_DETAIL,id:"".concat(e,"-").concat(t)}]},ASSET_GRID_CONFIGURATION_LIST:function(e){return[{type:n.ASSET_GRID_CONFIGURATION_LIST,id:e}]},DATA_OBJECT:function(){return[n.DATA_OBJECT]},DATA_OBJECT_DETAIL:function(){return[n.DATA_OBJECT_DETAIL]},DATA_OBJECT_DETAIL_ID:function(e){return[{type:n.DATA_OBJECT_DETAIL,id:e}]},DATA_OBJECT_TREE:function(){return[n.DATA_OBJECT_TREE]},DATA_OBJECT_TREE_ID:function(e){return[{type:n.DATA_OBJECT_TREE,id:e}]},ELEMENT_PROPERTIES:function(e,t){return[a(e,t)]},ELEMENT_DEPENDENCIES:function(e,t){return[a(e,t)]},ELEMENT_SCHEDULES:function(e,t){return[{type:n.SCHEDULES,id:t,elementType:e}]},ELEMENT_WORKFLOW:function(e,t){return[a(e,t)]},NOTES_AND_EVENTS_ID:function(e){return[{type:n.NOTES_AND_EVENTS,id:e}]},VERSIONS_DETAIL:function(e){return[{type:n.VERSIONS,id:e}]},ELEMENT_NOTES_AND_EVENTS:function(e,t){return[a(e,t),n.NOTES_AND_EVENTS]}},a=function(e,t){switch(e){case"asset":return{type:n.ASSET_DETAIL,id:t};case"data-object":return{type:n.DATA_OBJECT_DETAIL,id:t}}throw new Error("Unknown element type: ".concat(e))}},7056:(e,t,r)=>{"use strict";var n,o,i,a,s,l,c;r.r(t),r.d(t,{appConfig:()=>h,currentDomain:()=>f});var u=document.querySelector("#app"),f=window.location.origin;null===u&&console.warn("App element not found");var d=null!==(n=null==u?void 0:u.getAttribute("data-app-config"))&&void 0!==n?n:null,p=null;null!==d&&(p=JSON.parse(d));var h={baseUrl:null!==(o=null===(i=p)||void 0===i?void 0:i.baseUrl)&&void 0!==o?o:"/pimcore-studio/",mercureUrl:null!==(a=null===(s=p)||void 0===s?void 0:s.mercureUrl)&&void 0!==a?a:"".concat(f,"/.well-known/mercure"),maxPageSize:null!==(l=null===(c=p)||void 0===c?void 0:c.maxPageSize)&&void 0!==l?l:9999999}},67890:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DateTimeConfig:()=>S});var n=r(36198),o=r(27484),i=r.n(o),a=r(10285),s=r.n(a),l=r(28734),c=r.n(l),u=r(6833),f=r.n(u),d=r(96036),p=r.n(d),h=r(55183),m=r.n(h),y=r(172),g=r.n(y),v=r(70178),b=r.n(v),O=r(29387),w=r.n(O),S=function(e){return i().extend(s()),i().extend(c()),i().extend(f()),i().extend(p()),i().extend(m()),i().extend(g()),i().extend(b()),i().extend(w()),n.createElement(n.Fragment,null,e.children)}},52435:(e,t,r)=>{"use strict";r.r(t);var n=r(81690),o=r(47308),i=r(94605),a=r(6042),s=r(85630),l=r(34396),c=r(35624),u=r(63669),f=r(96852),d=r(11031),p=r(65244),h=r(79262),m=r(91638),y=r(7916),g=r(48898),v=r(28710),b=r(37120),O=r(54088),w=r(89726),S=r(73238),x=r(1215),E=r(5180),_=r(19169),P=r(18428),T=r(45977),j=r(35562),C=r(2836),k=r(97479),A=r(53024),D=r(98770),L=r(67195),R=r(24065),M=r(24696),I=r(14266),N=r(37299),B=r(93268),$=r(97637),F=r(87588),z=r(49136),Q=r(37640),V=r(79964),U=r(46415),G=r(65022),W=r(92248),H=r(20314),Z=r(17781),X=r(83826),q=r(61350),Y=r(26206),K=r(50711),J=r(25132),ee=r(70136),te=r(19859),re=r(61653),ne=r(9866),oe=r(22474),ie=r(85050),ae=r(29649),se=r(94850),le=r(99839),ce=r(15381),ue=r(8428),fe=r(71244),de=r(45293),pe=r(62487),he=r(24134),me=r(20366),ye=r(85140),ge=r(92702),ve=r(95803),be=r(40304),Oe=r(77304),we=r(73042),Se=r(10380),xe=r(84137),Ee=r(41131),_e=r(29038),Pe=r(56915),Te=r(33675),je=r(47702),Ce=r(37130),ke=r(6646),Ae=r(66106),De=r(8588),Le=r(21798),Re=r(66540),Me=r(2649),Ie=r(43130),Ne=r(26265),Be=r(3121),$e=r(70818),Fe=r(37503),ze=r(75126),Qe=r(58742),Ve=r(92556),Ue=r(89160),Ge=r(87721),We=r(7787),He=r(54399),Ze=r(13459),Xe=r(885),qe=r(68874),Ye=r(43551),Ke=r(1593),Je=r(75014),et=r(33111),tt=r(70154),rt=r(76536),nt=r(97640);n.container.bind(O.serviceIds.widgetManager).to(a.WidgetRegistry).inSingletonScope(),n.container.bind(O.serviceIds["Asset/Editor/TypeRegistry"]).to(ne.TypeRegistry).inSingletonScope(),n.container.bind(O.serviceIds["Asset/Editor/DocumentTabManager"]).to(c.DocumentTabManager).inSingletonScope(),n.container.bind(O.serviceIds["Asset/Editor/FolderTabManager"]).to(o.FolderTabManager).inSingletonScope(),n.container.bind(O.serviceIds["Asset/Editor/ImageTabManager"]).to(s.ImageTabManager).inSingletonScope(),n.container.bind(O.serviceIds["Asset/Editor/TextTabManager"]).to(l.TextTabManager).inSingletonScope(),n.container.bind(O.serviceIds["Asset/Editor/VideoTabManager"]).to(u.VideoTabManager).inSingletonScope(),n.container.bind(O.serviceIds["Asset/Editor/AudioTabManager"]).to(f.AudioTabManager).inSingletonScope(),n.container.bind(O.serviceIds["Asset/Editor/ArchiveTabManager"]).to(h.ArchiveTabManager).inSingletonScope(),n.container.bind(O.serviceIds["Asset/Editor/UnknownTabManager"]).to(d.UnknownTabManager).inSingletonScope(),n.container.bind(O.serviceIds["DataObject/Editor/TypeRegistry"]).to(ne.TypeRegistry).inSingletonScope(),n.container.bind(O.serviceIds["DataObject/Editor/ObjectTabManager"]).to(y.ObjectTabManager).inSingletonScope(),n.container.bind(O.serviceIds["DataObject/Editor/FolderTabManager"]).to(o.FolderTabManager).inSingletonScope(),n.container.bind(O.serviceIds.iconLibrary).to(i.IconLibrary).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/FieldFilterRegistry"]).to(g.DynamicTypeFieldFilterRegistry).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/FieldFilter/Text"]).to(w.DynamicTypeFieldFilterText).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/FieldFilter/Number"]).to(S.DynamicTypeFieldFilterNumber).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/FieldFilter/Select"]).to(x.DynamicTypeFieldFilterSelect).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/FieldFilter/Datetime"]).to(E.DynamicTypeFieldFilterDatetime).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/BatchEditRegistry"]).to(et.DynamicTypeBatchEditRegistry).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/BatchEdit/Text"]).to(tt.DynamicTypeBatchEditText).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/BatchEdit/TextArea"]).to(rt.DynamicTypeBatchEditTextArea).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCellRegistry"]).to(P.DynamicTypeGridCellRegistry).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/Text"]).to(_.DynamicTypeGridCellText).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/Textarea"]).to(T.DynamicTypeGridCellTextarea).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/Number"]).to(j.DynamicTypeGridCellNumber).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/Select"]).to(C.DynamicTypeGridCellSelect).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/Checkbox"]).to(k.DynamicTypeGridCellCheckbox).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/Date"]).to(A.DynamicTypeGridCellDate).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/Time"]).to(D.DynamicTypeGridCellTime).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/DateTime"]).to(L.DynamicTypeGridCellDateTime).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/AssetLink"]).to(R.DynamicTypeGridCellAssetLink).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/ObjectLink"]).to(M.DynamicTypeGridCellObjectLink).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/DocumentLink"]).to(I.DynamicTypeGridCellDocumentLink).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/OpenElement"]).to(N.DynamicTypeGridCellOpenElement).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/AssetPreview"]).to(B.DynamicTypeGridCellAssetPreview).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/AssetActions"]).to($.DynamicTypeGridCellAssetActions).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/DependencyTypeIcon"]).to(F.DynamicTypeGridCellDependencyTypeIcon).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/AssetCustomMetadataIcon"]).to(z.DynamicTypeGridCellAssetCustomMetadataIcon).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/AssetCustomMetadataValue"]).to(Q.DynamicTypeGridCellAssetCustomMetadataValue).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/PropertyIcon"]).to(V.DynamicTypeGridCellPropertyIcon).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/PropertyValue"]).to(U.DynamicTypeGridCellPropertyValue).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/ScheduleActionsSelect"]).to(G.DynamicTypeGridCellScheduleActionsSelect).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/VersionsIdSelect"]).to(W.DynamicTypeGridCellVersionIdSelect).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/AssetVersionPreviewFieldLabel"]).to(H.DynamicTypeGridCellAssetVersionPreviewFieldLabel).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/Asset"]).to(Xe.DynamicTypeGridCellAsset).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/Object"]).to(qe.DynamicTypeGridCellObject).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/Document"]).to(Ye.DynamicTypeGridCellDocument).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/LanguageSelect"]).to(Ke.DynamicTypeGridCellLanguageSelect).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/GridCell/Translate"]).to(Je.DynamicTypeGridCellTranslate).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ListingRegistry"]).to(v.DynamicTypeListingRegistry).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/Listing/AssetLink"]).to(b.DynamicTypeListingAssetLink).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/MetadataRegistry"]).to(Z.DynamicTypeMetaDataRegistry).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/Metadata/Asset"]).to(X.DynamicTypeMetaDataAsset).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/Metadata/Checkbox"]).to(q.DynamicTypeMetaDataCheckbox).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/Metadata/Date"]).to(Y.DynamicTypeMetaDataDate).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/Metadata/Document"]).to(K.DynamicTypeMetaDataDocument).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/Metadata/Input"]).to(J.DynamicTypeMetaDataInput).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/Metadata/Object"]).to(ee.DynamicTypeMetaDataObject).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/Metadata/Select"]).to(te.DynamicTypeMetaDataSelect).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/Metadata/Textarea"]).to(re.DynamicTypeMetaDataTextarea).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectLayoutRegistry"]).to(oe.DynamicTypeObjectLayoutRegistry).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectLayout/Panel"]).to(ie.DynamicTypeObjectLayoutPanel).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectLayout/Tabpanel"]).to(se.DynamicTypeObjectLayoutTabpanel).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectLayout/Accordion"]).to(le.DynamicTypeObjectLayoutAccordion).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectLayout/Region"]).to(ce.DynamicTypeObjectLayoutRegion).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectLayout/Text"]).to(ue.DynamicTypeObjectLayoutText).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectLayout/Fieldset"]).to(fe.DynamicTypeObjectLayoutFieldset).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectLayout/FieldContainer"]).to(de.DynamicTypeObjectLayoutFieldContainer).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectDataRegistry"]).to(ae.DynamicTypeObjectDataRegistry).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/Input"]).to(pe.DynamicTypeObjectDataInput).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/Textarea"]).to(he.DynamicTypeObjectDataTextarea).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/InputQuantityValue"]).to(ye.DynamicTypeObjectDataInputQuantityValue).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/Password"]).to(me.DynamicTypeObjectDataPassword).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/Select"]).to(ge.DynamicTypeObjectDataSelect).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/MultiSelect"]).to(ve.DynamicTypeObjectDataMultiSelect).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/Language"]).to(be.DynamicTypeObjectDataLanguage).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/LanguageMultiSelect"]).to(Oe.DynamicTypeObjectDataLanguageMultiSelect).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/Country"]).to(we.DynamicTypeObjectDataCountry).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/CountryMultiSelect"]).to(Se.DynamicTypeObjectDataCountryMultiSelect).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/User"]).to(xe.DynamicTypeObjectDataUser).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/BooleanSelect"]).to(Ee.DynamicTypeObjectDataBooleanSelect).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/Numeric"]).to(_e.DynamicTypeObjectDataNumeric).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/NumericRange"]).to(Pe.DynamicTypeObjectDataNumericRange).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/Slider"]).to(Te.DynamicTypeObjectDataSlider).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/QuantityValue"]).to(je.DynamicTypeObjectDataQuantityValue).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/QuantityValueRange"]).to(Ce.DynamicTypeObjectDataQuantityValueRange).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/Consent"]).to(ke.DynamicTypeObjectDataConsent).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/Firstname"]).to(Ae.DynamicTypeObjectDataFirstname).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/Lastname"]).to(De.DynamicTypeObjectDataLastname).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/Email"]).to(Le.DynamicTypeObjectDataEmail).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/Gender"]).to(Re.DynamicTypeObjectDataGender).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/RgbaColor"]).to(Me.DynamicTypeObjectDataRgbaColor).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/Date"]).to(Ie.DynamicTypeObjectDataDate).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/Datetime"]).to(Ne.DynamicTypeObjectDataDatetime).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/DateRange"]).to(Be.DynamicTypeObjectDataDateRange).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/Time"]).to($e.DynamicTypeObjectDataTime).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/ExternalImage"]).to(Fe.DynamicTypeObjectDataExternalImage).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/GeoPoint"]).to(ze.DynamicTypeObjectDataGeoPoint).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/GeoBounds"]).to(Qe.DynamicTypeObjectDataGeoBounds).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/GeoPolygon"]).to(Ve.DynamicTypeObjectDataGeoPolygon).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/GeoPolyLine"]).to(Ue.DynamicTypeObjectDataGeoPolyLine).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/ManyToManyRelation"]).to(Ge.DynamicTypeObjectDataManyToManyRelation).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/StructuredTable"]).to(We.DynamicTypeObjectDataStructuredTable).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/Block"]).to(He.DynamicTypeObjectDataBlock).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/LocalizedFields"]).to(Ze.DynamicTypeObjectDataLocalizedFields).inSingletonScope(),n.container.bind(O.serviceIds["DynamicTypes/ObjectData/FieldCollection"]).to(nt.DynamicTypeObjectDataFieldCollection).inSingletonScope(),n.container.bind(O.serviceIds["ExecutionEngine/JobComponentRegistry"]).to(p.JobComponentRegistry).inSingletonScope(),n.container.bind(O.serviceIds["App/ComponentRegistry/ComponentRegistry"]).to(m.ComponentRegistry).inSingletonScope()},54088:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;ts,serviceIds:()=>l});var s={"DynamicTypes/FieldFilterRegistry":"DynamicTypes/FieldFilterRegistry","DynamicTypes/BatchEditRegistry":"DynamicTypes/BatchEditRegistry","DynamicTypes/GridCellRegistry":"DynamicTypes/GridCellRegistry","DynamicTypes/ListingRegistry":"DynamicTypes/ListingRegistry","DynamicTypes/MetadataRegistry":"DynamicTypes/MetadataRegistry","DynamicTypes/ObjectLayoutRegistry":"DynamicTypes/ObjectLayoutRegistry","DynamicTypes/ObjectDataRegistry":"DynamicTypes/ObjectDataRegistry"},l=i(i({widgetManager:"WidgetManagerService","Asset/Editor/TypeRegistry":"Asset/Editor/TypeRegistry","Asset/Editor/TypeComponentRegistry":"Asset/Editor/TypeComponentRegistry","Asset/Editor/DocumentTabManager":"Asset/Editor/DocumentTabManager","Asset/Editor/FolderTabManager":"Asset/Editor/FolderTabManager","Asset/Editor/ImageTabManager":"Asset/Editor/ImageTabManager","Asset/Editor/TextTabManager":"Asset/Editor/TextTabManager","Asset/Editor/VideoTabManager":"Asset/Editor/VideoTabManager","Asset/Editor/AudioTabManager":"Asset/Editor/AudioTabManager","Asset/Editor/ArchiveTabManager":"Asset/Editor/ArchiveTabManager","Asset/Editor/UnknownTabManager":"Asset/Editor/UnknownTabManager","DataObject/Editor/TypeRegistry":"DataObject/Editor/TypeRegistry","DataObject/Editor/ObjectTabManager":"DataObject/Editor/ObjectTabManager","DataObject/Editor/FolderTabManager":"DataObject/Editor/FolderTabManager",iconLibrary:"IconLibrary","Grid/TypeRegistry":"Grid/TypeRegistry"},s),{},{"DynamicTypes/FieldFilter/Text":"DynamicTypes/FieldFilter/Text","DynamicTypes/FieldFilter/Number":"DynamicTypes/FieldFilter/Number","DynamicTypes/FieldFilter/Select":"DynamicTypes/FieldFilter/Select","DynamicTypes/FieldFilter/Datetime":"DynamicTypes/FieldFilter/Datetime","DynamicTypes/BatchEdit/Text":"DynamicTypes/BatchEdit/Text","DynamicTypes/BatchEdit/TextArea":"DynamicTypes/BatchEdit/TextArea","DynamicTypes/GridCell/Text":"DynamicTypes/GridCell/Text","DynamicTypes/GridCell/Textarea":"DynamicTypes/GridCell/Textarea","DynamicTypes/GridCell/Number":"DynamicTypes/GridCell/Number","DynamicTypes/GridCell/Select":"DynamicTypes/GridCell/Select","DynamicTypes/GridCell/Checkbox":"DynamicTypes/GridCell/Checkbox","DynamicTypes/GridCell/Date":"DynamicTypes/GridCell/Date","DynamicTypes/GridCell/Time":"DynamicTypes/GridCell/Time","DynamicTypes/GridCell/DateTime":"DynamicTypes/GridCell/DateTime","DynamicTypes/GridCell/AssetLink":"DynamicTypes/GridCell/AssetLink","DynamicTypes/GridCell/ObjectLink":"DynamicTypes/GridCell/ObjectLink","DynamicTypes/GridCell/DocumentLink":"DynamicTypes/GridCell/DocumentLink","DynamicTypes/GridCell/OpenElement":"DynamicTypes/GridCell/OpenElement","DynamicTypes/GridCell/AssetPreview":"DynamicTypes/GridCell/AssetPreview","DynamicTypes/GridCell/AssetActions":"DynamicTypes/GridCell/AssetActions","DynamicTypes/GridCell/DependencyTypeIcon":"DynamicTypes/GridCell/DependencyTypeIcon","DynamicTypes/GridCell/AssetCustomMetadataIcon":"DynamicTypes/GridCell/AssetCustomMetadataIcon","DynamicTypes/GridCell/AssetCustomMetadataValue":"DynamicTypes/GridCell/AssetCustomMetadataValue","DynamicTypes/GridCell/PropertyIcon":"DynamicTypes/GridCell/PropertyIcon","DynamicTypes/GridCell/PropertyValue":"DynamicTypes/GridCell/PropertyValue","DynamicTypes/GridCell/ScheduleActionsSelect":"DynamicTypes/GridCell/ScheduleActionsSelect","DynamicTypes/GridCell/VersionsIdSelect":"DynamicTypes/GridCell/VersionsIdSelect","DynamicTypes/GridCell/AssetVersionPreviewFieldLabel":"DynamicTypes/GridCell/AssetVersionPreviewFieldLabel","DynamicTypes/GridCell/Asset":"DynamicTypes/GridCell/Asset","DynamicTypes/GridCell/Object":"DynamicTypes/GridCell/Object","DynamicTypes/GridCell/Document":"DynamicTypes/GridCell/Document","DynamicTypes/GridCell/LanguageSelect":"DynamicTypes/GridCell/LanguageSelect","DynamicTypes/GridCell/Translate":"DynamicTypes/GridCell/Translate","DynamicTypes/Listing/Text":"DynamicTypes/Listing/Text","DynamicTypes/Listing/AssetLink":"DynamicTypes/Listing/AssetLink","DynamicTypes/Listing/Select":"DynamicTypes/Listing/Select","DynamicTypes/Metadata/Asset":"DynamicTypes/Metadata/Asset","DynamicTypes/Metadata/Document":"DynamicTypes/Metadata/Document","DynamicTypes/Metadata/Object":"DynamicTypes/Metadata/Object","DynamicTypes/Metadata/Input":"DynamicTypes/Metadata/Input","DynamicTypes/Metadata/Textarea":"DynamicTypes/Metadata/Textarea","DynamicTypes/Metadata/Checkbox":"DynamicTypes/Metadata/Checkbox","DynamicTypes/Metadata/Select":"DynamicTypes/Metadata/Select","DynamicTypes/Metadata/Date":"DynamicTypes/Metadata/Date","DynamicTypes/ObjectLayout/Panel":"DynamicTypes/ObjectLayout/Panel","DynamicTypes/ObjectLayout/Tabpanel":"DynamicTypes/ObjectLayout/Tabpanel","DynamicTypes/ObjectLayout/Accordion":"DynamicTypes/ObjectLayout/Accordion","DynamicTypes/ObjectLayout/Region":"DynamicTypes/ObjectLayout/Region","DynamicTypes/ObjectLayout/Text":"DynamicTypes/ObjectLayout/Text","DynamicTypes/ObjectLayout/Fieldset":"DynamicTypes/ObjectLayout/Fieldset","DynamicTypes/ObjectLayout/FieldContainer":"DynamicTypes/ObjectLayout/FieldContainer","DynamicTypes/ObjectData/Input":"DynamicTypes/ObjectData/Input","DynamicTypes/ObjectData/Textarea":"DynamicTypes/ObjectData/Textarea","DynamicTypes/ObjectData/Password":"DynamicTypes/ObjectData/Password","DynamicTypes/ObjectData/InputQuantityValue":"DynamicTypes/ObjectData/InputQuantityValue","DynamicTypes/ObjectData/Select":"DynamicTypes/ObjectData/Select","DynamicTypes/ObjectData/MultiSelect":"DynamicTypes/ObjectData/MultiSelect","DynamicTypes/ObjectData/Language":"DynamicTypes/ObjectData/Language","DynamicTypes/ObjectData/LanguageMultiSelect":"DynamicTypes/ObjectData/LanguageMultiSelect","DynamicTypes/ObjectData/Country":"DynamicTypes/ObjectData/Country","DynamicTypes/ObjectData/CountryMultiSelect":"DynamicTypes/ObjectData/CountryMultiSelect","DynamicTypes/ObjectData/User":"DynamicTypes/ObjectData/User","DynamicTypes/ObjectData/BooleanSelect":"DynamicTypes/ObjectData/BooleanSelect","DynamicTypes/ObjectData/Numeric":"DynamicTypes/ObjectData/Numeric","DynamicTypes/ObjectData/NumericRange":"DynamicTypes/ObjectData/NumericRange","DynamicTypes/ObjectData/Slider":"DynamicTypes/ObjectData/Slider","DynamicTypes/ObjectData/QuantityValue":"DynamicTypes/ObjectData/QuantityValue","DynamicTypes/ObjectData/QuantityValueRange":"DynamicTypes/ObjectData/QuantityValueRange","DynamicTypes/ObjectData/Consent":"DynamicTypes/ObjectData/Consent","DynamicTypes/ObjectData/Firstname":"DynamicTypes/ObjectData/Firstname","DynamicTypes/ObjectData/Lastname":"DynamicTypes/ObjectData/Lastname","DynamicTypes/ObjectData/Email":"DynamicTypes/ObjectData/Email","DynamicTypes/ObjectData/Gender":"DynamicTypes/ObjectData/Gender","DynamicTypes/ObjectData/RgbaColor":"DynamicTypes/ObjectData/RgbaColor","DynamicTypes/ObjectData/Date":"DynamicTypes/ObjectData/Date","DynamicTypes/ObjectData/Datetime":"DynamicTypes/ObjectData/Datetime","DynamicTypes/ObjectData/DateRange":"DynamicTypes/ObjectData/DateRange","DynamicTypes/ObjectData/Time":"DynamicTypes/ObjectData/Time","DynamicTypes/ObjectData/ExternalImage":"DynamicTypes/ObjectData/ExternalImage","DynamicTypes/ObjectData/GeoPoint":"DynamicTypes/ObjectData/GeoPoint","DynamicTypes/ObjectData/GeoBounds":"DynamicTypes/ObjectData/GeoBounds","DynamicTypes/ObjectData/GeoPolygon":"DynamicTypes/ObjectData/GeoPolygon","DynamicTypes/ObjectData/GeoPolyLine":"DynamicTypes/ObjectData/GeoPolyLine","DynamicTypes/ObjectData/ManyToManyRelation":"DynamicTypes/ObjectData/ManyToManyRelation","DynamicTypes/ObjectData/StructuredTable":"DynamicTypes/ObjectData/StructuredTable","DynamicTypes/ObjectData/Block":"DynamicTypes/ObjectData/Block","DynamicTypes/ObjectData/LocalizedFields":"DynamicTypes/ObjectData/LocalizedFields","DynamicTypes/ObjectData/FieldCollection":"DynamicTypes/ObjectData/FieldCollection","ExecutionEngine/JobComponentRegistry":"ExecutionEngine/JobComponentRegistry","App/ComponentRegistry/ComponentRegistry":"App/ComponentRegistry/ComponentRegistry"})},81690:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ContainerContext:()=>i,ContainerProvider:()=>a,container:()=>o,useInjection:()=>s,useMultiInjection:()=>l,useOptionalInjection:()=>c});var n=(0,r(43056).createDiInstance)(),o=n.container,i=n.ContainerContext,a=n.ContainerProvider,s=n.useInjection,l=n.useMultiInjection,c=n.useOptionalInjection},73217:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(36609),o=r(30811);n.default.use(o.initReactI18next).init({fallbackLng:"en",ns:["translation"],resources:{},saveMissing:!0}).catch((function(e){console.error(e)})),n.default.on("missingKey",(function(e,t,r,n){}));const i=n.default},80237:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ra,moduleSystem:()=>s});var a=function(){return e=function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=[],(r=i(r="registry"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n},(t=[{key:"registerModule",value:function(e){this.registry.push(e)}},{key:"initModules",value:function(){this.registry.forEach((function(e){e.onInit()}))}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}(),s=new a},19387:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PluginSystem:()=>u,pluginSystem:()=>f});var n=r(81690),o=r(80237);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(){a=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,l,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,l)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,a,s,l){var c=p(e[o],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==i(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return r("throw",e,s,l)}))}l(c.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function s(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{router:()=>c,routes:()=>l});var n=r(36198),o=r(79655),i=r(54224),a=r(7367),s=r(7056).appConfig.baseUrl;s.endsWith("/")&&(s=s.slice(0,-1)+"/");var l={root:s,login:"".concat(s,"login/")},c=(0,o.createBrowserRouter)([{path:l.root,element:n.createElement(i.DefaultPage,null)},{path:l.login,element:n.createElement(a.LoginPage,null)}])},7496:(e,t,r)=>{"use strict";r.r(t),r.d(t,{injectSliceWithState:()=>c,rootReducer:()=>s,store:()=>l,useAppDispatch:()=>u,useAppSelector:()=>f});var n=r(8327),o=r(45007),i=r(35525),a=[i.api],s=n.combineSlices.apply(void 0,[{}].concat(a)).withLazyLoadedSlices(),l=(0,n.configureStore)({reducer:s,middleware:function(e){return e({serializableCheck:{ignoredActions:["execution-engine/jobReceived"],ignoredActionPaths:["execution-engine","meta"],ignoredPaths:["execution-engine","meta"]}}).concat(i.api.middleware)}}),c=function(e){return a.push(e),s=n.combineSlices.apply(void 0,[{}].concat(a)).withLazyLoadedSlices(),l.replaceReducer(s),s},u=o.useDispatch,f=o.useSelector},8844:(e,t,r)=>{"use strict";r.r(t);r(63657),r(7056),r(80237),r(52435),r(73217),r(89378),r(44861),r(65713),r(32248),r(6395),r(15656),r(44130),r(68255)},95675:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{card:(0,e.css)(n||(t=["\n & .ant-collapse {\n width: 340px;\n background-color: white;\n }\n\n & span, & div, div.anticon, button {\n vertical-align: middle;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},94046:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AccordionTimeline:()=>s});var n=r(36198),o=r(95675),i=r(87629),a=r(54688),s=function(e){var t=e.items,r=(0,o.useStyle)().styles,s=t.map((function(e){return n.createElement("div",{className:[r.card,e.className].join(" "),key:e.key},!0===e.selected?n.createElement(a.Accordion,{activeKey:e.key,expandIconPosition:"after-title",items:[e]}):n.createElement(a.Accordion,{expandIconPosition:"after-title",items:[e]}))}));return n.createElement(i.VerticalTimeline,{timeStamps:s})}},58893:(e,t,r)=>{"use strict";var n,o,i;function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){var n;return n=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.r(t),r.d(t,{useStyles:()=>u});var u=(0,r(99291).createStyles)((function(e){var t=e.token,r=e.css,a=function(e){for(var t=1;t .ant-collapse-item:last-child {\n > .ant-collapse-header[aria-expanded='false'] {\n border-radius: ","px;\n }\n\n > .ant-collapse-header[aria-expanded='true'] {\n border-top-left-radius: ","px;\n border-top-right-radius: ","px;\n }\n }\n }\n\n .ant-collapse-item.accordion__item--theme-success {\n border: 1px solid ",";\n border-radius: ","px !important;\n background-color: ",";\n\n > .ant-collapse-content {\n border-top: 1px solid ",";\n background-color: transparent;\n }\n }\n\n .ant-collapse-item.accordion__item--theme-primary {\n border: 1px solid ",";\n border-radius: ","px !important;\n background-color: ",";\n\n > .ant-collapse-content {\n border-top: 1px solid ",";\n background-color: transparent;\n }\n }\n\n .accordion__item {\n > .ant-collapse-header {\n display: inline-flex;\n width: 100%;\n align-items: baseline;\n\n > .ant-collapse-header-text {\n margin-inline-end: 0;\n }\n\n > .ant-collapse-expand-icon {\n display: none;\n }\n }\n\n .accordion__chevron-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0 ","px;\n }\n\n .accordion__chevron {\n rotate: 180deg;\n transition-duration: 0.6s;\n transition-property: transform;\n }\n\n .accordion__chevron--up {\n transform: rotate(-180deg);\n }\n }\n\n .ant-collapse-extra {\n order: 1;\n margin-left: 5px;\n }\n "])),a.borderRadiusLG,a.borderRadiusLG,a.borderRadiusLG,a.highlightBorderColor,a.borderRadiusLG,a.highlightBackgroundColor,a.highlightBorderColor,a.colorBorder,a.borderRadiusLG,a.colorFillAlter,a.colorBorder,t.marginXXS),bordered:r(o||(o=s(["\n &.accordion--bordered {\n .ant-collapse-item {\n background: ",";\n border: 1px solid ",";\n border-radius: ","px;\n }\n \n .ant-collapse-header {\n font-weight: ",";\n }\n\n .accordion-item__header-info {\n font-weight: 400;\n color: ",";\n }\n\n .ant-collapse-content {\n border-color: ",";\n }\n \n &.ant-collapse-small {\n .ant-collapse-item {\n border-radius: ","px;\n }\n \n .ant-collapse-header {\n padding: ","px ","px;\n }\n }\n }\n "])),t.colorBgContainer,t.colorBorderSecondary,t.borderRadius,t.fontWeightStrong,t.colorTextSecondary,t.colorBorderSecondary,t.borderRadiusSM,t.paddingXXS,t.paddingSM),spaced:r(i||(i=s(["\n background: ",";\n\n .accordion__item {\n margin-bottom: 24px;\n border-bottom: none;\n }\n\n .ant-collapse-header[aria-expanded='false'] {\n background-color: ",";\n border: 1px solid ",";\n border-radius: 5px;\n }\n\n .ant-collapse-header[aria-expanded='true'] {\n background-color: ",";\n border: 1px solid ",";\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n }\n\n .ant-collapse-content-box {\n border: 1px solid ",";\n border-top: none;\n border-bottom-left-radius: 5px;\n border-bottom-right-radius: 5px;\n background-color: ",";\n }\n "])),t.colorBgContainer,t.colorBgSelectedTab,t.colorBorder,t.colorBgSelectedTab,t.colorBorder,t.colorBorder,t.colorBgSelectedTab)}}))},54688:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Accordion:()=>b});var n=r(36198),o=r(55328),i=r(58893),a=r(36609),s=r(27027);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var c=["items","accordion","spaced","bordered","className","activeKey","expandIconPosition"],u=["disabled"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var b=function(e){var t,r=e.items,l=e.accordion,f=void 0!==l&&l,p=e.spaced,y=void 0!==p&&p,g=e.bordered,b=void 0!==g&&g,O=e.className,w=e.activeKey,S=e.expandIconPosition,x=void 0===S?"after-title":S,E=v(e,c),_=(0,i.useStyles)().styles,P=m((0,n.useState)([]),2),T=P[0],j=P[1];(0,n.useEffect)((function(){j([String(w)])}),[w]);var C=null!==(t=null==r?void 0:r.map((function(e){var t,r=["accordion__chevron",null!=e.key&&T.includes(String(e.key))?"accordion__chevron--up":""].join(" "),i=function(){return n.createElement(s.IconButton,{"aria-label":a.default.t("aria.notes-and-events.expand"),className:"accordion__chevron-btn",icon:{value:"chevron-up",className:r},onClick:function(){var t;null!=e.id&&(t=e.id,j(f?function(e){return e.includes(t)?[]:[t]}:function(e){return e.includes(t)?e.filter((function(e){return e!==t})):[].concat(h(e),[t])}))},role:"button",size:"small",type:"text",variant:"minimal"})},l=(e.disabled,v(e,u)),c=[null==e?void 0:e.className,"accordion__item"].filter(Boolean);return void 0!==e.theme&&c.push("accordion__item--".concat(e.theme)),d(d({},l),{},{className:c.join(" "),label:n.createElement(n.Fragment,null,n.createElement(o.Flex,{align:"baseline"},"start"===x&&null!==e.children&&!(!0===e.disabled)&&i(),e.title,"after-title"===x&&null!==e.children&&!(!0===e.disabled)&&i(),n.createElement("span",{className:"accordion-item__header-info"},null!==e.info&&e.info)),e.subtitle)},null!==(t=e.disabled)&&void 0!==t&&t?{collapsible:"icon"}:{})})))&&void 0!==t?t:[],k=["accordion",O,_.accordion];return y&&(k.push("accordion--spaced",_.spaced),k.push(_.spaced)),b&&(k.push("accordion--bordered",_.bordered),k.push(_.bordered)),n.createElement(o.Collapse,d({accordion:f,activeKey:T,bordered:!y,className:k.join(" "),items:C,onChange:function(e){j(Array.isArray(e)?e:[e])}},E))}},4861:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.css,i=e.token;return{alert:o(n||(t=["\n &.ant-alert-banner {\n padding: ","px ","px;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),i.paddingContentVerticalSM,i.paddingSM)}}))},94617:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Alert:()=>p});var n=r(36198),o=r(93967),i=r.n(o),a=r(55328),s=r(4861);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var c=["className","rootClassName"];function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e,t,r){var n;return n=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==l(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=function(e){var t=e.className,r=e.rootClassName,o=d(e,c),l=(0,s.useStyles)().styles;return n.createElement(a.Alert,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{background:(0,e.css)(n||(t=["\n position: absolute;\n inset: 0;\n background: #FFF;\n overflow: hidden; \n opacity: 0.3;\n\n .background-figure {\n position: absolute;\n\n &--top-left {\n top: -80%;\n left: -30%;\n width: 1324px;\n height: 1324px;\n transform: rotate(65.637deg);\n flex-shrink: 0;\n border-radius: var(--Components-Input-Component-paddingBlockSM, 1324px);\n background: rgba(55, 217, 243, 0.20);\n filter: blur(310px);\n }\n\n\n &--bottom-left {\n width: 651.152px;\n height: 1503.398px;\n transform: rotate(28.303deg);\n flex-shrink: 0;\n border-radius: var(--Components-Input-Component-paddingBlockSM, 1503.398px);\n background: #FDFFFF;\n filter: blur(310px);\n }\n\n &--bottom-right {\n left: 11%;\n width: 1642px;\n height: 686px;\n transform: rotate(65.637deg);\n flex-shrink: 0;\n border-radius: var(--Components-Input-Component-paddingBlockSM, 1642px);\n background: rgba(122, 58, 212, 0.42);\n filter: blur(310px);\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},17180:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Background:()=>i});var n=r(36198),o=r(48349),i=function(){var e=(0,o.useStyle)().styles;return n.createElement("div",{className:e.background},n.createElement("div",{className:"background-figure background-figure--bottom-left"}),n.createElement("div",{className:"background-figure background-figure--bottom-right"}),n.createElement("div",{className:"background-figure background-figure--top-left"}))}},7667:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Badge:()=>u});var n=r(36198),o=r(55328);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var a=["color","children"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){var n;return n=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==i(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=function(e){var t=e.color,r=(e.children,c(e,a));return n.createElement(o.Badge,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;return{box:(0,e.css)(n||(t=["\n &.box--inline {\n display: inline-block;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},48388:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Box:()=>f,getSizingClasses:()=>u});var n=r(36198),o=r(9072),i=["children","padding","margin","className","component","inline"];function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t,r){var n;return n=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==c(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var u=function(e,t){var r=[];return"string"==typeof t?(r.push("".concat(e,"-").concat(t)),r):"object"===c(t)?("x"in t&&r.push("".concat(e,"-x-").concat(t.x)),"y"in t&&r.push("".concat(e,"-y-").concat(t.y)),"top"in t&&r.push("".concat(e,"-t-").concat(t.top)),"bottom"in t&&r.push("".concat(e,"-b-").concat(t.bottom)),"left"in t&&r.push("".concat(e,"-l-").concat(t.left)),"right"in t&&r.push("".concat(e,"-r-").concat(t.right)),r):r},f=function(e){var t=e.children,r=e.padding,c=e.margin,f=e.className,d=e.component,p=void 0===d?"div":d,h=e.inline,m=l(e,i),y=["box",(0,o.useStyles)().styles.box,!0===h?"box--inline":"",null!=f?f:""],g=u("p",r),v=u("m",c),b=p;return n.createElement(b,function(e){for(var t=1;t{"use strict";var n,o,i,a,s;function l(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>c});var c=(0,r(99291).createStyles)((function(e){var t=e.token,r=e.css;return{breadcrumb:r(n||(n=l(['\n .ant-dropdown-trigger {\n cursor: pointer;\n \n > span[role="img"] {\n display: none\n }\n }\n ']))),breadcrumbLink:r(o||(o=l(["\n color: ",";\n "])),t.colorTextTertiary),breadcrumbLinkLast:r(i||(i=l(["\n color: ",";\n "])),t.colorText),pathItem:r(a||(a=l(["\n cursor: pointer;\n \n &:hover {\n color: ",";\n }\n "])),t.colorPrimaryHover),dropdownMenu:r(s||(s=l(["\n max-width: 400px;\n "])))}}))},25063:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Breadcrumb:()=>S});var n=r(36198),o=r(55328),i=r(93967),a=r.n(i),s=r(7496),l=r(92908),c=r(73990),u=r(99401),f=r(2166),d=r(34648),p=r(22953);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r2&&"L"===h&&(C.push({title:s({content:t[o-2],style:{maxWidth:"100px"}}),className:_.pathItem,onClick:function(){i(t.slice(0,o-1).join("/"))}}),o>3)){for(var f=[],d=function(e){f.push({title:t[e],onClick:function(){i(t.slice(0,e+1).join("/"))}})},b=1;b2&&"L"!==h){for(var O=[],w=function(e){O.push({title:t[e],onClick:function(){i(t.slice(0,e+1).join("/"))}})},S=1;S{"use strict";r.r(t),r.d(t,{useBreadcrumbSize:()=>a});var n=r(36198);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r375&&e<=450&&(a(!0),c(70)),e>450&&e<=550&&(a(!0),c(85)),e>550&&e<=700&&(a(!0),c(100)),e>700&&e<=800&&(a(!0),c(150)),e>800&&e<=900&&(a(!0),c(200)),e>900&&e<=1e3&&(a(!0),c(300)),e>1e3&&e<=1100&&(a(!0),c(400)),e>1100&&e<=1200&&(a(!0),c(500)),e>1200&&e<=1300&&(a(!0),c(600)),e>1300&&(a(!1),c(t)))}),[e,t]),{isHideBreadcrumb:i,currentBreadcrumbWidth:l}}},71651:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.css,i=e.token;return{buttonGroup:o(n||(t=["\n &.button-group--with-separator {\n & > .button-group__item:not(:last-child) {\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n right: -4px;\n top: 3px;\n bottom: 3px;\n width: 1px;\n background-color: ",";\n }\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),i.Divider.colorSplit)}}))},54512:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ButtonGroup:()=>a});var n=r(36198),o=r(55328),i=r(71651),a=function(e){var t=e.items,r=e.noSpacing,a=void 0!==r&&r,s=e.withSeparator,l=void 0!==s&&s,c=[(0,i.useStyles)().styles.buttonGroup,"button-group"];return l&&c.push("button-group--with-separator"),n.createElement(n.Fragment,null,!a&&n.createElement(o.Flex,{align:"center",className:c.join(" "),gap:"small"},t.map((function(e,t){return n.createElement("div",{className:"button-group__item",key:t},e)}))),a&&n.createElement(o.Button.Group,null,t.map((function(e,t){return n.createElement("span",{key:t},e)}))))}},89553:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{button:(0,e.css)(n||(t=["\n position: relative;\n\n .button__loading-spinner,\n .ant-spin-dot {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n margin: auto;\n color: inherit;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},71816:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Button:()=>y});var n=r(36198),o=r(55328),i=r(72828),a=r(93967),s=r.n(a),l=r(94622),c=r(89553);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}var f=["loading","children","className"];function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e,t,r){var n;return n=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==u(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var m=function(e,t){var r=e.loading,a=e.children,u=e.className,m=h(e,f),y=(0,n.useRef)(null),g=(0,c.useStyles)().styles;(0,n.useImperativeHandle)(t,(function(){return y.current}));var v=s()("button",g.button,{"ant-btn-loading":r},u);return(0,n.useEffect)((function(){return!0===r&&null!==y.current&&(y.current.style.width=y.current.getBoundingClientRect().width+"px",y.current.style.height=y.current.getBoundingClientRect().height+"px"),function(){!0===r&&null!==y.current&&(y.current.style.width="",y.current.style.height="")}}),[r]),n.createElement(o.Button,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{card:(0,e.css)(n||(t=["\n .ant-card-head {\n min-height: 38px;\n padding: ","px ","px;\n }\n\n &.ant-card:not(.ant-card-bordered) {\n box-shadow: none;\n }\n\n .ant-card-head-title {\n display: flex;\n align-items: center;\n gap: ","px;\n font-size: ","px;\n }\n\n .ant-card-extra {\n display: flex;\n align-items: center;\n gap: ","px;\n color: ",";\n }\n\n .ant-card-body {\n padding: ","px;\n }\n\n &.card-with-footer {\n .ant-card-body {\n padding: 0;\n }\n\n .card-body-inner {\n padding: ","px\n }\n .card-footer {\n padding: ","px ","px;\n border-top: 1px solid ",";\n }\n }\n \n &.card-fit-content {\n width: fit-content;\n }\n \n .ant-card-actions {\n padding: ","px;\n\n li {\n margin: 0;\n max-width: fit-content;\n }\n\n li:not(:last-child) {\n border: none;\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingXXS,o.paddingSM,o.marginXS,o.fontSize,o.marginXXS,o.colorTextSecondary,o.paddingSM,o.paddingSM,o.paddingXXS,o.paddingXS,o.colorBorderSecondary,o.paddingXXS)}}))},14500:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Card:()=>g});var n=r(36198),o=r(55328),i=r(16554),a=r(27027),s=r(54663),l=r(71590),c=r(30811),u=["loading","children","footer","fitContent","className"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var y=function(e,t){e.loading;var r,f=e.children,p=e.footer,y=e.fitContent,g=e.className,v=m(e,u),b=(0,c.useTranslation)().t,O=[(0,i.useStyles)().styles.card,g,void 0!==p?"card-with-footer":"",!0===y?"card-fit-content":""].filter(Boolean);return n.createElement(o.Card,d(d({},v),{},{actions:v.actions,className:O.join(" "),cover:null!==v.image&&void 0!==(null===(r=v.image)||void 0===r?void 0:r.src)?n.createElement(l.PimcoreImage,{alt:v.image.alt,src:v.image.src}):v.cover,extra:void 0!==v.extra&&null!==v.extra?n.createElement(n.Fragment,null,Array.isArray(v.extra)?n.createElement("div",null,v.extra.map((function(e,t){return"object"===h(e)&&void 0!==e.icon?n.createElement(a.IconButton,{icon:{value:e.icon},key:t,onClick:e.onClick,role:"button",title:e.title,type:void 0!==e.type?e.type:"text"}):n.createElement(n.Fragment,{key:t},e)}))):null,void 0!==v.onClose?n.createElement(a.IconButton,{"aria-label":b("aria.card.close"),icon:{value:"close"},onClick:function(){var e;return null===(e=v.onClose)||void 0===e?void 0:e.call(v)},role:"button",size:"small",type:"text"}):null):null,title:void 0!==v.title&&null!==v.title?n.createElement(n.Fragment,null,void 0!==v.icon&&null!==v.icon?n.createElement(s.Icon,{value:v.icon}):null,v.title):null}),void 0!==p&&void 0!==f?n.createElement("div",{className:"card-body-inner"},f):f,void 0!==p&&n.createElement("div",{className:"card-footer"},p))},g=n.forwardRef(y)},35182:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Compact:()=>l});var n=r(55328),o=r(36198);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t,r){var n;return n=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==i(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l=function(e){return o.createElement(n.Space.Compact,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{ContentLayout:(0,e.css)(n||(t=["\n &.content-toolbar-sidebar-layout {\n position: relative;\n display: grid;\n grid-template-columns: 1fr auto;\n grid-template-rows: auto 1fr auto;\n height: 100%;\n width: 100%;\n overflow: hidden;\n }\n\n .content-toolbar-sidebar-layout__top-bar {\n grid-column: 1 / 2;\n grid-row: 1 / 2;\n position: sticky;\n bottom: 0;\n height: max-content; \n overflow: hidden;\n }\n\n .content-toolbar-sidebar-layout__content {\n display: flex;\n grid-column: 1 / 2;\n grid-row: 2 / 3;\n overflow: auto;\n height: 100%;\n width: 100%;\n }\n\n .content-toolbar-sidebar-layout__toolbar {\n grid-column: 1 / 2;\n grid-row: 3 / 4;\n position: sticky;\n bottom: 0;\n height: max-content; \n overflow: hidden;\n }\n\n .content-toolbar-sidebar-layout__sidebar {\n grid-column: 2 / 3;\n grid-row: 1 / 4;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},32215:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ContentLayout:()=>s});var n=r(36198),o=r(21099),i=r(82755),a=function(e){var t=["content-toolbar-sidebar-layout",(0,o.useStyles)().styles.ContentLayout];return void 0!==e.renderToolbar&&t.push("content-toolbar-sidebar-layout--with-toolbar"),n.createElement("div",{className:t.join(" ")},void 0!==e.renderTopBar&&n.createElement("div",{className:"content-toolbar-sidebar-layout__top-bar"},e.renderTopBar),n.createElement(i.Content,{className:"content-toolbar-sidebar-layout__content"},e.children),void 0!==e.renderToolbar&&n.createElement("div",{className:"content-toolbar-sidebar-layout__toolbar"},e.renderToolbar),void 0!==e.renderSidebar&&n.createElement("div",{className:"content-toolbar-sidebar-layout__sidebar"},e.renderSidebar))},s=(0,n.memo)(a)},49596:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{content:(0,e.css)(n||(t=["\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n overflow: auto;\n gap: 12px;\n\n &.content--padded {\n padding: ","px;\n }\n\n &.content--centered {\n justify-content: center;\n align-items: center;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingSM)}}))},82755:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Content:()=>h});var n=r(36198),o=r(49596),i=r(32859),a=r(94622),s=r(48388);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var c=["children","padded","padding","className","loading","none","centered","noneOptions"];function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var h=function(e){var t=e.children,r=e.padded,l=void 0!==r&&r,u=e.padding,d=void 0===u?{top:"small",x:"extra-small",bottom:"extra-small"}:u,h=e.className,m=e.loading,y=void 0!==m&&m,g=e.none,v=void 0!==g&&g,b=e.centered,O=void 0!==b&&b,w=e.noneOptions,S=p(e,c),x=[(0,o.useStyles)().styles.content,"content",h],E=!y&&!v;return(O||v||y)&&x.push("content--centered"),n.createElement(s.Box,f({className:x.join(" "),padding:l?d:"none"},S),y&&n.createElement(a.Spin,{asContainer:!0,tip:"Loading"}),v&&!y&&n.createElement(i.NoContent,f({},w)),E&&t)}},82640:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DatePicker:()=>h});var n=r(36198),o=r(55328),i=r(94692),a=r(27048),s=r(94666);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{DateRangePicker:()=>d});var n=r(36198),o=r(55328),i=r(94692);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{TimePicker:()=>d});var n=r(36198),o=r(94692),i=r(55328);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{formatDatePickerDate:()=>s,fromDayJs:()=>a,toDayJs:()=>i});var n=r(27484),o=r.n(n),i=function(e,t){return o().isDayjs(e)?e:"number"==typeof e?o().unix(e):"string"==typeof e?o()(e,t):null},a=function(e,t,r){return null===e?null:"timestamp"===t?e.unix():"dateString"===t?void 0!==r?e.format(r):e.format():e},s=function(e){return null==e?"":o().isDayjs(e)?"[dayjs object]: "+e.toString():e.toString()}},40932:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ra});var a=function(){return e=function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n={},(r=i(r="callbacks"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n},(t=[{key:"register",value:function(e,t){this.callbacks[e]=t}},{key:"unregister",value:function(e){delete this.callbacks[e]}},{key:"get",value:function(e){return this.callbacks[e]}},{key:"getCallbacks",value:function(){return this.callbacks}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()},79371:(e,t,r)=>{"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);ra,transformBoundingRectToCoordinates:()=>i});var i=function(e){return{x1:e.left,x2:e.right,y1:e.top,y2:e.bottom}},a=function(e){var t=e.droppableContainers,r=document.querySelector(".dnd-overlay"),o=[],a=null==r?void 0:r.getBoundingClientRect();if(void 0===a)return[];var s,l=i(a),c=n(t);try{for(c.s();!(s=c.n()).done;){var u=s.value;if(null!==u.node.current){var f=u.node.current.getBoundingClientRect();if(0!==f.width){var d=i(f),p=Math.max(l.x1,d.x1),h=Math.min(l.x2,d.x2),m=Math.max(l.y1,d.y1),y=Math.min(l.y2,d.y2);p{"use strict";r.r(t),r.d(t,{DragAndDropContextProvider:()=>y,DragAndDropInfoContext:()=>m});var n=r(36198),o=r(94697),i=r(40932),a=r(41995),s=r(79371);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;return{dragOverlay:(0,e.css)(n||(t=["\n display: inline-flex;\n gap: 5px;\n align-items: center;\n padding: 5px;\n width: max-content;\n background: white;\n box-shadow: 0px 6px 16px 0px rgba(0, 0, 0, 0.08), 0px 3px 6px -4px rgba(0, 0, 0, 0.12), 0px 9px 28px 8px rgba(0, 0, 0, 0.05);\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},41995:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DragOverlay:()=>a});var n=r(36198),o=r(54663),i=r(2033),a=function(e){var t=(0,i.useStyle)().styles,r=n.useRef(null);return n.createElement("div",{className:["dnd__overlay",t.dragOverlay].join(" "),ref:r},n.createElement(o.Icon,{value:e.info.icon})," ",e.info.title)}},68834:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalStyle:()=>n});var n=(0,r(99291).createGlobalStyle)((function(e){var t=e.theme;return{".dnd--dragging":{cursor:"move"},".dnd--invalid":{".dnd__overlay":{background:t.colorErrorBg,color:t.colorErrorActive}}}}))},61394:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Draggable:()=>h});var n=r(36198),o=r(94697),i=r(86536),a=r(68834);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{DroppableContextProvider:()=>o,droppableContext:()=>n});var n=(0,r(36198).createContext)({isOver:!1,isValid:!1,isDragActive:!1}),o=n.Provider},52507:(e,t,r)=>{"use strict";var n,o,i;function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>s});var s=(0,r(99291).createStyles)((function(e){var t=e.token,r=e.css;return{default:r(n||(n=a(["\n & .dnd--drag-active {\n background: ",";\n border: 1px dashed ",";\n }\n \n & .dnd--drag-valid {\n background: ",";\n border: 1px dashed ",";\n }\n\n & .dnd--drag-error {\n background: ",";\n border: 1px dashed ",";\n }\n "])),t.colorBgContainerDisabled,t.colorBorder,t.colorBgTextActive,t.colorInfoBorder,t.colorErrorBg,t.colorErrorActive),outline:r(o||(o=a(["\n \n & .dnd--drag-valid {\n outline: 1px dashed ",";\n }\n\n & .dnd--drag-error {\n outline: 1px dashed ",";\n }\n "])),t.colorInfoBorder,t.colorErrorActive),round:r(i||(i=a(["\n & .dnd--drag-active, & .dnd--drag-valid, & .dnd--drag-error {\n border-radius: ","px;\n }\n "])),t.borderRadius)}}))},79301:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Droppable:()=>g});var n=r(36198),o=r(26486),i=r(94697),a=r(52507),s=r(74984),l=r(86536),c=r(93967),u=r.n(c);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{useDroppable:()=>i});var n=r(36198),o=r(74984),i=function(){var e=(0,n.useContext)(o.droppableContext),t=e.isDragActive,r=e.isOver,i=e.isValid;return{isDragActive:t,isOver:r,isValid:i,getStateClasses:function(){var e=[];return t&&e.push("dnd--drag-active"),r&&i&&e.push("dnd--drag-valid"),r&&!i&&e.push("dnd--drag-error"),e}}}},37394:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useSortableContext:()=>a});var n=r(94697),o=r(45587),i=r(36198),a=function(e){var t=e.onDragEnd,r=e.items,a=e.sortingStrategy,s=void 0===a?o.verticalListSortingStrategy:a,l=(0,n.useSensors)((0,n.useSensor)(n.PointerSensor),(0,n.useSensor)(n.KeyboardSensor,{coordinateGetter:o.sortableKeyboardCoordinates}));return{ContextHolder:function(e){var a=e.children;return i.createElement(n.DndContext,{collisionDetection:n.closestCenter,onDragEnd:t,sensors:l},i.createElement(o.SortableContext,{items:r,strategy:s},a))}}}},48665:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DropdownButton:()=>f});var n=r(36198),o=r(62833);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var a=["icon"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var f=function(e){var t=e.icon,r=u(e,a);return n.createElement(o.IconTextButton,l({icon:l({value:"icon-tools"},t),iconPlacement:"right",type:"link"},r))}},30189:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DropdownInner:()=>d});var n=r(36198),o=r(55328),i=r(16920);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=["selectedKeys","onSelect","menu","menuRef"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var d=function(e){e.selectedKeys,e.onSelect;var t=e.menu,r=e.menuRef,a=f(e,s),l=t.items;return n.createElement(o.Dropdown,c(c({},a),{},{dropdownRender:function(){return n.createElement(n.Fragment,null,n.createElement(o.Menu,{ref:r},null==l?void 0:l.map((function(e){return(0,i.renderDropdownItem)({item:e})}))))}}),a.children)}},40826:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{dropdown:(0,e.css)(n||(t=["\n .ant-dropdown-menu {\n display: flex;\n flex-direction: column;\n }\n \n .ant-dropdown-menu-item-group-list {\n display: flex;\n flex-direction: column;\n }\n \n .ant-dropdown-menu-submenu {\n .ant-dropdown-menu-submenu-title {\n display: flex;\n align-items: center;\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},41642:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Dropdown:()=>p});var n=r(36198),o=r(30189),i=r(40870),a=r(40826);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var l=["selectedKeys","onSelect","menu"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=function(e){var t=e.selectedKeys,r=e.onSelect,s=e.menu,c=d(e,l),f=(0,a.useStyle)().styles,p=s.selectable,h=s.multiple,m=s.items,y=i.SelectionType.Disabled;!0===p&&(y=!0===h?i.SelectionType.Multiple:i.SelectionType.Single);var g=null==m?void 0:m.filter((function e(t){return!0!==(null==t?void 0:t.hidden)&&(void 0===(null==t?void 0:t.children)||(t.children=t.children.filter(e)).length)}));return n.createElement(i.SelectionProvider,{selectedKeys:t,selectionType:y},n.createElement(o.DropdownInner,u(u({},c),{},{menu:u(u({},s),{},{items:g}),onSelect:r,overlayClassName:f.dropdown})))}},17944:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CustomItem:()=>o});var n=r(36198),o=function(e){var t=e.component;return n.createElement(n.Fragment,null,t)}},89048:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{dropdownItem:(0,e.css)(n||(t=["\n &.ant-dropdown-menu-item-active {\n background-color: "," !important;\n\n &:hover {\n background-color: rgba(0, 0, 0, 0.04) !important;\n }\n }\n\n &.default-item--with-icon-right {\n padding-right: 4px !important;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorBgContainer)}}))},21724:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DefaultItem:()=>m,WithExtendedApi:()=>h});var n=r(36198),o=r(55328),i=r(89048),a=r(34657),s=r(77829);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var c=["label","key","selectable","id"];function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var h=function(e){return function(t){var r=t.label,l=t.key,u=t.selectable,d=t.id,h=p(t,c),m=(0,i.useStyles)().styles,y=(0,s.useSelection)().selectionType,g=[m.dropdownItem];return g.push("is-custom-item"),!0===u&&"disabled"!==y&&g.push("default-item--with-icon-right"),n.createElement(e,f(f({id:l},h),{},{className:g.join(" ")}),n.createElement(o.Flex,{align:"center",gap:8,justify:"space-between"},n.createElement("span",null,r),!0===u&&"disabled"!==y&&n.createElement(a.SelectionButton,{id:d,key:d})))}},m=h(o.Menu.Item)},32949:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DividerItem:()=>l});var n=r(55328),o=r(36198);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t,r){var n;return n=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==i(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l=function(e){return o.createElement(n.Menu.Divider,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{groupItem:(0,e.css)(n||(t=["\n .ant-dropdown-menu-item-group-list {\n margin: 0 !important;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},40289:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GroupItem:()=>h,WithExtendedApi:()=>p});var n=r(55328),o=r(16920),i=r(36198),a=r(46945);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var l=["children","label"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=function(e){return function(t){var r=t.children,n=t.label,s=d(t,l),c=(0,a.useStyles)().styles;return i.createElement(e,u(u({title:n},s),{},{className:c.groupItem}),null==r?void 0:r.map((function(e){return(0,o.renderDropdownItem)({item:e})})))}},h=p(n.Menu.ItemGroup)},31864:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SubMenuItem:()=>d,WithExtendedApi:()=>f});var n=r(55328),o=r(16920),i=r(36198);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=["children","popupOffset","label"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){var n;return n=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var f=function(e){return function(t){var r=t.children,n=(t.popupOffset,t.label),a=u(t,s);return i.createElement(e,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{renderDropdownItem:()=>p});var n=r(36198),o=r(17944),i=r(32949),a=r(40289),s=r(31864),l=r(21724);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useSelection:()=>d});var n=r(36198),o=r(40870);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var a=["selectedKeys","setSelectedKeys","selectionType"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){var n;return n=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==i(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var d=function(){var e=(0,n.useContext)(o.SelectionContext),t=e.selectedKeys,r=e.setSelectedKeys,i=e.selectionType,u=f(e,a);function d(e){return t.includes(e)}function p(e){i!==o.SelectionType.Disabled&&(i!==o.SelectionType.Single?i===o.SelectionType.Multiple&&r([].concat(c(t),[e])):r([e]))}function h(e){i!==o.SelectionType.Disabled&&r(t.filter((function(t){return t!==e})))}return function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.css,i=e.token;return{selectionButton:o(n||(t=["\n color: transparent;\n transition: color 0.3s;\n\n &.selection-button--active {\n color: ",";\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),i.colorPrimary)}}))},34657:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SelectionButton:()=>s});var n=r(27027),o=r(36198),i=r(77829),a=r(85473),s=function(e){var t=e.id,r=(0,a.useStyles)().styles,s=(0,i.useSelection)(),l=s.toggle,c=s.isSelected,u=[r.selectionButton];return c(t)&&u.push("selection-button--active"),o.createElement(n.IconButton,{className:u.join(" "),icon:{value:"pin-02"},onClick:function(e){e.stopPropagation(),l(t)},variant:"minimal"})}},40870:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SelectionContext:()=>c,SelectionProvider:()=>u,SelectionType:()=>n});var n,o=r(36198),i=["children","onSelected"];function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}!function(e){e.Disabled="disabled",e.Single="single",e.Multiple="multiple"}(n||(n={}));var c=(0,o.createContext)({selectionType:n.Disabled,selectedKeys:[],setSelectedKeys:function(){},onSelected:function(){}}),u=function(e){var t,r=e.children,n=e.onSelected,s=l(e,i),u=a((0,o.useState)(null!==(t=s.selectedKeys)&&void 0!==t?t:[]),2),f=u[0],d=u[1];return(0,o.useEffect)((function(){var e;d(null!==(e=s.selectedKeys)&&void 0!==e?e:[])}),[s.selectedKeys]),(0,o.useMemo)((function(){return o.createElement(c.Provider,{value:{selectedKeys:f,setSelectedKeys:p,selectionType:s.selectionType,onSelected:n}},r)}),[f,s.selectionType,r]);function p(e){d((function(){return void 0!==n&&n(e),e}))}}},52540:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{toolbar:(0,e.css)(n||(t=["\n display: flex;\n align-items: center;\n gap: 8px;\n\n .element-toolbar__info-dropdown {\n .ant-dropdown-trigger {\n display: flex;\n align-items: center;\n gap: 4px;\n border: 1px solid ",";\n background: ",";\n color: ",";\n\n .ant-btn-icon.ant-btn-icon-end {\n margin-left: 0;\n }\n }\n }\n \n .pimcore-icon {\n color: ",";\n &:hover {\n color: ",";\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorBorder,o.colorFillTertiary,o.colorText,o.colorPrimary,o.colorPrimaryHover)}}))},73264:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ElementToolbar:()=>d});var n=r(36198),o=r(52540),i=r(55328),a=r(41642),s=r(54663),l=r(25063),c=r(87633);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{tree:(0,e.css)(n||(t=["\n padding: ","px 0 ","px 0;\n max-width: 100%;\n color: ","\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingXXS,o.paddingXS,o.colorTextTreeElement)}}),{hashPriority:"low"})},31322:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ElementTree:()=>S,TreeContext:()=>w,defaultProps:()=>O});var n=r(36198),o=r(36699),i=r(92006),a=r(77806),s=r(26272),l=r(58523),c=r(48388),u=["maxItemsPerNode","nodeApiHook","renderNode","renderNodeContent","contextMenu"];function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(){d=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==f(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function p(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{TreeExpander:()=>d});var n=r(36198),o=r(31322),i=r(54663),a=r(30811);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(){l=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,l){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==s(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,l)}),(function(e){r("throw",e,a,l)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,l)}))}l(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function c(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>a});var a=(0,r(99291).createStyles)((function(e){var t=e.token,r=e.css;return{"tree-list__pager":r(n||(n=i([" \n padding: ","px 0;\n\n &:empty {\n padding: 0;\n }\n "])),t.paddingSM),"tree-list__search":r(o||(o=i(["\n padding: ","px ","px ","px 0;\n\n &:empty {\n padding: 0;\n }\n\n .ant-btn-default {\n border-color: ","\n }\n "])),t.paddingXXS,t.paddingSM,t.paddingXS,t.colorBorder)}}),{hashPriority:"low"})},60238:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TreeList:()=>h});var n=r(36198),o=r(31322),i=r(55328),a=r(56719),s=r(80810),l=r(26272),c=r(58523);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e,t,r){var n;return n=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==u(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=i.theme.useToken,h=function(e){var t=e.node,r=p().token,i=(0,a.useStyles)().styles,u=(0,n.useContext)(o.TreeContext),h=u.renderFilter,m=u.renderPager,y=u.renderNode,g=(0,u.nodeApiHook)(t),v=g.apiHookResult,b=g.dataTransformer,O=g.mergeAdditionalQueryParams,w=v.isLoading,S=v.isFetching,x=v.isError,E=v.data,_=(0,n.useContext)(l.UploadContext),P=_.uploadFileList,T=_.uploadingNode;if(!0===w)return n.createElement(c.Skeleton,{style:{paddingLeft:r.paddingSM+24*(t.level+1.5)}});if(!0===x)return n.createElement(n.Fragment,null,"Error");var j=b(E),C=j.nodes,k=j.total;return n.createElement(n.Fragment,null,void 0!==h&&n.createElement("div",{className:["tree-list__search",i["tree-list__search"]].join(" "),style:{paddingLeft:r.paddingSM+24*(t.level+1)}},n.createElement(h,{isLoading:S,mergeAdditionalQueryParams:O,node:t,total:k})),n.createElement("div",{className:"tree-list"},P.length>0&&t.id===T&&n.createElement("div",{className:["tree-list__upload",i["tree-list__search"]].join(" "),style:{paddingLeft:r.paddingSM+24*(t.level+1)}},n.createElement(s.UploadList,{items:P,locale:{uploading:"uploading"},showRemoveIcon:!1})),0===P.length&&(null==C?void 0:C.map((function(e,r){return n.createElement(y,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{TreeNodeContent:()=>u});var n=r(36198),o=r(55328),i=r(54663);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{treeNode:(0,e.css)(n||(t=["\n user-select: none;\n\n .tree-node__content {\n cursor: pointer;\n width: 100%;\n padding: 2px ","px 2px 0;\n white-space: nowrap;\n align-items: center;\n \n .ant-upload-wrapper {\n width: 100%;\n \n .ant-upload {\n width: 100%;\n display: flex;\n align-items: center;\n gap: 8px\n }\n }\n\n @media (hover: hover) {\n &:hover {\n background-color: ",";\n }\n }\n\n &:focus {\n outline: none;\n background-color: ",";\n }\n }\n\n &.tree-node--selected > .tree-node__content {\n background-color: ",";\n }\n\n .tree-node__content-wrapper {\n //max-width: max(100%, calc(100px - 16px));\n width: 100%;\n }\n\n .tree-node-content__label {\n display: inline-block;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingSM,o.controlItemBgActiveHover,o.controlItemBgActiveHover,o.controlItemBgActive)}}),{hashPriority:"low"})},36699:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TreeNode:()=>O});var n=r(55328),o=r(36198),i=r(48406),a=r(31322),s=r(60238),l=r(21828),c=r(63975);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}var f=["id","internalKey","icon","label","level"];function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var v={id:Math.random().toString(16).slice(2),internalKey:"",icon:{type:"name",value:"folder"},label:"Node",children:[],permissions:{list:!1,view:!1,publish:!1,delete:!1,rename:!1,create:!1,settings:!1,versions:!1,properties:!1},level:0,isLocked:!1},b=n.theme.useToken,O=function(e){var t=e.id,r=void 0===t?v.id:t,u=e.internalKey,d=void 0===u?v.internalKey:u,h=e.icon,y=void 0===h?v.icon:h,O=e.label,w=void 0===O?v.label:O,S=e.level,x=void 0===S?v.level:S,E=g(e,f),_=b().token,P=E.children,T=E.metaData,j=(0,i.useStyles)().styles,C=(0,o.useContext)(a.TreeContext),k=C.renderNodeContent,A=C.onSelect,D=C.onRightClick,L=C.selectedIdsState,R=C.nodesRefs,M=C.nodeOrder,I=m(o.useState(0!==P.length),2),N=I[0],B=I[1],$=m(L,2),F=$[0],z=$[1],Q=p({id:r,icon:y,label:w,internalKey:d,level:x},E),V=(0,c.UseFileUploader)({parentId:r}).uploadFile;function U(){z([r]),void 0!==A&&A(Q)}(0,o.useEffect)((function(){return function(){void 0!==R&&delete R.current[d]}}),[]);var G,W={action:"/pimcore-studio/api/assets/add/".concat(r),name:"file",multiple:!0,openFileDialogOnClick:!1,showUploadList:!1,onChange:V};return o.createElement("div",{className:(G=["tree-node",j.treeNode],F.includes(r)&&G.push("tree-node--selected"),G.join(" ")),onDragOver:function(e){var t=null==T?void 0:T.asset;void 0!==t&&"folder"===t.type&&z([r])}},o.createElement(n.Flex,{className:"tree-node__content",gap:"small",onClick:function(e){U()},onContextMenu:function(e){void 0!==D&&D(e,Q)},onKeyDown:function(e){"Enter"===e.key&&U(),"ArrowRight"===e.key&&B(!0),"ArrowLeft"===e.key&&B(!1),"ArrowDown"===e.key&&function(e){e.preventDefault();var t=M().indexOf(d);t0&&R.current[M()[t-1]].el.focus()}(e)},ref:function(e){!function(e){var t={el:e,node:Q};R.current[d]=t}(e)},role:"button",style:{paddingLeft:_.paddingSM+20*x,minWidth:"".concat(20*x+200,"px")},tabIndex:-1},o.createElement(l.TreeExpander,{node:Q,state:[N,B]}),o.createElement(n.Upload,p({},W),o.createElement("div",{className:"tree-node__content-wrapper"},o.createElement(k,{node:Q})))),N&&o.createElement(s.TreeList,{node:Q}))}},58523:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Skeleton:()=>f});var n=r(36198),o=r(55328),i=r(72828),a=r(48388),s=r(40069);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){var n;return n=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==l(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=function(e){return n.createElement(i.motion.div,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{Filename:()=>d});var n=r(36198),o=r(99401),i=r(47259);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=["value","ellipsis"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var d=function(e){var t=e.value,r=e.ellipsis,a=f(e,s),l=t;if(l.includes(".")&&!0===r){var u=l.split("."),d=u.pop(),p=u.join(".");return n.createElement(i.Flex,c({},a),n.createElement(o.Text,{ellipsis:!!r&&{tooltip:{title:l,overlayStyle:{maxWidth:"min(100%, 500px)"},mouseEnterDelay:.3}},style:{color:"inherit"}},p),".",n.createElement(o.Text,{style:{whiteSpace:"nowrap",color:"inherit"}},d))}return n.createElement(o.Text,c({ellipsis:r},a),l)}},80586:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e,t){var r,o;return{rowColGap:(0,e.css)(n||(r=["\n column-gap: ","px;\n row-gap: ","px;\n "],o||(o=r.slice(0)),n=Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}}))),t.x,t.y)}}))},47259:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Flex:()=>y});var n=r(36198),o=r(55328),i=r(93967),a=r.n(i),s=r(96486),l=r(23396),c=r(80586);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}var f=["gap","className","rootClassName","children"];function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e,t,r){var n;return n=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==u(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var m=o.theme.useToken,y=function(e){var t=e.gap,r=void 0===t?0:t,i=e.className,u=e.rootClassName,y=e.children,g=h(e,f),v=m().token,b=function(e){var t=function(e){return(0,s.isNumber)(e)?e:(0,l.mapGapToTokenValue)({token:v,gap:e})};if((0,s.isString)(e))return{x:t(e),y:t(e)};if((0,s.isNumber)(e))return{x:e,y:e};if((0,s.isObject)(e))return{x:t(e.x),y:t(e.y)};return{x:0,y:0}}(r),O=b.x,w=b.y,S=(0,c.useStyles)({x:O,y:w}).styles,x=a()(S.rowColGap,i,u);return n.createElement(o.Flex,function(e){for(var t=1;t{"use strict";function n(e){var t=e.token;switch(e.gap){case"mini":return t.sizeXXS;case"extra-small":return t.sizeXS;case"small":return t.sizeSM;case"normal":return t.size;case"medium":return t.sizeMD;case"large":return t.sizeLG;case"extra-large":return t.sizeXL;case"maxi":return t.sizeXXL;default:return 0}}r.r(t),r.d(t,{mapGapToTokenValue:()=>n})},73277:(e,t,r)=>{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>a});var a=(0,r(99291).createStyles)((function(e){var t=e.token,r=e.css;return{draggableContainer:r(n||(n=i(["\n display: flex;\n position: relative;\n "]))),draggableItem:r(o||(o=i(["\n color: ",";\n width: ","px !important;\n height: ","px !important;\n background: ",";\n box-shadow: none;\n border: 2px dashed;\n display: flex;\n justify-content: center;\n align-items: center;\n\n &:hover {\n color: ",";\n background: "," !important;\n }\n "])),t.colorPrimary,t.Button.controlHeightSM,t.Button.controlHeightSM,t.Colors.Neutral.Fill.colorFill,t.colorPrimary,t.Colors.Neutral.Fill.colorFill)}}))},26008:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DraggableItem:()=>p});var n=r(36198),o=r(94697),i=r(24285),a=r(73277),s=r(43676),l=r(27027);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{FocalPointContext:()=>n});var n=r(36198).createContext(void 0)},63863:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FocalPoint:()=>p});var n=r(36198),o=r(94697),i=r(26008),a=r(32339),s=r(61008),l=r(43741),c=r(43676);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e,t,r){var n;return n=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==u(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=function(e){var t=e.activationConstraint,r=e.children,u=n.Children.only(r),p=(0,n.useContext)(l.AssetContext).id,h=(0,n.useContext)(c.FocalPointContext),m=(0,s.useAssetDraft)(p),y=m.imageSettings,g=m.isLoading,v=(0,o.useSensor)(o.MouseSensor,{activationConstraint:t}),b=(0,o.useSensor)(o.TouchSensor,{activationConstraint:t}),O=(0,o.useSensor)(o.KeyboardSensor,{}),w=(0,o.useSensors)(v,b,O),S=(0,s.useAssetDraft)(p),x=S.addImageSettings,E=S.removeImageSetting;if(void 0===h)throw new Error("FocalPoint must be used within the FocalPointProvider");var _=h.coordinates,P=h.setCoordinates,T=h.isActive,j=h.setIsActive,C=h.disabled,k=h.containerRef;if(!(0,n.isValidElement)(u))throw new Error("Children must be a valid react component");var A=u.type;return(0,n.useEffect)((function(){T||g||null===k.current||(P({x:0,y:0}),E("focalPoint"))}),[T]),n.createElement(o.DndContext,{modifiers:[a.restrictToParentElement],onDragEnd:function(e){var t=e.delta,r=_.x+t.x,n=_.y+t.y;P({x:r,y:n}),null!==k.current&&x({focalPoint:{x:Number(Number(100*r/(null==k?void 0:k.current.clientWidth)).toPrecision(8)),y:Number(Number(100*n/(null==k?void 0:k.current.clientHeight)).toPrecision(8))}})},sensors:w},n.createElement(i.DraggableItem,{active:T,disabled:C,left:_.x,top:_.y},n.createElement(A,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{FocalPointProvider:()=>s});var n=r(36198),o=r(43676);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{Form:()=>u});var n=r(36198),o=r(55328),i=r(40069);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){var n;return n=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{FormattedDateTime:()=>i});var n=r(36198),o=r(63664),i=function(e){return n.createElement(n.Fragment,null,(0,o.formatDateTime)({timestamp:e.timestamp,dateStyle:"short",timeStyle:"short"}))}},50388:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FormattedDate:()=>i});var n=r(36198),o=r(63664),i=function(e){return n.createElement(n.Fragment,null,(0,o.formatDate)(e.timestamp))}},67494:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FormattedTime:()=>i});var n=r(36198),o=r(63664),i=function(e){return n.createElement(n.Fragment,null,(0,o.formatTime)(e.timestamp))}},47267:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GeoBoundsDrawerFooter:()=>s});var n=r(36198),o=r(62779);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{GeoBoundsDrawer:()=>c});var n=r(36198),o=r(47267),i=r(93308);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{AddressSearchField:()=>f});var n=r(36198),o=r(53988),i=r(30811),a=r(51690),s=r(46140);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(){c=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==l(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function u(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}var f=function(e){var t=(0,i.useTranslation)().t,r=(0,s.useAlertModal)(),l=function(){var o,i=(o=c().mark((function o(i){return c().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(""!==i){o.next=3;break}return e.onSearch(void 0),o.abrupt("return");case 3:return o.next=5,(0,a.geoCode)(i).then(e.onSearch).catch((function(e){if(e.message===a.ERROR_ADDRESS_NOT_FOUND){var o=n.createElement("span",null,n.createElement("p",null,t("geocode.address-not-found")),n.createElement("strong",null,t("geocode.possible-causes"),":"),n.createElement("p",null,t("geocode.postal-code-format-error")));r.error({content:o})}else r.error({content:e.message})}));case 5:case"end":return o.stop()}}),o)})),function(){var e=this,t=arguments;return new Promise((function(r,n){var i=o.apply(e,t);function a(e){u(i,r,n,a,s,"next",e)}function s(e){u(i,r,n,a,s,"throw",e)}a(void 0)}))});return function(e){return i.apply(this,arguments)}}();return n.createElement(o.default,{className:"address-search-field",disabled:e.disabled,onSearch:l,placeholder:t("search-address")})}},26162:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{footer:(0,e.css)(n||(t=["\n .address-search-field {\n max-width: 300px;\n }\n .remove-button-wrapper {\n margin-left: auto;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},62779:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GeoMapCardFooter:()=>f});var n=r(36198),o=r(26162),i=r(48388),a=r(47259),s=r(9386),l=r(55328),c=r(27027),u=r(30811),f=function(e){var t=(0,o.useStyles)().styles,r=(0,u.useTranslation)().t;return n.createElement(i.Box,{className:t.footer,padding:{y:"mini"}},n.createElement(a.Flex,{className:"w-full",gap:"mini"},n.createElement(s.AddressSearchField,{disabled:e.searchDisabled,onSearch:e.onSearch}),e.dropdown,n.createElement("div",{className:"remove-button-wrapper"},n.createElement(l.Tooltip,{title:r("set-to-null")},n.createElement(c.IconButton,{disabled:e.removeButtonDisabled,icon:{value:"delete-outlined"},onClick:e.emptyValue})))))}},85112:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{container:(0,e.css)(n||(t=["\n .ant-card-cover {\n .leaflet-container {\n border-radius: ","px ","px 0 0;\n min-height: 120px;\n }\n }\n max-width: 100%;\n min-width: 270px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.borderRadiusLG,o.borderRadiusLG)}}),{hashPriority:"low"})},93308:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GeoMapCard:()=>c});var n=r(36198),o=r(93967),i=r.n(o),a=r(3385),s=r(14500),l=r(85112),c=(0,n.forwardRef)((function(e,t){var r=(0,l.useStyles)().styles;return n.createElement(s.Card,{className:i()(r.container),cover:n.createElement(a.GeoMap,{disabled:e.disabled,height:e.height,lat:e.lat,lng:e.lng,mode:e.mapMode,onChange:e.onChangeMap,ref:t,value:e.mapValue,width:e.width,zoom:e.zoom}),fitContent:!0,footer:e.footer,style:{width:e.width}})}));c.displayName="GeoMapCard"},46909:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{mapContainer:(0,e.css)(n||(t=["\n max-width: 100%;\n \n .leaflet-tooltip{\n width: 100px;\n white-space: normal;\n }\n .leaflet-draw-actions-bottom li:nth-child(2) {\n display: none;\n }\n .leaflet-edit-marker-selected {\n border: 0;\n outline: 2px dashed rgba(51, 136, 255, .5);\n margin-left: -12px !important;\n margin-top: -41px !important;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},3385:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GeoMap:()=>y});var n=r(36198),o=r(45243),i=r.n(o),a=(r(29052),r(21787),r(43114),r(99099)),s=r(93967),l=r.n(s),c=r(46909),u=r(16437),f=r(30027),d=r(88256),p=r(13098);function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);rOpenStreetMap contributors'}).addTo(t);var c=i().featureGroup().addTo(t);return"geoPoint"===e.mode?(0,a.addGeoPointToolbar)(t,c,E,e.onChange,e.disabled):"geoPolyLine"===e.mode?(0,f.addGeoPolyLineToolbar)(t,c,E,e.onChange,e.disabled):"geoPolygon"===e.mode?(0,d.addGeoPolygonToolbar)(t,c,E,e.onChange,e.disabled):"geoBounds"===e.mode&&(0,p.addGeoBoundsToolbar)(t,c,E,e.onChange,e.disabled),t}return null}();return function(){null!==t&&t.remove()}}}),[T,k,m,v,w,E,e.mode,e.disabled]),n.createElement("div",{ref:D},n.createElement("div",{className:l()(r.mapContainer),ref:o,style:{height:(0,u.toCssDimension)(e.height,250),width:(0,u.toCssDimension)(e.width,500)}}))}));y.displayName="GeoMap"},13098:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addGeoBoundsToolbar:()=>i});var n=r(45243),o=r.n(n),i=function(e,t,r,n,i){e.addLayer(t);var a,s=void 0!==r?o().latLngBounds(o().latLng(r.northEast.latitude,r.northEast.longitude),o().latLng(r.southWest.latitude,r.southWest.longitude)):void 0;if(void 0!==s&&(a=o().rectangle(s,{stroke:!0,color:"#3388ff",opacity:.5,fillOpacity:.2,weight:4}),t.addLayer(a),e.fitBounds(s)),!0!==i){var l=new(o().Control.Draw)({position:"topright",draw:{polyline:!1,polygon:!1,circle:!1,marker:!1,circlemarker:!1,rectangle:{showArea:!1}},edit:{featureGroup:t,remove:!1}});e.addControl(l),e.on(o().Draw.Event.CREATED,(function(e){t.clearLayers(),void 0!==a&&a.remove();var r=e.layer;if(t.addLayer(r),1===t.getLayers().length&&void 0!==n){var o=r.getBounds().getNorthEast(),i=r.getBounds().getSouthWest();n({northEast:{latitude:o.lat,longitude:o.lng},southWest:{latitude:i.lat,longitude:i.lng}})}})),e.on(o().Draw.Event.DELETED,(function(e){void 0!==n&&n(void 0)})),e.on(o().Draw.Event.EDITRESIZE+" "+o().Draw.Event.EDITMOVE,(function(e){if(void 0!==n){var t=e.layer.getBounds().getNorthEast(),r=e.layer.getBounds().getSouthWest();n({northEast:{latitude:t.lat,longitude:t.lng},southWest:{latitude:r.lat,longitude:r.lng}})}}))}}},99099:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addGeoPointToolbar:()=>f});var n=r(45243),o=r.n(n),i=r(51690),a=r(96651);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(){l=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,l){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==s(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,l)}),(function(e){r("throw",e,a,l)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,l)}))}l(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function c(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function u(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){c(i,n,o,a,s,"next",e)}function s(e){c(i,n,o,a,s,"throw",e)}a(void 0)}))}}var f=function(e,t,r,n,s){e.addLayer(t);var c=void 0!==r?o().marker([r.latitude,r.longitude]):void 0;if(void 0!==c&&t.addLayer(c),!0!==s){var f=new(o().Control.Draw)({position:"topright",draw:{polyline:!1,polygon:!1,circle:!1,rectangle:!1,circlemarker:!1},edit:{featureGroup:t,remove:!1}});e.addControl(f),e.on(o().Draw.Event.CREATED,function(){var e=u(l().mark((function e(r){var o;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.clearLayers(),void 0!==c&&c.remove(),o=r.layer,t.addLayer(o),1!==t.getLayers().length){e.next=8;break}return e.next=7,(0,i.reverseGeocode)(o).catch((function(e){console.error(e)}));case 7:null==n||n((0,a.convertLatLngToGeoPoint)(o.getLatLng()));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.on("draw:editmove",function(){var e=u(l().mark((function e(t){var r;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.layer,e.next=3,(0,i.reverseGeocode)(r).catch((function(e){console.error(e)}));case 3:null==n||n((0,a.convertLatLngToGeoPoint)(r.getLatLng()));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}}},30027:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addGeoPolyLineToolbar:()=>a});var n=r(45243),o=r.n(n),i=r(96651),a=function(e,t,r,n,a){e.addLayer(t);var s=void 0!==r?o().polyline((0,i.convertPolyLineToLatLngs)(r),{stroke:!0,color:"#3388ff",opacity:.5,fillOpacity:.2,weight:4}):void 0;if(void 0!==s&&(t.addLayer(s),e.fitBounds(s.getBounds())),!0!==a){var l=new(o().Control.Draw)({position:"topright",draw:{rectangle:!1,polygon:!1,circle:!1,marker:!1,circlemarker:!1},edit:{featureGroup:t,remove:!1}});e.addControl(l),e.on(o().Draw.Event.CREATED,(function(e){t.clearLayers(),void 0!==s&&s.remove();var r=e.layer;t.addLayer(r),1===t.getLayers().length&&void 0!==n&&n((0,i.convertLatLngsToGeoPoints)(r.getLatLngs()))})),e.on(o().Draw.Event.DELETED,(function(e){void 0!==n&&n(void 0)})),e.on(o().Draw.Event.EDITSTOP,(function(e){for(var t in e.target._layers)if(!0===Object.prototype.hasOwnProperty.call(e.target._layers,t)){var r=e.target._layers[t];!0===Object.prototype.hasOwnProperty.call(r,"edited")&&void 0!==n&&n((0,i.convertLatLngsToGeoPoints)(r.editing.latlngs[0]))}}))}}},88256:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addGeoPolygonToolbar:()=>a});var n=r(45243),o=r.n(n),i=r(96651),a=function(e,t,r,n,a){e.addLayer(t);var s=void 0!==r?o().polygon((0,i.convertPolyLineToLatLngs)(r),{stroke:!0,color:"#3388ff",opacity:.5,fillOpacity:.2,weight:4}):void 0;if(void 0!==s&&(t.addLayer(s),e.fitBounds(s.getBounds())),!0!==a){var l=new(o().Control.Draw)({position:"topright",draw:{circle:!1,marker:!1,circlemarker:!1,rectangle:!1,polyline:!1},edit:{featureGroup:t,remove:!1}});e.addControl(l),e.on(o().Draw.Event.CREATED,(function(e){t.clearLayers(),void 0!==s&&s.remove();var r=e.layer;t.addLayer(r),1===t.getLayers().length&&void 0!==n&&n((0,i.convertLatLngsToGeoPoints)(r.getLatLngs()[0]))})),e.on(o().Draw.Event.DELETED,(function(e){void 0!==n&&n(void 0)})),e.on(o().Draw.Event.EDITSTOP,(function(e){for(var t in e.target._layers)if(!0===Object.prototype.hasOwnProperty.call(e.target._layers,t)){var r=e.target._layers[t];!0===Object.prototype.hasOwnProperty.call(r,"edited")&&void 0!==n&&n((0,i.convertLatLngsToGeoPoints)(r.editing.latlngs[0][0]))}}))}}},51690:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(){o=function(){return t};var e,t={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var o=t&&t.prototype instanceof b?t:b,i=Object.create(o.prototype),s=new D(n||[]);return a(i,"_invoke",{value:j(e,r,s)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,l,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&i.call(E,l)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,a,s,l){var c=p(e[o],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==n(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return r("throw",e,s,l)}))}l(c.arg)}var o;a(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function i(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function s(e){i(a,n,o,s,l,"next",e)}function l(e){i(a,n,o,s,l,"throw",e)}s(void 0)}))}}r.r(t),r.d(t,{ERROR_ADDRESS_NOT_FOUND:()=>s,geoCode:()=>l,reverseGeocode:()=>c});var s="address_not_found",l=function(){var e=a(o().mark((function e(t){var r,n,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="https://nominatim.openstreetmap.org/search?q={q}&addressdetails=1&format=json&limit=1".replace("{q}",encodeURIComponent(t)),e.next=3,fetch(r);case 3:if((n=e.sent).ok){e.next=6;break}throw new Error("Failed to fetch reverse geocoding data: ".concat(n.statusText));case 6:return e.next=8,n.json();case 8:if(i=e.sent,Array.isArray(i)&&0!==i.length){e.next=11;break}throw new Error(s);case 11:return e.abrupt("return",{latitude:parseFloat(i[0].lat),longitude:parseFloat(i[0].lon)});case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),c=function(){var e=a(o().mark((function e(t){var r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="https://nominatim.openstreetmap.org/reverse?format=json&lat={lat}&lon={lng}".replace("{lat}",t.getLatLng().lat.toString()).replace("{lng}",t.getLatLng().lng.toString()),e.next=3,fetch(r).then(function(){var e=a(o().mark((function e(r){var n,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=r){e.next=2;break}throw new Error("Failed to fetch reverse geocoding data.");case 2:if(r.ok){e.next=4;break}throw new Error("Failed to fetch reverse geocoding data: ".concat(r.statusText));case 4:return e.next=6,r.json();case 6:"string"==typeof(n=e.sent).display_name&&(i=n.display_name,t.bindTooltip(i),t.openTooltip());case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},96651:(e,t,r)=>{"use strict";r.r(t),r.d(t,{convertGeoPointToLatLng:()=>a,convertLatLngToGeoPoint:()=>i,convertLatLngsToGeoPoints:()=>l,convertPolyLineToLatLngs:()=>s});var n=r(45243),o=r.n(n),i=function(e){return{latitude:e.lat,longitude:e.lng}},a=function(e){return new(o().LatLng)(e.latitude,e.longitude)},s=function(e){return e.map(a)},l=function(e){return e.map(i)}},97856:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GeoPointPickerFooter:()=>h});var n=r(36198),o=r(55328),i=r(30811),a=r(79195),s=r(54663),l=r(41642),c=r(48388),u=r(87043),f=r(62779);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{geoForm:(0,e.css)(n||(t=["\n .ant-input-number {\n width: 138px !important;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},95421:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GeoPointPicker:()=>c});var n=r(36198),o=r(97856),i=r(93308);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{GeoPolyDrawerFooter:()=>s});var n=r(36198),o=r(62779);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{GeoPolyDrawer:()=>c});var n=r(36198),o=r(74525),i=r(93308);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{"default-cell":(0,e.css)(n||(t=["\n display: flex;\n width: 100%;\n height: 100%;\n \n &:focus {\n outline: 1px solid ",";\n outline-offset: -1px;\n }\n\n .default-cell__content {\n display: flex;\n width: 100%;\n height: 100%;\n margin: 0 ","px; \n overflow: hidden;\n text-overflow: ellipsis;\n align-items: center;\n }\n\n &.default-cell--modified, .default-cell--modified {\n &::after {\n content: '*';\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n pointer-events: none;\n color: ",";\n padding: 3px 4px;\n font-size: 12px;\n line-height: 12px;\n border-left: 3px solid ",";\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorPrimaryActive,o.paddingXXS,o.colorAccentSecondary,o.colorAccentSecondary)}}))},72166:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DefaultCell:()=>h});var n=r(36198),o=r(30968),i=r(7264),a=r(6424),s=r(27526),l=r(1447);function c(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||f(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;ts});var s=function(e,t){return i(i({},e),{},{column:i(i({},e.column),{},{columnDef:i(i({},e.column.columnDef),{},{meta:i(i({},e.column.columnDef.meta),{},{config:t})})})})}},69095:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{"icon-view":(0,e.css)(n||(t=["\n display: flex;\n justify-content: center;\n width: 100%;\n height: 100%;\n padding: 7px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},1704:(e,t,r)=>{"use strict";r.r(t),r.d(t,{IconView:()=>c});var n=r(36198),o=r(69095),i=r(54663);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){var n;return n=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=function(e){var t=(0,o.useStyles)().styles;return n.createElement("div",{className:[t["icon-view"],"default-cell__content"].join(" ")},n.createElement(i.Icon,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{image:(0,e.css)(n||(t=["\n display: flex;\n justify-content: center;\n align-items: center;\n aspect-ratio: 1;\n width: 100%;\n height: 100%;\n\n &.image-cell.default-cell__content {\n margin: ","px;\n }\n\n .ant-image {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n img {\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingXXS)}}),{hashPriority:"low"})},93364:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ImageView:()=>c});var n=r(36198),o=r(77395),i=r(71590);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){var n;return n=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=function(e){var t=(0,o.useStyles)().styles;return n.createElement("div",{className:[t.image,"image-cell","default-cell__content"].join(" ")},n.createElement(i.PimcoreImage,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{EditableCellContext:()=>o,EditableCellContextProvider:()=>i});var n=r(36198),o=(0,n.createContext)({isInEditMode:!1,setIsInEditMode:function(e){}}),i=function(e){var t=e.children,r=e.value;return(0,n.useMemo)((function(){return n.createElement(o.Provider,{value:r},t)}),[t,r])}},42420:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useEditMode:()=>i});var n=r(36198),o=r(30968),i=function(e){var t=(0,n.useContext)(o.EditableCellContext),r=t.isInEditMode,i=t.setIsInEditMode;return{isInEditMode:r,disableEditMode:function(){i(!1)},fireOnUpdateCellDataEvent:function(t){var r;null===(r=e.table.options.meta)||void 0===r||r.onUpdateCellData({rowIndex:e.row.index,columnId:e.column.id,value:t,rowData:e.row.original})}}}},85576:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GridCell:()=>u});var n=r(74094),o=r(36198),i=r(86368);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{GridRow:()=>l});var n=r(36198),o=r(85576),i=["row","isSelected","modifiedCells"];function a(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=function(e){var t=e.row,r=e.isSelected,s=e.modifiedCells,l=a(e,i),c=(0,n.useMemo)((function(){return JSON.parse(s)}),[s]);return(0,n.useMemo)((function(){return n.createElement("tr",{className:["ant-table-row",t.getIsSelected()?"ant-table-row-selected":""].join(" "),key:t.id},t.getVisibleCells().map((function(e){var t,r;return n.createElement("td",{className:"ant-table-cell",key:e.id,style:!0===(null===(t=e.column.columnDef.meta)||void 0===t?void 0:t.autoWidth)?{width:"auto",minWidth:e.column.getSize()}:{width:e.column.getSize(),maxWidth:e.column.getSize()}},n.createElement(o.GridCell,{cell:e,isModified:(r=e.column.id,void 0!==c.find((function(e){return e.columnId===r}))),key:e.id,tableElement:l.tableElement}))})))}),[JSON.stringify(t),c,r,l.columns])},l=n.memo(s)},86368:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GridContext:()=>o,GridContextProvider:()=>i});var n=r(36198),o=(0,n.createContext)({table:null}),i=function(e){var t=e.table,r=e.children;return(0,n.useMemo)((function(){return n.createElement(o.Provider,{value:{table:t}},r)}),[t,r])}},24274:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{grid:(0,e.css)(n||(t=["\n display: flex; \n width: 100%;\n max-width: 100%;\n\n table {\n table-layout: fixed;\n width: auto;\n height: 0;\n }\n\n th {\n user-select: none;\n }\n\n th, td {\n line-height: 1.83;\n padding: ","px ","px;\n }\n\n &.ant-table-wrapper .ant-table.ant-table-small .ant-table-tbody>tr>td {\n padding: 0;\n }\n\n .ant-table-cell {\n position: relative;\n border-left: 1px solid ",";\n white-space: nowrap;\n text-overflow: ellipsis;\n\n &.ant-table-cell__no-data {\n padding: ","px 0px ","px ","px !important;\n }\n\n &:last-of-type {\n border-right: 1px solid #F0F0F0;\n }\n }\n\n .ant-table-thead {\n position: sticky;\n top: 0;\n z-index: 1;\n\n .grid__cell-content {\n display: flex;\n width: 100%;\n justify-content: space-between;\n align-items: center;\n }\n\n .grid__sorter {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n width: 26px;\n }\n }\n\n .ant-table-row {\n height: 41px;\n }\n\n .ant-table-content {\n table {\n border: 1px solid #F0F0F0;\n border-radius: 8px;\n }\n \n .ant-table-tbody {\n .ant-table-row:last-of-type {\n .ant-table-cell:first-of-type {\n border-bottom-left-radius: 8px;\n }\n .ant-table-cell:last-of-type {\n border-bottom-right-radius: 8px;\n }\n }\n }\n }\n\n .grid__cell-content {\n display: flex;\n width: 100%;\n height: 100%;\n \n .ant-skeleton {\n width: 100%;\n margin: 4px;\n \n .ant-skeleton-input {\n min-width: unset;\n width: 100%;\n }\n }\n }\n\n .grid__cell-content > * {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n .ant-table-row-selected td {\n background-color: ",";\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.Table.cellPaddingBlockSM,o.Table.cellPaddingInlineSM,o.Table.colorBorderSecondary,o.paddingXS,o.paddingXS,o.paddingXS,o.controlItemBgActive)}}),{hashPriority:"low"})},44587:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Grid:()=>E});var n=r(79383),o=r(74094),i=r(36198),a=r(96486),s=r(24274),l=r(66926),c=r(72166),u=r(30811),f=r(55328),d=r(13871),p=r(96149),h=r(47636);function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}var y=["enableMultipleRowSelection","modifiedCells","sorting","manualSorting","enableSorting","enableRowSelection","selectedRows"];function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var E=function(e){var t,r=e.enableMultipleRowSelection,m=void 0!==r&&r,g=e.modifiedCells,b=void 0===g?[]:g,S=e.sorting,E=e.manualSorting,_=void 0!==E&&E,P=e.enableSorting,T=void 0!==P&&P,j=e.enableRowSelection,C=void 0!==j&&j,k=e.selectedRows,A=void 0===k?{}:k,D=x(e,y),L=(0,u.useTranslation)().t,R=(0,n.useCssComponentHash)("table"),M=(0,s.useStyles)().styles,I=O((0,i.useState)("onEnd"),1)[0],N=O((0,i.useState)(null!==(t=D.autoWidth)&&void 0!==t&&t),2),B=N[0],$=N[1],F=(0,i.useRef)(null),z=(0,i.useMemo)((function(){return m||C}),[m,C]),Q=O((0,i.useState)(null!=S?S:[]),2),V=Q[0],U=Q[1],G=(0,i.useMemo)((function(){return null!=b?b:[]}),[JSON.stringify(b)]),W=(0,i.useRef)(null);(0,i.useEffect)((function(){void 0!==S&&U(S)}),[S]);var H=(0,i.useMemo)((function(){return!0===D.isLoading?Array(5).fill({}):D.data}),[D.isLoading,D.data]),Z=(0,i.useMemo)((function(){return A}),[A]),X=(0,i.useMemo)((function(){return!0===D.isLoading?D.columns.map((function(e){return v(v({},e),{},{cell:i.createElement(f.Skeleton.Input,{active:!0,size:"small"})})})):D.columns}),[D.isLoading,D.columns]);(0,i.useMemo)((function(){z?function(){if(!re()){var e={id:"selection",header:m?function(e){var t=e.table;return i.createElement("div",{style:{display:"Flex",alignItems:"center",justifyContent:"center",width:"100%"}},i.createElement(f.Checkbox,{checked:t.getIsAllRowsSelected(),indeterminate:t.getIsSomeRowsSelected(),onChange:t.getToggleAllRowsSelectedHandler()}))}:"",cell:function(e){var t=e.row;return i.createElement("div",{style:{display:"Flex",alignItems:"center",justifyContent:"center"}},i.createElement(f.Checkbox,{checked:t.getIsSelected(),onChange:t.getToggleSelectedHandler()}))},enableResizing:!1,size:50};X.unshift(e)}}():function(){if(re()){var e=X.findIndex((function(e){return"selection"===e.id}));-1!==e&&X.splice(e,1)}}()}),[X,z,A]);var q=(0,i.useMemo)((function(){return{data:H,state:{rowSelection:Z,sorting:V},columns:X,initialState:D.initialState,defaultColumn:{cell:c.DefaultCell},getCoreRowModel:(0,o.getCoreRowModel)(),getSortedRowModel:(0,o.getSortedRowModel)(),enableRowSelection:z,enableMultiRowSelection:m,onRowSelectionChange:te,onSortingChange:ne,enableSorting:T,manualSorting:_,getRowId:D.setRowId,enableMultiSorting:!1,meta:{onUpdateCellData:D.onUpdateCellData}}}),[H,X,Z,D.initialState]);!0===D.resizable&&(q.columnResizeMode=I);var Y=O((0,i.useState)(),2),K=Y[0],J=Y[1];q.onColumnSizingInfoChange=function(e){var t=(0,o.functionalUpdate)(e,K);if(B&&void 0!==t&&"string"==typeof(null==t?void 0:t.isResizingColumn)){var r,n,i=ee.getColumn(t.isResizingColumn),s=null===(r=W.current)||void 0===r?void 0:r.clientWidth;if(!0===(null==i||null===(n=i.columnDef.meta)||void 0===n?void 0:n.autoWidth)&&void 0!==s){var l,c;if(i.columnDef.size=s,i.columnDef.meta.autoWidth=!1,void 0!==(null===(l=W.current)||void 0===l?void 0:l.clientWidth))t.startSize=null===(c=W.current)||void 0===c?void 0:c.clientWidth,(0,a.isEmpty)(null==t?void 0:t.columnSizingStart)||t.columnSizingStart.forEach((function(e){e[1]=s}));return J(t),void $(!1)}}J(e)},(0,i.useMemo)((function(){if(B){var e,t=!1,r=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=w(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}(X);try{for(r.s();!(e=r.n()).done;){var n;if(!0===(null===(n=e.value.meta)||void 0===n?void 0:n.autoWidth)){if(t)throw new Error("Only one column can have autoWidth set to true");t=!0}}}catch(e){r.e(e)}finally{r.f()}}}),[X,B]);var ee=(0,o.useReactTable)(q);return(0,i.useMemo)((function(){return i.createElement(h.DynamicTypeRegistryProvider,{serviceIds:["DynamicTypes/GridCellRegistry"]},i.createElement("div",{className:["ant-table-wrapper",R,M.grid].join(" ")},i.createElement("div",{className:"ant-table ant-table-small"},i.createElement("div",{className:"ant-table-container"},i.createElement("div",{className:"ant-table-content"},i.createElement("table",{ref:F,style:{width:B?"100%":ee.getCenterTotalSize(),minWidth:ee.getCenterTotalSize()}},i.createElement("thead",{className:"ant-table-thead"},ee.getHeaderGroups().map((function(e){return i.createElement("tr",{key:e.id},e.headers.map((function(e,t){var r,n;return i.createElement("th",{className:"ant-table-cell",key:e.id,ref:!0===(null===(r=e.column.columnDef.meta)||void 0===r?void 0:r.autoWidth)?W:null,style:!0!==(null===(n=e.column.columnDef.meta)||void 0===n?void 0:n.autoWidth)||e.column.getIsResizing()?{width:e.column.getSize(),maxWidth:e.column.getSize()}:{width:"auto",minWidth:e.column.getSize()}},i.createElement("div",{className:"grid__cell-content"},i.createElement("span",null,(0,o.flexRender)(e.column.columnDef.header,e.getContext())),e.column.getCanSort()&&i.createElement("div",{className:"grid__sorter"},i.createElement(p.SortButton,{allowUnsorted:void 0===S,onSortingChange:function(t){!function(e,t){if(void 0===t)return void ee.setSorting([]);ee.setSorting([{id:e.id,desc:t===p.SortDirections.DESC}])}(e.column,t)},value:oe(e.column)}))),!0===D.resizable&&e.column.getCanResize()&&i.createElement(l.Resizer,{header:e,isResizing:e.column.getIsResizing(),table:ee}))})))}))),i.createElement("tbody",{className:"ant-table-tbody"},0===ee.getRowModel().rows.length&&i.createElement("tr",{className:"ant-table-row"},i.createElement("td",{className:"ant-table-cell ant-table-cell__no-data",colSpan:ee.getAllColumns().length},L("no-data-available-yet"))),ee.getRowModel().rows.map((function(e){return i.createElement(d.GridRow,{columns:X,isSelected:e.getIsSelected(),key:e.id,modifiedCells:JSON.stringify((t=e.id,null!==(r=G.filter((function(e){var r=e.rowIndex;return String(r)===String(t)})))&&void 0!==r?r:[])),row:e,tableElement:F});var t,r})))))))))}),[ee,b,H,X,Z,V]);function te(e){var t;null===(t=D.onSelectedRowsChange)||void 0===t||t.call(D,e)}function re(){return X.some((function(e){return"selection"===e.id}))}function ne(e){void 0===D.onSortingChange?U(e):D.onSortingChange(e)}function oe(e){var t,r=null===(t=V.find((function(t){return t.id===e.id})))||void 0===t?void 0:t.desc;if(void 0!==r)return r?p.SortDirections.DESC:p.SortDirections.ASC}}},6424:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useKeyboardNavigation:()=>o});var n=r(91034),o=function(e){var t=(0,n.useGrid)().tableElement;return{handleArrowNavigation:function(r){var n=e.row.index,o=e.column.getIndex();if(["ArrowDown","ArrowUp","ArrowLeft","ArrowRight"].includes(r.key)){if(r.preventDefault(),"ArrowDown"===r.key)n++;else if("ArrowUp"===r.key)n--;else if("ArrowLeft"===r.key){var i=function(e){if(0===e)return;return e-1}(o);void 0!==i&&(o=i)}else if("ArrowRight"===r.key){var a=function(t){var r=e.table.getAllColumns();if(t===r.length-1)return;return t+1}(o);void 0!==a&&(o=a)}if(null!==(null==t?void 0:t.current)){var s=t.current.querySelector('[data-grid-row="'.concat(n,'"][data-grid-column="').concat(o,'"]'));if(null===s)return;s.focus();var l=document.createRange(),c=window.getSelection();l.setStart(s,0),null==c||c.removeAllRanges(),null==c||c.addRange(l)}}}}}},65106:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{resizer:(0,e.css)(n||(t=["\n &.grid__resizer {\n position: absolute;\n right: -4px;\n top: 0;\n bottom: 0;\n width: 8px;\n z-index: 1;\n background-color: transparent;\n\n &--resizing {\n background-color: ",";\n width: 2px;\n right: -1px;\n }\n\n &--hoverable {\n cursor: col-resize;\n }\n }\n\n &:focus {\n outline: none;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorPrimary)}}),{hashPriority:"low"})},66926:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Resizer:()=>f});var n=r(36198),o=r(65106),i=r(30811);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useGrid:()=>i});var n=r(36198),o=r(86368),i=function(){var e=(0,n.useContext)(o.GridContext).table;return(0,n.useMemo)((function(){return{tableElement:e}}),[e])}},26388:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{header:(0,e.css)(n||(t=["\n display: flex;\n width: 100%;\n height: 32px;\n min-height: 32px;\n align-items: center;\n gap: 8px;\n\n .header__title {\n font-weight: 600;\n color: ",";\n white-space: nowrap;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorPrimary)}}),{hashPriority:"low"})},41161:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Header:()=>a});var n=r(36198),o=r(48324),i=r(26388),a=function(e){var t=(0,i.useStyles)().styles,r=e.icon,a=e.title,s=e.children;return n.createElement("div",{className:t.header},n.createElement("span",{className:"header__text"},n.createElement(o.Title,{icon:r},a)),n.createElement("div",{className:"header__content"},s))}},48035:(e,t,r)=>{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>a});var a=(0,r(99291).createStyles)((function(e,t){var r=e.css,a=t.scrollWidth,s=t.hideElement;return{scrollContainer:r(n||(n=i(["\n visibility: ",";\n display: flex;\n overflow-x: auto;\n "])),!0===s?"hidden":"visible"),scroll:r(o||(o=i(["\n overflow-x: auto;\n white-space: nowrap;\n ","\n\n &::-webkit-scrollbar {\n display: none;\n }\n "])),null!=a?"width: ".concat(a,"px;"):"")}}))},67892:(e,t,r)=>{"use strict";r.r(t),r.d(t,{HorizontalScroll:()=>c});var n=r(36198),o=r(48035),i=r(27027),a=r(55328);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=r),O(l.current.scrollWidth>l.current.clientWidth),x(l.current.clientWidth<50)}};(0,n.useEffect)((function(){if(null!==l.current){_(),l.current.addEventListener("scroll",_);var e=new ResizeObserver((function(){_()})),t=new MutationObserver((function(){_()}));return e.observe(l.current),t.observe(l.current,{childList:!0,subtree:!0}),function(){var r;null===(r=l.current)||void 0===r||r.removeEventListener("scroll",_),e.disconnect(),t.disconnect(),f(null)}}}),[]);var P=function(e){if(null===u){var t=setInterval((function(){if(null!==l.current){var t="left"===e?-50:50;l.current.scrollBy({left:t,behavior:"smooth"})}}),30);f(t)}},T=function(){P("left")},j=function(){P("right")},C=function(){null!==u&&(clearInterval(u),f(null))},k=function(e){"Enter"!==e.key&&" "!==e.key||C()},A=function(e,t){"Enter"!==e.key&&" "!==e.key||("left"===t?T():"right"===t&&j())};return n.createElement(a.Flex,{align:"center",className:["horizontal-scroll",E.scrollContainer].join(" ")},b&&n.createElement(i.IconButton,{disabled:p,icon:{value:"chevron-left",options:{height:18,width:18}},onKeyDown:function(e){A(e,"left")},onKeyUp:k,onMouseDown:T,onMouseLeave:C,onMouseUp:C,theme:"secondary"}),n.createElement(a.Flex,{align:"center",className:[E.scroll,"w-full"].join(" "),ref:l},t),b&&n.createElement(i.IconButton,{disabled:y,icon:{value:"chevron-right",options:{height:18,width:18}},onKeyDown:function(e){A(e,"right")},onKeyUp:k,onMouseDown:j,onMouseLeave:C,onMouseUp:C,theme:"secondary"}))}},37279:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{button:(0,e.css)(n||(t=["\n padding: 6px;\n height: 32px;\n width: 32px;\n line-height: 0;\n\n &.icon-button--theme-secondary {\n color: ",";\n }\n \n &.icon-button--hide-shadow {\n box-shadow: none;\n }\n\n &.icon-button--variant-minimal {\n padding: 0;\n width: auto;\n height: auto;\n }\n\n &.icon-button--variant-static {\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 1px solid ",";\n background-color: ",";\n border-radius: ",";\n\n &:hover, &:disabled, &:active {\n border-color: "," !important;\n }\n\n &:focus-visible {\n outline: none !important;\n outline-offset: 0 !important;\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorText,o.colorBorderContainer,o.IconButton.colorBgContainer,o.IconButton.borderRadiusSM,o.colorBorderContainer)}}))},27027:(e,t,r)=>{"use strict";r.r(t),r.d(t,{IconButton:()=>y});var n=r(36198),o=r(93967),i=r.n(o),a=r(71816),s=r(54663),l=r(37279);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var u=["children","icon","type","theme","hideShadow","variant","className"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var m=function(e,t){e.children;var r=e.icon,o=e.type,c=void 0===o?"link":o,f=e.theme,p=void 0===f?"primary":f,m=e.hideShadow,y=void 0!==m&&m,g=e.variant,v=e.className,b=h(e,u),O=(0,l.useStyles)().styles,w=i()(O.button,"icon-button--theme-".concat(p),"icon-button--variant-".concat(g),{"icon-button--hide-shadow":y},v);return n.createElement(a.Button,d(d({type:c},b),{},{className:w,ref:t}),n.createElement(s.Icon,d({},r)))},y=(0,n.forwardRef)(m)},62833:(e,t,r)=>{"use strict";r.r(t),r.d(t,{IconTextButton:()=>p});var n=r(71816),o=r(36198),i=r(54663),a=r(55328);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var l=["icon","children","iconOptions","iconPlacement"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=function(e){var t=e.icon,r=e.children,s=(e.iconOptions,e.iconPlacement),c=void 0===s?"left":s,f=d(e,l);return o.createElement(n.Button,u({},f),o.createElement(a.Flex,{align:"center",gap:6,justify:"center"},"left"===c&&o.createElement(i.Icon,u({},t)),o.createElement("span",null,r),"right"===c&&o.createElement(i.Icon,u({},t))))}},54663:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Icon:()=>d});var n=r(81690),o=r(36198),i=r(54088);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=["value","type","options","className"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var d=function(e){var t,r,a=e.value,l=e.type,u=void 0===l?"name":l,d=e.options,p=e.className,h=f(e,s),m=(0,n.useInjection)(i.serviceIds.iconLibrary),y=null!==(t=null==d?void 0:d.width)&&void 0!==t?t:16,g=null!==(r=null==d?void 0:d.height)&&void 0!==r?r:16;return o.createElement("div",c({className:"pimcore-icon pimcore-icon-".concat(a," anticon ").concat(p),style:{width:y,height:g}},h),function(){if("path"===u)return o.createElement("img",{alt:"foo",src:a,style:{width:y,height:g}});var e=m.get(a);return void 0===e?o.createElement("div",{style:{width:y,height:g}}):o.createElement(e,c({height:g,width:y},d))}())}},17812:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{imageTargetContainer:(0,e.css)(n||(t=["\n border-radius: ","px;\n border: 1px dashed ",";\n background: ",";\n padding: ","px;\n \n .image-target-title {\n text-align: center;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.borderRadiusLG,o.colorBorder,o.controlItemBgHover,o.paddingSM)}}))},36529:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ImageTarget:()=>c});var n=r(36198),o=r(47259),i=r(17812),a=r(93967),s=r.n(a),l=r(16437),c=function(e){var t=e.title,r=e.width,a=e.height,c=e.className,u=(0,i.useStyle)().styles;return n.createElement(o.Flex,{align:"center",className:s()(c,u.imageTargetContainer),justify:"center",style:{maxWidth:(0,l.toCssDimension)(r),height:(0,l.toCssDimension)(a)}},n.createElement("div",{className:"image-target-title"},t))}},6029:(e,t,r)=>{"use strict";var n,o,i,a;function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>l});var l=(0,r(99291).createStyles)((function(e){var t=e.token,r=e.css;return{imageZoomContainer:r(n||(n=s(["\n display: flex;\n gap: 5px\n "]))),imageZoom:r(o||(o=s(["\n .ant-select {\n min-width: 70px;\n text-align: center;\n\n .ant-select-selector {\n border: 1px solid ",";\n\n .ant-select-selection-item {\n padding-inline-end: unset;\n }\n }\n\n .ant-select-arrow {\n display: none;\n }\n }\n "])),t.Button.defaultBorderColor),imageZoomBtn:r(i||(i=s(["\n border: 1px solid ",";\n box-shadow: none !important;\n width: ","px;\n height: ","px;\n padding: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n\n .pimcore-icon {\n display: flex;\n }\n\n &:disabled {\n background: ",";\n }\n "])),t.Button.defaultBorderColor,t.controlHeight,t.controlHeight,t.colorBgContainer),imageZoomResetBtn:r(a||(a=s(["\n border: 1px solid ",";\n box-shadow: none !important;\n width: auto;\n height: ","px;\n "])),t.Button.defaultBorderColor,t.controlHeight)}}))},99915:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ImageZoom:()=>d});var n=r(36198),o=r(30811),i=r(55328),a=r(54663),s=r(6029),l=r(38576),c=r(58664);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=500&&m(!0),h&&t<500&&m(!1),t<=25&&v(!0),g&&t>25&&v(!1)}),[t]),n.createElement("div",{className:b.imageZoomContainer},100!==t&&n.createElement(i.Button,{"aria-label":O("aria.asset.image.editor.zoom.reset"),className:b.imageZoomResetBtn,onClick:function(){r(100)},onKeyDown:l.onKeyEnterExecuteClick},O("asset.image.editor.zoom.reset")),n.createElement(i.Space.Compact,{className:b.imageZoom},n.createElement(i.Button,{"aria-disabled":g,"aria-label":O("aria.asset.image.editor.zoom.zoom-out"),className:b.imageZoomBtn,disabled:g,onClick:function(){r(t-d)},onKeyDown:l.onKeyEnterExecuteClick},n.createElement(a.Icon,{value:"MinusOutlined"})),n.createElement(c.Select,{"aria-label":O("aria.asset.image.editor.zoom.preconfigured-zoom-levels"),defaultActiveFirstOption:!0,defaultValue:"100",onChange:function(e){r(parseInt(e))},options:[{value:"100",label:"100%"},{value:"125",label:"125%"},{value:"150",label:"150%"},{value:"175",label:"175%"},{value:"200",label:"200%"},{value:"225",label:"225%"},{value:"250",label:"250%"}],value:"".concat(t,"%")}),n.createElement(i.Button,{"aria-disabled":h,"aria-label":O("aria.asset.image.editor.zoom.zoom-in"),className:b.imageZoomBtn,disabled:h,onClick:function(){r(t+d)},onKeyDown:l.onKeyEnterExecuteClick},n.createElement(a.Icon,{value:"PlusOutlined"}))))}},79701:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{languageSelect:(0,e.css)(n||(t=["\n display: flex;\n gap: 2px;\n align-items: center;\n justify-content: center;\n height: 32px;\n\n button {\n width: 20px;\n height: 20px;\n color: ",";\n padding: 2px;\n }\n\n .language-select__current-value {\n display: flex;\n align-items: center;\n justify-content: center;\n text-transform: uppercase;\n gap: 2px;\n width: 45px;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorText)}}))},68034:(e,t,r)=>{"use strict";r.r(t),r.d(t,{LanguageSelection:()=>u,transformLanguage:()=>c});var n=r(71816),o=r(36198),i=r(54663),a=r(79701);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{form:(0,e.css)(n||(t=["\n form {\n display: flex;\n flex-direction: column;\n gap: 8px;\n font-family: Lato, sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 22px;\n\n .flex-space {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .ant-btn-link {\n color: ",";\n\n &:hover {\n color: ",";\n }\n }\n }\n \n .login__additional-logins {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 8px;\n \n .ant-btn {\n width: 100%;\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorPrimary,o.colorPrimaryHover)}}))},65437:(e,t,r)=>{"use strict";r.r(t),r.d(t,{LoginForm:()=>w});var n=r(55328),o=r(71816),i=r(36198),a=r(47170),s=r(45007),l=r(78078),c=r(30811),u=r(4362),f=r(54663),d=r(37150);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function v(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return O(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStlyes:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{logo:(0,e.css)(n||(t=["\n padding: 13px 16px 0 16px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},82595:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Logo:()=>a});var n=r(36198),o=r(69922),i=r(96574),a=function(){var e=(0,i.useStlyes)().styles;return n.createElement("div",{className:["logo",e.logo].join(" ")},n.createElement(o.default,{color:"#333",fill:"#ff0000",height:24,width:24}))}},70095:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{message:(0,e.css)(n||(t=["\n .ant-message-custom-content {\n font-family: Lato,serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 22px;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},78078:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useMessage:()=>f});var n=r(55328),o=r(54663),i=r(36198),a=r(70095);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useAlertModal:()=>s});var n=r(55328),o=r(54663),i=r(36198),a=r(30811),s=function(){var e=n.App.useApp().modal,t=(0,a.useTranslation)().t;return(0,i.useMemo)((function(){return{info:function(r){var n=r.content;return e.info({title:t("info"),content:n})},error:function(r){var n=r.content;return e.error({title:t("error"),content:n})},warn:function(r){var n=r.content;return e.warning({icon:i.createElement(o.Icon,{value:"exclamation-circle-filled"}),title:t("warning"),content:n})}}}),[])}},69703:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{footer:(0,e.css)(n||(t=["\n &.--divider {\n padding-top: 10px;\n border-top: 1px solid ","\n }\n \n .ant-btn-link {\n color: ",";\n margin: 0;\n padding: 0;\n\n &:hover {\n color: ",";\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.Divider.colorSplit,o.colorPrimary,o.colorPrimaryHover)}}),{hashPriority:"low"})},16826:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ModalFooter:()=>d});var n=r(36198),o=r(69703),i=r(47259);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=["justify","divider"],l=["children"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){var n;return n=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var d=function(e){var t=e.justify,r=void 0===t?"flex-end":t,a=e.divider,d=void 0!==a&&a,p=f(e,s),h=(0,o.useStyle)().styles,m=p.children,y=f(p,l),g=["ant-modal-footer-container ".concat(h.footer)].filter(Boolean);return d&&g.push("--divider"),n.createElement(i.Flex,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useFormModal:()=>b,withConfirm:()=>w,withInput:()=>O});var n=r(36198),o=r(55328),i=r(86536),a=r(36609),s=r(79195);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var c=["label","rule","initialValue"];function u(){u=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==l(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function f(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{ModalTitle:()=>l});var n=r(55328),o=r(36198),i=r(54663),a=["iconName"];function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=function(e){var t=e.iconName,r=s(e,a);return o.createElement(n.Flex,{gap:"small"},void 0!==t&&o.createElement(i.Icon,{options:{width:20,height:20},value:t}),o.createElement("span",null,r.children))}},92810:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{modal:(0,e.css)(n||(t=["\n &.ant-modal .ant-modal-footer > .ant-btn + .ant-btn {\n margin-inline-start: 0;\n }\n\n .ant-modal-content {\n width: 100%;\n display: inline-flex;\n flex-direction: column;\n align-items: start;\n gap: ","px;\n\n .ant-modal-header {\n margin-bottom: 0;\n\n .ant-modal-title {\n font-size: 16px;\n font-weight: 900;\n line-height: 24px;\n display: flex;\n gap: 4px;\n }\n }\n\n .ant-modal-footer {\n width: 100%;\n }\n\n .ant-modal-body {\n width: 100%;\n line-height: 22px;\n\n & > p {\n margin: 0;\n }\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.marginSM)}}),{hashPriority:"low"})},55381:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Modal:()=>d});var n=r(55328),o=r(36198),i=r(92810),a=r(31090);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var l=["iconName","size","className","title","children"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){var n;return n=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var d=function(e){var t=e.iconName,r=e.size,s=void 0===r?"M":r,d=e.className,p=e.title,h=e.children,m=f(e,l),y=[(0,i.useStyle)().styles.modal,d].filter(Boolean),g={L:700,M:530}[s];return o.createElement(n.Modal,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{UploadModal:()=>h});var n=r(55328),o=r(36198),i=r(31090),a=r(30811),s=r(88197),l=r(94617),c=r(71816),u=r(48388),f=r(94622),d=r(47259),p=r(99401),h=function(e){var t=(0,a.useTranslation)().t;return o.createElement(n.Modal,{closable:!1,footer:null,open:e.open,title:o.createElement(i.ModalTitle,{iconName:"upload-cloud"},t("upload"))},o.createElement(u.Box,{margin:{bottom:"small"}},o.createElement(n.Upload,{openFileDialogOnClick:!1},o.createElement(s.default,{items:e.fileList,listType:"text",locale:{uploading:"Uploading..."},showRemoveIcon:!1}))),e.showProcessing&&o.createElement(u.Box,{margin:{top:"small"}},o.createElement(l.Alert,{message:o.createElement(d.Flex,{gap:"small"},o.createElement(f.Spin,{size:"small"}),o.createElement(p.Text,{type:"secondary"},t("processing"))),type:"info"})),e.showUploadError&&o.createElement(u.Box,{margin:{top:"extra-small"}},o.createElement(l.Alert,{action:o.createElement(c.Button,{onClick:e.closeModal,size:"small"},t("ok")),message:t("upload.assets-items-failed-message"),type:"warning"})))}},43568:(e,t,r)=>{"use strict";r.r(t),r.d(t,{UploadModalButton:()=>E});var n=r(36198),o=r(26272),i=r(55328),a=r(27027),s=r(30811),l=r(5942),c=r(7496),u=r(93477),f=r(65246),d=r(92908),p=r(46140);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e,t,r){var n;return n=function(e,t){if("object"!=h(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=h(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==h(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=S(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function v(){v=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",m="executing",y="completed",g={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==h(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?y:p,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}function b(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function O(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){b(i,n,o,a,s,"next",e)}function s(e){b(i,n,o,a,s,"throw",e)}a(void 0)}))}}function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||S(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){if(e){if("string"==typeof e)return x(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?x(e,t):void 0}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0)){t.next=32;break}return t.next=32,e.onSuccess(i);case 32:D(!1),n?(B([]),P(!1)):C(!0);case 34:case"end":return t.stop()}}),t,null,[[9,23,26,29]])}))),function(e){return t.apply(this,arguments)})};return!0===e.showMaxItemsError?n.createElement(i.Tooltip,{title:h("upload")},n.createElement(a.IconButton,{icon:{value:"upload-cloud"},loading:S,onClick:function(){var t;return F.warn({content:h("items-limit-reached",{maxItems:null!==(t=e.maxItems)&&void 0!==t?t:0})})},type:"default"})):n.createElement(n.Fragment,null,n.createElement(l.UploadModal,{closeModal:function(){P(!1),B([]),C(!1),D(!1)},fileList:N,open:_,showProcessing:A,showUploadError:j}),n.createElement(o.UploadProvider,null,n.createElement(i.Upload,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useModal:()=>g,withError:()=>v,withInfo:()=>O,withSuccess:()=>b,withWarn:()=>w});var n=r(36198),o=r(55381);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var a=["children"],s=["children"],l=["children"],c=["children"],u=["children"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:{type:"default"},t=m((0,n.useState)(!1),2),r=t[0],i=t[1],s=function(){i(!1)},l=function(){s()},c=function(){s()};return{renderModal:function(t){var i=t.children,s=h(t,a),u=function(e){var t=o.Modal;switch(e){case"error":t=v(o.Modal);break;case"success":t=b(o.Modal);break;case"info":t=O(o.Modal);break;case"warn":t=w(o.Modal)}return t}(e.type);return n.createElement(u,d({onCancel:c,onOk:l,open:r},s),i)},showModal:function(){i(!0)},handleOk:l,handleCancel:c,closeModal:s}},v=function(e){return function(t){var r=t.children,o=h(t,s);return n.createElement(e,d({iconName:"close-circle-filled",title:"Error"},o),r)}},b=function(e){return function(t){var r=t.children,o=h(t,l);return n.createElement(e,d({iconName:"check-circle-filled",title:"Success"},o),r)}},O=function(e){return function(t){var r=t.children,o=h(t,c);return n.createElement(e,d({iconName:"info-circle-filled",title:"Info"},o),r)}},w=function(e){return function(t){var r=t.children,o=h(t,u);return n.createElement(e,d({iconName:"exclamation-circle-filled",title:"Warn"},o),r)}}},50868:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{content:(0,e.css)(n||(t=["\n .ant-empty-image {\n margin-bottom: ","px;\n height: auto;\n }\n \n .ant-empty-description {\n padding: 5px ","px;\n font-size: 14px;\n color: ",";\n line-height: 20px;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.marginXS,o.controlPaddingHorizontal,o.Empty.colorTextDisabled)}}))},32859:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NoContent:()=>s});var n=r(55328),o=r(50868),i=r(36198),a=r(54663),s=function(e){var t=e.text,r=(0,o.useStyle)().styles;return i.createElement("div",{className:r.content},i.createElement(n.Empty,{description:t,image:i.createElement(a.Icon,{options:{width:184,height:123},value:"no-content"})}))}},70881:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{notification:(0,e.css)(n||(t=["\n .ant-notification-notice-content { \n .ant-notification-notice-message {\n color: ",";\n font-size: 16px !important;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n margin-bottom: ","\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorText,o.marginXS)}}),{hashPriority:"low"})},2545:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useNotification:()=>c});var n=r(55328),o=r(70881);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{NumericRange:()=>v,validateOneFieldEmpty:()=>y,validateSecondValueGreater:()=>g});var n=r(36198),o=r(55328),i=r(47259),a=r(36609);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function h(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function m(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){h(i,n,o,a,s,"next",e)}function s(e){h(i,n,o,a,s,"throw",e)}a(void 0)}))}}var y=function(){var e=m(p().mark((function e(t,r){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==r){e.next=4;break}return e.next=3,Promise.resolve();case 3:return e.abrupt("return");case 4:if(null!==r.minimum){e.next=7;break}return e.next=7,Promise.reject(Error((0,a.t)("form.validation.numeric-range.first-value-missing")));case 7:if(null!==r.maximum){e.next=10;break}return e.next=10,Promise.reject(Error((0,a.t)("form.validation.numeric-range.second-value-missing")));case 10:return e.next=12,Promise.resolve();case 12:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),g=function(){var e=m(p().mark((function e(t,r){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y(t,r);case 2:if(null!==r){e.next=4;break}return e.abrupt("return");case 4:if(!(r.minimum>r.maximum)){e.next=7;break}return e.next=7,Promise.reject(Error((0,a.t)("form.validation.numeric-range.second-value-greater")));case 7:return e.next=9,Promise.resolve();case 9:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),v=function(e){var t,r=f((0,n.useState)(null!==(t=e.value)&&void 0!==t?t:null),2),a=r[0],s=r[1];(0,n.useEffect)((function(){void 0!==e.onChange&&e.onChange(a)}),[a]);var l=function(e,t){s((function(r){var n,o,i=u({minimum:null!==(n=null==r?void 0:r.minimum)&&void 0!==n?n:null,maximum:null!==(o=null==r?void 0:r.maximum)&&void 0!==o?o:null},e,t);return null===i.minimum&&null===i.maximum?null:i}))};return n.createElement(i.Flex,{align:"center",className:e.className,gap:"mini"},n.createElement(o.InputNumber,c(c({},e),{},{onChange:function(e){l("minimum",e)},value:null!==a?a.minimum:null})),n.createElement("div",null,"–"),n.createElement(o.InputNumber,c(c({},e),{},{onChange:function(e){l("maximum",e)},value:null!==a?a.maximum:null})))}},63097:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{"editable-container":(0,e.css)(n||(t=["\n position: relative;\n height: 30px;\n\n .input-field {\n font-family: Lato, sans-serif;\n font-size: 12px;\n text-align: center;\n line-height: ","px;\n\n border-radius: ","px;\n border-color: ",';\n background-color: white;\n\n /* Firefox */\n -moz-appearance: textfield;\n }\n\n .input-field:focus-visible {\n outline: none;\n }\n\n /* Chrome, Safari, Edge, Opera */\n\n .input-field::-webkit-outer-spin-button,\n .input-field::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n & button[type="button"], .input-field {\n display: block;\n position: absolute;\n top: 0;\n inset-inline-end: 0;\n bottom: 0;\n inset-inline-start: 0;\n padding: unset;\n margin: auto;\n\n width: ',"px;\n height: ","px;\n }\n\n .input-field.remove-decoration {\n border: none;\n background: none;\n }\n\n & button.inline-label.display-none, & button.inline-label-dots.display-none, & input.input-field.display-none {\n display: none;\n }\n\n button.inline-label-dots {\n border: none;\n }\n\n button.inline-label-dots, button.inline-label {\n font-family: Lato, sans-serif;\n line-height: 30px;\n text-align: center;\n vertical-align: text-bottom;\n box-shadow: none;\n background-color: transparent;\n cursor: text;\n }\n\n button.inline-label {\n color: ",";\n border: 1px solid ",";\n border-radius: ","px;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.controlHeight,o.borderRadius,o.colorBorder,o.controlHeight,o.controlHeight,o.colorPrimary,o.colorPrimary,o.borderRadius)}}),{hashPriority:"low"})},9537:(e,t,r)=>{"use strict";r.r(t),r.d(t,{InlineTextfield:()=>f});var n,o=r(36198),i=r(63097),a=r(38576),s=r(71816),l=r(54663);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{pagination:(0,e.css)(n||(t=["\n .ant-pagination .ant-pagination-item {\n padding: unset;\n margin-top: unset;\n margin-bottom: unset;\n vertical-align: middle;\n }\n\n button.page-number-node {\n color: black;\n text-align: center;\n vertical-align: text-bottom;\n box-shadow: none;\n padding: 0 2px 2px 0;\n border: none;\n }\n\n button.page-number-node, .ant-pagination .ant-pagination-item {\n width: ","px;\n height: ","px;\n background-color: transparent;\n }\n \n & .ant-pagination-item-active span {\n color: ",";\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.controlHeight,o.controlHeight,o.colorPrimary)}}),{hashPriority:"low"})},38549:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Pagination:()=>y});var n=r(36198),o=r(79383),i=r(23236),a=r(54663),s=r(71816),l=r(73217),c=r(38576),u=r(55893),f=r(9537);function d(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||h(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||h(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){if(e){if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=N){var F=d(Array(N).keys()).map((function(e){return e+1}));B.push.apply(B,d($(F)))}else{var z=function(e){if(e<=0)return[];var t=Math.floor(e/2);return d(Array(t).keys()).map((function(e){return e+1}))}(E),Q=function(e,t){if(e<=0)return[];var r=Math.floor(e/2);e%2==0&&r--;var n=t-r+1;return d(Array(r).keys()).map((function(e){return e+n}))}(E,N);if(B.push.apply(B,d($(z))),N>3){B.push(n.createElement("li",{className:"ant-pagination-item",key:"page-jumper"},n.createElement(f.InlineTextfield,{onKeyDown:function(e){if("Enter"===e.key){var t=Number(e.target.value);t>0&&t<=N?L(t):t<1?L(1):t>N&&L(N),e.target.value="",e.target.blur()}},showDotsValues:[].concat(d(z.map(String)),d(Q.map(String))),value:null==D?void 0:D.toString()})))}B.push.apply(B,d($(Q)))}return n.createElement("div",{className:C.pagination},n.createElement("ul",{className:"ant-pagination "+k},(0,c.isSet)(T)&&n.createElement(b,{showTotal:T,total:t}),n.createElement(g,{currentPage:D,onClickPrev:function(){L(D-1)}}),B,n.createElement(v,{currentPage:D,onClickNext:function(){L(D+1)},pages:N}),S&&n.createElement("li",{className:"ant-pagination-options",key:"page-jumper"},n.createElement(u.SizeChanger,{defaultSize:m,handleChange:function(e){I(e),L(1)},label:l.default.t("pagination.page"),sizeOptions:O}))))};function g(e){var t=e.currentPage,r=e.onClickPrev;return n.createElement("li",{className:"ant-pagination-prev ".concat(1===t?"ant-pagination-disabled":"")},n.createElement(s.Button,{className:"ant-pagination-item-link",disabled:1===t,icon:n.createElement(a.Icon,{options:{width:10,height:10},value:"left-outlined"}),onClick:r,size:"small",type:"text"}))}function v(e){var t=e.currentPage,r=e.pages,o=e.onClickNext;return n.createElement("li",{className:"ant-pagination-next ".concat(t===r?"ant-pagination-disabled":"")},n.createElement(s.Button,{className:"ant-pagination-item-link",disabled:t===r,icon:n.createElement(a.Icon,{options:{width:10,height:10},value:"right-outlined"}),onClick:o,size:"small",type:"text"}))}function b(e){var t=e.total,r=e.showTotal;return n.createElement("li",{className:"ant-pagination-total-text"},r(t))}},55893:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SizeChanger:()=>s});var n=r(36198),o=r(58664);function i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{Paragraph:()=>l});var n=r(36198);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){var n;return n=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==o(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(55328).Typography.Paragraph,l=function(e){return n.createElement(s,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{PimcoreAudio:()=>i});var n=r(36198),o=r(30811),i=function(e){var t=e.sources,r=e.tracks,i=e.className,a=(0,o.useTranslation)().t;return n.createElement("audio",{className:i,controls:!0},t.map((function(e,t){return n.createElement("source",{key:t,src:e.src,type:e.type})})),null==r?void 0:r.map((function(e,t){return n.createElement("track",{key:t,kind:e.kind,label:e.label,src:e.src,srcLang:e.srcLang})})),a("asset.preview.no-audio-support"))}},93398:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{"document-container":(0,e.css)(n||(t=["\n width: 100%;\n height: 100%;\n .loading-div {\n position: absolute;\n top: calc(50% - 11px);\n left: calc(50% - 8px);\n }\n \n .display-none {\n display: none;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},82626:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PimcoreDocument:()=>i});var n=r(36198),o=r(93398),i=function(e){var t=e.src,r=e.className,i=(0,o.useStyle)().styles;return n.createElement("div",{className:[i["document-container"],r].join(" ")},n.createElement("iframe",{src:t,title:t}))}},87398:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{image:(0,e.css)(n||(t=["\n transition: transform ","s;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.motionDurationFast)}}),{hashPriority:"low"})},71590:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PimcoreImage:()=>u});var n=r(55328),o=r(36198),i=r(87398),a=r(77474);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){var n;return n=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){var t=(0,i.useStyle)().styles,r=(0,o.useContext)(a.ZoomContext).zoom;return o.createElement(n.Image,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{PimcoreVideo:()=>a});var n=r(36198),o=r(30811),i=r(74529),a=function(e){var t=e.sources,r=e.tracks,a=e.width,s=e.height,l=e.className,c=e.poster,u=(0,o.useTranslation)().t,f=(0,n.useContext)(i.VideoContext).setPlayerPosition;return n.createElement("video",{className:l,controls:!0,height:s,key:t[0].src,onTimeUpdate:function(e){var t=e.target;f(t.currentTime)},poster:c,width:a},t.map((function(e,t){return n.createElement("source",{key:t,src:e.src,type:e.type})})),null==r?void 0:r.map((function(e,t){return n.createElement("track",{key:t,kind:e.kind,label:e.label,src:e.src,srcLang:e.srcLang})})),u("asset.preview.no-video-support"))}},8663:(e,t,r)=>{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>a});var a=(0,r(99291).createStyles)((function(e){var t=e.css,r=e.token;return{infoIcon:t(n||(n=i(["\n color: rgba(0, 0, 0, 0.45);\n cursor: pointer;\n "]))),link:t(o||(o=i(["\n color: ",";\n }\n "])),r.colorTextLightSolid)}}))},13862:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PQLQueryInput:()=>m});var n=r(36198),o=r(55328),i=r(96486),a=r(96330),s=r(47259),l=r(99401),c=r(94617),u=r(8663),f=r(54663);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{card:(0,e.css)(n||(t=["\n &.ant-card {\n height: 103px;\n cursor: pointer;\n }\n\n &.card-medium {\n height: 150px;\n }\n \n &.ant-card .ant-card-body {\n padding: ","px ","px;\n margin-top: 7px;\n margin-bottom: 7px;\n width: 166px;\n }\n \n &.ant-card .ant-card-meta-title {\n font-weight: normal;\n }\n\n .checkbox, .checkbox-medium {\n position: absolute;\n top: ","px;\n left: ","px;\n }\n\n .checkbox-medium {\n left: ","px;\n }\n\n .dots-button, .dots-button-medium {\n position: absolute;\n top: ","px;\n right: ","px;\n }\n\n .dots-button-medium {\n right: ","px;\n }\n \n .dropdown-menu__icon {\n vertical-align: text-bottom;\n }\n\n .dots-button-open-dropdown:not(:disabled):not(.ant-btn-disabled):hover {\n background-color: ",";\n color: white;\n }\n\n .ant-card-cover .img-container, .ant-card-cover .img-container-medium {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n \n .ant-card-cover .img-container {\n height: 64px;\n width: 170px;\n }\n\n .ant-image .ant-image-img.img, .ant-image .ant-image-img.img-medium {\n border-radius: unset;\n margin-top: 3px;\n }\n \n .ant-image .ant-image-img.img {\n max-height: 61px;\n max-width: 168px;\n }\n\n .ant-card-cover .img-container-medium {\n height: 109px;\n width: 236px;\n }\n\n .ant-image .ant-image-img.img-medium {\n max-height: 106px;\n max-width: 234px;\n }\n\n .menu-icon {\n margin-right: ","px;\n }\n\n .flexbox-start-end {\n display: flex;\n justify-content: space-between;\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingXXS,o.paddingXS,o.paddingXXS,o.paddingXXS,o.paddingXS,o.paddingXXS,o.paddingXXS,o.paddingXS,o.Button.defaultColor,o.marginXS)}}),{hashPriority:"low"})},94414:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewCard:()=>p,SizeTypes:()=>n});var n,o=r(55328),i=r(36198),a=r(95955),s=r(46256),l=r(54663),c=r(41642),u=r(71590);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{progressbar:(0,e.css)(n||(t=["\n padding-bottom: ","px; \n \n .progressbar-description {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-end;\n \n p {\n color: ",";\n margin: 0;\n font-size: 12px;\n font-weight: 400;\n line-height: 22px;\n }\n\n .progressbar-description__action {\n .ant-btn {\n color: ",";\n height: ","px;\n display: flex;\n justify-content: center;\n padding: 0 ","px;\n align-items: flex-end;\n\n &:hover {\n color: ","\n }\n }\n }\n }\n \n .ant-progress {\n margin-bottom: 0;\n \n .ant-progress-bg {\n background: ","; \n }\n }\n\n .progressbar-status {\n p {\n color: ",";\n font-size: 12px;\n font-weight: 400;\n line-height: 22px;\n margin: 0;\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.marginXXS,o.colorTextTertiary,o.colorPrimary,o.controlHeight,o.paddingXXS,o.colorPrimaryHover,o.colorTextDescription,o.colorTextSecondary)}}),{hashPriority:"low"})},10959:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Progressbar:()=>d});var n=r(55328),o=r(36198),i=r(25370);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=["progressStatus","description","descriptionAction"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var d=function(e){var t=e.progressStatus,r=e.description,a=e.descriptionAction,l=f(e,s),u=(0,i.useStyle)().styles;return o.createElement("div",{className:u.progressbar},o.createElement("div",{className:"progressbar-description"},o.createElement("p",{id:"progressbarLabel"},r),o.createElement("div",{className:"progressbar-description__action"},a)),o.createElement(n.Progress,c(c({},l),{},{"aria-labelledby":"progressbarLabel",showInfo:!1,status:"normal"})),o.createElement("div",{className:"progressbar-status"},o.createElement("p",null,t)))}},43039:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e,t){e.token;var r,o,i=e.css,a=t.region;return{regionItem:i(n||(r=["\n grid-area: ",";\n "],o||(o=r.slice(0)),n=Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}}))),a)}}))},13355:(e,t,r)=>{"use strict";r.r(t),r.d(t,{RegionItem:()=>d});var n=r(43039),o=r(36198),i=r(93967),a=r.n(i);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var l=["region","component"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){var n;return n=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var d=function(e){e.region;var t=e.component,r=f(e,l),i=(0,n.useStyles)(e).styles,s=a()(i.regionItem);return o.createElement("div",function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useStyles:()=>a});var n,o=r(99291),i=r(17368);var a=(0,o.createStyles)((function(e,t){e.token;var r=e.css,o=t.layoutDefinition,a=t.items,s=o.map((function(e){return'"'.concat(e,'"')})).join(" "),l=a.map((function(e){return{region:e.region,maxWidth:e.maxWidth}})),c=[];o.forEach((function(e){e.split(" ").forEach((function(e,t){var r,n=null===(r=l.find((function(t){return t.region===e})))||void 0===r?void 0:r.maxWidth;Array.isArray(c[t])||(c[t]=[]);var o=Number(null!=n?n:"0"),i=!isNaN(o);void 0!==n&&(""!==n&&"0"!==n&&!i||i&&o>0)&&(i?c[t].push("".concat(o,"px")):c[t].push(n))}))}));var u,f,d=c.map((function(e){return 0===e.length?"1fr":"max(".concat(e.join(","),")")})).join(" ");return{region:r(n||(u=["\n display: flex;\n flex-direction: column;\n // @todo make this configurable\n gap: 12px;\n\n // @todo we should introduce a predefined set of breakpoints\n @container "," (min-width: 768px) {\n display: grid;\n grid-template-areas: ",";\n grid-template-columns: ",";\n }\n "],f||(f=u.slice(0)),n=Object.freeze(Object.defineProperties(u,{raw:{value:Object.freeze(f)}}))),i.cssContainerWidget.name,s,d)}}))},65286:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Region:()=>l});var n=r(36198),o=r(10499),i=r(93967),a=r.n(i),s=r(13355),l=function(e){var t=e.items,r=(0,o.useStyles)(e).styles,i=a()(r.region);return n.createElement("div",{className:i},t.map((function(e){return n.createElement(s.RegionItem,{component:e.component,key:e.region,maxWidth:e.maxWidth,region:e.region})})))}},69850:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SanitizeHtml:()=>i});var n=r(36198),o=r(22424),i=function(e){var t,r=e.html,i=e.options;return t=void 0!==i?o.default.sanitize(r,i):o.default.sanitize(r),n.createElement("div",{dangerouslySetInnerHTML:{__html:t}})}},37652:(e,t,r)=>{"use strict";var n,o,i,a;function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>l});var l=(0,r(99291).createStyles)((function(e){var t=e.css,r=e.token;return{search:t(n||(n=s(["\n .ant-input-prefix {\n margin-inline-end: ","px;\n }\n \n .ant-input-clear-icon {\n display: flex;\n }\n "])),r.marginXS),searchWithoutAddon:t(o||(o=s(["\n .ant-input-group-addon {\n display: none;\n }\n \n .ant-input-affix-wrapper,\n .ant-input {\n border-radius: ","px !important;\n }\n "])),r.borderRadius),searchIcon:t(i||(i=s(["\n color: ",";\n "])),r.colorTextPlaceholder),closeIcon:t(a||(a=s(["\n color: ",";\n "])),r.colorIcon)}}))},14278:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SearchInput:()=>h});var n=r(36198),o=r(53988),i=r(93967),a=r.n(i),s=r(54663),l=r(37652);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var u=["className","withoutAddon","withPrefix","withClear"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e,t,r){var n;return n=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==c(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var h=function(e){var t=e.className,r=e.withoutAddon,i=void 0===r||r,c=e.withPrefix,h=void 0===c||c,m=e.withClear,y=void 0===m||m,g=p(e,u),v=(0,l.useStyles)().styles,b=a()(v.search,d({},v.searchWithoutAddon,i),t);return n.createElement(o.default,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{segmented:(0,e.css)(n||(t=["\n .ant-segmented-group {\n padding: 2px;\n border-radius: ","px;\n border: 1px solid ",";\n background: ",";\n box-shadow: ",";\n\n .ant-segmented-item {\n color: ",";\n\n &.ant-segmented-item-selected {\n background: ",";\n border-color: ",";\n color: ",";\n }\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.borderRadius,o.colorBorderSecondary,o.colorBgLayout,o.boxShadow,o.itemColor,o.controlItemBgActive,o.controlItemBgActive,o.itemSelectedColor)}}))},57567:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Segmented:()=>f});var n=r(36198),o=r(49610),i=r(55328);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=["options"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){var n;return n=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var f=n.forwardRef((function(e,t){var r=e.options,a=u(e,s),f=(0,o.useStyles)().styles;return n.createElement("div",{className:f.segmented,ref:t},n.createElement(i.Segmented,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useStyles:()=>g});var n,o,i,a,s,l,c,u,f,d,p,h=r(99291),m=r(79342);function y(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var g=(0,h.createStyles)((function(e,t){var r=e.css,h=e.token;return{selectContainer:r(n||(n=y(["\n position: relative;\n \n &:hover {\n .custom-select-icon {\n color: ",";\n }\n }\n "])),h.colorPrimary),selectContainerWarning:r(o||(o=y(["\n &:hover {\n .custom-select-icon {\n color: "," !important;\n }\n }\n \n .ant-select-status-warning {\n &.ant-select-open, &.ant-select-focused {\n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n\n &:hover {\n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n }\n "])),h.colorWarningHover,h.colorText,h.colorWarningHover,h.colorText,h.colorWarningHover),selectContainerError:r(i||(i=y(["\n &:hover {\n .custom-select-icon {\n color: "," !important;\n }\n }\n \n .ant-select-status-error {\n &.ant-select-open, &.ant-select-focused {\n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n\n &:hover {\n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n }\n "])),h.colorErrorHover,h.colorText,h.colorErrorHover,h.colorText,h.colorErrorHover),selectContainerWithClear:r(a||(a=y(["\n &:hover {\n .ant-select-arrow {\n display: none;\n }\n }\n "]))),select:r(s||(s=y(["\n width: ",";\n \n .ant-select-selector {\n padding: 0 ","px !important;\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n\n // DEFAULT select\n &.ant-select-open, &.ant-select-focused {\n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n\n &:hover {\n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n\n // MULTIPLE select\n &.ant-select-multiple {\n &.ant-select {\n .ant-select-selector {\n padding: 2px ","px 2px ","px !important;\n }\n }\n \n &:hover {\n .ant-select-selection-item {\n .ant-select-selection-item-content {\n color: "," !important;\n }\n }\n }\n }\n\n // DISABLED state\n &.ant-select.ant-select-disabled {\n .ant-select-selector {\n border-color: "," !important;\n }\n \n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n "])),(0,m.isEmptyValue)(t.width)?"initial":"".concat(t.width,"px"),h.controlPaddingHorizontal,h.colorIcon,h.colorPrimary,h.colorPrimary,h.colorPrimary,h.colorPrimary,h.controlPaddingHorizontal,h.paddingXXS,h.colorText,h.colorBorder,h.colorTextDisabled,h.colorTextDisabled),arrowIcon:r(l||(l=y(["\n pointer-events: none !important\n "]))),selectWithCustomIcon:r(c||(c=y(["\n &.ant-select {\n .ant-select-selector {\n padding: 0 ","px 0 ","px !important;\n }\n }\n "])),h.controlPaddingHorizontal,h.controlPaddingHorizontal+16+h.marginXXS),customIcon:r(u||(u=y(["\n position: absolute;\n left: 10px;\n top: 50%;\n transform: translateY(-50%);\n z-index: 1;\n color: ",";\n "])),h.colorIcon),customIconActive:r(f||(f=y(["\n color: "," !important;\n "])),h.colorPrimary),customIconWarning:r(d||(d=y(["\n color: ",";\n "])),h.colorWarningHover),customIconError:r(p||(p=y(["\n color: ",";\n "])),h.colorErrorHover)}}))},58664:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Select:()=>g});var n=r(36198),o=r(55328),i=r(93967),a=r.n(i),s=r(96486),l=r(54663),c=r(51062);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}var f=["customIcon","customArrowIcon","mode","status","className","width","allowClear"];function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e,t,r){var n;return n=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==u(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var g=(0,n.forwardRef)((function(e,t){var r=e.customIcon,i=e.customArrowIcon,u=e.mode,m=e.status,g=e.className,v=e.width,b=e.allowClear,O=y(e,f),w=(0,n.useRef)(null),S=h((0,n.useState)(!1),2),x=S[0],E=S[1],_=h((0,n.useState)(!1),2),P=_[0],T=_[1],j=h((0,n.useState)(!1),2),C=j[0],k=j[1];(0,n.useImperativeHandle)(t,(function(){return w.current}));var A,D=(0,c.useStyles)({width:v}).styles,L=!(0,s.isEmpty)(r),R="warning"===m,M="error"===m,I=a()(D.selectContainer,p(p(p({},D.selectContainerWarning,R),D.selectContainerError,M),D.selectContainerWithClear,!0===b&&C)),N=a()(g,D.select,p({},D.selectWithCustomIcon,L)),B=a()(D.customIcon,"custom-select-icon",p(p(p({},D.customIconActive,x||P),D.customIconWarning,(x||P)&&R),D.customIconError,(x||P)&&M));return n.createElement("div",{className:I},L&&n.createElement(l.Icon,{className:B,value:r}),n.createElement(o.Select,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{sidebar:(0,e.css)(n||(t=["\n display: flex;\n height: 100%;\n \n .sidebar__navigation {\n display: flex;\n width: 45px;\n padding: 4px 8px ","px 8px;\n flex-direction: column;\n align-items: center;\n flex-shrink: 0;\n align-self: stretch;\n border-right: 1px solid rgba(0, 0, 0, 0.08);\n border-left: 1px solid rgba(0, 0, 0, 0.08);\n justify-content: space-between;\n color: ",";\n background: ",";\n\n .sidebar__navigation__tabs,\n .sidebar__navigation__buttons {\n .pimcore-icon {\n flex-shrink: 0;\n color: ",";\n\n &:hover {\n color: ",";\n cursor: pointer;\n }\n }\n }\n\n .sidebar__navigation__tabs {\n .entry {\n display: flex;\n width: 45px;\n padding: ","px ","px;\n justify-content: center;\n align-items: center;\n\n &:not(.active).entry--highlighted {\n .pimcore-icon {\n background: ",";\n border-radius: 2px;\n outline: 8px solid ",";\n }\n }\n\n .pimcore-icon {\n flex-shrink: 0;\n color: ",";\n\n &:hover {\n color: ",";\n cursor: pointer;\n }\n }\n\n &.active {\n background: ",";\n border-right: 2px solid ",";\n\n .pimcore-icon {\n color: ","\n }\n }\n }\n },\n \n .sidebar__navigation__buttons\n .button {\n &.button--highlighted {\n .pimcore-icon {\n background: ",";\n border-radius: 2px;\n outline: 8px solid ",";\n color: ",";\n }\n }\n }\n }\n \n .sidebar__content {\n position: relative;\n overflow: auto;\n width: 250px;\n\n .tab {\n display: none;\n \n &.active {\n display: flex;\n width: 100%;\n height: 100%;\n }\n }\n \n &:not(.expanded) {\n display: none;\n }\n\n &--sizing-large {\n width: 432px;\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingSM,o.colorIconSidebar,o.colorBgToolbar,o.colorIconSidebar,o.colorIconHover,o.paddingXS,o.paddingXXS,o.colorFillQuaternary,o.colorFillQuaternary,o.colorIconSidebar,o.colorIconHover,o.colorFillQuaternary,o.colorPrimaryActive,o.colorPrimaryActive,o.colorFillQuaternary,o.colorFillQuaternary,o.colorPrimary)}}),{hashPriority:"low"})},70607:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Sidebar:()=>p});var n=r(11373),o=r(36198),i=["component","key"];function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{Slider:()=>y});var n=r(36198),o=r(55328),i=r(66395),a=r(48388),s=r(47259),l=r(27027),c=r(36609);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.css,i=e.token;return{button:o(n||(t=["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n width: 16px;\n height: 16px;\n\n &:hover {\n cursor: pointer; \n }\n\n .sort-button__arrow {\n color: ",";\n }\n\n .sort-button__asc {\n margin-bottom: -4px;\n }\n\n &.sort-button--sorting-asc {\n .sort-button__asc {\n color: ",";\n }\n }\n\n &.sort-button--sorting-desc {\n .sort-button__desc {\n color: ",";\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),i.colorTextDisabled,i.colorPrimary,i.colorPrimary)}}),{hashPriority:"low"})},96149:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SortButton:()=>f,SortDirections:()=>n});var n,o=r(36198),i=r(14439),a=r(54663),s=["onSortingChange"];function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}!function(e){e.ASC="asc",e.DESC="desc"}(n||(n={}));var f=function(e){var t=e.onSortingChange,r=u(e,s),c=(0,i.useStyles)().styles,f=l((0,o.useState)(r.value),2),d=f[0],p=f[1];return(0,o.useEffect)((function(){p(r.value)}),[r.value]),o.createElement("div",{className:[c.button,"sort-button","sort-button--sorting-".concat(d)].join(" "),onClick:h,onKeyUp:h,role:"button",tabIndex:0},o.createElement(a.Icon,{className:"sort-button__arrow sort-button__asc",value:"caret-up-outlined"}),o.createElement(a.Icon,{className:"sort-button__arrow sort-button__desc",value:"caret-down-outlined"}));function h(){d===n.ASC?m(n.DESC):d===n.DESC&&!0===r.allowUnsorted?m(void 0):m(n.ASC)}function m(e){void 0!==t?t(e):p(e)}}},84051:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.css,i=e.token;return{space:o(n||(t=["\n &.space--sizing-none {\n gap: 0;\n }\n\n &.space--sizing-mini {\n gap: ","px;\n }\n\n &.space--sizing-extra-small {\n gap: ","px;\n }\n\n &.space--sizing-small {\n gap: ","px;\n }\n\n &.space--sizing-normal {\n gap: ","px;\n }\n\n &.space--sizing-medium {\n gap: ","px;\n }\n\n &.space--sizing-large {\n gap: ","px;\n }\n\n &.space--sizing-extra-large {\n gap: ","px;\n }\n\n &.space--sizing-maxi {\n gap: ","px;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),i.sizeXXS,i.sizeXS,i.sizeSM,i.size,i.sizeMD,i.sizeLG,i.sizeXL,i.sizeXXL)}}))},40069:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Space:()=>f});var n=r(55328),o=r(36198),i=r(84051);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=["size","className"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){var n;return n=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var f=function(e){var t=e.size,r=void 0===t?"small":t,a=e.className,f=u(e,s),d=[(0,i.useStyles)().styles.space,a];return d.push("space--sizing-".concat(r)),o.createElement(n.Space,function(e){for(var t=1;t{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>a});var a=(0,r(99291).createStyles)((function(e){var t=e.token,r=e.css;return{spin:r(n||(n=i(["\n @keyframes spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n }\n\n @keyframes spin-dot {\n 0% {\n opacity: 0.3;\n } \n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0.3;\n }\n }\n\n animation-name: spin;\n animation-duration: 2s;\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n\n circle {\n animation: spin-dot 2s infinite;\n\n &:nth-child(1) {\n animation-delay: 0.5s;\n }\n\n &:nth-child(2) {\n animation-delay: 1.5s;\n }\n\n &:nth-child(3) {\n animation-delay: 1s;\n }\n\n \n &:nth-child(4) {\n animation-delay: 2s;\n }\n }\n "]))),spinContainer:r(o||(o=i(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n justify-content: center;\n align-items: center;\n height: 100px;\n width: 100px;\n color: ",";\n "])),t.colorPrimary)}}))},94622:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Spin:()=>p});var n=r(36198),o=r(55328),i=r(54663),a=r(876);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var l=["asContainer","tip"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=function(e){var t=e.asContainer,r=void 0!==t&&t,s=e.tip,c=d(e,l),f=(0,a.useStyles)().styles;return n.createElement(n.Fragment,null,!r&&n.createElement(o.Spin,u({indicator:n.createElement(i.Icon,{className:f.spin,value:"spinner"})},c)),r&&n.createElement("div",{className:f.spinContainer},n.createElement(o.Spin,u({indicator:n.createElement(i.Icon,{className:f.spin,options:{width:20,height:20},value:"spinner"})},c)),void 0!==s&&n.createElement("div",null,s)))}},70931:(e,t,r)=>{"use strict";var n,o,i,a;function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>l});var l=(0,r(99291).createStyles)((function(e){var t=e.css,r=e.token;return{dividerContainer:t(n||(n=s(["\n position: relative;\n min-width: 24px;\n outline: none;\n "]))),resizable:t(o||(o=s(["\n cursor: col-resize;\n "]))),divider:t(i||(i=s(["\n position: absolute;\n left: 50%;\n width: 1px;\n height: 100%;\n overflow: hidden;\n background-color: ",";\n "])),r.Divider.colorSplit),iconContainer:t(a||(a=s(["\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n cursor: col-resize;\n "])))}}))},91620:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Divider:()=>d});var n=r(36198),o=r(93967),i=r.n(o),a=r(27027),s=r(70931);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t,r){var n;return n=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==l(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;return{splitLayoutItem:(0,e.css)(n||(t=["\n position: relative;\n height: 100%;\n width: 100%;\n overflow: hidden;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},80778:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SplitLayoutItem:()=>a});var n=r(36198),o=r(36590),i=function(e,t){var r=e.children,i=e.size,a=e.minSize,s=e.maxSize,l=(0,o.useStyles)().styles;return n.createElement("div",{className:l.splitLayoutItem,ref:t,style:{width:"".concat(i,"%"),minWidth:void 0!==a?"".concat(a,"px"):"auto",maxWidth:void 0!==s?"".concat(s,"px"):"auto"}},r)},a=(0,n.forwardRef)(i)},33304:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;return{splitLayout:(0,e.css)(n||(t=["\n display: flex;\n height: 100%;\n width: 100%;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},67793:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SplitLayout:()=>b});var n=r(36198),o=r(55328),i=r(93967),a=r.n(i),s=r(80778),l=r(91620),c=r(33304);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}var f=["children"],d=["children"];function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var b=function(e){var t=e.leftItem,r=e.rightItem,i=e.withDivider,u=void 0!==i&&i,p=e.resizeAble,m=void 0!==p&&p,g=(0,n.useRef)(null),b=(0,n.useRef)(null),O=(0,n.useRef)(null),w=(0,c.useStyles)().styles,S=t.children,x=v(t,f),E=r.children,_=v(r,d),P=y((0,n.useState)(x),2),T=P[0],j=P[1],C=y((0,n.useState)(_),2),k=C[0],A=C[1];return n.createElement(o.Flex,{className:a()("split-layout",w.splitLayout),ref:O},n.createElement(s.SplitLayoutItem,h({ref:g},T),S),u&&n.createElement(l.Divider,{onKeyboardResize:m?function(e){var t=g.current.getBoundingClientRect(),r=b.current.getBoundingClientRect();"ArrowLeft"===e.key&&(j(h(h({},T),{},{size:t.width-5})),A(h(h({},k),{},{size:r.width+5}))),"ArrowRight"===e.key&&(j(h(h({},T),{},{size:t.width+5})),A(h(h({},k),{},{size:r.width-5})))}:void 0,onMouseResize:m?function(e){var t=g.current.getBoundingClientRect(),r=b.current.getBoundingClientRect(),n=O.current.getBoundingClientRect();j(h(h({},T),{},{size:(t.width+e.movementX)/n.width*100})),A(h(h({},k),{},{size:(r.width-e.movementX)/n.width*100}))}:void 0}),n.createElement(s.SplitLayoutItem,h({ref:b},k),E))}},99807:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.css,i=e.token;return{split:o(n||(t=["\n .ant-divider {\n margin-inline: 0;\n }\n\n &.split--theme-secondary {\n .ant-divider {\n border-color: ",";\n }\n }\n\n &.split--divider-size-large {\n .ant-divider {\n height: 24px;\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),i.colorTextSecondary)}}))},25419:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Split:()=>d});var n=r(36198),o=r(40069),i=r(55328),a=r(99807);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var l=["theme","dividerSize"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){var n;return n=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var d=function(e){var t=e.theme,r=void 0===t?"primary":t,s=e.dividerSize,d=void 0===s?"large":s,p=f(e,l),h=[(0,a.useStyles)().styles.split,"split--theme-"+r,"split--divider-size-"+d].join(" ");return n.createElement(o.Space,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{stackListItem:(0,e.css)(n||(t=["\n border-radius: 4px;\n border: 1px solid ",";\n background-color: #fff;\n\n .stack-list-item__title {\n display: flex;\n align-items: center;\n gap: 2px;\n padding: 4px;\n }\n\n .stack-list-item__body {\n padding: 0 4px 4px 4px;\n }\n\n .stack-list-item__content {\n flex: 1;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorBorder)}}))},73087:(e,t,r)=>{"use strict";r.r(t),r.d(t,{StackListItem:()=>f});var n=r(36198),o=r(67839),i=r(45587),a=r(24285),s=r(27027);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){var n;return n=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==l(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=function(e){var t=e.id,r=e.children,l=e.body,f=e.sortable,d=void 0!==f&&f,p=e.renderLeftToolbar,h=e.renderRightToolbar,m=(0,o.useStyles)().styles,y=(0,i.useSortable)({id:t}),g=y.listeners,v=y.setNodeRef,b=y.setActivatorNodeRef,O=y.transform,w=y.transition,S={transform:a.CSS.Transform.toString(O),transition:null!=w?w:void 0};return n.createElement("div",{className:["stack-list-item",m.stackListItem].join(" "),ref:v,style:S},n.createElement("div",{className:"stack-list-item__title"},d&&n.createElement(s.IconButton,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{stackList:(0,e.css)(n||(t=["\n display: flex;\n flex-direction: column;\n gap: 8px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},97370:(e,t,r)=>{"use strict";r.r(t),r.d(t,{StackList:()=>m});var n=r(36198),o=r(93967),i=r.n(o),a=r(73087),s=r(71938),l=r(37394),c=r(45587);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e,t,r){var n;return n=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==u(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{Switch:()=>f});var n=r(36198),o=r(55328),i=r(47259);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=["labelLeft","labelRight"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){var n;return n=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var f=function(e){var t=e.labelLeft,r=e.labelRight,a=u(e,s);return n.createElement(i.Flex,{align:"center",gap:"extra-small"},t,n.createElement(o.Switch,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{TagList:()=>f});var n=r(36198),o=r(93967),i=r.n(o),a=r(52645),s=r(47259);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){var n;return n=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==l(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=function(e){var t=e.list,r=e.itemGap,o=e.tagListClassNames,l=e.tagListItemClassNames,f=e.wrap,d=void 0===f||f;return n.createElement(s.Flex,{gap:"small",rootClassName:i()(o),vertical:!0},t.map((function(e,t){return n.createElement(s.Flex,{gap:r,key:t,rootClassName:i()(l),wrap:d},e.map((function(e,r){return n.createElement(a.Tag,function(e){for(var t=1;t{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>a});var a=(0,r(99291).createStyles)((function(e){var t=e.css,r=e.token;return{tag:t(n||(n=i(["\n &.ant-tag {\n margin-inline-end: 0;\n \n &.ant-tag-default {\n background-color: ",";\n color: ",";\n border-color: ",";\n }\n \n &.theme-transparent {\n background-color: ",";\n border-color: ",";\n }\n\n .anticon + span {\n margin-inline-start: 4px;\n }\n }\n "])),r.colorFillTertiary,r.colorTextLabel,r.Tag.colorBorder,r.colorFillTertiary,r.colorBorder),tooltip:t(o||(o=i(["\n .ant-tooltip-inner {\n color: ",";\n background-color: ",";\n border-radius: ","px;\n }\n \n .ant-tooltip-arrow {\n &::before {\n background-color: ",";\n }\n }\n "])),r.colorTextLightSolid,r.colorBgSpotlight,r.borderRadius,r.colorBgSpotlight)}}))},52645:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Tag:()=>h});var n=r(36198),o=r(55328),i=r(93967),a=r.n(i),s=r(54663),l=r(14034);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var u=["children","icon","iconName","theme","className"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e,t,r){var n;return n=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==c(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var h=function(e){var t,r=e.children,i=e.icon,c=e.iconName,h=e.theme,m=e.className,y=p(e,u),g=(0,l.useStyles)().styles,v=a()(g.tag,m,d({},"theme-".concat(h),h));return n.createElement(o.Tag,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{detectLanguageFromFilename:()=>d,getLanguageExtensions:()=>f});var n=r(36391),o=r(39356),i=r(13249),a=r(42312),s=r(68663),l=r(21390),c=r(57801),u={html:{codeMirrorExtension:(0,n.html)(),fileExtensions:["html","htm","shtm","shtml","xhtml","cfm","cfml","cfc","dhtml","xht","tpl","twig","kit","jsp","aspx","ascx","asp","master","cshtml","vbhtml"]},css:{codeMirrorExtension:(0,o.css)(),fileExtensions:["css","less","scss","sass"]},javascript:{codeMirrorExtension:(0,i.javascript)({jsx:!0}),fileExtensions:["js","js.erb","jsm","_js","jsx"]},json:{codeMirrorExtension:(0,a.json)(),fileExtensions:["json","map"]},xml:{codeMirrorExtension:(0,s.xml)(),fileExtensions:["xml","wxs","wxl","wsdl","rss","atom","rdf","xslt","xsl","xul","xsd","xbl","mathml","config","plist","xaml"]},sql:{codeMirrorExtension:(0,l.sql)(),fileExtensions:["sql"]},markdown:{codeMirrorExtension:(0,c.markdown)(),fileExtensions:["md","markdown","mdown","mkdn"]}},f=function(e){return null==e?[]:[u[e].codeMirrorExtension]},d=function(e){var t=e.split(".").pop();if(void 0===t)return null;for(var r in u)if(u[r].fileExtensions.includes(t))return r;return null}},27761:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{editor:(0,e.css)(n||(t=["\n height: 100%;\n width: 100%;\n \n & .CodeMirror {\n height: 100%;\n width: 100%;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},37093:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TextEditor:()=>c});var n=r(36198),o=r(27761),i=r(5770),a=r(5018);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{Text:()=>l});var n=r(36198);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){var n;return n=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==o(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(55328).Typography.Text,l=function(e){return n.createElement(s,function(e){for(var t=1;t{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>a});var a=(0,r(99291).createStyles)((function(e){var t=e.token,r=e.css;return{flex:r(n||(n=i(["\n .pimcore-icon {\n color: ",";\n margin-right: 4px;\n }\n "])),t.colorPrimary),title:r(o||(o=i(["\n &.pimcore-title.ant-typography {\n font-size: 12px;\n font-weight: 600;\n color: ",";\n }\n .pimcore-icon {\n color: ",";\n margin-right: 4px;\n }\n "])),t.colorPrimary,t.colorPrimary)}}),{hashPriority:"low"})},48324:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Title:()=>d});var n=r(55328),o=r(36198),i=r(77717);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=["children","icon"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){var n;return n=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var f=n.Typography.Title,d=function(e){var t=e.children,r=e.icon,a=u(e,s),d=(0,i.useStyle)().styles;return o.createElement(n.Flex,{align:"center",className:d.flex},r,o.createElement(f,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{toolbar:(0,e.css)(n||(t=["\n width: 100%;\n height: 48px;\n padding: ","px;\n\n &.toolbar--theme-primary {\n // @todo: use token\n background-color: #F5F3FA;\n }\n\n &.toolbar--theme-secondary {\n background-color: ",";\n }\n\n &.toolbar--position-top {\n border-bottom: 1px solid ",";\n }\n\n &.toolbar--position-bottom {\n border-top: 1px solid ",";\n }\n\n &.toolbar--size-small {\n height: 40px;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingXS,o.colorBgBase,o.colorBorderTertiary,o.colorBorderTertiary)}}))},72475:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Toolbar:()=>d});var n=r(75882),o=r(55328),i=r(36198),a=r(67892);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var l=["children","size","justify","theme","position"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){var n;return n=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var d=function(e){var t=e.children,r=e.size,s=void 0===r?"default":r,d=e.justify,p=void 0===d?"space-between":d,h=e.theme,m=void 0===h?"primary":h,y=e.position,g=void 0===y?"bottom":y,v=f(e,l),b=[(0,n.useStyles)().styles.toolbar,"toolbar","toolbar--theme-".concat(m),"toolbar--position-".concat(g),"toolbar--size-".concat(s)].join(" ");return i.createElement("div",{className:b},i.createElement(a.HorizontalScroll,null,i.createElement(o.Flex,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{TreeElementItem:()=>s});var n=r(36198),o=r(55328),i=r(30811),a=r(54663),s=function(e){var t=e.title,r=e.actions,s=e.onSelected,l=e.onActionsClick,c=(0,i.useTranslation)().t,u=[];null==r||r.forEach((function(e){null==u||u.push({key:e.key,label:c("tree.actions.".concat(e.key)),icon:n.createElement(a.Icon,{value:e.icon}),onClick:function(){null==l||l(e.key)}})}));var f=function(){return n.createElement("span",{onClick:s,onKeyDown:function(e){"Enter"!==e.key&&"Escape"!==e.key||null!=s&&s()},role:"button",tabIndex:0},t)};return(null==u?void 0:u.length)>0?n.createElement(o.Dropdown,{menu:{items:u},trigger:["contextMenu"]},f()):f()}},97118:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e,t){var r,o,i=e.token;return{treeContainer:(0,e.css)(n||(r=["\n .ant-tree-list-holder-inner {\n .ant-tree-treenode-leaf-last {\n &:first-child {\n .ant-tree-checkbox {\n display: ",";\n }\n }\n }\n\n .ant-tree-treenode {\n padding: 0;\n \n @media (hover: hover) {\n &:hover {\n background-color: ",";\n }\n }\n\n &:focus {\n outline: none;\n background-color: ",";\n }\n\n .ant-tree-node-content-wrapper {\n padding: 0;\n background: none;\n\n &:hover {\n background: none;\n }\n }\n }\n\n .ant-tree-treenode-selected {\n background-color: ",";\n }\n }\n \n .ant-tree-switcher {\n display: flex;\n align-items: center;\n justify-content: center;\n \n &:hover {\n background-color: transparent !important;\n }\n }\n\n .ant-tree-switcher-noop {\n pointer-events: none;\n }\n \n .ant-tree-switcher_close {\n .ant-tree-switcher-icon {\n svg {\n transform: rotate(0deg);\n }\n }\n }\n\n .ant-tree-switcher_open {\n .ant-tree-switcher-icon {\n svg {\n transform: rotate(-180deg);\n }\n }\n }\n\n .ant-tree-draggable-icon {\n display: none;\n }\n "],o||(o=r.slice(0)),n=Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}}))),!0===t.isHideRootChecker?"none":"block",i.controlItemBgHover,i.controlItemBgActiveHover,i.controlItemBgActive)}}),{hashPriority:"high"})},72726:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TreeElement:()=>d});var n=r(36198),o=r(55328),i=r(93967),a=r.n(i),s=r(54663),l=r(54137),c=r(97118);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{uploadList:(0,e.css)(n||(t=["\n margin-top: ","px;\n margin-bottom: ","px;\n display: flex;\n flex-direction: column;\n align-items: center;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingSM,o.paddingSM)}}))},80810:(e,t,r)=>{"use strict";r.r(t),r.d(t,{UploadList:()=>u});var n=r(36198),o=r(55328),i=r(30134);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{upload:(0,e.css)(n||(t=["\n display: none\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},595:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Upload:()=>d});var n=r(36198),o=r(55328),i=r(50713);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{timeline:(0,e.css)(n||(t=["\n padding-left: ","px;\n \n & > div {\n position: relative;\n margin: 0;\n \n padding: 3px 0 7px 21px;\n \n border-left: 2px solid rgba(0,0,0,6%);\n }\n\n & > div:before {\n content: '';\n \n position: absolute;\n margin-top: 16px;\n margin-right: -4px;\n right: 100%;\n text-align: center;\n\n height: 6px;\n width: 6px;\n border-radius: 50%;\n background-color: white;\n border: 2px solid ",";\n }\n\n & > .is-active:before {\n height: 10px;\n width: 10px;\n margin-right: -6px;\n border-color: ",";\n }\n\n & > .is-published:before {\n border-color: ",";\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingXS,o.colorTextDisabled,o.colorPrimary,o.colorSuccess)}}),{hashPriority:"low"})},87629:(e,t,r)=>{"use strict";r.r(t),r.d(t,{VerticalTimeline:()=>i});var n=r(36198),o=r(92941),i=function(e){var t=e.timeStamps,r=(0,o.useStyle)().styles;return n.createElement("div",{className:r.timeline},t)}},96212:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{workflowCard:(0,e.css)(n||(t=["\n .ant-card-head-title {\n display: flex !important;\n gap: 8px;\n font-size: 12px;\n align-items: center;\n \n p {\n margin: 0;\n }\n\n .ant-tag {\n background: ",";\n border: 1px solid ",";\n cursor: pointer;\n height: 22px;\n display: flex;\n align-items: center;\n gap: 8px;\n \n &.color-inverted {\n border: transparent;\n }\n \n .ant-badge { \n .ant-badge-status-dot {\n width: 6px;\n height: 6px;\n top: unset;\n }\n }\n }\n }\n\n .ant-card-body {\n overflow: auto;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorFillSecondary,o.colorBorder)}}),{hashPriority:"low"})},59264:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WorkflowCard:()=>p});var n=r(36198),o=r(55328),i=r(96212),a=r(30811),s=r(41642),l=r(31825),c=r(2824),u=r(71816);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&r.workflowStatus.map((function(e,t){return n.createElement(o.Tag,{className:e.colorInverted?"color-inverted":"",icon:n.createElement(o.Badge,{color:e.color,styles:e.colorInverted?{indicator:{outline:"1px solid ".concat(e.color,"4D")}}:{}}),key:t,style:e.colorInverted?{backgroundColor:"".concat(e.color,"33")}:{},title:e.title},e.label)})))},void 0!==r.graph&&n.createElement("img",{alt:"workflow",src:"data:image/svg+xml;utf8,".concat(encodeURIComponent(r.graph))}))}},43056:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createDiInstance:()=>i});var n=r(36198),o=r(66595);function i(){var e=new o.Container,t=(0,n.createContext)(e);return{container:e,ContainerContext:t,ContainerProvider:function(r){var o=r.children;return n.createElement(t.Provider,{value:e},o)},useInjection:function(e){return window.Pimcore.container.get(e)},useOptionalInjection:function(e){var t=window.Pimcore.container;return t.isBound(e)?t.get(e):null},useMultiInjection:function(e){return window.Pimcore.container.getAll(e)}}}},10365:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ra});var a=new(function(){return e=function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=[],(r=i(r="subscribers"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n},(t=[{key:"subscribe",value:function(e,t){var r={identifier:e,callback:t};return this.subscribers.push(r),r}},{key:"unsubscribe",value:function(e){this.subscribers=this.subscribers.filter((function(t){return t!==e}))}},{key:"publish",value:function(e){this.subscribers.forEach((function(t){t.identifier.type===e.identifier.type&&t.identifier.id===e.identifier.id&&t.callback(e)}))}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}())},30191:(e,t,r)=>{"use strict";r.a(e,(async(n,o)=>{try{r.r(t);r(8844);var i=r(44784),a=r(19387),s=r(80237);void 0!==(e=r.hmd(e)).hot&&e.hot.accept(),window.Pimcore=(await r.e(105).then(r.bind(r,78105))).Pimcore,await a.pluginSystem.loadPlugins(),a.pluginSystem.initPlugins(),a.pluginSystem.startupPlugins(),s.moduleSystem.initModules(),(0,i.runApp)(),o()}catch(e){o(e)}}),1)},79383:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useCssComponentHash:()=>s});var n=r(71147),o=r(50650),i=r(25157),a=r(36198),s=function(e){var t,r=(0,a.useContext)(i.ConfigContext).getPrefixCls(e,"");switch(e){case"table":t=(0,n.default)(r)[1];break;case"pagination":t=(0,o.default)(r)[1]}return t}},3539:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AppLoader:()=>O});var n=r(36198),o=r(9468),i=r(30851),a=r(7496),s=r(37352),l=r(30811),c=r(4362),u=r(94492),f=r(19991),d=r(82755),p=r(96277);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(){m=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==h(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?g:p,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function y(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function g(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){y(i,n,o,a,s,"next",e)}function s(e){y(i,n,o,a,s,"throw",e)}a(void 0)}))}}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{AppView:()=>u});var n=r(36198),o=r(64406),i=r(55328),a=r(79655),s=r(24835),l=r(3539),c=r(67890),u=function(){return n.createElement(n.Fragment,null,n.createElement(o.GlobalProvider,null,n.createElement(i.App,null,n.createElement(c.DateTimeConfig,null,n.createElement(l.AppLoader,null,n.createElement(a.RouterProvider,{router:s.router}))))))}},96216:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStlyes:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{baseLayout:(0,e.css)(n||(t=["\n position: absolute;\n overflow: hidden;\n inset: 0;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},42902:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BaseLayoutView:()=>c});var n=r(36198),o=r(92180),i=r(95165),a=r(38065),s=r(96216),l=r(93844),c=function(){var e=(0,s.useStlyes)().styles;return n.createElement("div",{className:["base-layout",e.baseLayout].join(" ")},n.createElement(o.LeftSidebarView,null),n.createElement(i.WidgetManagerContainer,null),n.createElement(l.Notification,null),n.createElement(a.RightSidebarView,null))}},42235:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStlyes:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{leftSidebar:(0,e.css)(n||(t=["\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n z-index: 2;\n pointer-events: none;\n\n .left-sidebar__avatar {\n margin: 8px 15px 0 15px;\n pointer-events: all;\n }\n\n .ant-avatar {\n background-color: rgba(114, 46, 209, 0.66);\n\n .anticon {\n vertical-align: 0;\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},92180:(e,t,r)=>{"use strict";r.r(t),r.d(t,{LeftSidebarView:()=>s});var n=r(55328),o=r(36198),i=r(42235),a=r(54663),s=function(){var e=(0,i.useStlyes)().styles;return o.createElement("div",{className:e.leftSidebar},o.createElement(n.Avatar,{className:"left-sidebar__avatar",icon:o.createElement(a.Icon,{value:"user-01"}),size:26}))}},39966:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStlyes:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{rightSidebar:(0,e.css)(n||(t=["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n z-index: 2;\n pointer-events: none;\n\n .logo \n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},38065:(e,t,r)=>{"use strict";r.r(t),r.d(t,{RightSidebarView:()=>a});var n=r(82595),o=r(36198),i=r(39966),a=function(){var e=(0,i.useStlyes)().styles;return o.createElement("div",{className:e.rightSidebar},o.createElement(n.Logo,null))}},91638:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ComponentRegistry:()=>l});var n=r(66595);function o(e,t){for(var r=0;r=0;l--)(o=e[l])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},l=function(){return e=function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n={},(r=i(r="registry"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n},(t=[{key:"register",value:function(e){if(this.has(e.name))throw new Error('Component with the name "'.concat(e.name,'" already exists. Use the override method to override it'));this.registry[e.name]=e}},{key:"getAll",value:function(){return this.registry}},{key:"get",value:function(e){if(!this.has(e))throw new Error('No component with the name "'.concat(e,'" found'));return this.registry[e].component}},{key:"has",value:function(e){return e in this.registry}},{key:"override",value:function(e,t){if(!this.has(e))throw new Error('No component named "'.concat(e,'" found to override'));this.registry[e]=t}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();l=s([(0,n.injectable)()],l)},54224:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DefaultPage:()=>s});var n=r(36198),o=r(17180),i=r(42902),a=r(32347),s=function(){(0,a.useMiddleware)();var e=function(e){e.preventDefault()};return n.createElement("div",{onDragOver:e,onDrop:e},n.createElement(o.Background,null),n.createElement(i.BaseLayoutView,null))}},33811:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addGlobalContext:()=>a,removeGlobalContext:()=>s,selectContextByType:()=>l});var n=r(7496),o=(0,r(8327).createSlice)({name:"global-context",initialState:[],reducers:{addGlobalContext:function(e,t){e.push(t.payload)},removeGlobalContext:function(e,t){return e.filter((function(e){return e.type!==t.payload}))}},selectors:{selectContextByType:function(e,t){return e.find((function(e){return e.type===t}))}}});(0,n.injectSliceWithState)(o);var i=o.actions,a=i.addGlobalContext,s=i.removeGlobalContext,l=o.getSelectors((function(e){return e["global-context"]})).selectContextByType},64406:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalProvider:()=>c});var n=r(81690),o=r(7496),i=r(26486),a=r(43669),s=r(36198),l=r(45007),c=function(e){var t=e.children;return s.createElement(n.ContainerProvider,null,s.createElement(a.ThemeProvider,null,s.createElement(l.Provider,{store:o.store},s.createElement(i.DragAndDropContextProvider,null,t))))}},95987:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useSettings:()=>a});var n=r(45007),o=r(94492),i=r(36198),a=function(){var e=(0,n.useSelector)(o.getSettings);return(0,i.useMemo)((function(){return e}),[e])}},30851:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useAssetCustomSettingsGetByIdQuery:()=>a,useSystemSettingsGetQuery:()=>s});var n=r(35525),o=["Assets","Settings"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{assetCustomSettingsGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/custom-settings")}},providesTags:["Assets"]}),systemSettingsGet:e.query({query:function(){return{url:"/pimcore-studio/api/settings"}},providesTags:["Settings"]})}},overrideExisting:!1}),a=i.useAssetCustomSettingsGetByIdQuery,s=i.useSystemSettingsGetQuery},94492:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getSettings:()=>l,setSettings:()=>s});var n=r(8327),o=r(7496);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{ThemeProvider:()=>a});var n=r(99291),o=r(36198),i=r(60048),a=function(e){var t=e.children;return o.createElement(n.ThemeProvider,{theme:i.PimcoreDefaultTheme},t)}},60048:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;tl});var s={Form:{itemMarginBottom:12,verticalLabelPadding:4}},l={token:i(i({},{fontFamily:"Lato, sans-serif"}),{},{colorLink:"#722ed1",colorLinkActive:"#531dab",colorLinkHover:"#9254de",controlOutline:"rgba(114, 46, 209, 0.1)",controlItemBgActive:"#f8eeff",itemSelectedColor:"rgba(0, 0, 0, 0.88)",boxShadow:"0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02)",colorTextTertiary:"rgba(0, 0, 0, 0.6)",colorFill:"rgba(215, 199, 236, 0.6)",colorFillQuaternary:"rgba(215, 199, 236, 0.4)",colorBgLayout:"#fcfcfc",colorPrimary:"#722ed1",fontSize:12,fontSizeHeading1:35,colorIconSecondary:"#4d4169",colorFillNav:"rgba(77, 65, 105, 0.08)",colorIconSidebar:"#22075e",colorBorderActive:"#00bab3",colorLogo:"#5520a6",colorBorderTertiary:"#eae8ed",colorTextTreeElement:"#404655",colorIconTree:"#404655",colorIconTreeUnpublished:"rgba(64, 70, 85, 0.4)",paddingTabs:8,colorTextSidebarTitle:"#531dab",colorBgToolbar:"#f5f3fa",colorFillActive:"#d7c7ec",colorFillAdditional:"#f5f3fa",colorBgSidebarOptions:"#f5f3fa",colorBgSelectedTab:"#ffffff",cardGutter:2,cardHeight:40,horizontalItemGutter:32,itemActiveColor:"#531dab",itemColor:"rgba(0, 0, 0, 0.65)",itemHoverColor:"rgba(215, 199, 236, 0.6)",itemUnselectedIconColor:"#4d4169",colorBorderContainer:"#eae8ed",colorBorderActiveTab:"#00bab3",colorFillAlter:"rgba(215, 199, 236, 0.4)",colorTextDescription:"rgba(0, 0, 0, 0.6)",colorBgUnselectedTab:"rgba(215, 199, 236, 0.4)",colorBgHoverUnselectedTab:"rgba(215, 199, 236, 0.6)",colorAccentSecondary:"#08979c"}),components:i(i({},s),{},{Pagination:{colorPrimary:"#531dab"},Tree:{colorBorderTree:"#eae8ed",colorTextTree:"#404655",colorPrimaryHeading:"#531dab",colorTextTreeUnpublished:"rgba(0, 0, 0, 0.25)"},Progress:{colorText:"rgba(0, 0, 0, 0.65)",circleTextColor:"rgba(0, 0, 0, 0.25)"},Divider:{colorSplit:"#d3adf7"},IconButton:{colorBgContainer:"#ffffff",borderRadiusSM:"4px"},Button:{defaultBorderColor:"#d3adf7",defaultColor:"#722ed1",defaultGhostBorderColor:"#d9d9d9",defaultGhostColor:"#722ed1",textGhostColor:"rgba(0, 0, 0, 0.88)",controlHeightSM:24},Breadcrumb:{lastItemColor:"#531dab"},Menu:{darkItemColor:"rgba(255, 255, 255, 0.65)",darkItemDisabledColor:"rgba(255, 255, 255, 0.25)",darkGroupTitleColor:"rgba(255, 255, 255, 0.65)"},Collapse:{headerBg:"rgba(0, 0, 0, 0.04)"},Image:{previewOperationColor:"rgba(255, 255, 255, 0.65)",previewOperationColorDisabled:"rgba(255, 255, 255, 0.25)",previewOperationHoverColor:"rgba(255, 255, 255, 0.85)"},Table:{cellPaddingBlockSM:4,cellPaddingInlineSM:4,colorBorderSecondary:"#D9D9D9AA",controlItemBgActive:"#f8eeff",footerBg:"#fafafa",headerBg:"#fafafa"},Tabs:{colorBgSelectedTab:"#ffffff",itemColor:"rgba(0, 0, 0, 0.65)",itemHoverColor:"rgba(215, 199, 236, 0.6)",itemUnselectedIconColor:"#4d4169",colorBorderActiveTab:"#00bab3",colorBgUnselectedTab:"rgba(215, 199, 236, 0.4)",colorBgHoverUnselectedTab:"rgba(215, 199, 236, 0.6)",colorBorderContainer:"#eae8ed"},Avatar:{colorUserIndicator:"#722ed1"},Modal:{colorTextSecondary:"rgba(0, 0, 0, 0.6)"},Alert:{colorInfo:"#722ed1",colorInfoBg:"#f9f0ff",colorInfoBorder:"#d3adf7"},Empty:{colorTextDisabled:"rgba(0, 0, 0, 0.25)"},Colors:{Neutral:{Fill:{colorFill:"rgba(215, 199, 236, 0.60)"}}},Tag:{colorBorder:"#d9d9d9",colorErrorBg:"#fff2f0",colorErrorBorder:"#ffccc7",colorFillQuaternary:"rgba(215, 199, 236, 0.4)",colorFillSecondary:"rgba(0, 0, 0, 0.06)",colorFillTertiary:"rgba(0, 0, 0, 0.04)",colorInfoBg:"#f9f0ff",colorInfoBorder:"#d3adf7",colorPrimary:"#722ed1",colorPrimaryActive:"#531dab",colorPrimaryHover:"#9254de",colorSuccessBg:"#f6ffed",colorSuccessBorder:"#b7eb8f",colorText:"rgba(0, 0, 0, 0.88)",colorTextDescription:"rgba(0, 0, 0, 0.6)",colorTextHeading:"rgba(0, 0, 0, 0.88)",colorTextLightSolid:"#ffffff",colorWarningBg:"#fffbe6",colorWarningBorder:"#ffe58f",borderRadiusSM:4,lineWidth:1,marginXS:8,paddingXXS:4,fontSize:12,fontSizeIcon:12,fontSizeSM:12,defaultBg:"#fafafa",defaultColor:"rgba(0, 0, 0, 0.88)"}})}},37352:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useTranslationGetCollectionMutation:()=>a});var n=r(35525),o=["Translation"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{translationGetCollection:e.mutation({query:function(e){return{url:"/pimcore-studio/api/translations",method:"POST",body:e.translation}},invalidatesTags:["Translation"]})}},overrideExisting:!1}),a=i.useTranslationGetCollectionMutation},44784:(e,t,r)=>{"use strict";r.r(t),r.d(t,{runApp:()=>a});var n=r(36198),o=r(20745),i=r(56722);function a(){var e=document.getElementById("app");if(null===e)throw new Error("Root element not found");(0,o.createRoot)(e).render(n.createElement(i.AppView,null))}},50164:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useDownload:()=>l});var n=r(54663),o=r(36198),i=r(30811),a=r(65246),s=r(3701),l=function(){var e=(0,i.useTranslation)().t,t=function(e,t){var r="".concat((0,a.getPrefix)(),"/assets/").concat(e,"/download");(0,s.saveFileLocal)(r,t)},r=function(e,r){var n="string"==typeof e.id?e.id:e.id.toString();t(n),null==r||r()};return{download:t,downloadContextMenuItem:function(t,i){return{label:e("asset.tree.context-menu.download"),key:"download",icon:o.createElement(n.Icon,{value:"download-02"}),hidden:"folder"===t.type,onClick:function(){r(t,i)}}},downloadTreeContextMenuItem:function(t){return{label:e("asset.tree.context-menu.download"),key:"download",icon:o.createElement(n.Icon,{value:"download-02"}),hidden:"folder"===t.type,onClick:function(){r(t)}}}}}},42029:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useZipDownload:()=>v});var n=r(51074),o=r(93477),i=r(20807),a=r(30811),s=r(21970),l=r(54663),c=r(36198),u=r(76265);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(){d=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==f(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function p(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function h(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||y(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||y(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){if(e){if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(e,t):void 0}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{api:()=>a,useAssetCloneMutation:()=>u,useAssetCustomMetadataGetByIdQuery:()=>d,useAssetCustomSettingsGetByIdQuery:()=>p,useAssetDeleteGridConfigurationByConfigurationIdMutation:()=>_,useAssetExportCsvAssetMutation:()=>b,useAssetExportCsvFolderMutation:()=>O,useAssetExportZipAssetMutation:()=>g,useAssetExportZipFolderMutation:()=>v,useAssetGetByIdQuery:()=>s,useAssetGetGridConfigurationByFolderIdQuery:()=>P,useAssetGetGridMutation:()=>m,useAssetGetSavedGridConfigurationsQuery:()=>w,useAssetGetTextDataByIdQuery:()=>h,useAssetGetTreeQuery:()=>l,useAssetPatchByIdMutation:()=>y,useAssetReplaceMutation:()=>f,useAssetSaveGridConfigurationMutation:()=>S,useAssetSetGridConfigurationAsFavoriteMutation:()=>x,useAssetUpdateByIdMutation:()=>c,useAssetUpdateGridConfigurationMutation:()=>E});var n=r(38693);function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useAssetAddMutation:()=>N,useAssetCloneMutation:()=>a,useAssetCustomMetadataGetByIdQuery:()=>s,useAssetCustomSettingsGetByIdQuery:()=>l,useAssetDeleteCsvMutation:()=>d,useAssetDeleteGridConfigurationByConfigurationIdMutation:()=>S,useAssetDeleteZipMutation:()=>h,useAssetDocumentStreamPreviewQuery:()=>u,useAssetDownloadByIdQuery:()=>m,useAssetDownloadCsvQuery:()=>f,useAssetDownloadZipQuery:()=>p,useAssetExportCsvAssetMutation:()=>y,useAssetExportCsvFolderMutation:()=>g,useAssetExportZipAssetMutation:()=>v,useAssetExportZipFolderMutation:()=>b,useAssetGetAvailableGridColumnsQuery:()=>x,useAssetGetByIdQuery:()=>O,useAssetGetGridConfigurationByFolderIdQuery:()=>E,useAssetGetGridMutation:()=>C,useAssetGetSavedGridConfigurationsQuery:()=>_,useAssetGetTextDataByIdQuery:()=>c,useAssetGetTreeQuery:()=>I,useAssetImageDownloadByFormatQuery:()=>A,useAssetImageDownloadByThumbnailQuery:()=>L,useAssetImageDownloadCustomQuery:()=>k,useAssetImageStreamPreviewQuery:()=>D,useAssetPatchByIdMutation:()=>R,useAssetPatchFolderByIdMutation:()=>M,useAssetReplaceMutation:()=>$,useAssetSaveGridConfigurationMutation:()=>P,useAssetSetGridConfigurationAsFavoriteMutation:()=>T,useAssetUpdateByIdMutation:()=>w,useAssetUpdateGridConfigurationMutation:()=>j,useAssetUploadInfoQuery:()=>B,useAssetUploadZipMutation:()=>F,useAssetVideoDownloadByThumbnailQuery:()=>Q,useAssetVideoImageThumbnailStreamQuery:()=>z,useAssetVideoStreamByThumbnailQuery:()=>V,useVersionAssetDownloadByIdQuery:()=>U});var n=r(35525),o=["Assets","Asset Grid","Versions"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{assetClone:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/clone/").concat(e.parentId),method:"POST"}},invalidatesTags:["Assets"]}),assetCustomMetadataGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/custom-metadata")}},providesTags:["Assets"]}),assetCustomSettingsGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/custom-settings")}},providesTags:["Assets"]}),assetGetTextDataById:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/text")}},providesTags:["Assets"]}),assetDocumentStreamPreview:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/document/stream/pdf-preview")}},providesTags:["Assets"]}),assetDownloadCsv:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/download/csv/".concat(e.jobRunId)}},providesTags:["Assets"]}),assetDeleteCsv:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/download/csv/".concat(e.jobRunId),method:"DELETE"}},invalidatesTags:["Assets"]}),assetDownloadZip:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/download/zip/".concat(e.jobRunId)}},providesTags:["Assets"]}),assetDeleteZip:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/download/zip/".concat(e.jobRunId),method:"DELETE"}},invalidatesTags:["Assets"]}),assetDownloadById:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/download")}},providesTags:["Assets"]}),assetExportCsvAsset:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/export/csv/asset",method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetExportCsvFolder:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/export/csv/folder",method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetExportZipAsset:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/export/zip/asset",method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetExportZipFolder:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/export/zip/folder",method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id)}},providesTags:["Assets"]}),assetUpdateById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id),method:"PUT",body:e.body}},invalidatesTags:["Assets"]}),assetDeleteGridConfigurationByConfigurationId:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/grid/configuration/".concat(e.folderId,"/").concat(e.configurationId),method:"DELETE"}},invalidatesTags:["Asset Grid"]}),assetGetAvailableGridColumns:e.query({query:function(){return{url:"/pimcore-studio/api/assets/grid/available-columns"}},providesTags:["Asset Grid"]}),assetGetGridConfigurationByFolderId:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/grid/configuration/".concat(e.folderId),params:{configurationId:e.configurationId}}},providesTags:["Asset Grid"]}),assetGetSavedGridConfigurations:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/grid/configurations/".concat(e.folderId)}},providesTags:["Asset Grid"]}),assetSaveGridConfiguration:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/grid/configuration/save",method:"POST",body:e.body}},invalidatesTags:["Asset Grid"]}),assetSetGridConfigurationAsFavorite:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/grid/configuration/set-as-favorite/".concat(e.configurationId,"/").concat(e.folderId),method:"POST"}},invalidatesTags:["Asset Grid"]}),assetUpdateGridConfiguration:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/grid/configuration/update/".concat(e.configurationId),method:"PUT",body:e.body}},invalidatesTags:["Asset Grid"]}),assetGetGrid:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/grid",method:"POST",body:e.body}},invalidatesTags:["Asset Grid"]}),assetImageDownloadCustom:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/image/download/custom"),params:{mimeType:e.mimeType,resizeMode:e.resizeMode,width:e.width,height:e.height,quality:e.quality,dpi:e.dpi}}},providesTags:["Assets"]}),assetImageDownloadByFormat:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/image/download/format/").concat(e.format)}},providesTags:["Assets"]}),assetImageStreamPreview:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/image/stream/preview")}},providesTags:["Assets"]}),assetImageDownloadByThumbnail:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/image/download/thumbnail/").concat(e.thumbnailName)}},providesTags:["Assets"]}),assetPatchById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets",method:"PATCH",body:e.body}},invalidatesTags:["Assets"]}),assetPatchFolderById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/folder",method:"PATCH",body:e.body}},invalidatesTags:["Assets"]}),assetGetTree:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/tree",params:{page:e.page,pageSize:e.pageSize,parentId:e.parentId,idSearchTerm:e.idSearchTerm,excludeFolders:e.excludeFolders,path:e.path,pathIncludeParent:e.pathIncludeParent,pathIncludeDescendants:e.pathIncludeDescendants}}},providesTags:["Assets"]}),assetAdd:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/add/".concat(e.parentId),method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetUploadInfo:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/exists/".concat(e.parentId),params:{fileName:e.fileName}}},providesTags:["Assets"]}),assetReplace:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/replace"),method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetUploadZip:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/add-zip/".concat(e.parentId),method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetVideoImageThumbnailStream:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/video/stream/image-thumbnail"),params:{width:e.width,height:e.height,aspectRatio:e.aspectRatio,frame:e.frame,async:e.async}}},providesTags:["Assets"]}),assetVideoDownloadByThumbnail:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/video/download/").concat(e.thumbnailName)}},providesTags:["Assets"]}),assetVideoStreamByThumbnail:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/video/stream/").concat(e.thumbnailName)}},providesTags:["Assets"]}),versionAssetDownloadById:e.query({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id,"/asset/download")}},providesTags:["Versions"]})}},overrideExisting:!1}),a=i.useAssetCloneMutation,s=i.useAssetCustomMetadataGetByIdQuery,l=i.useAssetCustomSettingsGetByIdQuery,c=i.useAssetGetTextDataByIdQuery,u=i.useAssetDocumentStreamPreviewQuery,f=i.useAssetDownloadCsvQuery,d=i.useAssetDeleteCsvMutation,p=i.useAssetDownloadZipQuery,h=i.useAssetDeleteZipMutation,m=i.useAssetDownloadByIdQuery,y=i.useAssetExportCsvAssetMutation,g=i.useAssetExportCsvFolderMutation,v=i.useAssetExportZipAssetMutation,b=i.useAssetExportZipFolderMutation,O=i.useAssetGetByIdQuery,w=i.useAssetUpdateByIdMutation,S=i.useAssetDeleteGridConfigurationByConfigurationIdMutation,x=i.useAssetGetAvailableGridColumnsQuery,E=i.useAssetGetGridConfigurationByFolderIdQuery,_=i.useAssetGetSavedGridConfigurationsQuery,P=i.useAssetSaveGridConfigurationMutation,T=i.useAssetSetGridConfigurationAsFavoriteMutation,j=i.useAssetUpdateGridConfigurationMutation,C=i.useAssetGetGridMutation,k=i.useAssetImageDownloadCustomQuery,A=i.useAssetImageDownloadByFormatQuery,D=i.useAssetImageStreamPreviewQuery,L=i.useAssetImageDownloadByThumbnailQuery,R=i.useAssetPatchByIdMutation,M=i.useAssetPatchFolderByIdMutation,I=i.useAssetGetTreeQuery,N=i.useAssetAddMutation,B=i.useAssetUploadInfoQuery,$=i.useAssetReplaceMutation,F=i.useAssetUploadZipMutation,z=i.useAssetVideoImageThumbnailStreamQuery,Q=i.useAssetVideoDownloadByThumbnailQuery,V=i.useAssetVideoStreamByThumbnailQuery,U=i.useVersionAssetDownloadByIdQuery},25525:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addCustomMetadataToAsset:()=>I,addImageSettingsToAsset:()=>x,addPropertyToAsset:()=>P,addScheduleToAsset:()=>k,assetReceived:()=>v,assetsAdapter:()=>m,removeAsset:()=>b,removeCustomMetadataFromAsset:()=>N,removeImageSettingFromAsset:()=>E,removePropertyFromAsset:()=>T,removeScheduleFromAsset:()=>A,resetAsset:()=>O,resetChanges:()=>w,resetSchedulesChangesForAsset:()=>R,selectAssetById:()=>z,setActiveTabForAsset:()=>F,setCustomMetadataForAsset:()=>$,setModifiedCells:()=>S,setPropertiesForAsset:()=>j,setSchedulesForAsset:()=>D,slice:()=>y,updateAllCustomMetadataForAsset:()=>M,updateCustomMetadataForAsset:()=>B,updateImageSettingForAsset:()=>_,updatePropertyForAsset:()=>C,updateScheduleForAsset:()=>L});var n=r(8327),o=r(7496),i=r(86618),a=r(78576),s=r(94941),l=r(36403),c=r(2228),u=r(95973);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{AssetContext:()=>o,AssetProvider:()=>i});var n=r(36198),o=(0,n.createContext)({id:0}),i=function(e){var t=e.id,r=e.children;return(0,n.useMemo)((function(){return n.createElement(o.Provider,{value:{id:t}},r)}),[t])}},78576:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useCustomMetadataDraft:()=>f,useCustomMetadataReducers:()=>u});var n=r(7496);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{useImageSettingsDraft:()=>c,useImageSettingsReducers:()=>l});var n=r(7496);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{EditorContainer:()=>d});var n=r(36198),o=r(61008),i=r(2263),a=r(5482),s=r(43741),l=r(82755),c=r(98740),u=r(7046),f=r(6150),d=function(e){var t=e.id,r=(0,o.useAssetDraft)(t),d=r.isLoading,p=r.isError,h=r.asset,m=r.removeAssetFromState,y=r.editorType,g=(0,i.useIsAcitveMainWidget)(),v=(0,a.useGlobalAssetContext)(),b=v.setContext,O=v.removeContext;return(0,n.useEffect)((function(){return function(){O(),m()}}),[]),(0,n.useEffect)((function(){return g&&b({id:t}),function(){g||O()}}),[g]),p?n.createElement("div",null,"Error"):d?n.createElement(l.Content,{loading:!0}):void 0===h||void 0===y?n.createElement(n.Fragment,null):n.createElement(s.AssetProvider,{id:t},n.createElement(f.TabsToolbarView,{renderTabbar:n.createElement(c.TabsContainer,{elementEditorType:y}),renderToolbar:n.createElement(u.Toolbar,null)}))}},62288:(e,t,r)=>{"use strict";r.r(t);var n=r(81690),o=(r(957),r(50941),r(42371),r(14230),r(55347),r(45136),r(8156),r(87160),r(54088)),i=r(80237),a=r(33859),s=r(16728);i.moduleSystem.registerModule({onInit:function(){var e=n.container.get(o.serviceIds["Asset/Editor/TypeRegistry"]);e.register({name:"image",tabManagerServiceId:"Asset/Editor/ImageTabManager"}),e.register({name:"video",tabManagerServiceId:"Asset/Editor/VideoTabManager"}),e.register({name:"audio",tabManagerServiceId:"Asset/Editor/AudioTabManager"}),e.register({name:"document",tabManagerServiceId:"Asset/Editor/DocumentTabManager"}),e.register({name:"text",tabManagerServiceId:"Asset/Editor/TextTabManager"}),e.register({name:"folder",tabManagerServiceId:"Asset/Editor/FolderTabManager"}),e.register({name:"archive",tabManagerServiceId:"Asset/Editor/ArchiveTabManager"}),e.register({name:"unknown",tabManagerServiceId:"Asset/Editor/UnknownTabManager"}),n.container.get(o.serviceIds.widgetManager).registerWidget(s.AssetEditorWidget),n.container.get(o.serviceIds["App/ComponentRegistry/ComponentRegistry"]).register({name:"editorToolbarContextMenuAsset",component:a.EditorToolbarContextMenu})}})},98051:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TAB_CUSTOM_METADATA:()=>f,TAB_EMBEDDED_METADATA:()=>u,TAB_VERSIONS:()=>d});var n=r(54663),o=r(36198),i=r(4366),a=r(93365),s=r(9287),l=r(64620),c=r(67092),u={key:"embedded-metadata",label:"asset.asset-editor-tabs.embedded-metadata",children:o.createElement(i.EmbeddedMetadataTabContainer,null),icon:o.createElement(n.Icon,{value:"data-sheet"}),isDetachable:!0},f={key:"custom-metadata",label:"asset.asset-editor-tabs.custom-metadata",children:o.createElement(a.CustomMetadataTabContainer,null),icon:o.createElement(n.Icon,{value:"data-management-2"}),isDetachable:!0},d={key:"versions",label:"version.label",workspacePermission:"versions",children:o.createElement(s.VersionsTabContainer,{ComparisonViewComponent:l.ComparisonView,SingleViewComponent:c.SingleView}),icon:o.createElement(n.Icon,{value:"history-outlined"}),isDetachable:!0}},47042:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CustomMetadataTable:()=>w});var n=r(36198),o=r(30811),i=r(74094),a=r(93477),s=r(44587),l=r(43741),c=r(61008),u=r(27027),f=r(30928),d=r(48388),p=r(47259),h=r(86536);function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function y(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0===(null==S?void 0:S.changes.customMetadata)&&T(A,[])}),[S]);var R=(0,i.createColumnHelper)(),M=[R.accessor("type",{header:g("asset.asset-editor-tabs.custom-metadata.columns.type"),meta:{type:"asset-custom-metadata-icon"},size:40}),R.accessor("name",{header:g("asset.asset-editor-tabs.custom-metadata.columns.name"),meta:{editable:!0},size:200}),R.accessor("language",{header:g("asset.asset-editor-tabs.custom-metadata.columns.language"),meta:{type:"language-select",editable:!0},size:100}),R.accessor("data",{header:g("asset.asset-editor-tabs.custom-metadata.columns.value"),meta:{type:"asset-custom-metadata-value",editable:!0,autoWidth:!0},size:400}),R.accessor("actions",{header:g("asset.asset-editor-tabs.custom-metadata.columns.actions"),cell:function(e){return n.createElement(d.Box,{padding:"mini"},n.createElement(p.Flex,{align:"center",className:"w-full h-full",justify:"center"},n.createElement(u.IconButton,{icon:{value:"trash"},onClick:function(){_(e.row.original)},type:"link"})))},size:60})];return n.createElement(s.Grid,{autoWidth:!0,columns:M,data:null!=L?L:[],isLoading:k,modifiedCells:D,onUpdateCellData:function(e){e.rowIndex;var t=e.columnId,n=e.value,o=e.rowData,i=y(null!=x?x:[]),a=i.findIndex((function(e){return e.name===o.name&&e.language===o.language})),s=b(b({},i.at(a)),{},O({},t,n));i[a]=s;var l=i.filter((function(e){return e.name===s.name&&e.language===s.language})).length>1;if((0,f.verifyUpdate)(n,t,"name",l,m,r)){var c=i.map((function(e){var t;return b(b({},e),{},{type:null!==(t=e.type.split(".")[1])&&void 0!==t?t:e.type})}));P(c),T(A,[].concat(y(D),[{rowIndex:o.rowId,columnId:t}]))}},setRowId:function(e){return e.rowId}})}},93365:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CustomMetadataTabContainer:()=>P});var n=r(36198),o=r(30811),i=r(71816),a=r(77749),s=r(47042),l=r(95987),c=r(61008),u=r(43741),f=r(15747),d=r(16826),p=r(81690),h=r(54088),m=r(62833),y=r(54512),g=r(41161),v=r(82755),b=r(40069),O=r(58664),w=r(86536);function S(e){return function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||E(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||E(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){if(e){if("string"==typeof e)return _(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_(e,t):void 0}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0,t=void 0!==F.current;if(e&&t)if(void 0===(null==C?void 0:C.find((function(e){return e.name===B.current&&e.language===z.current})))){var r={additionalAttributes:[],name:B.current,type:F.current,language:z.current,data:null,rowId:(0,w.uuid)()};j(r)}else A();else M()}()}},e("asset.asset-editor-tabs.custom-metadata.add-custom-metadata.add"))),n.createElement(L,{footer:n.createElement(d.ModalFooter,null,n.createElement(i.Button,{onClick:D,type:"primary"},e("button.ok"))),title:e("asset.asset-editor-tabs.custom-metadata.custom-metadata-already-exist.title")},e("asset.asset-editor-tabs.custom-metadata.custom-metadata-already-exist.error")),n.createElement(N,{footer:n.createElement(d.ModalFooter,null,n.createElement(i.Button,{onClick:I,type:"primary"},e("button.ok"))),title:e("asset.asset-editor-tabs.custom-metadata.add-entry-mandatory-fields-missing.title")},e("asset.asset-editor-tabs.custom-metadata.add-entry-mandatory-fields-missing.error"))),!r&&n.createElement(y.ButtonGroup,{items:[n.createElement(i.Button,{key:e("asset.asset-editor-tabs.custom-metadata.add-predefined-definition"),onClick:function(){console.log("clicked")}},e("asset.asset-editor-tabs.custom-metadata.add-predefined-definition")),n.createElement(m.IconTextButton,{icon:{value:"PlusCircleOutlined"},key:e("asset.asset-editor-tabs.custom-metadata.add-custom-definition.add"),onClick:function(){E(!0)}},e("asset.asset-editor-tabs.custom-metadata.add-custom-definition.add"))]})))),n.createElement(s.CustomMetadataTable,{showDuplicateEntryModal:A,showMandatoryModal:M}))}},4366:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EmbeddedMetadataTabContainer:()=>p});var n=r(36198),o=r(93477),i=r(74094),a=r(44587),s=r(30811),l=r(82755),c=r(41161),u=r(14465);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){var n;return n=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==o(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.r(t),r.d(t,{useStyles:()=>s});var s=(0,r(99291).createStyles)((function(e){var t,r,o=e.token,s=e.css,l=function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{ComparisonViewUi:()=>m});var n=r(36198),o=r(73217),i=r(15663),a=r(44587),s=r(74094),l=r(72166),c=r(71590),u=r(55328);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t1?1200:600}},n.createElement(u.Flex,{align:"center",gap:"small",justify:"center",style:{minHeight:100}},t.map((function(e,t){return n.createElement("div",{key:t},null!==e.previewImageUrl?n.createElement(c.PimcoreImage,{src:e.previewImageUrl,style:{maxHeight:500,maxWidth:500}}):"No preview available")}))),n.createElement(u.Flex,{align:"center",className:"w-full"},n.createElement(a.Grid,{autoWidth:!0,columns:y,data:r}))))}},64620:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ComparisonView:()=>h});var n=r(36198),o=r(83227),i=r(69002),a=r(76415),s=r(7496),l=r(82755);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(){u=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==c(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function f(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{hydrateVersionData:()=>m,loadPreviewImage:()=>v,versionsDataToTableData:()=>b});var n=r(63664),o=r(6745),i=r(81690),a=r(54088),s=r(36609);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t,r){var n;return n=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==l(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(){u=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==l(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function f(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function d(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){f(i,n,o,a,s,"next",e)}function s(e){f(i,n,o,a,s,"throw",e)}a(void 0)}))}}function p(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);ro?1:0})),[].concat(r,n)}},52188:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SingleViewUi:()=>u});var n=r(36198),o=r(73217),i=r(44587),a=r(74094),s=r(71590),l=r(55328),c=r(27027),u=function(e){var t=e.versionId,r=e.data,u=e.imgSrc,f=e.firstVersion,d=e.lastVersion,p=e.onClickPrevious,h=e.onClickNext,m=(0,a.createColumnHelper)(),y=[m.accessor(o.default.t("field"),{size:162,meta:{type:"asset-version-preview-field-label"}}),m.accessor(o.default.t("version.version")+" "+t.count,{size:180})];return n.createElement(l.Space,{align:"center",direction:"vertical",size:"large",style:{maxWidth:600}},n.createElement(l.Flex,{align:"center",gap:"small",justify:"center",style:{minHeight:100}},n.createElement(c.IconButton,{disabled:f,icon:{value:"left-outlined"},onClick:p,type:"text"}),null!==u?n.createElement(s.PimcoreImage,{className:"image-slider__image",src:u,style:{maxHeight:500,maxWidth:500}}):null,n.createElement(c.IconButton,{disabled:d,icon:{value:"right-outlined"},onClick:h,type:"text"})),n.createElement(l.Flex,{className:"w-full",justify:"center"},n.createElement(i.Grid,{autoWidth:!0,columns:y,data:r})))}},67092:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SingleView:()=>f});var n=r(36198),o=r(83227),i=r(7496),a=r(76415),s=r(52188),l=r(82755);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0&&r+e{"use strict";r.r(t),r.d(t,{TitleContainer:()=>a});var n=r(36198),o=r(1464),i=r(61008),a=function(e){var t,r=e.node,a=(0,i.useAssetDraft)(r.getConfig().id).asset;return n.createElement(o.TabTitleContainer,{modified:null!==(t=null==a?void 0:a.modified)&&void 0!==t&&t,node:r})}},33859:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EditorToolbarContextMenu:()=>m});var n=r(55328),o=r(27027),i=r(95658),a=r(36198),s=r(93477),l=r(38693),c=r(7496),u=r(30811),f=r(43741),d=r(61008);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0?b(!0):O()},open:v,title:e("toolbar.reload.confirmation")},a.createElement(o.IconButton,{icon:{value:"refresh"}},e("toolbar.reload"))));function O(){y(),t(s.api.util.invalidateTags(l.invalidatingTags.ASSET_DETAIL_ID(r)))}}},7046:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Toolbar:()=>T});var n=r(36198),o=r(72475),i=r(30811),a=r(71816),s=r(61008),l=r(93477),c=r(78078),u=r(63033),f=r(54088),d=r(81690),p=r(46928),h=r(49555),m=r(47259),y=r(20160),g=r(81873),v=["rowId"],b=["rowId"];function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return P(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return P(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{useSubmitWorkflow:()=>d});var n=r(24431),o=r(78078),i=r(36609),a=r(96486),s=r.n(a),l=r(2824),c=r(46928);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{useWorkflow:()=>l});var n=r(36198),o=r(20160),i=r(24431),a=r(46928),s=r(87633),l=function(){var e,t=(0,n.useContext)(o.WorkflowContext),r=t.openModal,l=t.closeModal,c=t.isModalOpen,u=t.contextWorkflowDetails,f=t.setContextWorkflowDetails,d=(0,a.useElementContext)(),p=d.id,h=d.elementType,m=(0,s.useElementDraft)(p,h).element,y=null!==(e=null==m?void 0:m.hasWorkflowAvailable)&&void 0!==e&&e,g=(0,i.useWorkflowGetDetailsQuery)({elementType:h,elementId:p},{skip:!y});return{openModal:r,closeModal:l,isModalOpen:c,contextWorkflowDetails:u,setContextWorkflowDetails:f,workflowDetailsData:g.data,isFetchingWorkflowDetails:g.isFetching}}},81873:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WorkflowLogModal:()=>y});var n=r(36198),o=r(16826),i=r(71816),a=r(55381),s=r(47259),l=r(31090),c=r(2824),u=r(79195),f=r(55328),d=r(36609),p=r(31825);function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{WorkFlowProvider:()=>s,WorkflowContext:()=>a});var n=r(36198);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{EditorToolbarWorkflowMenu:()=>m});var n=r(36198),o=r(59407),i=r(7667),a=r(41642),s=r(30811),l=r(71632),c=r(47259),u=r(54663),f=r(48665),d=r(2824);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0){var t=y.items.flatMap((function(t){var r,o,i=[];return i.push({key:((null!==(r=null==y||null===(o=y.items)||void 0===o?void 0:o.length)&&void 0!==r?r:0)+1).toString(),type:"custom",component:n.createElement(l.WorkflowTransitionGroup,{workflow:t})}),{key:e("".concat(t.workflowName)),type:"group",label:e("".concat(t.workflowName)).toUpperCase(),children:i}}));h(t)}}),[y]);return n.createElement(c.Flex,{align:"center",justify:"flex-end"},n.createElement(o.TagList,{itemGap:"extra-small",list:void 0!==(null==y?void 0:y.items)&&y.items.length>0?[y.items.reduce((function(t,r){return r.workflowStatus.forEach((function(r){if(void 0!==r.visibleInDetail&&r.visibleInDetail){var o=r.colorInverted?{backgroundColor:"".concat(r.color,"33")}:{},a={children:e("".concat(r.label)),icon:n.createElement(i.Badge,{color:r.color}),style:o};t.push(a)}})),t}),[])]:[[]],wrap:!1}),void 0!==y&&n.createElement(a.Dropdown,{disabled:g,menu:{items:r}},n.createElement(f.DropdownButton,null,n.createElement(u.Icon,{options:{height:16,width:16},value:"workflow"}))))}},92163:(e,t,r)=>{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>a});var a=(0,r(99291).createStyles)((function(e){var t=e.token,r=e.css;return{button:r(n||(n=i(["\n min-width: 100%;\n justify-items: flex-start;\n "]))),"not-first":r(o||(o=i(["\n margin-top: ","px;\n "])),t.marginXXS)}}),{hashPriority:"low"})},71632:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WorkflowTransitionGroup:()=>c});var n=r(36198),o=r(30811),i=r(2824),a=r(71816),s=r(31825),l=r(92163),c=(r(93967),function(e){var t,r,c=e.workflow,u=(0,i.useWorkflow)().openModal,f=(0,s.useSubmitWorkflow)(c.workflowName),d=f.submitWorkflowAction,p=f.submissionLoading,h=(0,l.useStyles)().styles,m=(0,o.useTranslation)().t,y=function(e,t){return n.createElement(a.Button,{className:"".concat(h.button),onClick:function(){!function(e,t,r){"global"===t?u({action:e,transition:t,workflowName:r}):"transition"===t&&d(e,t,r,{})}(e,t,c.workflowName)},type:"text"},m("".concat(e)))};return p?n.createElement(a.Button,{loading:p,type:"link"}):n.createElement("div",null,null===(t=c.allowedTransitions)||void 0===t?void 0:t.map((function(e){return y(e.label,"transition")})),null===(r=c.globalActions)||void 0===r?void 0:r.map((function(e){return y(e.label,"global")})))})},8156:(e,t,r)=>{"use strict";r.r(t);var n=r(81690),o=r(54088),i=r(80237),a=r(98051),s=r(99954);i.moduleSystem.registerModule({onInit:function(){var e=n.container.get(o.serviceIds["Asset/Editor/ArchiveTabManager"]);e.register(a.TAB_CUSTOM_METADATA),e.register(s.TAB_PROPERTIES),e.register(a.TAB_VERSIONS),e.register(s.TAB_SCHEDULE),e.register(s.TAB_DEPENDENCIES),e.register(s.TAB_NOTES_AND_EVENTS),e.register(s.TAB_TAGS),e.register(s.TAB_WORKFLOW)}})},79262:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=a(this,t)).type="archive",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(62167).TabManager)},81800:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useThumbnailImageGetCollectionQuery:()=>a,useThumbnailVideoGetCollectionQuery:()=>s});var n=r(35525),o=["Asset Thumbnails"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{thumbnailImageGetCollection:e.query({query:function(){return{url:"/pimcore-studio/api/thumbnails/image"}},providesTags:["Asset Thumbnails"]}),thumbnailVideoGetCollection:e.query({query:function(){return{url:"/pimcore-studio/api/thumbnails/video"}},providesTags:["Asset Thumbnails"]})}},overrideExisting:!1}),a=i.useThumbnailImageGetCollectionQuery,s=i.useThumbnailVideoGetCollectionQuery},45136:(e,t,r)=>{"use strict";r.r(t);var n=r(36198),o=r(65611),i=r(81690),a=r(54088),s=r(80237),l=r(98051),c=r(99954),u=r(54663);s.moduleSystem.registerModule({onInit:function(){var e=i.container.get(a.serviceIds["Asset/Editor/AudioTabManager"]);e.register({key:"view",label:"asset.asset-editor-tabs.view",children:n.createElement(o.PreviewContainer,null),icon:n.createElement(u.Icon,{value:"image-05"})}),e.register(l.TAB_CUSTOM_METADATA),e.register(c.TAB_PROPERTIES),e.register(l.TAB_VERSIONS),e.register(c.TAB_SCHEDULE),e.register(c.TAB_DEPENDENCIES),e.register(c.TAB_NOTES_AND_EVENTS),e.register(c.TAB_TAGS),e.register(c.TAB_WORKFLOW)}})},96852:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=a(this,t)).type="audio",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(62167).TabManager)},65611:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewContainer:()=>l});var n=r(36198),o=r(14771),i=r(93477),a=r(43741),s=r(32215),l=function(){var e=(0,n.useContext)(a.AssetContext),t=(0,i.useAssetGetByIdQuery)({id:e.id}).data;return n.createElement(s.ContentLayout,null,n.createElement(o.PreviewView,{src:t.fullPath}))}},30877:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{preview:(0,e.css)(n||(t=["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n object-fit: contain;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},14771:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewView:()=>a});var n=r(36198),o=r(30877),i=r(38345),a=function(e){var t=(0,o.useStyle)().styles,r=e.src;return n.createElement("div",{className:t.preview},n.createElement(i.PimcoreAudio,{sources:[{src:r}]}))}},957:(e,t,r)=>{"use strict";r.r(t);var n=r(36198),o=r(54663),i=r(52639),a=r(81690),s=r(54088),l=r(80237),c=r(98051),u=r(99954);l.moduleSystem.registerModule({onInit:function(){var e=a.container.get(s.serviceIds["Asset/Editor/DocumentTabManager"]);e.register({key:"view",label:"asset.asset-editor-tabs.view",children:n.createElement(i.PreviewContainer,null),icon:n.createElement(o.Icon,{value:"image-05"})}),e.register(c.TAB_CUSTOM_METADATA),e.register(u.TAB_PROPERTIES),e.register(c.TAB_VERSIONS),e.register(u.TAB_SCHEDULE),e.register(u.TAB_DEPENDENCIES),e.register(u.TAB_NOTES_AND_EVENTS),e.register(u.TAB_TAGS),e.register(u.TAB_WORKFLOW)}})},35624:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DocumentTabManager:()=>h});var n=r(62167),o=r(66595);function i(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":f(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,t)).type="document",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(t,e),r=t,n&&i(r.prototype,n),o&&i(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(n.TabManager);h=d([(0,o.injectable)(),p("design:paramtypes",[])],h)},52639:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewContainer:()=>p});var n=r(36198),o=r(7841),i=r(32215),a=r(82755),s=r(14465),l=r(61008),c=r(65246),u=r(56239);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{preview:(0,e.css)(n||(t=["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n object-fit: contain;\n\n iframe {\n display: flex;\n height: 100%;\n width: 100%;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},7841:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewView:()=>a});var n=r(36198),o=r(13339),i=r(82626),a=function(e){var t=(0,o.useStyle)().styles,r=e.src;return n.createElement("div",{className:t.preview},n.createElement(i.PimcoreDocument,{src:r}))}},50941:(e,t,r)=>{"use strict";r.r(t);var n=r(36198),o=r(54663),i=r(65895),a=r(10809),s=r(81690),l=r(54088),c=r(80237),u=r(99954);c.moduleSystem.registerModule({onInit:function(){var e=s.container.get(l.serviceIds["Asset/Editor/FolderTabManager"]);e.register({children:n.createElement(a.PreviewContainer,null),icon:n.createElement(o.Icon,{value:"image-05"}),key:"preview",label:"folder.folder-editor-tabs.preview"}),e.register({children:n.createElement(i.ListContainer,null),icon:n.createElement(o.Icon,{value:"unordered-list-outlined"}),key:"list",label:"folder.folder-editor-tabs.view"}),e.register(u.TAB_PROPERTIES),e.register(u.TAB_DEPENDENCIES),e.register(u.TAB_NOTES_AND_EVENTS),e.register(u.TAB_TAGS),e.register(u.TAB_WORKFLOW)}})},47308:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FolderTabManager:()=>h});var n=r(62167),o=r(66595);function i(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":f(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,t)).type="folder",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(t,e),r=t,n&&i(r.prototype,n),o&&i(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(n.TabManager);h=d([(0,o.injectable)(),p("design:paramtypes",[])],h)},51512:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DEFAULT_IS_INCLUDE_DESCENDANTS_VALUE:()=>n,defaultFilterOptions:()=>o,defaultTagFilterOptions:()=>i});var n=!0,o={columnFilters:[],includeDescendants:n},i={columnFilters:[]}},57987:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{FILTER_TYPE:()=>n}),function(e){e.TAG_TYPE="system.tag",e.PQL_QUERY_TYPE="system.pql",e.FULL_TEXT_TYPE="system.fulltext"}(n||(n={}))},53480:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GridContainer:()=>m,createColumnIdentifier:()=>d,decodeColumnIdentifier:()=>p,encodeColumnIdentifier:()=>h});var n=r(36198),o=r(44587),i=r(74094),a=r(30811),s=r(42938),l=r(86536),c=r(1447);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{generateQueryArgsForGrid:()=>u});var n=r(53480);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r0){var h=o[0],m=(0,n.encodeColumnIdentifier)(h.id);p={key:m.key,locale:m.locale,direction:h.desc?"DESC":"ASC"}}return{body:{folderId:u,columns:f.map((function(e){return{config:[],key:e.key,type:e.type,locale:e.locale}})),filters:a(a({page:i,pageSize:parseInt(s.toString())},c),{},{sortFilter:p})}}}},42938:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getFormattedDropDownMenu:()=>u,useListColumns:()=>f,useListData:()=>b,useListFilterOptions:()=>d,useListGridAvailableColumns:()=>p,useListGridConfig:()=>h,useListPage:()=>m,useListPageSize:()=>y,useListSelectedConfigId:()=>O,useListSelectedRows:()=>g,useListSorting:()=>v});var n=r(36198),o=r(30089),i=r(36609),a=r(20079),s=r(29741);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{ListContainerInner:()=>T});var n=r(93477),o=r(36198),i=r(53480),a=r(46424),s=r(43741),l=r(49676),c=r(42938),u=r(7496),f=r(30089),d=r(32215),p=r(82755),h=r(10365),m=r(93882),y=r(92727);function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function v(e){return function(e){if(Array.isArray(e))return P(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||_(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(e){for(var t=1;t=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}function x(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||_(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){if(e){if("string"==typeof e)return P(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?P(e,t):void 0}}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:void 0;W((function(t){return B((function(r){var n,o=null!=e?e:r,i=null==o?void 0:o.items.map((function(e){var r,n=null===(r=e.columns.find((function(e){return"id"===e.key})))||void 0===r?void 0:r.value;if(!t.some((function(e){return e.rowIndex===n})))return e;var o=e.columns.map((function(e){var r=t.find((function(t){return t.rowIndex===n&&t.columnId===e.key&&t.locale===e.locale}));return void 0===r?e:O(O({},e),{},{value:r.value})}));return O(O({},e),{},{columns:o})}));return{items:null!=i?i:[],totalItems:null!==(n=null==o?void 0:o.totalItems)&&void 0!==n?n:0}})),t}))},K=function(){if(0!==j.length){var e=(0,m.generateQueryArgsForGrid)({columns:j,availableColumns:D,assetId:M,page:g,pageSize:b,sorting:H,filterOptions:P});return F(O({},e)).then((function(e){var t=e.data;Y(t)})).catch((function(e){console.error(e)}))}},J=function(e){var t=e.value,r=e.columnId,n=e.rowData,o=(0,i.encodeColumnIdentifier)(r),a=j.find((function(e){return e.key===o.key&&e.locale===o.locale}));if(void 0!==a){if(W((function(e){return[].concat(v(e),[{columnId:o.key,locale:o.locale,rowIndex:n.id,value:t}])})),G((function(e){return[].concat(v(null!=e?e:[]),[{columnId:r,rowIndex:n.id}])})),Y(),"metadata"!==a.type.split(".")[0])throw new Error("Only metadata columns are supported for now");var s={body:{data:[{id:n.id,metadata:[{name:o.key,language:o.locale,data:t}]}]}};Q(s).catch((function(e){console.error(e)})).then((function(){var e;null===(e=K())||void 0===e||e.finally((function(){G((function(e){return null==e?void 0:e.filter((function(e){return!(e.columnId===r&&e.rowIndex===n.id)}))})),W((function(e){return e.filter((function(e){return!(e.columnId===o.key&&a.locale===o.locale&&e.rowIndex===n.id)}))}))})).catch((function(e){console.error(e)}))})).catch((function(e){console.error(e)}))}};return(0,o.useMemo)((function(){var e;return o.createElement(f.ListDataProvider,{data:N},o.createElement(p.Content,{loading:X},o.createElement(d.ContentLayout,{renderSidebar:o.createElement(l.SidebarContainer,{errorData:z.error}),renderToolbar:o.createElement(a.GridToolbarContainer,{pager:{current:g,total:null!==(e=null==N?void 0:N.totalItems)&&void 0!==e?e:0,pageSize:b,onChange:w}})},o.createElement(i.GridContainer,{assets:N,modifiedCells:U,onUpdateCellData:J}))))}),[N,g,b,U,X])}},65895:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ListContainer:()=>s});var n=r(36198),o=r(2314),i=r(30089),a=r(47636),s=function(){return n.createElement(i.ListProvider,null,n.createElement(a.DynamicTypeRegistryProvider,{serviceIds:["DynamicTypes/MetadataRegistry","DynamicTypes/ListingRegistry","DynamicTypes/BatchEditRegistry"]},n.createElement(o.ListContainerInner,null)))}},30089:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ListColumnsContext:()=>v,ListColumnsProvider:()=>b,ListDataContext:()=>A,ListDataProvider:()=>D,ListFilterOptionsContext:()=>w,ListFilterOptionsProvider:()=>S,ListGridAvailableColumnsContext:()=>y,ListGridAvailableColumnsProvider:()=>g,ListGridConfigContext:()=>h,ListGridConfigProvider:()=>m,ListPageContext:()=>x,ListPageProvider:()=>E,ListPageSizeContext:()=>_,ListPageSizeProvider:()=>P,ListProvider:()=>M,ListSelectedGridConfigIdContext:()=>L,ListSelectedGridConfigIdProvider:()=>R,ListSelectedRowsContext:()=>T,ListSelectedRowsProvider:()=>j,ListSortingContext:()=>C,ListSortingProvider:()=>k});var n=r(36198),o=r(51512),i=r(79342);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{FieldFiltersContainer:()=>g});var n=r(36198),o=r(96486),i=r(42938),a=r(1447),s=r(55328),l=r(30811),c=r(62833),u=r(99405),f=r(50906),d=r(41642);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e,t,r){var n;return n=function(e,t){if("object"!=p(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==p(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var y=["size"],g=function(){var e,t=(0,l.useTranslation)().t,r=(0,i.useListGridAvailableColumns)().dropDownMenu,p=(0,f.useFilters)(),g=p.columns,v=p.addColumn,b=(0,a.useDynamicTypeResolver)().hasType,O=(e=function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{FieldFiltersListContainer:()=>u});var n=r(36198),o=r(97370),i=r(55328),a=r(54512),s=r(27027),l=r(58089),c=r(50906),u=function(e){var t=e.columns,r=(0,c.useFilters)(),u=r.removeFieldFilter,f=r.removeColumn,d=t.map((function(e){return{id:e.key,children:n.createElement(i.Tag,null,e.key),renderRightToolbar:n.createElement(a.ButtonGroup,{items:[n.createElement(s.IconButton,{icon:{value:"close"},key:"remove",onClick:function(){!function(e){f(e),u(e)}(e)}})]}),body:n.createElement(l.DefaultFilter,{column:e})}}));return n.createElement(n.Fragment,null,0===d.length&&n.createElement(i.Empty,{image:i.Empty.PRESENTED_IMAGE_SIMPLE}),d.length>0&&n.createElement(o.StackList,{items:d}))}},58089:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DefaultFilter:()=>i});var n=r(36198),o=r(1447),i=function(e){var t=e.column,r=t.frontendType,i=t.type,a=(0,(0,o.useDynamicTypeResolver)().getComponentRenderer)({target:"FIELD_FILTER",dynamicTypeIds:[i,r]}).ComponentRenderer;return null===a?n.createElement(n.Fragment,null,"Dynamic Field Filter not supported"):n.createElement(n.Fragment,null,a({column:t}))}},35989:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FilterContainerInner:()=>P});var n=r(62833),o=r(48324),i=r(55328),a=r(71816),s=r(47259),l=r(99401),c=r(86434),u=r(14278),f=r(13862),d=r(36198),p=r(79147),h=r(50906),m=r(64981),y=r(73316),g=r(14112),v=r(42938),b=r(32215),O=r(72475),w=r(82755),S=r(51512),x=r(96486);function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{FilterContainer:()=>l});var n=r(36198),o=r(35989),i=r(92429),a=r(29741),s=r(47636),l=function(e){var t=e.errorData;return n.createElement(i.FilterProvider,{errorData:t},n.createElement(s.DynamicTypeRegistryProvider,{serviceIds:["DynamicTypes/ListingRegistry"]},n.createElement(s.DynamicTypeRegistryProvider,{serviceIds:["DynamicTypes/FieldFilterRegistry"]},n.createElement(a.GridConfigProvider,null,n.createElement(o.FilterContainerInner,null)))))}},92429:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FilterContext:()=>s,FilterProvider:()=>l});var n=r(36198),o=r(51512);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{useFilters:()=>y});var n=r(36198),o=r(92429),i=r(51512),a=r(63295),s=r(79342);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var c=["resetColumns"];function u(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var y=function(){var e=(0,a.useGridConfig)(),t=e.resetColumns,r=m(e,c),l=(0,n.useContext)(o.FilterContext),f=l.filterOptions,d=l.setFilterOptions,h=l.filterError;return p({filterOptions:f,setFilterOptions:d,filterError:h,addOrUpdateFieldFilter:function(e,t){var r=f.columnFilters,n=[];if(void 0===r)return n=[{key:e.key,type:e.type,filterValue:t}],void d((function(e){return JSON.stringify(e.columnFilters)===JSON.stringify(n)?e:p(p({},e),{},{columnFilters:n})}));var o=r,i=o.findIndex((function(t){return t.key===e.key}));-1===i?n=[].concat(u(o),[{key:e.key,type:e.type,filterValue:t}]):(o[i]={key:e.key,type:e.type,filterValue:t},n=o),d((function(e){return JSON.stringify(e.columnFilters)===JSON.stringify(n)?e:p(p({},e),{},{columnFilters:n})}))},removeFieldFilter:function(e){var t=f.columnFilters;if(void 0!==t){var r=t,n=r.findIndex((function(t){return t.key===e.key}));-1!==n&&(r.splice(n,1),d((function(e){return p(p({},e),{},{columnFilters:r})})))}},getFieldFilter:function(e){var t=f.columnFilters;if(void 0!==t)return t.find((function(t){return t.key===e.key}))},resetFilters:function(){t(),d(i.defaultFilterOptions)},resetColumns:t,updateIsIncludeDescendants:function(e){d((function(t){return p(p({},t),{},{includeDescendants:e})}))},addOrUpdateFilterValue:function(e){var t=e.type,r=e.value;d((function(e){var n=e.columnFilters,o=function(){return n.filter((function(e){return e.type!==t}))},i=(0,s.isEmptyValue)(r)?o():[].concat(u(o()),[{type:t,filterValue:r}]);return p(p({},e),{},{columnFilters:i})}))}},r)}},14112:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useIncludeDescendantsFilter:()=>s});var n=r(36198),o=r(50906);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{usePQLQueryFilter:()=>l});var n=r(36198),o=r(50906),i=r(57987);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{useSearchFilter:()=>l});var n=r(36198),o=r(50906),i=r(57987);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{SaveForm:()=>m,defaultValues:()=>h});var n=r(40069),o=r(55328),i=r(79195),a=r(86434),s=r(36198),l=r(99401);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e,t,r){var n;return n=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==c(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{GridConfigInner:()=>b});var n=r(36198),o=r(42938),i=r(63295),a=r(93477),s=r(14465),l=r(96673),c=r(33161),u=r(47974),f=r(76553),d=r(82755);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{GridConfigList:()=>b});var n=r(36198),o=r(97370),i=r(55328),a=r(27027),s=r(68034),l=r(63295),c=r(30811),u=r(40069),f=r(95987),d=r(86536);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&n.createElement(o.StackList,{items:y,onItemsChange:function(e){var t=e.map((function(e){return e.meta}));r(t)}}));function v(e,t){var o;if(!t.localizable)return n.createElement(n.Fragment,null);var i=["-"].concat(g(p.requiredLanguages));return n.createElement(s.LanguageSelection,{languages:i,onSelectLanguage:function(t){!function(e,t,n){var o=y.map((function(t){return t.id===e?m(m({},t),{},{meta:m(m({},t.meta),{},{locale:(0,s.transformLanguage)(n)})}):t})),i=o.map((function(e){return e.meta}));r(i)}(e,0,t)},selectedLanguage:null!==(o=t.locale)&&void 0!==o?o:"-"})}}},29741:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GridConfigContext:()=>a,GridConfigProvider:()=>s});var n=r(36198);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{GridConfig:()=>a});var n=r(36198),o=r(29741),i=r(18741),a=function(){return n.createElement(o.GridConfigProvider,null,n.createElement(i.GridConfigInner,null))}},63295:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useGridConfig:()=>s});var n=r(36198),o=r(29741);function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{EditView:()=>b});var n=r(71816),o=r(32215),i=r(82755),a=r(41161),s=r(40069),l=r(72475),c=r(41642),u=r(36198),f=r(30811),d=r(55328),p=r(96486),h=r(62833),m=r(82864),y=r(35182),g=r(27027),v=r(54663),b=function(e){var t=e.onCancelClick,r=e.gridConfig,b=e.onApplyClick,O=e.onEditConfigurationClick,w=e.onUpdateConfigurationClick,S=e.isUpdating,x=e.onSaveConfigurationClick,E=e.savedGridConfigurations,_=e.addColumnMenu,P=e.isLoading,T=e.columns,j=(0,f.useTranslation)().t,C="Predefined"!==(null==r?void 0:r.name)&&void 0!==r;return u.createElement(o.ContentLayout,{renderToolbar:u.createElement(l.Toolbar,{theme:"secondary"},u.createElement(n.Button,{onClick:t,type:"default"},j("button.cancel")),u.createElement(s.Space,{size:"extra-small"},u.createElement(u.Fragment,null,!C&&u.createElement(n.Button,{onClick:x,type:"default"},"Save as template"),C&&u.createElement(u.Fragment,null,u.createElement(y.Compact,null,u.createElement(n.Button,{loading:S,onClick:w,type:"default"},"Update the template"),u.createElement(c.Dropdown,{menu:{items:[{key:0,icon:u.createElement(v.Icon,{value:"edit-03"}),label:"Edit template details",onClick:function(){O()}},{key:1,icon:u.createElement(v.Icon,{value:"save-01"}),label:"Save as new template",onClick:function(){x()}}]}},u.createElement(g.IconButton,{icon:{value:"dots-horizontal"},type:"default"}))),!1)),u.createElement(n.Button,{onClick:b,type:"primary"},j("button.apply"))))},u.createElement(i.Content,{padded:!0},u.createElement(a.Header,{title:j("listing.grid-config.title")},u.createElement(c.Dropdown,{disabled:0===(null==E?void 0:E.length)&&!P,menu:{items:E}},u.createElement(d.Tooltip,{title:0!==(null==E?void 0:E.length)||P?"":"No saved templates available"},u.createElement(h.IconTextButton,{disabled:0===(null==E?void 0:E.length)&&!P,icon:{value:"magic-wand-01"},loading:P},C?u.createElement(u.Fragment,null,r.name):u.createElement(u.Fragment,null,"Template"))))),u.createElement(s.Space,{direction:"vertical",style:{width:"100%"}},u.createElement(m.GridConfigList,{columns:T}),!(0,p.isEmpty)(_)&&u.createElement(c.Dropdown,{menu:{items:_}},u.createElement(h.IconTextButton,{icon:{value:"PlusCircleOutlined"},type:"link"},j("listing.add-column"))))))}},33161:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SaveView:()=>g});var n=r(36198),o=r(76553),i=r(32215),a=r(82755),s=r(72475),l=r(40069),c=r(71816),u=r(62833),f=r(41161),d=r(55328),p=r(99401);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e,t,r){var n;return n=function(e,t){if("object"!=h(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=h(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==h(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var g=function(e){var t=e.formProps,r=e.onCancelClick,h=e.isLoading,g=e.onDeleteClick,v=e.isDeleting,b=e.saveAsNewConfiguration,O=t.form;return n.createElement(i.ContentLayout,{renderToolbar:n.createElement(s.Toolbar,{theme:"secondary"},void 0!==g&&!0!==b?n.createElement(d.Popconfirm,{cancelText:"cancel",description:"Are you sure that you want to delete this template?",okText:"Delete",onConfirm:g,title:"Delete this template"},n.createElement(u.IconTextButton,{disabled:h,icon:{value:"trash"},loading:v},"Delete Template")):n.createElement("div",null),n.createElement(l.Space,{size:"mini"},n.createElement(u.IconTextButton,{icon:{value:"close"},onClick:r,type:"default"},"Cancel"),n.createElement(c.Button,{disabled:v,loading:h,onClick:function(){return null==O?void 0:O.submit()},type:"primary"},"Save & Apply")))},n.createElement(a.Content,{padded:!0},n.createElement(d.Flex,{gap:"small",vertical:!0},n.createElement(f.Header,{title:"Save configuration as template"}),!0!==b&&n.createElement(d.Row,null,n.createElement(d.Col,{span:6},n.createElement(p.Text,null,"Owner:")," ",n.createElement(p.Text,{type:"secondary"},"Admin")),n.createElement(d.Col,{span:12},n.createElement(p.Text,null,"Modification date:")," ",n.createElement(p.Text,{type:"secondary"},"22.10.2024 10:11"))),n.createElement(o.SaveForm,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{SidebarContainer:()=>c});var n=r(36198),o=r(70607),i=r(54663),a=r(61016),s=r(85197),l=r(63446),c=function(e){var t=e.errorData,r=(0,n.useMemo)((function(){return[{key:"filter",component:n.createElement(l.FilterContainer,{errorData:t}),icon:n.createElement(i.Icon,{value:"filter-outlined"})},{key:"tags",component:n.createElement(s.TagFiltersContainer,null),icon:n.createElement(i.Icon,{value:"tag-two-tone"})},{key:"grid-config",component:n.createElement(a.GridConfig,null),icon:n.createElement(i.Icon,{value:"settings-outlined"})}]}),[t]);return(0,n.useMemo)((function(){return n.createElement(o.Sidebar,{entries:r,sizing:"large"})}),[r,t])}},12645:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useTagFilters:()=>f});var n=r(36198),o=r(87053),i=r(51512),a=r(57987);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{TagFiltersContainerInner:()=>m});var n=r(36198),o=r(48324),i=r(62833),a=r(71816),s=r(32215),l=r(72475),c=r(82755),u=r(81929),f=r(12645),d=r(42938);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{TagFiltersContainer:()=>a});var n=r(36198),o=r(35513),i=r(87053),a=function(){return n.createElement(i.TagFiltersProvider,null,n.createElement(o.TagFiltersContainerInner,null))}},87053:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TagFiltersContext:()=>s,TagFiltersProvider:()=>l});var n=r(36198),o=r(51512);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{TagsTreeFiltersContainer:()=>c});var n=r(1402),o=r(36198),i=r(82755),a=r(47259),s=r(72726),l=r(16067),c=function(e){var t=e.addOrUpdateFieldFilter,r=e.checkedKeys,c=e.setCheckedKeys,u=(0,n.useTagGetCollectionQuery)({page:1,pageSize:9999}),f=u.data,d=u.isLoading,p=(0,l.useCreateTreeStructure)().createTreeStructure;if(d)return o.createElement(i.Content,{loading:!0});if(void 0===(null==f?void 0:f.items))return o.createElement("div",null,"Failed to load tags");var h=p({tags:f.items});return o.createElement(o.Fragment,null,o.createElement(a.Flex,{gap:"small",vertical:!0},o.createElement(s.TreeElement,{checkStrictly:!0,checkedKeys:{checked:r,halfChecked:[]},defaultExpandedKeys:["root"],onCheck:function(e){var r=e.checked,n=null==r?void 0:r.map(Number);c(r),t(n)},treeData:h,withCustomSwitcherIcon:!0})))}},46424:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GridToolbarContainer:()=>l});var n=r(36198),o=r(46610),i=r(38549),a=r(30811),s=r(55260),l=function(e){var t=e.pager,r=(0,a.useTranslation)().t;return n.createElement(o.GridToolbarView,{renderPagination:void 0!==t&&t.total>0?n.createElement(i.Pagination,{current:t.current,defaultPageSize:t.pageSize,onChange:t.onChange,pageSizeOptions:["10","20","50","100"],showSizeChanger:!0,showTotal:function(e){return r("pagination.show-total",{total:e})},total:t.total}):void 0,renderTools:n.createElement(s.GridTools,null)})}},46610:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GridToolbarView:()=>i});var n=r(36198),o=r(72475),i=function(e){return n.createElement(o.Toolbar,{theme:"secondary"},void 0!==e.renderTools&&n.createElement(n.Fragment,null,e.renderTools),void 0===e.renderTools&&n.createElement("div",null),void 0!==e.renderPagination&&n.createElement(n.Fragment,null,e.renderPagination))}},92216:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BatchEditListContainer:()=>y});var n=r(36198),o=r(42592),i=r(55328),a=r(97370),s=r(54512),l=r(27027),c=r(28688),u=r(32859),f=r(36609),d=r(68034),p=r(95987);function h(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&n.createElement(a.StackList,{items:v}))}},11970:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BatchEditModal:()=>j});var n=r(36198),o=r(16826),i=r(41642),a=r(42938),s=r(62833),l=r(71816),c=r(36609),u=r(42592),f=r(92216),d=r(14369),p=r(55381),h=r(51074),m=r(59160),y=r(21970),g=r(47259),v=r(31090),b=r(10365),O=r(43741);function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function S(){S=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",h="executing",m="completed",y={};function g(){}function v(){}function b(){}var O={};c(O,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(O=E);var _=b.prototype=g.prototype=Object.create(O);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==w(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?m:p,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}function x(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function E(e){return function(e){if(Array.isArray(e))return T(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||P(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||P(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t){if(e){if("string"==typeof e)return T(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(e,t):void 0}}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&n.createElement(g.Flex,{align:"center",gap:"extra-small"},n.createElement(s.IconTextButton,{icon:{value:"close"},onClick:function(){A()},type:"link"},(0,c.t)("batch-edit.modal-footer.discard-all-changes")),n.createElement(l.Button,{onClick:function(){1===Object.keys(R).length?B():$()},type:"primary"},(0,c.t)("batch-edit.modal-footer.apply-changes")))),onCancel:function(){r(!1)},open:t,size:"M",title:n.createElement(v.ModalTitle,null,(0,c.t)("batch-edit.modal-title"))},n.createElement(f.BatchEditListContainer,null))}},20079:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BatchEditContext:()=>a,BatchEditProvider:()=>s});var n=r(36198);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{DefaultBatchEdit:()=>i});var n=r(36198),o=r(1447),i=function(e){var t=e.batchEdit,r=t.frontendType,i=t.type,a=(0,(0,o.useDynamicTypeResolver)().getComponentRenderer)({dynamicTypeIds:[i,r],target:"BATCH_EDIT"}).ComponentRenderer;return null===a?n.createElement(n.Fragment,null,"Dynamic Field Filter not supported"):n.createElement(n.Fragment,null,a({batchEdit:t}))}},42592:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useBatchEdit:()=>d});var n=r(36198),o=r(20079),i=r(42938);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{CreateCSVForm:()=>d});var n=r(36198),o=r(30811),i=r(55328),a=r(79195),s=r(58664);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){var n;return n=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==l(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{CsvModal:()=>T});var n=r(55328),o=r(36198),i=r(7470),a=r(47974),s=r(51074),l=r(20807),c=r(14465),u=r(93477),f=r(21970),d=r(42938),p=r(31090),h=r(30811),m=r(7056);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}function w(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function S(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){w(i,n,o,a,s,"next",e)}function s(e){w(i,n,o,a,s,"throw",e)}a(void 0)}))}}function x(e){return function(e){if(Array.isArray(e))return P(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||_(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||_(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){if(e){if("string"==typeof e)return P(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?P(e,t):void 0}}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{GridActions:()=>g});var n=r(48665),o=r(36198),i=r(54663),a=r(42938),s=r(93477),l=r(14465),c=r(87492),u=r(30811),f=r(41642),d=r(20079),p=r(11970),h=r(42029);function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0,y=(0,h.useZipDownload)({type:"folder"}).createZipDownload,g=(0,h.useZipDownload)({type:"asset-list"}).createZipDownload,v=(0,l.useAsset)().id,b=(0,s.useAssetGetByIdQuery)({id:v}).data,O=m((0,o.useState)("Asset"),2),w=O[0],S=O[1],x=m((0,o.useState)(!1),2),E=x[0],_=x[1],P=m((0,o.useState)(!1),2),T=P[0],j=P[1],C=(0,u.useTranslation)().t;(0,o.useEffect)((function(){void 0!==b&&S("".concat(b.filename))}),[b]);var k={items:[{key:"1",label:C("listing.actions.batch-edit"),icon:o.createElement(i.Icon,{value:"grid"}),onClick:function(){j(!0)}},{key:"2",label:C("listing.actions.export"),icon:o.createElement(i.Icon,{value:"export"}),children:[{key:"2.1",label:C("listing.actions.csv-export"),icon:o.createElement(i.Icon,{value:"export"}),onClick:function(){_(!0)}}]},{key:"3",label:C("listing.actions.zip-download"),icon:o.createElement(i.Icon,{value:"download-02"}),onClick:function(){r?g({jobTitle:w,requestData:{body:{assets:t}}}):y({jobTitle:w,requestData:{body:{folders:[v]}}})}}]};return o.createElement(o.Fragment,null,o.createElement(f.Dropdown,{menu:k},o.createElement(n.DropdownButton,{key:"dropdown-button"},C(r?"listing.actions":"listing.non-selected.actions"))),o.createElement(c.CsvModal,{open:E,setOpen:_}),o.createElement(d.BatchEditProvider,null,o.createElement(p.BatchEditModal,{batchEditModalOpen:T,setBatchEditModalOpen:j})))}},12188:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GridSelections:()=>a});var n=r(36198),o=r(42938),i=r(55328),a=function(){var e=(0,o.useListSelectedRows)(),t=e.selectedRows,r=e.setSelectedRows,a=Object.keys(t).length,s=(0,o.useListData)().data,l=a>0,c=!1;return void 0!==s&&(c=a===s.items.length&&s.items.length>0),n.createElement(i.Checkbox,{checked:c,indeterminate:l&&!c,onClick:function(e){if(e.stopPropagation(),void 0===s)return;if(c)return void r({});var t={};s.items.forEach((function(e){var r,n=null===(r=e.columns)||void 0===r?void 0:r.find((function(e){return"id"===e.key}));t[null==n?void 0:n.value]=!0})),r(t)}},a," selected")}},55260:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GridTools:()=>l});var n=r(54512),o=r(36198),i=r(12188),a=r(30326),s=r(42938),l=function(){var e=(0,s.useListData)().data;return o.createElement(o.Fragment,null,void 0!==e&&o.createElement(n.ButtonGroup,{items:[o.createElement(i.GridSelections,{key:"grid-selections"}),o.createElement(a.GridActions,{key:"grid-actions"})],withSeparator:!0}),void 0===e&&o.createElement("div",null))}},19991:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useMercureCreateCookieMutation:()=>a});var n=r(35525),o=["Mercure"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{mercureCreateCookie:e.mutation({query:function(){return{url:"/pimcore-studio/api/mercure/auth",method:"POST"}},invalidatesTags:["Mercure"]})}},overrideExisting:!1}),a=i.useMercureCreateCookieMutation},43599:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FlexContainerView:()=>i});var n=r(47259),o=r(36198),i=function(e){return o.createElement(n.Flex,{gap:"extra-small",wrap:!0},e.renderElements)}},89980:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FlexContainer:()=>p});var n=r(36198),o=r(30811),i=r(43599),a=r(94414),s=r(6786),l=r(54663),c=r(46946),u=r(13250),f=r(50164),d=r(60537),p=function(e){var t=e.assets,r=(0,o.useTranslation)().t,p=(0,s.useAssetHelper)().openAsset,h=(0,c.useRename)("asset").renameContextMenuItem,m=(0,u.useDelete)("asset").deleteContextMenuItem,y=(0,f.useDownload)().downloadContextMenuItem,g=(0,d.useOpen)("asset").openContextMenuItem,v=[];return t.items.forEach((function(e){var t=[g(e),{key:"locate-in-tree",icon:n.createElement(l.Icon,{value:"target"}),label:r("preview-card.locate-in-tree"),hidden:!0},{key:"info",icon:n.createElement(l.Icon,{value:"info-circle-outlined"}),label:r("info"),hidden:!0},h(e),y(e),m(e)];"imageThumbnailPath"in e&&void 0!==e.imageThumbnailPath&&null!==e.imageThumbnailPath&&v.push(n.createElement(a.PreviewCard,{dropdownItems:t,imgSrc:e.imageThumbnailPath,key:e.id,name:e.filename,onClick:function(t){p({config:{id:e.id}})}}))})),n.createElement(i.FlexContainerView,{renderElements:v})}},10809:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewContainer:()=>p});var n=r(93477),o=r(36198),i=r(46424),a=r(89980),s=r(61008),l=r(43741),c=r(32215),u=r(82755);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0?{current:d,total:S,pageSize:m,onChange:x}:void 0})},o.createElement(u.Content,{loading:w,padded:!0},void 0!==(null==O?void 0:O.items)&&O.items.length>0&&o.createElement(a.FlexContainer,{assets:O})))}),[d,m,O,w])}},42371:(e,t,r)=>{"use strict";r.r(t);var n=r(36198),o=r(54663),i=r(68610),a=r(77474),s=r(80237),l=r(81690),c=r(54088),u=r(98051),f=r(99954);s.moduleSystem.registerModule({onInit:function(){var e=l.container.get(c.serviceIds["Asset/Editor/ImageTabManager"]);e.register({key:"view",label:"asset.asset-editor-tabs.view",children:n.createElement(a.PreviewContainer,null),icon:n.createElement(o.Icon,{value:"image-05"})}),e.register({key:"edit",label:"asset.asset-editor-tabs.edit",children:n.createElement(i.EditTabContainer,null),icon:n.createElement(o.Icon,{value:"edit"})}),e.register(u.TAB_EMBEDDED_METADATA),e.register(u.TAB_CUSTOM_METADATA),e.register(f.TAB_PROPERTIES),e.register(u.TAB_VERSIONS),e.register(f.TAB_SCHEDULE),e.register(f.TAB_DEPENDENCIES),e.register(f.TAB_NOTES_AND_EVENTS),e.register(f.TAB_TAGS),e.register(f.TAB_WORKFLOW)}})},85630:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ImageTabManager:()=>h});var n=r(62167),o=r(66595);function i(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":f(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,t)).type="image",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(t,e),r=t,n&&i(r.prototype,n),o&&i(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(n.TabManager);h=d([(0,o.injectable)(),p("design:paramtypes",[])],h)},68610:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EditTabContainer:()=>a});var n=r(82755),o=r(41161),i=r(36198),a=function(){return i.createElement(n.Content,{padded:!0},i.createElement(o.Header,{title:"Edit"}))}},77474:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewContainer:()=>y,ZoomContext:()=>m});var n=r(36198),o=r(29056),i=r(70607),a=r(3585),s=r(43741),l=r(85424),c=r(32215),u=r(82755),f=r(61008),d=r(65246);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n,o,i,a;function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>l});var l=(0,r(99291).createStyles)((function(e){e.token;var t=e.css;return{preview:t(n||(n=s(["\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n max-height: 100%;\n object-fit: contain;\n\n .ant-image {\n display: flex;\n max-height: 100%;\n max-width: 100%;\n }\n\n .ant-image-img {\n object-fit: contain;\n }\n "]))),floatingContainer:t(o||(o=s(["\n position: absolute;\n bottom: 20px;\n width: 100%;\n z-index: 9999;\n "]))),flexContainer:t(i||(i=s(["\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n padding-left: 15px;\n padding-right: 15px;\n "]))),imageContainer:t(a||(a=s(["\n max-height: 100%;\n "])))}}),{hashPriority:"low"})},29056:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewView:()=>u});var n=r(71590),o=r(36198),i=r(95607),a=r(99915),s=r(77474),l=r(47259),c=r(63863),u=function(e){var t=(0,i.useStyle)().styles,r=e.src,u=o.useContext(s.ZoomContext),f=u.zoom,d=u.setZoom;return o.createElement("div",{className:t.preview},o.createElement(l.Flex,{className:t.imageContainer},o.createElement(c.FocalPoint,null,o.createElement(n.PimcoreImage,{src:r}))),o.createElement("div",{className:t.floatingContainer},o.createElement("div",{className:t.flexContainer},o.createElement(a.ImageZoom,{setZoom:d,zoom:f}))))}},87222:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FocalPointSidebarButton:()=>i});var n=r(36198),o=r(43676),i=function(e){var t=(0,n.useContext)(o.FocalPointContext),r=function(){if(void 0!==t){var e=t.isActive,r=t.setIsActive,n=t.setCoordinates,o=t.containerRef;if(null!==o.current)n({x:.5*o.current.clientWidth,y:.5*o.current.clientHeight}),r(!e)}};return n.createElement("div",{"aria-label":e.key,className:["button",!0===(null==t?void 0:t.isActive)?"button--highlighted":""].join(" "),key:e.key,onClick:r,onKeyDown:r,role:"button",tabIndex:e.index},e.icon)}},3585:(e,t,r)=>{"use strict";r.r(t),r.d(t,{sidebarManager:()=>l});var n=r(61502),o=r(54663),i=r(36198),a=r(54938),s=r(87222),l=new n.AssetEditorSidebarManager;l.registerEntry({key:"details",icon:i.createElement(o.Icon,{options:{width:"16px",height:"16px"},value:"view-details"}),component:i.createElement(a.DetailContainer,null)}),l.registerButton({key:"focal-point",icon:i.createElement(o.Icon,{options:{width:"16px",height:"16px"},value:"focal-point"}),component:i.createElement(s.FocalPointSidebarButton,{icon:i.createElement(o.Icon,{options:{width:"16px",height:"16px"},value:"focal-point"}),key:"focal-point"})})},61502:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(21044).SidebarManager)},54938:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DetailContainer:()=>h});var n=r(36198),o=r(93477),i=r(43741),a=r(23409),s=r(3701),l=r(72657),c=r(65246);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function f(){f=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==u(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function d(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){d(i,n,o,a,s,"next",e)}function s(e){d(i,n,o,a,s,"throw",e)}a(void 0)}))}}var h=function(){var e,t,r,u,d=(0,n.useContext)(i.AssetContext),h=(0,o.useAssetGetByIdQuery)({id:d.id}).data;return n.createElement(a.AssetEditorSidebarDetailsView,{height:null!==(e=h.height)&&void 0!==e?e:0,onClickCustomDownload:(u=p(f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:m(d.id,t);case 1:case"end":return e.stop()}}),e)}))),function(e){return u.apply(this,arguments)}),onClickDownloadByFormat:(r=p(f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:y(d.id,t);case 1:case"end":return e.stop()}}),e)}))),function(e){return r.apply(this,arguments)}),width:null!==(t=h.width)&&void 0!==t?t:0});function m(e,t){var r=t.width,n=t.height,o=t.quality,i=t.dpi,a=t.mode,u=t.format,d=[{key:"mimeType",value:u},{key:"resizeMode",value:a},{key:"dpi",value:i.toString()},{key:"quality",value:o.toString()},{key:"height",value:n.toString()},{key:"width",value:r.toString()}],m=(0,l.buildQueryString)(d,["","-1"]);fetch("".concat((0,c.getPrefix)(),"/assets/").concat(e,"/image/download/custom?").concat(m)).then(function(){var e=p(f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.blob();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).then((function(e){var t=URL.createObjectURL(e);!function(e,t,r){var n=(0,s.replaceFileEnding)(e,r.toLowerCase());(0,s.saveFileLocal)(t,n)}(h.filename,t,u)})).catch((function(e){console.error(e)}))}function y(e,t){g("original"!==t?"".concat((0,c.getPrefix)(),"/assets/").concat(e,"/image/download/format/").concat(t):"".concat((0,c.getPrefix)(),"/assets/").concat(e,"/download"),t)}function g(e,t){fetch(e).then(function(){var e=p(f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.blob();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).then((function(e){var r=URL.createObjectURL(e);!function(e,t,r){var n=e;"original"!==r&&(n=(0,s.replaceFileEnding)(e,"jpg"));(0,s.saveFileLocal)(t,n)}(h.filename,r,t)})).catch((function(e){console.error(e)}))}}},23409:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AssetEditorSidebarDetailsView:()=>y});var n=r(36198),o=r(30811),i=r(55328),a=r(58664),s=r(71816),l=r(27027),c=r(82755),u=r(41161),f=r(54688),d=r(32017),p=r(42297);function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n,o,i;function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>s});var s=(0,r(99291).createStyles)((function(e){var t=e.token,r=e.css;return{sidebarContentEntry:r(n||(n=a(["\n .sidebar__content-label {\n color: ",";\n line-height: 20px;\n font-weight: 600;\n margin: 0;\n padding-bottom: ","px;\n \n &:not(:first-of-type) {\n padding-top: ","px;\n }\n }\n "])),t.colorPrimaryActive,t.paddingXS,t.paddingXS),sidebarContentDimensions:r(o||(o=a(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n align-self: stretch;\n \n .entry-content__dimensions-label {\n display: flex;\n padding-bottom: ",";\n gap: ","px;\n align-items: center;\n gap: ",";\n align-self: stretch;\n\n p {\n margin: 0\n }\n }\n\n .entry-content__dimensions-content {\n color: ",";\n display: flex;\n padding-bottom: ",";\n gap: ","px;\n align-items: center;\n gap: ",";\n align-self: stretch;\n\n p {\n margin: 0;\n line-height: 22px;\n }\n }\n "])),t.paddingXXS,t.marginMD,t.marginXXS,t.colorTextDescription,t.paddingXXS,t.marginMD,t.marginXXS),sidebarContentDownload:r(i||(i=a(["\n .entry-content__download-content-thumbnail {\n display: flex;\n align-items: center;\n gap: ","px;\n padding-bottom: ","px;\n \n .ant-select {\n flex: 1\n }\n }\n \n .entry-content__download-content-custom {\n .ant-form-item {\n margin-bottom: 0;\n }\n \n .entry-content__download-content-custom__dimensions {\n display: flex;\n gap: ","px;\n padding-bottom: ","px;\n }\n \n .entry-content__download-content-custom__others {\n display: flex;\n gap: ","px;\n flex-direction: column;\n padding-bottom: ","px;\n \n > div {\n display: flex;\n gap: ","px;\n \n >.ant-form-item {\n flex: 1\n }\n }\n }\n \n .entry-content__download-content-custom__button {\n padding: ","px 0;\n }\n \n .entry-content__download-content-custom__default {\n color: ",";\n }\n }\n "])),t.paddingXXS,t.paddingSM,t.marginSM,t.paddingSM,t.paddingXS,t.paddingSM,t.marginSM,t.paddingXS,t.colorTextDescription)}}),{hashPriority:"low"})},32017:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useDetailsViewData:()=>i});var n=r(30811),o=r(36198),i=function(){var e=(0,n.useTranslation)().t;return{getModes:function(){return[{value:"resize",label:e("resize")},{value:"scaleByWidth",label:o.createElement(o.Fragment,null,e("scaleByWidth")+" ",o.createElement("span",{className:"entry-content__download-content-custom__default"},"(",e("default"),")"))},{value:"scaleByHeight",label:e("scaleByHeight")}]},getFormats:function(){return[{value:"JPEG",label:o.createElement(o.Fragment,null,"JPEG ",o.createElement("span",{className:"entry-content__download-content-custom__default"},"(",e("default"),")"))},{value:"PNG",label:"PNG"}]},getDownloadFormats:function(){return[{value:"original",label:e("asset.sidebar.original-file")},{value:"web",label:e("asset.sidebar.web-format")},{value:"print",label:e("asset.sidebar.print-format")},{value:"office",label:e("asset.sidebar.office-format")}]}}}},14230:(e,t,r)=>{"use strict";r.r(t);var n=r(36198),o=r(54663),i=r(80237),a=r(81690),s=r(54088),l=r(98051),c=r(94154),u=r(99954);i.moduleSystem.registerModule({onInit:function(){var e=a.container.get(s.serviceIds["Asset/Editor/TextTabManager"]);e.register({key:"edit",label:"asset.asset-editor-tabs.edit",children:n.createElement(c.EditContainer,null),icon:n.createElement(o.Icon,{value:"edit"})}),e.register(l.TAB_CUSTOM_METADATA),e.register(u.TAB_PROPERTIES),e.register(l.TAB_VERSIONS),e.register(u.TAB_SCHEDULE),e.register(u.TAB_DEPENDENCIES),e.register(u.TAB_NOTES_AND_EVENTS),e.register(u.TAB_TAGS),e.register(u.TAB_WORKFLOW)}})},61068:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{relativeContainer:(0,e.css)(n||(t=["\n position: relative;\n width: 100%;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},94154:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EditContainer:()=>f});var n=r(36198),o=r(3959),i=r(93477),a=r(43741),s=r(61068),l=r(38576),c=r(5018),u=r(61008),f=function(){var e=(0,n.useContext)(a.AssetContext),t=(0,u.useAssetDraft)(e.id).asset,r=(0,i.useAssetGetTextDataByIdQuery)({id:e.id}).data,f=(0,s.useStyle)().styles,d=null;return"string"==typeof(null==t?void 0:t.filename)&&(d=(0,c.detectLanguageFromFilename)(t.filename)),n.createElement("div",{className:f.relativeContainer},(0,l.isSet)(r)&&n.createElement(o.EditView,{language:d,src:r.data}))}},13895:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{preview:(0,e.css)(n||(t=["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n object-fit: contain;\n\n iframe {\n display: flex;\n height: 100%;\n width: 100%;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},3959:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EditView:()=>a});var n=r(36198),o=r(13895),i=r(37093),a=function(e){var t=(0,o.useStyle)().styles,r=e.src,a=e.language;return n.createElement("div",{className:t.preview},n.createElement(i.TextEditor,{defaultText:r,language:a}))}},34396:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TextTabManager:()=>h});var n=r(62167),o=r(66595);function i(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":f(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,t)).type="text",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(t,e),r=t,n&&i(r.prototype,n),o&&i(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(n.TabManager);h=d([(0,o.injectable)(),p("design:paramtypes",[])],h)},87160:(e,t,r)=>{"use strict";r.r(t);var n=r(81690),o=r(54088),i=r(80237),a=r(98051),s=r(99954);i.moduleSystem.registerModule({onInit:function(){var e=n.container.get(o.serviceIds["Asset/Editor/UnknownTabManager"]);e.register(a.TAB_CUSTOM_METADATA),e.register(s.TAB_PROPERTIES),e.register(a.TAB_VERSIONS),e.register(s.TAB_SCHEDULE),e.register(s.TAB_DEPENDENCIES),e.register(s.TAB_NOTES_AND_EVENTS),e.register(s.TAB_TAGS),e.register(s.TAB_WORKFLOW)}})},11031:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=a(this,t)).type="unknown",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(62167).TabManager)},55347:(e,t,r)=>{"use strict";r.r(t);var n=r(36198),o=r(54663),i=r(74529),a=r(81690),s=r(54088),l=r(80237),c=r(98051),u=r(99954);l.moduleSystem.registerModule({onInit:function(){var e=a.container.get(s.serviceIds["Asset/Editor/VideoTabManager"]);e.register({key:"view",label:"asset.asset-editor-tabs.view",children:n.createElement(i.PreviewContainer,null),icon:n.createElement(o.Icon,{value:"image-05"})}),e.register(c.TAB_EMBEDDED_METADATA),e.register(c.TAB_CUSTOM_METADATA),e.register(u.TAB_PROPERTIES),e.register(c.TAB_VERSIONS),e.register(u.TAB_SCHEDULE),e.register(u.TAB_DEPENDENCIES),e.register(u.TAB_NOTES_AND_EVENTS),e.register(u.TAB_TAGS),e.register(u.TAB_WORKFLOW)}})},74529:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewContainer:()=>y,VideoContext:()=>m});var n=r(36198),o=r(82141),i=r(43741),a=r(32215),s=r(19759),l=r(70607),c=r(82755),u=r(65246),f=r(61008),d=r(56239);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{preview:(0,e.css)(n||(t=["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n object-fit: contain;\n\n video {\n display: flex;\n max-height: 70%;\n max-width: 70%;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},82141:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewView:()=>a});var n=r(36198),o=r(29791),i=r(96243),a=function(e){var t=(0,o.useStyle)().styles,r=e.src,a=e.poster;return n.createElement("div",{className:t.preview},n.createElement(i.PimcoreVideo,{poster:a,sources:[{src:r}]}))}},19759:(e,t,r)=>{"use strict";r.r(t),r.d(t,{sidebarManager:()=>l});var n=r(21155),o=r(54663),i=r(36198),a=r(44357),s=r(87222),l=new n.VideoEditorSidebarManager;l.registerEntry({key:"details",icon:i.createElement(o.Icon,{options:{width:"16px",height:"16px"},value:"view-details"}),component:i.createElement(a.DetailContainer,null)}),l.registerButton({key:"focal-point",icon:i.createElement(o.Icon,{options:{width:"16px",height:"16px"},value:"focal-point"}),component:i.createElement(s.FocalPointSidebarButton,null)})},21155:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(21044).SidebarManager)},44357:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DetailContainer:()=>v});var n=r(36198),o=r(93477),i=r(43741),a=r(48156),s=r(81800),l=r(65246),c=r(3701),u=r(74529),f=r(82755),d=r(56239);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function h(){h=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==p(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function m(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:j;k("image_thumbnail_time",b,e)},onChangeThumbnail:O,onClickDownloadByFormat:function(e){g(!0);var t="".concat((0,l.getPrefix)(),"/assets/").concat(w.id,"/video/download/").concat(e);(0,d.fetchBlobWithPolling)({url:t,onSuccess:function(e){var t=URL.createObjectURL(e);(0,c.saveFileLocal)(t,_.filename)}}).catch(console.error).finally((function(){g(!1)}))},onDropImage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:j;k("image_thumbnail_asset",e,t)},thumbnails:T,width:null!==(t=_.width)&&void 0!==t?t:0});function C(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:j,n="".concat((0,l.getPrefix)(),"/assets/").concat(w.id,"/video/stream/image-thumbnail?width=").concat(e,"&height=").concat(t,"&aspectRatio=true");fetch(n).then(function(){var e,t=(e=h().mark((function e(t){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.blob();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){m(i,n,o,a,s,"next",e)}function s(e){m(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}()).then((function(e){var t=URL.createObjectURL(e);E(t)})).catch((function(e){console.error(e)})).finally(r)}function k(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:j,n="".concat((0,l.getPrefix)(),"/assets/").concat(w.id);fetch(n,{method:"PUT",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({data:{customSettings:[{key:e,value:t}]}})}).then((function(){C(200,119,r)})).catch((function(e){console.error(e),r()}))}}},48156:(e,t,r)=>{"use strict";r.r(t),r.d(t,{VideoEditorSidebarDetailsTab:()=>b});var n=r(36198),o=r(32432),i=r(55328),a=r(54663),s=r(30811),l=r(95658),c=r(46256),u=r(79301),f=r(35464),d=r(72475),p=r(71590),h=r(82755),m=r(41161),y=r(58664);function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n,o,i,a;function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>l});var l=(0,r(99291).createStyles)((function(e){var t=e.token,r=e.css;return{sidebarContentEntry:r(n||(n=s(["\n .sidebar__content-label {\n color: ",";\n line-height: 20px;\n font-weight: 600;\n margin: 0;\n padding-bottom: ","px;\n \n &:not(:first-of-type) {\n padding-top: ","px;\n }\n }\n .sidebar__content-hr {\n position: absolute;\n left: 0;\n right: 0;\n border-color: ",";\n margin: 0;\n }\n "])),t.colorPrimaryActive,t.paddingXS,t.paddingXS,t.colorSplit),sidebarContentDimensions:r(o||(o=s(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n align-self: stretch;\n \n .entry-content__dimensions-label {\n display: flex;\n padding-bottom: ",";\n gap: ","px;\n align-items: center;\n gap: ",";\n align-self: stretch;\n\n p {\n margin: 0\n }\n }\n\n .entry-content__dimensions-content {\n color: ",";\n display: flex;\n padding-bottom: ",";\n gap: ","px;\n align-items: center;\n gap: ",";\n align-self: stretch;\n\n p {\n margin: 0;\n line-height: 22px;\n }\n }\n "])),t.paddingXXS,t.marginMD,t.marginXXS,t.colorTextDescription,t.paddingXXS,t.marginMD,t.marginXXS),sidebarContentDownload:r(i||(i=s(["\n .entry-content__download-content-thumbnail {\n display: flex;\n align-items: center;\n gap: ","px;\n padding-bottom: ","px;\n \n .ant-select {\n flex: 1\n }\n }\n \n .entry-content__download-content-custom {\n .ant-form-item {\n margin-bottom: 0;\n }\n \n .entry-content__download-content-custom__dimensions {\n display: flex;\n gap: ","px;\n padding-bottom: ","px;\n }\n \n .entry-content__download-content-custom__others {\n display: flex;\n gap: ","px;\n flex-direction: column;\n padding-bottom: ","px;\n \n > div {\n display: flex;\n gap: ","px;\n \n >.ant-form-item {\n flex: 1\n }\n }\n }\n \n .entry-content__download-content-custom__button {\n padding: ","px 0;\n }\n }\n "])),t.paddingXXS,t.paddingSM,t.marginSM,t.paddingSM,t.paddingXS,t.paddingSM,t.marginSM,t.paddingXS),sidebarContentImagePreview:r(a||(a=s(["\n & > .sidebar__content-label {\n margin-top: ","px;\n }\n \n .ant-btn-group {\n button {\n padding: 0 4px;\n height: 24px;\n border-radius: unset;\n }\n button:nth-child(1) {\n border-top-left-radius: 6px;\n border-bottom-left-radius: 6px;\n }\n button:nth-child(2) {\n border-top-right-radius: 6px;\n border-bottom-right-radius: 6px;\n }\n }\n\n .ant-card {\n height: 208px;\n }\n \n .ant-card, .ant-card-meta-title {\n margin-top: ","px;\n }\n \n .image-preview-container {\n height: 129px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n \n div {\n display: flex;\n gap: ","px;\n }\n \n span {\n margin-top: ","px;\n }\n }\n\n .image-preview__toolbar {\n position: absolute;\n left: 0;\n right: 0;\n background: none;\n margin-top: ","px\n }\n "])),t.marginXS,t.marginSM,t.marginXXS,t.marginSM,t.marginXS)}}),{hashPriority:"low"})},35464:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DroppableContent:()=>u});var n=r(36198),o=r(31083),i=r(54663),a=r(30811),s=r(71590);function l(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=a(this,t)).type="video",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(62167).TabManager)},16728:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AssetEditorWidget:()=>c});var n=r(13405),o=r(76644),i=r(25525),a=r(7496),s=r(36198),l=r(43741),c={name:"asset-editor",component:n.EditorContainer,titleComponent:o.TitleContainer,isModified:function(e){var t,r=e.getConfig(),n=(0,i.selectAssetById)(a.store.getState(),r.id);return null!==(t=null==n?void 0:n.modified)&&void 0!==t&&t},getContextProvider:function(e,t){var r=e.config;return s.createElement(l.AssetProvider,{id:r.id},t)}}},61008:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useAssetDraft:()=>_});var n=r(7496),o=r(93477),i=r(25525),a=r(36198),s=r(30851),l=r(86618),c=r(78576),u=r(94941),f=r(36403),d=r(2228),p=r(81690),h=r(54088),m=r(95973);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function g(){g=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",h="executing",m="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==y(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?m:p,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{useAssetHelper:()=>m});var n=r(66777),o=r(93477),i=r(7496),a=r(38693),s=r(76265),l=r(72743);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(){u=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==c(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useAsset:()=>i});var n=r(36198),o=r(43741),i=function(){return{id:(0,n.useContext)(o.AssetContext).id}}},5482:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useGlobalAssetContext:()=>i});var n=r(7496),o=r(33811),i=function(){var e=(0,n.useAppDispatch)();return{context:(0,n.useAppSelector)((function(e){return(0,o.selectContextByType)(e,"asset")})),setContext:function(t){e((0,o.addGlobalContext)({type:"asset",config:t}))},removeContext:function(){e((0,o.removeGlobalContext)("asset"))}}}},44861:(e,t,r)=>{"use strict";r.r(t);r(62288);var n=r(67215),o=r(81690),i=r(54088),a=r(80237);r(15094);a.moduleSystem.registerModule({onInit:function(){o.container.get(i.serviceIds.widgetManager).registerWidget({name:"asset-tree",component:n.TreeContainer})}})},69296:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AssetTreeContextMenu:()=>E});var n=r(55328),o=r(36198),i=r(54663),a=r(30811),s=r(63975),l=r(595),c=r(41642),u=r(26272),f=r(2536),d=r(46946),p=r(13250),h=r(30312),m=r(83206),y=r(23219),g=r(42029),v=r(76265),b=r(50164);function O(e){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(e)}function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useNodeApiHook:()=>p});var n=r(31322),o=r(93477),i=r(36198),a=r(72743);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t);var n=r(80237),o=r(81690),i=r(54088),a=r(69296);n.moduleSystem.registerModule({onInit:function(){o.container.get(i.serviceIds["App/ComponentRegistry/ComponentRegistry"]).register({name:"assetTreeContextMenu",component:a.AssetTreeContextMenu})}})},37125:(e,t,r)=>{"use strict";r.r(t),r.d(t,{withDraggable:()=>c});var n=r(36198),o=r(61394);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{SearchContainer:()=>u});var n=r(36198),o=r(52631),i=r(30811);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{TreeContainer:()=>v});var n=r(31322),o=r(36198),i=r(85469),a=r(36699),s=r(1020),l=r(6786),c=r(23662),u=r(37125),f=r(69296),d=r(95987);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}var h=["id"];function m(){m=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",h="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==p(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?g:h,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function y(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function g(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var v=function(e){var t=e.id,r=void 0===t?1:t,p=(g(e,h),(0,l.useAssetHelper)().openAsset),v=(0,d.useSettings)().asset_tree_paging_limit;function b(){var e;return e=m().mark((function e(t){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:p({config:{id:parseInt(t.id)}});case 1:case"end":return e.stop()}}),e)})),b=function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){y(i,n,o,a,s,"next",e)}function s(e){y(i,n,o,a,s,"throw",e)}a(void 0)}))},b.apply(this,arguments)}return o.createElement(n.ElementTree,{contextMenu:f.AssetTreeContextMenu,maxItemsPerNode:v,nodeApiHook:i.useNodeApiHook,nodeId:r,onSelect:function(e){return b.apply(this,arguments)},renderFilter:c.SearchContainer,renderNode:(0,u.withDraggable)(a.TreeNode),renderNodeContent:n.defaultProps.renderNodeContent,renderPager:s.PagerContainer})}},37150:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useLoginMutation:()=>a,useLogoutMutation:()=>s});var n=r(35525),o=["Authorization"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{login:e.mutation({query:function(e){return{url:"/pimcore-studio/api/login",method:"POST",body:e.credentials}},invalidatesTags:["Authorization"]}),logout:e.mutation({query:function(){return{url:"/pimcore-studio/api/logout",method:"POST"}},invalidatesTags:["Authorization"]})}},overrideExisting:!1}),a=i.useLoginMutation,s=i.useLogoutMutation},82392:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useIsAuthenticated:()=>i});var n=r(36198),o=r(52910),i=function(){var e=(0,o.useUser)();return(0,n.useMemo)((function(){return""!==e.username}),[e])}},32347:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useMiddleware:()=>s});var n=r(79655),o=r(36198),i=r(82392),a=r(24835),s=function(){var e=(0,i.useIsAuthenticated)(),t=(0,n.useNavigate)();(0,o.useEffect)((function(){e&&t(a.routes.root),e||t(a.routes.login)}),[e])}},52910:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useUser:()=>a});var n=r(36198),o=r(45007),i=r(4362),a=function(){var e=(0,o.useSelector)(i.selectCurrentUser);return(0,n.useMemo)((function(){return e}),[e])}},7786:(e,t,r)=>{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>a});var a=(0,r(99291).createStyles)((function(e){e.token;var t=e.css;return{loginPage:t(n||(n=i(["\n display: flex;\n align-items: center;\n background: url(/bundles/pimcorestudioui/img/login-bg.png) lightgray 50% / cover no-repeat;\n position: absolute;\n inset: 0;\n overflow: hidden;\n "]))),loginWidget:t(o||(o=i(["\n display: flex;\n flex-direction: column;\n width: 503px;\n height: 608px;\n flex-shrink: 0;\n border-radius: 8px;\n background: linear-gradient(335deg, rgba(255, 255, 255, 0.86) 1.72%, rgba(57, 14, 97, 0.86) 158.36%);\n padding: 83px 100px 0 100px;\n margin-left: 80px;\n \n /* Component/Button/primaryShadow */\n box-shadow: 0px 2px 0px 0px rgba(114, 46, 209, 0.10);\n \n img {\n margin-bottom: 50px\n }\n "])))}}))},7367:(e,t,r)=>{"use strict";r.r(t),r.d(t,{LoginPage:()=>s});var n=r(36198),o=r(65437),i=r(7786),a=r(32347),s=function(){var e=(0,i.useStyle)().styles;return(0,a.useMiddleware)(),n.createElement("div",{className:e.loginPage},n.createElement("div",{className:e.loginWidget},n.createElement("img",{alt:"Pimcore Logo",src:"/bundles/pimcorestudioui/img/logo.png"}),n.createElement(o.LoginForm,null)))}},93244:(e,t,r)=>{"use strict";r.r(t),r.d(t,{isAllowed:()=>i});var n=r(7496),o=r(4362),i=function(e){var t=n.store.getState(),r=(0,o.selectCurrentUser)(t);return!!r.isAdmin||void 0!==e&&r.permissions.includes(e)}},9468:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,usePimcoreStudioApiUserSearchQuery:()=>v,useUserCloneByIdMutation:()=>a,useUserCreateMutation:()=>s,useUserDefaultKeyBindingsQuery:()=>h,useUserDeleteByIdMutation:()=>d,useUserFolderCreateMutation:()=>l,useUserFolderDeleteByIdMutation:()=>p,useUserGetAvailablePermissionsQuery:()=>m,useUserGetByIdQuery:()=>u,useUserGetCollectionQuery:()=>y,useUserGetCurrentInformationQuery:()=>c,useUserGetImageQuery:()=>w,useUserGetTreeQuery:()=>S,useUserResetPasswordMutation:()=>g,useUserUpdateByIdMutation:()=>f,useUserUpdatePasswordByIdMutation:()=>b,useUserUploadImageMutation:()=>O});var n=r(35525),o=["User Management"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{userCloneById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/clone/".concat(e.id),method:"POST",body:e.body}},invalidatesTags:["User Management"]}),userCreate:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/",method:"POST",body:e.body}},invalidatesTags:["User Management"]}),userFolderCreate:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/folder",method:"POST",body:e.body}},invalidatesTags:["User Management"]}),userGetCurrentInformation:e.query({query:function(){return{url:"/pimcore-studio/api/user/current-user-information"}},providesTags:["User Management"]}),userGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/user/".concat(e.id)}},providesTags:["User Management"]}),userUpdateById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/".concat(e.id),method:"PUT",body:e.updateUser}},invalidatesTags:["User Management"]}),userDeleteById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/".concat(e.id),method:"DELETE"}},invalidatesTags:["User Management"]}),userFolderDeleteById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/folder/".concat(e.id),method:"DELETE"}},invalidatesTags:["User Management"]}),userDefaultKeyBindings:e.query({query:function(){return{url:"/pimcore-studio/api/users/default-key-bindings"}},providesTags:["User Management"]}),userGetAvailablePermissions:e.query({query:function(){return{url:"/pimcore-studio/api/user/available-permissions"}},providesTags:["User Management"]}),userGetCollection:e.query({query:function(){return{url:"/pimcore-studio/api/users"}},providesTags:["User Management"]}),userResetPassword:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/reset-password",method:"POST",body:e.resetPassword}},invalidatesTags:["User Management"]}),pimcoreStudioApiUserSearch:e.query({query:function(e){return{url:"/pimcore-studio/api/user/search",params:{searchQuery:e.searchQuery}}},providesTags:["User Management"]}),userUpdatePasswordById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/".concat(e.id,"/password"),method:"PUT",body:e.body}},invalidatesTags:["User Management"]}),userUploadImage:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/upload-image/".concat(e.id),method:"POST",body:e.body}},invalidatesTags:["User Management"]}),userGetImage:e.query({query:function(e){return{url:"/pimcore-studio/api/user/image/".concat(e.id)}},providesTags:["User Management"]}),userGetTree:e.query({query:function(e){return{url:"/pimcore-studio/api/users/tree",params:{parentId:e.parentId}}},providesTags:["User Management"]})}},overrideExisting:!1}),a=i.useUserCloneByIdMutation,s=i.useUserCreateMutation,l=i.useUserFolderCreateMutation,c=i.useUserGetCurrentInformationQuery,u=i.useUserGetByIdQuery,f=i.useUserUpdateByIdMutation,d=i.useUserDeleteByIdMutation,p=i.useUserFolderDeleteByIdMutation,h=i.useUserDefaultKeyBindingsQuery,m=i.useUserGetAvailablePermissionsQuery,y=i.useUserGetCollectionQuery,g=i.useUserResetPasswordMutation,v=i.usePimcoreStudioApiUserSearchQuery,b=i.useUserUpdatePasswordByIdMutation,O=i.useUserUploadImageMutation,w=i.useUserGetImageQuery,S=i.useUserGetTreeQuery},4362:(e,t,r)=>{"use strict";r.r(t),r.d(t,{selectCurrentUser:()=>d,setUser:()=>f,userSliceName:()=>u});var n=r(8327),o=r(7496);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useClassFieldCollectionObjectLayoutQuery:()=>a,useClassQuantityValueUnitConvertAllMutation:()=>s,useClassQuantityValueUnitConvertMutation:()=>l,useClassQuantityValueUnitListQuery:()=>c});var n=r(35525),o=["Class Definition"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{classFieldCollectionObjectLayout:e.query({query:function(e){return{url:"/pimcore-studio/api/class/field-collection/".concat(e.objectId,"/object/layout")}},providesTags:["Class Definition"]}),classQuantityValueUnitConvertAll:e.mutation({query:function(e){return{url:"/pimcore-studio/api/class/quantity-value/convert-all",method:"POST",body:e.convertAllParameters}},invalidatesTags:["Class Definition"]}),classQuantityValueUnitConvert:e.mutation({query:function(e){return{url:"/pimcore-studio/api/class/quantity-value/convert",method:"POST",body:e.convertParameters}},invalidatesTags:["Class Definition"]}),classQuantityValueUnitList:e.query({query:function(){return{url:"/pimcore-studio/api/class/quantity-value/unit-list"}},providesTags:["Class Definition"]})}},overrideExisting:!1}),a=i.useClassFieldCollectionObjectLayoutQuery,s=i.useClassQuantityValueUnitConvertAllMutation,l=i.useClassQuantityValueUnitConvertMutation,c=i.useClassQuantityValueUnitListQuery},15008:(e,t,r)=>{"use strict";r.r(t),r.d(t,{api:()=>o,useDataObjectAddMutation:()=>i,useDataObjectCloneMutation:()=>a,useDataObjectGetByIdQuery:()=>s,useDataObjectGetLayoutByIdQuery:()=>f,useDataObjectGetTreeQuery:()=>u,useDataObjectPatchByIdMutation:()=>c,useDataObjectUpdateByIdMutation:()=>l});var n=r(38693),o=r(60952).api.enhanceEndpoints({addTagTypes:[n.tagNames.DATA_OBJECT,n.tagNames.DATA_OBJECT_TREE,n.tagNames.DATA_OBJECT_DETAIL],endpoints:{dataObjectClone:{invalidatesTags:function(e,t,r){return n.invalidatingTags.DATA_OBJECT_TREE_ID(r.parentId)}},dataObjectGetById:{providesTags:function(e,t,r){return n.providingTags.DATA_OBJECT_DETAIL_ID(r.id)}},dataObjectGetTree:{providesTags:function(e,t,r){return void 0!==r.parentId?n.providingTags.DATA_OBJECT_TREE_ID(r.parentId):n.providingTags.DATA_OBJECT_TREE()}},dataObjectUpdateById:{invalidatesTags:function(e,t,r){return n.invalidatingTags.DATA_OBJECT_DETAIL_ID(r.id)}},dataObjectAdd:{invalidatesTags:function(e,t,r){return n.invalidatingTags.DATA_OBJECT_TREE_ID(r.parentId)}},dataObjectGetLayoutById:{providesTags:function(e,t,r){return n.providingTags.DATA_OBJECT_DETAIL_ID(r.id)}}}}),i=o.useDataObjectAddMutation,a=o.useDataObjectCloneMutation,s=o.useDataObjectGetByIdQuery,l=o.useDataObjectUpdateByIdMutation,c=o.useDataObjectPatchByIdMutation,u=o.useDataObjectGetTreeQuery,f=o.useDataObjectGetLayoutByIdQuery},60952:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useDataObjectAddMutation:()=>a,useDataObjectCloneMutation:()=>s,useDataObjectGetAvailableGridColumnsQuery:()=>u,useDataObjectGetByIdQuery:()=>l,useDataObjectGetGridMutation:()=>f,useDataObjectGetLayoutByIdQuery:()=>d,useDataObjectGetTreeQuery:()=>m,useDataObjectPatchByIdMutation:()=>p,useDataObjectReplaceContentMutation:()=>h,useDataObjectUpdateByIdMutation:()=>c});var n=r(35525),o=["Data Objects","Data Object Grid"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{dataObjectAdd:e.mutation({query:function(e){return{url:"/pimcore-studio/api/data-objects/add/".concat(e.parentId),method:"POST",body:e.dataObjectAddParameters}},invalidatesTags:["Data Objects"]}),dataObjectClone:e.mutation({query:function(e){return{url:"/pimcore-studio/api/data-objects/".concat(e.id,"/clone/").concat(e.parentId),method:"POST",body:e.cloneParameters}},invalidatesTags:["Data Objects"]}),dataObjectGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/data-objects/".concat(e.id)}},providesTags:["Data Objects"]}),dataObjectUpdateById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/data-objects/".concat(e.id),method:"PUT",body:e.body}},invalidatesTags:["Data Objects"]}),dataObjectGetAvailableGridColumns:e.query({query:function(e){return{url:"/pimcore-studio/api/data-object/grid/available-columns/".concat(e.classId,"/folderId")}},providesTags:["Data Object Grid"]}),dataObjectGetGrid:e.mutation({query:function(e){return{url:"/pimcore-studio/api/data-objects/grid",method:"POST",body:e.body}},invalidatesTags:["Data Object Grid"]}),dataObjectGetLayoutById:e.query({query:function(e){return{url:"/pimcore-studio/api/data-objects/".concat(e.id,"/layout")}},providesTags:["Data Objects"]}),dataObjectPatchById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/data-objects",method:"PATCH",body:e.body}},invalidatesTags:["Data Objects"]}),dataObjectReplaceContent:e.mutation({query:function(e){return{url:"/pimcore-studio/api/data-objects/".concat(e.sourceId,"/replace/").concat(e.targetId),method:"POST"}},invalidatesTags:["Data Objects"]}),dataObjectGetTree:e.query({query:function(e){return{url:"/pimcore-studio/api/data-objects/tree",params:{page:e.page,pageSize:e.pageSize,parentId:e.parentId,idSearchTerm:e.idSearchTerm,excludeFolders:e.excludeFolders,path:e.path,pathIncludeParent:e.pathIncludeParent,pathIncludeDescendants:e.pathIncludeDescendants,className:e.className}}},providesTags:["Data Objects"]})}},overrideExisting:!1}),a=i.useDataObjectAddMutation,s=i.useDataObjectCloneMutation,l=i.useDataObjectGetByIdQuery,c=i.useDataObjectUpdateByIdMutation,u=i.useDataObjectGetAvailableGridColumnsQuery,f=i.useDataObjectGetGridMutation,d=i.useDataObjectGetLayoutByIdQuery,p=i.useDataObjectPatchByIdMutation,h=i.useDataObjectReplaceContentMutation,m=i.useDataObjectGetTreeQuery},83402:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addPropertyToDataObject:()=>w,addScheduleToDataObject:()=>_,dataObjectReceived:()=>y,dataObjectsAdapter:()=>p,removeDataObject:()=>g,removePropertyFromDataObject:()=>S,removeScheduleFromDataObject:()=>P,resetChanges:()=>b,resetDataObject:()=>v,resetSchedulesChangesForDataObject:()=>C,selectDataObjectById:()=>A,setActiveTabForDataObject:()=>k,setModifiedCells:()=>O,setPropertiesForDataObject:()=>x,setSchedulesForDataObject:()=>T,slice:()=>h,updatePropertyForDataObject:()=>E,updateScheduleForDataObject:()=>j});var n=r(8327),o=r(7496),i=r(86618),a=r(94941),s=r(95973),l=r(2228);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DataObjectContext:()=>o,DataObjectProvider:()=>i});var n=r(36198),o=(0,n.createContext)({id:0}),i=function(e){var t=e.id,r=e.children;return(0,n.useMemo)((function(){return n.createElement(o.Provider,{value:{id:t}},r)}),[t])}},90455:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EditorContainer:()=>p});var n=r(36198),o=r(2263),i=r(45048),a=r(82755),s=r(70047),l=r(44994),c=r(98740),u=r(65832),f=r(6150),d=r(94759),p=function(e){var t=e.id,r=(0,s.useDataObjectDraft)(t),p=r.isLoading,h=r.isError,m=r.dataObject,y=r.removeDataObjectFromState,g=r.editorType,v=(0,o.useIsAcitveMainWidget)(),b=(0,l.useGlobalDataObjectContext)(),O=b.setContext,w=b.removeContext;return(0,n.useEffect)((function(){return function(){w(),y()}}),[]),(0,n.useEffect)((function(){return v&&O({id:t}),function(){v||w()}}),[v]),h?n.createElement("div",null,"Error"):p?n.createElement(a.Content,{loading:!0}):void 0===m||void 0===g?n.createElement(n.Fragment,null):n.createElement(i.DataObjectProvider,{id:t},n.createElement(d.LanguageSelectionProvider,null,n.createElement(f.TabsToolbarView,{renderTabbar:n.createElement(c.TabsContainer,{elementEditorType:g}),renderToolbar:n.createElement(u.Toolbar,null)})))}},52098:(e,t,r)=>{"use strict";r.r(t);var n=r(81690),o=(r(78676),r(51134),r(54088)),i=r(80237),a=r(10539),s=r(23092);i.moduleSystem.registerModule({onInit:function(){var e=n.container.get(o.serviceIds["DataObject/Editor/TypeRegistry"]);e.register({name:"object",tabManagerServiceId:"DataObject/Editor/ObjectTabManager"}),e.register({name:"folder",tabManagerServiceId:"DataObject/Editor/FolderTabManager"}),n.container.get(o.serviceIds.widgetManager).registerWidget(s.DataObjectEditorWidget),n.container.get(o.serviceIds["App/ComponentRegistry/ComponentRegistry"]).register({name:"editorToolbarContextMenuDataObject",component:a.EditorToolbarContextMenu})}})},71201:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TAB_VERSIONS:()=>l});var n=r(9287),o=r(54663),i=r(36198),a=r(70691),s=r(9791),l={key:"versions",label:"version.label",children:i.createElement(n.VersionsTabContainer,{ComparisonViewComponent:a.ComparisonView,SingleViewComponent:s.SingleView}),icon:i.createElement(o.Icon,{value:"history-outlined"}),isDetachable:!0}},70691:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ComparisonView:()=>o});var n=r(36198),o=function(e){var t=e.versionIds;return n.createElement("div",null,n.createElement("p",null,n.createElement("strong",null,"TODO: implement data object comparison view for versionIds:")),t.map((function(e){return e.id})).join(", "))}},9791:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SingleView:()=>o});var n=r(36198),o=function(e){var t=e.versions,r=e.versionId,o=e.setDetailedVersions;return n.createElement("div",null,n.createElement("p",null,n.createElement("strong",null,"TODO: implement data object single version view for:")),"ID: ",r.id,n.createElement("hr",null),"Jump to other versions:",t.map((function(e){return n.createElement("div",{key:e.id},n.createElement("p",null,n.createElement("button",{onClick:function(){o([{id:e.id,count:e.versionCount}])}}," Version: ",e.versionCount)))})))}},51823:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TitleContainer:()=>a});var n=r(36198),o=r(1464),i=r(70047),a=function(e){var t,r=e.node,a=(0,i.useDataObjectDraft)(r.getConfig().id).dataObject;return n.createElement(o.TabTitleContainer,{modified:null!==(t=null==a?void 0:a.modified)&&void 0!==t&&t,node:r})}},10539:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EditorToolbarContextMenu:()=>m});var n=r(55328),o=r(27027),i=r(95658),a=r(36198),s=r(15008),l=r(38693),c=r(7496),u=r(30811),f=r(70047),d=r(45048);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0?b(!0):O()},open:v,title:e("toolbar.reload.confirmation")},a.createElement(o.IconButton,{icon:{value:"refresh"}},e("toolbar.reload"))));function O(){y(),t(s.api.util.invalidateTags(l.invalidatingTags.DATA_OBJECT_DETAIL_ID(r)))}}},79424:(e,t,r)=>{"use strict";r.r(t),r.d(t,{LanguageSelection:()=>c});var n=r(68034),o=r(95987),i=r(36198),a=r(11581);function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{LanguageSelectionContext:()=>a,LanguageSelectionProvider:()=>s});var n=r(36198);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{useLanguageSelection:()=>l});var n=r(36198),o=r(94759);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t,r){var n;return n=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==i(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l=function(){return function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{Toolbar:()=>j});var n=r(36198),o=r(72475),i=r(30811),a=r(71816),s=r(70047),l=r(45048),c=r(78078),u=r(63033),f=r(54088),d=r(81690),p=r(15008),h=r(47259),m=r(16658),y=r(79424),g=r(81873),v=r(49555),b=r(20160),O=["rowId"];function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return T(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return T(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t);var n=r(80237),o=r(81690),i=r(54088),a=r(99954);n.moduleSystem.registerModule({onInit:function(){var e=o.container.get(i.serviceIds["DataObject/Editor/FolderTabManager"]);e.register(a.TAB_PROPERTIES),e.register(a.TAB_DEPENDENCIES),e.register(a.TAB_NOTES_AND_EVENTS),e.register(a.TAB_TAGS),e.register(a.TAB_WORKFLOW)}})},78676:(e,t,r)=>{"use strict";r.r(t);var n=r(80237),o=r(81690),i=r(54088),a=r(99954),s=r(71201),l=r(16658);n.moduleSystem.registerModule({onInit:function(){var e=o.container.get(i.serviceIds["DataObject/Editor/ObjectTabManager"]);e.register(l.TAB_EDIT),e.register(a.TAB_PROPERTIES),e.register(s.TAB_VERSIONS),e.register(a.TAB_SCHEDULE),e.register(a.TAB_DEPENDENCIES),e.register(a.TAB_NOTES_AND_EVENTS),e.register(a.TAB_TAGS),e.register(a.TAB_WORKFLOW)}})},7916:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ObjectTabManager:()=>h});var n=r(62167),o=r(66595);function i(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":f(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,t)).type="object",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(t,e),r=t,n&&i(r.prototype,n),o&&i(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(n.TabManager);h=d([(0,o.injectable)(),p("design:paramtypes",[])],h)},83158:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DataComponent:()=>v});var n=r(36198),o=r(79195),i=r(81690),a=r(54088),s=r(55328),l=r(59487),c=r(49566),u=r(11581),f=r(99401);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{LayoutComponent:()=>a});var n=r(36198),o=r(81690),i=r(54088),a=function(e){var t,r=(0,o.useInjection)(i.serviceIds["DynamicTypes/ObjectLayoutRegistry"]),a=e.fieldType,s=e.fieldtype,l=null!==(t=null!=a?a:s)&&void 0!==t?t:"unknown";return r.hasDynamicType(l)?r.getDynamicType(l).getObjectLayoutComponent(e):n.createElement("div",null,"Unknown layout type: ",l)}},25795:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ObjectComponent:()=>u});var n=r(36198),o=r(63581),i=r(83158);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{RootComponent:()=>u});var n=r(36198),o=r(25795),i=r(79195),a=r(55328);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){var n;return n=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){var t=e.layout,r=e.data;return n.createElement(a.ConfigProvider,{theme:{components:{Form:{itemMarginBottom:0}}}},n.createElement(i.Form,{initialValues:r,layout:"vertical",onFinish:function(e){console.log(e)},preserve:!0},n.createElement(o.ObjectComponent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{EditContainer:()=>u,TAB_EDIT:()=>f});var n=r(36198),o=r(54663),i=r(40700),a=r(15008),s=r(46928),l=r(82755),c=r(16481),u=function(){var e=(0,s.useElementContext)().id,t=(0,a.useDataObjectGetLayoutByIdQuery)({id:e}),r=t.data,o=t.isLoading,u=(0,a.useDataObjectGetByIdQuery)({id:e}),f=u.data,d=u.isLoading;return void 0===r||o||d?n.createElement(l.Content,{loading:!0}):n.createElement(c.FieldCollectionProvider,null,n.createElement(i.RootComponent,{data:null==f?void 0:f.objectData,layout:r}))},f={key:"edit",label:"Edit",children:n.createElement(u,null),icon:n.createElement(o.Icon,{value:"edit"}),isDetachable:!0}},56903:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FormListContext:()=>o,FormListProvider:()=>i});var n=r(36198),o=n.createContext(void 0),i=function(e){var t=e.field,r=e.fieldSuffix,i=e.operation,a=e.children;return(0,n.useMemo)((function(){return n.createElement(o.Provider,{value:{field:t,fieldSuffix:r,operation:i}},a)}),[t,i,a])}},59487:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useFormList:()=>c});var n=r(36198),o=r(56903);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DataObjectEditorWidget:()=>c});var n=r(90455),o=r(51823),i=r(7496),a=r(36198),s=r(45048),l=r(83402),c={name:"data-object-editor",component:n.EditorContainer,titleComponent:o.TitleContainer,isModified:function(e){var t,r=e.getConfig(),n=(0,l.selectDataObjectById)(i.store.getState(),r.id);return null!==(t=null==n?void 0:n.modified)&&void 0!==t&&t},getContextProvider:function(e,t){var r=e.config;return a.createElement(s.DataObjectProvider,{id:r.id},t)}}},70047:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useDataObjectDraft:()=>w});var n=r(7496),o=r(15008),i=r(83402),a=r(36198),s=r(86618),l=r(94941),c=r(2228),u=r(81690),f=r(54088),d=r(95973);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function h(){h=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==p(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{useDataObjectHelper:()=>m});var n=r(66777),o=r(7496),i=r(15008),a=r(38693),s=r(72743),l=r(76265);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(){u=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==c(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useGlobalDataObjectContext:()=>i});var n=r(7496),o=r(33811),i=function(){var e=(0,n.useAppDispatch)();return{context:(0,n.useAppSelector)((function(e){return(0,o.selectContextByType)(e,"data-object")})),setContext:function(t){e((0,o.addGlobalContext)({type:"data-object",config:t}))},removeContext:function(){e((0,o.removeGlobalContext)("data-object"))}}}},44717:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useQuantityValueUnits:()=>d});var n=r(2001),o=r(30811),i=r(96486),a=r.n(i);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(){l=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,l){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==s(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,l)}),(function(e){r("throw",e,a,l)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,l)}))}l(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function c(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t);r(52098),r(92776);var n=r(81690),o=r(54088),i=r(80237),a=r(14318);i.moduleSystem.registerModule({onInit:function(){n.container.get(o.serviceIds.widgetManager).registerWidget({name:"data-object-tree",component:a.TreeContainer})}})},8292:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DataObjectTreeContextMenu:()=>h});var n=r(36198),o=r(30811),i=r(41642),a=r(54663),s=r(42029),l=r(2536),c=r(46946),u=r(13250),f=r(30312),d=r(83206),p=r(23219),h=function(e){var t=(0,o.useTranslation)().t,r=(0,s.useZipDownload)({type:"folder"}).createZipDownloadContextMeuItem,h=(0,l.useAddFolder)("data-object").addFolderTreeContextMenuItem,m=(0,c.useRename)("data-object").renameTreeContextMenuItem,y=(0,u.useDelete)("data-object").deleteTreeContextMenuItem,g=(0,f.useRefreshTree)("data-object").refreshTreeContextMenuItem,v=(0,d.useCopyPaste)("data-object"),b=v.copyTreeContextMenuItem,O=v.cutTreeContextMenuItem,w=v.pasteTreeContextMenuItem,S=v.pasteCutContextMenuItem,x=(0,p.useLock)("data-object"),E=x.lockTreeContextMenuItem,_=x.lockAndPropagateTreeContextMenuItem,P=x.unlockTreeContextMenuItem,T=x.unlockAndPropagateTreeContextMenuItem,j=[h(e.node),m(e.node),b(e.node),w(e.node),O(e.node),S(parseInt(e.node.id)),y(e.node),r(e.node),{label:t("element.tree.context-menu.advanced"),key:"advanced",icon:n.createElement(a.Icon,{value:"more"}),children:[{label:t("element.lock"),key:"advanced-lock",icon:n.createElement(a.Icon,{value:"lock-01"}),children:[E(e.node),_(e.node),P(e.node),T(e.node)]}]},g(e.node)];return n.createElement(n.Fragment,null,n.createElement(i.Dropdown,{menu:{items:j},trigger:["contextMenu"]},e.children))}},87584:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useNodeApiHook:()=>p});var n=r(31322),o=r(15008),i=r(36198),a=r(72743);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t);var n=r(80237),o=r(81690),i=r(54088),a=r(8292);n.moduleSystem.registerModule({onInit:function(){o.container.get(i.serviceIds["App/ComponentRegistry/ComponentRegistry"]).register({name:"dataObjectTreeContextMenu",component:a.DataObjectTreeContextMenu})}})},97342:(e,t,r)=>{"use strict";r.r(t),r.d(t,{withDraggable:()=>c});var n=r(36198),o=r(61394);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{SearchContainer:()=>u});var n=r(36198),o=r(52631),i=r(30811);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{TreeContainer:()=>v});var n=r(31322),o=r(36198),i=r(87584),a=r(36699),s=r(55262),l=r(97342),c=r(14274),u=r(8292),f=r(1020),d=r(95987);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}var h=["id"];function m(){m=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",h="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==p(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?g:h,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function y(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function g(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var v=function(e){var t=e.id,r=void 0===t?1:t,p=(g(e,h),(0,c.useDataObjectHelper)().openDataObject),v=(0,d.useSettings)().object_tree_paging_limit;function b(){var e;return e=m().mark((function e(t){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:p({config:{id:parseInt(t.id)}});case 1:case"end":return e.stop()}}),e)})),b=function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){y(i,n,o,a,s,"next",e)}function s(e){y(i,n,o,a,s,"throw",e)}a(void 0)}))},b.apply(this,arguments)}return o.createElement(n.ElementTree,{contextMenu:u.DataObjectTreeContextMenu,maxItemsPerNode:v,nodeApiHook:i.useNodeApiHook,nodeId:r,onSelect:function(e){return b.apply(this,arguments)},renderFilter:s.SearchContainer,renderNode:(0,l.withDraggable)(a.TreeNode),renderNodeContent:n.defaultProps.renderNodeContent,renderPager:f.PagerContainer})}},2536:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useAddFolder:()=>y});var n=r(30811),o=r(77783),i=r(92908),a=r(54663),s=r(36198),l=r(30312),c=r(76265);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function f(){f=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==u(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function d(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){d(i,n,o,a,s,"next",e)}function s(e){d(i,n,o,a,s,"throw",e)}a(void 0)}))}}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{useCopyPaste:()=>w});var n=r(93477),o=r(54663),i=r(36198),a=r(30811),s=r(30312),l=r(44845),c=r(51074),u=r(4194),f=r(21970),d=r(76265);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function h(){h=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==p(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function m(e){return function(e){if(Array.isArray(e))return O(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function g(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){y(i,n,o,a,s,"next",e)}function s(e){y(i,n,o,a,s,"throw",e)}a(void 0)}))}}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||b(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){if(e){if("string"==typeof e)return O(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(e,t):void 0}}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{useDelete:()=>S});var n=r(30811),o=r(77783),i=r(54663),a=r(36198),s=r(30312),l=r(5927),c=r(21970),u=r(51074),f=r(92908),d=r(76265),p=r(72743);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||O(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(){y=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",m="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==h(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?g:p,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function g(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function v(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){g(i,n,o,a,s,"next",e)}function s(e){g(i,n,o,a,s,"throw",e)}a(void 0)}))}}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||O(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){if(e){if("string"==typeof e)return w(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{useLock:()=>f});var n=r(54663),o=r(36198),i=r(30811),a=r(44845);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(){l=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,l){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==s(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,l)}),(function(e){r("throw",e,a,l)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,l)}))}l(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function c(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function u(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){c(i,n,o,a,s,"next",e)}function s(e){c(i,n,o,a,s,"throw",e)}a(void 0)}))}}var f=function(e){var t=(0,i.useTranslation)().t,r=(0,a.useElementApi)(e).elementPatch,s=function(){var e=u(l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(t,"self");case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),c=function(){var e=u(l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(t,"propagate");case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),f=function(){var e=u(l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(t,"");case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),d=function(){var e=u(l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(t,"unlockPropagate");case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),p=function(){var e=u(l().mark((function e(t,n){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r({body:{data:[{id:t,locked:n}]}});case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),console.error("Error updating element lock",e.t0);case 8:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(t,r){return e.apply(this,arguments)}}();return{lock:s,lockAndPropagate:c,unlock:f,unlockAndPropagate:d,lockTreeContextMenuItem:function(e){return{label:t("element.lock"),key:"lock",icon:o.createElement(n.Icon,{value:"lock-01"}),hidden:e.isLocked,onClick:(r=u(l().mark((function t(){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s(parseInt(e.id));case 2:case"end":return t.stop()}}),t)}))),function(){return r.apply(this,arguments)})};var r},lockContextMenuItem:function(e,r){return{label:t("element.lock"),key:"lock",icon:o.createElement(n.Icon,{value:"lock-01"}),hidden:e.isLocked,onClick:(i=u(l().mark((function t(){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s(e.id);case 2:null==r||r();case 3:case"end":return t.stop()}}),t)}))),function(){return i.apply(this,arguments)})};var i},lockAndPropagateTreeContextMenuItem:function(e){return{label:t("element.lock-and-propagate-to-children"),key:"lock-and-propagate-to-children",icon:o.createElement(n.Icon,{value:"file-lock-02"}),hidden:e.isLocked,onClick:(r=u(l().mark((function t(){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c(parseInt(e.id));case 2:case"end":return t.stop()}}),t)}))),function(){return r.apply(this,arguments)})};var r},lockAndPropagateContextMenuItem:function(e,r){return{label:t("element.lock-and-propagate-to-children"),key:"lock-and-propagate-to-children",icon:o.createElement(n.Icon,{value:"file-lock-02"}),hidden:e.isLocked,onClick:(i=u(l().mark((function t(){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c(e.id);case 2:null==r||r();case 3:case"end":return t.stop()}}),t)}))),function(){return i.apply(this,arguments)})};var i},unlockTreeContextMenuItem:function(e){return{label:t("element.unlock"),key:"unlock",icon:o.createElement(n.Icon,{value:"lock-unlock-01"}),hidden:!e.isLocked,onClick:(r=u(l().mark((function t(){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f(parseInt(e.id));case 2:case"end":return t.stop()}}),t)}))),function(){return r.apply(this,arguments)})};var r},unlockContextMenuItem:function(e,r){return{label:t("element.unlock"),key:"unlock",icon:o.createElement(n.Icon,{value:"lock-unlock-01"}),hidden:!e.isLocked,onClick:(i=u(l().mark((function t(){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f(e.id);case 2:null==r||r();case 3:case"end":return t.stop()}}),t)}))),function(){return i.apply(this,arguments)})};var i},unlockAndPropagateTreeContextMenuItem:function(e){return{label:t("element.unlock-and-propagate-to-children"),key:"unlock-and-propagate-to-children",icon:o.createElement(n.Icon,{value:"lock-unlock-01"}),hidden:!e.isLocked,onClick:(r=u(l().mark((function t(){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d(parseInt(e.id));case 2:case"end":return t.stop()}}),t)}))),function(){return r.apply(this,arguments)})};var r},unlockAndPropagateContextMenuItem:function(e,r){return{label:t("element.unlock-and-propagate-to-children"),key:"unlock-and-propagate-to-children",icon:o.createElement(n.Icon,{value:"lock-unlock-01"}),hidden:!e.isLocked,onClick:(i=u(l().mark((function t(){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d(e.id);case 2:null==r||r();case 3:case"end":return t.stop()}}),t)}))),function(){return i.apply(this,arguments)})};var i}}}},60537:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useOpen:()=>f});var n=r(36198),o=r(54663),i=r(76265),a=r(30811),s=r(73990);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(){c=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==l(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function u(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}var f=function(e){var t=(0,a.useTranslation)().t,r=(0,s.useElementHelper)().openElement;return{openContextMenuItem:function(a){return{label:t("element.open"),key:"open",icon:n.createElement(o.Icon,{value:"union"}),hidden:!(0,i.checkElementPermission)(a.permissions,"view"),onClick:(s=c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r({id:a.id,type:e});case 2:case"end":return t.stop()}}),t)})),l=function(){var e=this,t=arguments;return new Promise((function(r,n){var o=s.apply(e,t);function i(e){u(o,r,n,i,a,"next",e)}function a(e){u(o,r,n,i,a,"throw",e)}i(void 0)}))},function(){return l.apply(this,arguments)})};var s,l}}}},30312:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useRefreshTree:()=>u});var n=r(7496),o=r(93477),i=r(15008),a=r(38693),s=r(54663),l=r(36198),c=r(30811),u=function(e){var t=(0,n.useAppDispatch)(),r=(0,c.useTranslation)().t,u=function(r){"asset"===e?t(o.api.util.invalidateTags(a.invalidatingTags.ASSET_TREE_ID(r))):"data-object"===e&&t(i.api.util.invalidateTags(a.invalidatingTags.DATA_OBJECT_TREE_ID(r)))};return{refreshTree:u,refreshTreeContextMenuItem:function(e){return{label:r("element.tree.refresh"),key:"refresh",icon:l.createElement(s.Icon,{value:"refresh-ccw-03"}),onClick:function(){u(parseInt(e.id))}}},refreshContextMenuItem:function(e,t){return{label:r("element.tree.refresh"),key:"refresh",icon:l.createElement(s.Icon,{value:"refresh-ccw-03"}),onClick:function(){u(e.parentId),null==t||t()}}}}}},46946:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useRename:()=>m});var n=r(30811),o=r(77783),i=r(54663),a=r(36198),s=r(30312),l=r(44845),c=r(76265),u=r(72743);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(){d=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==f(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function p(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function h(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){p(i,n,o,a,s,"next",e)}function s(e){p(i,n,o,a,s,"throw",e)}a(void 0)}))}}var m=function(e){var t=(0,n.useTranslation)().t,r=(0,o.useFormModal)(),f=(0,s.useRefreshTree)(e).refreshTree,p=(0,l.useElementApi)(e).elementPatch,m=function(e,n,o,i){var a;r.input({title:t("element.rename"),label:t("element.rename.label"),initialValue:n,rule:{required:!0,message:t("element.rename.validation")},onOk:(a=h(d().mark((function t(r){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y(e,r,o);case 2:null==i||i(r);case 3:case"end":return t.stop()}}),t)}))),function(e){return a.apply(this,arguments)})})},y=function(){var t=h(d().mark((function t(r,n,o){var i;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=p({body:{data:[{id:r,key:n}]}}),t.prev=1,t.next=4,i;case 4:void 0!==o&&f(o),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(1),console.error("Error renaming "+e,t.t0);case 10:case"end":return t.stop()}}),t,null,[[1,7]])})));return function(e,r,n){return t.apply(this,arguments)}}();return{rename:m,renameTreeContextMenuItem:function(e){return{label:t("element.rename"),key:"rename",icon:a.createElement(i.Icon,{value:"type-square"}),hidden:!(0,c.checkElementPermission)(e.permissions,"rename")||e.isLocked,onClick:function(){var t=parseInt(e.id),r=void 0!==e.parentId?parseInt(e.parentId):void 0;m(t,e.label,r)}}},renameContextMenuItem:function(r,n){return{label:t("element.rename"),key:"rename",icon:a.createElement(i.Icon,{value:"type-square"}),hidden:!(0,c.checkElementPermission)(r.permissions,"rename")||r.isLocked,onClick:function(){var t,o=null!==(t=r.parentId)&&void 0!==t?t:void 0;m(r.id,(0,u.getElementKey)(r,e),o,n)}}},renameMutation:y}}},86618:(e,t,r)=>{"use strict";r.r(t),r.d(t,{usePropertiesDraft:()=>f,usePropertiesReducers:()=>u});var n=r(7496);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{useSchedulesDraft:()=>p,useSchedulesReducers:()=>d});var n=r(7496);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var i=["schedules"];function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function u(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0,e}))}}},p=function(e,t,r,o,i,a,s){var l=(0,n.useAppDispatch)();return{schedules:null==t?void 0:t.schedules,updateSchedule:function(t){l(r({id:e,schedule:t}))},addSchedule:function(t){l(o({id:e,schedule:t}))},removeSchedule:function(t){l(i({id:e,schedule:t}))},setSchedules:function(t){l(a({id:e,schedules:t}))},resetSchedulesChanges:function(){l(s(e))}}}},95973:(e,t,r)=>{"use strict";r.r(t),r.d(t,{initialTabsStateValue:()=>l,useTabsDraft:()=>u,useTabsReducers:()=>c});var n=r(7496);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useTrackableChangesDraft:()=>c,useTrackableChangesReducers:()=>l});var n=r(7496);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeBatchEditRegistry:()=>d});var n=r(66595);function o(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,(n=[{key:"getComponent",value:function(e,t){return this.getDynamicType(e).getBatchEditComponent(t)}}])&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(68110).DynamicTypeRegistryAbstract);d=f([(0,n.injectable)()],d)},49592:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeBatchEditTextAreaComponent:()=>l});var n=r(36198),o=r(42592),i=r(96330);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{DynamicTypeBatchEditTextComponent:()=>l});var n=r(36198),o=r(55328),i=r(42592);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{DynamicTypeBatchEditTextArea:()=>d});var n=r(36198),o=r(66595),i=r(49592);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"id","textarea")},t=[{key:"getBatchEditComponent",value:function(e){return n.createElement(i.DynamicTypeBatchEditTextAreaComponent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeBatchEditText:()=>d});var n=r(36198),o=r(66595),i=r(40033);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"id","input")},t=[{key:"getBatchEditComponent",value:function(e){return n.createElement(i.DynamicTypeBatchEditTextComponent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeFieldFilterDatetimeComponent:()=>h});var n,o=r(36198),i=r(58664),a=r(47259),s=r(82640),l=r(27048),c=r(50906);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{DynamicTypeFieldFilterNumberComponent:()=>l});var n=r(36198),o=r(55328),i=r(50906);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{DynamicTypeFieldFilterSelectComponent:()=>c});var n=r(36198),o=r(58664),i=r(50906);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw i}}}}(m.options);try{for(g.s();!(y=g.n()).done;){var v=y.value;h.push({label:v,value:v})}}catch(e){g.e(e)}finally{g.f()}}return(0,n.useEffect)((function(){p(u)}),[u]),n.createElement(o.Select,{onBlur:function(){l(t,d)},onChange:function(e){p(e)},options:h,style:{width:"100%"},value:d})}},77821:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeFieldFilterTextComponent:()=>l});var n=r(36198),o=r(55328),i=r(50906);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;rs});var s=i((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}))},48898:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeFieldFilterRegistry:()=>d});var n=r(66595);function o(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,(n=[{key:"getComponent",value:function(e,t){return this.getDynamicType(e).getFieldFilterComponent(t)}}])&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(68110).DynamicTypeRegistryAbstract);d=f([(0,n.injectable)()],d)},5180:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeFieldFilterDatetime:()=>d});var n=r(36198),o=r(57595),i=r(66595);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"id","datetime")},t=[{key:"getFieldFilterComponent",value:function(e){return n.createElement(o.DynamicTypeFieldFilterDatetimeComponent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeFieldFilterNumber:()=>d});var n=r(36198),o=r(59080),i=r(66595);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"id","id")},t=[{key:"getFieldFilterComponent",value:function(e){return n.createElement(o.DynamicTypeFieldFilterNumberComponent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeFieldFilterSelect:()=>d});var n=r(36198),o=r(85044),i=r(66595);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"id","select")},t=[{key:"getFieldFilterComponent",value:function(e){return n.createElement(o.DynamicTypeFieldFilterSelectComponent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeFieldFilterText:()=>d});var n=r(36198),o=r(77821),i=r(66595);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"id","input")},t=[{key:"getFieldFilterComponent",value:function(e){return n.createElement(o.DynamicTypeFieldFilterTextComponent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{TypeIconCell:()=>i});var n=r(36198),o=r(1704),i=function(e){var t=e.row.original.type;return n.createElement(n.Fragment,null,function(){switch(t){case"document":return n.createElement(o.IconView,{value:"mainDocument"});case"asset":return n.createElement(o.IconView,{value:"mainAsset"});case"dataObject":return n.createElement(o.IconView,{value:"mainObject"});default:return n.createElement("span",null,t)}}())}},76505:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TypeIconCell:()=>i});var n=r(36198),o=r(1704),i=function(e){var t=e.row.original.type;return n.createElement(n.Fragment,null,function(){switch(t){case"metadata.input":return n.createElement(o.IconView,{value:"text-input"});case"metadata.textarea":return n.createElement(o.IconView,{value:"note"});case"metadata.document":return n.createElement(o.IconView,{value:"mainDocument"});case"metadata.asset":return n.createElement(o.IconView,{value:"mainAsset"});case"metadata.object":case"metadata.dataObject":return n.createElement(o.IconView,{value:"mainObject"});case"metadata.date":return n.createElement(o.IconView,{value:"calendar-date"});case"metadata.checkbox":return n.createElement(o.IconView,{value:"check-done-02"});default:return n.createElement("span",null)}}())}},2329:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ValueCell:()=>s});var n=r(36198),o=r(81690),i=r(54088),a=r(55328),s=function(e){var t,r=e.row.original.type,s=(0,o.useInjection)(i.serviceIds["DynamicTypes/MetadataRegistry"]);try{t=s.getDynamicType(r)}catch(e){console.warn(e)}return n.createElement(n.Fragment,null,void 0===t?n.createElement(a.Alert,{message:"cell type not supported",type:"warning"}):t.getGridCellComponent(e))}},466:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TypeIconCell:()=>i});var n=r(36198),o=r(1704),i=function(e){var t=e.row.original.type;return n.createElement(n.Fragment,null,function(){switch(t){case"text":return n.createElement(o.IconView,{value:"note"});case"document":return n.createElement(o.IconView,{value:"mainDocument"});case"asset":return n.createElement(o.IconView,{value:"mainAsset"});case"object":case"dataObject":return n.createElement(o.IconView,{value:"mainObject"});case"bool":return n.createElement(o.IconView,{value:"check-done-02"});case"select":return n.createElement(o.IconView,{value:"chevron-selector-vertical"});default:return n.createElement("span",null)}}())}},83146:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ValueCell:()=>s});var n=r(36198),o=r(55328),i=r(81690),a={text:"input",bool:"checkbox"},s=function(e){var t,r=e.row.original.type,s=(0,i.useInjection)("DynamicTypes/GridCellRegistry"),l=null!==(t=a[r])&&void 0!==t?t:r;return n.createElement(n.Fragment,null,s.hasDynamicType(l)?s.getDynamicType(l).getGridCellComponent(e):n.createElement(o.Alert,{message:"cell type not supported",style:{display:"flex"},type:"warning"}))}},84185:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ActionsCell:()=>u});var n=r(36198),o=r(82113),i=r(30811),a=r(43061);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){var n;return n=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){var t=(0,i.useTranslation)().t,r={options:[{value:"delete",label:t("schedule.version.delete")},{value:"publish",label:t("schedule.version.publish")}]};return n.createElement(o.SelectCell,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.css;e.token;return{select:o(n||(t=["\n .ant-select-selection-item {\n .version-id__select__label {\n .version-id__selection-item-hidden {\n display: none;\n }\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},68901:(e,t,r)=>{"use strict";r.r(t),r.d(t,{VersionIdCell:()=>p});var n=r(36198),o=r(83227),i=r(36609),a=r(82113),s=r(56417),l=r(43061),c=r(46928);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e,t,r){var n;return n=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==u(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=function(e){var t=(0,c.useElementContext)(),r=t.id,u=t.elementType,p=(0,o.useVersionGetCollectionForElementByTypeAndIdQuery)({elementType:u,id:r,page:1,pageSize:9999}),h=p.data,m=[];p.isLoading||void 0===h||(m=h.items);var y=m.map((function(e){var t,r;return{value:e.id,displayValue:e.versionCount,label:n.createElement("div",{className:"version-id__select__label"},n.createElement("div",null,n.createElement("b",null,e.versionCount),n.createElement("span",{className:"version-id__selection-item-hidden"}," | ",null!==(t=e.user.name)&&void 0!==t?t:"not found")),n.createElement("div",{className:"version-id__selection-item-hidden"},(r=e.date,i.default.format(new Date(1e3*r),"datetime",i.default.language,{dateStyle:"short",timeStyle:"short"}))))}}));var g=(0,s.useStyles)().styles,v={options:y};return n.createElement("div",{className:g.select},n.createElement(a.SelectCell,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{PreviewFieldLabelCell:()=>i});var n=r(36198),o=r(55328).Typography.Text,i=function(e){var t=e.getValue();return void 0===t?n.createElement("div",null):n.createElement("div",{className:"default-cell__content"},t.field,"string"==typeof t.metadataType?" (".concat(t.metadataType,")"):"","string"==typeof t.language?n.createElement(o,{type:"secondary"}," ",t.language):"")}},61539:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AssetActionsCell:()=>s});var n=r(36198),o=r(27027),i=r(6786),a=r(55328),s=function(e){var t=e.row.original,r=(0,i.useAssetHelper)().openAsset;return(0,n.useMemo)((function(){return n.createElement("div",{className:"default-cell__content"},n.createElement(a.Flex,{className:"w-full",justify:"center"},n.createElement(o.IconButton,{icon:{value:"group"},onClick:function(){r({config:{id:t.id}})},type:"link"})))}),[t.id])}},93377:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AssetPreviewCell:()=>a});var n=r(93364),o=r(6786),i=r(36198),a=function(e){var t=(0,o.useAssetHelper)().openAsset;return i.createElement(i.Fragment,null,void 0!==(null==e?void 0:e.getValue())&&i.createElement(n.ImageView,{onClick:function(){if(void 0!==e){var r=e.row.original;t({config:{id:r.id}})}},src:e.getValue(),style:{cursor:"pointer"}}))}},44179:(e,t,r)=>{"use strict";var n,o,i;function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>s});var s=(0,r(99291).createStyles)((function(e){e.token;var t=e.css;return{"checkbox-cell":t(n||(n=a(["\n padding: 4px;\n "]))),"align-center":t(o||(o=a(["\n justify-content: center;\n display: flex;\n "]))),"align-right":t(i||(i=a(["\n justify-content: flex-end;\n display: flex;\n "])))}}))},67476:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CheckboxCell:()=>s});var n=r(36198),o=r(55328),i=r(42420),a=r(44179),s=function(e){var t,r,s=(0,a.useStyle)().styles,l=(0,i.useEditMode)(e).fireOnUpdateCellDataEvent,c=(0,n.useRef)(null);function u(){var e,t;l(null!==(e=null===(t=c.current.input)||void 0===t?void 0:t.checked)&&void 0!==e&&e)}var f,d=null===(t=e.column.columnDef.meta)||void 0===t?void 0:t.config;return void 0===d&&(d={align:"left"}),n.createElement("div",{className:[s["checkbox-cell"],null!==(r=s["align-"+d.align])&&void 0!==r?r:"","default-cell__content"].join(" ")},n.createElement(o.Checkbox,{checked:e.getValue(),disabled:!1===(null===(f=e.column.columnDef.meta)||void 0===f?void 0:f.editable),onChange:u,ref:c}))}},60680:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{"date-cell":(0,e.css)(n||(t=["\n padding: 4px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},27155:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DateCell:()=>p});var n=r(36198),o=r(50388),i=r(42420),a=r(55328),s=r(27484),l=r.n(s),c=r(60680),u=r(38532);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{ElementCellContent:()=>f});var n=r(36198),o=r(52645),i=r(54663),a=r(43843),s=r(31083),l=r(73990);function c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n,o,i;function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>s});var s=(0,r(99291).createStyles)((function(e){var t=e.css;e.token;return{"element-cell":t(n||(n=a(["\n padding: 3px;\n "]))),link:t(o||(o=a(["\n display: flex;\n gap: 8px;\n width: 100%;\n \n .ant-tag {\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 100%;\n cursor: pointer;\n }\n "]))),dropTargetIcon:t(i||(i=a(["\n margin-left: auto;\n margin-top: 4px\n "])))}}))},81373:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ElementCell:()=>u});var n=r(36198),o=r(79301),i=r(45817),a=r(43843);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){var n;return n=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){var t,r,s,u,f=(0,a.useStyle)().styles,d=e.column,p=null===(t=null===(r=e.column.columnDef.meta)||void 0===r?void 0:r.editable)||void 0===t||t,h=null!==(s=null===(u=d.columnDef.meta)||void 0===u?void 0:u.config)&&void 0!==s?s:{allowedTypes:["asset","data-object","document"]},m="function"==typeof h.allowedTypes?h.allowedTypes(e):h.allowedTypes;return n.createElement(o.Droppable,{className:[f["element-cell"],"default-cell__content"].join(" "),isValidContext:function(e){return m.includes(e.type)&&p},onDrop:function(t){var r,n,o,i=t.data;void 0!==(null===(r=e.column.columnDef.meta)||void 0===r?void 0:r.editable)&&void 0!==(null===(n=e.table.options.meta)||void 0===n?void 0:n.onUpdateCellData)&&(null===(o=e.table.options.meta)||void 0===o||o.onUpdateCellData({rowIndex:e.row.index,columnId:e.column.id,value:i,rowData:e.row.original}))}},n.createElement(i.ElementCellContent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{LanguageCell:()=>u});var n=r(36198),o=r(82113),i=r(95987),a=r(43061);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){var n;return n=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){var t={options:(0,i.useSettings)().requiredLanguages};return n.createElement(o.SelectCell,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{"number-cell":(0,e.css)(n||(t=["\n padding: 4px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},21060:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NumberCell:()=>f});var n=r(36198),o=r(55328),i=r(51984),a=r(42420),s=r(93967),l=r.n(s);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{cell:(0,e.css)(n||(t=["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n \n .pimcore-icon {\n color: ",";\n cursor: pointer;\n \n &:hover {\n color: ",";\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorPrimary,o.colorPrimaryHover)}}))},29307:(e,t,r)=>{"use strict";r.r(t),r.d(t,{OpenElementCell:()=>d});var n=r(36198),o=r(40521),i=r(54663),a=r(38576),s=r(71816),l=r(73990);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(){u=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==c(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function f(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}var d=function(e){var t,r=(0,o.useStyle)().styles,c=(0,l.useElementHelper)(),d=c.openElement,p=(0,c.mapToElementType)(e.row.original.type),h=e.row.original.id;return n.createElement("div",{className:r.cell},(t=function(){var e,t=(e=u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d({id:h,type:p});case 2:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){f(i,n,o,a,s,"next",e)}function s(e){f(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}(),n.createElement(s.Button,{icon:n.createElement(i.Icon,{value:"group"}),onClick:t,onKeyDown:a.onKeyEnterExecuteClick,type:"link"})))}},98197:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;return{"select-cell":(0,e.css)(n||(t=["\n padding: 4px;\n\n .ant-select {\n width: 100%;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},82113:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SelectCell:()=>d});var n=r(36198),o=r(93967),i=r.n(o),a=r(42420),s=r(58664),l=r(98197);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{"text-cell":(0,e.css)(n||(t=["\n padding: 4px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},28838:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TextCell:()=>s});var n=r(36198),o=r(55328),i=r(73209),a=r(42420),s=function(e){var t=(0,a.useEditMode)(e),r=t.isInEditMode,s=t.disableEditMode,l=t.fireOnUpdateCellDataEvent,c=(0,i.useStyle)().styles,u=(0,n.useRef)(null);function f(){var e,t;l(null!==(e=null===(t=u.current.input)||void 0===t?void 0:t.value)&&void 0!==e?e:""),s()}function d(e){"Enter"===e.key&&f()}function p(){f()}return(0,n.useEffect)((function(){var e;r&&(null===(e=u.current)||void 0===e||e.focus())}),[r]),n.createElement("div",{className:[c["text-cell"],"default-cell__content"].join(" ")},r?n.createElement(o.Input,{defaultValue:e.getValue(),onBlur:p,onKeyDown:d,ref:u,type:"text"}):n.createElement(n.Fragment,null,e.getValue()))}},5025:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{"textarea-cell":(0,e.css)(n||(t=["\n padding: 4px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},24441:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TextareaCell:()=>u});var n=r(36198),o=r(42420),i=r(5025),a=r(96330),s=r(38576);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{"time-cell":(0,e.css)(n||(t=["\n padding: 4px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},94554:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TimeCell:()=>p});var n=r(36198),o=r(42420),i=r(55328),a=r(27484),s=r.n(a),l=r(67494),c=r(27118),u=r(78968);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{"translate-cell":(0,e.css)(n||(t=["\n padding: 4px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},2625:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TranslateCell:()=>l});var n=r(36198),o=r(30811),i=r(40349),a=r(93967),s=r.n(a),l=function(e){var t=(0,o.useTranslation)().t,r=(0,i.useStyle)().styles,a=e.getValue();return n.createElement("div",{className:s()(r["translate-cell"],"default-cell__content")},"string"==typeof a?t(a):"")}},64374:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellAbstract:()=>p});var n=r(68110),o=r(66595);function i(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(t,e),r=t,n&&i(r.prototype,n),o&&i(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(n.DynamicTypeAbstract);p=d([(0,o.injectable)()],p)},18428:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellRegistry:()=>d});var n=r(66595);function o(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,(n=[{key:"getGridCellComponent",value:function(e,t){return this.getDynamicType(e).getGridCellComponent(t)}}])&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(68110).DynamicTypeRegistryAbstract);d=f([(0,n.injectable)()],d)},87588:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellDependencyTypeIcon:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(3098);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellAssetCustomMetadataIcon:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(76505);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellAssetCustomMetadataValue:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(2329);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellPropertyIcon:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(466);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellPropertyValue:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(83146);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellScheduleActionsSelect:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(84185);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellVersionIdSelect:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(68901);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellAssetVersionPreviewFieldLabel:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(80257);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellAssetActions:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(61539);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellAssetLink:()=>v});var n=r(36198),o=r(64374),i=r(66595),a=r(81373),s=r(43061);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellAssetPreview:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(93377);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellAsset:()=>v});var n=r(36198),o=r(64374),i=r(66595),a=r(81373),s=r(43061);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellCheckbox:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(67476);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellDateTime:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(27155);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellDate:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(27155);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellDocumentLink:()=>v});var n=r(36198),o=r(64374),i=r(66595),a=r(81373),s=r(43061);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellDocument:()=>v});var n=r(36198),o=r(64374),i=r(66595),a=r(81373),s=r(43061);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellLanguageSelect:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(49153);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellNumber:()=>g});var n=r(36198),o=r(64374),i=r(21060),a=r(66595);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellObjectLink:()=>v});var n=r(36198),o=r(64374),i=r(66595),a=r(81373),s=r(43061);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellObject:()=>v});var n=r(36198),o=r(64374),i=r(66595),a=r(81373),s=r(43061);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellOpenElement:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(29307);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellSelect:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(82113);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellText:()=>g});var n=r(36198),o=r(64374),i=r(28838),a=r(66595);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellTextarea:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(24441);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellTime:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(94554);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellTranslate:()=>g});var n=r(36198),o=r(64374),i=r(66595),a=r(2625);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeListingAbstract:()=>u});var n=r(81690),o=r(54088),i=r(66595);function a(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"getGridCellComponent",value:function(e){return n.container.get(o.serviceIds["DynamicTypes/GridCellRegistry"]).getGridCellComponent(this.dynamicTypeGridCellType.id,e)}},{key:"getFieldFilterComponent",value:function(e){return n.container.get(o.serviceIds["DynamicTypes/FieldFilterRegistry"]).getComponent(this.dynamicTypeFieldFilterType.id,e)}}])&&a(e.prototype,t),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();u=c([(0,i.injectable)()],u)},28710:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeListingRegistry:()=>d});var n=r(66595);function o(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(68110).DynamicTypeRegistryAbstract);d=f([(0,n.injectable)()],d)},37120:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeListingAssetLink:()=>v});var n=r(66595),o=r(543),i=r(64374),a=r(54088),s=r(87196);function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":m(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeMetadataAbstract:()=>u});var n=r(81690),o=r(54088),i=r(66595);function a(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"getGridCellComponent",value:function(e){return n.container.get(o.serviceIds["DynamicTypes/GridCellRegistry"]).getGridCellComponent(this.dynamicTypeGridCellType.id,e)}},{key:"getFieldFilterComponent",value:function(e){return n.container.get(o.serviceIds["DynamicTypes/FieldFilterRegistry"]).getComponent(this.dynamicTypeFieldFilterType.id,e)}}])&&a(e.prototype,t),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();u=c([(0,i.injectable)()],u)},17781:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeMetaDataRegistry:()=>d});var n=r(66595);function o(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,(n=[{key:"getTypeSelectionTypes",value:function(){var e=new Map;return this.dynamicTypes.forEach((function(t,r){t.visibleInTypeSelection&&e.set(r,t)})),e}}])&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(68110).DynamicTypeRegistryAbstract);d=f([(0,n.injectable)()],d)},83826:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeMetaDataAsset:()=>b});var n=r(36198),o=r(66595),i=r(80168),a=r(64374),s=r(54088),l=r(87196);function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":y(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeMetaDataCheckbox:()=>b});var n=r(36198),o=r(66595),i=r(80168),a=r(64374),s=r(54088),l=r(87196);function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":y(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeMetaDataDate:()=>b});var n=r(36198),o=r(66595),i=r(80168),a=r(64374),s=r(54088),l=r(87196);function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":y(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeMetaDataDocument:()=>b});var n=r(36198),o=r(66595),i=r(80168),a=r(64374),s=r(54088),l=r(87196);function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":y(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeMetaDataInput:()=>b});var n=r(36198),o=r(66595),i=r(80168),a=r(64374),s=r(54088),l=r(87196);function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":y(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeMetaDataObject:()=>b});var n=r(36198),o=r(66595),i=r(80168),a=r(64374),s=r(54088),l=r(87196);function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":y(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeMetaDataSelect:()=>b});var n=r(36198),o=r(66595),i=r(80168),a=r(64374),s=r(54088),l=r(87196);function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":y(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeMetaDataTextarea:()=>b});var n=r(66595),o=r(80168),i=r(64374),a=r(54088),s=r(87196),l=r(38576);function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":y(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{BlockContent:()=>d});var n=r(36198),o=r(54688),i=r(56903),a=r(25795),s=r(71816),l=r(48388);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e,t,r){var n;return n=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==c(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d=function(e){var t=e.title,r=e.fields,c=e.operation,d=e.children,p=r.map((function(e){return{title:n.createElement(n.Fragment,null,t," ",e.name),forceRender:!0,children:n.createElement(i.FormListProvider,{field:e,operation:c},Array.isArray(d)?d.map((function(e,t){return n.createElement(a.ObjectComponent,function(e){for(var t=1;t0&&n.createElement(o.Accordion,{items:p}))}]})}},13692:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Block:()=>u});var n=r(36198),o=r(79195),i=r(81020);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{BooleanSelect:()=>f});var n=r(36198),o=r(58664);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{Consent:()=>l});var n=r(36198),o=r(47259),i=r(55328);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&n.createElement("span",null,"(",u,")"))}},1234:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ExternalImage:()=>d});var n=r(36198),o=r(14500),i=r(10553),a=r(55328),s=r(36529),l=r(16437),c=r(30811);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{ExternalImageFooter:()=>d});var n=r(36198),o=r(47259),i=r(55328),a=r(27027),s=r(54512),l=r(30811),c=r(16437);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{FieldCollectionContent:()=>p});var n=r(36198),o=r(54688),i=r(71816),a=r(48388),s=r(75658),l=r(41642);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t0&&n.createElement(o.Accordion,{items:d}))}]})}},75658:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FieldCollectionItem:()=>d});var n=r(36198),o=r(56903),i=r(71143),a=r(3214),s=r(82755),l=r(25795);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e,t,r){var n;return n=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==c(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d=function(e){var t=e.field,r=e.operation,c=e.name,d=(0,i.default)(),p=(0,a.useFieldCollection)(),h=d.getFieldValue([c,t.name]);if(null===h||null===p)return n.createElement(n.Fragment,null);var m=p.data;if(!0===p.isLoading)return n.createElement(s.Content,{loading:!0});var y=null==h?void 0:h.type,g=m.items.find((function(e){return e.key===y}));return void 0===g?n.createElement(n.Fragment,null):n.createElement(o.FormListProvider,{field:t,fieldSuffix:"data",operation:r},g.children.map((function(e,t){return n.createElement(l.ObjectComponent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{FieldCollection:()=>u});var n=r(36198),o=r(79195),i=r(32077);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{FieldCollectionContext:()=>a,FieldCollectionProvider:()=>s});var n=r(36198),o=r(2001),i=r(46928),a=(0,n.createContext)(null),s=function(e){var t=e.children,r=(0,i.useElementContext)().id,s=(0,o.useClassFieldCollectionObjectLayoutQuery)({objectId:r});return n.createElement(a.Provider,{value:s},t)}},3214:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useFieldCollection:()=>i});var n=r(36198),o=r(16481),i=function(){return(0,n.useContext)(o.FieldCollectionContext)}},46975:(e,t,r)=>{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>a});var a=(0,r(99291).createStyles)((function(e){var t=e.css;e.token;return{select:t(n||(n=i(["\n min-width: 100px;\n "]))),input:t(o||(o=i(["\n min-width: 80px;\n "])))}}))},99005:(e,t,r)=>{"use strict";r.r(t),r.d(t,{InputQuantityValue:()=>b});var n=r(36198),o=r(47259),i=r(55328),a=r(96486),s=r.n(a),l=r(44717),c=r(58664),u=r(30811),f=r(16437),d=r(46975);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{LocalizedFields:()=>f});var n=r(36198),o=r(16868),i=r(25795),a=r(40069),s=r(11581);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){var n;return n=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==l(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=function(e){var t=e.children,r=(0,s.useLanguageSelection)().currentLanguage;return n.createElement(o.LocalizedFieldsProvider,{locales:[r]},n.createElement(a.Space,{className:"w-full",direction:"vertical",size:"small"},null==t?void 0:t.map((function(e,t){return n.createElement(i.ObjectComponent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{LocalizedFieldsContext:()=>o,LocalizedFieldsProvider:()=>i});var n=r(36198),o=(0,n.createContext)(void 0),i=function(e){var t=e.locales,r=e.children;return(0,n.useMemo)((function(){return n.createElement(o.Provider,{value:{locales:t}},r)}),[t,r])}},49566:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useLocalizedFields:()=>i});var n=r(36198),o=r(16868),i=function(){return(0,n.useContext)(o.LocalizedFieldsContext)}},90888:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ManyToManyRelationLabel:()=>a});var n=r(36198),o=r(47259),i=r(54663),a=function(e){return n.createElement(o.Flex,{align:"center",gap:"extra-small"},n.createElement(i.Icon,{value:"copy-07"}),n.createElement("span",null,e.label))}},11211:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ManyToManyRelationToolbar:()=>p});var n=r(36198),o=r(47259),i=r(53988),a=r(27027),s=r(55328),l=r(48388),c=r(77783),u=r(30811),f=r(43568),d=r(54512),p=function(e){var t,r=(0,c.useFormModal)().confirm,p=(0,u.useTranslation)().t,h=[];(e.allowClear&&h.push(n.createElement(s.Tooltip,{title:p("empty")},n.createElement(a.IconButton,{icon:{value:"trash"},onClick:function(){r({title:p("remove"),content:p("relations.remove-all.confirm"),onOk:e.empty})},type:"default"}))),e.enableUpload)&&h.push(n.createElement(f.UploadModalButton,{maxItems:e.uploadMaxItems,onSuccess:e.addAssets,showMaxItemsError:e.uploadShowMaxItemsError,targetFolderPath:null!==(t=e.assetUploadPath)&&void 0!==t?t:void 0}));return n.createElement(l.Box,{padding:"extra-small"},n.createElement(o.Flex,{align:"center",gap:"extra-small",justify:"space-between"},n.createElement(d.ButtonGroup,{items:h}),n.createElement("div",null,n.createElement(i.default,{onInput:function(t){e.onSearch(t.target.value)},placeholder:p("search")}))))}},95162:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ManyToManyRelationGrid:()=>S});var n=r(36198),o=r(31083),i=r(44587),a=r(74094),s=r(27027),l=r(55328),c=r(30811),u=r(73990),f=r(54512),d=r(48388),p=r(77783),h=r(93967),m=r.n(h),y=r(50164);function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function v(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}function w(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}var S=(0,n.forwardRef)((function(e,t){var r,h=(0,o.useDroppable)().getStateClasses,g=(0,p.useFormModal)().confirm,b=(0,u.useElementHelper)(),S=b.openElement,x=b.mapToElementType,E=(0,c.useTranslation)().t,_=(0,y.useDownload)().download,P=(0,a.createColumnHelper)(),T=[P.accessor("id",{header:E("relations.id"),size:80}),P.accessor("fullPath",{header:E("relations.reference"),meta:{autoWidth:!0},size:200}),P.accessor("type",{header:E("relations.type"),meta:{type:"translate"},size:150}),P.accessor("subtype",{header:E("relations.subtype"),meta:{type:"translate"},size:150}),P.accessor("actions",{header:E("actions"),size:110,cell:function(t){var r,o,i=t.row.original,a=[];return a.push(n.createElement(l.Tooltip,{key:"open",title:E("open")},n.createElement(s.IconButton,{icon:{value:"group"},onClick:(r=O().mark((function e(){return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S({type:x(i.type),id:i.id});case 2:case"end":return e.stop()}}),e)})),o=function(){var e=this,t=arguments;return new Promise((function(n,o){var i=r.apply(e,t);function a(e){w(i,n,o,a,s,"next",e)}function s(e){w(i,n,o,a,s,"throw",e)}a(void 0)}))},function(){return o.apply(this,arguments)}),type:"link"}))),e.assetInlineDownloadAllowed&&"asset"===i.type&&a.push(n.createElement(l.Tooltip,{key:"download",title:E("download")},n.createElement(s.IconButton,{"aria-label":E("aria.asset.image-sidebar.tab.details.download-thumbnail"),icon:{value:"download-02"},onClick:function(){_(i.id.toString())},type:"link"}))),a.push(n.createElement(l.Tooltip,{key:"remove",title:E("remove")},n.createElement(s.IconButton,{icon:{value:"trash"},onClick:function(){g({title:E("remove"),content:n.createElement(c.Trans,{i18nKey:"delete-confirmation-advanced",shouldUnescape:!0,values:{type:E("relation"),value:i.fullPath}}),onOk:function(){e.deleteItem(i.id,i.type)}})},type:"link"}))),n.createElement(d.Box,{padding:"mini"},n.createElement(f.ButtonGroup,{items:a,noSpacing:!0}))}})];return n.createElement("div",{className:m().apply(void 0,v(h())),ref:t},n.createElement(i.Grid,{autoWidth:!0,columns:T,data:null!==(r=e.value)&&void 0!==r?r:[],resizable:!0}))}))},44552:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useValue:()=>u});var n=r(46140),o=r(30811);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(){a=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,l,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,l)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,a,s,l){var c=p(e[o],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==i(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return r("throw",e,s,l)}))}l(c.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function s(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function l(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=c)f.warn({content:d("items-limit-reached",{maxItems:c})});else{var r,n;if("data-object"===t.type)r={id:t.data.id,type:t.type,subtype:null!==(n=t.data.className)&&void 0!==n?n:t.data.type,isPublished:t.data.published,fullPath:t.data.fullPath};else"asset"===t.type&&(r={id:t.data.id,type:t.type,subtype:t.data.type,isPublished:null,fullPath:t.data.fullPath});if(void 0!==r)p([r])}},deleteItem:function(n,o){var a=function(e){return e.id!==n||e.type!==o};t(null===e?null:e.filter(a)),i(null===r?null:r.filter(a))},onSearch:function(t){if(""!==t){if(null!==e){var r=e.filter((function(e){var r;return e.fullPath.toLowerCase().includes(t.toLowerCase())||e.id.toString().includes(t)||e.type.toLowerCase().includes(t.toLowerCase())||(null===(r=e.subtype)||void 0===r?void 0:r.toLowerCase().includes(t.toLowerCase()))}));i(r)}}else i(e)},addAssets:h,maxRemainingItems:null===c?void 0:Math.max(c-(null!==(u=null==e?void 0:e.length)&&void 0!==u?u:0),0)}}},85352:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ManyToManyRelation:()=>d});var n=r(36198),o=r(79301),i=r(95162),a=r(44552),s=r(13142),l=r(11211),c=r(24167);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0?E:null!==(d=e.maxItems)&&void 0!==d?d:void 0,uploadShowMaxItemsError:void 0!==E&&E<=0}))}},24167:(e,t,r)=>{"use strict";r.r(t),r.d(t,{dndIsValidData:()=>i});var n=r(96486),o=r.n(n),i=function(e,t){if("asset"===e.type){var r,n=null!==(r=t.assetTypes)&&void 0!==r?r:[];return t.assetsAllowed&&(0===n.length||n.some((function(t){return t.assetTypes===e.data.type})))}if("data-object"===e.type){var i,a=null!==(i=t.classes)&&void 0!==i?i:[];return t.objectsAllowed&&(0===a.length||a.some((function(t){return t.classes===(o().isEmpty(e.data.className)?e.data.type:e.data.className)})))}if("document"===e.type){var s,l=null!==(s=t.documentTypes)&&void 0!==s?s:[];return t.documentsAllowed&&(0===l.length||l.some((function(t){return t.documentTypes===e.data.type})))}return!1}},29980:(e,t,r)=>{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>a});var a=(0,r(99291).createStyles)((function(e){var t=e.css;e.token;return{select:t(n||(n=i(["\n min-width: 100px;\n "]))),input:t(o||(o=i(["\n min-width: 80px;\n "])))}}))},12897:(e,t,r)=>{"use strict";r.r(t),r.d(t,{QuantityValueRange:()=>w});var n=r(36198),o=r(47259),i=r(55328),a=r(96486),s=r.n(a),l=r(44717),c=r(58664),u=r(30811),f=r(16437),d=r(29980),p=r(93967),h=r.n(p);function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{QuantityValueCalculatorButton:()=>u});var n=r(36198),o=r(27027),i=r(55328),a=r(53254),s=r(2001);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{QuantityValueCalculatorContent:()=>f});var n=r(36198),o=r(66395),i=r(30811),a=r(41161),s=r(47259),l=r(44717),c=r(96486),u=r.n(c),f=function(e){var t=(0,i.useTranslation)().t,r=(0,l.useQuantityValueUnits)().getAbbreviation;return n.createElement(n.Fragment,null,n.createElement(a.Header,{title:t("quantity-value.converted-units")}),e.convertedValues.map((function(i){var a;return n.createElement(s.Flex,{gap:"mini",key:u().uniqueId("item_")},n.createElement("strong",null,(0,o.formatNumber)({value:e.value})," ",r(e.unitId)),n.createElement("span",null,"="),n.createElement("span",null,(0,o.formatNumber)({value:null!==(a=i.convertedValue)&&void 0!==a?a:0})," ",u().isEmpty(i.unitAbbreviation)?"":t(i.unitAbbreviation)))})))}},51927:(e,t,r)=>{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>a});var a=(0,r(99291).createStyles)((function(e){var t=e.css;e.token;return{select:t(n||(n=i(["\n min-width: 100px;\n "]))),input:t(o||(o=i(["\n min-width: 80px;\n "])))}}))},75762:(e,t,r)=>{"use strict";r.r(t),r.d(t,{QuantityValue:()=>S});var n=r(36198),o=r(47259),i=r(55328),a=r(96486),s=r.n(a),l=r(44717),c=r(58664),u=r(30811),f=r(16437),d=r(10085),p=r(51927),h=r(93967),m=r.n(h);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{StructuredTableGrid:()=>p});var n=r(36198),o=r(44587),i=r(74094),a=r(30811),s=r(96486),l=r.n(s);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t0?e:100},u=[t.accessor("rowLabel",{header:l().isEmpty(e.labelFirstCell)?"":r(e.labelFirstCell),size:c(e.labelWidth)})];e.cols.forEach((function(e){u.push(t.accessor(e.key,{header:r(e.label),size:c(e.width),meta:{type:s(e.type),editable:!0}}))}));var p=e.rows.map((function(t){var n={rowLabel:r(t.label)};return e.cols.forEach((function(r){var o,i;n[r.key]=e.castColumnValue(null!==(o=null===(i=e.value)||void 0===i||null===(i=i[t.key])||void 0===i?void 0:i[r.key])&&void 0!==o?o:null,r.key)})),n}));return n.createElement(o.Grid,{columns:u,data:p,onUpdateCellData:function(t){var r,n,o=f(f({},e.value),{},d({},e.rows[t.rowIndex].key,f(f({},null===(r=e.value)||void 0===r?void 0:r[e.rows[t.rowIndex].key]),{},d({},t.columnId,e.castColumnValue(t.value,t.columnId)))));null===(n=e.onChange)||void 0===n||n.call(e,o)},resizable:!0})}},58690:(e,t,r)=>{"use strict";r.r(t),r.d(t,{StructuredTable:()=>d});var n=r(36198),o=r(62400),i=r(48388),a=r(27027),s=r(55328),l=r(30811),c=r(77783);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataAbstract:()=>c});var n=r(66595),o=r(38576);function i(e,t){for(var r=0;r=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(){return e=function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=!1,(r=a(r="isCollectionType"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n},(t=[{key:"getObjectDataFormItemProps",value:function(e){return{className:"w-full",label:e.title,required:!0===e.mandatory,hidden:!0===e.invisible,tooltip:"string"==typeof e.tooltip&&e.tooltip.length>0?(0,o.respectLineBreak)(e.tooltip,!1):void 0}}}])&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();c=l([(0,n.injectable)()],c)},29649:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataRegistry:()=>d});var n=r(66595);function o(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(68110).DynamicTypeRegistryAbstract);d=f([(0,n.injectable)()],d)},28969:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataAbstractDate:()=>O});var n=r(36198),o=r(73554),i=r(27484),a=r.n(i),s=r(82640);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataAbstractInput:()=>p});var n=r(36198),o=r(73554),i=r(55328);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){for(var r=0;r{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;th});var h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(t,e),r=t,(n=[{key:"getObjectDataComponent",value:function(e){return f(d(t.prototype),"getObjectDataComponent",this).call(this,i(i({},e),{},{multiSelect:!0}))}}])&&s(r.prototype,n),o&&s(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(r(55495).DynamicTypeObjectDataAbstractSelect)},18110:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataAbstractNumeric:()=>v});var n=r(36198),o=r(73554),i=r(55328);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataAbstractSelect:()=>v});var n=r(36198),o=r(73554),i=r(58664),a=r(36609);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataBlock:()=>m});var n=r(36198),o=r(73554),i=r(13692);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataBooleanSelect:()=>v});var n=r(55495),o=r(36198),i=r(36609),a=r(35907);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataConsent:()=>p});var n=r(36198),o=r(73554),i=r(51523);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){for(var r=0;r{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataDateRange:()=>p});var n=r(36198),o=r(73554),i=r(82640);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){for(var r=0;r{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;th});var h=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;th});var h=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataExternalImage:()=>p});var n=r(36198),o=r(73554),i=r(1234);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataFieldCollection:()=>m});var n=r(36198),o=r(73554),i=r(17787);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataGeoBounds:()=>h});var n=r(36198),o=r(73554),i=r(20918),a=r(15445);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataGeoPoint:()=>h});var n=r(36198),o=r(73554),i=r(95421),a=r(20918);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataGeoPolygon:()=>h});var n=r(36198),o=r(73554),i=r(20918),a=r(87201);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataGeoPolyLine:()=>h});var n=r(36198),o=r(73554),i=r(20918),a=r(87201);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataInputQuantityValue:()=>g});var n=r(36198),o=r(73554),i=r(99005);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;th});var h=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o0?new RegExp(e.regex,null===(r=e.regexFlags)||void 0===r?void 0:r.join("")):void 0}]})}}])&&a(r.prototype,n),o&&a(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(r(56294).DynamicTypeObjectDataAbstractInput)},77304:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataLocalizedFields:()=>m});var n=r(36198),o=r(73554),i=r(44397);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataManyToManyRelation:()=>v});var n=r(36198),o=r(73554),i=r(85352),a=r(90888);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataNumericRange:()=>y});var n=r(36198),o=r(11822);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataPassword:()=>p});var n=r(36198),o=r(73554),i=r(55328);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataQuantityValueRange:()=>g});var n=r(36198),o=r(73554),i=r(12897);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataQuantityValue:()=>g});var n=r(36198),o=r(73554),i=r(75762);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataRgbaColor:()=>O});var n=r(36198),o=r(73554),i=r(55328),a=r(36609);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataSlider:()=>g});var n=r(36198),o=r(18110),i=r(74959),a=r(16437);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataStructuredTable:()=>m});var n=r(36198),o=r(73554),i=r(58690);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataTextarea:()=>p});var n=r(36198),o=r(73554),i=r(96330);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataTime:()=>p});var n=r(36198),o=r(73554),i=r(82640);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){for(var r=0;r{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";r.r(t),r.d(t,{getGeoComponentHeight:()=>a,getGeoComponentWidth:()=>i});var n=r(96486),o=r.n(n),i=function(e){return o().isEmpty(e)?"500px":e},a=function(e){return o().isEmpty(e)?"250px":e}},29123:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Accordion:()=>f});var n=r(36198),o=r(54688),i=r(25795),a=r(67475);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{FieldContainer:()=>c});var n=r(36198),o=r(47259),i=r(25795);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){var n;return n=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=function(e){var t=e.children;e.collapsible,e.collapsed;return n.createElement(o.Flex,{className:"w-full",gap:{x:"extra-small",y:0}},t.map((function(e){return n.createElement(o.Flex,{flex:1,key:e.name},n.createElement(i.ObjectComponent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{Panel:()=>d});var n=r(36198),o=r(25795),i=r(67475),a=r(40069),s=r(48388);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{Region:()=>f,availableRegions:()=>u});var n=r(65286),o=r(36198),i=r(25795);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t0;if(h||(p=1),d[u.north]>0)for(var m=0;m0)for(var g=0;g0)for(var v=0;v0)for(var b=0;b0)for(var O=0;O{"use strict";r.r(t),r.d(t,{Tabpanel:()=>d});var n=r(36198),o=r(25795),i=r(55328),a=r(48388),s=r(67475);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{Text:()=>a});var n=r(36198),o=r(69850),i=r(67475),a=function(e){return n.createElement(i.BaseView,{border:e.border,collapsed:e.collapsed,collapsible:e.collapsible,title:e.title},n.createElement(o.SanitizeHtml,{html:e.html}))}},33436:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeObjectLayoutAbstract:()=>c});var n=r(66595);function o(e,t){for(var r=0;r=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=i((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));c=l([(0,n.injectable)()],c)},22474:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeObjectLayoutRegistry:()=>d});var n=r(66595);function o(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(68110).DynamicTypeRegistryAbstract);d=f([(0,n.injectable)()],d)},99839:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeObjectLayoutAccordion:()=>m});var n=r(36198),o=r(33436),i=r(29123);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectLayoutFieldContainer:()=>m});var n=r(36198),o=r(33436),i=r(48054);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectLayoutFieldset:()=>y});var n=r(36198),o=r(33436),i=r(21089);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeObjectLayoutPanel:()=>m});var n=r(36198),o=r(33436),i=r(21089);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectLayoutRegion:()=>m});var n=r(36198),o=r(33436),i=r(45701);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectLayoutTabpanel:()=>m});var n=r(36198),o=r(33436),i=r(38222);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectLayoutText:()=>m});var n=r(36198),o=r(33436),i=r(12735);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{AccordionView:()=>s});var n=r(54688),o=r(36198),i=["collapsed","bordered"];function a(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=function(e){var t=e.collapsed,r=e.bordered,s=a(e,i),l={key:"0",title:o.createElement(o.Fragment,null,s.title),children:s.children,forceRender:!0};return o.createElement(n.Accordion,{bordered:r,defaultActiveKey:null!=t&&t?"0":void 0,ghost:!0,items:[l]},s.children)}},67475:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BaseView:()=>s});var n=r(36198),o=r(96486),i=r(75612),a=r(93274),s=function(e){return!0===e.border||!0===e.collapsible||!(0,o.isEmpty)(e.title)?!0===e.collapsible?n.createElement(i.AccordionView,{bordered:e.border,collapsed:e.collapsed,title:e.title},e.children):n.createElement(a.CardView,{bordered:e.border,title:e.title},e.children):n.createElement(n.Fragment,null,e.children)}},93274:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CardView:()=>a});var n=r(36198),o=r(96486),i=r(14500),a=function(e){return console.log(e.bordered,!0===e.bordered),n.createElement(i.Card,{bordered:!0===e.bordered,title:(0,o.isEmpty)(e.title)?void 0:e.title},e.children)}},15656:(e,t,r)=>{"use strict";r.r(t);var n=r(81690),o=r(80237),i=r(54088);o.moduleSystem.registerModule({onInit:function(){var e=n.container.get(i.serviceIds["DynamicTypes/FieldFilterRegistry"]);e.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/FieldFilter/Text"])),e.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/FieldFilter/Number"])),e.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/FieldFilter/Select"])),e.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/FieldFilter/Datetime"]));var t=n.container.get(i.serviceIds["DynamicTypes/BatchEditRegistry"]);t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/BatchEdit/Text"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/BatchEdit/TextArea"])),n.container.get(i.serviceIds["DynamicTypes/ListingRegistry"]).registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/Listing/AssetLink"]));var r=n.container.get(i.serviceIds["DynamicTypes/GridCellRegistry"]);r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Text"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Textarea"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Number"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Select"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Checkbox"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Date"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Time"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/DateTime"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/AssetLink"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/ObjectLink"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/DocumentLink"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/OpenElement"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/AssetPreview"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/AssetActions"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/DependencyTypeIcon"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/AssetCustomMetadataIcon"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/AssetCustomMetadataValue"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/PropertyIcon"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/PropertyValue"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/ScheduleActionsSelect"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/VersionsIdSelect"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/AssetVersionPreviewFieldLabel"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Asset"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Object"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Document"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/LanguageSelect"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Translate"]));var o=n.container.get(i.serviceIds["DynamicTypes/MetadataRegistry"]);o.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/Metadata/Asset"])),o.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/Metadata/Checkbox"])),o.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/Metadata/Date"])),o.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/Metadata/Document"])),o.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/Metadata/Input"])),o.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/Metadata/Object"])),o.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/Metadata/Select"])),o.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/Metadata/Textarea"]));var a=n.container.get(i.serviceIds["DynamicTypes/ObjectLayoutRegistry"]);a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectLayout/Panel"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectLayout/Tabpanel"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectLayout/Accordion"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectLayout/Region"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectLayout/Text"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectLayout/Fieldset"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectLayout/FieldContainer"]));var s=n.container.get(i.serviceIds["DynamicTypes/ObjectDataRegistry"]);s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Input"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Textarea"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Password"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/InputQuantityValue"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Select"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/MultiSelect"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Language"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/LanguageMultiSelect"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Country"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/CountryMultiSelect"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/User"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/BooleanSelect"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Numeric"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/NumericRange"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Slider"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/QuantityValue"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/QuantityValueRange"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Consent"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Firstname"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Lastname"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Email"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Gender"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/RgbaColor"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Date"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Datetime"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/DateRange"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Time"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/ExternalImage"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/GeoPoint"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/GeoBounds"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/GeoPolygon"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/GeoPolyLine"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/ManyToManyRelation"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/StructuredTable"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Block"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/LocalizedFields"])),s.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/FieldCollection"]))}})},68110:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeAbstract:()=>u,DynamicTypeRegistryAbstract:()=>f});var n=r(66595);function o(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=i((function e(){s(this,e)}));u=c([(0,n.injectable)()],u);var f=function(){return i((function e(){var t,r,n;s(this,e),t=this,r="dynamicTypes",n=new Map,(r=a(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}),[{key:"registerDynamicType",value:function(e){if(this.dynamicTypes.has(e.id))throw new Error('Dynamic type with id "'.concat(e.id,'" already exists'));this.dynamicTypes.set(e.id,e)}},{key:"getDynamicType",value:function(e){var t=this.dynamicTypes.get(e);if(void 0===t)throw new Error('Dynamic type with id "'.concat(e,'" not found'));return t}},{key:"getDynamicTypes",value:function(){return Array.from(this.dynamicTypes.values())}},{key:"overrideDynamicType",value:function(e){if(!this.dynamicTypes.has(e.id))throw new Error('Dynamic type with id "'.concat(e.id,'" not found'));this.dynamicTypes.set(e.id,e)}},{key:"hasDynamicType",value:function(e){return this.dynamicTypes.has(e)}}])}();f=c([(0,n.injectable)()],f)},47636:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeRegistryContext:()=>a,DynamicTypeRegistryProvider:()=>s});var n=r(36198);function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;rc,DynamicTypesResolverTargets:()=>s,targetCallbackNameMap:()=>l});var s={GRID_CELL:"GRID_CELL",FIELD_FILTER:"FIELD_FILTER",BATCH_EDIT:"BATCH_EDIT"},l=i(i(i({},s.GRID_CELL,"getGridCellComponent"),s.FIELD_FILTER,"getFieldFilterComponent"),s.BATCH_EDIT,"getBatchEditComponent"),c=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"resolve",value:function(e){var t=e.target,r=e.dynamicType;if(!this.hasCallable(t,r))throw new Error("DynamicTypeResolver: ".concat(r.id," does not have a callable ").concat(l[t]));return function(e){return r[l[t]].bind(r)(e)}}},{key:"hasCallable",value:function(e,t){return void 0!==t[l[e]]&&"function"==typeof t[l[e]]}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()},1447:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useDynamicTypeResolver:()=>c});var n=r(36198),o=r(49427),i=r(47636),a=r(81690);function s(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{default:()=>p});var n=r(36198),o=r(82755),i=r(81690),a=r(54088),s=r(87633),l=r(6400),c=r(66777),u=r(32215),f=r(72475),d=r(73264);function p(e){var t,r=e.context,p=e.tabKey,h=(0,c.useWidgetManager)().getOpenedMainWidget,m=(0,s.useElementDraft)(r.config.id,r.type),y=m.editorType;if(m.isLoading)return n.createElement(o.Content,{loading:!0});if(void 0===y)return n.createElement(l.default,null);var g=h(),v=i.container.get(y.tabManagerServiceId).getTab(p),b=i.container.get(a.serviceIds.widgetManager);if(void 0===v||void 0===g)return n.createElement(l.default,null);var O=b.getWidget(null!==(t=null==g?void 0:g.getComponent())&&void 0!==t?t:"");if(void 0===(null==O?void 0:O.getContextProvider))return n.createElement(l.default,null);var w=O.getContextProvider(r,v.children);return void 0===w?n.createElement(l.default,null):n.createElement(u.ContentLayout,{renderTopBar:n.createElement(f.Toolbar,{position:"top",size:"small",theme:"secondary"},n.createElement(d.ElementToolbar,{elementType:r.type,id:r.config.id}))},w)}},38491:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DetachedTab:()=>s});var n=r(36198),o=r(6400),i=r(32151),a=r(67876),s=function(e){var t=e.tabKey,r=(0,a.useGlobalElementContext)().context;return void 0===r?n.createElement(o.default,null):n.createElement(i.default,{context:r,tabKey:t})}},6400:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(36198);function o(){return n.createElement("div",null,"Missing context!")}},74366:(e,t,r)=>{"use strict";r.r(t);var n=r(81690),o=r(54088),i=r(80237),a=r(38491);i.moduleSystem.registerModule({onInit:function(){n.container.get(o.serviceIds.widgetManager).registerWidget({name:"detachable-tab",component:a.DetachedTab})}})},3561:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{tabbarToolbar:(0,e.css)(n||(t=["\n &.tabs-toolbar-layout {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n overflow: hidden;\n }\n\n .tabs-toolbar-layout__tabbar {\n display: flex;\n overflow: hidden;\n height: calc(100% - ","px);\n width: 100%;\n }\n\n .tabs-toolbar-layout__toolbar {\n display: flex;\n overflow: hidden;\n height: ","px;\n width: 100%;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.sizeXXL,o.sizeXXL)}}),{hashPriority:"low"})},6150:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TabsToolbarView:()=>i});var n=r(36198),o=r(3561),i=function(e){var t=(0,o.useStyles)().styles;return n.createElement("div",{className:["tabs-toolbar-layout",t.tabbarToolbar].join(" ")},n.createElement("div",{className:"tabs-toolbar-layout__tabbar"},e.renderTabbar),n.createElement("div",{className:"tabs-toolbar-layout__toolbar"},e.renderToolbar))}},9866:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TypeRegistry:()=>l});var n=r(66595);function o(e,t){for(var r=0;r=0;l--)(o=e[l])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},l=function(){return e=function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n={},(r=i(r="registry"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n},(t=[{key:"register",value:function(e){if(this.has(e.name))throw new Error('Type with the name "'.concat(e.name,'" already exists.'));this.registry[e.name]=e}},{key:"get",value:function(e){if(!this.has(e))throw new Error('No type with the name "'.concat(e,'" found'));return this.registry[e]}},{key:"has",value:function(e){return e in this.registry}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();l=s([(0,n.injectable)()],l)},99954:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TAB_DEPENDENCIES:()=>p,TAB_NOTES_AND_EVENTS:()=>m,TAB_PROPERTIES:()=>f,TAB_SCHEDULE:()=>d,TAB_TAGS:()=>y,TAB_WORKFLOW:()=>h});var n=r(54663),o=r(36198),i=r(67534),a=r(75818),s=r(5232),l=r(10593),c=r(56396),u=r(57527),f={key:"properties",label:"properties.label",workspacePermission:"properties",children:o.createElement(i.PropertiesContainer,null),icon:o.createElement(n.Icon,{value:"settings2"}),isDetachable:!0},d={key:"schedule",label:"schedule.label",workspacePermission:"settings",children:o.createElement(a.ScheduleTabContainer,null),icon:o.createElement(n.Icon,{value:"schedule-outlined"}),isDetachable:!0},p={key:"dependencies",label:"dependencies.label",children:o.createElement(s.DependenciesTabContainer,null),icon:o.createElement(n.Icon,{value:"hierarchy"}),isDetachable:!0},h={key:"workflow",label:"workflow.label",userPermission:"workflow_details",children:o.createElement(l.WorkflowTabContainer,null),icon:o.createElement(n.Icon,{value:"workflow"}),isDetachable:!0},m={key:"notes-events",label:"notes-and-events.label",userPermission:"notes_events",children:o.createElement(c.NotesAndEventsTabContainer,null),icon:o.createElement(n.Icon,{value:"view-details"}),isDetachable:!0},y={key:"tags",label:"tags.label",userPermission:"tags_assignment",children:o.createElement(u.TagsTabContainer,null),icon:o.createElement(n.Icon,{value:"tag-two-tone"}),isDetachable:!0}},98740:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TabsContainer:()=>p});var n=r(36198),o=r(95719),i=r(30811),a=r(81690),s=r(46928),l=r(87633);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{Pagination:()=>s});var n=r(36198),o=r(36609),i=r(38549),a=r(65773),s=function(e){var t;return e.isLoading?n.createElement(a.PaginationSkeleton,null):e.isLoading||0!==e.totalItems?n.createElement(i.Pagination,{current:e.page,defaultPageSize:20,onChange:e.onChange,pageSizeOptions:["10","20","50","100"],showSizeChanger:!0,showTotal:function(e){return(0,o.t)("pagination.show-total",{total:e})},total:null!==(t=e.totalItems)&&void 0!==t?t:0}):n.createElement(n.Fragment,null)}},44025:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{skeleton:(0,e.css)(n||(t=["\n width: 100%;\n display: flex;\n gap: 4px;\n align-items: center;\n justify-content: flex-end;\n \n .square {\n .ant-skeleton-button {\n width: 24px;\n height: 24px;\n min-width: unset; \n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},65773:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PaginationSkeleton:()=>a});var n=r(36198),o=r(55328),i=r(44025),a=function(){var e=(0,i.useStyle)().styles;return n.createElement("div",{className:e.skeleton},n.createElement(o.Skeleton.Input,{active:!0,size:"small"}),n.createElement(o.Skeleton.Button,{active:!0,className:"square",size:"small"}),n.createElement(o.Skeleton.Button,{active:!0,className:"square",size:"small"}),n.createElement(o.Skeleton.Button,{active:!0,className:"square",size:"small"}),n.createElement(o.Skeleton.Button,{active:!0,size:"small"}))}},7330:(e,t,r)=>{"use strict";r.r(t),r.d(t,{RequiredByPanel:()=>O});var n=r(54663),o=r(36198),i=r(30811),a=r(22114),s=r(25160),l=r(57379),c=r(82755),u=r(41161),f=r(32215),d=r(72475),p=r(46928);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{RequiresPanel:()=>O});var n=r(36198),o=r(54663),i=r(30811),a=r(22114),s=r(25160),l=r(57379),c=r(82755),u=r(41161),f=r(32215),d=r(72475),p=r(46928);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{Table:()=>s});var n=r(74094),o=r(36198),i=r(30811),a=r(44587),s=function(e){var t=e.items,r=e.isLoading,s=(0,i.useTranslation)().t,l=(0,n.createColumnHelper)(),c=[l.accessor("subType",{header:s("dependencies.columns.subtype"),meta:{type:"dependency-type-icon"},size:60}),l.accessor("path",{header:s("dependencies.columns.path"),meta:{autoWidth:!0},size:300}),l.accessor("actions",{header:s("dependencies.columns.open"),meta:{type:"open-element"},size:50})];return o.createElement(a.Grid,{autoWidth:!0,columns:c,data:t,isLoading:r,resizable:!0})}},22114:(e,t,r)=>{"use strict";r.r(t),r.d(t,{api:()=>o,useDependencyGetCollectionByElementTypeQuery:()=>i});var n=r(38693),o=r(87429).api.enhanceEndpoints({addTagTypes:[n.tagNames.ASSET_DETAIL,n.tagNames.DATA_OBJECT_DETAIL,n.tagNames.DEPENDENCIES],endpoints:{dependencyGetCollectionByElementType:{providesTags:function(e,t,r){return n.providingTags.ELEMENT_DEPENDENCIES(r.elementType,r.id)}}}}),i=o.useDependencyGetCollectionByElementTypeQuery},87429:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useDependencyGetCollectionByElementTypeQuery:()=>a});var n=r(35525),o=["Dependencies"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{dependencyGetCollectionByElementType:e.query({query:function(e){return{url:"/pimcore-studio/api/dependencies/".concat(e.elementType,"/").concat(e.id),params:{page:e.page,pageSize:e.pageSize,dependencyMode:e.dependencyMode}}},providesTags:["Dependencies"]})}},overrideExisting:!1}),a=i.useDependencyGetCollectionByElementTypeQuery},5232:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DependenciesTabContainer:()=>s});var n=r(36198),o=r(64428),i=r(7330),a=r(67793),s=function(){return n.createElement(a.SplitLayout,{leftItem:{minSize:450,size:50,children:n.createElement(o.RequiresPanel,null)},resizeAble:!0,rightItem:{minSize:450,size:50,children:n.createElement(i.RequiredByPanel,null)},withDivider:!0})}},20393:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AddNoteForm:()=>m});var n=r(36198),o=r(30811),i=r(55328),a=r(96330),s=r(29848),l=r(82755),c=r(58664);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}var f=["elementType"];function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e,t,r){var n;return n=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==u(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var m=function(e){var t,r=e.elementType,u=h(e,f),m=(0,o.useTranslation)().t,y=(0,s.useNoteElementGetTypeCollectionQuery)({elementType:r}),g=y.isLoading,v=y.data;if(g)return n.createElement(l.Content,{loading:!0});var b=null==v||null===(t=v.items)||void 0===t?void 0:t.map((function(e){return{value:e.id,label:m("notes-and-events."+e.id)}}));return n.createElement(i.Form,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{AddNoteModal:()=>g});var n=r(36198),o=r(55328),i=r(30811),a=r(31090),s=r(20393),l=r(47974),c=r(29848);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function f(){f=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==u(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function d(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){d(i,n,o,a,s,"next",e)}function s(e){d(i,n,o,a,s,"throw",e)}a(void 0)}))}}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==i[0]?i[0]:"",n=i.length>1?i[1]:void 0,o=i.length>2&&void 0!==i[2]?i[2]:"",e.next=5,d({elementType:t.elementType,id:t.elementId,createNote:{type:r,title:n,description:o}});case 5:case"end":return e.stop()}}),e)}))),O.apply(this,arguments)}function w(){return(w=p(f().mark((function e(r){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return v(!0),e.next=3,b(r.type,r.title,r.description);case 3:t.setOpen(!1),u.resetFields(),v(!1);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return n.createElement(o.Modal,{okButtonProps:{loading:g},okText:r("save"),onCancel:function(){t.setOpen(!1),u.resetFields()},onOk:function(){u.submit()},open:t.open,title:n.createElement(a.ModalTitle,{iconName:"PlusCircleOutlined"},r("notes-and-events.new-note"))},n.createElement(s.AddNoteForm,{elementType:t.elementType,form:u,onFinish:function(e){return w.apply(this,arguments)}}))}},29848:(e,t,r)=>{"use strict";r.r(t),r.d(t,{api:()=>a,useNoteDeleteByIdMutation:()=>s,useNoteElementCreateMutation:()=>l,useNoteElementGetCollectionQuery:()=>c,useNoteElementGetTypeCollectionQuery:()=>u,useNoteGetCollectionQuery:()=>f});var n=r(38693);function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useNoteDeleteByIdMutation:()=>s,useNoteElementCreateMutation:()=>c,useNoteElementGetCollectionQuery:()=>l,useNoteElementGetTypeCollectionQuery:()=>u,useNoteGetCollectionQuery:()=>a});var n=r(35525),o=["Notes"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{noteGetCollection:e.query({query:function(e){return{url:"/pimcore-studio/api/notes",params:{page:e.page,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,filter:e.filter,fieldFilters:e.fieldFilters}}},providesTags:["Notes"]}),noteDeleteById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/notes/".concat(e.id),method:"DELETE"}},invalidatesTags:["Notes"]}),noteElementGetCollection:e.query({query:function(e){return{url:"/pimcore-studio/api/notes/".concat(e.elementType,"/").concat(e.id),params:{page:e.page,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,filter:e.filter,fieldFilters:e.fieldFilters}}},providesTags:["Notes"]}),noteElementCreate:e.mutation({query:function(e){return{url:"/pimcore-studio/api/notes/".concat(e.elementType,"/").concat(e.id),method:"POST",body:e.createNote}},invalidatesTags:["Notes"]}),noteElementGetTypeCollection:e.query({query:function(e){return{url:"/pimcore-studio/api/notes/type/".concat(e.elementType)}},providesTags:["Notes"]})}},overrideExisting:!1}),a=i.useNoteGetCollectionQuery,s=i.useNoteDeleteByIdMutation,l=i.useNoteElementGetCollectionQuery,c=i.useNoteElementCreateMutation,u=i.useNoteElementGetTypeCollectionQuery},56396:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NotesAndEventsTabContainer:()=>g});var n=r(36198),o=r(59017),i=r(29848),a=r(38549),s=r(30811),l=r(82755),c=r(46928),u=r(7496),f=r(38693);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function p(){p=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==d(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function h(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{NotesAndEventsTabView:()=>j});var n=r(36198),o=r(30811),i=r(38576),a=r(20361),s=r(62833),l=r(41161),c=r(82755),u=r(32215),f=r(72475),d=r(55328),p=r(40069),h=r(36609),m=r(44587),y=r(74094),g=r(54688),v=r(63664),b=r(27027),O=r(99401),w=r(25419),S=r(31110);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e,t,r){var n;return n=function(e,t){if("object"!=_(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==_(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}function P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return T(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return T(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&(t=!0,e.data.forEach((function(e){var t=structuredClone(e);"object"===_(t.data)?t[k("notes-and-events.value")]=t.data.path:t[k("notes-and-events.value")]=(0,i.respectLineBreak)(t.data),delete t.data,r.push(t)})));var o=(0,y.createColumnHelper)(),a=[o.accessor(h.default.t("notes-and-events.name"),{}),o.accessor(h.default.t("notes-and-events.type"),{size:120}),o.accessor(h.default.t("notes-and-events.value"),{size:310,meta:{autoWidth:!0}})];return function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{table:(0,e.css)(n||(t=["\n .ant-table {\n .ant-table-tbody {\n \n .properties-table--actions-column {\n align-items: center;\n \n .ant-btn-icon {\n color: ",";\n \n &:hover {\n color: ",";\n }\n }\n }\n }\n }\n \n .headline {\n padding: ","px;\n margin: 0;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorPrimary,o.colorPrimaryHover,o.paddingXS)}}))},16366:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Table:()=>T});var n=r(36198),o=r(44587),i=r(74094),a=r(30811),s=r(12853),l=r(87633),c=r(4795),u=r(27027),f=r(30928),d=r(73990),p=r(46928),h=r(99401),m=r(48388),y=r(86536);function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function v(e){return function(e){if(Array.isArray(e))return P(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||_(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(){b=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof v?t:v,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",h="executing",m="completed",y={};function v(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=v.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==g(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?m:p,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}function O(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0,z=(0,c.usePropertyGetCollectionForElementByTypeAndIdQuery)({elementType:D,id:A}),Q=z.data,V=z.isLoading,U=E((0,n.useState)([]),2),G=U[0],W=U[1],H=E((0,n.useState)([]),2),Z=H[0],X=H[1],q="properties",Y=null!==(t=null==R?void 0:R.modifiedCells[q])&&void 0!==t?t:[];(0,n.useEffect)((function(){void 0!==Q&&void 0===(null==R?void 0:R.changes.properties)&&Array.isArray(Q.items)&&I(function(e){return e.map((function(e){return S(S({},e),{},{rowId:(0,y.uuid)()})}))}(null==Q?void 0:Q.items))}),[Q]),(0,n.useEffect)((function(){F&&(W(M.filter((function(e){return!e.inherited}))),X(M.filter((function(e){return e.inherited}))))}),[M]),(0,n.useEffect)((function(){Y.length>0&&void 0===(null==R?void 0:R.changes.properties)&&$(q,[])}),[R,Y]);var K=(0,i.createColumnHelper)(),J=function(e){return[K.accessor("type",{header:_("properties.columns.type"),meta:{type:"property-icon"},size:40}),K.accessor("key",{header:_("properties.columns.key"),meta:{editable:!0},size:200}),K.accessor("predefinedName",{header:_("properties.columns.name"),size:200}),K.accessor("description",{header:_("properties.columns.description"),size:200}),K.accessor("data",{header:_("properties.columns.data"),meta:{type:"property-value",editable:"own"===e,autoWidth:!0},size:300}),K.accessor("inheritable",{header:_("properties.columns.inheritable"),size:70,meta:{type:"checkbox",editable:"own"===e,config:{align:"center"}}}),K.accessor("actions",{header:_("properties.columns.actions"),size:70,cell:function(t){return n.createElement("div",{className:"properties-table--actions-column"},["document","asset","object"].includes(t.row.original.type)&&null!==t.row.original.data&&n.createElement(u.IconButton,{icon:{value:"group"},onClick:(r=b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,T({type:j(t.row.original.type),id:t.row.original.data.id});case 2:case"end":return e.stop()}}),e)})),o=function(){var e=this,t=arguments;return new Promise((function(n,o){var i=r.apply(e,t);function a(e){O(i,n,o,a,s,"next",e)}function s(e){O(i,n,o,a,s,"throw",e)}a(void 0)}))},function(){return o.apply(this,arguments)}),type:"link"}),"own"===e&&n.createElement(u.IconButton,{icon:{value:"trash"},onClick:function(){B(t.row.original)},type:"link"}));var r,o}})]},ee=v(J("own")),te=v(J("inherited"));return n.createElement("div",{className:C.table},n.createElement(n.Fragment,null,n.createElement(o.Grid,{autoWidth:!0,columns:ee,data:G,isLoading:V,modifiedCells:Y,onUpdateCellData:function(e){e.rowIndex;var t=e.columnId,r=e.value,n=e.rowData,o=v(null!=M?M:[]),i=o.findIndex((function(e){return e.key===n.key&&!e.inherited})),a=S(S({},o.at(i)),{},x({},t,r));o[i]=a;var s=o.filter((function(e){return e.key===a.key&&!e.inherited})).length>1;(0,f.verifyUpdate)(r,t,"key",s,w,g)&&(N(n.key,a),$(q,[].concat(v(Y),[{rowIndex:n.rowId,columnId:t}])))},resizable:!0,setRowId:function(e){return e.rowId}}),"all"===r&&n.createElement(n.Fragment,null,n.createElement(m.Box,{padding:{y:"small"}},n.createElement(h.Text,{strong:!0},_("properties.inherited.properties"))),n.createElement(o.Grid,{autoWidth:!0,columns:te,data:Z,resizable:!0}))))}},4795:(e,t,r)=>{"use strict";r.r(t),r.d(t,{api:()=>o,usePropertyGetCollectionForElementByTypeAndIdQuery:()=>a,usePropertyGetCollectionQuery:()=>i});var n=r(38693),o=r(65972).api.enhanceEndpoints({addTagTypes:[n.tagNames.ASSET_DETAIL,n.tagNames.DATA_OBJECT_DETAIL],endpoints:{propertyGetCollectionForElementByTypeAndId:{providesTags:function(e,t,r){return n.providingTags.ELEMENT_PROPERTIES(r.elementType,r.id)}}}}),i=o.usePropertyGetCollectionQuery,a=o.usePropertyGetCollectionForElementByTypeAndIdQuery},65972:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,usePropertyDeleteMutation:()=>l,usePropertyGetCollectionForElementByTypeAndIdQuery:()=>c,usePropertyGetCollectionQuery:()=>a,usePropertyUpdateMutation:()=>s});var n=r(35525),o=["Properties"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{propertyGetCollection:e.query({query:function(e){return{url:"/pimcore-studio/api/properties",params:{elementType:e.elementType,filter:e.filter}}},providesTags:["Properties"]}),propertyUpdate:e.mutation({query:function(e){return{url:"/pimcore-studio/api/properties/".concat(e.id),method:"PUT",body:e.updatePredefinedProperty}},invalidatesTags:["Properties"]}),propertyDelete:e.mutation({query:function(e){return{url:"/pimcore-studio/api/properties/".concat(e.id),method:"DELETE"}},invalidatesTags:["Properties"]}),propertyGetCollectionForElementByTypeAndId:e.query({query:function(e){return{url:"/pimcore-studio/api/properties/".concat(e.elementType,"/").concat(e.id)}},providesTags:["Properties"]})}},overrideExisting:!1}),a=i.usePropertyGetCollectionQuery,s=i.usePropertyUpdateMutation,l=i.usePropertyDeleteMutation,c=i.usePropertyGetCollectionForElementByTypeAndIdQuery},67534:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PropertiesContainer:()=>x});var n=r(36198),o=r(30811),i=r(71816),a=r(4795),s=r(77749),l=r(16366),c=r(15747),u=r(16826),f=r(62833),d=r(41161),p=r(82755),h=r(87633),m=r(46928),y=r(57567),g=r(40069),v=r(25419),b=r(58664),O=r(86536);function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return S(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0,t=void 0!==V.current&&V.current.length>0;if(!e||!t)return void B();if(H(z.current))return void R();var r={key:z.current,type:V.current,predefinedName:"Custom",data:null,inherited:!1,inheritable:!1,rowId:(0,O.uuid)()};A(r)}()}},t("properties.add-custom-property.add"))),!_&&n.createElement(v.Split,{size:"mini"},n.createElement(b.Select,{className:"min-w-100",filterOption:function(e,t){var r;return(null!==(r=null==t?void 0:t.label)&&void 0!==r?r:"").toLowerCase().includes(e.toLowerCase())},key:"properties-select",loading:W,onSelect:function(e){var t,r=null==G||null===(t=G.items)||void 0===t?void 0:t.find((function(t){return t.id===e}));if(void 0===r)return;if(H(r.name))return void R();var n={key:r.name,type:r.type,data:r.data,inherited:!1,inheritable:r.inheritable,additionalAttributes:r.additionalAttributes,config:r.config,description:r.description,predefinedName:r.name,rowId:(0,O.uuid)()};A(n)},options:null==G||null===(e=G.items)||void 0===e?void 0:e.map((function(e){return{label:e.name,value:e.id}})),placeholder:t("properties.predefined-properties"),showSearch:!0}),n.createElement(f.IconTextButton,{icon:{value:"PlusCircleOutlined"},key:t("properties.add-custom-property"),onClick:function(){P(!0)}},t("properties.add-custom-property")))))),n.createElement(l.Table,{propertiesTableTab:S,showDuplicatePropertyModal:R,showMandatoryModal:B}));function H(e){return void 0!==(null==D?void 0:D.find((function(t){return t.key===e&&!t.inherited})))}}},26088:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.css,i=e.token;return{table:o(n||(t=["\n .ant-table-content {\n \n .schedule-table--actions-column {\n display: flex;\n align-items: center;\n \n .ant-btn-icon {\n color: ",";\n \n &:hover {\n color: ",";\n }\n }\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),i.colorPrimary,i.colorPrimaryHover)}}))},65477:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Table:()=>v});var n=r(30811),o=r(36198),i=r(74094),a=r(44587),s=r(26088),l=r(27027),c=r(46928),u=r(87633),f=r(47259);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0===(null==w?void 0:w.changes.schedules)&&E(_,[])}),[w]),o.createElement("div",{className:d.table},o.createElement(a.Grid,{columns:j,data:r,modifiedCells:P,onUpdateCellData:function(e){e.rowIndex;var t=e.columnId,n=e.value,o=e.rowData,i=y(null!=r?r:[]).find((function(e){return e.id===o.id}));if(void 0!==i){var a=h(h({},i),{},m({},t,n));S(a),E(_,[].concat(y(P),[{rowIndex:C(o),columnId:t}]))}},setRowId:C}))}},63033:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useSaveSchedules:()=>p});var n=r(36198),o=r(52328),i=r(78078),a=r(30811),s=r(87633);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(){c=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==l(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function u(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r2&&void 0!==arguments[2])||arguments[2],l=f((0,o.useScheduleUpdateForElementByTypeAndIdMutation)(),2),d=l[0],p=l[1],h=p.isLoading,m=p.isSuccess,y=p.isError,g=f((0,n.useState)(!1),2),v=g[0],b=g[1],O=(0,s.useElementDraft)(t,e),w=O.element,S=O.schedules,x=O.resetSchedulesChanges,E=(0,i.useMessage)(),_=(0,a.useTranslation)().t;(0,n.useEffect)((function(){v&&(r&&E.success(_("save-success")),x())}),[v]),(0,n.useEffect)((function(){b(m)}),[m]),(0,n.useEffect)((function(){y&&r&&E.error(_("save-failed"))}),[y]);var P=function(){var r,n=(r=c().mark((function r(){return c().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(void 0!==(null==w?void 0:w.changes.schedules)){r.next=3;break}return b(!0),r.abrupt("return");case 3:return r.next=5,d({elementType:e,id:t,body:{items:null==S?void 0:S.map((function(e){return{id:e.id>0?e.id:null,date:e.date,action:e.action,version:e.version,active:e.active}}))}});case 5:case"end":return r.stop()}}),r)})),function(){var e=this,t=arguments;return new Promise((function(n,o){var i=r.apply(e,t);function a(e){u(i,n,o,a,s,"next",e)}function s(e){u(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return{isLoading:h,isSuccess:v,isError:y,saveSchedules:P}}},52328:(e,t,r)=>{"use strict";r.r(t),r.d(t,{api:()=>o,useScheduleCreateForElementByTypeAndIdMutation:()=>l,useScheduleDeleteByIdMutation:()=>i,useScheduleGetCollectionForElementByTypeAndIdQuery:()=>a,useScheduleUpdateForElementByTypeAndIdMutation:()=>s});var n=r(38693),o=r(67061).api.enhanceEndpoints({addTagTypes:[n.tagNames.ASSET_DETAIL,n.tagNames.DATA_OBJECT_DETAIL],endpoints:{scheduleGetCollectionForElementByTypeAndId:{providesTags:function(e,t,r){return n.providingTags.ELEMENT_SCHEDULES(r.elementType,r.id)}},scheduleUpdateForElementByTypeAndId:{invalidatesTags:function(e,t,r){return n.invalidatingTags.ELEMENT_SCHEDULES(r.elementType,r.id)}}}}),i=o.useScheduleDeleteByIdMutation,a=o.useScheduleGetCollectionForElementByTypeAndIdQuery,s=o.useScheduleUpdateForElementByTypeAndIdMutation,l=o.useScheduleCreateForElementByTypeAndIdMutation},67061:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useScheduleCreateForElementByTypeAndIdMutation:()=>c,useScheduleDeleteByIdMutation:()=>a,useScheduleGetCollectionForElementByTypeAndIdQuery:()=>s,useScheduleUpdateForElementByTypeAndIdMutation:()=>l});var n=r(35525),o=["Schedule"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{scheduleDeleteById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/schedules/".concat(e.id),method:"DELETE"}},invalidatesTags:["Schedule"]}),scheduleGetCollectionForElementByTypeAndId:e.query({query:function(e){return{url:"/pimcore-studio/api/schedules/".concat(e.elementType,"/").concat(e.id)}},providesTags:["Schedule"]}),scheduleUpdateForElementByTypeAndId:e.mutation({query:function(e){return{url:"/pimcore-studio/api/schedules/".concat(e.elementType,"/").concat(e.id),method:"PUT",body:e.body}},invalidatesTags:["Schedule"]}),scheduleCreateForElementByTypeAndId:e.mutation({query:function(e){return{url:"/pimcore-studio/api/schedules/".concat(e.elementType,"/").concat(e.id),method:"POST"}},invalidatesTags:["Schedule"]})}},overrideExisting:!1}),a=i.useScheduleDeleteByIdMutation,s=i.useScheduleGetCollectionForElementByTypeAndIdQuery,l=i.useScheduleUpdateForElementByTypeAndIdMutation,c=i.useScheduleCreateForElementByTypeAndIdMutation},75818:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ScheduleTabContainer:()=>T});var n=r(36198),o=r(30811),i=r(86434),a=r(71816),s=r(52328),l=r(65477),c=r(62833),u=r(41161),f=r(82755),d=r(54512),p=r(57567),h=r(46928),m=r(87633),y=r(63033),g=r(47259),v=r(99401),b=r(40069),O=r(48388);function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function x(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{AssignedTagsTable:()=>S});var n=r(36198),o=r(1402),i=r(74094),a=r(30811),s=r(44587),l=r(16795),c=r(8108),u=r(27027),f=r(46928),d=r(55328);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function h(){h=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==p(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{useCreateTreeStructure:()=>o});var n=r(54663),o=function(){return{createTreeStructure:function(e){var t=e.tags;return[{key:"root",title:"All Tags",icon:(0,n.Icon)({value:"folder"}),children:t.length>0?function e(t){return t.map((function(t){return{key:t.id.toString(),title:t.text,icon:(0,n.Icon)({value:"tag-02"}),children:!0===t.hasChildren?e(t.children):[]}}))}(t):[]}]}}}},33976:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TagsTreeContainer:()=>u});var n=r(1402),o=r(15170),i=r(36198),a=r(82755),s=r(46928);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{TagsTree:()=>g});var n=r(36198),o=r(1402),i=r(16067),a=r(16795),s=r(8108),l=r(47259),c=r(72726),u=r(14278);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(){d=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==f(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function p(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function h(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){p(i,n,o,a,s,"next",e)}function s(e){p(i,n,o,a,s,"throw",e)}a(void 0)}))}}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{useOptimisticUpdate:()=>s});var n=r(1402),o=r(7496);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t,r){var n;return n=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==i(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=function(){var e=(0,o.useAppDispatch)();return{updateTagsForElementByTypeAndId:function(t){return e(n.api.util.updateQueryData("tagGetCollectionForElementByTypeAndId",{elementType:t.elementType,id:t.id},(function(e){var r=t.flatTags.filter((function(e){return t.checkedTags.includes(e.id)})).reduce((function(e,t){return Object.assign(e,a({},t.id,t))}),{});return{totalItems:t.checkedTags.length,items:r}})))}}}},34934:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useShortcutActions:()=>y});var n=r(1402),o=r(46928),i=r(51074),a=r(23878),s=r(21970);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||h(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(){u=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==l(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function f(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function d(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){f(i,n,o,a,s,"next",e)}function s(e){f(i,n,o,a,s,"throw",e)}a(void 0)}))}}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||h(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){if(e){if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useTagAssignToElementMutation:()=>u,useTagBatchOperationToElementsByTypeAndIdMutation:()=>f,useTagDeleteByIdMutation:()=>c,useTagGetByIdQuery:()=>s,useTagGetCollectionForElementByTypeAndIdQuery:()=>d,useTagGetCollectionQuery:()=>a,useTagUnassignFromElementMutation:()=>p,useTagUpdateByIdMutation:()=>l});var n=r(35525),o=["Tags","Tags for Element"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{tagGetCollection:e.query({query:function(e){return{url:"/pimcore-studio/api/tags",params:{page:e.page,pageSize:e.pageSize,elementType:e.elementType,filter:e.filter,parentId:e.parentId}}},providesTags:["Tags"]}),tagGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/tags/".concat(e.id)}},providesTags:["Tags"]}),tagUpdateById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/tags/".concat(e.id),method:"PUT",body:e.updateTagParameters}},invalidatesTags:["Tags"]}),tagDeleteById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/tags/".concat(e.id),method:"DELETE"}},invalidatesTags:["Tags"]}),tagAssignToElement:e.mutation({query:function(e){return{url:"/pimcore-studio/api/tags/assign/".concat(e.elementType,"/").concat(e.id,"/").concat(e.tagId),method:"POST"}},invalidatesTags:["Tags for Element"]}),tagBatchOperationToElementsByTypeAndId:e.mutation({query:function(e){return{url:"/pimcore-studio/api/tags/batch/".concat(e.operation,"/").concat(e.elementType,"/").concat(e.id),method:"POST"}},invalidatesTags:["Tags for Element"]}),tagGetCollectionForElementByTypeAndId:e.query({query:function(e){return{url:"/pimcore-studio/api/tags/".concat(e.elementType,"/").concat(e.id)}},providesTags:["Tags for Element"]}),tagUnassignFromElement:e.mutation({query:function(e){return{url:"/pimcore-studio/api/tags/".concat(e.elementType,"/").concat(e.id,"/").concat(e.tagId),method:"DELETE"}},invalidatesTags:["Tags for Element"]})}},overrideExisting:!1}),a=i.useTagGetCollectionQuery,s=i.useTagGetByIdQuery,l=i.useTagUpdateByIdMutation,c=i.useTagDeleteByIdMutation,u=i.useTagAssignToElementMutation,f=i.useTagBatchOperationToElementsByTypeAndIdMutation,d=i.useTagGetCollectionForElementByTypeAndIdQuery,p=i.useTagUnassignFromElementMutation},57527:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TagsTabContainer:()=>m});var n=r(36198),o=r(55328),i=r(30811),a=r(52758),s=r(33976),l=r(1402),c=r(34934),u=r(67793),f=r(82755),d=r(41161),p=r(46928),h=r(87633),m=function(){var e,t,r=(0,i.useTranslation)().t,m=(0,p.useElementContext)(),y=m.id,g=m.elementType,v=(0,h.useElementDraft)(y,g).element,b=(0,c.useShortcutActions)(),O=b.applyTagsToChildren,w=b.removeAndApplyTagsToChildren,S=(0,l.useTagGetCollectionForElementByTypeAndIdQuery)({elementType:g,id:y}),x=S.data,E=S.isLoading;return n.createElement(u.SplitLayout,{leftItem:{minSize:315,size:25,children:n.createElement(f.Content,{loading:E,padded:!0},n.createElement(s.TagsTreeContainer,{isLoading:E,tags:null!==(e=null==x?void 0:x.items)&&void 0!==e?e:[]}))},resizeAble:!0,rightItem:{minSize:300,size:75,children:n.createElement(f.Content,{padded:!0},n.createElement(d.Header,{title:r("tags.assigned-tags-text")},n.createElement(o.Dropdown.Button,{disabled:0===(null==x?void 0:x.totalItems)||!0!==(null==v?void 0:v.hasChildren),menu:{items:[{label:r("tags.remove-and-apply-tags-to-children"),key:"1",onClick:w}]},onClick:O},r("tags.apply-tags-to-children"))),n.createElement("div",{className:"pimcore-tags-content"},n.createElement(a.AssignedTagsTable,{isLoading:E,tags:Object.values(null!==(t=null==x?void 0:x.items)&&void 0!==t?t:{})})))},withDivider:!0})}},8108:(e,t,r)=>{"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);ri});var i=function(e){var t=[];return function e(r){var o,i=n(r);try{for(i.s();!(o=i.n()).done;){var a=o.value;t.push(a),void 0!==a.children&&e(a.children)}}catch(e){i.e(e)}finally{i.f()}}(e),t}},30928:(e,t,r)=>{"use strict";r.r(t),r.d(t,{verifyUpdate:()=>n});var n=function(e,t,r,n,o,i){return t===r&&""===e?(o(),!1):!n||(i(),!1)}},90551:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createVersionAccordionItem:()=>O});var n=r(36198),o=r(63664),i=r(38576),a=r(55328),s=r(54663),l=r(27027),c=r(62833),u=r(47259),f=r(40069),d=r(52645),p=r(30811),h=r(48388);function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function y(){y=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",h="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==m(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?g:p,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function g(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{api:()=>a,useVersionAssetDownloadByIdQuery:()=>s,useVersionCleanupForElementByTypeAndIdMutation:()=>l,useVersionDeleteByIdMutation:()=>c,useVersionGetByIdQuery:()=>u,useVersionGetCollectionForElementByTypeAndIdQuery:()=>f,useVersionPublishByIdMutation:()=>d,useVersionUpdateByIdMutation:()=>p});var n=r(38693);function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useVersionAssetDownloadByIdQuery:()=>a,useVersionCleanupForElementByTypeAndIdMutation:()=>h,useVersionDeleteByIdMutation:()=>d,useVersionGetByIdQuery:()=>c,useVersionGetCollectionForElementByTypeAndIdQuery:()=>p,useVersionImageStreamByIdQuery:()=>s,useVersionPdfStreamByIdQuery:()=>l,useVersionPublishByIdMutation:()=>f,useVersionUpdateByIdMutation:()=>u});var n=r(35525),o=["Versions"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{versionAssetDownloadById:e.query({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id,"/asset/download")}},providesTags:["Versions"]}),versionImageStreamById:e.query({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id,"/image/stream")}},providesTags:["Versions"]}),versionPdfStreamById:e.query({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id,"/pdf/stream")}},providesTags:["Versions"]}),versionGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id)}},providesTags:["Versions"]}),versionUpdateById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id),method:"PUT",body:e.updateVersion}},invalidatesTags:["Versions"]}),versionPublishById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id),method:"POST"}},invalidatesTags:["Versions"]}),versionDeleteById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id),method:"DELETE"}},invalidatesTags:["Versions"]}),versionGetCollectionForElementByTypeAndId:e.query({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.elementType,"/").concat(e.id),params:{page:e.page,pageSize:e.pageSize}}},providesTags:["Versions"]}),versionCleanupForElementByTypeAndId:e.mutation({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.elementType,"/").concat(e.id),method:"DELETE"}},invalidatesTags:["Versions"]})}},overrideExisting:!1}),a=i.useVersionAssetDownloadByIdQuery,s=i.useVersionImageStreamByIdQuery,l=i.useVersionPdfStreamByIdQuery,c=i.useVersionGetByIdQuery,u=i.useVersionUpdateByIdMutation,f=i.useVersionPublishByIdMutation,d=i.useVersionDeleteByIdMutation,p=i.useVersionGetCollectionForElementByTypeAndIdQuery,h=i.useVersionCleanupForElementByTypeAndIdMutation},9287:(e,t,r)=>{"use strict";r.r(t),r.d(t,{VersionsTabContainer:()=>h});var n=r(36198),o=r(83227),i=r(4106),a=r(82755),s=r(46928);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(){c=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==l(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function u(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function f(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){u(i,n,o,a,s,"next",e)}function s(e){u(i,n,o,a,s,"throw",e)}a(void 0)}))}}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){var n;return n=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==o(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.r(t),r.d(t,{useStyles:()=>s});var s=(0,r(99291).createStyles)((function(e){var t,r,o=e.token,s=e.css,l=function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{VersionsView:()=>x});var n=r(36198),o=r(50767),i=r(71816),a=r(30811),s=r(15747),l=r(16826),c=r(62833),u=r(41161),f=r(82755),d=r(67793),p=r(90551),h=r(94046),m=r(47259);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function g(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||w(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(){v=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",h="executing",m="completed",g={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,a)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==y(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?m:p,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}function b(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||w(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){if(e){if("string"==typeof e)return S(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?S(e,t):void 0}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&n.createElement(n.Fragment,null,n.createElement(m.Flex,{className:"w-full",gap:"small",justify:"space-between"},n.createElement(i.Button,{className:j?"compare-button":"",key:_("version.compare-versions"),onClick:function(){M([]),C(!j)}},_("version.compare-versions")),n.createElement(c.IconTextButton,{icon:{value:"trash"},key:_("version.clear-unpublished"),loading:A,onClick:B},_("version.clear-unpublished"))),z)),t.length>0&&n.createElement(h.AccordionTimeline,{items:Q}))},rightItem:{size:75,children:n.createElement(f.Content,{padded:!0},n.createElement(m.Flex,{justify:"center"},R.length>0&&j&&n.createElement(E,{versionIds:R}),R.length>0&&!j&&n.createElement(x,{setDetailedVersions:M,versionId:R[0],versions:t})))}}));function V(e){var t=g(R),r=t.some((function(t){return t.id===e.id}));2!==t.length||r||(t=[]),r?t.splice(t.indexOf(e),1):t.push(e),M(t)}}},24431:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useWorkflowActionSubmitMutation:()=>i,useWorkflowGetDetailsQuery:()=>a});var n=r(38693),o=r(76383).api.enhanceEndpoints({addTagTypes:[n.tagNames.ASSET_DETAIL,n.tagNames.DATA_OBJECT_DETAIL,n.tagNames.WORKFLOW],endpoints:{workflowGetDetails:{providesTags:function(e,t,r){return n.providingTags.ELEMENT_WORKFLOW(r.elementType,r.elementId)}},workflowActionSubmit:{invalidatesTags:function(e,t,r){return n.providingTags.ELEMENT_WORKFLOW(r.submitAction.elementType,r.submitAction.elementId)}}}}),i=o.useWorkflowActionSubmitMutation,a=o.useWorkflowGetDetailsQuery},76383:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useWorkflowActionSubmitMutation:()=>s,useWorkflowGetDetailsQuery:()=>a});var n=r(35525),o=["Workflows"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{workflowGetDetails:e.query({query:function(e){return{url:"/pimcore-studio/api/workflows/details",params:{elementId:e.elementId,elementType:e.elementType}}},providesTags:["Workflows"]}),workflowActionSubmit:e.mutation({query:function(e){return{url:"/pimcore-studio/api/workflows/action",method:"POST",body:e.submitAction}},invalidatesTags:["Workflows"]})}},overrideExisting:!1}),a=i.useWorkflowGetDetailsQuery,s=i.useWorkflowActionSubmitMutation},10593:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WorkflowTabContainer:()=>d});var n=r(36198),o=r(30811),i=r(59264),a=r(41161),s=r(82755),l=r(55328),c=r(20160),u=r(81873),f=r(2824),d=function(){var e=(0,o.useTranslation)().t,t=(0,f.useWorkflow)(),r=t.workflowDetailsData,d=t.isFetchingWorkflowDetails;return n.createElement(s.Content,{loading:d,none:void 0===(null==r?void 0:r.items)||0===(null==r?void 0:r.items.length),noneOptions:{text:e("workflow.no-workflows-found")},padded:!0},n.createElement(a.Header,{title:e("workflow.headline")}),n.createElement(l.Space,{direction:"vertical"},n.createElement(c.WorkFlowProvider,null,void 0!==(null==r?void 0:r.items)&&(null==r?void 0:r.items.length)>0&&r.items.map((function(e,t){return n.createElement(i.WorkflowCard,{key:t,workflow:e})})),n.createElement(u.WorkflowLogModal,null))))}},62167:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TabManager:()=>c});var n=r(66595);function o(e,t){for(var r=0;r=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,"type",""),i(this,"tabs",[])},(t=[{key:"getTabs",value:function(){return this.tabs}},{key:"getTab",value:function(e){return this.tabs.find((function(t){return t.key===e}))}},{key:"register",value:function(e){void 0===this.getTab(e.key)?this.tabs.push(e):this.tabs.splice(this.tabs.findIndex((function(t){return t.key===e.key})),1,e)}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();c=l([(0,n.injectable)()],c)},28496:(e,t,r)=>{"use strict";r.r(t),r.d(t,{IconWrapper:()=>s});var n=r(36198),o=r(55328);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n,o,i;function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>s});var s=(0,r(99291).createStyles)((function(e){var t=e.token,r=e.css;return{editorTabsContainer:r(n||(n=a(["\n width: 100%;\n "]))),editorTabs:r(o||(o=a(["\n height: 100%;\n width: 100%;\n overflow: hidden;\n\n .ant-tabs-content {\n display: flex;\n height: 100%;\n }\n\n &.ant-tabs .ant-tabs-tab {\n margin: 0 ","px !important;\n transition: color .2s;\n\n display: flex;\n height: 32px;\n }\n\n .ant-tabs-tabpane {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n }\n\n .ant-tabs-content-holder {\n overflow: auto;\n }\n &.ant-tabs .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {\n color: ","\n }\n &.ant-tabs-top >.ant-tabs-nav {\n margin-bottom: 0;\n \n .ant-tabs-nav-wrap {\n display: flex;\n justify-content: flex-end;\n \n .ant-tabs-nav-list {\n display: flex;\n align-items: center;\n }\n }\n }\n\n &.ant-tabs .ant-tabs-tab-btn .ant-tabs-tab-icon:not(:last-child) {\n margin-inline-end: 0;\n }\n \n .ant-tabs-tab {\n padding: 0;\n \n &:first-of-type {\n margin-left: ","px;\n margin-right: ","px;\n }\n \n .ant-tabs-tab-btn {\n display: flex;\n padding-top: ","px;\n padding-bottom: ","px;\n justify-content: center;\n align-items: center;\n gap: ","px;\n \n .ant-tabs-tab-icon {\n height: 16px;\n display: flex;\n justify-content: center;\n align-content: center;\n margin-inline-end: 0;\n color: ",";\n \n svg {\n height: 16px;\n width: 16px\n }\n }\n }\n \n .detachable-button {\n display: none;\n color: ",";\n height: ","px;\n width: ","px;\n }\n\n &:not(.ant-tabs-tab-active) {\n .ant-tabs-tab-icon {\n &:hover {\n color: ",";\n }\n }\n }\n \n &.ant-tabs-tab-active {\n .ant-tabs-tab-icon {\n color: ","\n }\n\n .detachable-button {\n display: flex;\n color: ",";\n }\n }\n }\n "])),t.paddingXS,t.colorPrimaryActive,t.paddingSM,t.paddingSM,t.paddingXS,t.paddingXS,t.paddingTabs,t.Tabs.itemUnselectedIconColor,t.Tabs.itemUnselectedIconColor,t.controlHeightSM,t.controlHeightSM,t.colorIconHover,t.colorPrimaryActive,t.colorPrimary),onlyActiveLabel:r(i||(i=a(["\n .ant-tabs-tab:not(.ant-tabs-tab-active) {\n span:nth-child(2) {\n display: none;\n }\n\n .ant-tabs-tab-icon {\n margin-inline-end: 0;\n }\n }\n\n @keyframes fadeIn {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n }\n\n .ant-tabs-tab.ant-tabs-tab-active {\n //border-bottom: 3px solid ",";\n }\n "])),t.colorPrimaryActive)}}),{hashPriority:"low"})},95719:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EditorTabs:()=>E});var n=r(36198),o=r(16803),i=r(55328),a=r(93967),s=r.n(a),l=r(510),c=r(73264),u=r(28496),f=r(46928),d=r(2776),p=r(87633),h=r(76265),m=r(93244),y=r(27027),g=r(48388);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&k(b[0].key)}),[b]);var F=null===(t=b)||void 0===t?void 0:t.map((function(e){return e.key})),z=function(e){var t=e.target.id;return F.find((function(e){return t.includes(e)}))};return b=null===(r=b=b.filter((function(e){return(void 0===e.hidden||!e.hidden())&&(!(void 0!==e.workspacePermission&&void 0!==(null==N?void 0:N.permissions)&&!(0,h.checkElementPermission)(N.permissions,e.workspacePermission))&&!(void 0!==e.userPermission&&!(0,m.isAllowed)(e.userPermission)))})))||void 0===r?void 0:r.map((function(e){var t=O(O({},e),{},{originalLabel:e.label,icon:n.createElement(u.IconWrapper,{activeTabKey:C,tabKey:e.key,tabKeyInFocus:D,tabKeyOutOfFocus:M,title:e.label},e.icon)});return!0===t.isDetachable&&(t.label=n.createElement(n.Fragment,null,n.createElement("span",null,t.label),n.createElement(y.IconButton,{className:"detachable-button",icon:{value:"share-03"},onClick:function(){!function(e){E(e)}({tabKey:e.key})},type:"link"}))),t})),n.createElement("div",{className:x.editorTabsContainer,ref:B},n.createElement(i.Tabs,{className:s()(x.editorTabs,w({},x.onlyActiveLabel,v)),defaultActiveKey:a,items:b,onBlur:function(e){I(z(e))},onFocus:function(e){L(z(e))},onTabClick:function(e){k(e)},tabBarExtraContent:{left:n.createElement(g.Box,{padding:{left:"extra-small",top:"extra-small",bottom:"extra-small"}},n.createElement(c.ElementToolbar,{editorTabsWidth:$,elementType:T,id:P}))}}))}},510:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useDetachTab:()=>u});var n=r(66777),o=r(81690),i=r(36609);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useElementDeleteMutation:()=>a,useElementFolderCreateMutation:()=>l,useElementGetDeleteInfoQuery:()=>s,useElementGetIdByPathQuery:()=>c});var n=r(35525),o=["Elements"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{elementDelete:e.mutation({query:function(e){return{url:"/pimcore-studio/api/elements/".concat(e.elementType,"/delete/").concat(e.id),method:"DELETE"}},invalidatesTags:["Elements"]}),elementGetDeleteInfo:e.query({query:function(e){return{url:"/pimcore-studio/api/elements/".concat(e.elementType,"/delete-info/").concat(e.id)}},providesTags:["Elements"]}),elementFolderCreate:e.mutation({query:function(e){return{url:"/pimcore-studio/api/elements/".concat(e.elementType,"/folder/").concat(e.parentId),method:"POST",body:e.folderData}},invalidatesTags:["Elements"]}),elementGetIdByPath:e.query({query:function(e){return{url:"/pimcore-studio/api/elements/".concat(e.elementType,"/path"),params:{elementPath:e.elementPath}}},providesTags:["Elements"]})}},overrideExisting:!1}),a=i.useElementDeleteMutation,s=i.useElementGetDeleteInfoQuery,l=i.useElementFolderCreateMutation,c=i.useElementGetIdByPathQuery},72743:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getElementIcon:()=>n,getElementKey:()=>o});var n=function(e,t){var r,n;return void 0!==(null===(r=e.customAttributes)||void 0===r?void 0:r.icon)&&null!==(null===(n=e.customAttributes)||void 0===n?void 0:n.icon)?e.customAttributes.icon:void 0!==e.icon&&null!==e.icon?e.icon:t},o=function(e,t){var r,n;return"asset"===t?null!==(r=e.filename)&&void 0!==r?r:"":"data-object"===t&&null!==(n=e.key)&&void 0!==n?n:""}},44845:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useElementApi:()=>u});var n=r(93477),o=r(15008);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(){a=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,l,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,l)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,a,s,l){var c=p(e[o],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==i(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return r("throw",e,s,l)}))}l(c.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function s(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{useElementContext:()=>a});var n=r(36198),o=r(43741),i=r(45048),a=function(){var e=(0,n.useContext)(o.AssetContext).id,t=(0,n.useContext)(i.DataObjectContext).id;if(0!==e)return{id:e,elementType:"asset"};if(0!==t)return{id:t,elementType:"data-object"};throw new Error("No element context found")}},87633:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useElementDraft:()=>c});var n=r(61008),o=r(70047);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useElementHelper:()=>l});var n=r(6786),o=r(14274);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(){a=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:j(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,l,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&n.call(E,l)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,a,s,l){var c=p(e[o],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==i(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return r("throw",e,s,l)}))}l(c.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function s(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}var l=function(){var e=(0,n.useAssetHelper)().openAsset,t=(0,o.useDataObjectHelper)().openDataObject;function r(){var n;return n=a().mark((function r(n){return a().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:"asset"===n.type?e({config:{id:n.id}}):"data-object"===n.type?t({config:{id:n.id}}):console.log("Opening "+n.type+" is not supported yet.");case 1:case"end":return r.stop()}}),r)})),r=function(){var e=this,t=arguments;return new Promise((function(r,o){var i=n.apply(e,t);function a(e){s(i,r,o,a,l,"next",e)}function l(e){s(i,r,o,a,l,"throw",e)}a(void 0)}))},r.apply(this,arguments)}return{openElement:function(e){return r.apply(this,arguments)},mapToElementType:function(e){switch(e){case"asset":return"asset";case"document":return"document";case"data-object":case"object":case"dataObject":return"data-object";default:throw new Error("Unknown element type: "+e)}}}}},67876:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useGlobalElementContext:()=>a});var n=r(5482),o=r(44994),i=r(66777),a=function(){var e,t=(0,i.useWidgetManager)().getOpenedMainWidget,r=(0,n.useGlobalAssetContext)().context,a=(0,o.useGlobalDataObjectContext)().context,s=null===(e=t())||void 0===e?void 0:e.getComponent();return"asset-editor"===s?{context:r}:"data-object-editor"===s?{context:a}:{context:void 0}}},32248:(e,t,r)=>{"use strict";r.r(t);r(74366)},76265:(e,t,r)=>{"use strict";r.r(t),r.d(t,{checkElementPermission:()=>n});var n=function(e,t){return!0===e[t]}},21044:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;rs});var s=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,"entries",[]),i(this,"buttons",[])},(t=[{key:"getEntries",value:function(){return this.entries}},{key:"getEntry",value:function(e){return this.entries.find((function(t){return t.key===e}))}},{key:"registerEntry",value:function(e){void 0===this.getEntry(e.key)?this.entries.push(e):this.entries.splice(this.entries.findIndex((function(t){return t.key===e.key})),1,e)}},{key:"getButtons",value:function(){return this.buttons}},{key:"getButton",value:function(e){return this.buttons.find((function(t){return t.key===e}))}},{key:"registerButton",value:function(e){void 0===this.getButton(e.key)?this.buttons.push(e):this.buttons.splice(this.buttons.findIndex((function(t){return t.key===e.key})),1,e)}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()},1020:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PagerContainer:()=>l});var n=r(31322),o=r(38549),i=r(36198);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{SearchContainer:()=>l});var n=r(36198),o=r(31322);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);ru&&c(!0)}),[r]),l?n.createElement(s,{"aria-label":e.label,loading:e.isLoading,onSearch:function(e){t({idSearchTerm:e,page:1})},placeholder:e.label,size:"small"}):n.createElement(n.Fragment,null)}},63975:(e,t,r)=>{"use strict";r.r(t),r.d(t,{UseFileUploader:()=>v});var n=r(93477),o=r(38693),i=r(7496),a=r(36198),s=r(26272),l=r(51074),c=r(36510),u=r(21970);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function m(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function y(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){m(i,n,o,a,s,"next",e)}function s(e){m(i,n,o,a,s,"throw",e)}a(void 0)}))}}var g=[],v=function(e){var t=e.parentId,r=(0,l.useJobs)().addJob,f=(0,i.useAppDispatch)(),p=(0,a.useContext)(s.UploadContext),m=function(){var e=y(h().mark((function e(r){var i,a,s;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=r.fileList,r.file,void 0!==t){e.next=3;break}throw new Error("Parent ID is required");case 3:a=i.map((function(e){return e.status})),s=a.every((function(e){return"done"===e})),p.setUploadFileList(i),p.setUploadingNode(t),s&&(f(n.api.util.invalidateTags(o.invalidatingTags.ASSET_TREE_ID(parseInt(t)))),p.setUploadFileList([]),p.setUploadingNode(null));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v=function(){var e=y(h().mark((function e(t){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return g.includes(t.file.uid)||(g=[].concat(d(g),[t.file.uid]),r((0,c.createJob)({title:"Upload Zip",topics:[u.topics["zip-upload-finished"],u.topics["asset-upload-finished"]].concat(d(u.defaultTopics)),action:function(){var e=y(h().mark((function e(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.promise;case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),parentFolder:p.uploadingNode}))),e.next=3,m(t);case 3:void 0!==t.file.response&&t.promiseResolve(t.file.response.jobRunId);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return{uploadFile:m,uploadZip:v}}},26272:(e,t,r)=>{"use strict";r.r(t),r.d(t,{UploadContext:()=>a,UploadProvider:()=>s});var n=r(36198);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{isValidElementType:()=>n});var n=function(e){return"asset"===e||"document"===e||"data-object"===e}},84229:(e,t,r)=>{"use strict";r.r(t),r.d(t,{jobAdapter:()=>i,jobDeleted:()=>u,jobReceived:()=>l,jobUpdated:()=>c,selectAll:()=>d,selectById:()=>p,slice:()=>a});var n=r(7496),o=r(8327),i=(0,o.createEntityAdapter)({}),a=(0,o.createSlice)({name:"execution-engine",initialState:i.getInitialState(),reducers:{jobReceived:i.addOne,jobUpdated:i.updateOne,jobDeleted:i.removeOne}});(0,n.injectSliceWithState)(a);var s=a.actions,l=s.jobReceived,c=s.jobUpdated,u=s.jobDeleted,f=i.getSelectors((function(e){return e["execution-engine"]})),d=f.selectAll,p=f.selectById},51074:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useJobs:()=>c});var n=r(7496),o=r(84229);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{executionEngineModule:()=>p});var n=r(81690),o=r(80237),i=r(54088),a=r(78489),s=r(57303),l=r(55975),c=r(54012),u=r(79155),f=r(52835),d=r(25305),p={onInit:function(){var e=n.container.get(i.serviceIds["ExecutionEngine/JobComponentRegistry"]);e.registerComponent("default",a.NotificationJobContainer),e.registerComponent("download",s.NotificationJobContainer),e.registerComponent("batch-edit",c.NotificationJobContainer),e.registerComponent("zip-upload",l.NotificationJobContainer),e.registerComponent("delete",u.NotificationJobContainer),e.registerComponent("clone",f.NotificationJobContainer),e.registerComponent("tag-assign",d.NotificationJobContainer)}};o.moduleSystem.registerModule(p)},2852:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{JobStatus:()=>n}),function(e){e.QUEUED="queued",e.RUNNING="running",e.SUCCESS="success",e.FINISHED_WITH_ERRORS="finished_with_errors",e.FAILED="failed"}(n||(n={}))},59160:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createJob:()=>i});var n=r(2852),o=r(37658),i=function(e){return{id:(0,o.getUniqueId)(),action:e.action,type:"batch-edit",title:e.title,status:n.JobStatus.QUEUED,topics:e.topics,config:{assetContextId:e.assetContextId}}}},54012:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NotificationJobContainer:()=>y});var n=r(36198),o=r(2852),i=r(38968),a=r(51074),s=r(37292),l=r(30811),c=r(10365);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{createJob:()=>i});var n=r(2852),o=r(37658),i=function(e){return{id:(0,o.getUniqueId)(),action:e.action,type:"clone",title:e.title,status:n.JobStatus.QUEUED,topics:e.topics,config:{parentFolder:e.parentFolder}}}},52835:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NotificationJobContainer:()=>v});var n=r(36198),o=r(2852),i=r(38968),a=r(51074),s=r(37292),l=r(30811),c=r(7496),u=r(93477),f=r(38693);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{NotificationJobContainer:()=>m});var n=r(36198),o=r(2852),i=r(38968),a=r(51074),s=r(37292),l=r(30811);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{createJob:()=>i});var n=r(2852),o=r(37658),i=function(e){return{id:(0,o.getUniqueId)(),action:e.action,type:"delete",title:e.title,status:n.JobStatus.QUEUED,topics:e.topics,config:{parentFolder:e.parentFolder}}}},79155:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NotificationJobContainer:()=>v});var n=r(36198),o=r(2852),i=r(38968),a=r(51074),s=r(37292),l=r(30811),c=r(7496),u=r(93477),f=r(38693);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{createJob:()=>i});var n=r(2852),o=r(37658),i=function(e){return{id:(0,o.getUniqueId)(),action:e.action,type:"download",title:e.title,status:n.JobStatus.QUEUED,topics:e.topics,config:{downloadUrl:e.downloadUrl}}}},57303:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NotificationJobContainer:()=>m});var n=r(36198),o=r(2852),i=r(38968),a=r(51074),s=r(37292),l=r(30811);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{getUniqueId:()=>o});var n=0;function o(){return n++}},23878:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createJob:()=>i});var n=r(2852),o=r(37658),i=function(e){return{id:(0,o.getUniqueId)(),action:e.action,type:"tag-assign",title:e.title,status:n.JobStatus.QUEUED,topics:e.topics,config:void 0}}},25305:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NotificationJobContainer:()=>m});var n=r(36198),o=r(2852),i=r(38968),a=r(51074),s=r(37292),l=r(30811);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{createJob:()=>i});var n=r(2852),o=r(37658),i=function(e){return{id:(0,o.getUniqueId)(),action:e.action,type:"zip-upload",title:e.title,status:n.JobStatus.QUEUED,topics:e.topics,config:{parentFolder:e.parentFolder}}}},55975:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NotificationJobContainer:()=>v});var n=r(36198),o=r(2852),i=r(38968),a=r(51074),s=r(37292),l=r(30811),c=r(7496),u=r(93477),f=r(38693);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.css,i=e.token;return{jobList:o(n||(t=["\n &.ant-collapse>.ant-collapse-item >.ant-collapse-header {\n padding: ","px 0;\n }\n\n &.ant-collapse-ghost >.ant-collapse-item >.ant-collapse-content >.ant-collapse-content-box {\n padding: ","px 0;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),i.paddingXXS,i.paddingXXS)}}))},33741:(e,t,r)=>{"use strict";r.r(t),r.d(t,{JobList:()=>h});var n=r(36198),o=r(37789),i=r(72828),a=r(37213),s=r(30811),l=r(54688),c=r(51074);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;return{buttonStyle:(0,e.css)(n||(t=["\n padding-left: 2px;\n padding-right: 2px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},37292:(e,t,r)=>{"use strict";r.r(t),r.d(t,{JobView:()=>f});var n=r(10959),o=r(2852),i=r(36198),a=r(55328),s=r(54663),l=r(72828),c=r(1052),u=r(30811),f=function(e){var t,r,f,d=(0,c.useStyles)().styles,p=(0,u.useTranslation)().t;return i.createElement("div",null,i.createElement(l.AnimatePresence,null,i.createElement(l.motion.div,{animate:{opacity:1,height:"auto"},exit:{opacity:0,height:1},initial:{opacity:0,height:1},key:e.status},e.status===o.JobStatus.RUNNING&&i.createElement(n.Progressbar,{description:p("jobs.job.in-progress",{title:e.title}),percent:e.progress,progressStatus:p("jobs.job.progress",{progress:e.progress})}),e.status===o.JobStatus.SUCCESS&&i.createElement(a.Flex,{align:"center",justify:"space-between"},i.createElement(a.Flex,{align:"center",gap:"small"},i.createElement(s.Icon,{value:"check-circle-filled"}),i.createElement("span",null,p("jobs.job.finished",{title:e.title}))),i.createElement(a.Flex,{gap:"small"},null===(t=e.successButtonActions)||void 0===t?void 0:t.map((function(e,t){return i.createElement(a.Button,{className:d.buttonStyle,key:t,onClick:e.handler,type:"link"},e.label)})))),e.status===o.JobStatus.FINISHED_WITH_ERRORS&&i.createElement(a.Flex,{align:"center",justify:"space-between"},i.createElement(a.Flex,{align:"center",gap:"small"},i.createElement(s.Icon,{value:"exclamation-circle-filled"}),i.createElement("span",null,p("jobs.job.finished-with-errors",{title:e.title}))),i.createElement(a.Flex,{gap:"small"},null===(r=e.finishedWithErrorsButtonActions)||void 0===r?void 0:r.map((function(e,t){return i.createElement(a.Button,{className:d.buttonStyle,key:t,onClick:e.handler,type:"link"},e.label)})))),e.status===o.JobStatus.FAILED&&i.createElement(a.Flex,{align:"center",justify:"space-between"},i.createElement(a.Flex,{align:"center",gap:"small"},i.createElement(s.Icon,{value:"close-circle-filled"}),i.createElement("span",null,p("jobs.job.failed",{title:e.title}))),i.createElement(a.Flex,{gap:"small"},null===(f=e.failureButtonActions)||void 0===f?void 0:f.map((function(e,t){return i.createElement(a.Button,{className:d.buttonStyle,key:t,onClick:e.handler,type:"link"},e.label)})))))))}},37789:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Job:()=>u});var n=r(36198),o=r(81690),i=r(54088),a=r(78489);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){var n;return n=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){var t,r=null!==(t=(0,o.useInjection)(i.serviceIds["ExecutionEngine/JobComponentRegistry"]).getComponentByType(e.type))&&void 0!==t?t:a.NotificationJobContainer;return n.createElement(r,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{Notification:()=>u});var n=r(36198),o=r(51074),i=r(2545),a=r(33741),s=r(30811);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0,t=l((0,i.useNotification)(),1)[0],r=(0,s.useTranslation)().t;return(0,n.useEffect)((function(){e&&t.open({message:r("jobs.notification.title"),description:n.createElement(a.JobList,null),duration:0,closable:!1,placement:"bottomRight"}),e||t.destroy()}),[e]),n.createElement(n.Fragment,null)}},65244:(e,t,r)=>{"use strict";r.r(t),r.d(t,{JobComponentRegistry:()=>l});var n=r(66595);function o(e,t){for(var r=0;r=0;l--)(o=e[l])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},l=function(){return e=function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r="components",n=new Map,(r=i(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n},(t=[{key:"registerComponent",value:function(e,t){this.components.set(e,t)}},{key:"getComponentByType",value:function(e){return this.components.get(e)}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();l=s([(0,n.injectable)()],l)},21970:(e,t,r)=>{"use strict";r.r(t),r.d(t,{defaultTopics:()=>o,topics:()=>n});var n={"patch-finished":"patch-finished","zip-download-ready":"zip-download-ready","csv-download-ready":"csv-download-ready","handler-progress":"handler-progress","job-finished-with-errors":"job-finished-with-errors","job-failed":"job-failed","asset-upload-finished":"asset-upload-finished","zip-upload-finished":"zip-upload-finished","deletion-finished":"deletion-finished","cloning-finished":"cloning-finished","tag-assignment-finished":"tag-assignment-finished","tag-replacement-finished":"tag-replacement-finished"},o=[n["handler-progress"],n["job-finished-with-errors"],n["job-failed"]]},89378:(e,t,r)=>{"use strict";r.r(t);var n=r(81690),o=r(80237),i=r(54088),a=r(31699),s=r(88408),l=r(81562),c=r(76207),u=r(19229),f=r(34757),d=r(31280),p=r(45646),h=r(72466),m=r(40353),y=r(14119),g=r(56602),v=r(1493),b=r(39839),O=r(4120),w=r(18343),S=r(3513),x=r(39201),E=r(20035),_=r(41297),P=r(44262),T=r(7550),j=r(89760),C=r(11663),k=r(33384),A=r(47197),D=r(4953),L=r(56013),R=r(28),M=r(1740),I=r(98038),N=r(72327),B=r(76072),$=r(35163),F=r(68453),z=r(21923),Q=r(95367),V=r(64173),U=r(55167),G=r(46908),W=r(36562),H=r(10547),Z=r(79815),X=r(43065),q=r(21091),Y=r(46699),K=r(33320),J=r(94172),ee=r(19716),te=r(71068),re=r(14398),ne=r(38628),oe=r(65768),ie=r(30512),ae=r(79608),se=r(96233),le=r(69449),ce=r(63743),ue=r(26521),fe=r(60943),de=r(35593),pe=r(32289),he=r(41120),me=r(78638),ye=r(42301),ge=r(28667),ve=r(19421),be=r(77998),Oe=r(69716),we=r(74463),Se=r(79329),xe=r(43473),Ee=r(47473),_e=r(4785),Pe=r(65302),Te=r(1e3),je=r(86610),Ce=r(85923),ke=r(48407),Ae=r(21244),De=r(37453),Le=r(28728),Re=r(9316),Me=r(84270),Ie=r(44533),Ne=r(77453),Be=r(97619),$e=r(65752),Fe=r(1337),ze=r(73034),Qe=r(44434),Ve=r(22298),Ue=r(94621),Ge=r(97363),We=r(47674),He=r(83771),Ze=r(83855),Xe=r(31750),qe=r(89313),Ye=r(7933),Ke=r(33620),Je=r(17587),et=r(12550),tt=r(6678),rt=r(53268),nt=r(11142),ot=r(11942),it=r(15765),at=r(7437),st=r(16184),lt=r(17092),ct=r(19078),ut=r(54523);o.moduleSystem.registerModule({onInit:function(){var e=n.container.get(i.serviceIds.iconLibrary);e.register({name:"camera",component:s.default}),e.register({name:"calculator",component:a.default}),e.register({name:"folder",component:c.default}),e.register({name:"widget-default",component:u.default}),e.register({name:"caret-up-outlined",component:f.default}),e.register({name:"caret-down-outlined",component:d.default}),e.register({name:"chevron-up",component:p.default}),e.register({name:"chevron-up-small",component:h.default}),e.register({name:"chevron-down-small",component:v.default}),e.register({name:"chevron-up-wide",component:m.default}),e.register({name:"chevron-down-wide",component:g.default}),e.register({name:"chevron-down",component:y.default}),e.register({name:"home",component:b.default}),e.register({name:"refresh",component:O.default}),e.register({name:"icon-tools",component:w.default}),e.register({name:"image-05",component:S.default}),e.register({name:"edit",component:x.default}),e.register({name:"data-sheet",component:E.default}),e.register({name:"data-management-2",component:_.default}),e.register({name:"history-outlined",component:P.default}),e.register({name:"schedule-outlined",component:T.default}),e.register({name:"hierarchy",component:j.default}),e.register({name:"view-details",component:C.default}),e.register({name:"tag-two-tone",component:k.default}),e.register({name:"workflow",component:A.default}),e.register({name:"unordered-list-outlined",component:D.default}),e.register({name:"close-circle-filled",component:L.default}),e.register({name:"check-circle-filled",component:R.default}),e.register({name:"info-circle-filled",component:M.default}),e.register({name:"exclamation-circle-filled",component:I.default}),e.register({name:"dots-horizontal",component:N.default}),e.register({name:"target",component:B.default}),e.register({name:"info-circle-outlined",component:$.default}),e.register({name:"left-outlined",component:F.default}),e.register({name:"right-outlined",component:z.default}),e.register({name:"rich-edit",component:Q.default}),e.register({name:"download-02",component:V.default}),e.register({name:"pin-02",component:U.default}),e.register({name:"expand-alt-outlined",component:G.default}),e.register({name:"eye-outlined",component:W.default}),e.register({name:"share-alt-outlined",component:H.default}),e.register({name:"translation",component:Z.default}),e.register({name:"volume-max",component:X.default}),e.register({name:"file-code-01",component:q.default}),e.register({name:"file-question-02",component:Y.default}),e.register({name:"file-02",component:K.default}),e.register({name:"file-check-02",component:J.default}),e.register({name:"file-x-03",component:ee.default}),e.register({name:"presentation-chart-01",component:te.default}),e.register({name:"video-recorder",component:re.default}),e.register({name:"image-01",component:ne.default}),e.register({name:"ellipsis-outlined",component:oe.default}),e.register({name:"focal-point",component:ie.default}),e.register({name:"MinusOutlined",component:ae.default}),e.register({name:"PlusOutlined",component:se.default}),e.register({name:"settings2",component:le.default}),e.register({name:"PlusCircleOutlined",component:ce.default}),e.register({name:"lightning-01",component:_e.default}),e.register({name:"calender",component:Pe.default}),e.register({name:"world",component:Te.default}),e.register({name:"user-01",component:je.default}),e.register({name:"shield-02",component:Ce.default}),e.register({name:"share-03",component:ue.default}),e.register({name:"copy-03",component:fe.default}),e.register({name:"copy-07",component:de.default}),e.register({name:"group",component:pe.default}),e.register({name:"note",component:he.default}),e.register({name:"mainDocument",component:me.default}),e.register({name:"mainAsset",component:ye.default}),e.register({name:"mainObject",component:ge.default}),e.register({name:"mainObjectVariant",component:ve.default}),e.register({name:"check-done-02",component:be.default}),e.register({name:"chevron-selector-vertical",component:Oe.default}),e.register({name:"chevron-selector-horizontal",component:we.default}),e.register({name:"trash",component:Ee.default}),e.register({name:"icon",component:De.default}),e.register({name:"close",component:l.default}),e.register({name:"tag-02",component:Le.default}),e.register({name:"no-content",component:Re.default}),e.register({name:"intersect-circle",component:ke.default}),e.register({name:"corner-left-up",component:Ae.default}),e.register({name:"flag-outlined",component:Me.default}),e.register({name:"chevron-right",component:Se.default}),e.register({name:"chevron-left",component:xe.default}),e.register({name:"draggable",component:Ie.default}),e.register({name:"settings-outlined",component:Ne.default}),e.register({name:"filter-outlined",component:Be.default}),e.register({name:"text-input",component:$e.default}),e.register({name:"calendar-date",component:Fe.default}),e.register({name:"upload-cloud",component:ze.default}),e.register({name:"export",component:Qe.default}),e.register({name:"grid",component:Ve.default}),e.register({name:"spinner",component:Ue.default}),e.register({name:"upload-zip",component:Ge.default}),e.register({name:"type-square",component:We.default}),e.register({name:"clipboard",component:He.default}),e.register({name:"scissors-cut",component:Ze.default}),e.register({name:"delete-outlined",component:Xe.default}),e.register({name:"file-download-zip-01",component:qe.default}),e.register({name:"more",component:Ye.default}),e.register({name:"folder-search",component:Ke.default}),e.register({name:"lock-01",component:Je.default}),e.register({name:"file-lock-02",component:et.default}),e.register({name:"expand-01",component:tt.default}),e.register({name:"refresh-ccw-03",component:rt.default}),e.register({name:"clipboard-check",component:nt.default}),e.register({name:"magic-wand-01",component:ot.default}),e.register({name:"lock-unlock-01",component:it.default}),e.register({name:"question-circle-outlined",component:at.default}),e.register({name:"search-sm",component:st.default}),e.register({name:"edit-03",component:lt.default}),e.register({name:"save-01",component:ct.default}),e.register({name:"union",component:ut.default})}})},94605:(e,t,r)=>{"use strict";r.r(t),r.d(t,{IconLibrary:()=>l});var n=r(66595);function o(e,t){for(var r=0;r=0;l--)(o=e[l])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},l=function(){return e=function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r="icons",n=new Map,(r=i(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n},(t=[{key:"register",value:function(e){var t=e.name,r=e.component;this.icons.set(t,r)}},{key:"get",value:function(e){return this.icons.get(e)}},{key:"getIcons",value:function(){return this.icons}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();l=s([(0,n.injectable)()],l)},64814:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createContextMenuItems:()=>a});var n=r(81690),o=r(54088),i=r(36609),a=function(e){var t=e.contextMenuState,r=e.closeContextMenu,a=e.model,s=e.closeWidget;return[{key:"close-tab",label:(0,i.t)("close-tab"),onClick:function(){null!==t&&(s(t.tabNode.getId()),r())}},{key:"close-others",label:(0,i.t)("close-others"),onClick:function(){var e;null!==t&&(null===(e=a.getActiveTabset())||void 0===e||e.getChildren().forEach((function(e){e.getId()!==t.tabNode.getId()&&s(e.getId())})),r())}},{key:"close-unmodified",label:(0,i.t)("close-unmodified"),onClick:function(){if(null!==t){var e,i=n.container.get(o.serviceIds.widgetManager);null===(e=a.getActiveTabset())||void 0===e||e.getChildren().forEach((function(e){var t,r=i.getWidget(null!==(t=e.getComponent())&&void 0!==t?t:""),n=null==r?void 0:r.isModified;void 0!==n&&n(e)||s(e.getId())})),r()}}},{key:"close-all",label:(0,i.t)("close-all"),onClick:function(){var e;null!==t&&(null===(e=a.getActiveTabset())||void 0===e||e.getChildren().forEach((function(e){s(e.getId())})),r())}}]}},23170:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useContextMenu:()=>u});var n=r(41642),o=r(36198),i=r(86352),a=r(66777),s=r(27118);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{useIsAcitveMainWidget:()=>s});var n=r(7496),o=r(77209),i=r(36198),a=r(5319),s=function(){var e=(0,n.useAppSelector)(o.selectMainWidgetContext),t=(0,i.useContext)(a.WidgetContext);return null!==e&&e.nodeId===t.nodeId}},66777:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useWidgetManager:()=>a});var n=r(7496),o=r(77209),i=r(86352),a=function(){var e=(0,n.useAppDispatch)();function t(){var e=n.store.getState(),t=(0,o.selectInnerModel)(e);return i.Model.fromJson(t)}return{openMainWidget:function(t){e((0,o.openMainWidget)(t))},openBottomWidget:function(t){e((0,o.openBottomWidget)(t))},openLeftWidget:function(t){e((0,o.openLeftWidget)(t))},openRightWidget:function(t){e((0,o.openRightWidget)(t))},switchToWidget:function(t){e((0,o.setActiveWidgetById)(t))},closeWidget:function(t){e((0,o.closeWidget)(t))},isMainWidgetOpen:function(e){return void 0!==t().getNodeById(e)},getOpenedMainWidget:function(){var e;return null===(e=t().getActiveTabset())||void 0===e?void 0:e.getSelectedNode()}}}},6042:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WidgetRegistry:()=>d});var n=r(66595),o=r(36198);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"widgets",[])},(t=[{key:"registerWidget",value:function(e){var t=a(a({},e),{},{component:(0,o.memo)(e.component)});this.widgets.push(t)}},{key:"getWidget",value:function(e){return this.widgets.find((function(t){return t.name===e}))}}])&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();d=f([(0,n.injectable)()],d)},45835:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BorderTitleView:()=>u});var n=r(54663),o=r(36198),i=r(55328),a=r(30811);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){var n;return n=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==s(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){var t=e.icon,r=e.title,s=(0,a.useTranslation)().t;return o.createElement(i.Tooltip,{placement:"right",title:s(r)},o.createElement("div",null,o.createElement(n.Icon,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{TabTitleContainer:()=>u});var n=r(86352),o=r(36198),i=r(45835),a=r(14955),s=r(66777);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{TabTitleOuterContainer:()=>s});var n=r(36198),o=r(81690),i=r(1464),a=r(54088),s=function(e){var t=e.node,r=t.getComponent(),s=(0,o.useInjection)(a.serviceIds.widgetManager).getWidget(r),l=n.createElement(i.TabTitleContainer,{modified:!1,node:t});return void 0!==(null==s?void 0:s.titleComponent)&&(l=n.createElement(s.titleComponent,{node:t})),n.createElement(n.Fragment,null," ",l," ")}},1935:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r;e.token;return{title:(0,e.css)(n||(t=["\n .ant-space-item {\n display: flex;\n align-items: center;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},14955:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TabTitleView:()=>h});var n=r(54663),o=r(55328),i=r(71816),a=r(36198),s=r(1935),l=r(30811),c=r(40069),u=r(22953);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e,t,r){var n;return n=function(e,t){if("object"!=f(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=f(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==f(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=function(e){var t=e.icon,r=e.title,f=e.onClose,h=e.onConfirm,m=(0,s.useStyles)().styles,y=(0,l.useTranslation)().t,g=function(){null==f||f()};return a.createElement(c.Space,{className:["widget-manager-tab-title",m.title].join(" "),size:"mini"},a.createElement(n.Icon,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{widgetManagerFactory:()=>l});var n=r(36198),o=r(5319),i=r(75876),a=r(81690),s=r(54088),l=function(e){if("inner-widget-manager"===e.getComponent())return n.createElement(i.WidgetManagerInnerContainer,null);var t=a.container.get(s.serviceIds.widgetManager),r=e.getComponent();if(void 0!==r){var l=t.getWidget(r);if(void 0===l)throw new Error("Widget ".concat(r," not found"));var c=l.component;return n.createElement(o.WidgetContainer,{component:c,node:e})}}},15419:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getInitialModelJson:()=>n});var n=function(){return{global:{tabEnableRename:!1,tabSetEnableMaximize:!1},layout:{id:"main",type:"row",children:[{type:"tabset",id:"main_tabset",enableDeleteWhenEmpty:!1,weight:50,selected:0,children:[]}]}}}},51802:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getInitialModelJson:()=>n});var n=function(){return{global:{tabEnableRename:!1,tabSetEnableMaximize:!1,rootOrientationVertical:!0},layout:{id:"main",type:"row",children:[{type:"tabset",id:"main_tabset",enableDeleteWhenEmpty:!1,weight:50,selected:0,children:[{type:"tab",component:"inner-widget-manager",contentClassName:"widget-manager-inner-container",enableClose:!1}],enableDrag:!1,enableDrop:!1,enableTabStrip:!1},{type:"tabset",id:"bottom_tabset",enableDeleteWhenEmpty:!1,weight:50,height:0,selected:0,children:[]}]},borders:[{type:"border",location:"left",size:315,selected:0,children:[{type:"tab",name:"asset.asset-tree.title",component:"asset-tree",enableClose:!1,config:{icon:{value:"camera"}}},{type:"tab",name:"data-object.data-object-tree.title",component:"data-object-tree",enableClose:!1,config:{icon:{value:"mainObject"}}}]},{type:"border",location:"right",size:315,children:[{type:"tab",name:"asset.asset-tree.title",component:"asset-tree",enableClose:!1,config:{id:288,icon:{value:"camera"}}}]}]}}},95165:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WidgetManagerContainer:()=>u});var n=r(36198),o=r(85914),i=r(7250),a=r(86352),s=r(7496),l=r(77209),c=r(1464),u=function(){var e=(0,s.useAppSelector)(l.selectOuterModel),t=(0,s.useAppDispatch)(),r=a.Model.fromJson(e),u=r.getNodeById("bottom_tabset");return(0,n.useEffect)((function(){r.doAction(a.Actions.updateModelAttributes({tabSetTabStripHeight:34,tabSetTabHeaderHeight:34,borderBarSize:50}))}),[]),0===u.getChildren().length?r.doAction(a.Actions.updateNodeAttributes(u.getId(),{height:-8})):-8===u.getHeight()&&r.doAction(a.Actions.updateNodeAttributes(u.getId(),{height:34})),n.createElement(o.WidgetManagerView,{factory:i.widgetManagerFactory,model:r,onModelChange:function(e){t((0,l.updateOuterModel)(e.toJson()))},onRenderTab:function(e,t){t.content=n.createElement(c.TabTitleContainer,{node:e}),t.leading=n.createElement(n.Fragment,null)}})}},75876:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WidgetManagerInnerContainer:()=>d});var n=r(36198),o=r(85914),i=r(7250),a=r(86352),s=r(7496),l=r(77209),c=r(43674),u=r(64814),f=function(){var e=(0,s.useAppSelector)(l.selectInnerModel),t=(0,s.useAppDispatch)(),r=a.Model.fromJson(e);return(0,n.useEffect)((function(){r.doAction(a.Actions.updateModelAttributes({tabSetTabStripHeight:34,tabSetTabHeaderHeight:34,borderBarSize:50}))}),[]),(0,n.useEffect)((function(){var e,n=null===(e=r.getActiveTabset())||void 0===e?void 0:e.getSelectedNode();t(void 0!==n?(0,l.updateMainWidgetContext)({nodeId:n.getId()}):(0,l.updateMainWidgetContext)(null))}),[r]),n.createElement(o.WidgetManagerView,{className:"widget-manager--inner",createContextMenuItems:u.createContextMenuItems,factory:i.widgetManagerFactory,model:r,onModelChange:function(e){t((0,l.updateInnerModel)(e.toJson()))},onRenderTab:function(e,t){t.content=n.createElement(c.TabTitleOuterContainer,{node:e}),t.leading=n.createElement(n.Fragment,null)}})},d=(0,n.memo)(f)},77209:(e,t,r)=>{"use strict";r.r(t),r.d(t,{closeWidget:()=>E,initialState:()=>d,openBottomWidget:()=>O,openLeftWidget:()=>w,openMainWidget:()=>b,openRightWidget:()=>S,selectInnerModel:()=>P,selectMainWidgetContext:()=>j,selectOuterModel:()=>T,setActiveWidgetById:()=>x,slice:()=>p,updateInnerModel:()=>v,updateMainWidgetContext:()=>g,updateOuterModel:()=>y,widgetManagerSliceName:()=>h});var n=r(7496),o=r(8327),i=r(86352),a=r(51802),s=r(15419);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{getTabTokens:()=>c,useStyles:()=>u});var n,o=r(99291);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{WidgetManagerView:()=>p});var n=r(36198),o=r(86352),i=r(83941),a=r(23170);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var l=["className","createContextMenuItems"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=function(e){var t=e.className,r=e.createContextMenuItems,s=d(e,l),c=(0,i.useStyles)().styles,f=(0,a.useContextMenu)(s.model,r),p=f.showContextMenu,h=f.dropdown;return n.createElement("div",{className:["widget-manager",t,c.widgetManager].join(" ")},n.createElement(o.Layout,u(u({},s),{},{onContextMenu:p})),h)}},89334:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{WidgetTitle:(0,e.css)(n||(t=["\n display: flex;\n padding: ","px ","px;\n gap: 8px;\n align-items: center;\n color: ",";\n font-weight: 600;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingXS,o.paddingSM,o.Tree.colorPrimaryHeading)}}),{hashPriority:"low"})},42603:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TitleView:()=>c});var n=r(54663),o=r(36198),i=r(89334);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){var n;return n=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=function(e){var t=(0,i.useStyles)().styles,r=e.title,a=e.icon,c=e.className;return console.log(a),o.createElement("div",{className:[t.WidgetTitle,c,"foobar"].join(" ")},o.createElement(n.Icon,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{WidgetContainer:()=>d,WidgetContext:()=>f});var n=r(36198),o=r(86352),i=r(17368);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){var n;return n=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(99291).createStyles)((function(e){var t,r,o=e.token;return{Widget:(0,e.css)(n||(t=["\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n .widget__content {\n flex: 1;\n overflow: auto;\n contain: layout size;\n }\n\n .widget__title {\n padding-top: ","px;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingSM)}}),{hashPriority:"low"})},17368:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WidgetView:()=>u,cssContainerWidget:()=>l});var n=r(36198),o=r(42603),i=r(22687),a=r(30811),s=r(77128),l={name:"widget"},c=function(e){var t=(0,s.useCssContainer)(l).styleDefinition,r=(0,i.useStyles)().styles,c=e.title,u=e.showTitle,f=e.icon,d=e.children,p=(0,a.useTranslation)().t;return n.createElement("div",{className:["widget",r.Widget,t.styles.container].join(" ")},!0===u&&n.createElement(o.TitleView,{className:"widget__title",icon:f,title:p(c)}),n.createElement("div",{className:"widget__content"},d))},u=n.memo(c)},96277:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{GlobalStyles:()=>a});var o,i,a=(0,r(99291).createGlobalStyle)(n||(o=["\n @font-face {\n font-family: Lato;\n src: url(../fonts/Lato-Regular.ttf);\n }\n\n @font-face {\n font-family: Lato;\n src: url(../fonts/Lato-Light.ttf);\n font-weight: 300;\n }\n\n @font-face {\n font-family: Lato;\n src: url(../fonts/Lato-Bold.ttf);\n font-weight: 700;\n }\n\n * {\n box-sizing: border-box;\n }\n\n /** MESSAGE **/\n .ant-message {\n position: absolute;\n bottom: 20px !important;\n top: unset !important;\n }\n\n @keyframes moveUp {\n 0% {\n transform: translateY(+30%);\n opacity: 0;\n }\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n }\n\n .ant-message .ant-message-move-up-appear,\n .ant-message .ant-message-move-up-enter {\n animation-name: moveUp;\n }\n\n .ant-message .ant-message-move-up-leave {\n animation-name: moveUp;\n animation-direction: reverse;\n }\n\n .p-none {\n padding: 0;\n }\n\n .p-mini {\n padding: ","px;\n }\n\n .p-extra-small {\n padding: ","px;\n }\n\n .p-small {\n padding: ","px;\n }\n\n .p-normal {\n padding: ","px;\n }\n\n .p-medium {\n padding: ","px;\n }\n\n .p-large {\n padding: ","px;\n }\n\n .p-extra-large {\n padding: ","px;\n }\n\n .p-maxi {\n // @todo check missing padding token\n padding: ","px;\n }\n\n .p-y-none {\n padding-top: 0;\n padding-bottom: 0;\n }\n\n .p-y-mini {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-extra-small {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-small {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-normal {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-medium {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-large {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-extra-large {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-maxi {\n // @todo check missing padding token\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-x-none {\n padding-left: 0;\n padding-right: 0;\n }\n\n .p-x-mini {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-extra-small {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-small {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-normal {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-medium {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-large {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-extra-large {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-maxi {\n // @todo check missing padding token\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-t-none {\n padding-top: 0;\n }\n\n .p-t-mini {\n padding-top: ","px;\n }\n\n .p-t-extra-small {\n padding-top: ","px;\n }\n\n .p-t-small {\n padding-top: ","px;\n }\n\n .p-t-normal {\n padding-top: ","px;\n }\n\n .p-t-medium {\n padding-top: ","px;\n }\n\n .p-t-large {\n padding-top: ","px;\n }\n\n .p-t-extra-large {\n padding-top: ","px;\n }\n\n .p-t-maxi {\n // @todo check missing padding token\n padding-top: ","px;\n }\n\n .p-b-none {\n padding-bottom: 0;\n }\n\n .p-b-mini {\n padding-bottom: ","px;\n }\n\n .p-b-extra-small {\n padding-bottom: ","px;\n }\n\n .p-b-small {\n padding-bottom: ","px;\n }\n\n .p-b-normal {\n padding-bottom: ","px;\n }\n\n .p-b-medium {\n padding-bottom: ","px;\n }\n\n .p-b-large {\n padding-bottom: ","px;\n }\n\n .p-b-extra-large {\n padding-bottom: ","px;\n }\n\n .p-b-maxi {\n // @todo check missing padding token\n padding-bottom: ","px;\n }\n\n .p-l-none {\n padding-left: 0;\n }\n\n .p-l-mini {\n padding-left: ","px;\n }\n\n .p-l-extra-small {\n padding-left: ","px;\n }\n\n .p-l-small {\n padding-left: ","px;\n }\n\n .p-l-normal {\n padding-left: ","px;\n }\n\n .p-l-medium {\n padding-left: ","px;\n }\n\n .p-l-large {\n padding-left: ","px;\n }\n\n .p-l-extra-large {\n padding-left: ","px;\n }\n\n .p-l-maxi {\n // @todo check missing padding token\n padding-left: ","px;\n }\n\n .p-r-none {\n padding-right: 0;\n }\n\n .p-r-mini {\n padding-right: ","px;\n }\n\n .p-r-extra-small {\n padding-right: ","px;\n }\n\n .p-r-small {\n padding-right: ","px;\n }\n\n .p-r-normal {\n padding-right: ","px;\n }\n\n .p-r-medium {\n padding-right: ","px;\n }\n\n .p-r-large {\n padding-right: ","px;\n }\n\n .p-r-extra-large {\n padding-right: ","px;\n }\n\n .p-r-maxi {\n // @todo check missing padding token\n padding-right: ","px;\n }\n\n .m-none {\n margin: 0;\n }\n\n .m-mini {\n margin: ","px;\n }\n\n .m-extra-small {\n margin: ","px;\n }\n\n .m-small {\n margin: ","px;\n }\n\n .m-normal {\n margin: ","px;\n }\n\n .m-medium {\n margin: ","px;\n }\n\n .m-large {\n margin: ","px;\n }\n\n .m-extra-large {\n margin: ","px;\n }\n\n .m-maxi {\n // @todo check missing margin token\n margin: ","px;\n }\n\n .m-y-none {\n margin-top: 0;\n margin-bottom: 0;\n }\n\n .m-y-mini {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-extra-small {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-small {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-normal {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-medium {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-large {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-extra-large {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-maxi {\n // @todo check missing margin token\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-x-none {\n margin-left: 0;\n margin-right: 0;\n }\n\n .m-x-mini {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-extra-small {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-small {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-normal {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-medium {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-large {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-extra-large {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-maxi {\n // @todo check missing margin token\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-t-none {\n margin-top: 0;\n }\n\n .m-t-mini {\n margin-top: ","px;\n }\n\n .m-t-extra-small {\n margin-top: ","px;\n }\n\n .m-t-small {\n margin-top: ","px;\n }\n\n .m-t-normal {\n margin-top: ","px;\n }\n\n .m-t-medium {\n margin-top: ","px;\n }\n\n .m-t-large {\n margin-top: ","px;\n }\n\n .m-t-extra-large {\n margin-top: ","px;\n }\n\n .m-t-maxi {\n // @todo check missing margin token\n margin-top: ","px;\n }\n\n .m-b-none {\n margin-bottom: 0;\n }\n\n .m-b-mini {\n margin-bottom: ","px;\n }\n\n .m-b-extra-small {\n margin-bottom: ","px;\n }\n\n .m-b-small {\n margin-bottom: ","px;\n }\n\n .m-b-normal {\n margin-bottom: ","px;\n }\n\n .m-b-medium {\n margin-bottom: ","px;\n }\n\n .m-b-large {\n margin-bottom: ","px;\n }\n\n .m-b-extra-large {\n margin-bottom: ","px;\n }\n\n .m-b-maxi {\n // @todo check missing margin token\n margin-bottom: ","px;\n }\n\n .m-l-none {\n margin-left: 0;\n }\n\n .m-l-mini {\n margin-left: ","px;\n }\n\n .m-l-extra-small {\n margin-left: ","px;\n }\n\n .m-l-small {\n margin-left: ","px;\n }\n\n .m-l-normal {\n margin-left: ","px;\n }\n\n .m-l-medium {\n margin-left: ","px;\n }\n\n .m-l-large {\n margin-left: ","px;\n }\n\n .m-l-extra-large {\n margin-left: ","px;\n }\n\n .m-l-maxi {\n // @todo check missing margin token\n margin-left: ","px;\n }\n\n .m-r-none {\n margin-right: 0;\n }\n\n .m-r-mini {\n margin-right: ","px;\n }\n\n .m-r-extra-small {\n margin-right: ","px;\n }\n\n .m-r-small {\n margin-right: ","px;\n }\n\n .m-r-normal {\n margin-right: ","px;\n }\n\n .m-r-medium {\n margin-right: ","px;\n }\n\n .m-r-large {\n margin-right: ","px;\n }\n\n .m-r-extra-large {\n margin-right: ","px;\n }\n\n .m-r-maxi {\n // @todo check missing margin token\n margin-right: ","px;\n }\n\n .relative {\n position: relative;\n }\n\n .absolute {\n position: absolute;\n }\n\n .w-full {\n width: 100%;\n }\n\n .min-w-100 {\n min-width: 100px;\n }\n\n .h-full {\n height: 100%;\n }\n\n .overflow-x-auto {\n overflow-x: auto;\n }\n"],i||(i=o.slice(0)),n=Object.freeze(Object.defineProperties(o,{raw:{value:Object.freeze(i)}}))),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}))},16437:(e,t,r)=>{"use strict";r.r(t),r.d(t,{toCssDimension:()=>n});var n=function(e,t){if(null==e||""===e){if(void 0===t)return;e=t}return"number"==typeof e?"".concat(e,"px"):e}},6745:(e,t,r)=>{"use strict";function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(0===e)return"0 B";var r=["B","KB","MB","GB","TB"],n=Math.floor(Math.log(e)/Math.log(1e3));return n=Math.min(n,r.length-1),e/=Math.pow(1e3,n),"".concat(e.toFixed(t)," ").concat(r[n])}r.r(t),r.d(t,{formatDataUnit:()=>n})},63664:(e,t,r)=>{"use strict";r.r(t),r.d(t,{formatDate:()=>l,formatDateTime:()=>s,formatTime:()=>c});var n=r(36609);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){var n;return n=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==o(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){var t=e.timestamp,r=e.lng,o=e.timeStyle,s=e.dateStyle,l=e.options;if(void 0===r&&(r=n.default.language),null===t)return"";try{var c=new Date(1e3*t);return n.default.format(c,"datetime",r,function(e){for(var t=1;t{"use strict";function n(e,t){var r=e.split(".");return r[r.length-1]=t,r.join(".")}function o(e,t){var r=document.createElement("a");r.download=null!=t?t:"",r.href=e,r.click()}r.r(t),r.d(t,{replaceFileEnding:()=>n,saveFileLocal:()=>o})},38576:(e,t,r)=>{"use strict";r.r(t),r.d(t,{isSet:()=>i,onKeyEnterExecuteClick:()=>o,respectLineBreak:()=>a});var n=r(36198);function o(e){"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),e.currentTarget.click())}function i(e){return null!=e}function a(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.replace(/\n+$/,"").split("\n");return t?n.createElement("div",null,r.map((function(e,t){return n.createElement("p",{key:t},e)}))):n.createElement("div",null,r.map((function(e,t,r){return n.createElement(n.Fragment,{key:t},e,t{"use strict";r.r(t),r.d(t,{useClickOutside:()=>a});var n=r(36198);function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";var n;r.r(t),r.d(t,{useCssContainerStyles:()=>o});var o=(0,r(99291).createStyles)((function(e,t){var r,o;e.token;return{container:(0,e.css)(n||(r=["\n container: "," / ",";\n "],o||(o=r.slice(0)),n=Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}}))),t.name,t.type)}}))},77128:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useCssContainer:()=>i});var n=r(36198),o=r(24519),i=function(e){var t=e.name,r=e.type,i=void 0===r?"size":r,a=(0,o.useCssContainerStyles)({name:t,type:i});return(0,n.useMemo)((function(){return{styleDefinition:a}}),[])}},2776:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(36198);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(42938);const o=function(){var e=(0,n.useListPage)(),t=e.page,r=e.setPage,o=(0,n.useListPageSize)(),i=o.pageSize,a=o.setPageSize;return{page:t,pageSize:i,handlePageChange:function(e,t){r(e),a(t)}}}},27526:(e,t,r)=>{"use strict";r.r(t),r.d(t,{usePrevious:()=>o});var n=r(36198),o=function(e){var t=(0,n.useRef)();return(0,n.useEffect)((function(){t.current=e}),[e]),t.current}},38968:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useServerSideEvent:()=>i});var n=r(36198),o=r(7056).appConfig.mercureUrl,i=function(e){var t,r=e.topics,i=e.messageHandler,a=e.openHandler;if(0===r.length)throw new Error("No topics provided");function s(){void 0!==t&&t.close()}return(0,n.useEffect)((function(){return function(){s()}}),[]),{open:function(){var e=new URL(o);r.forEach((function(t){e.searchParams.append("topic",t)})),t=new EventSource(e.toString()),void 0!==i&&(t.onmessage=i),void 0!==a&&(t.onopen=a)},close:s}}},66395:(e,t,r)=>{"use strict";r.r(t),r.d(t,{formatNumber:()=>o});var n=r(36609);function o(e){var t=e.value,r=e.lng,o=e.options;return void 0===r&&(r=n.default.language),n.default.format(t,"number",r,o)}},56239:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(){o=function(){return t};var e,t={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var o=t&&t.prototype instanceof b?t:b,i=Object.create(o.prototype),s=new D(n||[]);return a(i,"_invoke",{value:j(e,r,s)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",y="executing",g="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,l,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(L([])));E&&E!==r&&i.call(E,l)&&(S=E);var _=w.prototype=b.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(o,a,s,l){var c=p(e[o],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==n(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return r("throw",e,s,l)}))}l(c.arg)}var o;a(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function j(t,r,n){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=C(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?g:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function C(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function i(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function s(e){i(a,n,o,s,l,"next",e)}function l(e){i(a,n,o,s,l,"throw",e)}s(void 0)}))}}function s(e){return l.apply(this,arguments)}function l(){return l=a(o().mark((function e(t){var r,n,i,s,l;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.url,n=t.onSuccess,i=t.interval,s=void 0===i?3e3:i,l=function(){var e=a(o().mark((function e(){var t,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(r);case 2:if(200!==(t=e.sent).status){e.next=10;break}return e.next=6,t.blob();case 6:i=e.sent,n(i),e.next=15;break;case 10:if(202!==t.status){e.next=14;break}setTimeout(l,s),e.next=15;break;case 14:throw new Error("Unexpected response status: ".concat(t.status));case 15:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.next=4,l();case 4:case"end":return e.stop()}}),e)}))),l.apply(this,arguments)}r.r(t),r.d(t,{fetchBlobWithPolling:()=>s})},72657:(e,t,r)=>{"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:[""],o=[],i=n(e);try{for(i.s();!(t=i.n()).done;){var a=t.value;r.includes(a.value)||o.push("".concat(a.key,"=").concat(a.value))}}catch(e){i.e(e)}finally{i.f()}return o.join("&")}r.r(t),r.d(t,{buildQueryString:()=>i})},79342:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.r(t),r.d(t,{isEmptyValue:()=>o});var o=function(e){return null==e||("object"!==n(e)||Array.isArray(e)?"object"===n(e)&&Array.isArray(e)?0===e.length:"string"==typeof e&&0===e.trim().length:0===Object.keys(e).length)}},86536:(e,t,r)=>{"use strict";r.r(t),r.d(t,{uuid:()=>o});var n=r(48422);function o(){return(0,n.v4)()}},27484:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,r=36e5,n="millisecond",o="second",i="minute",a="hour",s="day",l="week",c="month",u="quarter",f="year",d="date",p="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},g=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},v={s:g,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),o=r%60;return(t<=0?"+":"-")+g(n,2,"0")+":"+g(o,2,"0")},m:function e(t,r){if(t.date()1)return e(a[0])}else{var s=t.name;O[s]=t,o=s}return!n&&o&&(b=o),o||!n&&b},E=function(e,t){if(S(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new P(r)},_=v;_.l=x,_.i=S,_.w=function(e,t){return E(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var P=function(){function y(e){this.$L=x(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var g=y.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(_.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(h);if(n){var o=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return _},g.isValid=function(){return!(this.$d.toString()===p)},g.isSame=function(e,t){var r=E(e);return this.startOf(t)<=r&&r<=this.endOf(t)},g.isAfter=function(e,t){return E(e)68?1900:2e3)},l=function(e){return function(t){this[e]=+t}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),r=60*t[1]+(+t[2]||0);return 0===r?0:"+"===t[0]?-r:r}(e)}],u=function(e){var t=a[e];return t&&(t.indexOf?t:t.s.concat(t.f))},f=function(e,t){var r,n=a.meridiem;if(n){for(var o=1;o<=24;o+=1)if(e.indexOf(n(o,0,t))>-1){r=o>12;break}}else r=e===(t?"pm":"PM");return r},d={A:[i,function(e){this.afternoon=f(e,!1)}],a:[i,function(e){this.afternoon=f(e,!0)}],Q:[r,function(e){this.month=3*(e-1)+1}],S:[r,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[o,l("seconds")],ss:[o,l("seconds")],m:[o,l("minutes")],mm:[o,l("minutes")],H:[o,l("hours")],h:[o,l("hours")],HH:[o,l("hours")],hh:[o,l("hours")],D:[o,l("day")],DD:[n,l("day")],Do:[i,function(e){var t=a.ordinal,r=e.match(/\d+/);if(this.day=r[0],t)for(var n=1;n<=31;n+=1)t(n).replace(/\[|\]/g,"")===e&&(this.day=n)}],w:[o,l("week")],ww:[n,l("week")],M:[o,l("month")],MM:[n,l("month")],MMM:[i,function(e){var t=u("months"),r=(u("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(r<1)throw new Error;this.month=r%12||r}],MMMM:[i,function(e){var t=u("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,l("year")],YY:[n,function(e){this.year=s(e)}],YYYY:[/\d{4}/,l("year")],Z:c,ZZ:c};function p(r){var n,o;n=r,o=a&&a.formats;for(var i=(r=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,r,n){var i=n&&n.toUpperCase();return r||o[n]||e[n]||o[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,r){return t||r.slice(1)}))}))).match(t),s=i.length,l=0;l-1)return new Date(("X"===t?1e3:1)*e);var o=p(t)(e),i=o.year,a=o.month,s=o.day,l=o.hours,c=o.minutes,u=o.seconds,f=o.milliseconds,d=o.zone,h=o.week,m=new Date,y=s||(i||a?1:m.getDate()),g=i||m.getFullYear(),v=0;i&&!a||(v=a>0?a-1:m.getMonth());var b,O=l||0,w=c||0,S=u||0,x=f||0;return d?new Date(Date.UTC(g,v,y,O,w,S,x+60*d.offset*1e3)):r?new Date(Date.UTC(g,v,y,O,w,S,x)):(b=new Date(g,v,y,O,w,S,x),h&&(b=n(b).week(h).toDate()),b)}catch(e){return new Date("")}}(t,s,n,r),this.init(),f&&!0!==f&&(this.$L=this.locale(f).$L),u&&t!=this.format(s)&&(this.$d=new Date("")),a={}}else if(s instanceof Array)for(var d=s.length,h=1;h<=d;h+=1){i[1]=s[h-1];var m=r.apply(this,i);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}h===d&&(this.$d=new Date(""))}else o.call(this,e)}}}()},96036:function(e){e.exports=function(){"use strict";return function(e,t,r){var n=t.prototype,o=function(e){return e&&(e.indexOf?e:e.s)},i=function(e,t,r,n,i){var a=e.name?e:e.$locale(),s=o(a[t]),l=o(a[r]),c=s||l.map((function(e){return e.slice(0,n)}));if(!i)return c;var u=a.weekStart;return c.map((function(e,t){return c[(t+(u||0))%7]}))},a=function(){return r.Ls[r.locale()]},s=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,r){return t||r.slice(1)}))}(e.formats[t.toUpperCase()])},l=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):i(e,"months")},monthsShort:function(t){return t?t.format("MMM"):i(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):i(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):i(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):i(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};n.localeData=function(){return l.bind(this)()},r.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},r.months=function(){return i(a(),"months")},r.monthsShort=function(){return i(a(),"monthsShort","months",3)},r.weekdays=function(e){return i(a(),"weekdays",null,null,e)},r.weekdaysShort=function(e){return i(a(),"weekdaysShort","weekdays",3,e)},r.weekdaysMin=function(e){return i(a(),"weekdaysMin","weekdays",2,e)}}}()},29387:function(e){e.exports=function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(r,n,o){var i,a=function(e,r,n){void 0===n&&(n={});var o=new Date(e),i=function(e,r){void 0===r&&(r={});var n=r.timeZoneName||"short",o=e+"|"+n,i=t[o];return i||(i=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:n}),t[o]=i),i}(r,n);return i.formatToParts(o)},s=function(t,r){for(var n=a(t,r),i=[],s=0;s=0&&(i[f]=parseInt(u,10))}var d=i[3],p=24===d?0:d,h=i[0]+"-"+i[1]+"-"+i[2]+" "+p+":"+i[4]+":"+i[5]+":000",m=+t;return(o.utc(h).valueOf()-(m-=m%1e3))/6e4},l=n.prototype;l.tz=function(e,t){void 0===e&&(e=i);var r,n=this.utcOffset(),a=this.toDate(),s=a.toLocaleString("en-US",{timeZone:e}),l=Math.round((a-new Date(s))/1e3/60),c=15*-Math.round(a.getTimezoneOffset()/15)-l;if(Number(c)){if(r=o(s,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(c,!0),t){var u=r.utcOffset();r=r.add(n-u,"minute")}}else r=this.utcOffset(0,t);return r.$x.$timezone=e,r},l.offsetName=function(e){var t=this.$x.$timezone||o.tz.guess(),r=a(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return r&&r.value};var c=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var r=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return c.call(r,e,t).tz(this.$x.$timezone,!0)},o.tz=function(e,t,r){var n=r&&t,a=r||t||i,l=s(+o(),a);if("string"!=typeof e)return o(e).tz(a);var c=function(e,t,r){var n=e-60*t*1e3,o=s(n,r);if(t===o)return[n,t];var i=s(n-=60*(o-t)*1e3,r);return o===i?[n,o]:[e-60*Math.min(o,i)*1e3,Math.max(o,i)]}(o.utc(e,n).valueOf(),l,a),u=c[0],f=c[1],d=o(u).utcOffset(f);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(e){i=e}}}()},70178:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(n,o,i){var a=o.prototype;i.utc=function(e){return new o({date:e,utc:!0,args:arguments})},a.utc=function(t){var r=i(this.toDate(),{locale:this.$L,utc:!0});return t?r.add(this.utcOffset(),e):r},a.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var l=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var c=a.utcOffset;a.utcOffset=function(n,o){var i=this.$utils().u;if(i(n))return this.$u?0:i(this.$offset)?c.call(this):this.$offset;if("string"==typeof n&&(n=function(e){void 0===e&&(e="");var n=e.match(t);if(!n)return null;var o=(""+n[0]).match(r)||["-",0,0],i=o[0],a=60*+o[1]+ +o[2];return 0===a?0:"+"===i?a:-a}(n),null===n))return this;var a=Math.abs(n)<=16?60*n:n,s=this;if(o)return s.$offset=a,s.$u=0===n,s;if(0!==n){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+l,e)).$offset=a,s.$x.$localOffset=l}else s=this.utc();return s};var u=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var f=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var d=a.diff;a.diff=function(e,t,r){if(e&&this.$u===e.$u)return d.call(this,e,t,r);var n=this.local(),o=i(e).local();return d.call(n,o,t,r)}}}()},55183:function(e){e.exports=function(){"use strict";var e="week",t="year";return function(r,n,o){var i=n.prototype;i.week=function(r){if(void 0===r&&(r=null),null!==r)return this.add(7*(r-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var i=o(this).startOf(t).add(1,t).date(n),a=o(this).endOf(e);if(i.isBefore(a))return 1}var s=o(this).startOf(t).date(n).startOf(e).subtract(1,"millisecond"),l=this.diff(s,e,!0);return l<0?o(this).startOf("week").week():Math.ceil(l)},i.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}()},172:function(e){e.exports=function(){"use strict";return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),r=this.year();return 1===t&&11===e?r+1:0===e&&t>=52?r-1:r}}}()},6833:function(e){e.exports=function(){"use strict";return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,r=this.$W,n=(r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Attribute=void 0;class r{constructor(e,t,r,n){this.name=e,this.modelName=t,this.defaultValue=r,this.alwaysWriteJson=n,this.required=!1,this.fixed=!1,this.type="any"}setType(e){return this.type=e,this}setRequired(){return this.required=!0,this}setFixed(){return this.fixed=!0,this}}t.Attribute=r,r.NUMBER="number",r.STRING="string",r.BOOLEAN="boolean"},58267:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeDefinitions=void 0;const n=r(17029);t.AttributeDefinitions=class{constructor(){this.attributes=[],this.nameToAttribute={}}addWithAll(e,t,r,o){const i=new n.Attribute(e,t,r,o);return this.attributes.push(i),this.nameToAttribute[e]=i,i}addInherited(e,t){return this.addWithAll(e,t,void 0,!1)}add(e,t,r){return this.addWithAll(e,void 0,t,r)}getAttributes(){return this.attributes}getModelName(e){const t=this.nameToAttribute[e];if(void 0!==t)return t.modelName}toJson(e,t){for(const r of this.attributes){const n=t[r.name];(r.alwaysWriteJson||n!==r.defaultValue)&&(e[r.name]=n)}}fromJson(e,t){for(const r of this.attributes){const n=e[r.name];t[r.name]=void 0===n?r.defaultValue:n}}update(e,t){for(const r of this.attributes)if(e.hasOwnProperty(r.name)){const n=e[r.name];void 0===n?delete t[r.name]:t[r.name]=n}}setDefaults(e){for(const t of this.attributes)e[t.name]=t.defaultValue}toTypescriptInterface(e,t){const r=[],n=this.attributes.sort(((e,t)=>e.name.localeCompare(t.name)));r.push("export interface I"+e+"Attributes {");for(let e=0;e0?" // "+e:""))}}return r.push("}"),r.join("\n")}}},40232:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DockLocation=void 0;const n=r(13380),o=r(10807);class i{static getByName(e){return i.values[e]}static getLocation(e,t,r){if(t=(t-e.x)/e.width,r=(r-e.y)/e.height,t>=.25&&t<.75&&r>=.25&&r<.75)return i.CENTER;const n=r>=1-t;return r>=t?n?i.BOTTOM:i.LEFT:n?i.RIGHT:i.TOP}constructor(e,t,r){this._name=e,this._orientation=t,this._indexPlus=r,i.values[this._name]=this}getName(){return this._name}getOrientation(){return this._orientation}getDockRect(e){return this===i.TOP?new o.Rect(e.x,e.y,e.width,e.height/2):this===i.BOTTOM?new o.Rect(e.x,e.getBottom()-e.height/2,e.width,e.height/2):this===i.LEFT?new o.Rect(e.x,e.y,e.width/2,e.height):this===i.RIGHT?new o.Rect(e.getRight()-e.width/2,e.y,e.width/2,e.height):e.clone()}split(e,t){if(this===i.TOP){return{start:new o.Rect(e.x,e.y,e.width,t),end:new o.Rect(e.x,e.y+t,e.width,e.height-t)}}if(this===i.LEFT){return{start:new o.Rect(e.x,e.y,t,e.height),end:new o.Rect(e.x+t,e.y,e.width-t,e.height)}}if(this===i.RIGHT){return{start:new o.Rect(e.getRight()-t,e.y,t,e.height),end:new o.Rect(e.x,e.y,e.width-t,e.height)}}return{start:new o.Rect(e.x,e.getBottom()-t,e.width,t),end:new o.Rect(e.x,e.y,e.width,e.height-t)}}reflect(){return this===i.TOP?i.BOTTOM:this===i.LEFT?i.RIGHT:this===i.RIGHT?i.LEFT:i.TOP}toString(){return"(DockLocation: name="+this._name+", orientation="+this._orientation+")"}}t.DockLocation=i,i.values={},i.TOP=new i("top",n.Orientation.VERT,0),i.BOTTOM=new i("bottom",n.Orientation.VERT,1),i.LEFT=new i("left",n.Orientation.HORZ,0),i.RIGHT=new i("right",n.Orientation.HORZ,1),i.CENTER=new i("center",n.Orientation.VERT,0)},30268:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DragDrop=void 0;const n=r(10807),o=!("undefined"==typeof window||!window.document||!window.document.createElement);class i{constructor(){this._manualGlassManagement=!1,this._startX=0,this._startY=0,this._dragDepth=0,this._glassShowing=!1,this._dragging=!1,this._active=!1,o&&(this._glass=document.createElement("div"),this._glass.style.zIndex="998",this._glass.style.backgroundColor="transparent",this._glass.style.outline="none"),this._defaultGlassCursor="default",this._onMouseMove=this._onMouseMove.bind(this),this._onMouseUp=this._onMouseUp.bind(this),this._onKeyPress=this._onKeyPress.bind(this),this._onDragCancel=this._onDragCancel.bind(this),this._onDragEnter=this._onDragEnter.bind(this),this._onDragLeave=this._onDragLeave.bind(this),this.resizeGlass=this.resizeGlass.bind(this),this._lastClick=0,this._clickX=0,this._clickY=0}addGlass(e){var t;this._glassShowing?this._manualGlassManagement=!0:(this._document||(this._document=window.document),this._rootElement||(this._rootElement=this._document.body),this.resizeGlass(),null===(t=this._document.defaultView)||void 0===t||t.addEventListener("resize",this.resizeGlass),this._document.body.appendChild(this._glass),this._glass.tabIndex=-1,this._glass.focus(),this._glass.addEventListener("keydown",this._onKeyPress),this._glass.addEventListener("dragenter",this._onDragEnter,{passive:!1}),this._glass.addEventListener("dragover",this._onMouseMove,{passive:!1}),this._glass.addEventListener("dragleave",this._onDragLeave,{passive:!1}),this._glassShowing=!0,this._fDragCancel=e,this._manualGlassManagement=!1)}resizeGlass(){n.Rect.fromElement(this._rootElement).positionElement(this._glass,"fixed")}hideGlass(){var e;this._glassShowing&&(this._document.body.removeChild(this._glass),null===(e=this._document.defaultView)||void 0===e||e.removeEventListener("resize",this.resizeGlass),this._glassShowing=!1,this._document=void 0,this._rootElement=void 0,this.setGlassCursorOverride(void 0))}_updateGlassCursor(){var e;this._glass.style.cursor=null!==(e=this._glassCursorOverride)&&void 0!==e?e:this._defaultGlassCursor}_setDefaultGlassCursor(e){this._defaultGlassCursor=e,this._updateGlassCursor()}setGlassCursorOverride(e){this._glassCursorOverride=e,this._updateGlassCursor()}startDrag(e,t,r,n,o,i,a,s,l){if(e&&this._lastEvent&&this._lastEvent.type.startsWith("touch")&&e.type.startsWith("mouse")&&e.timeStamp-this._lastEvent.timeStamp<500)return;if(this._dragging)return;this._lastEvent=e,this._document=s||window.document,this._rootElement=l||this._document.body;const c=this._getLocationEvent(e);this.addGlass(o),e?(this._startX=c.clientX,this._startY=c.clientY,window.matchMedia&&!window.matchMedia("(pointer: fine)").matches||this._setDefaultGlassCursor(getComputedStyle(e.target).cursor),this._stopPropagation(e),this._preventDefault(e)):(this._startX=0,this._startY=0,this._setDefaultGlassCursor("default")),this._dragging=!1,this._fDragStart=t,this._fDragMove=r,this._fDragEnd=n,this._fDragCancel=o,this._fClick=i,this._fDblClick=a,this._active=!0,"dragenter"===(null==e?void 0:e.type)?(this._dragDepth=1,this._rootElement.addEventListener("dragenter",this._onDragEnter,{passive:!1}),this._rootElement.addEventListener("dragover",this._onMouseMove,{passive:!1}),this._rootElement.addEventListener("dragleave",this._onDragLeave,{passive:!1}),this._document.addEventListener("dragend",this._onDragCancel,{passive:!1}),this._document.addEventListener("drop",this._onMouseUp,{passive:!1})):(this._document.addEventListener("mouseup",this._onMouseUp,{passive:!1}),this._document.addEventListener("mousemove",this._onMouseMove,{passive:!1}),this._document.addEventListener("touchend",this._onMouseUp,{passive:!1}),this._document.addEventListener("touchmove",this._onMouseMove,{passive:!1}))}isDragging(){return this._dragging}isActive(){return this._active}toString(){return"(DragDrop: startX="+this._startX+", startY="+this._startY+", dragging="+this._dragging+")"}_onKeyPress(e){"Escape"===e.code&&this._onDragCancel()}_onDragCancel(){this._rootElement.removeEventListener("dragenter",this._onDragEnter),this._rootElement.removeEventListener("dragover",this._onMouseMove),this._rootElement.removeEventListener("dragleave",this._onDragLeave),this._document.removeEventListener("dragend",this._onDragCancel),this._document.removeEventListener("drop",this._onMouseUp),this._document.removeEventListener("mousemove",this._onMouseMove),this._document.removeEventListener("mouseup",this._onMouseUp),this._document.removeEventListener("touchend",this._onMouseUp),this._document.removeEventListener("touchmove",this._onMouseMove),this.hideGlass(),void 0!==this._fDragCancel&&this._fDragCancel(this._dragging),this._dragging=!1,this._active=!1}_getLocationEvent(e){let t=e;return e&&e.touches&&(t=e.touches[0]),t}_getLocationEventEnd(e){let t=e;return e.changedTouches&&(t=e.changedTouches[0]),t}_stopPropagation(e){e.stopPropagation&&e.stopPropagation()}_preventDefault(e){return e.preventDefault&&e.cancelable&&e.preventDefault(),e}_onMouseMove(e){this._lastEvent=e;const t=this._getLocationEvent(e);return this._stopPropagation(e),this._preventDefault(e),!this._dragging&&(Math.abs(this._startX-t.clientX)>5||Math.abs(this._startY-t.clientY)>5)&&(this._dragging=!0,this._fDragStart&&(this._setDefaultGlassCursor("move"),this._dragging=this._fDragStart({clientX:this._startX,clientY:this._startY}))),this._dragging&&this._fDragMove&&this._fDragMove(t),!1}_onMouseUp(e){this._lastEvent=e;const t=this._getLocationEventEnd(e);if(this._stopPropagation(e),this._preventDefault(e),this._active=!1,this._rootElement.removeEventListener("dragenter",this._onDragEnter),this._rootElement.removeEventListener("dragover",this._onMouseMove),this._rootElement.removeEventListener("dragleave",this._onDragLeave),this._document.removeEventListener("dragend",this._onDragCancel),this._document.removeEventListener("drop",this._onMouseUp),this._document.removeEventListener("mousemove",this._onMouseMove),this._document.removeEventListener("mouseup",this._onMouseUp),this._document.removeEventListener("touchend",this._onMouseUp),this._document.removeEventListener("touchmove",this._onMouseMove),this._manualGlassManagement||this.hideGlass(),this._dragging)this._dragging=!1,this._fDragEnd&&this._fDragEnd(e);else if(this._fDragCancel&&this._fDragCancel(this._dragging),Math.abs(this._startX-t.clientX)<=5&&Math.abs(this._startY-t.clientY)<=5){let r=!1;const n=(new Date).getTime();Math.abs(this._clickX-t.clientX)<=5&&Math.abs(this._clickY-t.clientY)<=5&&n-this._lastClick<500&&this._fDblClick&&(this._fDblClick(e),r=!0),!r&&this._fClick&&this._fClick(e),this._lastClick=n,this._clickX=t.clientX,this._clickY=t.clientY}return!1}_onDragEnter(e){return this._preventDefault(e),this._stopPropagation(e),this._dragDepth++,!1}_onDragLeave(e){return this._preventDefault(e),this._stopPropagation(e),this._dragDepth--,this._dragDepth<=0&&this._onDragCancel(),!1}}t.DragDrop=i,i.instance=new i},5748:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DropInfo=void 0;t.DropInfo=class{constructor(e,t,r,n,o){this.node=e,this.rect=t,this.location=r,this.index=n,this.className=o}}},25551:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.I18nLabel=void 0,function(e){e.Close_Tab="Close",e.Close_Tabset="Close tabset",e.Move_Tab="Move: ",e.Move_Tabset="Move tabset",e.Maximize="Maximize tabset",e.Restore="Restore tabset",e.Float_Tab="Show selected tab in floating window",e.Overflow_Menu_Tooltip="Hidden tabs",e.Floating_Window_Message="This panel is shown in a floating window",e.Floating_Window_Show_Window="Show window",e.Floating_Window_Dock_Window="Dock window",e.Error_rendering_component="Error rendering component"}(t.I18nLabel||(t.I18nLabel={}))},13380:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Orientation=void 0;class r{static flip(e){return e===r.HORZ?r.VERT:r.HORZ}constructor(e){this._name=e}getName(){return this._name}toString(){return this._name}}t.Orientation=r,r.HORZ=new r("horz"),r.VERT=new r("vert")},40031:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showPopup=void 0;const n=r(36198),o=r(30268),i=r(24115),a=r(15797);t.showPopup=function(e,t,r,a,l,c){var u;const f=a.getRootDiv(),d=a.getClassName,p=e.ownerDocument,h=e.getBoundingClientRect(),m=null!==(u=null==f?void 0:f.getBoundingClientRect())&&void 0!==u?u:new DOMRect(0,0,100,100),y=p.createElement("div");y.className=d(i.CLASSES.FLEXLAYOUT__POPUP_MENU_CONTAINER),h.leftg())),o.DragDrop.instance.setGlassCursorOverride("default"),f&&f.appendChild(y);const g=()=>{a.hidePortal(),o.DragDrop.instance.hideGlass(),f&&f.removeChild(y),y.removeEventListener("mousedown",v),p.removeEventListener("mousedown",b)},v=e=>{e.stopPropagation()},b=e=>{g()};y.addEventListener("mousedown",v),p.addEventListener("mousedown",b),a.showPortal(n.createElement(s,{currentDocument:p,onSelect:r,onHide:g,items:t,classNameMapper:d,layout:a,iconFactory:l,titleFactory:c}),y)};const s=e=>{const{items:t,onHide:r,onSelect:o,classNameMapper:s,layout:l,iconFactory:c,titleFactory:u}=e,f=t.map(((e,t)=>n.createElement("div",{key:e.index,className:s(i.CLASSES.FLEXLAYOUT__POPUP_MENU_ITEM),"data-layout-path":"/popup-menu/tb"+t,onClick:t=>((e,t)=>{o(e),r(),t.stopPropagation()})(e,t),title:e.node.getHelpText()},e.node.getModel().isLegacyOverflowMenu()?e.node._getNameForOverflowMenu():n.createElement(a.TabButtonStamp,{node:e.node,layout:l,iconFactory:c,titleFactory:u}))));return n.createElement("div",{className:s(i.CLASSES.FLEXLAYOUT__POPUP_MENU),"data-layout-path":"/popup-menu"},f)}},10807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rect=void 0;const n=r(13380);class o{static empty(){return new o(0,0,0,0)}constructor(e,t,r,n){this.x=e,this.y=t,this.width=r,this.height=n}static fromElement(e){let{x:t,y:r,width:n,height:i}=e.getBoundingClientRect();return new o(t,r,n,i)}clone(){return new o(this.x,this.y,this.width,this.height)}equals(e){return this.x===(null==e?void 0:e.x)&&this.y===(null==e?void 0:e.y)&&this.width===(null==e?void 0:e.width)&&this.height===(null==e?void 0:e.height)}getBottom(){return this.y+this.height}getRight(){return this.x+this.width}getCenter(){return{x:this.x+this.width/2,y:this.y+this.height/2}}positionElement(e,t){this.styleWithPosition(e.style,t)}styleWithPosition(e,t="absolute"){return e.left=this.x+"px",e.top=this.y+"px",e.width=Math.max(0,this.width)+"px",e.height=Math.max(0,this.height)+"px",e.position=t,e}contains(e,t){return this.x<=e&&e<=this.getRight()&&this.y<=t&&t<=this.getBottom()}removeInsets(e){return new o(this.x+e.left,this.y+e.top,Math.max(0,this.width-e.left-e.right),Math.max(0,this.height-e.top-e.bottom))}centerInRect(e){this.x=(e.width-this.width)/2,this.y=(e.height-this.height)/2}_getSize(e){let t=this.width;return e===n.Orientation.VERT&&(t=this.height),t}toString(){return"(Rect: x="+this.x+", y="+this.y+", width="+this.width+", height="+this.height+")"}}t.Rect=o},24115:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CLASSES=void 0,function(e){e.FLEXLAYOUT__BORDER="flexlayout__border",e.FLEXLAYOUT__BORDER_="flexlayout__border_",e.FLEXLAYOUT__BORDER_BUTTON="flexlayout__border_button",e.FLEXLAYOUT__BORDER_BUTTON_="flexlayout__border_button_",e.FLEXLAYOUT__BORDER_BUTTON_CONTENT="flexlayout__border_button_content",e.FLEXLAYOUT__BORDER_BUTTON_LEADING="flexlayout__border_button_leading",e.FLEXLAYOUT__BORDER_BUTTON_TRAILING="flexlayout__border_button_trailing",e.FLEXLAYOUT__BORDER_BUTTON__SELECTED="flexlayout__border_button--selected",e.FLEXLAYOUT__BORDER_BUTTON__UNSELECTED="flexlayout__border_button--unselected",e.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW="flexlayout__border_toolbar_button_overflow",e.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW_="flexlayout__border_toolbar_button_overflow_",e.FLEXLAYOUT__BORDER_INNER="flexlayout__border_inner",e.FLEXLAYOUT__BORDER_INNER_="flexlayout__border_inner_",e.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER="flexlayout__border_inner_tab_container",e.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER_="flexlayout__border_inner_tab_container_",e.FLEXLAYOUT__BORDER_TAB_DIVIDER="flexlayout__border_tab_divider",e.FLEXLAYOUT__BORDER_SIZER="flexlayout__border_sizer",e.FLEXLAYOUT__BORDER_TOOLBAR="flexlayout__border_toolbar",e.FLEXLAYOUT__BORDER_TOOLBAR_="flexlayout__border_toolbar_",e.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON="flexlayout__border_toolbar_button",e.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_FLOAT="flexlayout__border_toolbar_button-float",e.FLEXLAYOUT__DRAG_RECT="flexlayout__drag_rect",e.FLEXLAYOUT__EDGE_RECT="flexlayout__edge_rect",e.FLEXLAYOUT__EDGE_RECT_TOP="flexlayout__edge_rect_top",e.FLEXLAYOUT__EDGE_RECT_LEFT="flexlayout__edge_rect_left",e.FLEXLAYOUT__EDGE_RECT_BOTTOM="flexlayout__edge_rect_bottom",e.FLEXLAYOUT__EDGE_RECT_RIGHT="flexlayout__edge_rect_right",e.FLEXLAYOUT__ERROR_BOUNDARY_CONTAINER="flexlayout__error_boundary_container",e.FLEXLAYOUT__ERROR_BOUNDARY_CONTENT="flexlayout__error_boundary_content",e.FLEXLAYOUT__FLOATING_WINDOW_CONTENT="flexlayout__floating_window_content",e.FLEXLAYOUT__FLOATING_WINDOW_TAB="flexlayout__floating_window_tab",e.FLEXLAYOUT__LAYOUT="flexlayout__layout",e.FLEXLAYOUT__OUTLINE_RECT="flexlayout__outline_rect",e.FLEXLAYOUT__OUTLINE_RECT_EDGE="flexlayout__outline_rect_edge",e.FLEXLAYOUT__SPLITTER="flexlayout__splitter",e.FLEXLAYOUT__SPLITTER_EXTRA="flexlayout__splitter_extra",e.FLEXLAYOUT__SPLITTER_="flexlayout__splitter_",e.FLEXLAYOUT__SPLITTER_BORDER="flexlayout__splitter_border",e.FLEXLAYOUT__SPLITTER_DRAG="flexlayout__splitter_drag",e.FLEXLAYOUT__TAB="flexlayout__tab",e.FLEXLAYOUT__TABSET="flexlayout__tabset",e.FLEXLAYOUT__TABSET_HEADER="flexlayout__tabset_header",e.FLEXLAYOUT__TABSET_HEADER_SIZER="flexlayout__tabset_header_sizer",e.FLEXLAYOUT__TABSET_HEADER_CONTENT="flexlayout__tabset_header_content",e.FLEXLAYOUT__TABSET_MAXIMIZED="flexlayout__tabset-maximized",e.FLEXLAYOUT__TABSET_SELECTED="flexlayout__tabset-selected",e.FLEXLAYOUT__TABSET_SIZER="flexlayout__tabset_sizer",e.FLEXLAYOUT__TABSET_TAB_DIVIDER="flexlayout__tabset_tab_divider",e.FLEXLAYOUT__TABSET_CONTENT="flexlayout__tabset_content",e.FLEXLAYOUT__TABSET_TABBAR_INNER="flexlayout__tabset_tabbar_inner",e.FLEXLAYOUT__TABSET_TABBAR_INNER_="flexlayout__tabset_tabbar_inner_",e.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER="flexlayout__tabset_tabbar_inner_tab_container",e.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER_="flexlayout__tabset_tabbar_inner_tab_container_",e.FLEXLAYOUT__TABSET_TABBAR_OUTER="flexlayout__tabset_tabbar_outer",e.FLEXLAYOUT__TABSET_TABBAR_OUTER_="flexlayout__tabset_tabbar_outer_",e.FLEXLAYOUT__TAB_BORDER="flexlayout__tab_border",e.FLEXLAYOUT__TAB_BORDER_="flexlayout__tab_border_",e.FLEXLAYOUT__TAB_BUTTON="flexlayout__tab_button",e.FLEXLAYOUT__TAB_BUTTON_STRETCH="flexlayout__tab_button_stretch",e.FLEXLAYOUT__TAB_BUTTON_CONTENT="flexlayout__tab_button_content",e.FLEXLAYOUT__TAB_BUTTON_LEADING="flexlayout__tab_button_leading",e.FLEXLAYOUT__TAB_BUTTON_OVERFLOW="flexlayout__tab_button_overflow",e.FLEXLAYOUT__TAB_BUTTON_OVERFLOW_COUNT="flexlayout__tab_button_overflow_count",e.FLEXLAYOUT__TAB_BUTTON_TEXTBOX="flexlayout__tab_button_textbox",e.FLEXLAYOUT__TAB_BUTTON_TRAILING="flexlayout__tab_button_trailing",e.FLEXLAYOUT__TAB_BUTTON_STAMP="flexlayout__tab_button_stamp",e.FLEXLAYOUT__TAB_FLOATING="flexlayout__tab_floating",e.FLEXLAYOUT__TAB_FLOATING_INNER="flexlayout__tab_floating_inner",e.FLEXLAYOUT__TAB_TOOLBAR="flexlayout__tab_toolbar",e.FLEXLAYOUT__TAB_TOOLBAR_BUTTON="flexlayout__tab_toolbar_button",e.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_="flexlayout__tab_toolbar_button-",e.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_FLOAT="flexlayout__tab_toolbar_button-float",e.FLEXLAYOUT__TAB_TOOLBAR_STICKY_BUTTONS_CONTAINER="flexlayout__tab_toolbar_sticky_buttons_container",e.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_CLOSE="flexlayout__tab_toolbar_button-close",e.FLEXLAYOUT__POPUP_MENU_CONTAINER="flexlayout__popup_menu_container",e.FLEXLAYOUT__POPUP_MENU_ITEM="flexlayout__popup_menu_item",e.FLEXLAYOUT__POPUP_MENU="flexlayout__popup_menu"}(t.CLASSES||(t.CLASSES={}))},86352:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(55295),t),o(r(89349),t),o(r(33076),t),o(r(74268),t),o(r(1073),t),o(r(47562),t),o(r(47548),t),o(r(47984),t),o(r(50161),t),o(r(46466),t),o(r(70089),t),o(r(50996),t),o(r(90191),t),o(r(46677),t),o(r(52733),t),o(r(40232),t),o(r(30268),t),o(r(5748),t),o(r(25551),t),o(r(13380),t),o(r(10807),t),o(r(24115),t)},89349:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Action=void 0;t.Action=class{constructor(e,t){this.type=e,this.data=t}}},33076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Actions=void 0;const n=r(89349);class o{static addNode(e,t,r,i,a){return new n.Action(o.ADD_NODE,{json:e,toNode:t,location:r.getName(),index:i,select:a})}static moveNode(e,t,r,i,a){return new n.Action(o.MOVE_NODE,{fromNode:e,toNode:t,location:r.getName(),index:i,select:a})}static deleteTab(e){return new n.Action(o.DELETE_TAB,{node:e})}static deleteTabset(e){return new n.Action(o.DELETE_TABSET,{node:e})}static renameTab(e,t){return new n.Action(o.RENAME_TAB,{node:e,text:t})}static selectTab(e){return new n.Action(o.SELECT_TAB,{tabNode:e})}static setActiveTabset(e){return new n.Action(o.SET_ACTIVE_TABSET,{tabsetNode:e})}static adjustSplit(e){const t=e.node1Id,r=e.node2Id;return new n.Action(o.ADJUST_SPLIT,{node1:t,weight1:e.weight1,pixelWidth1:e.pixelWidth1,node2:r,weight2:e.weight2,pixelWidth2:e.pixelWidth2})}static adjustBorderSplit(e,t){return new n.Action(o.ADJUST_BORDER_SPLIT,{node:e,pos:t})}static maximizeToggle(e){return new n.Action(o.MAXIMIZE_TOGGLE,{node:e})}static updateModelAttributes(e){return new n.Action(o.UPDATE_MODEL_ATTRIBUTES,{json:e})}static updateNodeAttributes(e,t){return new n.Action(o.UPDATE_NODE_ATTRIBUTES,{node:e,json:t})}static floatTab(e){return new n.Action(o.FLOAT_TAB,{node:e})}static unFloatTab(e){return new n.Action(o.UNFLOAT_TAB,{node:e})}}t.Actions=o,o.ADD_NODE="FlexLayout_AddNode",o.MOVE_NODE="FlexLayout_MoveNode",o.DELETE_TAB="FlexLayout_DeleteTab",o.DELETE_TABSET="FlexLayout_DeleteTabset",o.RENAME_TAB="FlexLayout_RenameTab",o.SELECT_TAB="FlexLayout_SelectTab",o.SET_ACTIVE_TABSET="FlexLayout_SetActiveTabset",o.ADJUST_SPLIT="FlexLayout_AdjustSplit",o.ADJUST_BORDER_SPLIT="FlexLayout_AdjustBorderSplit",o.MAXIMIZE_TOGGLE="FlexLayout_MaximizeToggle",o.UPDATE_MODEL_ATTRIBUTES="FlexLayout_UpdateModelAttributes",o.UPDATE_NODE_ATTRIBUTES="FlexLayout_UpdateNodeAttributes",o.FLOAT_TAB="FlexLayout_FloatTab",o.UNFLOAT_TAB="FlexLayout_UnFloatTab"},74268:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BorderNode=void 0;const n=r(17029),o=r(58267),i=r(40232),a=r(5748),s=r(13380),l=r(10807),c=r(24115),u=r(70089),f=r(90191),d=r(46677),p=r(52968);class h extends u.Node{static _fromJson(e,t){const r=i.DockLocation.getByName(e.location),n=new h(r,e,t);return e.children&&(n._children=e.children.map((e=>{const r=d.TabNode._fromJson(e,t);return r._setParent(n),r}))),n}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("type",h.TYPE,!0).setType(n.Attribute.STRING).setFixed(),e.add("selected",-1).setType(n.Attribute.NUMBER),e.add("show",!0).setType(n.Attribute.BOOLEAN),e.add("config",void 0).setType("any"),e.addInherited("barSize","borderBarSize").setType(n.Attribute.NUMBER),e.addInherited("enableDrop","borderEnableDrop").setType(n.Attribute.BOOLEAN),e.addInherited("className","borderClassName").setType(n.Attribute.STRING),e.addInherited("autoSelectTabWhenOpen","borderAutoSelectTabWhenOpen").setType(n.Attribute.BOOLEAN),e.addInherited("autoSelectTabWhenClosed","borderAutoSelectTabWhenClosed").setType(n.Attribute.BOOLEAN),e.addInherited("size","borderSize").setType(n.Attribute.NUMBER),e.addInherited("minSize","borderMinSize").setType(n.Attribute.NUMBER),e.addInherited("enableAutoHide","borderEnableAutoHide").setType(n.Attribute.BOOLEAN),e}constructor(e,t,r){super(r),this._adjustedSize=0,this._calculatedBorderBarSize=0,this._location=e,this._drawChildren=[],this._attributes.id=`border_${e.getName()}`,h._attributeDefinitions.fromJson(t,this._attributes),r._addNode(this)}getLocation(){return this._location}getTabHeaderRect(){return this._tabHeaderRect}getRect(){return this._tabHeaderRect}getContentRect(){return this._contentRect}isEnableDrop(){return this._getAttr("enableDrop")}isAutoSelectTab(e){return null==e&&(e=-1!==this.getSelected()),e?this._getAttr("autoSelectTabWhenOpen"):this._getAttr("autoSelectTabWhenClosed")}getClassName(){return this._getAttr("className")}calcBorderBarSize(e){const t=this._getAttr("barSize");this._calculatedBorderBarSize=0!==t?t:e.borderBarSize}getBorderBarSize(){return this._calculatedBorderBarSize}getSize(){const e=this._getAttr("size"),t=this.getSelected();if(-1===t)return e;{const r=this._children[t],n=this._location._orientation===s.Orientation.HORZ?r._getAttr("borderWidth"):r._getAttr("borderHeight");return-1===n?e:n}}getMinSize(){return this._getAttr("minSize")}getSelected(){return this._attributes.selected}getSelectedNode(){if(-1!==this.getSelected())return this._children[this.getSelected()]}getOrientation(){return this._location.getOrientation()}getConfig(){return this._attributes.config}isMaximized(){return!1}isShowing(){return!!this._attributes.show&&(this._model._getShowHiddenBorder()===this._location||!this.isAutoHide()||0!==this._children.length)}isAutoHide(){return this._getAttr("enableAutoHide")}_setSelected(e){this._attributes.selected=e}_setSize(e){const t=this.getSelected();if(-1===t)this._attributes.size=e;else{const r=this._children[t];-1===(this._location._orientation===s.Orientation.HORZ?r._getAttr("borderWidth"):r._getAttr("borderHeight"))?this._attributes.size=e:this._location._orientation===s.Orientation.HORZ?r._setBorderWidth(e):r._setBorderHeight(e)}}_updateAttrs(e){h._attributeDefinitions.update(e,this._attributes)}_getDrawChildren(){return this._drawChildren}_setAdjustedSize(e){this._adjustedSize=e}_getAdjustedSize(){return this._adjustedSize}_layoutBorderOuter(e,t){this.calcBorderBarSize(t);const r=this._location.split(e,this.getBorderBarSize());return this._tabHeaderRect=r.start,r.end}_layoutBorderInner(e,t){this._drawChildren=[];const r=this._location,n=r.split(e,this._adjustedSize+this._model.getSplitterSize()),o=r.reflect().split(n.start,this._model.getSplitterSize());this._contentRect=o.end;for(let e=0;e0){let e=this._children[0],r=e.getTabRect();const i=r.y,s=r.height;let u=this._tabHeaderRect.x,f=0;for(let d=0;d=u&&t0){let e=this._children[0],t=e.getTabRect();const i=t.x,s=t.width;let u=this._tabHeaderRect.y,f=0;for(let d=0;d=u&&r0&&r--;let a=r;-1===a&&(a=this._children.length),e.getType()===d.TabNode.TYPE&&this._addChild(e,a),(n||!1!==n&&this.isAutoSelectTab())&&this._setSelected(a),this._model._tidy()}toJson(){const e={};return h._attributeDefinitions.toJson(e,this._attributes),e.location=this._location.getName(),e.children=this._children.map((e=>e.toJson())),e}_getSplitterBounds(e,t=!1){const r=[0,0],n=t?this.getMinSize():0,o=this._model._getOuterInnerRects().outer,a=this._model._getOuterInnerRects().inner,s=this._model.getRoot();return this._location===i.DockLocation.TOP?(r[0]=o.y+n,r[1]=Math.max(r[0],a.getBottom()-e.getHeight()-s.getMinHeight())):this._location===i.DockLocation.LEFT?(r[0]=o.x+n,r[1]=Math.max(r[0],a.getRight()-e.getWidth()-s.getMinWidth())):this._location===i.DockLocation.BOTTOM?(r[1]=o.getBottom()-e.getHeight()-n,r[0]=Math.min(r[1],a.y+s.getMinHeight())):this._location===i.DockLocation.RIGHT&&(r[1]=o.getRight()-e.getWidth()-n,r[0]=Math.min(r[1],a.x+s.getMinWidth())),r}_calculateSplit(e,t){const r=this._getSplitterBounds(e);return this._location===i.DockLocation.BOTTOM||this._location===i.DockLocation.RIGHT?Math.max(0,r[1]-t):Math.max(0,t-r[0])}_getAttributeDefinitions(){return h._attributeDefinitions}static getAttributeDefinitions(){return h._attributeDefinitions}}t.BorderNode=h,h.TYPE="border",h._attributeDefinitions=h._createAttributeDefinitions()},1073:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BorderSet=void 0;const n=r(13380),o=r(74268);class i{static _fromJson(e,t){const r=new i(t);return r._borders=e.map((e=>o.BorderNode._fromJson(e,t))),r}constructor(e){this._model=e,this._borders=[]}getBorders(){return this._borders}_forEachNode(e){for(const t of this._borders){e(t,0);for(const r of t.getChildren())r._forEachNode(e,1)}}_toJson(){return this._borders.map((e=>e.toJson()))}_layoutBorder(e,t){const r=e.outer,o=this._model.getRoot();let i=Math.max(0,r.height-o.getMinHeight()),a=Math.max(0,r.width-o.getMinWidth()),s=0,l=0,c=0,u=0;const f=this._borders.filter((e=>e.isShowing()));for(const e of f){e._setAdjustedSize(e.getSize());const t=-1!==e.getSelected();e.getLocation().getOrientation()===n.Orientation.HORZ?(l+=e.getBorderBarSize(),t&&(a-=this._model.getSplitterSize(),l+=e.getSize(),u+=e.getSize())):(s+=e.getBorderBarSize(),t&&(i-=this._model.getSplitterSize(),s+=e.getSize(),c+=e.getSize()))}let d=0,p=!1;for(;l>a&&u>0||s>i&&c>0;){const e=f[d];if(-1!==e.getSelected()){const t=e._getAdjustedSize();l>a&&u>0&&e.getLocation().getOrientation()===n.Orientation.HORZ&&t>0&&t>e.getMinSize()?(e._setAdjustedSize(t-1),l--,u--,p=!0):s>i&&c>0&&e.getLocation().getOrientation()===n.Orientation.VERT&&t>0&&t>e.getMinSize()&&(e._setAdjustedSize(t-1),s--,c--,p=!0)}if(d=(d+1)%f.length,0===d){if(!p)break;p=!1}}for(const r of f)e.outer=r._layoutBorderOuter(e.outer,t);e.inner=e.outer;for(const r of f)e.inner=r._layoutBorderInner(e.inner,t);return e}_findDropTargetNode(e,t,r){for(const n of this._borders)if(n.isShowing()){const o=n.canDrop(e,t,r);if(void 0!==o)return o}}}t.BorderSet=i},47562:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ICloseType=void 0,function(e){e[e.Visible=1]="Visible",e[e.Always=2]="Always",e[e.Selected=3]="Selected"}(t.ICloseType||(t.ICloseType={}))},47548:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},47984:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},50161:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},46466:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Model=void 0;const n=r(17029),o=r(58267),i=r(40232),a=r(13380),s=r(10807),l=r(33076),c=r(74268),u=r(1073),f=r(50996),d=r(46677),p=r(52733),h=r(52968);class m{static fromJson(e){const t=new m;return m._attributeDefinitions.fromJson(e.global,t._attributes),e.borders&&(t._borders=u.BorderSet._fromJson(e.borders,t)),t._root=f.RowNode._fromJson(e.layout,t),t._tidy(),t}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("legacyOverflowMenu",!1).setType(n.Attribute.BOOLEAN),e.add("enableEdgeDock",!0).setType(n.Attribute.BOOLEAN),e.add("rootOrientationVertical",!1).setType(n.Attribute.BOOLEAN),e.add("marginInsets",{top:0,right:0,bottom:0,left:0}).setType("IInsets"),e.add("enableUseVisibility",!1).setType(n.Attribute.BOOLEAN),e.add("enableRotateBorderIcons",!0).setType(n.Attribute.BOOLEAN),e.add("splitterSize",-1).setType(n.Attribute.NUMBER),e.add("splitterExtra",0).setType(n.Attribute.NUMBER),e.add("tabEnableClose",!0).setType(n.Attribute.BOOLEAN),e.add("tabCloseType",1).setType("ICloseType"),e.add("tabEnableFloat",!1).setType(n.Attribute.BOOLEAN),e.add("tabEnableDrag",!0).setType(n.Attribute.BOOLEAN),e.add("tabEnableRename",!0).setType(n.Attribute.BOOLEAN),e.add("tabContentClassName",void 0).setType(n.Attribute.STRING),e.add("tabClassName",void 0).setType(n.Attribute.STRING),e.add("tabIcon",void 0).setType(n.Attribute.STRING),e.add("tabEnableRenderOnDemand",!0).setType(n.Attribute.BOOLEAN),e.add("tabDragSpeed",.3).setType(n.Attribute.NUMBER),e.add("tabBorderWidth",-1).setType(n.Attribute.NUMBER),e.add("tabBorderHeight",-1).setType(n.Attribute.NUMBER),e.add("tabSetEnableDeleteWhenEmpty",!0).setType(n.Attribute.BOOLEAN),e.add("tabSetEnableDrop",!0).setType(n.Attribute.BOOLEAN),e.add("tabSetEnableDrag",!0).setType(n.Attribute.BOOLEAN),e.add("tabSetEnableDivide",!0).setType(n.Attribute.BOOLEAN),e.add("tabSetEnableMaximize",!0).setType(n.Attribute.BOOLEAN),e.add("tabSetEnableClose",!1).setType(n.Attribute.BOOLEAN),e.add("tabSetEnableSingleTabStretch",!1).setType(n.Attribute.BOOLEAN),e.add("tabSetAutoSelectTab",!0).setType(n.Attribute.BOOLEAN),e.add("tabSetClassNameTabStrip",void 0).setType(n.Attribute.STRING),e.add("tabSetClassNameHeader",void 0).setType(n.Attribute.STRING),e.add("tabSetEnableTabStrip",!0).setType(n.Attribute.BOOLEAN),e.add("tabSetHeaderHeight",0).setType(n.Attribute.NUMBER),e.add("tabSetTabStripHeight",0).setType(n.Attribute.NUMBER),e.add("tabSetMarginInsets",{top:0,right:0,bottom:0,left:0}).setType("IInsets"),e.add("tabSetBorderInsets",{top:0,right:0,bottom:0,left:0}).setType("IInsets"),e.add("tabSetTabLocation","top").setType("ITabLocation"),e.add("tabSetMinWidth",0).setType(n.Attribute.NUMBER),e.add("tabSetMinHeight",0).setType(n.Attribute.NUMBER),e.add("borderSize",200).setType(n.Attribute.NUMBER),e.add("borderMinSize",0).setType(n.Attribute.NUMBER),e.add("borderBarSize",0).setType(n.Attribute.NUMBER),e.add("borderEnableDrop",!0).setType(n.Attribute.BOOLEAN),e.add("borderAutoSelectTabWhenOpen",!0).setType(n.Attribute.BOOLEAN),e.add("borderAutoSelectTabWhenClosed",!1).setType(n.Attribute.BOOLEAN),e.add("borderClassName",void 0).setType(n.Attribute.STRING),e.add("borderEnableAutoHide",!1).setType(n.Attribute.BOOLEAN),e}constructor(){this._borderRects={inner:s.Rect.empty(),outer:s.Rect.empty()},this._attributes={},this._idMap={},this._borders=new u.BorderSet(this),this._pointerFine=!0,this._showHiddenBorder=i.DockLocation.CENTER}_setChangeListener(e){this._changeListener=e}getActiveTabset(){return this._activeTabSet&&this.getNodeById(this._activeTabSet.getId())?this._activeTabSet:void 0}_getShowHiddenBorder(){return this._showHiddenBorder}_setShowHiddenBorder(e){this._showHiddenBorder=e}_setActiveTabset(e){this._activeTabSet=e}getMaximizedTabset(){return this._maximizedTabSet}_setMaximizedTabset(e){this._maximizedTabSet=e}getRoot(){return this._root}isRootOrientationVertical(){return this._attributes.rootOrientationVertical}isUseVisibility(){return this._attributes.enableUseVisibility}isEnableRotateBorderIcons(){return this._attributes.enableRotateBorderIcons}getBorderSet(){return this._borders}_getOuterInnerRects(){return this._borderRects}_getPointerFine(){return this._pointerFine}_setPointerFine(e){this._pointerFine=e}visitNodes(e){this._borders._forEachNode(e),this._root._forEachNode(e,0)}getNodeById(e){return this._idMap[e]}getFirstTabSet(e=this._root){const t=e.getChildren()[0];return t instanceof p.TabSetNode?t:this.getFirstTabSet(t)}doAction(e){let t;switch(e.type){case l.Actions.ADD_NODE:{const r=new d.TabNode(this,e.data.json,!0),n=this._idMap[e.data.toNode];(n instanceof p.TabSetNode||n instanceof c.BorderNode||n instanceof f.RowNode)&&(n.drop(r,i.DockLocation.getByName(e.data.location),e.data.index,e.data.select),t=r);break}case l.Actions.MOVE_NODE:{const t=this._idMap[e.data.fromNode];if(t instanceof d.TabNode||t instanceof p.TabSetNode){const r=this._idMap[e.data.toNode];(r instanceof p.TabSetNode||r instanceof c.BorderNode||r instanceof f.RowNode)&&r.drop(t,i.DockLocation.getByName(e.data.location),e.data.index,e.data.select)}break}case l.Actions.DELETE_TAB:{const t=this._idMap[e.data.node];t instanceof d.TabNode&&t._delete();break}case l.Actions.DELETE_TABSET:{const t=this._idMap[e.data.node];if(t instanceof p.TabSetNode){const e=[...t.getChildren()];for(let t=0;tthis._idMap[e.getId()]=e))}_adjustSplitSide(e,t,r){e._setWeight(t),null!=e.getWidth()&&e.getOrientation()===a.Orientation.VERT?e._updateAttrs({width:r}):null!=e.getHeight()&&e.getOrientation()===a.Orientation.HORZ&&e._updateAttrs({height:r})}toJson(){const e={};return m._attributeDefinitions.toJson(e,this._attributes),this.visitNodes((e=>{e._fireEvent("save",void 0)})),{global:e,borders:this._borders._toJson(),layout:this._root.toJson()}}getSplitterSize(){let e=this._attributes.splitterSize;return-1===e&&(e=this._pointerFine?8:12),e}isLegacyOverflowMenu(){return this._attributes.legacyOverflowMenu}getSplitterExtra(){return this._attributes.splitterExtra}isEnableEdgeDock(){return this._attributes.enableEdgeDock}_addNode(e){const t=e.getId();if(void 0!==this._idMap[t])throw new Error(`Error: each node must have a unique id, duplicate id:${e.getId()}`);"splitter"!==e.getType()&&(this._idMap[t]=e)}_layout(e,t){var r;return this._borderRects=this._borders._layoutBorder({outer:e,inner:e},t),e=this._borderRects.inner.removeInsets(this._getAttribute("marginInsets")),null===(r=this._root)||void 0===r||r.calcMinSize(),this._root._layout(e,t),e}_findDropTargetNode(e,t,r){let n=this._root._findDropTargetNode(e,t,r);return void 0===n&&(n=this._borders._findDropTargetNode(e,t,r)),n}_tidy(){this._root._tidy()}_updateAttrs(e){m._attributeDefinitions.update(e,this._attributes)}_nextUniqueId(){return"#"+(0,h.randomUUID)()}_getAttribute(e){return this._attributes[e]}setOnAllowDrop(e){this._onAllowDrop=e}_getOnAllowDrop(){return this._onAllowDrop}setOnCreateTabSet(e){this._onCreateTabSet=e}_getOnCreateTabSet(){return this._onCreateTabSet}static toTypescriptInterfaces(){console.log(m._attributeDefinitions.toTypescriptInterface("Global",void 0)),console.log(f.RowNode.getAttributeDefinitions().toTypescriptInterface("Row",m._attributeDefinitions)),console.log(p.TabSetNode.getAttributeDefinitions().toTypescriptInterface("TabSet",m._attributeDefinitions)),console.log(d.TabNode.getAttributeDefinitions().toTypescriptInterface("Tab",m._attributeDefinitions)),console.log(c.BorderNode.getAttributeDefinitions().toTypescriptInterface("Border",m._attributeDefinitions))}toString(){return JSON.stringify(this.toJson())}}t.Model=m,m._attributeDefinitions=m._createAttributeDefinitions()},70089:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Node=void 0;const n=r(40232),o=r(13380),i=r(10807);t.Node=class{constructor(e){this._dirty=!1,this._tempSize=0,this._model=e,this._attributes={},this._children=[],this._fixed=!1,this._rect=i.Rect.empty(),this._visible=!1,this._listeners={}}getId(){let e=this._attributes.id;return void 0!==e||(e=this._model._nextUniqueId(),this._setId(e)),e}getModel(){return this._model}getType(){return this._attributes.type}getParent(){return this._parent}getChildren(){return this._children}getRect(){return this._rect}isVisible(){return this._visible}getOrientation(){return void 0===this._parent?this._model.isRootOrientationVertical()?o.Orientation.VERT:o.Orientation.HORZ:o.Orientation.flip(this._parent.getOrientation())}setEventListener(e,t){this._listeners[e]=t}removeEventListener(e){delete this._listeners[e]}_setId(e){this._attributes.id=e}_fireEvent(e,t){void 0!==this._listeners[e]&&this._listeners[e](t)}_getAttr(e){let t=this._attributes[e];if(void 0===t){const r=this._getAttributeDefinitions().getModelName(e);void 0!==r&&(t=this._model._getAttribute(r))}return t}_forEachNode(e,t){e(this,t),t++;for(const r of this._children)r._forEachNode(e,t)}_setVisible(e){e!==this._visible&&(this._fireEvent("visibility",{visible:e}),this._visible=e)}_getDrawChildren(){return this._children}_setParent(e){this._parent=e}_setRect(e){this._rect=e}_setWeight(e){this._attributes.weight=e}_setSelected(e){this._attributes.selected=e}_isFixed(){return this._fixed}_layout(e,t){this._rect=e}_findDropTargetNode(e,t,r){let n;if(this._rect.contains(t,r))if(void 0!==this._model.getMaximizedTabset())n=this._model.getMaximizedTabset().canDrop(e,t,r);else if(n=this.canDrop(e,t,r),void 0===n&&0!==this._children.length)for(const o of this._children)if(n=o._findDropTargetNode(e,t,r),void 0!==n)break;return n}canDrop(e,t,r){}_canDockInto(e,t){if(null!=t){if(t.location===n.DockLocation.CENTER&&!1===t.node.isEnableDrop())return!1;if(t.location===n.DockLocation.CENTER&&"tabset"===e.getType()&&void 0!==e.getName())return!1;if(t.location!==n.DockLocation.CENTER&&!1===t.node.isEnableDivide())return!1;if(this._model._getOnAllowDrop())return this._model._getOnAllowDrop()(e,t)}return!0}_removeChild(e){const t=this._children.indexOf(e);return-1!==t&&this._children.splice(t,1),this._dirty=!0,t}_addChild(e,t){return null!=t?this._children.splice(t,0,e):(this._children.push(e),t=this._children.length-1),e._parent=this,this._dirty=!0,t}_removeAll(){this._children=[],this._dirty=!0}_styleWithPosition(e){return null==e&&(e={}),this._rect.styleWithPosition(e)}_getTempSize(){return this._tempSize}_setTempSize(e){this._tempSize=e}isEnableDivide(){return!0}_toAttributeString(){return JSON.stringify(this._attributes,void 0,"\t")}}},50996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RowNode=void 0;const n=r(17029),o=r(58267),i=r(40232),a=r(5748),s=r(13380),l=r(10807),c=r(24115),u=r(74268),f=r(70089),d=r(90191),p=r(52733);class h extends f.Node{static _fromJson(e,t){const r=new h(t,e);if(null!=e.children)for(const n of e.children)if(n.type===p.TabSetNode.TYPE){const e=p.TabSetNode._fromJson(n,t);r._addChild(e)}else{const e=h._fromJson(n,t);r._addChild(e)}return r}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("type",h.TYPE,!0).setType(n.Attribute.STRING).setFixed(),e.add("id",void 0).setType(n.Attribute.STRING),e.add("weight",100).setType(n.Attribute.NUMBER),e.add("width",void 0).setType(n.Attribute.NUMBER),e.add("height",void 0).setType(n.Attribute.NUMBER),e}constructor(e,t){super(e),this._dirty=!0,this._drawChildren=[],this._minHeight=0,this._minWidth=0,h._attributeDefinitions.fromJson(t,this._attributes),e._addNode(this)}getWeight(){return this._attributes.weight}getWidth(){return this._getAttr("width")}getHeight(){return this._getAttr("height")}_setWeight(e){this._attributes.weight=e}_layout(e,t){super._layout(e,t);const r=this._rect._getSize(this.getOrientation());let n=0,o=0,i=0,a=0;const c=this._getDrawChildren();for(const e of c){const t=e._getPrefSize(this.getOrientation());e._isFixed()?void 0!==t&&(o+=t):void 0===t?n+=e.getWeight():(i+=t,a+=e.getWeight())}let u=!1,f=r-o-i;f<0&&(f=r-o,u=!0,n+=a);let p=0,h=0;for(const e of c){const t=e._getPrefSize(this.getOrientation());if(e._isFixed())void 0!==t&&e._setTempSize(t);else if(null==t||u){if(0===n)e._setTempSize(0);else{const t=e.getMinSize(this.getOrientation()),r=Math.floor(f*(e.getWeight()/n));e._setTempSize(Math.max(t,r))}h+=e._getTempSize()}else e._setTempSize(t);p+=e._getTempSize()}if(h>0){for(;pr;){let e=!1;for(const t of c)if(!(t instanceof d.SplitterNode)){const n=t.getMinSize(this.getOrientation());t._getTempSize()>n&&p>r&&(t._setTempSize(t._getTempSize()-1),p--,e=!0)}if(!e)break}for(;p>r;){let e=!1;for(const t of c)if(!(t instanceof d.SplitterNode)){t._getTempSize()>0&&p>r&&(t._setTempSize(t._getTempSize()-1),p--,e=!0)}if(!e)break}}let m=0;for(const e of c)this.getOrientation()===s.Orientation.HORZ?e._layout(new l.Rect(this._rect.x+m,this._rect.y,e._getTempSize(),this._rect.height),t):e._layout(new l.Rect(this._rect.x,this._rect.y+m,this._rect.width,e._getTempSize()),t),m+=e._getTempSize();return!0}_getSplitterBounds(e,t=!1){const r=[0,0],n=this._getDrawChildren(),o=n.indexOf(e),i=n[o-1],a=n[o+1];if(this.getOrientation()===s.Orientation.HORZ){const n=t?i.getMinWidth():0,o=t?a.getMinWidth():0;r[0]=i.getRect().x+n,r[1]=a.getRect().getRight()-e.getWidth()-o}else{const n=t?i.getMinHeight():0,o=t?a.getMinHeight():0;r[0]=i.getRect().y+n,r[1]=a.getRect().getBottom()-e.getHeight()-o}return r}_calculateSplit(e,t){let r;const n=this._getDrawChildren(),o=n.indexOf(e),i=this._getSplitterBounds(e),a=n[o-1].getWeight()+n[o+1].getWeight(),s=Math.max(0,t-i[0]),l=Math.max(0,i[1]-t);if(s+l>0){const e=s*a/(s+l),t=l*a/(s+l);r={node1Id:n[o-1].getId(),weight1:e,pixelWidth1:s,node2Id:n[o+1].getId(),weight2:t,pixelWidth2:l}}return r}_getDrawChildren(){if(this._dirty){this._drawChildren=[];for(let e=0;el/2-u&&nthis._rect.getRight()-10&&n>l/2-u&&ns/2-u&&othis._rect.getBottom()-10&&o>s/2-u&&oe+t.getWeight()),0);0===s&&(s=100),a._setWeight(s/3);const l=!this._model.isRootOrientationVertical();if(l&&n===i.DockLocation.LEFT||!l&&n===i.DockLocation.TOP)this._addChild(a,0);else if(l&&n===i.DockLocation.RIGHT||!l&&n===i.DockLocation.BOTTOM)this._addChild(a);else if(l&&n===i.DockLocation.TOP||!l&&n===i.DockLocation.LEFT){const e=new h(this._model,{}),t=new h(this._model,{});t._setWeight(75),a._setWeight(25);for(const e of this._children)t._addChild(e);this._removeAll(),e._addChild(a),e._addChild(t),this._addChild(e)}else if(l&&n===i.DockLocation.BOTTOM||!l&&n===i.DockLocation.RIGHT){const e=new h(this._model,{}),t=new h(this._model,{});t._setWeight(75),a._setWeight(25);for(const e of this._children)t._addChild(e);this._removeAll(),e._addChild(t),e._addChild(a),this._addChild(e)}this._model._setActiveTabset(a),this._model._tidy()}toJson(){const e={};h._attributeDefinitions.toJson(e,this._attributes),e.children=[];for(const t of this._children)e.children.push(t.toJson());return e}isEnableDrop(){return!0}_getPrefSize(e){let t=this.getWidth();return e===s.Orientation.VERT&&(t=this.getHeight()),t}_getAttributeDefinitions(){return h._attributeDefinitions}_updateAttrs(e){h._attributeDefinitions.update(e,this._attributes)}static getAttributeDefinitions(){return h._attributeDefinitions}}t.RowNode=h,h.TYPE="row",h._attributeDefinitions=h._createAttributeDefinitions()},90191:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SplitterNode=void 0;const n=r(58267),o=r(13380),i=r(70089);class a extends i.Node{constructor(e){super(e),this._fixed=!0,this._attributes.type=a.TYPE,e._addNode(this)}getWidth(){return this._model.getSplitterSize()}getMinWidth(){return this.getOrientation()===o.Orientation.VERT?this._model.getSplitterSize():0}getHeight(){return this._model.getSplitterSize()}getMinHeight(){return this.getOrientation()===o.Orientation.HORZ?this._model.getSplitterSize():0}getMinSize(e){return e===o.Orientation.HORZ?this.getMinWidth():this.getMinHeight()}getWeight(){return 0}_setWeight(e){}_getPrefSize(e){return this._model.getSplitterSize()}_updateAttrs(e){}_getAttributeDefinitions(){return new n.AttributeDefinitions}toJson(){}}t.SplitterNode=a,a.TYPE="splitter"},46677:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabNode=void 0;const n=r(17029),o=r(58267),i=r(70089);class a extends i.Node{static _fromJson(e,t,r=!0){return new a(t,e,r)}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("type",a.TYPE,!0).setType(n.Attribute.STRING),e.add("id",void 0).setType(n.Attribute.STRING),e.add("name","[Unnamed Tab]").setType(n.Attribute.STRING),e.add("altName",void 0).setType(n.Attribute.STRING),e.add("helpText",void 0).setType(n.Attribute.STRING),e.add("component",void 0).setType(n.Attribute.STRING),e.add("config",void 0).setType("any"),e.add("floating",!1).setType(n.Attribute.BOOLEAN),e.add("tabsetClassName",void 0).setType(n.Attribute.STRING),e.addInherited("enableClose","tabEnableClose").setType(n.Attribute.BOOLEAN),e.addInherited("closeType","tabCloseType").setType("ICloseType"),e.addInherited("enableDrag","tabEnableDrag").setType(n.Attribute.BOOLEAN),e.addInherited("enableRename","tabEnableRename").setType(n.Attribute.BOOLEAN),e.addInherited("className","tabClassName").setType(n.Attribute.STRING),e.addInherited("contentClassName","tabContentClassName").setType(n.Attribute.STRING),e.addInherited("icon","tabIcon").setType(n.Attribute.STRING),e.addInherited("enableRenderOnDemand","tabEnableRenderOnDemand").setType(n.Attribute.BOOLEAN),e.addInherited("enableFloat","tabEnableFloat").setType(n.Attribute.BOOLEAN),e.addInherited("borderWidth","tabBorderWidth").setType(n.Attribute.NUMBER),e.addInherited("borderHeight","tabBorderHeight").setType(n.Attribute.NUMBER),e}constructor(e,t,r=!0){super(e),this._extra={},a._attributeDefinitions.fromJson(t,this._attributes),!0===r&&e._addNode(this)}getWindow(){return this._window}getTabRect(){return this._tabRect}_setTabRect(e){this._tabRect=e}_setRenderedName(e){this._renderedName=e}_getNameForOverflowMenu(){const e=this._getAttr("altName");return void 0!==e?e:this._renderedName}getName(){return this._getAttr("name")}getHelpText(){return this._getAttr("helpText")}getComponent(){return this._getAttr("component")}getConfig(){return this._attributes.config}getExtraData(){return this._extra}isFloating(){return this._getAttr("floating")}getIcon(){return this._getAttr("icon")}isEnableClose(){return this._getAttr("enableClose")}getCloseType(){return this._getAttr("closeType")}isEnableFloat(){return this._getAttr("enableFloat")}isEnableDrag(){return this._getAttr("enableDrag")}isEnableRename(){return this._getAttr("enableRename")}getClassName(){return this._getAttr("className")}getContentClassName(){return this._getAttr("contentClassName")}getTabSetClassName(){return this._getAttr("tabsetClassName")}isEnableRenderOnDemand(){return this._getAttr("enableRenderOnDemand")}_setName(e){this._attributes.name=e,this._window&&this._window.document&&(this._window.document.title=e)}_setFloating(e){this._attributes.floating=e}_layout(e,t){e.equals(this._rect)||this._fireEvent("resize",{rect:e}),this._rect=e}_delete(){this._parent._remove(this),this._fireEvent("close",{})}toJson(){const e={};return a._attributeDefinitions.toJson(e,this._attributes),e}_updateAttrs(e){a._attributeDefinitions.update(e,this._attributes)}_getAttributeDefinitions(){return a._attributeDefinitions}_setWindow(e){this._window=e}_setBorderWidth(e){this._attributes.borderWidth=e}_setBorderHeight(e){this._attributes.borderHeight=e}static getAttributeDefinitions(){return a._attributeDefinitions}}t.TabNode=a,a.TYPE="tab",a._attributeDefinitions=a._createAttributeDefinitions()},52733:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabSetNode=void 0;const n=r(17029),o=r(58267),i=r(40232),a=r(5748),s=r(13380),l=r(10807),c=r(24115),u=r(74268),f=r(70089),d=r(50996),p=r(46677),h=r(52968);class m extends f.Node{static _fromJson(e,t){const r=new m(t,e);if(null!=e.children)for(const n of e.children){const e=p.TabNode._fromJson(n,t);r._addChild(e)}return 0===r._children.length&&r._setSelected(-1),e.maximized&&!0===e.maximized&&t._setMaximizedTabset(r),e.active&&!0===e.active&&t._setActiveTabset(r),r}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("type",m.TYPE,!0).setType(n.Attribute.STRING).setFixed(),e.add("id",void 0).setType(n.Attribute.STRING),e.add("weight",100).setType(n.Attribute.NUMBER),e.add("width",void 0).setType(n.Attribute.NUMBER),e.add("height",void 0).setType(n.Attribute.NUMBER),e.add("selected",0).setType(n.Attribute.NUMBER),e.add("name",void 0).setType(n.Attribute.STRING),e.add("config",void 0).setType("any"),e.addInherited("enableDeleteWhenEmpty","tabSetEnableDeleteWhenEmpty"),e.addInherited("enableDrop","tabSetEnableDrop"),e.addInherited("enableDrag","tabSetEnableDrag"),e.addInherited("enableDivide","tabSetEnableDivide"),e.addInherited("enableMaximize","tabSetEnableMaximize"),e.addInherited("enableClose","tabSetEnableClose"),e.addInherited("enableSingleTabStretch","tabSetEnableSingleTabStretch"),e.addInherited("classNameTabStrip","tabSetClassNameTabStrip"),e.addInherited("classNameHeader","tabSetClassNameHeader"),e.addInherited("enableTabStrip","tabSetEnableTabStrip"),e.addInherited("borderInsets","tabSetBorderInsets"),e.addInherited("marginInsets","tabSetMarginInsets"),e.addInherited("minWidth","tabSetMinWidth"),e.addInherited("minHeight","tabSetMinHeight"),e.addInherited("headerHeight","tabSetHeaderHeight"),e.addInherited("tabStripHeight","tabSetTabStripHeight"),e.addInherited("tabLocation","tabSetTabLocation"),e.addInherited("autoSelectTab","tabSetAutoSelectTab").setType(n.Attribute.BOOLEAN),e}constructor(e,t){super(e),m._attributeDefinitions.fromJson(t,this._attributes),e._addNode(this),this._calculatedTabBarHeight=0,this._calculatedHeaderBarHeight=0}getName(){return this._getAttr("name")}getSelected(){const e=this._attributes.selected;return void 0!==e?e:-1}getSelectedNode(){const e=this.getSelected();if(-1!==e)return this._children[e]}getWeight(){return this._getAttr("weight")}getWidth(){return this._getAttr("width")}getMinWidth(){return this._getAttr("minWidth")}getHeight(){return this._getAttr("height")}getMinHeight(){return this._getAttr("minHeight")}getMinSize(e){return e===s.Orientation.HORZ?this.getMinWidth():this.getMinHeight()}getConfig(){return this._attributes.config}isMaximized(){return this._model.getMaximizedTabset()===this}isActive(){return this._model.getActiveTabset()===this}isEnableDeleteWhenEmpty(){return this._getAttr("enableDeleteWhenEmpty")}isEnableDrop(){return this._getAttr("enableDrop")}isEnableDrag(){return this._getAttr("enableDrag")}isEnableDivide(){return this._getAttr("enableDivide")}isEnableMaximize(){return this._getAttr("enableMaximize")}isEnableClose(){return this._getAttr("enableClose")}isEnableSingleTabStretch(){return this._getAttr("enableSingleTabStretch")}canMaximize(){return!!this.isEnableMaximize()&&(this.getModel().getMaximizedTabset()===this||(this.getParent()!==this.getModel().getRoot()||1!==this.getModel().getRoot().getChildren().length))}isEnableTabStrip(){return this._getAttr("enableTabStrip")}isAutoSelectTab(){return this._getAttr("autoSelectTab")}getClassNameTabStrip(){return this._getAttr("classNameTabStrip")}getClassNameHeader(){return this._getAttr("classNameHeader")}calculateHeaderBarHeight(e){const t=this._getAttr("headerHeight");this._calculatedHeaderBarHeight=0!==t?t:e.headerBarSize}calculateTabBarHeight(e){const t=this._getAttr("tabStripHeight");this._calculatedTabBarHeight=0!==t?t:e.tabBarSize}getHeaderHeight(){return this._calculatedHeaderBarHeight}getTabStripHeight(){return this._calculatedTabBarHeight}getTabLocation(){return this._getAttr("tabLocation")}_setWeight(e){this._attributes.weight=e}_setSelected(e){this._attributes.selected=e}canDrop(e,t,r){let n;if(e===this){const e=i.DockLocation.CENTER,t=this._tabHeaderRect;n=new a.DropInfo(this,t,e,-1,c.CLASSES.FLEXLAYOUT__OUTLINE_RECT)}else if(this._contentRect.contains(t,r)){let e=i.DockLocation.CENTER;void 0===this._model.getMaximizedTabset()&&(e=i.DockLocation.getLocation(this._contentRect,t,r));const o=e.getDockRect(this._rect);n=new a.DropInfo(this,o,e,-1,c.CLASSES.FLEXLAYOUT__OUTLINE_RECT)}else if(null!=this._tabHeaderRect&&this._tabHeaderRect.contains(t,r)){let e,r,o;if(0===this._children.length)e=this._tabHeaderRect.clone(),r=e.y+3,o=e.height-4,e.width=2;else{let s=this._children[0];e=s.getTabRect(),r=e.y,o=e.height;let u=this._tabHeaderRect.x,f=0;for(let d=0;d=u&&t0&&r--,o===i.DockLocation.CENTER){let t=r;if(-1===t&&(t=this._children.length),e.getType()===p.TabNode.TYPE)this._addChild(e,t),(n||!1!==n&&this.isAutoSelectTab())&&this._setSelected(t);else{for(let r=0;r0&&this._setSelected(0)}this._model._setActiveTabset(this)}else{let t;if(e instanceof p.TabNode){const r=this._model._getOnCreateTabSet();t=new m(this._model,r?r(e):{}),t._addChild(e),a=t}else t=e;const r=this._parent,n=r.getChildren().indexOf(this);if(r.getOrientation()===o._orientation)t._setWeight(this.getWeight()/2),this._setWeight(this.getWeight()/2),r._addChild(t,n+o._indexPlus);else{const e=new d.RowNode(this._model,{});e._setWeight(this.getWeight()),e._addChild(this),this._setWeight(50),t._setWeight(50),e._addChild(t,o._indexPlus),r._removeChild(this),r._addChild(e,n)}this._model._setActiveTabset(t)}this._model._tidy()}toJson(){const e={};return m._attributeDefinitions.toJson(e,this._attributes),e.children=this._children.map((e=>e.toJson())),this.isActive()&&(e.active=!0),this.isMaximized()&&(e.maximized=!0),e}_updateAttrs(e){m._attributeDefinitions.update(e,this._attributes)}_getAttributeDefinitions(){return m._attributeDefinitions}_getPrefSize(e){let t=this.getWidth();return e===s.Orientation.VERT&&(t=this.getHeight()),t}static getAttributeDefinitions(){return m._attributeDefinitions}}t.TabSetNode=m,m.TYPE="tabset",m._attributeDefinitions=m._createAttributeDefinitions()},52968:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.randomUUID=t.adjustSelectedIndex=t.adjustSelectedIndexAfterDock=t.adjustSelectedIndexAfterFloat=void 0;const n=r(52733),o=r(74268);t.adjustSelectedIndexAfterFloat=function(e){const t=e.getParent();if(null!==t)if(t instanceof n.TabSetNode){let r=!1,n=0;const o=t.getChildren();for(let t=0;t0?t>=e.getChildren().length&&e._setSelected(e.getChildren().length-1):tr||e._setSelected(-1))}},t.randomUUID=function(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)))}},55821:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BorderButton=void 0;const n=r(36198),o=r(25551),i=r(33076),a=r(10807),s=r(47562),l=r(24115),c=r(14592);t.BorderButton=e=>{const{layout:t,node:r,selected:u,border:f,iconFactory:d,titleFactory:p,icons:h,path:m}=e,y=n.useRef(null),g=n.useRef(null),v=e=>{(0,c.isAuxMouseEvent)(e)||t.getEditingTab()||t.dragStart(e,void 0,r,r.isEnableDrag(),O,w)},b=e=>{(0,c.isAuxMouseEvent)(e)&&t.auxMouseClick(r,e)},O=()=>{t.doAction(i.Actions.selectTab(r.getId()))},w=e=>{},S=e=>{(()=>{const e=r.getCloseType();return!!(u||e===s.ICloseType.Always||e===s.ICloseType.Visible&&window.matchMedia&&window.matchMedia("(hover: hover) and (pointer: fine)").matches)})()?t.doAction(i.Actions.deleteTab(r.getId())):O()},x=e=>{e.stopPropagation()};n.useLayoutEffect((()=>{E(),t.getEditingTab()===r&&g.current.select()}));const E=()=>{var e;const n=t.getDomRect(),o=null===(e=y.current)||void 0===e?void 0:e.getBoundingClientRect();o&&n&&r._setTabRect(new a.Rect(o.left-n.left,o.top-n.top,o.width,o.height))},_=e=>{e.stopPropagation()},P=e=>{"Escape"===e.code?t.setEditingTab(void 0):"Enter"===e.code&&(t.setEditingTab(void 0),t.doAction(i.Actions.renameTab(r.getId(),e.target.value)))},T=t.getClassName;let j=T(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON)+" "+T(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON_+f);j+=u?" "+T(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON__SELECTED):" "+T(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON__UNSELECTED),void 0!==r.getClassName()&&(j+=" "+r.getClassName());let C=0;!1===r.getModel().isEnableRotateBorderIcons()&&("left"===f?C=90:"right"===f&&(C=-90));const k=(0,c.getRenderStateEx)(t,r,d,p,C);let A=k.content?n.createElement("div",{className:T(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON_CONTENT)},k.content):null;const D=k.leading?n.createElement("div",{className:T(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON_LEADING)},k.leading):null;if(t.getEditingTab()===r&&(A=n.createElement("input",{ref:g,className:T(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_TEXTBOX),"data-layout-path":m+"/textbox",type:"text",autoFocus:!0,defaultValue:r.getName(),onKeyDown:P,onMouseDown:_,onTouchStart:_})),r.isEnableClose()){const e=t.i18nName(o.I18nLabel.Close_Tab);k.buttons.push(n.createElement("div",{key:"close","data-layout-path":m+"/button/close",title:e,className:T(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON_TRAILING),onMouseDown:x,onClick:S,onTouchStart:x},"function"==typeof h.close?h.close(r):h.close))}return n.createElement("div",{ref:y,"data-layout-path":m,className:j,onMouseDown:v,onClick:b,onAuxClick:b,onContextMenu:e=>{t.showContextMenu(r,e)},onTouchStart:v,title:r.getHelpText()},D,A,k.buttons)}},9715:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BorderTabSet=void 0;const n=r(36198),o=r(40232),i=r(55821),a=r(40031),s=r(33076),l=r(25551),c=r(1680),u=r(13380),f=r(24115),d=r(14592);t.BorderTabSet=e=>{const{border:t,layout:r,iconFactory:p,titleFactory:h,icons:m,path:y}=e,g=n.useRef(null),v=n.useRef(null),b=n.useRef(null),{selfRef:O,position:w,userControlledLeft:S,hiddenTabs:x,onMouseWheel:E,tabsTruncated:_}=(0,c.useTabOverflow)(t,u.Orientation.flip(t.getOrientation()),g,b),P=e=>{(0,d.isAuxMouseEvent)(e)&&r.auxMouseClick(t,e)},T=e=>{e.stopPropagation()},j=e=>{const n=r.getShowOverflowMenu();if(void 0!==n)n(t,e,x,C);else{const e=v.current;(0,a.showPopup)(e,x,C,r,p,h)}e.stopPropagation()},C=e=>{r.doAction(s.Actions.selectTab(e.node.getId())),S.current=!1},k=e=>{const n=t.getChildren()[t.getSelected()];void 0!==n&&r.doAction(s.Actions.floatTab(n.getId())),e.stopPropagation()},A=r.getClassName;let D=t.getTabHeaderRect().styleWithPosition({});const L=[],R=e=>{let o=t.getSelected()===e,a=t.getChildren()[e];L.push(n.createElement(i.BorderButton,{layout:r,border:t.getLocation().getName(),node:a,path:y+"/tb"+e,key:a.getId(),selected:o,iconFactory:p,titleFactory:h,icons:m})),e0&&(_?I=[...N,...I]:L.push(n.createElement("div",{ref:b,key:"sticky_buttons_container",onMouseDown:T,onTouchStart:T,onDragStart:e=>{e.preventDefault()},className:A(f.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_STICKY_BUTTONS_CONTAINER)},N))),x.length>0){const e=r.i18nName(l.I18nLabel.Overflow_Menu_Tooltip);let o;o="function"==typeof m.more?m.more(t,x):n.createElement(n.Fragment,null,m.more,n.createElement("div",{className:A(f.CLASSES.FLEXLAYOUT__TAB_BUTTON_OVERFLOW_COUNT)},x.length)),I.splice(Math.min(B.overflowPosition,I.length),0,n.createElement("button",{key:"overflowbutton",ref:v,className:A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON)+" "+A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW)+" "+A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW_+t.getLocation().getName()),title:e,onClick:j,onMouseDown:T,onTouchStart:T},o))}const $=t.getSelected();if(-1!==$){const e=t.getChildren()[$];if(void 0!==e&&r.isSupportsPopout()&&e.isEnableFloat()&&!e.isFloating()){const t=r.i18nName(l.I18nLabel.Float_Tab);I.push(n.createElement("button",{key:"float",title:t,className:A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON)+" "+A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_FLOAT),onClick:k,onMouseDown:T,onTouchStart:T},"function"==typeof m.popout?m.popout(e):m.popout))}}const F=n.createElement("div",{key:"toolbar",ref:g,className:A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR)+" "+A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_+t.getLocation().getName())},I);D=r.styleFont(D);let z={};const Q=t.getBorderBarSize()-1;return z=t.getLocation()===o.DockLocation.LEFT?{right:Q,height:Q,top:w}:t.getLocation()===o.DockLocation.RIGHT?{left:Q,height:Q,top:w}:{height:Q,left:w},n.createElement("div",{ref:O,dir:"ltr",style:D,className:M,"data-layout-path":y,onClick:P,onAuxClick:P,onContextMenu:e=>{r.showContextMenu(t,e)},onWheel:E},n.createElement("div",{style:{height:Q},className:A(f.CLASSES.FLEXLAYOUT__BORDER_INNER)+" "+A(f.CLASSES.FLEXLAYOUT__BORDER_INNER_+t.getLocation().getName())},n.createElement("div",{style:z,className:A(f.CLASSES.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER)+" "+A(f.CLASSES.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER_+t.getLocation().getName())},L)),F)}},86180:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorBoundary=void 0;const n=r(36198),o=r(24115);class i extends n.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){console.debug(e),console.debug(t)}render(){return this.state.hasError?n.createElement("div",{className:o.CLASSES.FLEXLAYOUT__ERROR_BOUNDARY_CONTAINER},n.createElement("div",{className:o.CLASSES.FLEXLAYOUT__ERROR_BOUNDARY_CONTENT},this.props.message)):this.props.children}}t.ErrorBoundary=i},67868:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingWindow=void 0;const n=r(36198),o=r(18348),i=r(10807),a=r(24115);t.FloatingWindow=e=>{const{title:t,id:r,url:s,rect:l,onCloseWindow:c,onSetWindow:u,children:f}=e,d=n.useRef(null),p=n.useRef(null),[h,m]=n.useState(void 0);return n.useLayoutEffect((()=>{p.current&&clearTimeout(p.current);let e=!0;const n=l||new i.Rect(0,0,100,100),o=Array.from(window.document.styleSheets).reduce(((e,t)=>{let r;try{r=t.cssRules}catch(e){}try{return[...e,{href:t.href,type:t.type,rules:r?Array.from(r).map((e=>e.cssText)):null}]}catch(t){return e}}),[]);return d.current=window.open(s,r,`left=${n.x},top=${n.y},width=${n.width},height=${n.height}`),null!==d.current?(u(r,d.current),window.addEventListener("beforeunload",(()=>{d.current&&(d.current.close(),d.current=null)})),d.current.addEventListener("load",(()=>{if(e){const e=d.current.document;e.title=t;const n=e.createElement("div");n.className=a.CLASSES.FLEXLAYOUT__FLOATING_WINDOW_CONTENT,e.body.appendChild(n),function(e,t){const r=e.head,n=[];for(const o of t)if(o.href){const t=e.createElement("link");t.type=o.type,t.rel="stylesheet",t.href=o.href,r.appendChild(t),n.push(new Promise((e=>{t.onload=()=>e(!0)})))}else if(o.rules){const t=e.createElement("style");for(const r of o.rules)t.appendChild(e.createTextNode(r));r.appendChild(t)}return Promise.all(n)}(e,o).then((()=>{m(n)})),d.current.addEventListener("beforeunload",(()=>{c(r)}))}}))):(console.warn(`Unable to open window ${s}`),c(r)),()=>{e=!1,p.current=setTimeout((()=>{d.current&&(d.current.close(),d.current=null)}),0)}}),[]),void 0!==h?(0,o.createPortal)(f,h):null}},46538:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingWindowTab=void 0;const n=r(36198),o=r(86180),i=r(25551),a=r(36198),s=r(24115);t.FloatingWindowTab=e=>{const{layout:t,node:r,factory:l}=e,c=t.getClassName,u=l(r);return n.createElement("div",{className:c(s.CLASSES.FLEXLAYOUT__FLOATING_WINDOW_TAB)},n.createElement(o.ErrorBoundary,{message:e.layout.i18nName(i.I18nLabel.Error_rendering_component)},n.createElement(a.Fragment,null,u)))}},93281:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RestoreIcon=t.PopoutIcon=t.EdgeIcon=t.OverflowIcon=t.MaximizeIcon=t.CloseIcon=void 0;const n=r(36198),o={width:"1em",height:"1em",display:"flex",alignItems:"center"};t.CloseIcon=()=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 24 24"},n.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),n.createElement("path",{stroke:"var(--color-icon)",fill:"var(--color-icon)",d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}));t.MaximizeIcon=()=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 24 24",fill:"var(--color-icon)"},n.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),n.createElement("path",{stroke:"var(--color-icon)",d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"}));t.OverflowIcon=()=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 24 24",fill:"var(--color-icon)"},n.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),n.createElement("path",{stroke:"var(--color-icon)",d:"M7 10l5 5 5-5z"}));t.EdgeIcon=()=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"block",width:10,height:10},preserveAspectRatio:"none",viewBox:"0 0 100 100"},n.createElement("path",{fill:"var(--color-edge-icon)",stroke:"var(--color-edge-icon)",d:"M10 30 L90 30 l-40 40 Z"}));t.PopoutIcon=()=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 20 20",fill:"var(--color-icon)"},n.createElement("path",{d:"M11 3a1 1 0 100 2h2.586l-6.293 6.293a1 1 0 101.414 1.414L15 6.414V9a1 1 0 102 0V4a1 1 0 00-1-1h-5z"}),n.createElement("path",{d:"M5 5a2 2 0 00-2 2v8a2 2 0 002 2h8a2 2 0 002-2v-3a1 1 0 10-2 0v3H5V7h3a1 1 0 000-2H5z"}));t.RestoreIcon=()=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 24 24",fill:"var(--color-icon)"},n.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),n.createElement("path",{stroke:"var(--color-icon)",d:"M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"}))},55295:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Layout=void 0;const n=r(36198),o=r(18348),i=r(40232),a=r(30268),s=r(33076),l=r(74268),c=r(90191),u=r(46677),f=r(52733),d=r(10807),p=r(24115),h=r(9715),m=r(31996),y=r(60178),g=r(70470),v=r(67868),b=r(46538),O=r(62022),w=r(13380),S=r(93281),x=r(15797),E={close:n.createElement(S.CloseIcon,null),closeTabset:n.createElement(S.CloseIcon,null),popout:n.createElement(S.PopoutIcon,null),maximize:n.createElement(S.MaximizeIcon,null),restore:n.createElement(S.RestoreIcon,null),more:n.createElement(S.OverflowIcon,null),edgeArrow:n.createElement(S.EdgeIcon,null)},_="undefined"!=typeof window&&(window.document.documentMode||/Edge\//.test(window.navigator.userAgent)),P="undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(hover: hover) and (pointer: fine)").matches&&!_;class T extends n.Component{constructor(e){super(e),this.firstMove=!1,this.dragRectRendered=!0,this.dragDivText=void 0,this.edgeRectLength=100,this.edgeRectWidth=10,this.onModelChange=e=>{this.forceUpdate(),this.props.onModelChange&&this.props.onModelChange(this.props.model,e)},this.updateRect=e=>{if(e||(e=this.getDomRect()),!e)return;const t=new d.Rect(0,0,e.width,e.height);t.equals(this.state.rect)||0===t.width||0===t.height||this.setState({rect:t})},this.updateLayoutMetrics=()=>{if(this.findHeaderBarSizeRef.current){const e=this.findHeaderBarSizeRef.current.getBoundingClientRect().height;e!==this.state.calculatedHeaderBarSize&&this.setState({calculatedHeaderBarSize:e})}if(this.findTabBarSizeRef.current){const e=this.findTabBarSizeRef.current.getBoundingClientRect().height;e!==this.state.calculatedTabBarSize&&this.setState({calculatedTabBarSize:e})}if(this.findBorderBarSizeRef.current){const e=this.findBorderBarSizeRef.current.getBoundingClientRect().height;e!==this.state.calculatedBorderBarSize&&this.setState({calculatedBorderBarSize:e})}},this.getClassName=e=>void 0===this.props.classNameMapper?e:this.props.classNameMapper(e),this.onCloseWindow=e=>{this.doAction(s.Actions.unFloatTab(e));try{this.props.model.getNodeById(e)._setWindow(void 0)}catch(e){}},this.onSetWindow=(e,t)=>{this.props.model.getNodeById(e)._setWindow(t)},this.onCancelAdd=()=>{var e,t;const r=this.selfRef.current;r&&this.dragDiv&&r.removeChild(this.dragDiv),this.dragDiv=void 0,this.hidePortal(),null!=this.fnNewNodeDropped&&(this.fnNewNodeDropped(),this.fnNewNodeDropped=void 0);try{null===(t=null===(e=this.customDrop)||void 0===e?void 0:e.invalidated)||void 0===t||t.call(e)}catch(e){console.error(e)}a.DragDrop.instance.hideGlass(),this.newTabJson=void 0,this.customDrop=void 0},this.onCancelDrag=e=>{var t,r;if(e){const e=this.selfRef.current,n=this.outlineDiv;if(e&&n)try{e.removeChild(n)}catch(e){}const o=this.dragDiv;if(e&&o)try{e.removeChild(o)}catch(e){}this.dragDiv=void 0,this.hidePortal(),this.setState({showEdges:!1}),null!=this.fnNewNodeDropped&&(this.fnNewNodeDropped(),this.fnNewNodeDropped=void 0);try{null===(r=null===(t=this.customDrop)||void 0===t?void 0:t.invalidated)||void 0===r||r.call(t)}catch(e){console.error(e)}a.DragDrop.instance.hideGlass(),this.newTabJson=void 0,this.customDrop=void 0}this.setState({showHiddenBorder:i.DockLocation.CENTER})},this.onDragDivMouseDown=e=>{e.preventDefault(),this.dragStart(e,this.dragDivText,u.TabNode._fromJson(this.newTabJson,this.props.model,!1),!0,void 0,void 0)},this.dragStart=(e,t,r,n,o,i)=>{var s,l;n?(this.dragNode=r,this.dragDivText=t,a.DragDrop.instance.startDrag(e,this.onDragStart,this.onDragMove,this.onDragEnd,this.onCancelDrag,o,i,this.currentDocument,null!==(l=this.selfRef.current)&&void 0!==l?l:void 0)):a.DragDrop.instance.startDrag(e,void 0,void 0,void 0,void 0,o,i,this.currentDocument,null!==(s=this.selfRef.current)&&void 0!==s?s:void 0)},this.dragRectRender=(e,t,r,o)=>{let i;if(void 0!==e?i=n.createElement("div",{style:{whiteSpace:"pre"}},e.replace("
","\n")):t&&t instanceof u.TabNode&&(i=n.createElement(x.TabButtonStamp,{node:t,layout:this,iconFactory:this.props.iconFactory,titleFactory:this.props.titleFactory})),void 0!==this.props.onRenderDragRect){const e=this.props.onRenderDragRect(i,t,r);void 0!==e&&(i=e)}this.dragRectRendered=!1;const a=this.dragDiv;a&&(a.style.visibility="hidden",this.showPortal(n.createElement(j,{onRendered:()=>{this.dragRectRendered=!0,null==o||o()}},i),a))},this.showPortal=(e,t)=>{const r=(0,o.createPortal)(e,t);this.setState({portal:r})},this.hidePortal=()=>{this.setState({portal:void 0})},this.onDragStart=()=>{var e;this.dropInfo=void 0,this.customDrop=void 0;const t=this.selfRef.current;return this.outlineDiv=this.currentDocument.createElement("div"),this.outlineDiv.className=this.getClassName(p.CLASSES.FLEXLAYOUT__OUTLINE_RECT),this.outlineDiv.style.visibility="hidden",t&&t.appendChild(this.outlineDiv),null==this.dragDiv&&(this.dragDiv=this.currentDocument.createElement("div"),this.dragDiv.className=this.getClassName(p.CLASSES.FLEXLAYOUT__DRAG_RECT),this.dragDiv.setAttribute("data-layout-path","/drag-rectangle"),this.dragRectRender(this.dragDivText,this.dragNode,this.newTabJson),t&&t.appendChild(this.dragDiv)),void 0===this.props.model.getMaximizedTabset()&&this.setState({showEdges:this.props.model.isEnableEdgeDock()}),this.dragNode&&this.outlineDiv&&this.dragNode instanceof u.TabNode&&void 0!==this.dragNode.getTabRect()&&(null===(e=this.dragNode.getTabRect())||void 0===e||e.positionElement(this.outlineDiv)),this.firstMove=!0,!0},this.onDragMove=e=>{var t,r,n,o,i,a,s;if(!1===this.firstMove){const e=this.props.model._getAttribute("tabDragSpeed");this.outlineDiv&&(this.outlineDiv.style.transition=`top ${e}s, left ${e}s, width ${e}s, height ${e}s`)}this.firstMove=!1;const l=null===(t=this.selfRef.current)||void 0===t?void 0:t.getBoundingClientRect(),c={x:e.clientX-(null!==(r=null==l?void 0:l.left)&&void 0!==r?r:0),y:e.clientY-(null!==(n=null==l?void 0:l.top)&&void 0!==n?n:0)};this.checkForBorderToShow(c.x,c.y);const u=null!==(i=null===(o=this.dragDiv)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==i?i:new DOMRect(0,0,100,100);let f=c.x-u.width/2;f+u.width>(null!==(a=null==l?void 0:l.width)&&void 0!==a?a:0)&&(f=(null!==(s=null==l?void 0:l.width)&&void 0!==s?s:0)-u.width),f=Math.max(0,f),this.dragDiv&&(this.dragDiv.style.left=f+"px",this.dragDiv.style.top=c.y+5+"px",this.dragRectRendered&&"hidden"===this.dragDiv.style.visibility&&(this.dragDiv.style.visibility="visible"));let d=this.props.model._findDropTargetNode(this.dragNode,c.x,c.y);d&&(this.props.onTabDrag?this.handleCustomTabDrag(d,c,e):(this.dropInfo=d,this.outlineDiv&&(this.outlineDiv.className=this.getClassName(d.className),d.rect.positionElement(this.outlineDiv),this.outlineDiv.style.visibility="visible")))},this.onDragEnd=e=>{const t=this.selfRef.current;if(t&&(this.outlineDiv&&t.removeChild(this.outlineDiv),this.dragDiv&&t.removeChild(this.dragDiv)),this.dragDiv=void 0,this.hidePortal(),this.setState({showEdges:!1}),a.DragDrop.instance.hideGlass(),this.dropInfo)if(this.customDrop){this.newTabJson=void 0;try{const{callback:e,dragging:t,over:r,x:n,y:o,location:i}=this.customDrop;e(t,r,n,o,i),null!=this.fnNewNodeDropped&&(this.fnNewNodeDropped(),this.fnNewNodeDropped=void 0)}catch(e){console.error(e)}}else if(void 0!==this.newTabJson){const t=this.doAction(s.Actions.addNode(this.newTabJson,this.dropInfo.node.getId(),this.dropInfo.location,this.dropInfo.index));null!=this.fnNewNodeDropped&&(this.fnNewNodeDropped(t,e),this.fnNewNodeDropped=void 0),this.newTabJson=void 0}else void 0!==this.dragNode&&this.doAction(s.Actions.moveNode(this.dragNode.getId(),this.dropInfo.node.getId(),this.dropInfo.location,this.dropInfo.index));this.setState({showHiddenBorder:i.DockLocation.CENTER})},this.props.model._setChangeListener(this.onModelChange),this.tabIds=[],this.selfRef=n.createRef(),this.findHeaderBarSizeRef=n.createRef(),this.findTabBarSizeRef=n.createRef(),this.findBorderBarSizeRef=n.createRef(),this.supportsPopout=void 0!==e.supportsPopout?e.supportsPopout:P,this.popoutURL=e.popoutURL?e.popoutURL:"popout.html",this.icons=Object.assign(Object.assign({},E),e.icons),this.state={rect:new d.Rect(0,0,0,0),calculatedHeaderBarSize:25,calculatedTabBarSize:26,calculatedBorderBarSize:30,editingTab:void 0,showHiddenBorder:i.DockLocation.CENTER,showEdges:!1},this.onDragEnter=this.onDragEnter.bind(this)}styleFont(e){return this.props.font&&(this.selfRef.current&&(this.props.font.size&&this.selfRef.current.style.setProperty("--font-size",this.props.font.size),this.props.font.family&&this.selfRef.current.style.setProperty("--font-family",this.props.font.family)),this.props.font.style&&(e.fontStyle=this.props.font.style),this.props.font.weight&&(e.fontWeight=this.props.font.weight)),e}doAction(e){if(void 0!==this.props.onAction){const t=this.props.onAction(e);return void 0!==t?this.props.model.doAction(t):void 0}return this.props.model.doAction(e)}componentDidMount(){this.updateRect(),this.updateLayoutMetrics(),this.currentDocument=this.selfRef.current.ownerDocument,this.currentWindow=this.currentDocument.defaultView,this.resizeObserver=new ResizeObserver((e=>{this.updateRect(e[0].contentRect)}));const e=this.selfRef.current;e&&this.resizeObserver.observe(e)}componentDidUpdate(){this.updateLayoutMetrics(),this.props.model!==this.previousModel&&(void 0!==this.previousModel&&this.previousModel._setChangeListener(void 0),this.props.model._setChangeListener(this.onModelChange),this.previousModel=this.props.model)}getCurrentDocument(){return this.currentDocument}getDomRect(){var e;return null===(e=this.selfRef.current)||void 0===e?void 0:e.getBoundingClientRect()}getRootDiv(){return this.selfRef.current}isSupportsPopout(){return this.supportsPopout}isRealtimeResize(){var e;return null!==(e=this.props.realtimeResize)&&void 0!==e&&e}onTabDrag(...e){var t,r;return null===(r=(t=this.props).onTabDrag)||void 0===r?void 0:r.call(t,...e)}getPopoutURL(){return this.popoutURL}componentWillUnmount(){var e;const t=this.selfRef.current;t&&(null===(e=this.resizeObserver)||void 0===e||e.unobserve(t))}setEditingTab(e){this.setState({editingTab:e})}getEditingTab(){return this.state.editingTab}render(){if(!this.selfRef.current)return n.createElement("div",{ref:this.selfRef,className:this.getClassName(p.CLASSES.FLEXLAYOUT__LAYOUT)},this.metricsElements());this.props.model._setPointerFine(window&&window.matchMedia&&window.matchMedia("(pointer: fine)").matches);const e=[],t=[],r=[],o={},i=[],a={headerBarSize:this.state.calculatedHeaderBarSize,tabBarSize:this.state.calculatedTabBarSize,borderBarSize:this.state.calculatedBorderBarSize};this.props.model._setShowHiddenBorder(this.state.showHiddenBorder),this.centerRect=this.props.model._layout(this.state.rect,a),this.renderBorder(this.props.model.getBorderSet(),e,o,r,i),this.renderChildren("",this.props.model.getRoot(),t,o,r,i);const s=[],l={};for(const e of this.tabIds)o[e]&&(s.push(e),l[e]=e);this.tabIds=s;for(const e of Object.keys(o))l[e]||this.tabIds.push(e);const c=[],u=this.icons.edgeArrow;if(this.state.showEdges){const e=this.centerRect,t=this.edgeRectLength,r=this.edgeRectWidth,o=this.edgeRectLength/2,i=this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT),a=50;c.push(n.createElement("div",{key:"North",style:{top:e.y,left:e.x+e.width/2-o,width:t,height:r,borderBottomLeftRadius:a,borderBottomRightRadius:a},className:i+" "+this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT_TOP)},n.createElement("div",{style:{transform:"rotate(180deg)"}},u))),c.push(n.createElement("div",{key:"West",style:{top:e.y+e.height/2-o,left:e.x,width:r,height:t,borderTopRightRadius:a,borderBottomRightRadius:a},className:i+" "+this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT_LEFT)},n.createElement("div",{style:{transform:"rotate(90deg)"}},u))),c.push(n.createElement("div",{key:"South",style:{top:e.y+e.height-r,left:e.x+e.width/2-o,width:t,height:r,borderTopLeftRadius:a,borderTopRightRadius:a},className:i+" "+this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT_BOTTOM)},n.createElement("div",null,u))),c.push(n.createElement("div",{key:"East",style:{top:e.y+e.height/2-o,left:e.x+e.width-r,width:r,height:t,borderTopLeftRadius:a,borderBottomLeftRadius:a},className:i+" "+this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT_RIGHT)},n.createElement("div",{style:{transform:"rotate(-90deg)"}},u)))}return n.createElement("div",{ref:this.selfRef,className:this.getClassName(p.CLASSES.FLEXLAYOUT__LAYOUT),onDragEnter:this.props.onExternalDrag?this.onDragEnter:void 0},t,this.tabIds.map((e=>o[e])),e,i,c,r,this.metricsElements(),this.state.portal)}metricsElements(){const e=this.styleFont({visibility:"hidden"});return n.createElement(n.Fragment,null,n.createElement("div",{key:"findHeaderBarSize",ref:this.findHeaderBarSizeRef,style:e,className:this.getClassName(p.CLASSES.FLEXLAYOUT__TABSET_HEADER_SIZER)},"FindHeaderBarSize"),n.createElement("div",{key:"findTabBarSize",ref:this.findTabBarSizeRef,style:e,className:this.getClassName(p.CLASSES.FLEXLAYOUT__TABSET_SIZER)},"FindTabBarSize"),n.createElement("div",{key:"findBorderBarSize",ref:this.findBorderBarSizeRef,style:e,className:this.getClassName(p.CLASSES.FLEXLAYOUT__BORDER_SIZER)},"FindBorderBarSize"))}renderBorder(e,t,r,o,i){for(const a of e.getBorders()){const e=`/border/${a.getLocation().getName()}`;if(a.isShowing()){t.push(n.createElement(h.BorderTabSet,{key:`border_${a.getLocation().getName()}`,path:e,border:a,layout:this,iconFactory:this.props.iconFactory,titleFactory:this.props.titleFactory,icons:this.icons}));const s=a._getDrawChildren();let l=0,f=0;for(const t of s){if(t instanceof c.SplitterNode){let r=e+"/s";i.push(n.createElement(m.Splitter,{key:t.getId(),layout:this,node:t,path:r}))}else if(t instanceof u.TabNode){let i=e+"/t"+f++;if(this.supportsPopout&&t.isFloating()){const e=this._getScreenRect(t),s=t._getAttr("borderWidth"),c=t._getAttr("borderHeight");e&&(-1!==s&&a.getLocation().getOrientation()===w.Orientation.HORZ?e.width=s:-1!==c&&a.getLocation().getOrientation()===w.Orientation.VERT&&(e.height=c)),o.push(n.createElement(v.FloatingWindow,{key:t.getId(),url:this.popoutURL,rect:e,title:t.getName(),id:t.getId(),onSetWindow:this.onSetWindow,onCloseWindow:this.onCloseWindow},n.createElement(b.FloatingWindowTab,{layout:this,node:t,factory:this.props.factory}))),r[t.getId()]=n.createElement(O.TabFloating,{key:t.getId(),layout:this,path:i,node:t,selected:l===a.getSelected()})}else r[t.getId()]=n.createElement(y.Tab,{key:t.getId(),layout:this,path:i,node:t,selected:l===a.getSelected(),factory:this.props.factory})}l++}}}}renderChildren(e,t,r,o,i,a){const s=t._getDrawChildren();let l=0,d=0,p=0;for(const t of s)if(t instanceof c.SplitterNode){const r=e+"/s"+l++;a.push(n.createElement(m.Splitter,{key:t.getId(),layout:this,path:r,node:t}))}else if(t instanceof f.TabSetNode){const s=e+"/ts"+p++;r.push(n.createElement(g.TabSet,{key:t.getId(),layout:this,path:s,node:t,iconFactory:this.props.iconFactory,titleFactory:this.props.titleFactory,icons:this.icons})),this.renderChildren(s,t,r,o,i,a)}else if(t instanceof u.TabNode){const r=e+"/t"+d++,a=t.getParent().getChildren()[t.getParent().getSelected()];if(void 0===a&&console.warn("undefined selectedTab should not happen"),this.supportsPopout&&t.isFloating()){const e=this._getScreenRect(t);i.push(n.createElement(v.FloatingWindow,{key:t.getId(),url:this.popoutURL,rect:e,title:t.getName(),id:t.getId(),onSetWindow:this.onSetWindow,onCloseWindow:this.onCloseWindow},n.createElement(b.FloatingWindowTab,{layout:this,node:t,factory:this.props.factory}))),o[t.getId()]=n.createElement(O.TabFloating,{key:t.getId(),layout:this,path:r,node:t,selected:t===a})}else o[t.getId()]=n.createElement(y.Tab,{key:t.getId(),layout:this,path:r,node:t,selected:t===a,factory:this.props.factory})}else{const n=e+(t.getOrientation()===w.Orientation.HORZ?"/r":"/c")+p++;this.renderChildren(n,t,r,o,i,a)}}_getScreenRect(e){var t;const r=e.getRect().clone(),n=null===(t=this.selfRef.current)||void 0===t?void 0:t.getBoundingClientRect();if(!n)return null;const o=Math.min(80,this.currentWindow.outerHeight-this.currentWindow.innerHeight),i=Math.min(80,this.currentWindow.outerWidth-this.currentWindow.innerWidth);return r.x=r.x+n.x+this.currentWindow.screenX+i,r.y=r.y+n.y+this.currentWindow.screenY+o,r}addTabToTabSet(e,t){if(void 0!==this.props.model.getNodeById(e)){return this.doAction(s.Actions.addNode(t,e,i.DockLocation.CENTER,-1))}}addTabToActiveTabSet(e){const t=this.props.model.getActiveTabset();if(void 0!==t){return this.doAction(s.Actions.addNode(e,t.getId(),i.DockLocation.CENTER,-1))}}addTabWithDragAndDrop(e,t,r){this.fnNewNodeDropped=r,this.newTabJson=t,this.dragStart(void 0,e,u.TabNode._fromJson(t,this.props.model,!1),!0,void 0,void 0)}moveTabWithDragAndDrop(e,t){this.dragStart(void 0,t,e,!0,void 0,void 0)}addTabWithDragAndDropIndirect(e,t,r){this.fnNewNodeDropped=r,this.newTabJson=t,a.DragDrop.instance.addGlass(this.onCancelAdd),this.dragDivText=e,this.dragDiv=this.currentDocument.createElement("div"),this.dragDiv.className=this.getClassName(p.CLASSES.FLEXLAYOUT__DRAG_RECT),this.dragDiv.addEventListener("mousedown",this.onDragDivMouseDown),this.dragDiv.addEventListener("touchstart",this.onDragDivMouseDown,{passive:!1}),this.dragRectRender(this.dragDivText,void 0,this.newTabJson,(()=>{if(this.dragDiv){this.dragDiv.style.visibility="visible";const e=this.dragDiv.getBoundingClientRect(),t=new d.Rect(0,0,null==e?void 0:e.width,null==e?void 0:e.height);t.centerInRect(this.state.rect),this.dragDiv.setAttribute("data-layout-path","/drag-rectangle"),this.dragDiv.style.left=t.x+"px",this.dragDiv.style.top=t.y+"px"}}));this.selfRef.current.appendChild(this.dragDiv)}handleCustomTabDrag(e,t,r){var n,o,i;let s=null===(n=this.customDrop)||void 0===n?void 0:n.invalidated;const c=null===(o=this.customDrop)||void 0===o?void 0:o.callback;this.customDrop=void 0;const h=this.newTabJson||(this.dragNode instanceof u.TabNode?this.dragNode:void 0);if(h&&(e.node instanceof f.TabSetNode||e.node instanceof l.BorderNode)&&-1===e.index){const n=e.node.getSelectedNode(),o=null==n?void 0:n.getRect();if(n&&(null==o?void 0:o.contains(t.x,t.y))){let i;try{const a=this.onTabDrag(h,n,t.x-o.x,t.y-o.y,e.location,(()=>this.onDragMove(r)));a&&(i={rect:new d.Rect(a.x+o.x,a.y+o.y,a.width,a.height),callback:a.callback,invalidated:a.invalidated,dragging:h,over:n,x:t.x-o.x,y:t.y-o.y,location:e.location,cursor:a.cursor})}catch(e){console.error(e)}(null==i?void 0:i.callback)===c&&(s=void 0),this.customDrop=i}}this.dropInfo=e,this.outlineDiv&&(this.outlineDiv.className=this.getClassName(this.customDrop?p.CLASSES.FLEXLAYOUT__OUTLINE_RECT:e.className),this.customDrop?this.customDrop.rect.positionElement(this.outlineDiv):e.rect.positionElement(this.outlineDiv)),a.DragDrop.instance.setGlassCursorOverride(null===(i=this.customDrop)||void 0===i?void 0:i.cursor),this.outlineDiv&&(this.outlineDiv.style.visibility="visible");try{null==s||s()}catch(e){console.error(e)}}onDragEnter(e){if(a.DragDrop.instance.isDragging())return;const t=this.props.onExternalDrag(e);t&&(this.fnNewNodeDropped=t.onDrop,this.newTabJson=t.json,this.dragStart(e,t.dragText,u.TabNode._fromJson(t.json,this.props.model,!1),!0,void 0,void 0))}checkForBorderToShow(e,t){const r=this.props.model._getOuterInnerRects().outer,n=r.getCenter(),o=this.edgeRectWidth,a=this.edgeRectLength/2;let s=!1;this.props.model.isEnableEdgeDock()&&this.state.showHiddenBorder===i.DockLocation.CENTER&&(t>n.y-a&&tn.x-a&&e=r.getRight()-o?l=i.DockLocation.RIGHT:t<=r.y+o?l=i.DockLocation.TOP:t>=r.getBottom()-o&&(l=i.DockLocation.BOTTOM)),l!==this.state.showHiddenBorder&&this.setState({showHiddenBorder:l})}maximize(e){this.doAction(s.Actions.maximizeToggle(e.getId()))}customizeTab(e,t){this.props.onRenderTab&&this.props.onRenderTab(e,t)}customizeTabSet(e,t){this.props.onRenderTabSet&&this.props.onRenderTabSet(e,t)}i18nName(e,t){let r;return this.props.i18nMapper&&(r=this.props.i18nMapper(e,t)),void 0===r&&(r=e+(void 0===t?"":t)),r}getOnRenderFloatingTabPlaceholder(){return this.props.onRenderFloatingTabPlaceholder}getShowOverflowMenu(){return this.props.onShowOverflowMenu}getTabSetPlaceHolderCallback(){return this.props.onTabSetPlaceHolder}showContextMenu(e,t){this.props.onContextMenu&&this.props.onContextMenu(e,t)}auxMouseClick(e,t){this.props.onAuxMouseClick&&this.props.onAuxMouseClick(e,t)}}t.Layout=T;const j=e=>(n.useEffect((()=>{var t;null===(t=e.onRendered)||void 0===t||t.call(e)}),[e]),n.createElement(n.Fragment,null,e.children))},31996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Splitter=void 0;const n=r(36198),o=r(30268),i=r(33076),a=r(74268),s=r(13380),l=r(24115);t.Splitter=e=>{const{layout:t,node:r,path:c}=e,u=n.useRef([]),f=n.useRef(void 0),d=r.getParent(),p=e=>{var n;o.DragDrop.instance.setGlassCursorOverride(r.getOrientation()===s.Orientation.HORZ?"ns-resize":"ew-resize"),o.DragDrop.instance.startDrag(e,m,y,v,h,void 0,void 0,t.getCurrentDocument(),null!==(n=t.getRootDiv())&&void 0!==n?n:void 0),u.current=d._getSplitterBounds(r,!0);const i=t.getRootDiv();f.current=t.getCurrentDocument().createElement("div"),f.current.style.position="absolute",f.current.className=t.getClassName(l.CLASSES.FLEXLAYOUT__SPLITTER_DRAG),f.current.style.cursor=r.getOrientation()===s.Orientation.HORZ?"ns-resize":"ew-resize";const a=r.getRect();r.getOrientation()===s.Orientation.VERT&&a.width<2?a.width=2:r.getOrientation()===s.Orientation.HORZ&&a.height<2&&(a.height=2),a.positionElement(f.current),i&&i.appendChild(f.current)},h=e=>{const r=t.getRootDiv();r&&r.removeChild(f.current)},m=()=>!0,y=e=>{const n=t.getDomRect();if(!n)return;const o=e.clientX-n.left,i=e.clientY-n.top;f&&(r.getOrientation()===s.Orientation.HORZ?f.current.style.top=b(i-4)+"px":f.current.style.left=b(o-4)+"px"),t.isRealtimeResize()&&g()},g=()=>{let e=0;if(f&&(e=r.getOrientation()===s.Orientation.HORZ?f.current.offsetTop:f.current.offsetLeft),d instanceof a.BorderNode){const n=d._calculateSplit(r,e);t.doAction(i.Actions.adjustBorderSplit(r.getParent().getId(),n))}else{const n=d._calculateSplit(r,e);void 0!==n&&t.doAction(i.Actions.adjustSplit(n))}},v=()=>{g();const e=t.getRootDiv();e&&e.removeChild(f.current)},b=e=>{const t=u.current;let r=e;return et[1]&&(r=t[1]),r},O=t.getClassName;let w=r.getRect();const S=w.styleWithPosition({cursor:r.getOrientation()===s.Orientation.HORZ?"ns-resize":"ew-resize"});let x=O(l.CLASSES.FLEXLAYOUT__SPLITTER)+" "+O(l.CLASSES.FLEXLAYOUT__SPLITTER_+r.getOrientation().getName());d instanceof a.BorderNode?x+=" "+O(l.CLASSES.FLEXLAYOUT__SPLITTER_BORDER):void 0!==r.getModel().getMaximizedTabset()&&(S.display="none");const E=r.getModel().getSplitterExtra();if(0===E)return n.createElement("div",{style:S,"data-layout-path":c,className:x,onTouchStart:p,onMouseDown:p});{let e=w.clone();e.x=0,e.y=0,r.getOrientation()===s.Orientation.VERT?e.width+=E:e.height+=E;const t=e.styleWithPosition({cursor:r.getOrientation()===s.Orientation.HORZ?"ns-resize":"ew-resize"}),o=O(l.CLASSES.FLEXLAYOUT__SPLITTER_EXTRA);return n.createElement("div",{style:S,"data-layout-path":c,className:x},n.createElement("div",{style:t,className:o,onTouchStart:p,onMouseDown:p}))}}},60178:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tab=void 0;const n=r(36198),o=r(36198),i=r(33076),a=r(52733),s=r(24115),l=r(86180),c=r(25551),u=r(74268),f=r(14592);t.Tab=e=>{const{layout:t,selected:r,node:d,factory:p,path:h}=e,[m,y]=n.useState(!e.node.isEnableRenderOnDemand()||e.selected);n.useLayoutEffect((()=>{!m&&r&&y(!0)}));const g=()=>{const e=d.getParent();e.getType()===a.TabSetNode.TYPE&&(e.isActive()||t.doAction(i.Actions.setActiveTabset(e.getId())))},v=t.getClassName,b=d.getModel().isUseVisibility(),O=d.getParent(),w=d._styleWithPosition();let S;r||(0,f.hideElement)(w,b),O instanceof a.TabSetNode&&(void 0===d.getModel().getMaximizedTabset()||O.isMaximized()||(0,f.hideElement)(w,b)),m&&(S=p(d));let x=v(s.CLASSES.FLEXLAYOUT__TAB);return O instanceof u.BorderNode&&(x+=" "+v(s.CLASSES.FLEXLAYOUT__TAB_BORDER),x+=" "+v(s.CLASSES.FLEXLAYOUT__TAB_BORDER_+O.getLocation().getName())),void 0!==d.getContentClassName()&&(x+=" "+d.getContentClassName()),n.createElement("div",{className:x,"data-layout-path":h,onMouseDown:g,onTouchStart:g,style:w},n.createElement(l.ErrorBoundary,{message:e.layout.i18nName(c.I18nLabel.Error_rendering_component)},n.createElement(o.Fragment,null,S)))}},22112:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabButton=void 0;const n=r(36198),o=r(25551),i=r(33076),a=r(10807),s=r(47562),l=r(24115),c=r(14592);t.TabButton=e=>{const{layout:t,node:r,selected:u,iconFactory:f,titleFactory:d,icons:p,path:h}=e,m=n.useRef(null),y=n.useRef(null),g=e=>{(0,c.isAuxMouseEvent)(e)||t.getEditingTab()||t.dragStart(e,void 0,r,r.isEnableDrag(),b,O)},v=e=>{(0,c.isAuxMouseEvent)(e)&&t.auxMouseClick(r,e)},b=()=>{t.doAction(i.Actions.selectTab(r.getId()))},O=e=>{r.isEnableRename()&&w()},w=()=>{t.setEditingTab(r),t.getCurrentDocument().body.addEventListener("mousedown",S),t.getCurrentDocument().body.addEventListener("touchstart",S)},S=e=>{e.target!==y.current&&(t.getCurrentDocument().body.removeEventListener("mousedown",S),t.getCurrentDocument().body.removeEventListener("touchstart",S),t.setEditingTab(void 0))},x=e=>{(()=>{const e=r.getCloseType();return!!(u||e===s.ICloseType.Always||e===s.ICloseType.Visible&&window.matchMedia&&window.matchMedia("(hover: hover) and (pointer: fine)").matches)})()?t.doAction(i.Actions.deleteTab(r.getId())):b()},E=e=>{e.stopPropagation()};n.useLayoutEffect((()=>{_(),t.getEditingTab()===r&&y.current.select()}));const _=()=>{var e;const n=t.getDomRect(),o=null===(e=m.current)||void 0===e?void 0:e.getBoundingClientRect();o&&n&&r._setTabRect(new a.Rect(o.left-n.left,o.top-n.top,o.width,o.height))},P=e=>{e.stopPropagation()},T=e=>{"Escape"===e.code?t.setEditingTab(void 0):"Enter"===e.code&&(t.setEditingTab(void 0),t.doAction(i.Actions.renameTab(r.getId(),e.target.value)))},j=t.getClassName,C=r.getParent(),k=C.isEnableSingleTabStretch()&&1===C.getChildren().length;let A=k?l.CLASSES.FLEXLAYOUT__TAB_BUTTON_STRETCH:l.CLASSES.FLEXLAYOUT__TAB_BUTTON,D=j(A);D+=" "+j(A+"_"+C.getTabLocation()),k||(D+=u?" "+j(A+"--selected"):" "+j(A+"--unselected")),void 0!==r.getClassName()&&(D+=" "+r.getClassName());const L=(0,c.getRenderStateEx)(t,r,f,d);let R=L.content?n.createElement("div",{className:j(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_CONTENT)},L.content):null;const M=L.leading?n.createElement("div",{className:j(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_LEADING)},L.leading):null;if(t.getEditingTab()===r&&(R=n.createElement("input",{ref:y,className:j(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_TEXTBOX),"data-layout-path":h+"/textbox",type:"text",autoFocus:!0,defaultValue:r.getName(),onKeyDown:T,onMouseDown:P,onTouchStart:P})),r.isEnableClose()&&!k){const e=t.i18nName(o.I18nLabel.Close_Tab);L.buttons.push(n.createElement("div",{key:"close","data-layout-path":h+"/button/close",title:e,className:j(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_TRAILING),onMouseDown:E,onClick:x,onTouchStart:E},"function"==typeof p.close?p.close(r):p.close))}return n.createElement("div",{ref:m,"data-layout-path":h,className:D,onMouseDown:g,onClick:v,onAuxClick:v,onContextMenu:e=>{t.showContextMenu(r,e)},onTouchStart:g,title:r.getHelpText()},M,R,L.buttons)}},15797:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabButtonStamp=void 0;const n=r(36198),o=r(24115),i=r(14592);t.TabButtonStamp=e=>{const{layout:t,node:r,iconFactory:a,titleFactory:s}=e,l=n.useRef(null),c=t.getClassName;let u=c(o.CLASSES.FLEXLAYOUT__TAB_BUTTON_STAMP);const f=(0,i.getRenderStateEx)(t,r,a,s);let d=f.content?n.createElement("div",{className:c(o.CLASSES.FLEXLAYOUT__TAB_BUTTON_CONTENT)},f.content):r._getNameForOverflowMenu();const p=f.leading?n.createElement("div",{className:c(o.CLASSES.FLEXLAYOUT__TAB_BUTTON_LEADING)},f.leading):null;return n.createElement("div",{ref:l,className:u,title:r.getHelpText()},p,d)}},62022:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabFloating=void 0;const n=r(36198),o=r(33076),i=r(52733),a=r(24115),s=r(25551),l=r(14592);t.TabFloating=e=>{const{layout:t,selected:r,node:c,path:u}=e,f=()=>{c.getWindow()&&c.getWindow().focus()},d=()=>{t.doAction(o.Actions.unFloatTab(c.getId()))},p=()=>{const e=c.getParent();e.getType()===i.TabSetNode.TYPE&&(e.isActive()||t.doAction(o.Actions.setActiveTabset(e.getId())))},h=e=>{e.preventDefault(),f()},m=e=>{e.preventDefault(),d()},y=t.getClassName,g=c.getParent(),v=c._styleWithPosition();r||(0,l.hideElement)(v,c.getModel().isUseVisibility()),g instanceof i.TabSetNode&&(void 0===c.getModel().getMaximizedTabset()||g.isMaximized()||(0,l.hideElement)(v,c.getModel().isUseVisibility()));const b=t.i18nName(s.I18nLabel.Floating_Window_Message),O=t.i18nName(s.I18nLabel.Floating_Window_Show_Window),w=t.i18nName(s.I18nLabel.Floating_Window_Dock_Window),S=t.getOnRenderFloatingTabPlaceholder();return S?n.createElement("div",{className:y(a.CLASSES.FLEXLAYOUT__TAB_FLOATING),onMouseDown:p,onTouchStart:p,style:v},S(d,f)):n.createElement("div",{className:y(a.CLASSES.FLEXLAYOUT__TAB_FLOATING),"data-layout-path":u,onMouseDown:p,onTouchStart:p,style:v},n.createElement("div",{className:y(a.CLASSES.FLEXLAYOUT__TAB_FLOATING_INNER)},n.createElement("div",null,b),n.createElement("div",null,n.createElement("a",{href:"#",onClick:h},O)),n.createElement("div",null,n.createElement("a",{href:"#",onClick:m},w))))}},1680:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTabOverflow=void 0;const n=r(36198),o=r(10807),i=r(52733),a=r(13380);t.useTabOverflow=(e,t,r,s)=>{const l=n.useRef(!0),c=n.useRef(!1),u=n.useRef(new o.Rect(0,0,0,0)),f=n.useRef(null),[d,p]=n.useState(0),h=n.useRef(!1),[m,y]=n.useState([]),g=n.useRef(0);n.useLayoutEffect((()=>{h.current=!1}),[e.getSelectedNode(),e.getRect().width,e.getRect().height]),n.useLayoutEffect((()=>{x()}));const v=f.current;n.useEffect((()=>{if(v)return v.addEventListener("wheel",b,{passive:!1}),()=>{v.removeEventListener("wheel",b)}}),[v]);const b=e=>{e.preventDefault()},O=e=>t===a.Orientation.HORZ?e.x:e.y,w=e=>t===a.Orientation.HORZ?e.getRight():e.getBottom(),S=e=>t===a.Orientation.HORZ?e.width:e.height,x=()=>{!0===l.current&&(c.current=!1);const t=e instanceof i.TabSetNode?e.getRect():e.getTabHeaderRect();let n=e.getChildren()[e.getChildren().length-1];const o=null===s.current?0:S(s.current.getBoundingClientRect());if(!0===l.current||0===g.current&&0!==m.length||t.width!==u.current.width||t.height!==u.current.height){g.current=m.length,u.current=t;const a=!(e instanceof i.TabSetNode)||!0===e.isEnableTabStrip();let s=w(t)-o;if(null!==r.current&&(s-=S(r.current.getBoundingClientRect())),a&&e.getChildren().length>0){if(0===m.length&&0===d&&w(n.getTabRect())+2=s-O(t)?r=O(t)-n:(i>s||ns&&(r=s-i))}const i=Math.max(0,s-(w(n.getTabRect())+2+r)),a=Math.min(0,d+r+i),u=a-d,f=[];for(let r=0;rs)&&f.push({node:n,index:r})}f.length>0&&(c.current=!0),l.current=!1,y(f),p(a)}}else l.current=!0};return{selfRef:f,position:d,userControlledLeft:h,hiddenTabs:m,onMouseWheel:e=>{let t=0;t=Math.abs(e.deltaX)>Math.abs(e.deltaY)?-e.deltaX:-e.deltaY,1===e.deltaMode&&(t*=40),p(d+t),h.current=!0,e.stopPropagation()},tabsTruncated:c.current}}},70470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabSet=void 0;const n=r(36198),o=r(25551),i=r(33076),a=r(40031),s=r(22112),l=r(1680),c=r(13380),u=r(24115),f=r(14592);t.TabSet=e=>{const{node:t,layout:r,iconFactory:d,titleFactory:p,icons:h,path:m}=e,y=n.useRef(null),g=n.useRef(null),v=n.useRef(null),b=n.useRef(null),{selfRef:O,position:w,userControlledLeft:S,hiddenTabs:x,onMouseWheel:E,tabsTruncated:_}=(0,l.useTabOverflow)(t,c.Orientation.HORZ,y,b),P=e=>{const n=r.getShowOverflowMenu();if(void 0!==n)n(t,e,x,T);else{const e=g.current;(0,a.showPopup)(e,x,T,r,d,p)}e.stopPropagation()},T=e=>{r.doAction(i.Actions.selectTab(e.node.getId())),S.current=!1},j=e=>{if(!(0,f.isAuxMouseEvent)(e)){let n=t.getName();if(n=void 0===n?"":": "+n,r.doAction(i.Actions.setActiveTabset(t.getId())),!r.getEditingTab()){const i=r.i18nName(o.I18nLabel.Move_Tabset,n);void 0!==t.getModel().getMaximizedTabset()?r.dragStart(e,i,t,!1,(e=>{}),I):r.dragStart(e,i,t,t.isEnableDrag(),(e=>{}),I)}}},C=e=>{(0,f.isAuxMouseEvent)(e)&&r.auxMouseClick(t,e)},k=e=>{r.showContextMenu(t,e)},A=e=>{e.stopPropagation()},D=e=>{t.canMaximize()&&r.maximize(t),e.stopPropagation()},L=e=>{r.doAction(i.Actions.deleteTabset(t.getId())),e.stopPropagation()},R=e=>{r.doAction(i.Actions.deleteTab(t.getChildren()[0].getId())),e.stopPropagation()},M=e=>{void 0!==B&&r.doAction(i.Actions.floatTab(B.getId())),e.stopPropagation()},I=e=>{t.canMaximize()&&r.maximize(t)},N=r.getClassName;null!==v.current&&0!==v.current.scrollLeft&&(v.current.scrollLeft=0);const B=t.getSelectedNode();let $=t._styleWithPosition();void 0===t.getModel().getMaximizedTabset()||t.isMaximized()||(0,f.hideElement)($,t.getModel().isUseVisibility());const F=[];if(t.isEnableTabStrip())for(let e=0;e0&&(_||H?V=[...Q,...V]:F.push(n.createElement("div",{ref:b,key:"sticky_buttons_container",onMouseDown:A,onTouchStart:A,onDragStart:e=>{e.preventDefault()},className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_STICKY_BUTTONS_CONTAINER)},Q))),x.length>0){const e=r.i18nName(o.I18nLabel.Overflow_Menu_Tooltip);let i;i="function"==typeof h.more?h.more(t,x):n.createElement(n.Fragment,null,h.more,n.createElement("div",{className:N(u.CLASSES.FLEXLAYOUT__TAB_BUTTON_OVERFLOW_COUNT)},x.length)),V.splice(Math.min(G.overflowPosition,V.length),0,n.createElement("button",{key:"overflowbutton","data-layout-path":m+"/button/overflow",ref:g,className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+N(u.CLASSES.FLEXLAYOUT__TAB_BUTTON_OVERFLOW),title:e,onClick:P,onMouseDown:A,onTouchStart:A},i))}if(void 0!==B&&r.isSupportsPopout()&&B.isEnableFloat()&&!B.isFloating()){const e=r.i18nName(o.I18nLabel.Float_Tab);V.push(n.createElement("button",{key:"float","data-layout-path":m+"/button/float",title:e,className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_FLOAT),onClick:M,onMouseDown:A,onTouchStart:A},"function"==typeof h.popout?h.popout(B):h.popout))}if(t.canMaximize()){const e=r.i18nName(o.I18nLabel.Restore),i=r.i18nName(o.I18nLabel.Maximize);(z?U:V).push(n.createElement("button",{key:"max","data-layout-path":m+"/button/max",title:t.isMaximized()?e:i,className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_+(t.isMaximized()?"max":"min")),onClick:D,onMouseDown:A,onTouchStart:A},t.isMaximized()?"function"==typeof h.restore?h.restore(t):h.restore:"function"==typeof h.maximize?h.maximize(t):h.maximize))}if(!t.isMaximized()&&Z){const e=H?r.i18nName(o.I18nLabel.Close_Tab):r.i18nName(o.I18nLabel.Close_Tabset);(z?U:V).push(n.createElement("button",{key:"close","data-layout-path":m+"/button/close",title:e,className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_CLOSE),onClick:H?R:L,onMouseDown:A,onTouchStart:A},"function"==typeof h.closeTabset?h.closeTabset(t):h.closeTabset))}const X=n.createElement("div",{key:"toolbar",ref:y,className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR),onMouseDown:A,onTouchStart:A,onDragStart:e=>{e.preventDefault()}},V);let q,Y,K=N(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_OUTER);if(void 0!==t.getClassNameTabStrip()&&(K+=" "+t.getClassNameTabStrip()),K+=" "+u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_OUTER_+t.getTabLocation(),t.isActive()&&!z&&(K+=" "+N(u.CLASSES.FLEXLAYOUT__TABSET_SELECTED)),t.isMaximized()&&!z&&(K+=" "+N(u.CLASSES.FLEXLAYOUT__TABSET_MAXIMIZED)),H){const e=t.getChildren()[0];void 0!==e.getTabSetClassName()&&(K+=" "+e.getTabSetClassName())}if(z){const e=n.createElement("div",{key:"toolbar",ref:y,className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR),onMouseDown:A,onTouchStart:A,onDragStart:e=>{e.preventDefault()}},U);let r=N(u.CLASSES.FLEXLAYOUT__TABSET_HEADER);t.isActive()&&(r+=" "+N(u.CLASSES.FLEXLAYOUT__TABSET_SELECTED)),t.isMaximized()&&(r+=" "+N(u.CLASSES.FLEXLAYOUT__TABSET_MAXIMIZED)),void 0!==t.getClassNameHeader()&&(r+=" "+t.getClassNameHeader()),q=n.createElement("div",{className:r,style:{height:t.getHeaderHeight()+"px"},"data-layout-path":m+"/header",onMouseDown:j,onContextMenu:k,onClick:C,onAuxClick:C,onTouchStart:j},n.createElement("div",{className:N(u.CLASSES.FLEXLAYOUT__TABSET_HEADER_CONTENT)},W),e)}const J={height:t.getTabStripHeight()+"px"};Y=n.createElement("div",{className:K,style:J,"data-layout-path":m+"/tabstrip",onMouseDown:j,onContextMenu:k,onClick:C,onAuxClick:C,onTouchStart:j},n.createElement("div",{ref:v,className:N(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER)+" "+N(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER_+t.getTabLocation())},n.createElement("div",{style:{left:w,width:H?"100%":"10000px"},className:N(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER)+" "+N(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER_+t.getTabLocation())},F)),X),$=r.styleFont($);var ee=void 0;if(0===t.getChildren().length){const e=r.getTabSetPlaceHolderCallback();e&&(ee=e(t))}const te=n.createElement("div",{className:N(u.CLASSES.FLEXLAYOUT__TABSET_CONTENT)},ee);var re;return re="top"===t.getTabLocation()?n.createElement(n.Fragment,null,q,Y,te):n.createElement(n.Fragment,null,q,te,Y),n.createElement("div",{ref:O,dir:"ltr","data-layout-path":m,style:$,className:N(u.CLASSES.FLEXLAYOUT__TABSET),onWheel:E},re)}},14592:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAuxMouseEvent=t.hideElement=t.getRenderStateEx=void 0;const n=r(36198);t.getRenderStateEx=function(e,t,r,o,i){let a=r?r(t):void 0,s=t.getName(),l=t.getName();if(void 0===i&&(i=0),void 0!==o){const e=o(t);void 0!==e&&("string"==typeof e?(s=e,l=e):void 0!==e.titleContent?(s=e.titleContent,l=e.name):s=e)}void 0===a&&void 0!==t.getIcon()&&(a=0!==i?n.createElement("img",{style:{width:"1em",height:"1em",transform:"rotate("+i+"deg)"},src:t.getIcon(),alt:"leadingContent"}):n.createElement("img",{style:{width:"1em",height:"1em"},src:t.getIcon(),alt:"leadingContent"}));const c={leading:a,content:s,name:l,buttons:[]};return e.customizeTab(t,c),t._setRenderedName(c.name),c},t.hideElement=function(e,t){t?e.visibility="hidden":e.display="none"},t.isAuxMouseEvent=function(e){let t=!1;return e.nativeEvent instanceof MouseEvent&&(0!==e.nativeEvent.button||e.ctrlKey||e.altKey||e.metaKey||e.shiftKey)&&(t=!0),t}},81613:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var n=r(71739),o=r.n(n),i=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function a(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},r=e.match(/<\/?([^\s]+?)[/\s>]/);if(r&&(t.name=r[1],(o()[r[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var n=e.indexOf("--\x3e");return{type:"comment",comment:-1!==n?e.slice(4,n):""}}for(var a=new RegExp(i),s=null;null!==(s=a.exec(e));)if(s[0].trim())if(s[1]){var l=s[1].trim(),c=[l,""];l.indexOf("=")>-1&&(c=l.split("=")),t.attrs[c[0]]=c[1],a.lastIndex--}else s[2]&&(t.attrs[s[2]]=s[3].trim().substring(1,s[3].length-1));return t}var s=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,l=/^\s*$/,c=Object.create(null);function u(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var r in e)t.push(r+'="'+e[r]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(u,"")+"";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var f={parse:function(e,t){t||(t={}),t.components||(t.components=c);var r,n=[],o=[],i=-1,u=!1;if(0!==e.indexOf("<")){var f=e.indexOf("<");n.push({type:"text",content:-1===f?e:e.substring(0,f)})}return e.replace(s,(function(s,c){if(u){if(s!=="")return;u=!1}var f,d="/"!==s.charAt(1),p=s.startsWith("\x3c!--"),h=c+s.length,m=e.charAt(h);if(p){var y=a(s);return i<0?(n.push(y),n):((f=o[i]).children.push(y),n)}if(d&&(i++,"tag"===(r=a(s)).type&&t.components[r.name]&&(r.type="component",u=!0),r.voidElement||u||!m||"<"===m||r.children.push({type:"text",content:e.slice(h,e.indexOf("<",h))}),0===i&&n.push(r),(f=o[i-1])&&f.children.push(r),o[i]=r),(!d||r.voidElement)&&(i>-1&&(r.voidElement||r.name===s.slice(2,-1))&&(i--,r=-1===i?n:o[i]),!u&&"<"!==m&&m)){f=-1===i?n:o[i].children;var g=e.indexOf("<",h),v=e.slice(h,-1===g?void 0:g);l.test(v)&&(v=" "),(g>-1&&i+f.length>=0||" "!==v)&&f.push({type:"text",content:v})}})),n},stringify:function(e){return e.reduce((function(e,t){return e+u("",t)}),"")}};const d=f},21787:()=>{var e,t;e=window,t=document,L.drawVersion="1.0.4",L.Draw={},L.drawLocal={draw:{toolbar:{actions:{title:"Cancel drawing",text:"Cancel"},finish:{title:"Finish drawing",text:"Finish"},undo:{title:"Delete last point drawn",text:"Delete last point"},buttons:{polyline:"Draw a polyline",polygon:"Draw a polygon",rectangle:"Draw a rectangle",circle:"Draw a circle",marker:"Draw a marker",circlemarker:"Draw a circlemarker"}},handlers:{circle:{tooltip:{start:"Click and drag to draw circle."},radius:"Radius"},circlemarker:{tooltip:{start:"Click map to place circle marker."}},marker:{tooltip:{start:"Click map to place marker."}},polygon:{tooltip:{start:"Click to start drawing shape.",cont:"Click to continue drawing shape.",end:"Click first point to close this shape."}},polyline:{error:"Error: shape edges cannot cross!",tooltip:{start:"Click to start drawing line.",cont:"Click to continue drawing line.",end:"Click last point to finish line."}},rectangle:{tooltip:{start:"Click and drag to draw rectangle."}},simpleshape:{tooltip:{end:"Release mouse to finish drawing."}}}},edit:{toolbar:{actions:{save:{title:"Save changes",text:"Save"},cancel:{title:"Cancel editing, discards all changes",text:"Cancel"},clearAll:{title:"Clear all layers",text:"Clear All"}},buttons:{edit:"Edit layers",editDisabled:"No layers to edit",remove:"Delete layers",removeDisabled:"No layers to delete"}},handlers:{edit:{tooltip:{text:"Drag handles or markers to edit features.",subtext:"Click cancel to undo changes."}},remove:{tooltip:{text:"Click on a feature to remove."}}}}},L.Draw.Event={},L.Draw.Event.CREATED="draw:created",L.Draw.Event.EDITED="draw:edited",L.Draw.Event.DELETED="draw:deleted",L.Draw.Event.DRAWSTART="draw:drawstart",L.Draw.Event.DRAWSTOP="draw:drawstop",L.Draw.Event.DRAWVERTEX="draw:drawvertex",L.Draw.Event.EDITSTART="draw:editstart",L.Draw.Event.EDITMOVE="draw:editmove",L.Draw.Event.EDITRESIZE="draw:editresize",L.Draw.Event.EDITVERTEX="draw:editvertex",L.Draw.Event.EDITSTOP="draw:editstop",L.Draw.Event.DELETESTART="draw:deletestart",L.Draw.Event.DELETESTOP="draw:deletestop",L.Draw.Event.TOOLBAROPENED="draw:toolbaropened",L.Draw.Event.TOOLBARCLOSED="draw:toolbarclosed",L.Draw.Event.MARKERCONTEXT="draw:markercontext",L.Draw=L.Draw||{},L.Draw.Feature=L.Handler.extend({initialize:function(e,t){this._map=e,this._container=e._container,this._overlayPane=e._panes.overlayPane,this._popupPane=e._panes.popupPane,t&&t.shapeOptions&&(t.shapeOptions=L.Util.extend({},this.options.shapeOptions,t.shapeOptions)),L.setOptions(this,t);var r=L.version.split(".");1===parseInt(r[0],10)&&parseInt(r[1],10)>=2?L.Draw.Feature.include(L.Evented.prototype):L.Draw.Feature.include(L.Mixin.Events)},enable:function(){this._enabled||(L.Handler.prototype.enable.call(this),this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.DRAWSTART,{layerType:this.type}))},disable:function(){this._enabled&&(L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.DRAWSTOP,{layerType:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var e=this._map;e&&(L.DomUtil.disableTextSelection(),e.getContainer().focus(),this._tooltip=new L.Draw.Tooltip(this._map),L.DomEvent.on(this._container,"keyup",this._cancelDrawing,this))},removeHooks:function(){this._map&&(L.DomUtil.enableTextSelection(),this._tooltip.dispose(),this._tooltip=null,L.DomEvent.off(this._container,"keyup",this._cancelDrawing,this))},setOptions:function(e){L.setOptions(this,e)},_fireCreatedEvent:function(e){this._map.fire(L.Draw.Event.CREATED,{layer:e,layerType:this.type})},_cancelDrawing:function(e){27===e.keyCode&&(this._map.fire("draw:canceled",{layerType:this.type}),this.disable())}}),L.Draw.Polyline=L.Draw.Feature.extend({statics:{TYPE:"polyline"},Poly:L.Polyline,options:{allowIntersection:!0,repeatMode:!1,drawError:{color:"#b00b00",timeout:2500},icon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon"}),touchIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-touch-icon"}),guidelineDistance:20,maxGuideLineLength:4e3,shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!1,clickable:!0},metric:!0,feet:!0,nautic:!1,showLength:!0,zIndexOffset:2e3,factor:1,maxPoints:0},initialize:function(e,t){L.Browser.touch&&(this.options.icon=this.options.touchIcon),this.options.drawError.message=L.drawLocal.draw.handlers.polyline.error,t&&t.drawError&&(t.drawError=L.Util.extend({},this.options.drawError,t.drawError)),this.type=L.Draw.Polyline.TYPE,L.Draw.Feature.prototype.initialize.call(this,e,t)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._markers=[],this._markerGroup=new L.LayerGroup,this._map.addLayer(this._markerGroup),this._poly=new L.Polyline([],this.options.shapeOptions),this._tooltip.updateContent(this._getTooltipText()),this._mouseMarker||(this._mouseMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"leaflet-mouse-marker",iconAnchor:[20,20],iconSize:[40,40]}),opacity:0,zIndexOffset:this.options.zIndexOffset})),this._mouseMarker.on("mouseout",this._onMouseOut,this).on("mousemove",this._onMouseMove,this).on("mousedown",this._onMouseDown,this).on("mouseup",this._onMouseUp,this).addTo(this._map),this._map.on("mouseup",this._onMouseUp,this).on("mousemove",this._onMouseMove,this).on("zoomlevelschange",this._onZoomEnd,this).on("touchstart",this._onTouch,this).on("zoomend",this._onZoomEnd,this))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._clearHideErrorTimeout(),this._cleanUpShape(),this._map.removeLayer(this._markerGroup),delete this._markerGroup,delete this._markers,this._map.removeLayer(this._poly),delete this._poly,this._mouseMarker.off("mousedown",this._onMouseDown,this).off("mouseout",this._onMouseOut,this).off("mouseup",this._onMouseUp,this).off("mousemove",this._onMouseMove,this),this._map.removeLayer(this._mouseMarker),delete this._mouseMarker,this._clearGuides(),this._map.off("mouseup",this._onMouseUp,this).off("mousemove",this._onMouseMove,this).off("zoomlevelschange",this._onZoomEnd,this).off("zoomend",this._onZoomEnd,this).off("touchstart",this._onTouch,this).off("click",this._onTouch,this)},deleteLastVertex:function(){if(!(this._markers.length<=1)){var e=this._markers.pop(),t=this._poly,r=t.getLatLngs(),n=r.splice(-1,1)[0];this._poly.setLatLngs(r),this._markerGroup.removeLayer(e),t.getLatLngs().length<2&&this._map.removeLayer(t),this._vertexChanged(n,!1)}},addVertex:function(e){this._markers.length>=2&&!this.options.allowIntersection&&this._poly.newLatLngIntersects(e)?this._showErrorTooltip():(this._errorShown&&this._hideErrorTooltip(),this._markers.push(this._createMarker(e)),this._poly.addLatLng(e),2===this._poly.getLatLngs().length&&this._map.addLayer(this._poly),this._vertexChanged(e,!0))},completeShape:function(){this._markers.length<=1||!this._shapeIsValid()||(this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable())},_finishShape:function(){var e=this._poly._defaultShape?this._poly._defaultShape():this._poly.getLatLngs(),t=this._poly.newLatLngIntersects(e[e.length-1]);!this.options.allowIntersection&&t||!this._shapeIsValid()?this._showErrorTooltip():(this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable())},_shapeIsValid:function(){return!0},_onZoomEnd:function(){null!==this._markers&&this._updateGuide()},_onMouseMove:function(e){var t=this._map.mouseEventToLayerPoint(e.originalEvent),r=this._map.layerPointToLatLng(t);this._currentLatLng=r,this._updateTooltip(r),this._updateGuide(t),this._mouseMarker.setLatLng(r),L.DomEvent.preventDefault(e.originalEvent)},_vertexChanged:function(e,t){this._map.fire(L.Draw.Event.DRAWVERTEX,{layers:this._markerGroup}),this._updateFinishHandler(),this._updateRunningMeasure(e,t),this._clearGuides(),this._updateTooltip()},_onMouseDown:function(e){if(!this._clickHandled&&!this._touchHandled&&!this._disableMarkers){this._onMouseMove(e),this._clickHandled=!0,this._disableNewMarkers();var t=e.originalEvent,r=t.clientX,n=t.clientY;this._startPoint.call(this,r,n)}},_startPoint:function(e,t){this._mouseDownOrigin=L.point(e,t)},_onMouseUp:function(e){var t=e.originalEvent,r=t.clientX,n=t.clientY;this._endPoint.call(this,r,n,e),this._clickHandled=null},_endPoint:function(t,r,n){if(this._mouseDownOrigin){var o=L.point(t,r).distanceTo(this._mouseDownOrigin),i=this._calculateFinishDistance(n.latlng);this.options.maxPoints>1&&this.options.maxPoints==this._markers.length+1?(this.addVertex(n.latlng),this._finishShape()):i<10&&L.Browser.touch?this._finishShape():Math.abs(o)<9*(e.devicePixelRatio||1)&&this.addVertex(n.latlng),this._enableNewMarkers()}this._mouseDownOrigin=null},_onTouch:function(e){var t,r,n=e.originalEvent;!n.touches||!n.touches[0]||this._clickHandled||this._touchHandled||this._disableMarkers||(t=n.touches[0].clientX,r=n.touches[0].clientY,this._disableNewMarkers(),this._touchHandled=!0,this._startPoint.call(this,t,r),this._endPoint.call(this,t,r,e),this._touchHandled=null),this._clickHandled=null},_onMouseOut:function(){this._tooltip&&this._tooltip._onMouseOut.call(this._tooltip)},_calculateFinishDistance:function(e){var t;if(this._markers.length>0){var r;if(this.type===L.Draw.Polyline.TYPE)r=this._markers[this._markers.length-1];else{if(this.type!==L.Draw.Polygon.TYPE)return 1/0;r=this._markers[0]}var n=this._map.latLngToContainerPoint(r.getLatLng()),o=new L.Marker(e,{icon:this.options.icon,zIndexOffset:2*this.options.zIndexOffset}),i=this._map.latLngToContainerPoint(o.getLatLng());t=n.distanceTo(i)}else t=1/0;return t},_updateFinishHandler:function(){var e=this._markers.length;e>1&&this._markers[e-1].on("click",this._finishShape,this),e>2&&this._markers[e-2].off("click",this._finishShape,this)},_createMarker:function(e){var t=new L.Marker(e,{icon:this.options.icon,zIndexOffset:2*this.options.zIndexOffset});return this._markerGroup.addLayer(t),t},_updateGuide:function(e){var t=this._markers?this._markers.length:0;t>0&&(e=e||this._map.latLngToLayerPoint(this._currentLatLng),this._clearGuides(),this._drawGuide(this._map.latLngToLayerPoint(this._markers[t-1].getLatLng()),e))},_updateTooltip:function(e){var t=this._getTooltipText();e&&this._tooltip.updatePosition(e),this._errorShown||this._tooltip.updateContent(t)},_drawGuide:function(e,t){var r,n,o,i=Math.floor(Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))),a=this.options.guidelineDistance,s=this.options.maxGuideLineLength,l=i>s?i-s:a;for(this._guidesContainer||(this._guidesContainer=L.DomUtil.create("div","leaflet-draw-guides",this._overlayPane));l1&&this._markers[this._markers.length-1].off("click",this._finishShape,this)},_fireCreatedEvent:function(){var e=new this.Poly(this._poly.getLatLngs(),this.options.shapeOptions);L.Draw.Feature.prototype._fireCreatedEvent.call(this,e)}}),L.Draw.Polygon=L.Draw.Polyline.extend({statics:{TYPE:"polygon"},Poly:L.Polygon,options:{showArea:!1,showLength:!1,shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},metric:!0,feet:!0,nautic:!1,precision:{}},initialize:function(e,t){L.Draw.Polyline.prototype.initialize.call(this,e,t),this.type=L.Draw.Polygon.TYPE},_updateFinishHandler:function(){var e=this._markers.length;1===e&&this._markers[0].on("click",this._finishShape,this),e>2&&(this._markers[e-1].on("dblclick",this._finishShape,this),e>3&&this._markers[e-2].off("dblclick",this._finishShape,this))},_getTooltipText:function(){var e,t;return 0===this._markers.length?e=L.drawLocal.draw.handlers.polygon.tooltip.start:this._markers.length<3?(e=L.drawLocal.draw.handlers.polygon.tooltip.cont,t=this._getMeasurementString()):(e=L.drawLocal.draw.handlers.polygon.tooltip.end,t=this._getMeasurementString()),{text:e,subtext:t}},_getMeasurementString:function(){var e=this._area,t="";return e||this.options.showLength?(this.options.showLength&&(t=L.Draw.Polyline.prototype._getMeasurementString.call(this)),e&&(t+="
"+L.GeometryUtil.readableArea(e,this.options.metric,this.options.precision)),t):null},_shapeIsValid:function(){return this._markers.length>=3},_vertexChanged:function(e,t){var r;!this.options.allowIntersection&&this.options.showArea&&(r=this._poly.getLatLngs(),this._area=L.GeometryUtil.geodesicArea(r)),L.Draw.Polyline.prototype._vertexChanged.call(this,e,t)},_cleanUpShape:function(){var e=this._markers.length;e>0&&(this._markers[0].off("click",this._finishShape,this),e>2&&this._markers[e-1].off("dblclick",this._finishShape,this))}}),L.SimpleShape={},L.Draw.SimpleShape=L.Draw.Feature.extend({options:{repeatMode:!1},initialize:function(e,t){this._endLabelText=L.drawLocal.draw.handlers.simpleshape.tooltip.end,L.Draw.Feature.prototype.initialize.call(this,e,t)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._mapDraggable=this._map.dragging.enabled(),this._mapDraggable&&this._map.dragging.disable(),this._container.style.cursor="crosshair",this._tooltip.updateContent({text:this._initialLabelText}),this._map.on("mousedown",this._onMouseDown,this).on("mousemove",this._onMouseMove,this).on("touchstart",this._onMouseDown,this).on("touchmove",this._onMouseMove,this),t.addEventListener("touchstart",L.DomEvent.preventDefault,{passive:!1}))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._map&&(this._mapDraggable&&this._map.dragging.enable(),this._container.style.cursor="",this._map.off("mousedown",this._onMouseDown,this).off("mousemove",this._onMouseMove,this).off("touchstart",this._onMouseDown,this).off("touchmove",this._onMouseMove,this),L.DomEvent.off(t,"mouseup",this._onMouseUp,this),L.DomEvent.off(t,"touchend",this._onMouseUp,this),t.removeEventListener("touchstart",L.DomEvent.preventDefault),this._shape&&(this._map.removeLayer(this._shape),delete this._shape)),this._isDrawing=!1},_getTooltipText:function(){return{text:this._endLabelText}},_onMouseDown:function(e){this._isDrawing=!0,this._startLatLng=e.latlng,L.DomEvent.on(t,"mouseup",this._onMouseUp,this).on(t,"touchend",this._onMouseUp,this).preventDefault(e.originalEvent)},_onMouseMove:function(e){var t=e.latlng;this._tooltip.updatePosition(t),this._isDrawing&&(this._tooltip.updateContent(this._getTooltipText()),this._drawShape(t))},_onMouseUp:function(){this._shape&&this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()}}),L.Draw.Rectangle=L.Draw.SimpleShape.extend({statics:{TYPE:"rectangle"},options:{shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},showArea:!0,metric:!0},initialize:function(e,t){this.type=L.Draw.Rectangle.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.rectangle.tooltip.start,L.Draw.SimpleShape.prototype.initialize.call(this,e,t)},disable:function(){this._enabled&&(this._isCurrentlyTwoClickDrawing=!1,L.Draw.SimpleShape.prototype.disable.call(this))},_onMouseUp:function(e){this._shape||this._isCurrentlyTwoClickDrawing?this._isCurrentlyTwoClickDrawing&&!function(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e}(e.target,"leaflet-pane")||L.Draw.SimpleShape.prototype._onMouseUp.call(this):this._isCurrentlyTwoClickDrawing=!0},_drawShape:function(e){this._shape?this._shape.setBounds(new L.LatLngBounds(this._startLatLng,e)):(this._shape=new L.Rectangle(new L.LatLngBounds(this._startLatLng,e),this.options.shapeOptions),this._map.addLayer(this._shape))},_fireCreatedEvent:function(){var e=new L.Rectangle(this._shape.getBounds(),this.options.shapeOptions);L.Draw.SimpleShape.prototype._fireCreatedEvent.call(this,e)},_getTooltipText:function(){var e,t,r,n=L.Draw.SimpleShape.prototype._getTooltipText.call(this),o=this._shape,i=this.options.showArea;return o&&(e=this._shape._defaultShape?this._shape._defaultShape():this._shape.getLatLngs(),t=L.GeometryUtil.geodesicArea(e),r=i?L.GeometryUtil.readableArea(t,this.options.metric):""),{text:n.text,subtext:r}}}),L.Draw.Marker=L.Draw.Feature.extend({statics:{TYPE:"marker"},options:{icon:new L.Icon.Default,repeatMode:!1,zIndexOffset:2e3},initialize:function(e,t){this.type=L.Draw.Marker.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.marker.tooltip.start,L.Draw.Feature.prototype.initialize.call(this,e,t)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._tooltip.updateContent({text:this._initialLabelText}),this._mouseMarker||(this._mouseMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"leaflet-mouse-marker",iconAnchor:[20,20],iconSize:[40,40]}),opacity:0,zIndexOffset:this.options.zIndexOffset})),this._mouseMarker.on("click",this._onClick,this).addTo(this._map),this._map.on("mousemove",this._onMouseMove,this),this._map.on("click",this._onTouch,this))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._map&&(this._map.off("click",this._onClick,this).off("click",this._onTouch,this),this._marker&&(this._marker.off("click",this._onClick,this),this._map.removeLayer(this._marker),delete this._marker),this._mouseMarker.off("click",this._onClick,this),this._map.removeLayer(this._mouseMarker),delete this._mouseMarker,this._map.off("mousemove",this._onMouseMove,this))},_onMouseMove:function(e){var t=e.latlng;this._tooltip.updatePosition(t),this._mouseMarker.setLatLng(t),this._marker?(t=this._mouseMarker.getLatLng(),this._marker.setLatLng(t)):(this._marker=this._createMarker(t),this._marker.on("click",this._onClick,this),this._map.on("click",this._onClick,this).addLayer(this._marker))},_createMarker:function(e){return new L.Marker(e,{icon:this.options.icon,zIndexOffset:this.options.zIndexOffset})},_onClick:function(){this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()},_onTouch:function(e){this._onMouseMove(e),this._onClick()},_fireCreatedEvent:function(){var e=new L.Marker.Touch(this._marker.getLatLng(),{icon:this.options.icon});L.Draw.Feature.prototype._fireCreatedEvent.call(this,e)}}),L.Draw.CircleMarker=L.Draw.Marker.extend({statics:{TYPE:"circlemarker"},options:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0,zIndexOffset:2e3},initialize:function(e,t){this.type=L.Draw.CircleMarker.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.circlemarker.tooltip.start,L.Draw.Feature.prototype.initialize.call(this,e,t)},_fireCreatedEvent:function(){var e=new L.CircleMarker(this._marker.getLatLng(),this.options);L.Draw.Feature.prototype._fireCreatedEvent.call(this,e)},_createMarker:function(e){return new L.CircleMarker(e,this.options)}}),L.Draw.Circle=L.Draw.SimpleShape.extend({statics:{TYPE:"circle"},options:{shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},showRadius:!0,metric:!0,feet:!0,nautic:!1},initialize:function(e,t){this.type=L.Draw.Circle.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.circle.tooltip.start,L.Draw.SimpleShape.prototype.initialize.call(this,e,t)},_drawShape:function(e){if(L.GeometryUtil.isVersion07x())var t=this._startLatLng.distanceTo(e);else t=this._map.distance(this._startLatLng,e);this._shape?this._shape.setRadius(t):(this._shape=new L.Circle(this._startLatLng,t,this.options.shapeOptions),this._map.addLayer(this._shape))},_fireCreatedEvent:function(){var e=new L.Circle(this._startLatLng,this._shape.getRadius(),this.options.shapeOptions);L.Draw.SimpleShape.prototype._fireCreatedEvent.call(this,e)},_onMouseMove:function(e){var t,r=e.latlng,n=this.options.showRadius,o=this.options.metric;if(this._tooltip.updatePosition(r),this._isDrawing){this._drawShape(r),t=this._shape.getRadius().toFixed(1);var i="";n&&(i=L.drawLocal.draw.handlers.circle.radius+": "+L.GeometryUtil.readableDistance(t,o,this.options.feet,this.options.nautic)),this._tooltip.updateContent({text:this._endLabelText,subtext:i})}}}),L.Edit=L.Edit||{},L.Edit.Marker=L.Handler.extend({initialize:function(e,t){this._marker=e,L.setOptions(this,t)},addHooks:function(){var e=this._marker;e.dragging.enable(),e.on("dragend",this._onDragEnd,e),this._toggleMarkerHighlight()},removeHooks:function(){var e=this._marker;e.dragging.disable(),e.off("dragend",this._onDragEnd,e),this._toggleMarkerHighlight()},_onDragEnd:function(e){var t=e.target;t.edited=!0,this._map.fire(L.Draw.Event.EDITMOVE,{layer:t})},_toggleMarkerHighlight:function(){var e=this._marker._icon;e&&(e.style.display="none",L.DomUtil.hasClass(e,"leaflet-edit-marker-selected")?(L.DomUtil.removeClass(e,"leaflet-edit-marker-selected"),this._offsetMarker(e,-4)):(L.DomUtil.addClass(e,"leaflet-edit-marker-selected"),this._offsetMarker(e,4)),e.style.display="")},_offsetMarker:function(e,t){var r=parseInt(e.style.marginTop,10)-t,n=parseInt(e.style.marginLeft,10)-t;e.style.marginTop=r+"px",e.style.marginLeft=n+"px"}}),L.Marker.addInitHook((function(){L.Edit.Marker&&(this.editing=new L.Edit.Marker(this),this.options.editable&&this.editing.enable())})),L.Edit=L.Edit||{},L.Edit.Poly=L.Handler.extend({initialize:function(e){this.latlngs=[e._latlngs],e._holes&&(this.latlngs=this.latlngs.concat(e._holes)),this._poly=e,this._poly.on("revert-edited",this._updateLatLngs,this)},_defaultShape:function(){return L.Polyline._flat?L.Polyline._flat(this._poly._latlngs)?this._poly._latlngs:this._poly._latlngs[0]:this._poly._latlngs},_eachVertexHandler:function(e){for(var t=0;te&&(r._index+=t)}))},_createMiddleMarker:function(e,t){var r,n,o,i=this._getMiddleLatLng(e,t),a=this._createMarker(i);a.setOpacity(.6),e._middleRight=t._middleLeft=a,n=function(){a.off("touchmove",n,this);var o=t._index;a._index=o,a.off("click",r,this).on("click",this._onMarkerClick,this),i.lat=a.getLatLng().lat,i.lng=a.getLatLng().lng,this._spliceLatLngs(o,0,i),this._markers.splice(o,0,a),a.setOpacity(1),this._updateIndexes(o,1),t._index++,this._updatePrevNext(e,a),this._updatePrevNext(a,t),this._poly.fire("editstart")},o=function(){a.off("dragstart",n,this),a.off("dragend",o,this),a.off("touchmove",n,this),this._createMiddleMarker(e,a),this._createMiddleMarker(a,t)},r=function(){n.call(this),o.call(this),this._fireEdit()},a.on("click",r,this).on("dragstart",n,this).on("dragend",o,this).on("touchmove",n,this),this._markerGroup.addLayer(a)},_updatePrevNext:function(e,t){e&&(e._next=t),t&&(t._prev=e)},_getMiddleLatLng:function(e,t){var r=this._poly._map,n=r.project(e.getLatLng()),o=r.project(t.getLatLng());return r.unproject(n._add(o)._divideBy(2))}}),L.Polyline.addInitHook((function(){this.editing||(L.Edit.Poly&&(this.editing=new L.Edit.Poly(this),this.options.editable&&this.editing.enable()),this.on("add",(function(){this.editing&&this.editing.enabled()&&this.editing.addHooks()})),this.on("remove",(function(){this.editing&&this.editing.enabled()&&this.editing.removeHooks()})))})),L.Edit=L.Edit||{},L.Edit.SimpleShape=L.Handler.extend({options:{moveIcon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-move"}),resizeIcon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-resize"}),touchMoveIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-move leaflet-touch-icon"}),touchResizeIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-resize leaflet-touch-icon"})},initialize:function(e,t){L.Browser.touch&&(this.options.moveIcon=this.options.touchMoveIcon,this.options.resizeIcon=this.options.touchResizeIcon),this._shape=e,L.Util.setOptions(this,t)},addHooks:function(){var e=this._shape;this._shape._map&&(this._map=this._shape._map,e.setStyle(e.options.editing),e._map&&(this._map=e._map,this._markerGroup||this._initMarkers(),this._map.addLayer(this._markerGroup)))},removeHooks:function(){var e=this._shape;if(e.setStyle(e.options.original),e._map){this._unbindMarker(this._moveMarker);for(var t=0,r=this._resizeMarkers.length;t"+L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.draw.handlers.circle.radius+": "+L.GeometryUtil.readableDistance(radius,!0,this.options.feet,this.options.nautic)}),this._shape.setRadius(radius),this._map.fire(L.Draw.Event.EDITRESIZE,{layer:this._shape})}}),L.Circle.addInitHook((function(){L.Edit.Circle&&(this.editing=new L.Edit.Circle(this),this.options.editable&&this.editing.enable())})),L.Map.mergeOptions({touchExtend:!0}),L.Map.TouchExtend=L.Handler.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane},addHooks:function(){L.DomEvent.on(this._container,"touchstart",this._onTouchStart,this),L.DomEvent.on(this._container,"touchend",this._onTouchEnd,this),L.DomEvent.on(this._container,"touchmove",this._onTouchMove,this),this._detectIE()?(L.DomEvent.on(this._container,"MSPointerDown",this._onTouchStart,this),L.DomEvent.on(this._container,"MSPointerUp",this._onTouchEnd,this),L.DomEvent.on(this._container,"MSPointerMove",this._onTouchMove,this),L.DomEvent.on(this._container,"MSPointerCancel",this._onTouchCancel,this)):(L.DomEvent.on(this._container,"touchcancel",this._onTouchCancel,this),L.DomEvent.on(this._container,"touchleave",this._onTouchLeave,this))},removeHooks:function(){L.DomEvent.off(this._container,"touchstart",this._onTouchStart,this),L.DomEvent.off(this._container,"touchend",this._onTouchEnd,this),L.DomEvent.off(this._container,"touchmove",this._onTouchMove,this),this._detectIE()?(L.DomEvent.off(this._container,"MSPointerDown",this._onTouchStart,this),L.DomEvent.off(this._container,"MSPointerUp",this._onTouchEnd,this),L.DomEvent.off(this._container,"MSPointerMove",this._onTouchMove,this),L.DomEvent.off(this._container,"MSPointerCancel",this._onTouchCancel,this)):(L.DomEvent.off(this._container,"touchcancel",this._onTouchCancel,this),L.DomEvent.off(this._container,"touchleave",this._onTouchLeave,this))},_touchEvent:function(e,t){var r={};if(void 0!==e.touches){if(!e.touches.length)return;r=e.touches[0]}else{if("touch"!==e.pointerType)return;if(r=e,!this._filterClick(e))return}var n=this._map.mouseEventToContainerPoint(r),o=this._map.mouseEventToLayerPoint(r),i=this._map.layerPointToLatLng(o);this._map.fire(t,{latlng:i,layerPoint:o,containerPoint:n,pageX:r.pageX,pageY:r.pageY,originalEvent:e})},_filterClick:function(e){var t=e.timeStamp||e.originalEvent.timeStamp,r=L.DomEvent._lastClick&&t-L.DomEvent._lastClick;return r&&r>100&&r<500||e.target._simulatedClick&&!e._simulated?(L.DomEvent.stop(e),!1):(L.DomEvent._lastClick=t,!0)},_onTouchStart:function(e){this._map._loaded&&this._touchEvent(e,"touchstart")},_onTouchEnd:function(e){this._map._loaded&&this._touchEvent(e,"touchend")},_onTouchCancel:function(e){if(this._map._loaded){var t="touchcancel";this._detectIE()&&(t="pointercancel"),this._touchEvent(e,t)}},_onTouchLeave:function(e){this._map._loaded&&this._touchEvent(e,"touchleave")},_onTouchMove:function(e){this._map._loaded&&this._touchEvent(e,"touchmove")},_detectIE:function(){var t=e.navigator.userAgent,r=t.indexOf("MSIE ");if(r>0)return parseInt(t.substring(r+5,t.indexOf(".",r)),10);if(t.indexOf("Trident/")>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var o=t.indexOf("Edge/");return o>0&&parseInt(t.substring(o+5,t.indexOf(".",o)),10)}}),L.Map.addInitHook("addHandler","touchExtend",L.Map.TouchExtend),L.Marker.Touch=L.Marker.extend({_initInteraction:function(){return this.addInteractiveTarget?L.Marker.prototype._initInteraction.apply(this):this._initInteractionLegacy()},_initInteractionLegacy:function(){if(this.options.clickable){var e=this._icon,t=["dblclick","mousedown","mouseover","mouseout","contextmenu","touchstart","touchend","touchmove"];this._detectIE?t.concat(["MSPointerDown","MSPointerUp","MSPointerMove","MSPointerCancel"]):t.concat(["touchcancel"]),L.DomUtil.addClass(e,"leaflet-clickable"),L.DomEvent.on(e,"click",this._onMouseClick,this),L.DomEvent.on(e,"keypress",this._onKeyPress,this);for(var r=0;r0)return parseInt(t.substring(r+5,t.indexOf(".",r)),10);if(t.indexOf("Trident/")>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var o=t.indexOf("Edge/");return o>0&&parseInt(t.substring(o+5,t.indexOf(".",o)),10)}}),L.LatLngUtil={cloneLatLngs:function(e){for(var t=[],r=0,n=e.length;r2){for(var a=0;a1&&(r=r+a+s[1])}return r},readableArea:function(t,r,n){var o,i;return n=L.Util.extend({},e,n),r?(i=["ha","m"],type=typeof r,"string"===type?i=[r]:"boolean"!==type&&(i=r),o=t>=1e6&&-1!==i.indexOf("km")?L.GeometryUtil.formattedNumber(1e-6*t,n.km)+" km²":t>=1e4&&-1!==i.indexOf("ha")?L.GeometryUtil.formattedNumber(1e-4*t,n.ha)+" ha":L.GeometryUtil.formattedNumber(t,n.m)+" m²"):o=(t/=.836127)>=3097600?L.GeometryUtil.formattedNumber(t/3097600,n.mi)+" mi²":t>=4840?L.GeometryUtil.formattedNumber(t/4840,n.ac)+" acres":L.GeometryUtil.formattedNumber(t,n.yd)+" yd²",o},readableDistance:function(t,r,n,o,i){var a;switch(i=L.Util.extend({},e,i),r?"string"==typeof r?r:"metric":n?"feet":o?"nauticalMile":"yards"){case"metric":a=t>1e3?L.GeometryUtil.formattedNumber(t/1e3,i.km)+" km":L.GeometryUtil.formattedNumber(t,i.m)+" m";break;case"feet":t*=3.28083,a=L.GeometryUtil.formattedNumber(t,i.ft)+" ft";break;case"nauticalMile":t*=.53996,a=L.GeometryUtil.formattedNumber(t/1e3,i.nm)+" nm";break;default:a=(t*=1.09361)>1760?L.GeometryUtil.formattedNumber(t/1760,i.mi)+" miles":L.GeometryUtil.formattedNumber(t,i.yd)+" yd"}return a},isVersion07x:function(){var e=L.version.split(".");return 0===parseInt(e[0],10)&&7===parseInt(e[1],10)}})}(),L.Util.extend(L.LineUtil,{segmentsIntersect:function(e,t,r,n){return this._checkCounterclockwise(e,r,n)!==this._checkCounterclockwise(t,r,n)&&this._checkCounterclockwise(e,t,r)!==this._checkCounterclockwise(e,t,n)},_checkCounterclockwise:function(e,t,r){return(r.y-e.y)*(t.x-e.x)>(t.y-e.y)*(r.x-e.x)}}),L.Polyline.include({intersects:function(){var e,t,r,n=this._getProjectedPoints(),o=n?n.length:0;if(this._tooFewPointsForIntersection())return!1;for(e=o-1;e>=3;e--)if(t=n[e-1],r=n[e],this._lineSegmentsIntersectsRange(t,r,e-2))return!0;return!1},newLatLngIntersects:function(e,t){return!!this._map&&this.newPointIntersects(this._map.latLngToLayerPoint(e),t)},newPointIntersects:function(e,t){var r=this._getProjectedPoints(),n=r?r.length:0,o=r?r[n-1]:null,i=n-2;return!this._tooFewPointsForIntersection(1)&&this._lineSegmentsIntersectsRange(o,e,i,t?1:0)},_tooFewPointsForIntersection:function(e){var t=this._getProjectedPoints(),r=t?t.length:0;return!t||(r+=e||0)<=3},_lineSegmentsIntersectsRange:function(e,t,r,n){var o,i,a=this._getProjectedPoints();n=n||0;for(var s=r;s>n;s--)if(o=a[s-1],i=a[s],L.LineUtil.segmentsIntersect(e,t,o,i))return!0;return!1},_getProjectedPoints:function(){if(!this._defaultShape)return this._originalPoints;for(var e=[],t=this._defaultShape(),r=0;r=2?L.Toolbar.include(L.Evented.prototype):L.Toolbar.include(L.Mixin.Events)},enabled:function(){return null!==this._activeMode},disable:function(){this.enabled()&&this._activeMode.handler.disable()},addToolbar:function(e){var t,r=L.DomUtil.create("div","leaflet-draw-section"),n=0,o=this._toolbarClass||"",i=this.getModeHandlers(e);for(this._toolbarContainer=L.DomUtil.create("div","leaflet-draw-toolbar leaflet-bar"),this._map=e,t=0;t0&&this._singleLineLabel&&(L.DomUtil.removeClass(this._container,"leaflet-draw-tooltip-single"),this._singleLineLabel=!1):(L.DomUtil.addClass(this._container,"leaflet-draw-tooltip-single"),this._singleLineLabel=!0),this._container.innerHTML=(e.subtext.length>0?''+e.subtext+"
":"")+""+e.text+"",e.text||e.subtext?(this._visible=!0,this._container.style.visibility="inherit"):(this._visible=!1,this._container.style.visibility="hidden"),this):this},updatePosition:function(e){var t=this._map.latLngToLayerPoint(e),r=this._container;return this._container&&(this._visible&&(r.style.visibility="inherit"),L.DomUtil.setPosition(r,t)),this},showAsError:function(){return this._container&&L.DomUtil.addClass(this._container,"leaflet-error-draw-tooltip"),this},removeError:function(){return this._container&&L.DomUtil.removeClass(this._container,"leaflet-error-draw-tooltip"),this},_onMouseOut:function(){this._container&&(this._container.style.visibility="hidden")}}),L.DrawToolbar=L.Toolbar.extend({statics:{TYPE:"draw"},options:{polyline:{},polygon:{},rectangle:{},circle:{},marker:{},circlemarker:{}},initialize:function(e){for(var t in this.options)this.options.hasOwnProperty(t)&&e[t]&&(e[t]=L.extend({},this.options[t],e[t]));this._toolbarClass="leaflet-draw-draw",L.Toolbar.prototype.initialize.call(this,e)},getModeHandlers:function(e){return[{enabled:this.options.polyline,handler:new L.Draw.Polyline(e,this.options.polyline),title:L.drawLocal.draw.toolbar.buttons.polyline},{enabled:this.options.polygon,handler:new L.Draw.Polygon(e,this.options.polygon),title:L.drawLocal.draw.toolbar.buttons.polygon},{enabled:this.options.rectangle,handler:new L.Draw.Rectangle(e,this.options.rectangle),title:L.drawLocal.draw.toolbar.buttons.rectangle},{enabled:this.options.circle,handler:new L.Draw.Circle(e,this.options.circle),title:L.drawLocal.draw.toolbar.buttons.circle},{enabled:this.options.marker,handler:new L.Draw.Marker(e,this.options.marker),title:L.drawLocal.draw.toolbar.buttons.marker},{enabled:this.options.circlemarker,handler:new L.Draw.CircleMarker(e,this.options.circlemarker),title:L.drawLocal.draw.toolbar.buttons.circlemarker}]},getActions:function(e){return[{enabled:e.completeShape,title:L.drawLocal.draw.toolbar.finish.title,text:L.drawLocal.draw.toolbar.finish.text,callback:e.completeShape,context:e},{enabled:e.deleteLastVertex,title:L.drawLocal.draw.toolbar.undo.title,text:L.drawLocal.draw.toolbar.undo.text,callback:e.deleteLastVertex,context:e},{title:L.drawLocal.draw.toolbar.actions.title,text:L.drawLocal.draw.toolbar.actions.text,callback:this.disable,context:this}]},setOptions:function(e){for(var t in L.setOptions(this,e),this._modes)this._modes.hasOwnProperty(t)&&e.hasOwnProperty(t)&&this._modes[t].handler.setOptions(e[t])}}),L.EditToolbar=L.Toolbar.extend({statics:{TYPE:"edit"},options:{edit:{selectedPathOptions:{dashArray:"10, 10",fill:!0,fillColor:"#fe57a1",fillOpacity:.1,maintainColor:!1}},remove:{},poly:null,featureGroup:null},initialize:function(e){e.edit&&(void 0===e.edit.selectedPathOptions&&(e.edit.selectedPathOptions=this.options.edit.selectedPathOptions),e.edit.selectedPathOptions=L.extend({},this.options.edit.selectedPathOptions,e.edit.selectedPathOptions)),e.remove&&(e.remove=L.extend({},this.options.remove,e.remove)),e.poly&&(e.poly=L.extend({},this.options.poly,e.poly)),this._toolbarClass="leaflet-draw-edit",L.Toolbar.prototype.initialize.call(this,e),this._selectedFeatureCount=0},getModeHandlers:function(e){var t=this.options.featureGroup;return[{enabled:this.options.edit,handler:new L.EditToolbar.Edit(e,{featureGroup:t,selectedPathOptions:this.options.edit.selectedPathOptions,poly:this.options.poly}),title:L.drawLocal.edit.toolbar.buttons.edit},{enabled:this.options.remove,handler:new L.EditToolbar.Delete(e,{featureGroup:t}),title:L.drawLocal.edit.toolbar.buttons.remove}]},getActions:function(e){var t=[{title:L.drawLocal.edit.toolbar.actions.save.title,text:L.drawLocal.edit.toolbar.actions.save.text,callback:this._save,context:this},{title:L.drawLocal.edit.toolbar.actions.cancel.title,text:L.drawLocal.edit.toolbar.actions.cancel.text,callback:this.disable,context:this}];return e.removeAllLayers&&t.push({title:L.drawLocal.edit.toolbar.actions.clearAll.title,text:L.drawLocal.edit.toolbar.actions.clearAll.text,callback:this._clearAllLayers,context:this}),t},addToolbar:function(e){var t=L.Toolbar.prototype.addToolbar.call(this,e);return this._checkDisabled(),this.options.featureGroup.on("layeradd layerremove",this._checkDisabled,this),t},removeToolbar:function(){this.options.featureGroup.off("layeradd layerremove",this._checkDisabled,this),L.Toolbar.prototype.removeToolbar.call(this)},disable:function(){this.enabled()&&(this._activeMode.handler.revertLayers(),L.Toolbar.prototype.disable.call(this))},_save:function(){this._activeMode.handler.save(),this._activeMode&&this._activeMode.handler.disable()},_clearAllLayers:function(){this._activeMode.handler.removeAllLayers(),this._activeMode&&this._activeMode.handler.disable()},_checkDisabled:function(){var e,t=0!==this.options.featureGroup.getLayers().length;this.options.edit&&(e=this._modes[L.EditToolbar.Edit.TYPE].button,t?L.DomUtil.removeClass(e,"leaflet-disabled"):L.DomUtil.addClass(e,"leaflet-disabled"),e.setAttribute("title",t?L.drawLocal.edit.toolbar.buttons.edit:L.drawLocal.edit.toolbar.buttons.editDisabled)),this.options.remove&&(e=this._modes[L.EditToolbar.Delete.TYPE].button,t?L.DomUtil.removeClass(e,"leaflet-disabled"):L.DomUtil.addClass(e,"leaflet-disabled"),e.setAttribute("title",t?L.drawLocal.edit.toolbar.buttons.remove:L.drawLocal.edit.toolbar.buttons.removeDisabled))}}),L.EditToolbar.Edit=L.Handler.extend({statics:{TYPE:"edit"},initialize:function(e,t){if(L.Handler.prototype.initialize.call(this,e),L.setOptions(this,t),this._featureGroup=t.featureGroup,!(this._featureGroup instanceof L.FeatureGroup))throw new Error("options.featureGroup must be a L.FeatureGroup");this._uneditedLayerProps={},this.type=L.EditToolbar.Edit.TYPE;var r=L.version.split(".");1===parseInt(r[0],10)&&parseInt(r[1],10)>=2?L.EditToolbar.Edit.include(L.Evented.prototype):L.EditToolbar.Edit.include(L.Mixin.Events)},enable:function(){!this._enabled&&this._hasAvailableLayers()&&(this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.EDITSTART,{handler:this.type}),L.Handler.prototype.enable.call(this),this._featureGroup.on("layeradd",this._enableLayerEdit,this).on("layerremove",this._disableLayerEdit,this))},disable:function(){this._enabled&&(this._featureGroup.off("layeradd",this._enableLayerEdit,this).off("layerremove",this._disableLayerEdit,this),L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.EDITSTOP,{handler:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var e=this._map;e&&(e.getContainer().focus(),this._featureGroup.eachLayer(this._enableLayerEdit,this),this._tooltip=new L.Draw.Tooltip(this._map),this._tooltip.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext}),e._editTooltip=this._tooltip,this._updateTooltip(),this._map.on("mousemove",this._onMouseMove,this).on("touchmove",this._onMouseMove,this).on("MSPointerMove",this._onMouseMove,this).on(L.Draw.Event.EDITVERTEX,this._updateTooltip,this))},removeHooks:function(){this._map&&(this._featureGroup.eachLayer(this._disableLayerEdit,this),this._uneditedLayerProps={},this._tooltip.dispose(),this._tooltip=null,this._map.off("mousemove",this._onMouseMove,this).off("touchmove",this._onMouseMove,this).off("MSPointerMove",this._onMouseMove,this).off(L.Draw.Event.EDITVERTEX,this._updateTooltip,this))},revertLayers:function(){this._featureGroup.eachLayer((function(e){this._revertLayer(e)}),this)},save:function(){var e=new L.LayerGroup;this._featureGroup.eachLayer((function(t){t.edited&&(e.addLayer(t),t.edited=!1)})),this._map.fire(L.Draw.Event.EDITED,{layers:e})},_backupLayer:function(e){var t=L.Util.stamp(e);this._uneditedLayerProps[t]||(e instanceof L.Polyline||e instanceof L.Polygon||e instanceof L.Rectangle?this._uneditedLayerProps[t]={latlngs:L.LatLngUtil.cloneLatLngs(e.getLatLngs())}:e instanceof L.Circle?this._uneditedLayerProps[t]={latlng:L.LatLngUtil.cloneLatLng(e.getLatLng()),radius:e.getRadius()}:(e instanceof L.Marker||e instanceof L.CircleMarker)&&(this._uneditedLayerProps[t]={latlng:L.LatLngUtil.cloneLatLng(e.getLatLng())}))},_getTooltipText:function(){return{text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext}},_updateTooltip:function(){this._tooltip.updateContent(this._getTooltipText())},_revertLayer:function(e){var t=L.Util.stamp(e);e.edited=!1,this._uneditedLayerProps.hasOwnProperty(t)&&(e instanceof L.Polyline||e instanceof L.Polygon||e instanceof L.Rectangle?e.setLatLngs(this._uneditedLayerProps[t].latlngs):e instanceof L.Circle?(e.setLatLng(this._uneditedLayerProps[t].latlng),e.setRadius(this._uneditedLayerProps[t].radius)):(e instanceof L.Marker||e instanceof L.CircleMarker)&&e.setLatLng(this._uneditedLayerProps[t].latlng),e.fire("revert-edited",{layer:e}))},_enableLayerEdit:function(e){var t,r,n=e.layer||e.target||e;this._backupLayer(n),this.options.poly&&(r=L.Util.extend({},this.options.poly),n.options.poly=r),this.options.selectedPathOptions&&((t=L.Util.extend({},this.options.selectedPathOptions)).maintainColor&&(t.color=n.options.color,t.fillColor=n.options.fillColor),n.options.original=L.extend({},n.options),n.options.editing=t),n instanceof L.Marker?(n.editing&&n.editing.enable(),n.dragging.enable(),n.on("dragend",this._onMarkerDragEnd).on("touchmove",this._onTouchMove,this).on("MSPointerMove",this._onTouchMove,this).on("touchend",this._onMarkerDragEnd,this).on("MSPointerUp",this._onMarkerDragEnd,this)):n.editing.enable()},_disableLayerEdit:function(e){var t=e.layer||e.target||e;t.edited=!1,t.editing&&t.editing.disable(),delete t.options.editing,delete t.options.original,this._selectedPathOptions&&(t instanceof L.Marker?this._toggleMarkerHighlight(t):(t.setStyle(t.options.previousOptions),delete t.options.previousOptions)),t instanceof L.Marker?(t.dragging.disable(),t.off("dragend",this._onMarkerDragEnd,this).off("touchmove",this._onTouchMove,this).off("MSPointerMove",this._onTouchMove,this).off("touchend",this._onMarkerDragEnd,this).off("MSPointerUp",this._onMarkerDragEnd,this)):t.editing.disable()},_onMouseMove:function(e){this._tooltip.updatePosition(e.latlng)},_onMarkerDragEnd:function(e){var t=e.target;t.edited=!0,this._map.fire(L.Draw.Event.EDITMOVE,{layer:t})},_onTouchMove:function(e){var t=e.originalEvent.changedTouches[0],r=this._map.mouseEventToLayerPoint(t),n=this._map.layerPointToLatLng(r);e.target.setLatLng(n)},_hasAvailableLayers:function(){return 0!==this._featureGroup.getLayers().length}}),L.EditToolbar.Delete=L.Handler.extend({statics:{TYPE:"remove"},initialize:function(e,t){if(L.Handler.prototype.initialize.call(this,e),L.Util.setOptions(this,t),this._deletableLayers=this.options.featureGroup,!(this._deletableLayers instanceof L.FeatureGroup))throw new Error("options.featureGroup must be a L.FeatureGroup");this.type=L.EditToolbar.Delete.TYPE;var r=L.version.split(".");1===parseInt(r[0],10)&&parseInt(r[1],10)>=2?L.EditToolbar.Delete.include(L.Evented.prototype):L.EditToolbar.Delete.include(L.Mixin.Events)},enable:function(){!this._enabled&&this._hasAvailableLayers()&&(this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.DELETESTART,{handler:this.type}),L.Handler.prototype.enable.call(this),this._deletableLayers.on("layeradd",this._enableLayerDelete,this).on("layerremove",this._disableLayerDelete,this))},disable:function(){this._enabled&&(this._deletableLayers.off("layeradd",this._enableLayerDelete,this).off("layerremove",this._disableLayerDelete,this),L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.DELETESTOP,{handler:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var e=this._map;e&&(e.getContainer().focus(),this._deletableLayers.eachLayer(this._enableLayerDelete,this),this._deletedLayers=new L.LayerGroup,this._tooltip=new L.Draw.Tooltip(this._map),this._tooltip.updateContent({text:L.drawLocal.edit.handlers.remove.tooltip.text}),this._map.on("mousemove",this._onMouseMove,this))},removeHooks:function(){this._map&&(this._deletableLayers.eachLayer(this._disableLayerDelete,this),this._deletedLayers=null,this._tooltip.dispose(),this._tooltip=null,this._map.off("mousemove",this._onMouseMove,this))},revertLayers:function(){this._deletedLayers.eachLayer((function(e){this._deletableLayers.addLayer(e),e.fire("revert-deleted",{layer:e})}),this)},save:function(){this._map.fire(L.Draw.Event.DELETED,{layers:this._deletedLayers})},removeAllLayers:function(){this._deletableLayers.eachLayer((function(e){this._removeLayer({layer:e})}),this),this.save()},_enableLayerDelete:function(e){(e.layer||e.target||e).on("click",this._removeLayer,this)},_disableLayerDelete:function(e){var t=e.layer||e.target||e;t.off("click",this._removeLayer,this),this._deletedLayers.removeLayer(t)},_removeLayer:function(e){var t=e.layer||e.target||e;this._deletableLayers.removeLayer(t),this._deletedLayers.addLayer(t),t.fire("deleted")},_onMouseMove:function(e){this._tooltip.updatePosition(e.latlng)},_hasAvailableLayers:function(){return 0!==this._deletableLayers.getLayers().length}})},45243:function(e,t){!function(e){"use strict";var t="1.9.4";function r(e){var t,r,n,o;for(r=1,n=arguments.length;r0?Math.floor(e):Math.ceil(e)};function M(e,t,r){return e instanceof D?e:g(e)?new D(e[0],e[1]):null==e?e:"object"==typeof e&&"x"in e&&"y"in e?new D(e.x,e.y):new D(e,t,r)}function I(e,t){if(e)for(var r=t?[e,t]:e,n=0,o=r.length;n=this.min.x&&r.x<=this.max.x&&t.y>=this.min.y&&r.y<=this.max.y},intersects:function(e){e=N(e);var t=this.min,r=this.max,n=e.min,o=e.max,i=o.x>=t.x&&n.x<=r.x,a=o.y>=t.y&&n.y<=r.y;return i&&a},overlaps:function(e){e=N(e);var t=this.min,r=this.max,n=e.min,o=e.max,i=o.x>t.x&&n.xt.y&&n.y=n.lat&&r.lat<=o.lat&&t.lng>=n.lng&&r.lng<=o.lng},intersects:function(e){e=$(e);var t=this._southWest,r=this._northEast,n=e.getSouthWest(),o=e.getNorthEast(),i=o.lat>=t.lat&&n.lat<=r.lat,a=o.lng>=t.lng&&n.lng<=r.lng;return i&&a},overlaps:function(e){e=$(e);var t=this._southWest,r=this._northEast,n=e.getSouthWest(),o=e.getNorthEast(),i=o.lat>t.lat&&n.latt.lng&&n.lng1,ke=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveEventSupport",c,t),window.removeEventListener("testPassiveEventSupport",c,t)}catch(e){}return e}(),Ae=!!document.createElement("canvas").getContext,De=!(!document.createElementNS||!Y("svg").createSVGRect),Le=!!De&&((J=document.createElement("div")).innerHTML="","http://www.w3.org/2000/svg"===(J.firstChild&&J.firstChild.namespaceURI)),Re=!De&&function(){try{var e=document.createElement("div");e.innerHTML='';var t=e.firstChild;return t.style.behavior="url(#default#VML)",t&&"object"==typeof t.adj}catch(e){return!1}}(),Me=0===navigator.platform.indexOf("Mac"),Ie=0===navigator.platform.indexOf("Linux");function Ne(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var Be={ie:te,ielt9:re,edge:ne,webkit:oe,android:ie,android23:ae,androidStock:le,opera:ce,chrome:ue,gecko:fe,safari:de,phantom:pe,opera12:he,win:me,ie3d:ye,webkit3d:ge,gecko3d:ve,any3d:be,mobile:Oe,mobileWebkit:we,mobileWebkit3d:Se,msPointer:xe,pointer:Ee,touch:Pe,touchNative:_e,mobileOpera:Te,mobileGecko:je,retina:Ce,passiveEvents:ke,canvas:Ae,svg:De,vml:Re,inlineSvg:Le,mac:Me,linux:Ie},$e=Be.msPointer?"MSPointerDown":"pointerdown",Fe=Be.msPointer?"MSPointerMove":"pointermove",ze=Be.msPointer?"MSPointerUp":"pointerup",Qe=Be.msPointer?"MSPointerCancel":"pointercancel",Ve={touchstart:$e,touchmove:Fe,touchend:ze,touchcancel:Qe},Ue={touchstart:et,touchmove:Je,touchend:Je,touchcancel:Je},Ge={},We=!1;function He(e,t,r){return"touchstart"===t&&Ke(),Ue[t]?(r=Ue[t].bind(this,r),e.addEventListener(Ve[t],r,!1),r):(console.warn("wrong event specified:",t),c)}function Ze(e,t,r){Ve[t]?e.removeEventListener(Ve[t],r,!1):console.warn("wrong event specified:",t)}function Xe(e){Ge[e.pointerId]=e}function qe(e){Ge[e.pointerId]&&(Ge[e.pointerId]=e)}function Ye(e){delete Ge[e.pointerId]}function Ke(){We||(document.addEventListener($e,Xe,!0),document.addEventListener(Fe,qe,!0),document.addEventListener(ze,Ye,!0),document.addEventListener(Qe,Ye,!0),We=!0)}function Je(e,t){if(t.pointerType!==(t.MSPOINTER_TYPE_MOUSE||"mouse")){for(var r in t.touches=[],Ge)t.touches.push(Ge[r]);t.changedTouches=[t],e(t)}}function et(e,t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&Xt(t),Je(e,t)}function tt(e){var t,r,n={};for(r in e)t=e[r],n[r]=t&&t.bind?t.bind(e):t;return e=n,n.type="dblclick",n.detail=2,n.isTrusted=!1,n._simulated=!0,n}var rt=200;function nt(e,t){e.addEventListener("dblclick",t);var r,n=0;function o(e){if(1===e.detail){if("mouse"!==e.pointerType&&(!e.sourceCapabilities||e.sourceCapabilities.firesTouchEvents)){var o=Yt(e);if(!o.some((function(e){return e instanceof HTMLLabelElement&&e.attributes.for}))||o.some((function(e){return e instanceof HTMLInputElement||e instanceof HTMLSelectElement}))){var i=Date.now();i-n<=rt?2==++r&&t(tt(e)):r=1,n=i}}}else r=e.detail}return e.addEventListener("click",o),{dblclick:t,simDblclick:o}}function ot(e,t){e.removeEventListener("dblclick",t.dblclick),e.removeEventListener("click",t.simDblclick)}var it,at,st,lt,ct,ut=Tt(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ft=Tt(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),dt="webkitTransition"===ft||"OTransition"===ft?ft+"End":"transitionend";function pt(e){return"string"==typeof e?document.getElementById(e):e}function ht(e,t){var r=e.style[t]||e.currentStyle&&e.currentStyle[t];if((!r||"auto"===r)&&document.defaultView){var n=document.defaultView.getComputedStyle(e,null);r=n?n[t]:null}return"auto"===r?null:r}function mt(e,t,r){var n=document.createElement(e);return n.className=t||"",r&&r.appendChild(n),n}function yt(e){var t=e.parentNode;t&&t.removeChild(e)}function gt(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function vt(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function bt(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function Ot(e,t){if(void 0!==e.classList)return e.classList.contains(t);var r=Et(e);return r.length>0&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(r)}function wt(e,t){if(void 0!==e.classList)for(var r=d(t),n=0,o=r.length;n0?2*window.devicePixelRatio:1;function er(e){return Be.edge?e.wheelDeltaY/2:e.deltaY&&0===e.deltaMode?-e.deltaY/Jt:e.deltaY&&1===e.deltaMode?20*-e.deltaY:e.deltaY&&2===e.deltaMode?60*-e.deltaY:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?20*-e.detail:e.detail?e.detail/-32765*60:0}function tr(e,t){var r=t.relatedTarget;if(!r)return!0;try{for(;r&&r!==e;)r=r.parentNode}catch(e){return!1}return r!==e}var rr={__proto__:null,on:$t,off:zt,stopPropagation:Wt,disableScrollPropagation:Ht,disableClickPropagation:Zt,preventDefault:Xt,stop:qt,getPropagationPath:Yt,getMousePosition:Kt,getWheelDelta:er,isExternalTarget:tr,addListener:$t,removeListener:zt},nr=A.extend({run:function(e,t,r,n){this.stop(),this._el=e,this._inProgress=!0,this._duration=r||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=kt(e),this._offset=t.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=_(this._animate,this),this._step()},_step:function(e){var t=+new Date-this._startTime,r=1e3*this._duration;tthis.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var r=this.getCenter(),n=this._limitCenter(r,this._zoom,$(e));return r.equals(n)||this.panTo(n,t),this._enforcingBounds=!1,this},panInside:function(e,t){var r=M((t=t||{}).paddingTopLeft||t.padding||[0,0]),n=M(t.paddingBottomRight||t.padding||[0,0]),o=this.project(this.getCenter()),i=this.project(e),a=this.getPixelBounds(),s=N([a.min.add(r),a.max.subtract(n)]),l=s.getSize();if(!s.contains(i)){this._enforcingBounds=!0;var c=i.subtract(s.getCenter()),u=s.extend(i).getSize().subtract(l);o.x+=c.x<0?-u.x:u.x,o.y+=c.y<0?-u.y:u.y,this.panTo(this.unproject(o),t),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=r({animate:!1,pan:!0},!0===e?{animate:!0}:e);var t=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var n=this.getSize(),i=t.divideBy(2).round(),a=n.divideBy(2).round(),s=i.subtract(a);return s.x||s.y?(e.animate&&e.pan?this.panBy(s):(e.pan&&this._rawPanBy(s),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(o(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:t,newSize:n})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=r({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var t=o(this._handleGeolocationResponse,this),n=o(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(t,n,e):navigator.geolocation.getCurrentPosition(t,n,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){if(this._container._leaflet_id){var t=e.code,r=e.message||(1===t?"permission denied":2===t?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:t,message:"Geolocation error: "+r+"."})}},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var t=new F(e.coords.latitude,e.coords.longitude),r=t.toBounds(2*e.coords.accuracy),n=this._locateOptions;if(n.setView){var o=this.getBoundsZoom(r);this.setView(t,n.maxZoom?Math.min(o,n.maxZoom):o)}var i={latlng:t,bounds:r,timestamp:e.timestamp};for(var a in e.coords)"number"==typeof e.coords[a]&&(i[a]=e.coords[a]);this.fire("locationfound",i)}},addHandler:function(e,t){if(!t)return this;var r=this[e]=new t(this);return this._handlers.push(r),this.options[e]&&r.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var e;for(e in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),yt(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(P(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[e].remove();for(e in this._panes)yt(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){var r=mt("div","leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),t||this._mapPane);return e&&(this._panes[e]=r),r},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds();return new B(this.unproject(e.getBottomLeft()),this.unproject(e.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,t,r){e=$(e),r=M(r||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),i=this.getMaxZoom(),a=e.getNorthWest(),s=e.getSouthEast(),l=this.getSize().subtract(r),c=N(this.project(s,n),this.project(a,n)).getSize(),u=Be.any3d?this.options.zoomSnap:1,f=l.x/c.x,d=l.y/c.y,p=t?Math.max(f,d):Math.min(f,d);return n=this.getScaleZoom(p,n),u&&(n=Math.round(n/(u/100))*(u/100),n=t?Math.ceil(n/u)*u:Math.floor(n/u)*u),Math.max(o,Math.min(i,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new D(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var r=this._getTopLeftPoint(e,t);return new I(r,r.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(void 0===e?this.getZoom():e)},getPane:function(e){return"string"==typeof e?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var r=this.options.crs;return t=void 0===t?this._zoom:t,r.scale(e)/r.scale(t)},getScaleZoom:function(e,t){var r=this.options.crs;t=void 0===t?this._zoom:t;var n=r.zoom(e*r.scale(t));return isNaN(n)?1/0:n},project:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.latLngToPoint(z(e),t)},unproject:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.pointToLatLng(M(e),t)},layerPointToLatLng:function(e){var t=M(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){return this.project(z(e))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(z(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds($(e))},distance:function(e,t){return this.options.crs.distance(z(e),z(t))},containerPointToLayerPoint:function(e){return M(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return M(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(M(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(z(e)))},mouseEventToContainerPoint:function(e){return Kt(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var t=this._container=pt(e);if(!t)throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");$t(t,"scroll",this._onScroll,this),this._containerId=a(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&Be.any3d,wt(e,"leaflet-container"+(Be.touch?" leaflet-touch":"")+(Be.retina?" leaflet-retina":"")+(Be.ielt9?" leaflet-oldie":"")+(Be.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var t=ht(e,"position");"absolute"!==t&&"relative"!==t&&"fixed"!==t&&"sticky"!==t&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Ct(this._mapPane,new D(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(wt(e.markerPane,"leaflet-zoom-hide"),wt(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,t,r){Ct(this._mapPane,new D(0,0));var n=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire("viewprereset");var o=this._zoom!==t;this._moveStart(o,r)._move(e,t)._moveEnd(o),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(e,t){return e&&this.fire("zoomstart"),t||this.fire("movestart"),this},_move:function(e,t,r,n){void 0===t&&(t=this._zoom);var o=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),n?r&&r.pinch&&this.fire("zoom",r):((o||r&&r.pinch)&&this.fire("zoom",r),this.fire("move",r)),this},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return P(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){Ct(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(e){this._targets={},this._targets[a(this._container)]=this;var t=e?zt:$t;t(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&t(window,"resize",this._onResize,this),Be.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){P(this._resizeRequest),this._resizeRequest=_((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var r,n=[],o="mouseout"===t||"mouseover"===t,i=e.target||e.srcElement,s=!1;i;){if((r=this._targets[a(i)])&&("click"===t||"preclick"===t)&&this._draggableMoved(r)){s=!0;break}if(r&&r.listens(t,!0)){if(o&&!tr(i,e))break;if(n.push(r),o)break}if(i===this._container)break;i=i.parentNode}return n.length||s||o||!this.listens(t,!0)||(n=[this]),n},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var t=e.target||e.srcElement;if(!(!this._loaded||t._leaflet_disable_events||"click"===e.type&&this._isClickDisabled(t))){var r=e.type;"mousedown"===r&&Rt(t),this._fireDOMEvent(e,r)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,t,n){if("click"===e.type){var o=r({},e);o.type="preclick",this._fireDOMEvent(o,o.type,n)}var i=this._findEventTargets(e,t);if(n){for(var a=[],s=0;s0?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),r=this.getMaxZoom(),n=Be.any3d?this.options.zoomSnap:1;return n&&(e=Math.round(e/n)*n),Math.max(t,Math.min(r,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){St(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,t){var r=this._getCenterOffset(e)._trunc();return!(!0!==(t&&t.animate)&&!this.getSize().contains(r)||(this.panBy(r,t),0))},_createAnimProxy:function(){var e=this._proxy=mt("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",(function(e){var t=ut,r=this._proxy.style[t];jt(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),r===this._proxy.style[t]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){yt(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),t=this.getZoom();jt(this._proxy,this.project(e,t),this.getZoomScale(t,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,t,r){if(this._animatingZoom)return!0;if(r=r||{},!this._zoomAnimated||!1===r.animate||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(t),o=this._getCenterOffset(e)._divideBy(1-1/n);return!(!0!==r.animate&&!this.getSize().contains(o)||(_((function(){this._moveStart(!0,r.noMoveStart||!1)._animateZoom(e,t,!0)}),this),0))},_animateZoom:function(e,t,r,n){this._mapPane&&(r&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,wt(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:t,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(o(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&St(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function ir(e,t){return new or(e,t)}var ar=j.extend({options:{position:"topright"},initialize:function(e){p(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var t=this._map;return t&&t.removeControl(this),this.options.position=e,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var t=this._container=this.onAdd(e),r=this.getPosition(),n=e._controlCorners[r];return wt(t,"leaflet-control"),-1!==r.indexOf("bottom")?n.insertBefore(t,n.firstChild):n.appendChild(t),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(yt(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),sr=function(e){return new ar(e)};or.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var e=this._controlCorners={},t="leaflet-",r=this._controlContainer=mt("div",t+"control-container",this._container);function n(n,o){var i=t+n+" "+t+o;e[n+o]=mt("div",i,r)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)yt(this._controlCorners[e]);yt(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var lr=ar.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,r,n){return r1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=t&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(a(e.target)),r=t.overlay?"add"===e.type?"overlayadd":"overlayremove":"add"===e.type?"baselayerchange":null;r&&this._map.fire(r,t)},_createRadioElement:function(e,t){var r='",n=document.createElement("div");return n.innerHTML=r,n.firstChild},_addItem:function(e){var t,r=document.createElement("label"),n=this._map.hasLayer(e.layer);e.overlay?((t=document.createElement("input")).type="checkbox",t.className="leaflet-control-layers-selector",t.defaultChecked=n):t=this._createRadioElement("leaflet-base-layers_"+a(this),n),this._layerControlInputs.push(t),t.layerId=a(e.layer),$t(t,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+e.name;var i=document.createElement("span");return r.appendChild(i),i.appendChild(t),i.appendChild(o),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(r),this._checkDisabledLayers(),r},_onInputClick:function(){if(!this._preventClick){var e,t,r=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var i=r.length-1;i>=0;i--)e=r[i],t=this._getLayer(e.layerId).layer,e.checked?n.push(t):e.checked||o.push(t);for(i=0;i=0;o--)e=r[o],t=this._getLayer(e.layerId).layer,e.disabled=void 0!==t.options.minZoom&&nt.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section;this._preventClick=!0,$t(e,"click",Xt),this.expand();var t=this;setTimeout((function(){zt(e,"click",Xt),t._preventClick=!1}))}}),cr=function(e,t,r){return new lr(e,t,r)},ur=ar.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(e){var t="leaflet-control-zoom",r=mt("div",t+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,t+"-in",r,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,t+"-out",r,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),r},onRemove:function(e){e.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,r,n,o){var i=mt("a",r,n);return i.innerHTML=e,i.href="#",i.title=t,i.setAttribute("role","button"),i.setAttribute("aria-label",t),Zt(i),$t(i,"click",qt),$t(i,"click",o,this),$t(i,"click",this._refocusOnMap,this),i},_updateDisabled:function(){var e=this._map,t="leaflet-disabled";St(this._zoomInButton,t),St(this._zoomOutButton,t),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||e._zoom===e.getMinZoom())&&(wt(this._zoomOutButton,t),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||e._zoom===e.getMaxZoom())&&(wt(this._zoomInButton,t),this._zoomInButton.setAttribute("aria-disabled","true"))}});or.mergeOptions({zoomControl:!0}),or.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new ur,this.addControl(this.zoomControl))}));var fr=function(e){return new ur(e)},dr=ar.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t="leaflet-control-scale",r=mt("div",t),n=this.options;return this._addScales(n,t+"-line",r),e.on(n.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),r},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,t,r){e.metric&&(this._mScale=mt("div",t,r)),e.imperial&&(this._iScale=mt("div",t,r))},_update:function(){var e=this._map,t=e.getSize().y/2,r=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(r)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e),r=t<1e3?t+" m":t/1e3+" km";this._updateScale(this._mScale,r,t/e)},_updateImperial:function(e){var t,r,n,o=3.2808399*e;o>5280?(t=o/5280,r=this._getRoundNum(t),this._updateScale(this._iScale,r+" mi",r/t)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(e,t,r){e.style.width=Math.round(this.options.maxWidth*r)+"px",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+"").length-1),r=e/t;return t*(r=r>=10?10:r>=5?5:r>=3?3:r>=2?2:1)}}),pr=function(e){return new dr(e)},hr='',mr=ar.extend({options:{position:"bottomright",prefix:''+(Be.inlineSvg?hr+" ":"")+"Leaflet"},initialize:function(e){p(this,e),this._attributions={}},onAdd:function(e){for(var t in e.attributionControl=this,this._container=mt("div","leaflet-control-attribution"),Zt(this._container),e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),e.on("layeradd",this._addAttribution,this),this._container},onRemove:function(e){e.off("layeradd",this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once("remove",(function(){this.removeAttribution(e.layer.getAttribution())}),this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--,this._update()),this):this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var r=[];this.options.prefix&&r.push(this.options.prefix),e.length&&r.push(e.join(", ")),this._container.innerHTML=r.join(' ')}}});or.mergeOptions({attributionControl:!0}),or.addInitHook((function(){this.options.attributionControl&&(new mr).addTo(this)}));var yr=function(e){return new mr(e)};ar.Layers=lr,ar.Zoom=ur,ar.Scale=dr,ar.Attribution=mr,sr.layers=cr,sr.zoom=fr,sr.scale=pr,sr.attribution=yr;var gr=j.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});gr.addTo=function(e,t){return e.addHandler(t,this),this};var vr={Events:k},br=Be.touch?"touchstart mousedown":"mousedown",Or=A.extend({options:{clickTolerance:3},initialize:function(e,t,r,n){p(this,n),this._element=e,this._dragStartTarget=t||e,this._preventOutline=r},enable:function(){this._enabled||($t(this._dragStartTarget,br,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Or._dragging===this&&this.finishDrag(!0),zt(this._dragStartTarget,br,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(this._enabled&&(this._moved=!1,!Ot(this._element,"leaflet-zoom-anim")))if(e.touches&&1!==e.touches.length)Or._dragging===this&&this.finishDrag();else if(!(Or._dragging||e.shiftKey||1!==e.which&&1!==e.button&&!e.touches||(Or._dragging=this,this._preventOutline&&Rt(this._element),Dt(),it(),this._moving))){this.fire("down");var t=e.touches?e.touches[0]:e,r=It(this._element);this._startPoint=new D(t.clientX,t.clientY),this._startPos=kt(this._element),this._parentScale=Nt(r);var n="mousedown"===e.type;$t(document,n?"mousemove":"touchmove",this._onMove,this),$t(document,n?"mouseup":"touchend touchcancel",this._onUp,this)}},_onMove:function(e){if(this._enabled)if(e.touches&&e.touches.length>1)this._moved=!0;else{var t=e.touches&&1===e.touches.length?e.touches[0]:e,r=new D(t.clientX,t.clientY)._subtract(this._startPoint);(r.x||r.y)&&(Math.abs(r.x)+Math.abs(r.y)l&&(i=a,l=s);l>r&&(t[i]=1,kr(e,t,r,n,i),kr(e,t,r,i,o))}function Ar(e,t){for(var r=[e[0]],n=1,o=0,i=e.length;nt&&(r.push(e[n]),o=n);return ot.max.x&&(r|=2),e.yt.max.y&&(r|=8),r}function Mr(e,t){var r=t.x-e.x,n=t.y-e.y;return r*r+n*n}function Ir(e,t,r,n){var o,i=t.x,a=t.y,s=r.x-i,l=r.y-a,c=s*s+l*l;return c>0&&((o=((e.x-i)*s+(e.y-a)*l)/c)>1?(i=r.x,a=r.y):o>0&&(i+=s*o,a+=l*o)),s=e.x-i,l=e.y-a,n?s*s+l*l:new D(i,a)}function Nr(e){return!g(e[0])||"object"!=typeof e[0][0]&&void 0!==e[0][0]}function Br(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Nr(e)}function $r(e,t){var r,n,o,i,a,s,l,c;if(!e||0===e.length)throw new Error("latlngs not passed");Nr(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var u=z([0,0]),f=$(e);f.getNorthWest().distanceTo(f.getSouthWest())*f.getNorthEast().distanceTo(f.getNorthWest())<1700&&(u=xr(e));var d=e.length,p=[];for(r=0;rn){l=(i-n)/o,c=[s.x-l*(s.x-a.x),s.y-l*(s.y-a.y)];break}var m=t.unproject(M(c));return z([m.lat+u.lat,m.lng+u.lng])}var Fr={__proto__:null,simplify:Pr,pointToSegmentDistance:Tr,closestPointOnSegment:jr,clipSegment:Dr,_getEdgeIntersection:Lr,_getBitCode:Rr,_sqClosestPointOnSegment:Ir,isFlat:Nr,_flat:Br,polylineCenter:$r},zr={project:function(e){return new D(e.lng,e.lat)},unproject:function(e){return new F(e.y,e.x)},bounds:new I([-180,-90],[180,90])},Qr={R:6378137,R_MINOR:6356752.314245179,bounds:new I([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(e){var t=Math.PI/180,r=this.R,n=e.lat*t,o=this.R_MINOR/r,i=Math.sqrt(1-o*o),a=i*Math.sin(n),s=Math.tan(Math.PI/4-n/2)/Math.pow((1-a)/(1+a),i/2);return n=-r*Math.log(Math.max(s,1e-10)),new D(e.lng*t*r,n)},unproject:function(e){for(var t,r=180/Math.PI,n=this.R,o=this.R_MINOR/n,i=Math.sqrt(1-o*o),a=Math.exp(-e.y/n),s=Math.PI/2-2*Math.atan(a),l=0,c=.1;l<15&&Math.abs(c)>1e-7;l++)t=i*Math.sin(s),t=Math.pow((1-t)/(1+t),i/2),s+=c=Math.PI/2-2*Math.atan(a*t)-s;return new F(s*r,e.x*r/n)}},Vr={__proto__:null,LonLat:zr,Mercator:Qr,SphericalMercator:W},Ur=r({},U,{code:"EPSG:3395",projection:Qr,transformation:function(){var e=.5/(Math.PI*Qr.R);return Z(e,.5,-e,.5)}()}),Gr=r({},U,{code:"EPSG:4326",projection:zr,transformation:Z(1/180,1,-1/180,.5)}),Wr=r({},V,{projection:zr,transformation:Z(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var r=t.lng-e.lng,n=t.lat-e.lat;return Math.sqrt(r*r+n*n)},infinite:!0});V.Earth=U,V.EPSG3395=Ur,V.EPSG3857=X,V.EPSG900913=q,V.EPSG4326=Gr,V.Simple=Wr;var Hr=A.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[a(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[a(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var r=this.getEvents();t.on(r,this),this.once("remove",(function(){t.off(r,this)}),this)}this.onAdd(t),this.fire("add"),t.fire("layeradd",{layer:this})}}});or.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var t=a(e);return this._layers[t]||(this._layers[t]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e)),this},removeLayer:function(e){var t=a(e);return this._layers[t]?(this._loaded&&e.onRemove(this),delete this._layers[t],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return a(e)in this._layers},eachLayer:function(e,t){for(var r in this._layers)e.call(t,this._layers[r]);return this},_addLayers:function(e){for(var t=0,r=(e=e?g(e)?e:[e]:[]).length;tthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()=2&&t[0]instanceof F&&t[0].equals(t[r-1])&&t.pop(),t},_setLatLngs:function(e){un.prototype._setLatLngs.call(this,e),Nr(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Nr(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,r=new D(t,t);if(e=new I(e.min.subtract(r),e.max.add(r)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(e))if(this.options.noClip)this._parts=this._rings;else for(var n,o=0,i=this._rings.length;oe.y!=n.y>e.y&&e.x<(n.x-r.x)*(e.y-r.y)/(n.y-r.y)+r.x&&(c=!c);return c||un.prototype._containsPoint.call(this,e,!0)}});function pn(e,t){return new dn(e,t)}var hn=qr.extend({initialize:function(e,t){p(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t,r,n,o=g(e)?e:e.features;if(o){for(t=0,r=o.length;t0&&o.push(o[0].slice()),o}function wn(e,t){return e.feature?r({},e.feature,{geometry:t}):Sn(t)}function Sn(e){return"Feature"===e.type||"FeatureCollection"===e.type?e:{type:"Feature",properties:{},geometry:e}}var xn={toGeoJSON:function(e){return wn(this,{type:"Point",coordinates:bn(this.getLatLng(),e)})}};function En(e,t){return new hn(e,t)}rn.include(xn),ln.include(xn),an.include(xn),un.include({toGeoJSON:function(e){var t=!Nr(this._latlngs);return wn(this,{type:(t?"Multi":"")+"LineString",coordinates:On(this._latlngs,t?1:0,!1,e)})}}),dn.include({toGeoJSON:function(e){var t=!Nr(this._latlngs),r=t&&!Nr(this._latlngs[0]),n=On(this._latlngs,r?2:t?1:0,!0,e);return t||(n=[n]),wn(this,{type:(r?"Multi":"")+"Polygon",coordinates:n})}}),Zr.include({toMultiPoint:function(e){var t=[];return this.eachLayer((function(r){t.push(r.toGeoJSON(e).geometry.coordinates)})),wn(this,{type:"MultiPoint",coordinates:t})},toGeoJSON:function(e){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===t)return this.toMultiPoint(e);var r="GeometryCollection"===t,n=[];return this.eachLayer((function(t){if(t.toGeoJSON){var o=t.toGeoJSON(e);if(r)n.push(o.geometry);else{var i=Sn(o);"FeatureCollection"===i.type?n.push.apply(n,i.features):n.push(i)}}})),r?wn(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var _n=En,Pn=Hr.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,t,r){this._url=e,this._bounds=$(t),p(this,r)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(wt(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){yt(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&vt(this._image),this},bringToBack:function(){return this._map&&bt(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=$(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e="IMG"===this._url.tagName,t=this._image=e?this._url:mt("img");wt(t,"leaflet-image-layer"),this._zoomAnimated&&wt(t,"leaflet-zoom-animated"),this.options.className&&wt(t,this.options.className),t.onselectstart=c,t.onmousemove=c,t.onload=o(this.fire,this,"load"),t.onerror=o(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(t.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e?this._url=t.src:(t.src=this._url,t.alt=this.options.alt)},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),r=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;jt(this._image,r,t)},_reset:function(){var e=this._image,t=new I(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),r=t.getSize();Ct(e,t.min),e.style.width=r.x+"px",e.style.height=r.y+"px"},_updateOpacity:function(){_t(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),Tn=function(e,t,r){return new Pn(e,t,r)},jn=Pn.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var e="VIDEO"===this._url.tagName,t=this._image=e?this._url:mt("video");if(wt(t,"leaflet-image-layer"),this._zoomAnimated&&wt(t,"leaflet-zoom-animated"),this.options.className&&wt(t,this.options.className),t.onselectstart=c,t.onmousemove=c,t.onloadeddata=o(this.fire,this,"load"),e){for(var r=t.getElementsByTagName("source"),n=[],i=0;i0?n:[t.src]}else{g(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(t.style,"objectFit")&&(t.style.objectFit="fill"),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop,t.muted=!!this.options.muted,t.playsInline=!!this.options.playsInline;for(var a=0;ao?(t.height=o+"px",wt(e,i)):St(e,i),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),r=this._getAnchor();Ct(this._container,t.add(r))},_adjustPan:function(){if(this.options.autoPan)if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var e=this._map,t=parseInt(ht(this._container,"marginBottom"),10)||0,r=this._container.offsetHeight+t,n=this._containerWidth,o=new D(this._containerLeft,-r-this._containerBottom);o._add(kt(this._container));var i=e.layerPointToContainerPoint(o),a=M(this.options.autoPanPadding),s=M(this.options.autoPanPaddingTopLeft||a),l=M(this.options.autoPanPaddingBottomRight||a),c=e.getSize(),u=0,f=0;i.x+n+l.x>c.x&&(u=i.x+n-c.x+l.x),i.x-u-s.x<0&&(u=i.x-s.x),i.y+r+l.y>c.y&&(f=i.y+r-c.y+l.y),i.y-f-s.y<0&&(f=i.y-s.y),(u||f)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([u,f]))}},_getAnchor:function(){return M(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Rn=function(e,t){return new Ln(e,t)};or.mergeOptions({closePopupOnClick:!0}),or.include({openPopup:function(e,t,r){return this._initOverlay(Ln,e,t,r).openOn(this),this},closePopup:function(e){return(e=arguments.length?e:this._popup)&&e.close(),this}}),Hr.include({bindPopup:function(e,t){return this._popup=this._initOverlay(Ln,this._popup,e,t),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(e){return this._popup&&(this instanceof qr||(this._popup._source=this),this._popup._prepareOpen(e||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(this._popup&&this._map){qt(e);var t=e.layer||e.target;this._popup._source!==t||t instanceof on?(this._popup._source=t,this.openPopup(e.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){13===e.originalEvent.keyCode&&this._openPopup(e)}});var Mn=Dn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){Dn.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(e){Dn.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var e=Dn.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=mt("div",e),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+a(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t,r,n=this._map,o=this._container,i=n.latLngToContainerPoint(n.getCenter()),a=n.layerPointToContainerPoint(e),s=this.options.direction,l=o.offsetWidth,c=o.offsetHeight,u=M(this.options.offset),f=this._getAnchor();"top"===s?(t=l/2,r=c):"bottom"===s?(t=l/2,r=0):"center"===s?(t=l/2,r=c/2):"right"===s?(t=0,r=c/2):"left"===s?(t=l,r=c/2):a.xthis.options.maxZoom||rn&&this._retainParent(o,i,a,n))},_retainChildren:function(e,t,r,n){for(var o=2*e;o<2*e+2;o++)for(var i=2*t;i<2*t+2;i++){var a=new D(o,i);a.z=r+1;var s=this._tileCoordsToKey(a),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),r+1this.options.maxZoom||void 0!==this.options.minZoom&&o1)this._setView(e,r);else{for(var f=o.min.y;f<=o.max.y;f++)for(var d=o.min.x;d<=o.max.x;d++){var p=new D(d,f);if(p.z=this._tileZoom,this._isValidTile(p)){var h=this._tiles[this._tileCoordsToKey(p)];h?h.current=!0:a.push(p)}}if(a.sort((function(e,t){return e.distanceTo(i)-t.distanceTo(i)})),0!==a.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;dr.max.x)||!t.wrapLat&&(e.yr.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(e);return $(this.options.bounds).overlaps(n)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,r=this.getTileSize(),n=e.scaleBy(r),o=n.add(r);return[t.unproject(n,e.z),t.unproject(o,e.z)]},_tileCoordsToBounds:function(e){var t=this._tileCoordsToNwSe(e),r=new B(t[0],t[1]);return this.options.noWrap||(r=this._map.wrapLatLngBounds(r)),r},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var t=e.split(":"),r=new D(+t[0],+t[1]);return r.z=+t[2],r},_removeTile:function(e){var t=this._tiles[e];t&&(yt(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){wt(e,"leaflet-tile");var t=this.getTileSize();e.style.width=t.x+"px",e.style.height=t.y+"px",e.onselectstart=c,e.onmousemove=c,Be.ielt9&&this.options.opacity<1&&_t(e,this.options.opacity)},_addTile:function(e,t){var r=this._getTilePos(e),n=this._tileCoordsToKey(e),i=this.createTile(this._wrapCoords(e),o(this._tileReady,this,e));this._initTile(i),this.createTile.length<2&&_(o(this._tileReady,this,e,null,i)),Ct(i,r),this._tiles[n]={el:i,coords:e,current:!0},t.appendChild(i),this.fire("tileloadstart",{tile:i,coords:e})},_tileReady:function(e,t,r){t&&this.fire("tileerror",{error:t,tile:r,coords:e});var n=this._tileCoordsToKey(e);(r=this._tiles[n])&&(r.loaded=+new Date,this._map._fadeAnimated?(_t(r.el,0),P(this._fadeFrame),this._fadeFrame=_(this._updateOpacity,this)):(r.active=!0,this._pruneTiles()),t||(wt(r.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:r.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Be.ielt9||!this._map._fadeAnimated?_(this._pruneTiles,this):setTimeout(o(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new D(this._wrapX?l(e.x,this._wrapX):e.x,this._wrapY?l(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new I(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});function Fn(e){return new $n(e)}var zn=$n.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,t){this._url=e,(t=p(this,t)).detectRetina&&Be.retina&&t.maxZoom>0?(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom=Math.min(t.maxZoom,t.minZoom+1)):(t.zoomOffset++,t.maxZoom=Math.max(t.minZoom,t.maxZoom-1)),t.minZoom=Math.max(0,t.minZoom)):t.zoomReverse?t.minZoom=Math.min(t.maxZoom,t.minZoom):t.maxZoom=Math.max(t.minZoom,t.maxZoom),"string"==typeof t.subdomains&&(t.subdomains=t.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(e,t){return this._url===e&&void 0===t&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var r=document.createElement("img");return $t(r,"load",o(this._tileOnLoad,this,t,r)),$t(r,"error",o(this._tileOnError,this,t,r)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(r.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(r.referrerPolicy=this.options.referrerPolicy),r.alt="",r.src=this.getTileUrl(e),r},getTileUrl:function(e){var t={r:Be.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-e.y;this.options.tms&&(t.y=n),t["-y"]=n}return y(this._url,r(t,this.options))},_tileOnLoad:function(e,t){Be.ielt9?setTimeout(o(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,r){var n=this.options.errorTileUrl;n&&t.getAttribute("src")!==n&&(t.src=n),e(r,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom;return this.options.zoomReverse&&(e=t-e),e+this.options.zoomOffset},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&((t=this._tiles[e].el).onload=c,t.onerror=c,!t.complete)){t.src=b;var r=this._tiles[e].coords;yt(t),delete this._tiles[e],this.fire("tileabort",{tile:t,coords:r})}},_removeTile:function(e){var t=this._tiles[e];if(t)return t.el.setAttribute("src",b),$n.prototype._removeTile.call(this,e)},_tileReady:function(e,t,r){if(this._map&&(!r||r.getAttribute("src")!==b))return $n.prototype._tileReady.call(this,e,t,r)}});function Qn(e,t){return new zn(e,t)}var Vn=zn.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,t){this._url=e;var n=r({},this.defaultWmsParams);for(var o in t)o in this.options||(n[o]=t[o]);var i=(t=p(this,t)).detectRetina&&Be.retina?2:1,a=this.getTileSize();n.width=a.x*i,n.height=a.y*i,this.wmsParams=n},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[t]=this._crs.code,zn.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),r=this._crs,n=N(r.project(t[0]),r.project(t[1])),o=n.min,i=n.max,a=(this._wmsVersion>=1.3&&this._crs===Gr?[o.y,o.x,i.y,i.x]:[o.x,o.y,i.x,i.y]).join(","),s=zn.prototype.getTileUrl.call(this,e);return s+h(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+a},setParams:function(e,t){return r(this.wmsParams,e),t||this.redraw(),this}});function Un(e,t){return new Vn(e,t)}zn.WMS=Vn,Qn.wms=Un;var Gn=Hr.extend({options:{padding:.1},initialize:function(e){p(this,e),a(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),wt(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,t){var r=this._map.getZoomScale(t,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,t),i=n.multiplyBy(-r).add(o).subtract(this._map._getNewPixelOrigin(e,t));Be.any3d?jt(this._container,i,r):Ct(this._container,i)},_reset:function(){for(var e in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,t=this._map.getSize(),r=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();this._bounds=new I(r,r.add(t.multiplyBy(1+2*e)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Wn=Gn.extend({options:{tolerance:0},getEvents:function(){var e=Gn.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Gn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");$t(e,"mousemove",this._onMouseMove,this),$t(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),$t(e,"mouseout",this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext("2d")},_destroyContainer:function(){P(this._redrawRequest),delete this._ctx,yt(this._container),zt(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var e in this._redrawBounds=null,this._layers)this._layers[e]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){Gn.prototype._update.call(this);var e=this._bounds,t=this._container,r=e.getSize(),n=Be.retina?2:1;Ct(t,e.min),t.width=n*r.x,t.height=n*r.y,t.style.width=r.x+"px",t.style.height=r.y+"px",Be.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){Gn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[a(e)]=e;var t=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,r=t.next,n=t.prev;r?r.prev=n:this._drawLast=n,n?n.next=r:this._drawFirst=r,delete e._order,delete this._layers[a(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if("string"==typeof e.options.dashArray){var t,r,n=e.options.dashArray.split(/[, ]+/),o=[];for(r=0;r')}}catch(e){}return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Xn={_initContainer:function(){this._container=mt("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Gn.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var t=e._container=Zn("shape");wt(t,"leaflet-vml-shape "+(this.options.className||"")),t.coordsize="1 1",e._path=Zn("path"),t.appendChild(e._path),this._updateStyle(e),this._layers[a(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;yt(t),e.removeInteractiveTarget(t),delete this._layers[a(e)]},_updateStyle:function(e){var t=e._stroke,r=e._fill,n=e.options,o=e._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(t||(t=e._stroke=Zn("stroke")),o.appendChild(t),t.weight=n.weight+"px",t.color=n.color,t.opacity=n.opacity,n.dashArray?t.dashStyle=g(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):t.dashStyle="",t.endcap=n.lineCap.replace("butt","flat"),t.joinstyle=n.lineJoin):t&&(o.removeChild(t),e._stroke=null),n.fill?(r||(r=e._fill=Zn("fill")),o.appendChild(r),r.color=n.fillColor||n.color,r.opacity=n.fillOpacity):r&&(o.removeChild(r),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),r=Math.round(e._radius),n=Math.round(e._radiusY||r);this._setPath(e,e._empty()?"M0 0":"AL "+t.x+","+t.y+" "+r+","+n+" 0,23592600")},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){vt(e._container)},_bringToBack:function(e){bt(e._container)}},qn=Be.vml?Zn:Y,Yn=Gn.extend({_initContainer:function(){this._container=qn("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=qn("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){yt(this._container),zt(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){Gn.prototype._update.call(this);var e=this._bounds,t=e.getSize(),r=this._container;this._svgSize&&this._svgSize.equals(t)||(this._svgSize=t,r.setAttribute("width",t.x),r.setAttribute("height",t.y)),Ct(r,e.min),r.setAttribute("viewBox",[e.min.x,e.min.y,t.x,t.y].join(" ")),this.fire("update")}},_initPath:function(e){var t=e._path=qn("path");e.options.className&&wt(t,e.options.className),e.options.interactive&&wt(t,"leaflet-interactive"),this._updateStyle(e),this._layers[a(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){yt(e._path),e.removeInteractiveTarget(e._path),delete this._layers[a(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,r=e.options;t&&(r.stroke?(t.setAttribute("stroke",r.color),t.setAttribute("stroke-opacity",r.opacity),t.setAttribute("stroke-width",r.weight),t.setAttribute("stroke-linecap",r.lineCap),t.setAttribute("stroke-linejoin",r.lineJoin),r.dashArray?t.setAttribute("stroke-dasharray",r.dashArray):t.removeAttribute("stroke-dasharray"),r.dashOffset?t.setAttribute("stroke-dashoffset",r.dashOffset):t.removeAttribute("stroke-dashoffset")):t.setAttribute("stroke","none"),r.fill?(t.setAttribute("fill",r.fillColor||r.color),t.setAttribute("fill-opacity",r.fillOpacity),t.setAttribute("fill-rule",r.fillRule||"evenodd")):t.setAttribute("fill","none"))},_updatePoly:function(e,t){this._setPath(e,K(e._parts,t))},_updateCircle:function(e){var t=e._point,r=Math.max(Math.round(e._radius),1),n="a"+r+","+(Math.max(Math.round(e._radiusY),1)||r)+" 0 1,0 ",o=e._empty()?"M0 0":"M"+(t.x-r)+","+t.y+n+2*r+",0 "+n+2*-r+",0 ";this._setPath(e,o)},_setPath:function(e,t){e._path.setAttribute("d",t)},_bringToFront:function(e){vt(e._path)},_bringToBack:function(e){bt(e._path)}});function Kn(e){return Be.svg||Be.vml?new Yn(e):null}Be.vml&&Yn.include(Xn),or.include({getRenderer:function(e){var t=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return t||(t=this._renderer=this._createRenderer()),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(e){if("overlayPane"===e||void 0===e)return!1;var t=this._paneRenderers[e];return void 0===t&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t},_createRenderer:function(e){return this.options.preferCanvas&&Hn(e)||Kn(e)}});var Jn=dn.extend({initialize:function(e,t){dn.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return[(e=$(e)).getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});function eo(e,t){return new Jn(e,t)}Yn.create=qn,Yn.pointsToPath=K,hn.geometryToLayer=mn,hn.coordsToLatLng=gn,hn.coordsToLatLngs=vn,hn.latLngToCoords=bn,hn.latLngsToCoords=On,hn.getFeature=wn,hn.asFeature=Sn,or.mergeOptions({boxZoom:!0});var to=gr.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){$t(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){zt(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){yt(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||1!==e.which&&1!==e.button)return!1;this._clearDeferredResetState(),this._resetState(),it(),Dt(),this._startPoint=this._map.mouseEventToContainerPoint(e),$t(document,{contextmenu:qt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=mt("div","leaflet-zoom-box",this._container),wt(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var t=new I(this._point,this._startPoint),r=t.getSize();Ct(this._box,t.min),this._box.style.width=r.x+"px",this._box.style.height=r.y+"px"},_finish:function(){this._moved&&(yt(this._box),St(this._container,"leaflet-crosshair")),at(),Lt(),zt(document,{contextmenu:qt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if((1===e.which||1===e.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(o(this._resetState,this),0);var t=new B(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})}},_onKeyDown:function(e){27===e.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});or.addInitHook("addHandler","boxZoom",to),or.mergeOptions({doubleClickZoom:!0});var ro=gr.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,r=t.getZoom(),n=t.options.zoomDelta,o=e.originalEvent.shiftKey?r-n:r+n;"center"===t.options.doubleClickZoom?t.setZoom(o):t.setZoomAround(e.containerPoint,o)}});or.addInitHook("addHandler","doubleClickZoom",ro),or.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var no=gr.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new Or(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}wt(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){St(this._map._container,"leaflet-grab"),St(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var t=$(this._map.options.maxBounds);this._offsetLimit=N(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var t=this._lastTime=+new Date,r=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(r),this._times.push(t),this._prunePositions(t)}this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.xt.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),r=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-t+r)%e+t-r,i=(n+t+r)%e-t-r,a=Math.abs(o+r)0?i:-i))-t;this._delta=0,this._startTime=null,a&&("center"===e.options.scrollWheelZoom?e.setZoom(t+a):e.setZoomAround(this._lastMousePos,t+a))}});or.addInitHook("addHandler","scrollWheelZoom",io);var ao=600;or.mergeOptions({tapHold:Be.touchNative&&Be.safari&&Be.mobile,tapTolerance:15});var so=gr.extend({addHooks:function(){$t(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){zt(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),1===e.touches.length){var t=e.touches[0];this._startPos=this._newPos=new D(t.clientX,t.clientY),this._holdTimeout=setTimeout(o((function(){this._cancel(),this._isTapValid()&&($t(document,"touchend",Xt),$t(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",t))}),this),ao),$t(document,"touchend touchcancel contextmenu",this._cancel,this),$t(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function e(){zt(document,"touchend",Xt),zt(document,"touchend touchcancel",e)},_cancel:function(){clearTimeout(this._holdTimeout),zt(document,"touchend touchcancel contextmenu",this._cancel,this),zt(document,"touchmove",this._onMove,this)},_onMove:function(e){var t=e.touches[0];this._newPos=new D(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,t){var r=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY});r._simulated=!0,t.target.dispatchEvent(r)}});or.addInitHook("addHandler","tapHold",so),or.mergeOptions({touchZoom:Be.touch,bounceAtZoomLimits:!0});var lo=gr.extend({addHooks:function(){wt(this._map._container,"leaflet-touch-zoom"),$t(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){St(this._map._container,"leaflet-touch-zoom"),zt(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(e.touches&&2===e.touches.length&&!t._animatingZoom&&!this._zooming){var r=t.mouseEventToContainerPoint(e.touches[0]),n=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),"center"!==t.options.touchZoom&&(this._pinchStartLatLng=t.containerPointToLatLng(r.add(n)._divideBy(2))),this._startDist=r.distanceTo(n),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),$t(document,"touchmove",this._onTouchMove,this),$t(document,"touchend touchcancel",this._onTouchEnd,this),Xt(e)}},_onTouchMove:function(e){if(e.touches&&2===e.touches.length&&this._zooming){var t=this._map,r=t.mouseEventToContainerPoint(e.touches[0]),n=t.mouseEventToContainerPoint(e.touches[1]),i=r.distanceTo(n)/this._startDist;if(this._zoom=t.getScaleZoom(i,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoomt.getMaxZoom()&&i>1)&&(this._zoom=t._limitZoom(this._zoom)),"center"===t.options.touchZoom){if(this._center=this._startLatLng,1===i)return}else{var a=r._add(n)._divideBy(2)._subtract(this._centerPoint);if(1===i&&0===a.x&&0===a.y)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(a),this._zoom)}this._moved||(t._moveStart(!0,!1),this._moved=!0),P(this._animRequest);var s=o(t._move,t,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=_(s,this,!0),Xt(e)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,P(this._animRequest),zt(document,"touchmove",this._onTouchMove,this),zt(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});or.addInitHook("addHandler","touchZoom",lo),or.BoxZoom=to,or.DoubleClickZoom=ro,or.Drag=no,or.Keyboard=oo,or.ScrollWheelZoom=io,or.TapHold=so,or.TouchZoom=lo,e.Bounds=I,e.Browser=Be,e.CRS=V,e.Canvas=Wn,e.Circle=ln,e.CircleMarker=an,e.Class=j,e.Control=ar,e.DivIcon=Nn,e.DivOverlay=Dn,e.DomEvent=rr,e.DomUtil=Bt,e.Draggable=Or,e.Evented=A,e.FeatureGroup=qr,e.GeoJSON=hn,e.GridLayer=$n,e.Handler=gr,e.Icon=Kr,e.ImageOverlay=Pn,e.LatLng=F,e.LatLngBounds=B,e.Layer=Hr,e.LayerGroup=Zr,e.LineUtil=Fr,e.Map=or,e.Marker=rn,e.Mixin=vr,e.Path=on,e.Point=D,e.PolyUtil=_r,e.Polygon=dn,e.Polyline=un,e.Popup=Ln,e.PosAnimation=nr,e.Projection=Vr,e.Rectangle=Jn,e.Renderer=Gn,e.SVG=Yn,e.SVGOverlay=kn,e.TileLayer=zn,e.Tooltip=Mn,e.Transformation=H,e.Util=T,e.VideoOverlay=jn,e.bind=o,e.bounds=N,e.canvas=Hn,e.circle=cn,e.circleMarker=sn,e.control=sr,e.divIcon=Bn,e.extend=r,e.featureGroup=Yr,e.geoJSON=En,e.geoJson=_n,e.gridLayer=Fn,e.icon=Jr,e.imageOverlay=Tn,e.latLng=z,e.latLngBounds=$,e.layerGroup=Xr,e.map=ir,e.marker=nn,e.point=M,e.polygon=pn,e.polyline=fn,e.popup=Rn,e.rectangle=eo,e.setOptions=p,e.stamp=a,e.svg=Kn,e.svgOverlay=An,e.tileLayer=Qn,e.tooltip=In,e.transformation=Z,e.version=t,e.videoOverlay=Cn;var co=window.L;e.noConflict=function(){return window.L=co,this},window.L=e}(t)},96486:function(e,t,r){var n;e=r.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,c=32,u=64,f=128,d=256,p=1/0,h=9007199254740991,m=NaN,y=4294967295,g=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",c],["partialRight",u],["rearg",d]],v="[object Arguments]",b="[object Array]",O="[object Boolean]",w="[object Date]",S="[object Error]",x="[object Function]",E="[object GeneratorFunction]",_="[object Map]",P="[object Number]",T="[object Object]",j="[object Promise]",C="[object RegExp]",k="[object Set]",A="[object String]",D="[object Symbol]",L="[object WeakMap]",R="[object ArrayBuffer]",M="[object DataView]",I="[object Float32Array]",N="[object Float64Array]",B="[object Int8Array]",$="[object Int16Array]",F="[object Int32Array]",z="[object Uint8Array]",Q="[object Uint8ClampedArray]",V="[object Uint16Array]",U="[object Uint32Array]",G=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Z=/&(?:amp|lt|gt|quot|#39);/g,X=/[&<>"']/g,q=RegExp(Z.source),Y=RegExp(X.source),K=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ye=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,Oe=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Se=/($^)/,xe=/['\n\r\u2028\u2029\\]/g,Ee="\\ud800-\\udfff",_e="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Pe="\\u2700-\\u27bf",Te="a-z\\xdf-\\xf6\\xf8-\\xff",je="A-Z\\xc0-\\xd6\\xd8-\\xde",Ce="\\ufe0e\\ufe0f",ke="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ae="['’]",De="["+Ee+"]",Le="["+ke+"]",Re="["+_e+"]",Me="\\d+",Ie="["+Pe+"]",Ne="["+Te+"]",Be="[^"+Ee+ke+Me+Pe+Te+je+"]",$e="\\ud83c[\\udffb-\\udfff]",Fe="[^"+Ee+"]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Qe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ve="["+je+"]",Ue="\\u200d",Ge="(?:"+Ne+"|"+Be+")",We="(?:"+Ve+"|"+Be+")",He="(?:['’](?:d|ll|m|re|s|t|ve))?",Ze="(?:['’](?:D|LL|M|RE|S|T|VE))?",Xe="(?:"+Re+"|"+$e+")"+"?",qe="["+Ce+"]?",Ye=qe+Xe+("(?:"+Ue+"(?:"+[Fe,ze,Qe].join("|")+")"+qe+Xe+")*"),Ke="(?:"+[Ie,ze,Qe].join("|")+")"+Ye,Je="(?:"+[Fe+Re+"?",Re,ze,Qe,De].join("|")+")",et=RegExp(Ae,"g"),tt=RegExp(Re,"g"),rt=RegExp($e+"(?="+$e+")|"+Je+Ye,"g"),nt=RegExp([Ve+"?"+Ne+"+"+He+"(?="+[Le,Ve,"$"].join("|")+")",We+"+"+Ze+"(?="+[Le,Ve+Ge,"$"].join("|")+")",Ve+"?"+Ge+"+"+He,Ve+"+"+Ze,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Me,Ke].join("|"),"g"),ot=RegExp("["+Ue+Ee+_e+Ce+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],st=-1,lt={};lt[I]=lt[N]=lt[B]=lt[$]=lt[F]=lt[z]=lt[Q]=lt[V]=lt[U]=!0,lt[v]=lt[b]=lt[R]=lt[O]=lt[M]=lt[w]=lt[S]=lt[x]=lt[_]=lt[P]=lt[T]=lt[C]=lt[k]=lt[A]=lt[L]=!1;var ct={};ct[v]=ct[b]=ct[R]=ct[M]=ct[O]=ct[w]=ct[I]=ct[N]=ct[B]=ct[$]=ct[F]=ct[_]=ct[P]=ct[T]=ct[C]=ct[k]=ct[A]=ct[D]=ct[z]=ct[Q]=ct[V]=ct[U]=!0,ct[S]=ct[x]=ct[L]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ft=parseFloat,dt=parseInt,pt="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,ht="object"==typeof self&&self&&self.Object===Object&&self,mt=pt||ht||Function("return this")(),yt=t&&!t.nodeType&&t,gt=yt&&e&&!e.nodeType&&e,vt=gt&>.exports===yt,bt=vt&&pt.process,Ot=function(){try{var e=gt&>.require&>.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(e){}}(),wt=Ot&&Ot.isArrayBuffer,St=Ot&&Ot.isDate,xt=Ot&&Ot.isMap,Et=Ot&&Ot.isRegExp,_t=Ot&&Ot.isSet,Pt=Ot&&Ot.isTypedArray;function Tt(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function jt(e,t,r,n){for(var o=-1,i=null==e?0:e.length;++o-1}function Rt(e,t,r){for(var n=-1,o=null==e?0:e.length;++n-1;);return r}function nr(e,t){for(var r=e.length;r--&&Vt(t,e[r],0)>-1;);return r}var or=Zt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),ir=Zt({"&":"&","<":"<",">":">",'"':""","'":"'"});function ar(e){return"\\"+ut[e]}function sr(e){return ot.test(e)}function lr(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function cr(e,t){return function(r){return e(t(r))}}function ur(e,t){for(var r=-1,n=e.length,o=0,i=[];++r",""":'"',"'":"'"});var gr=function e(t){var r,n=(t=null==t?mt:gr.defaults(mt.Object(),t,gr.pick(mt,at))).Array,se=t.Date,Ee=t.Error,_e=t.Function,Pe=t.Math,Te=t.Object,je=t.RegExp,Ce=t.String,ke=t.TypeError,Ae=n.prototype,De=_e.prototype,Le=Te.prototype,Re=t["__core-js_shared__"],Me=De.toString,Ie=Le.hasOwnProperty,Ne=0,Be=(r=/[^.]+$/.exec(Re&&Re.keys&&Re.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",$e=Le.toString,Fe=Me.call(Te),ze=mt._,Qe=je("^"+Me.call(Ie).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ve=vt?t.Buffer:o,Ue=t.Symbol,Ge=t.Uint8Array,We=Ve?Ve.allocUnsafe:o,He=cr(Te.getPrototypeOf,Te),Ze=Te.create,Xe=Le.propertyIsEnumerable,qe=Ae.splice,Ye=Ue?Ue.isConcatSpreadable:o,Ke=Ue?Ue.iterator:o,Je=Ue?Ue.toStringTag:o,rt=function(){try{var e=pi(Te,"defineProperty");return e({},"",{}),e}catch(e){}}(),ot=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,ut=se&&se.now!==mt.Date.now&&se.now,pt=t.setTimeout!==mt.setTimeout&&t.setTimeout,ht=Pe.ceil,yt=Pe.floor,gt=Te.getOwnPropertySymbols,bt=Ve?Ve.isBuffer:o,Ot=t.isFinite,Ft=Ae.join,Zt=cr(Te.keys,Te),vr=Pe.max,br=Pe.min,Or=se.now,wr=t.parseInt,Sr=Pe.random,xr=Ae.reverse,Er=pi(t,"DataView"),_r=pi(t,"Map"),Pr=pi(t,"Promise"),Tr=pi(t,"Set"),jr=pi(t,"WeakMap"),Cr=pi(Te,"create"),kr=jr&&new jr,Ar={},Dr=$i(Er),Lr=$i(_r),Rr=$i(Pr),Mr=$i(Tr),Ir=$i(jr),Nr=Ue?Ue.prototype:o,Br=Nr?Nr.valueOf:o,$r=Nr?Nr.toString:o;function Fr(e){if(rs(e)&&!Ga(e)&&!(e instanceof Ur)){if(e instanceof Vr)return e;if(Ie.call(e,"__wrapped__"))return Fi(e)}return new Vr(e)}var zr=function(){function e(){}return function(t){if(!ts(t))return{};if(Ze)return Ze(t);e.prototype=t;var r=new e;return e.prototype=o,r}}();function Qr(){}function Vr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Ur(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=y,this.__views__=[]}function Gr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function cn(e,t,r,n,i,a){var s,l=1&t,c=2&t,u=4&t;if(r&&(s=i?r(e,n,i,a):r(e)),s!==o)return s;if(!ts(e))return e;var f=Ga(e);if(f){if(s=function(e){var t=e.length,r=new e.constructor(t);t&&"string"==typeof e[0]&&Ie.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!l)return Ao(e,s)}else{var d=yi(e),p=d==x||d==E;if(Xa(e))return _o(e,l);if(d==T||d==v||p&&!i){if(s=c||p?{}:vi(e),!l)return c?function(e,t){return Do(e,mi(e),t)}(e,function(e,t){return e&&Do(t,Ls(t),e)}(s,e)):function(e,t){return Do(e,hi(e),t)}(e,on(s,e))}else{if(!ct[d])return i?e:{};s=function(e,t,r){var n=e.constructor;switch(t){case R:return Po(e);case O:case w:return new n(+e);case M:return function(e,t){var r=t?Po(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case I:case N:case B:case $:case F:case z:case Q:case V:case U:return To(e,r);case _:return new n;case P:case A:return new n(e);case C:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case k:return new n;case D:return o=e,Br?Te(Br.call(o)):{}}var o}(e,d,l)}}a||(a=new Xr);var h=a.get(e);if(h)return h;a.set(e,s),ss(e)?e.forEach((function(n){s.add(cn(n,t,r,n,e,a))})):ns(e)&&e.forEach((function(n,o){s.set(o,cn(n,t,r,o,e,a))}));var m=f?o:(u?c?ai:ii:c?Ls:Ds)(e);return Ct(m||e,(function(n,o){m&&(n=e[o=n]),tn(s,o,cn(n,t,r,o,e,a))})),s}function un(e,t,r){var n=r.length;if(null==e)return!n;for(e=Te(e);n--;){var i=r[n],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function fn(e,t,r){if("function"!=typeof e)throw new ke(i);return Di((function(){e.apply(o,r)}),t)}function dn(e,t,r,n){var o=-1,i=Lt,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;r&&(t=Mt(t,Jt(r))),n?(i=Rt,a=!1):t.length>=200&&(i=tr,a=!1,t=new Zr(t));e:for(;++o-1},Wr.prototype.set=function(e,t){var r=this.__data__,n=rn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Hr.prototype.clear=function(){this.size=0,this.__data__={hash:new Gr,map:new(_r||Wr),string:new Gr}},Hr.prototype.delete=function(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t},Hr.prototype.get=function(e){return fi(this,e).get(e)},Hr.prototype.has=function(e){return fi(this,e).has(e)},Hr.prototype.set=function(e,t){var r=fi(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Zr.prototype.add=Zr.prototype.push=function(e){return this.__data__.set(e,a),this},Zr.prototype.has=function(e){return this.__data__.has(e)},Xr.prototype.clear=function(){this.__data__=new Wr,this.size=0},Xr.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Xr.prototype.get=function(e){return this.__data__.get(e)},Xr.prototype.has=function(e){return this.__data__.has(e)},Xr.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Wr){var n=r.__data__;if(!_r||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Hr(n)}return r.set(e,t),this.size=r.size,this};var pn=Mo(wn),hn=Mo(Sn,!0);function mn(e,t){var r=!0;return pn(e,(function(e,n,o){return r=!!t(e,n,o)})),r}function yn(e,t,r){for(var n=-1,i=e.length;++n0&&r(s)?t>1?vn(s,t-1,r,n,o):It(o,s):n||(o[o.length]=s)}return o}var bn=Io(),On=Io(!0);function wn(e,t){return e&&bn(e,t,Ds)}function Sn(e,t){return e&&On(e,t,Ds)}function xn(e,t){return Dt(t,(function(t){return Ka(e[t])}))}function En(e,t){for(var r=0,n=(t=wo(t,e)).length;null!=e&&rt}function jn(e,t){return null!=e&&Ie.call(e,t)}function Cn(e,t){return null!=e&&t in Te(e)}function kn(e,t,r){for(var i=r?Rt:Lt,a=e[0].length,s=e.length,l=s,c=n(s),u=1/0,f=[];l--;){var d=e[l];l&&t&&(d=Mt(d,Jt(t))),u=br(d.length,u),c[l]=!r&&(t||a>=120&&d.length>=120)?new Zr(l&&d):o}d=e[0];var p=-1,h=c[0];e:for(;++p=s?l:l*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)}))}function Wn(e,t,r){for(var n=-1,o=t.length,i={};++n-1;)s!==e&&qe.call(s,l,1),qe.call(e,l,1);return e}function Zn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var o=t[r];if(r==n||o!==i){var i=o;Oi(o)?qe.call(e,o,1):po(e,o)}}return e}function Xn(e,t){return e+yt(Sr()*(t-e+1))}function qn(e,t){var r="";if(!e||t<1||t>h)return r;do{t%2&&(r+=e),(t=yt(t/2))&&(e+=e)}while(t);return r}function Yn(e,t){return Li(ji(e,t,ol),e+"")}function Kn(e){return Yr(zs(e))}function Jn(e,t){var r=zs(e);return Ii(r,ln(t,0,r.length))}function eo(e,t,r,n){if(!ts(e))return e;for(var i=-1,a=(t=wo(t,e)).length,s=a-1,l=e;null!=l&&++ii?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=n(i);++o>>1,a=e[i];null!==a&&!cs(a)&&(r?a<=t:a=200){var c=t?null:Yo(e);if(c)return fr(c);a=!1,o=tr,l=new Zr}else l=t?[]:s;e:for(;++n=n?e:oo(e,t,r)}var Eo=ot||function(e){return mt.clearTimeout(e)};function _o(e,t){if(t)return e.slice();var r=e.length,n=We?We(r):new e.constructor(r);return e.copy(n),n}function Po(e){var t=new e.constructor(e.byteLength);return new Ge(t).set(new Ge(e)),t}function To(e,t){var r=t?Po(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function jo(e,t){if(e!==t){var r=e!==o,n=null===e,i=e==e,a=cs(e),s=t!==o,l=null===t,c=t==t,u=cs(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||n&&s&&c||!r&&c||!i)return 1;if(!n&&!a&&!u&&e1?r[i-1]:o,s=i>2?r[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&wi(r[0],r[1],s)&&(a=i<3?o:a,i=1),t=Te(t);++n-1?i[a?t[s]:s]:o}}function zo(e){return oi((function(t){var r=t.length,n=r,a=Vr.prototype.thru;for(e&&t.reverse();n--;){var s=t[n];if("function"!=typeof s)throw new ke(i);if(a&&!l&&"wrapper"==li(s))var l=new Vr([],!0)}for(n=l?n:r;++n1&&O.reverse(),p&&ul))return!1;var u=a.get(e),f=a.get(t);if(u&&f)return u==t&&f==e;var d=-1,p=!0,h=2&r?new Zr:o;for(a.set(e,t),a.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return Ct(g,(function(r){var n="_."+r[0];t&r[1]&&!Lt(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(ue):[]}(n),r)))}function Mi(e){var t=0,r=0;return function(){var n=Or(),i=16-(n-r);if(r=n,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ii(e,t){var r=-1,n=e.length,i=n-1;for(t=t===o?n:t;++r1?e[t-1]:o;return r="function"==typeof r?(e.pop(),r):o,aa(e,r)}));function pa(e){var t=Fr(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var ma=oi((function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,i=function(t){return sn(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Ur&&Oi(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:ha,args:[i],thisArg:o}),new Vr(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var ya=Lo((function(e,t,r){Ie.call(e,r)?++e[r]:an(e,r,1)}));var ga=Fo(Ui),va=Fo(Gi);function ba(e,t){return(Ga(e)?Ct:pn)(e,ui(t,3))}function Oa(e,t){return(Ga(e)?kt:hn)(e,ui(t,3))}var wa=Lo((function(e,t,r){Ie.call(e,r)?e[r].push(t):an(e,r,[t])}));var Sa=Yn((function(e,t,r){var o=-1,i="function"==typeof t,a=Ha(e)?n(e.length):[];return pn(e,(function(e){a[++o]=i?Tt(t,e,r):An(e,t,r)})),a})),xa=Lo((function(e,t,r){an(e,r,t)}));function Ea(e,t){return(Ga(e)?Mt:Fn)(e,ui(t,3))}var _a=Lo((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));var Pa=Yn((function(e,t){if(null==e)return[];var r=t.length;return r>1&&wi(e,t[0],t[1])?t=[]:r>2&&wi(t[0],t[1],t[2])&&(t=[t[0]]),Gn(e,vn(t,1),[])})),Ta=ut||function(){return mt.Date.now()};function ja(e,t,r){return t=r?o:t,t=e&&null==t?e.length:t,Jo(e,f,o,o,o,o,t)}function Ca(e,t){var r;if("function"!=typeof t)throw new ke(i);return e=ms(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=o),r}}var ka=Yn((function(e,t,r){var n=1;if(r.length){var o=ur(r,ci(ka));n|=c}return Jo(e,n,t,r,o)})),Aa=Yn((function(e,t,r){var n=3;if(r.length){var o=ur(r,ci(Aa));n|=c}return Jo(t,n,e,r,o)}));function Da(e,t,r){var n,a,s,l,c,u,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new ke(i);function m(t){var r=n,i=a;return n=a=o,f=t,l=e.apply(i,r)}function y(e){var r=e-u;return u===o||r>=t||r<0||p&&e-f>=s}function g(){var e=Ta();if(y(e))return v(e);c=Di(g,function(e){var r=t-(e-u);return p?br(r,s-(e-f)):r}(e))}function v(e){return c=o,h&&n?m(e):(n=a=o,l)}function b(){var e=Ta(),r=y(e);if(n=arguments,a=this,u=e,r){if(c===o)return function(e){return f=e,c=Di(g,t),d?m(e):l}(u);if(p)return Eo(c),c=Di(g,t),m(u)}return c===o&&(c=Di(g,t)),l}return t=gs(t)||0,ts(r)&&(d=!!r.leading,s=(p="maxWait"in r)?vr(gs(r.maxWait)||0,t):s,h="trailing"in r?!!r.trailing:h),b.cancel=function(){c!==o&&Eo(c),f=0,n=u=a=c=o},b.flush=function(){return c===o?l:v(Ta())},b}var La=Yn((function(e,t){return fn(e,1,t)})),Ra=Yn((function(e,t,r){return fn(e,gs(t)||0,r)}));function Ma(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ke(i);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(Ma.Cache||Hr),r}function Ia(e){if("function"!=typeof e)throw new ke(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ma.Cache=Hr;var Na=So((function(e,t){var r=(t=1==t.length&&Ga(t[0])?Mt(t[0],Jt(ui())):Mt(vn(t,1),Jt(ui()))).length;return Yn((function(n){for(var o=-1,i=br(n.length,r);++o=t})),Ua=Dn(function(){return arguments}())?Dn:function(e){return rs(e)&&Ie.call(e,"callee")&&!Xe.call(e,"callee")},Ga=n.isArray,Wa=wt?Jt(wt):function(e){return rs(e)&&Pn(e)==R};function Ha(e){return null!=e&&es(e.length)&&!Ka(e)}function Za(e){return rs(e)&&Ha(e)}var Xa=bt||gl,qa=St?Jt(St):function(e){return rs(e)&&Pn(e)==w};function Ya(e){if(!rs(e))return!1;var t=Pn(e);return t==S||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!is(e)}function Ka(e){if(!ts(e))return!1;var t=Pn(e);return t==x||t==E||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ja(e){return"number"==typeof e&&e==ms(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function rs(e){return null!=e&&"object"==typeof e}var ns=xt?Jt(xt):function(e){return rs(e)&&yi(e)==_};function os(e){return"number"==typeof e||rs(e)&&Pn(e)==P}function is(e){if(!rs(e)||Pn(e)!=T)return!1;var t=He(e);if(null===t)return!0;var r=Ie.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Me.call(r)==Fe}var as=Et?Jt(Et):function(e){return rs(e)&&Pn(e)==C};var ss=_t?Jt(_t):function(e){return rs(e)&&yi(e)==k};function ls(e){return"string"==typeof e||!Ga(e)&&rs(e)&&Pn(e)==A}function cs(e){return"symbol"==typeof e||rs(e)&&Pn(e)==D}var us=Pt?Jt(Pt):function(e){return rs(e)&&es(e.length)&&!!lt[Pn(e)]};var fs=Zo($n),ds=Zo((function(e,t){return e<=t}));function ps(e){if(!e)return[];if(Ha(e))return ls(e)?hr(e):Ao(e);if(Ke&&e[Ke])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[Ke]());var t=yi(e);return(t==_?lr:t==k?fr:zs)(e)}function hs(e){return e?(e=gs(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ms(e){var t=hs(e),r=t%1;return t==t?r?t-r:t:0}function ys(e){return e?ln(ms(e),0,y):0}function gs(e){if("number"==typeof e)return e;if(cs(e))return m;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Kt(e);var r=ge.test(e);return r||be.test(e)?dt(e.slice(2),r?2:8):ye.test(e)?m:+e}function vs(e){return Do(e,Ls(e))}function bs(e){return null==e?"":uo(e)}var Os=Ro((function(e,t){if(_i(t)||Ha(t))Do(t,Ds(t),e);else for(var r in t)Ie.call(t,r)&&tn(e,r,t[r])})),ws=Ro((function(e,t){Do(t,Ls(t),e)})),Ss=Ro((function(e,t,r,n){Do(t,Ls(t),e,n)})),xs=Ro((function(e,t,r,n){Do(t,Ds(t),e,n)})),Es=oi(sn);var _s=Yn((function(e,t){e=Te(e);var r=-1,n=t.length,i=n>2?t[2]:o;for(i&&wi(t[0],t[1],i)&&(n=1);++r1),t})),Do(e,ai(e),r),n&&(r=cn(r,7,ri));for(var o=t.length;o--;)po(r,t[o]);return r}));var Ns=oi((function(e,t){return null==e?{}:function(e,t){return Wn(e,t,(function(t,r){return js(e,r)}))}(e,t)}));function Bs(e,t){if(null==e)return{};var r=Mt(ai(e),(function(e){return[e]}));return t=ui(t),Wn(e,r,(function(e,r){return t(e,r[0])}))}var $s=Ko(Ds),Fs=Ko(Ls);function zs(e){return null==e?[]:er(e,Ds(e))}var Qs=Bo((function(e,t,r){return t=t.toLowerCase(),e+(r?Vs(t):t)}));function Vs(e){return Ys(bs(e).toLowerCase())}function Us(e){return(e=bs(e))&&e.replace(we,or).replace(tt,"")}var Gs=Bo((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),Ws=Bo((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Hs=No("toLowerCase");var Zs=Bo((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));var Xs=Bo((function(e,t,r){return e+(r?" ":"")+Ys(t)}));var qs=Bo((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Ys=No("toUpperCase");function Ks(e,t,r){return e=bs(e),(t=r?o:t)===o?function(e){return it.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var Js=Yn((function(e,t){try{return Tt(e,o,t)}catch(e){return Ya(e)?e:new Ee(e)}})),el=oi((function(e,t){return Ct(t,(function(t){t=Bi(t),an(e,t,ka(e[t],e))})),e}));function tl(e){return function(){return e}}var rl=zo(),nl=zo(!0);function ol(e){return e}function il(e){return In("function"==typeof e?e:cn(e,1))}var al=Yn((function(e,t){return function(r){return An(r,e,t)}})),sl=Yn((function(e,t){return function(r){return An(e,r,t)}}));function ll(e,t,r){var n=Ds(t),o=xn(t,n);null!=r||ts(t)&&(o.length||!n.length)||(r=t,t=e,e=this,o=xn(t,Ds(t)));var i=!(ts(r)&&"chain"in r&&!r.chain),a=Ka(e);return Ct(o,(function(r){var n=t[r];e[r]=n,a&&(e.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=e(this.__wrapped__);return(r.__actions__=Ao(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,It([this.value()],arguments))})})),e}function cl(){}var ul=Go(Mt),fl=Go(At),dl=Go($t);function pl(e){return Si(e)?Ht(Bi(e)):function(e){return function(t){return En(t,e)}}(e)}var hl=Ho(),ml=Ho(!0);function yl(){return[]}function gl(){return!1}var vl=Uo((function(e,t){return e+t}),0),bl=qo("ceil"),Ol=Uo((function(e,t){return e/t}),1),wl=qo("floor");var Sl,xl=Uo((function(e,t){return e*t}),1),El=qo("round"),_l=Uo((function(e,t){return e-t}),0);return Fr.after=function(e,t){if("function"!=typeof t)throw new ke(i);return e=ms(e),function(){if(--e<1)return t.apply(this,arguments)}},Fr.ary=ja,Fr.assign=Os,Fr.assignIn=ws,Fr.assignInWith=Ss,Fr.assignWith=xs,Fr.at=Es,Fr.before=Ca,Fr.bind=ka,Fr.bindAll=el,Fr.bindKey=Aa,Fr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ga(e)?e:[e]},Fr.chain=pa,Fr.chunk=function(e,t,r){t=(r?wi(e,t,r):t===o)?1:vr(ms(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,l=n(ht(i/t));ai?0:i+r),(n=n===o||n>i?i:ms(n))<0&&(n+=i),n=r>n?0:ys(n);r>>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!as(t))&&!(t=uo(t))&&sr(e)?xo(hr(e),0,r):e.split(t,r):[]},Fr.spread=function(e,t){if("function"!=typeof e)throw new ke(i);return t=null==t?0:vr(ms(t),0),Yn((function(r){var n=r[t],o=xo(r,0,t);return n&&It(o,n),Tt(e,this,o)}))},Fr.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},Fr.take=function(e,t,r){return e&&e.length?oo(e,0,(t=r||t===o?1:ms(t))<0?0:t):[]},Fr.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?oo(e,(t=n-(t=r||t===o?1:ms(t)))<0?0:t,n):[]},Fr.takeRightWhile=function(e,t){return e&&e.length?mo(e,ui(t,3),!1,!0):[]},Fr.takeWhile=function(e,t){return e&&e.length?mo(e,ui(t,3)):[]},Fr.tap=function(e,t){return t(e),e},Fr.throttle=function(e,t,r){var n=!0,o=!0;if("function"!=typeof e)throw new ke(i);return ts(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),Da(e,t,{leading:n,maxWait:t,trailing:o})},Fr.thru=ha,Fr.toArray=ps,Fr.toPairs=$s,Fr.toPairsIn=Fs,Fr.toPath=function(e){return Ga(e)?Mt(e,Bi):cs(e)?[e]:Ao(Ni(bs(e)))},Fr.toPlainObject=vs,Fr.transform=function(e,t,r){var n=Ga(e),o=n||Xa(e)||us(e);if(t=ui(t,4),null==r){var i=e&&e.constructor;r=o?n?new i:[]:ts(e)&&Ka(i)?zr(He(e)):{}}return(o?Ct:wn)(e,(function(e,n,o){return t(r,e,n,o)})),r},Fr.unary=function(e){return ja(e,1)},Fr.union=ra,Fr.unionBy=na,Fr.unionWith=oa,Fr.uniq=function(e){return e&&e.length?fo(e):[]},Fr.uniqBy=function(e,t){return e&&e.length?fo(e,ui(t,2)):[]},Fr.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?fo(e,o,t):[]},Fr.unset=function(e,t){return null==e||po(e,t)},Fr.unzip=ia,Fr.unzipWith=aa,Fr.update=function(e,t,r){return null==e?e:ho(e,t,Oo(r))},Fr.updateWith=function(e,t,r,n){return n="function"==typeof n?n:o,null==e?e:ho(e,t,Oo(r),n)},Fr.values=zs,Fr.valuesIn=function(e){return null==e?[]:er(e,Ls(e))},Fr.without=sa,Fr.words=Ks,Fr.wrap=function(e,t){return Ba(Oo(t),e)},Fr.xor=la,Fr.xorBy=ca,Fr.xorWith=ua,Fr.zip=fa,Fr.zipObject=function(e,t){return vo(e||[],t||[],tn)},Fr.zipObjectDeep=function(e,t){return vo(e||[],t||[],eo)},Fr.zipWith=da,Fr.entries=$s,Fr.entriesIn=Fs,Fr.extend=ws,Fr.extendWith=Ss,ll(Fr,Fr),Fr.add=vl,Fr.attempt=Js,Fr.camelCase=Qs,Fr.capitalize=Vs,Fr.ceil=bl,Fr.clamp=function(e,t,r){return r===o&&(r=t,t=o),r!==o&&(r=(r=gs(r))==r?r:0),t!==o&&(t=(t=gs(t))==t?t:0),ln(gs(e),t,r)},Fr.clone=function(e){return cn(e,4)},Fr.cloneDeep=function(e){return cn(e,5)},Fr.cloneDeepWith=function(e,t){return cn(e,5,t="function"==typeof t?t:o)},Fr.cloneWith=function(e,t){return cn(e,4,t="function"==typeof t?t:o)},Fr.conformsTo=function(e,t){return null==t||un(e,t,Ds(t))},Fr.deburr=Us,Fr.defaultTo=function(e,t){return null==e||e!=e?t:e},Fr.divide=Ol,Fr.endsWith=function(e,t,r){e=bs(e),t=uo(t);var n=e.length,i=r=r===o?n:ln(ms(r),0,n);return(r-=t.length)>=0&&e.slice(r,i)==t},Fr.eq=za,Fr.escape=function(e){return(e=bs(e))&&Y.test(e)?e.replace(X,ir):e},Fr.escapeRegExp=function(e){return(e=bs(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},Fr.every=function(e,t,r){var n=Ga(e)?At:mn;return r&&wi(e,t,r)&&(t=o),n(e,ui(t,3))},Fr.find=ga,Fr.findIndex=Ui,Fr.findKey=function(e,t){return zt(e,ui(t,3),wn)},Fr.findLast=va,Fr.findLastIndex=Gi,Fr.findLastKey=function(e,t){return zt(e,ui(t,3),Sn)},Fr.floor=wl,Fr.forEach=ba,Fr.forEachRight=Oa,Fr.forIn=function(e,t){return null==e?e:bn(e,ui(t,3),Ls)},Fr.forInRight=function(e,t){return null==e?e:On(e,ui(t,3),Ls)},Fr.forOwn=function(e,t){return e&&wn(e,ui(t,3))},Fr.forOwnRight=function(e,t){return e&&Sn(e,ui(t,3))},Fr.get=Ts,Fr.gt=Qa,Fr.gte=Va,Fr.has=function(e,t){return null!=e&&gi(e,t,jn)},Fr.hasIn=js,Fr.head=Hi,Fr.identity=ol,Fr.includes=function(e,t,r,n){e=Ha(e)?e:zs(e),r=r&&!n?ms(r):0;var o=e.length;return r<0&&(r=vr(o+r,0)),ls(e)?r<=o&&e.indexOf(t,r)>-1:!!o&&Vt(e,t,r)>-1},Fr.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=null==r?0:ms(r);return o<0&&(o=vr(n+o,0)),Vt(e,t,o)},Fr.inRange=function(e,t,r){return t=hs(t),r===o?(r=t,t=0):r=hs(r),function(e,t,r){return e>=br(t,r)&&e=-9007199254740991&&e<=h},Fr.isSet=ss,Fr.isString=ls,Fr.isSymbol=cs,Fr.isTypedArray=us,Fr.isUndefined=function(e){return e===o},Fr.isWeakMap=function(e){return rs(e)&&yi(e)==L},Fr.isWeakSet=function(e){return rs(e)&&"[object WeakSet]"==Pn(e)},Fr.join=function(e,t){return null==e?"":Ft.call(e,t)},Fr.kebabCase=Gs,Fr.last=Yi,Fr.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=n;return r!==o&&(i=(i=ms(r))<0?vr(n+i,0):br(i,n-1)),t==t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,i):Qt(e,Gt,i,!0)},Fr.lowerCase=Ws,Fr.lowerFirst=Hs,Fr.lt=fs,Fr.lte=ds,Fr.max=function(e){return e&&e.length?yn(e,ol,Tn):o},Fr.maxBy=function(e,t){return e&&e.length?yn(e,ui(t,2),Tn):o},Fr.mean=function(e){return Wt(e,ol)},Fr.meanBy=function(e,t){return Wt(e,ui(t,2))},Fr.min=function(e){return e&&e.length?yn(e,ol,$n):o},Fr.minBy=function(e,t){return e&&e.length?yn(e,ui(t,2),$n):o},Fr.stubArray=yl,Fr.stubFalse=gl,Fr.stubObject=function(){return{}},Fr.stubString=function(){return""},Fr.stubTrue=function(){return!0},Fr.multiply=xl,Fr.nth=function(e,t){return e&&e.length?Un(e,ms(t)):o},Fr.noConflict=function(){return mt._===this&&(mt._=ze),this},Fr.noop=cl,Fr.now=Ta,Fr.pad=function(e,t,r){e=bs(e);var n=(t=ms(t))?pr(e):0;if(!t||n>=t)return e;var o=(t-n)/2;return Wo(yt(o),r)+e+Wo(ht(o),r)},Fr.padEnd=function(e,t,r){e=bs(e);var n=(t=ms(t))?pr(e):0;return t&&nt){var n=e;e=t,t=n}if(r||e%1||t%1){var i=Sr();return br(e+i*(t-e+ft("1e-"+((i+"").length-1))),t)}return Xn(e,t)},Fr.reduce=function(e,t,r){var n=Ga(e)?Nt:Xt,o=arguments.length<3;return n(e,ui(t,4),r,o,pn)},Fr.reduceRight=function(e,t,r){var n=Ga(e)?Bt:Xt,o=arguments.length<3;return n(e,ui(t,4),r,o,hn)},Fr.repeat=function(e,t,r){return t=(r?wi(e,t,r):t===o)?1:ms(t),qn(bs(e),t)},Fr.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Fr.result=function(e,t,r){var n=-1,i=(t=wo(t,e)).length;for(i||(i=1,e=o);++nh)return[];var r=y,n=br(e,y);t=ui(t),e-=y;for(var o=Yt(n,t);++r=a)return e;var l=r-pr(n);if(l<1)return n;var c=s?xo(s,0,l).join(""):e.slice(0,l);if(i===o)return c+n;if(s&&(l+=c.length-l),as(i)){if(e.slice(l).search(i)){var u,f=c;for(i.global||(i=je(i.source,bs(me.exec(i))+"g")),i.lastIndex=0;u=i.exec(f);)var d=u.index;c=c.slice(0,d===o?l:d)}}else if(e.indexOf(uo(i),l)!=l){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+n},Fr.unescape=function(e){return(e=bs(e))&&q.test(e)?e.replace(Z,yr):e},Fr.uniqueId=function(e){var t=++Ne;return bs(e)+t},Fr.upperCase=qs,Fr.upperFirst=Ys,Fr.each=ba,Fr.eachRight=Oa,Fr.first=Hi,ll(Fr,(Sl={},wn(Fr,(function(e,t){Ie.call(Fr.prototype,t)||(Sl[t]=e)})),Sl),{chain:!1}),Fr.VERSION="4.17.21",Ct(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Fr[e].placeholder=Fr})),Ct(["drop","take"],(function(e,t){Ur.prototype[e]=function(r){r=r===o?1:vr(ms(r),0);var n=this.__filtered__&&!t?new Ur(this):this.clone();return n.__filtered__?n.__takeCount__=br(r,n.__takeCount__):n.__views__.push({size:br(r,y),type:e+(n.__dir__<0?"Right":"")}),n},Ur.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Ct(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=1==r||3==r;Ur.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ui(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),Ct(["head","last"],(function(e,t){var r="take"+(t?"Right":"");Ur.prototype[e]=function(){return this[r](1).value()[0]}})),Ct(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");Ur.prototype[e]=function(){return this.__filtered__?new Ur(this):this[r](1)}})),Ur.prototype.compact=function(){return this.filter(ol)},Ur.prototype.find=function(e){return this.filter(e).head()},Ur.prototype.findLast=function(e){return this.reverse().find(e)},Ur.prototype.invokeMap=Yn((function(e,t){return"function"==typeof e?new Ur(this):this.map((function(r){return An(r,e,t)}))})),Ur.prototype.reject=function(e){return this.filter(Ia(ui(e)))},Ur.prototype.slice=function(e,t){e=ms(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Ur(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==o&&(r=(t=ms(t))<0?r.dropRight(-t):r.take(t-e)),r)},Ur.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ur.prototype.toArray=function(){return this.take(y)},wn(Ur.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),i=Fr[n?"take"+("last"==t?"Right":""):t],a=n||/^find/.test(t);i&&(Fr.prototype[t]=function(){var t=this.__wrapped__,s=n?[1]:arguments,l=t instanceof Ur,c=s[0],u=l||Ga(t),f=function(e){var t=i.apply(Fr,It([e],s));return n&&d?t[0]:t};u&&r&&"function"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,p=!!this.__actions__.length,h=a&&!d,m=l&&!p;if(!a&&u){t=m?t:new Ur(this);var y=e.apply(t,s);return y.__actions__.push({func:ha,args:[f],thisArg:o}),new Vr(y,d)}return h&&m?e.apply(this,s):(y=this.thru(f),h?n?y.value()[0]:y.value():y)})})),Ct(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ae[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);Fr.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var o=this.value();return t.apply(Ga(o)?o:[],e)}return this[r]((function(r){return t.apply(Ga(r)?r:[],e)}))}})),wn(Ur.prototype,(function(e,t){var r=Fr[t];if(r){var n=r.name+"";Ie.call(Ar,n)||(Ar[n]=[]),Ar[n].push({name:t,func:r})}})),Ar[Qo(o,2).name]=[{name:"wrapper",func:o}],Ur.prototype.clone=function(){var e=new Ur(this.__wrapped__);return e.__actions__=Ao(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ao(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ao(this.__views__),e},Ur.prototype.reverse=function(){if(this.__filtered__){var e=new Ur(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Ur.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=Ga(e),n=t<0,o=r?e.length:0,i=function(e,t,r){var n=-1,o=r.length;for(;++n=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Fr.prototype.plant=function(e){for(var t,r=this;r instanceof Qr;){var n=Fi(r);n.__index__=0,n.__values__=o,t?i.__wrapped__=n:t=n;var i=n;r=r.__wrapped__}return i.__wrapped__=e,t},Fr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Ur){var t=e;return this.__actions__.length&&(t=new Ur(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ta],thisArg:o}),new Vr(t,this.__chain__)}return this.thru(ta)},Fr.prototype.toJSON=Fr.prototype.valueOf=Fr.prototype.value=function(){return yo(this.__wrapped__,this.__actions__)},Fr.prototype.first=Fr.prototype.head,Ke&&(Fr.prototype[Ke]=function(){return this}),Fr}();mt._=gr,(n=function(){return gr}.call(t,r,t,e))===o||(e.exports=n)}.call(this)},68255:(e,t,r)=>{"use strict";r.r(t)},44130:(e,t,r)=>{"use strict";r.r(t)},43114:(e,t,r)=>{"use strict";r.r(t)},29052:(e,t,r)=>{"use strict";r.r(t)},604:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>g});var n=r(87462),o=r(89062),i=r(93324),a=r(71002),s=r(93967),l=r.n(s),c=r(21770),u=r(80334),f=r(36198),d=r(1422),p=r(22259),h=r(64217);function m(e){var t=e;if(!Array.isArray(t)){var r=(0,a.default)(t);t="number"===r||"string"===r?[t]:[]}return t.map((function(e){return String(e)}))}var y=f.forwardRef((function(e,t){var r=e.prefixCls,a=void 0===r?"rc-collapse":r,s=e.destroyInactivePanel,p=void 0!==s&&s,y=e.style,g=e.accordion,v=e.className,b=e.children,O=e.collapsible,w=e.openMotion,S=e.expandIcon,x=e.activeKey,E=e.defaultActiveKey,_=e.onChange,P=e.items,T=l()(a,v),j=(0,c.default)([],{value:x,onChange:function(e){return null==_?void 0:_(e)},defaultValue:E,postState:m}),C=(0,i.default)(j,2),k=C[0],A=C[1];(0,u.default)(!b,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var D=(0,d.default)(P,b,{prefixCls:a,accordion:g,openMotion:w,expandIcon:S,collapsible:O,destroyInactivePanel:p,onItemClick:function(e){return A((function(){return g?k[0]===e?[]:[e]:k.indexOf(e)>-1?k.filter((function(t){return t!==e})):[].concat((0,o.default)(k),[e])}))},activeKey:k});return f.createElement("div",(0,n.default)({ref:t,className:T,style:y,role:g?"tablist":void 0},(0,h.default)(e,{aria:!0,data:!0})),D)}));const g=Object.assign(y,{Panel:p.default})},22259:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(1413),o=r(87462),i=r(4942),a=r(45987),s=r(93967),l=r.n(s),c=r(93587),u=r(15105),f=r(36198),d=r(90960),p=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"];const h=f.forwardRef((function(e,t){var r=e.showArrow,s=void 0===r||r,h=e.headerClass,m=e.isActive,y=e.onItemClick,g=e.forceRender,v=e.className,b=e.classNames,O=void 0===b?{}:b,w=e.styles,S=void 0===w?{}:w,x=e.prefixCls,E=e.collapsible,_=e.accordion,P=e.panelKey,T=e.extra,j=e.header,C=e.expandIcon,k=e.openMotion,A=e.destroyInactivePanel,D=e.children,L=(0,a.default)(e,p),R="disabled"===E,M=null!=T&&"boolean"!=typeof T,I=(0,i.default)((0,i.default)((0,i.default)({onClick:function(){null==y||y(P)},onKeyDown:function(e){"Enter"!==e.key&&e.keyCode!==u.default.ENTER&&e.which!==u.default.ENTER||null==y||y(P)},role:_?"tab":"button"},"aria-expanded",m),"aria-disabled",R),"tabIndex",R?-1:0),N="function"==typeof C?C(e):f.createElement("i",{className:"arrow"}),B=N&&f.createElement("div",(0,o.default)({className:"".concat(x,"-expand-icon")},["header","icon"].includes(E)?I:{}),N),$=l()("".concat(x,"-item"),(0,i.default)((0,i.default)({},"".concat(x,"-item-active"),m),"".concat(x,"-item-disabled"),R),v),F=l()(h,"".concat(x,"-header"),(0,i.default)({},"".concat(x,"-collapsible-").concat(E),!!E),O.header),z=(0,n.default)({className:F,style:S.header},["header","icon"].includes(E)?{}:I);return f.createElement("div",(0,o.default)({},L,{ref:t,className:$}),f.createElement("div",z,s&&B,f.createElement("span",(0,o.default)({className:"".concat(x,"-header-text")},"header"===E?I:{}),j),M&&f.createElement("div",{className:"".concat(x,"-extra")},T)),f.createElement(c.default,(0,o.default)({visible:m,leavedClassName:"".concat(x,"-content-hidden")},k,{forceRender:g,removeOnLeave:A}),(function(e,t){var r=e.className,n=e.style;return f.createElement(d.default,{ref:t,prefixCls:x,className:r,classNames:O,style:n,styles:S,isActive:m,forceRender:g,role:_?"tabpanel":void 0},D)})))}))},90960:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(4942),o=r(93324),i=r(93967),a=r.n(i),s=r(36198),l=s.forwardRef((function(e,t){var r=e.prefixCls,i=e.forceRender,l=e.className,c=e.style,u=e.children,f=e.isActive,d=e.role,p=e.classNames,h=e.styles,m=s.useState(f||i),y=(0,o.default)(m,2),g=y[0],v=y[1];return s.useEffect((function(){(i||f)&&v(!0)}),[i,f]),g?s.createElement("div",{ref:t,className:a()("".concat(r,"-content"),(0,n.default)((0,n.default)({},"".concat(r,"-content-active"),f),"".concat(r,"-content-inactive"),!f),l),style:c,role:d},s.createElement("div",{className:a()("".concat(r,"-content-box"),null==p?void 0:p.body),style:null==h?void 0:h.body},u)):null}));l.displayName="PanelContent";const c=l},1422:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(87462),o=r(45987),i=r(50344),a=r(36198),s=r(22259),l=["children","label","key","collapsible","onItemClick","destroyInactivePanel"];const c=function(e,t,r){return Array.isArray(e)?function(e,t){var r=t.prefixCls,i=t.accordion,c=t.collapsible,u=t.destroyInactivePanel,f=t.onItemClick,d=t.activeKey,p=t.openMotion,h=t.expandIcon;return e.map((function(e,t){var m=e.children,y=e.label,g=e.key,v=e.collapsible,b=e.onItemClick,O=e.destroyInactivePanel,w=(0,o.default)(e,l),S=String(null!=g?g:t),x=null!=v?v:c,E=null!=O?O:u,_=!1;return _=i?d[0]===S:d.indexOf(S)>-1,a.createElement(s.default,(0,n.default)({},w,{prefixCls:r,key:S,panelKey:S,isActive:_,accordion:i,openMotion:p,expandIcon:h,header:y,collapsible:x,onItemClick:function(e){"disabled"!==x&&(f(e),null==b||b(e))},destroyInactivePanel:E}),m)}))}(e,r):(0,i.default)(t).map((function(e,t){return function(e,t,r){if(!e)return null;var n=r.prefixCls,o=r.accordion,i=r.collapsible,s=r.destroyInactivePanel,l=r.onItemClick,c=r.activeKey,u=r.openMotion,f=r.expandIcon,d=e.key||String(t),p=e.props,h=p.header,m=p.headerClass,y=p.destroyInactivePanel,g=p.collapsible,v=p.onItemClick,b=!1;b=o?c[0]===d:c.indexOf(d)>-1;var O=null!=g?g:i,w={key:d,panelKey:d,header:h,headerClass:m,isActive:b,prefixCls:n,destroyInactivePanel:null!=y?y:s,openMotion:u,accordion:o,children:e.props.children,onItemClick:function(e){"disabled"!==O&&(l(e),null==v||v(e))},expandIcon:f,collapsible:O};return"string"==typeof e.type?e:(Object.keys(w).forEach((function(e){void 0===w[e]&&delete w[e]})),a.cloneElement(e,w))}(e,t,r)}))}},7790:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Panel:()=>i,default:()=>o});var n=r(604);const o=n.default;var i=n.default.Panel},32890:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>j});var n=r(87462),o=r(45987),i=r(74165),a=r(15861),s=r(1413),l=r(89062),c=r(15671),u=r(43144),f=r(97326),d=r(60136),p=r(29388),h=r(4942),m=r(50344),y=r(91881),g=r(80334),v=r(36198),b=r(28665),O=r(82131),w=r(93409),S=r(416),x=r(53236),E=["name"],_=[];function P(e,t,r,n,o,i){return"function"==typeof e?e(t,r,"source"in i?{source:i.source}:{}):n!==o}var T=function(e){(0,d.default)(r,e);var t=(0,p.default)(r);function r(e){var n;((0,c.default)(this,r),n=t.call(this,e),(0,h.default)((0,f.default)(n),"state",{resetCount:0}),(0,h.default)((0,f.default)(n),"cancelRegisterFunc",null),(0,h.default)((0,f.default)(n),"mounted",!1),(0,h.default)((0,f.default)(n),"touched",!1),(0,h.default)((0,f.default)(n),"dirty",!1),(0,h.default)((0,f.default)(n),"validatePromise",void 0),(0,h.default)((0,f.default)(n),"prevValidating",void 0),(0,h.default)((0,f.default)(n),"errors",_),(0,h.default)((0,f.default)(n),"warnings",_),(0,h.default)((0,f.default)(n),"cancelRegister",(function(){var e=n.props,t=e.preserve,r=e.isListField,o=e.name;n.cancelRegisterFunc&&n.cancelRegisterFunc(r,t,(0,x.getNamePath)(o)),n.cancelRegisterFunc=null})),(0,h.default)((0,f.default)(n),"getNamePath",(function(){var e=n.props,t=e.name,r=e.fieldContext.prefixName,o=void 0===r?[]:r;return void 0!==t?[].concat((0,l.default)(o),(0,l.default)(t)):[]})),(0,h.default)((0,f.default)(n),"getRules",(function(){var e=n.props,t=e.rules,r=void 0===t?[]:t,o=e.fieldContext;return r.map((function(e){return"function"==typeof e?e(o):e}))})),(0,h.default)((0,f.default)(n),"refresh",(function(){n.mounted&&n.setState((function(e){return{resetCount:e.resetCount+1}}))})),(0,h.default)((0,f.default)(n),"metaCache",null),(0,h.default)((0,f.default)(n),"triggerMetaEvent",(function(e){var t=n.props.onMetaChange;if(t){var r=(0,s.default)((0,s.default)({},n.getMeta()),{},{destroy:e});(0,y.default)(n.metaCache,r)||t(r),n.metaCache=r}else n.metaCache=null})),(0,h.default)((0,f.default)(n),"onStoreChange",(function(e,t,r){var o=n.props,i=o.shouldUpdate,a=o.dependencies,s=void 0===a?[]:a,l=o.onReset,c=r.store,u=n.getNamePath(),f=n.getValue(e),d=n.getValue(c),p=t&&(0,x.containsNamePath)(t,u);switch("valueUpdate"!==r.type||"external"!==r.source||(0,y.default)(f,d)||(n.touched=!0,n.dirty=!0,n.validatePromise=null,n.errors=_,n.warnings=_,n.triggerMetaEvent()),r.type){case"reset":if(!t||p)return n.touched=!1,n.dirty=!1,n.validatePromise=void 0,n.errors=_,n.warnings=_,n.triggerMetaEvent(),null==l||l(),void n.refresh();break;case"remove":if(i&&P(i,e,c,f,d,r))return void n.reRender();break;case"setField":var h=r.data;if(p)return"touched"in h&&(n.touched=h.touched),"validating"in h&&!("originRCField"in h)&&(n.validatePromise=h.validating?Promise.resolve([]):null),"errors"in h&&(n.errors=h.errors||_),"warnings"in h&&(n.warnings=h.warnings||_),n.dirty=!0,n.triggerMetaEvent(),void n.reRender();if("value"in h&&(0,x.containsNamePath)(t,u,!0))return void n.reRender();if(i&&!u.length&&P(i,e,c,f,d,r))return void n.reRender();break;case"dependenciesUpdate":if(s.map(x.getNamePath).some((function(e){return(0,x.containsNamePath)(r.relatedFields,e)})))return void n.reRender();break;default:if(p||(!s.length||u.length||i)&&P(i,e,c,f,d,r))return void n.reRender()}!0===i&&n.reRender()})),(0,h.default)((0,f.default)(n),"validateRules",(function(e){var t=n.getNamePath(),r=n.getValue(),o=e||{},s=o.triggerName,c=o.validateOnly,u=void 0!==c&&c,f=Promise.resolve().then((0,a.default)((0,i.default)().mark((function o(){var a,c,u,d,p,h,m;return(0,i.default)().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(n.mounted){o.next=2;break}return o.abrupt("return",[]);case 2:if(a=n.props,c=a.validateFirst,u=void 0!==c&&c,d=a.messageVariables,p=a.validateDebounce,h=n.getRules(),s&&(h=h.filter((function(e){return e})).filter((function(e){var t=e.validateTrigger;return!t||(0,w.toArray)(t).includes(s)}))),!p||!s){o.next=10;break}return o.next=8,new Promise((function(e){setTimeout(e,p)}));case 8:if(n.validatePromise===f){o.next=10;break}return o.abrupt("return",[]);case 10:return(m=(0,S.validateRules)(t,r,h,e,u,d)).catch((function(e){return e})).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_;if(n.validatePromise===f){var t;n.validatePromise=null;var r=[],o=[];null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.rule.warningOnly,n=e.errors,i=void 0===n?_:n;t?o.push.apply(o,(0,l.default)(i)):r.push.apply(r,(0,l.default)(i))})),n.errors=r,n.warnings=o,n.triggerMetaEvent(),n.reRender()}})),o.abrupt("return",m);case 13:case"end":return o.stop()}}),o)}))));return u||(n.validatePromise=f,n.dirty=!0,n.errors=_,n.warnings=_,n.triggerMetaEvent(),n.reRender()),f})),(0,h.default)((0,f.default)(n),"isFieldValidating",(function(){return!!n.validatePromise})),(0,h.default)((0,f.default)(n),"isFieldTouched",(function(){return n.touched})),(0,h.default)((0,f.default)(n),"isFieldDirty",(function(){return!(!n.dirty&&void 0===n.props.initialValue)||void 0!==(0,n.props.fieldContext.getInternalHooks(b.HOOK_MARK).getInitialValue)(n.getNamePath())})),(0,h.default)((0,f.default)(n),"getErrors",(function(){return n.errors})),(0,h.default)((0,f.default)(n),"getWarnings",(function(){return n.warnings})),(0,h.default)((0,f.default)(n),"isListField",(function(){return n.props.isListField})),(0,h.default)((0,f.default)(n),"isList",(function(){return n.props.isList})),(0,h.default)((0,f.default)(n),"isPreserve",(function(){return n.props.preserve})),(0,h.default)((0,f.default)(n),"getMeta",(function(){return n.prevValidating=n.isFieldValidating(),{touched:n.isFieldTouched(),validating:n.prevValidating,errors:n.errors,warnings:n.warnings,name:n.getNamePath(),validated:null===n.validatePromise}})),(0,h.default)((0,f.default)(n),"getOnlyChild",(function(e){if("function"==typeof e){var t=n.getMeta();return(0,s.default)((0,s.default)({},n.getOnlyChild(e(n.getControlled(),t,n.props.fieldContext))),{},{isFunction:!0})}var r=(0,m.default)(e);return 1===r.length&&v.isValidElement(r[0])?{child:r[0],isFunction:!1}:{child:r,isFunction:!1}})),(0,h.default)((0,f.default)(n),"getValue",(function(e){var t=n.props.fieldContext.getFieldsValue,r=n.getNamePath();return(0,x.getValue)(e||t(!0),r)})),(0,h.default)((0,f.default)(n),"getControlled",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.props,r=t.name,o=t.trigger,i=t.validateTrigger,a=t.getValueFromEvent,l=t.normalize,c=t.valuePropName,u=t.getValueProps,f=t.fieldContext,d=void 0!==i?i:f.validateTrigger,p=n.getNamePath(),m=f.getInternalHooks,y=f.getFieldsValue,g=m(b.HOOK_MARK).dispatch,v=n.getValue(),O=u||function(e){return(0,h.default)({},c,e)},S=e[o],E=void 0!==r?O(v):{};var _=(0,s.default)((0,s.default)({},e),E);return _[o]=function(){var e;n.touched=!0,n.dirty=!0,n.triggerMetaEvent();for(var t=arguments.length,r=new Array(t),o=0;o{"use strict";r.r(t),r.d(t,{HOOK_MARK:()=>i,default:()=>s});var n=r(80334),o=r(36198),i="RC_FORM_INTERNAL_HOOKS",a=function(){(0,n.default)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")};const s=o.createContext({getFieldValue:a,getFieldsValue:a,getFieldError:a,getFieldWarning:a,getFieldsError:a,isFieldsTouched:a,isFieldTouched:a,isFieldValidating:a,isFieldsValidating:a,resetFields:a,setFields:a,setFieldValue:a,setFieldsValue:a,validateFields:a,submit:a,getInternalHooks:function(){return a(),{dispatch:a,initEntityValue:a,registerField:a,useSubscribe:a,setInitialValues:a,destroyForm:a,setCallbacks:a,registerWatch:a,getFields:a,setValidateMessages:a,setPreserve:a,getInitialValue:a}}})},5318:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(87462),o=r(1413),i=r(93324),a=r(45987),s=r(36198),l=r(5918),c=r(28665),u=r(81696),f=r(53236),d=r(82131),p=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"];const h=function(e,t){var r=e.name,h=e.initialValues,m=e.fields,y=e.form,g=e.preserve,v=e.children,b=e.component,O=void 0===b?"form":b,w=e.validateMessages,S=e.validateTrigger,x=void 0===S?"onChange":S,E=e.onValuesChange,_=e.onFieldsChange,P=e.onFinish,T=e.onFinishFailed,j=e.clearOnDestroy,C=(0,a.default)(e,p),k=s.useRef(null),A=s.useContext(u.default),D=(0,l.default)(y),L=(0,i.default)(D,1)[0],R=L.getInternalHooks(c.HOOK_MARK),M=R.useSubscribe,I=R.setInitialValues,N=R.setCallbacks,B=R.setValidateMessages,$=R.setPreserve,F=R.destroyForm;s.useImperativeHandle(t,(function(){return(0,o.default)((0,o.default)({},L),{},{nativeElement:k.current})})),s.useEffect((function(){return A.registerForm(r,L),function(){A.unregisterForm(r)}}),[A,L,r]),B((0,o.default)((0,o.default)({},A.validateMessages),w)),N({onValuesChange:E,onFieldsChange:function(e){if(A.triggerFormChange(r,e),_){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{"use strict";r.r(t),r.d(t,{FormProvider:()=>s,default:()=>l});var n=r(4942),o=r(1413),i=r(36198),a=i.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),s=function(e){var t=e.validateMessages,r=e.onFormChange,s=e.onFormFinish,l=e.children,c=i.useContext(a),u=i.useRef({});return i.createElement(a.Provider,{value:(0,o.default)((0,o.default)({},c),{},{validateMessages:(0,o.default)((0,o.default)({},c.validateMessages),t),triggerFormChange:function(e,t){r&&r(e,{changedFields:t,forms:u.current}),c.triggerFormChange(e,t)},triggerFormFinish:function(e,t){s&&s(e,{values:t,forms:u.current}),c.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(u.current=(0,o.default)((0,o.default)({},u.current),{},(0,n.default)({},e,t))),c.registerForm(e,t)},unregisterForm:function(e){var t=(0,o.default)({},u.current);delete t[e],u.current=t,c.unregisterForm(e)}})},l)};const l=a},45378:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(1413),o=r(89062),i=r(36198),a=r(80334),s=r(28665),l=r(32890),c=r(53236),u=r(82131);const f=function(e){var t=e.name,r=e.initialValue,f=e.children,d=e.rules,p=e.validateTrigger,h=e.isListField,m=i.useContext(s.default),y=i.useContext(u.default),g=i.useRef({keys:[],id:0}).current,v=i.useMemo((function(){var e=(0,c.getNamePath)(m.prefixName)||[];return[].concat((0,o.default)(e),(0,o.default)((0,c.getNamePath)(t)))}),[m.prefixName,t]),b=i.useMemo((function(){return(0,n.default)((0,n.default)({},m),{},{prefixName:v})}),[m,v]),O=i.useMemo((function(){return{getKey:function(e){var t=v.length,r=e[t];return[g.keys[r],e.slice(t+1)]}}}),[v]);return"function"!=typeof f?((0,a.default)(!1,"Form.List only accepts function as children."),null):i.createElement(u.default.Provider,{value:O},i.createElement(s.default.Provider,{value:b},i.createElement(l.default,{name:[],shouldUpdate:function(e,t,r){return"internal"!==r.source&&e!==t},rules:d,validateTrigger:p,initialValue:r,isList:!0,isListField:null!=h?h:!!y},(function(e,t){var r=e.value,n=void 0===r?[]:r,i=e.onChange,a=m.getFieldValue,s=function(){return a(v||[])||[]},l={add:function(e,t){var r=s();t>=0&&t<=r.length?(g.keys=[].concat((0,o.default)(g.keys.slice(0,t)),[g.id],(0,o.default)(g.keys.slice(t))),i([].concat((0,o.default)(r.slice(0,t)),[e],(0,o.default)(r.slice(t))))):(g.keys=[].concat((0,o.default)(g.keys),[g.id]),i([].concat((0,o.default)(r),[e]))),g.id+=1},remove:function(e){var t=s(),r=new Set(Array.isArray(e)?e:[e]);r.size<=0||(g.keys=g.keys.filter((function(e,t){return!r.has(t)})),i(t.filter((function(e,t){return!r.has(t)}))))},move:function(e,t){if(e!==t){var r=s();e<0||e>=r.length||t<0||t>=r.length||(g.keys=(0,c.move)(g.keys,e,t),i((0,c.move)(r,e,t)))}}},u=n||[];return Array.isArray(u)||(u=[]),f(u.map((function(e,t){var r=g.keys[t];return void 0===r&&(g.keys[t]=g.id,r=g.keys[t],g.id+=1),{name:t,key:r,isListField:!0}})),l,t)}))))}},82131:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=r(36198).createContext(null)},6077:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Field:()=>o.default,FieldContext:()=>c.default,FormProvider:()=>l.FormProvider,List:()=>i.default,ListContext:()=>u.default,default:()=>p,useForm:()=>a.default,useWatch:()=>f.default});var n=r(36198),o=r(32890),i=r(45378),a=r(5918),s=r(5318),l=r(81696),c=r(28665),u=r(82131),f=r(21806),d=n.forwardRef(s.default);d.FormProvider=l.FormProvider,d.Field=o.default,d.List=i.default,d.useForm=a.default,d.useWatch=f.default;const p=d},5918:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FormStore:()=>O,default:()=>w});var n=r(93324),o=r(1413),i=r(45987),a=r(89062),s=r(71002),l=r(43144),c=r(15671),u=r(4942),f=r(8880),d=r(80334),p=r(36198),h=r(28665),m=r(40496),y=r(42656),g=r(92332),v=r(53236),b=["name"],O=(0,l.default)((function e(t){var r=this;(0,c.default)(this,e),(0,u.default)(this,"formHooked",!1),(0,u.default)(this,"forceRootUpdate",void 0),(0,u.default)(this,"subscribable",!0),(0,u.default)(this,"store",{}),(0,u.default)(this,"fieldEntities",[]),(0,u.default)(this,"initialValues",{}),(0,u.default)(this,"callbacks",{}),(0,u.default)(this,"validateMessages",null),(0,u.default)(this,"preserve",null),(0,u.default)(this,"lastValidatePromise",null),(0,u.default)(this,"getForm",(function(){return{getFieldValue:r.getFieldValue,getFieldsValue:r.getFieldsValue,getFieldError:r.getFieldError,getFieldWarning:r.getFieldWarning,getFieldsError:r.getFieldsError,isFieldsTouched:r.isFieldsTouched,isFieldTouched:r.isFieldTouched,isFieldValidating:r.isFieldValidating,isFieldsValidating:r.isFieldsValidating,resetFields:r.resetFields,setFields:r.setFields,setFieldValue:r.setFieldValue,setFieldsValue:r.setFieldsValue,validateFields:r.validateFields,submit:r.submit,_init:!0,getInternalHooks:r.getInternalHooks}})),(0,u.default)(this,"getInternalHooks",(function(e){return e===h.HOOK_MARK?(r.formHooked=!0,{dispatch:r.dispatch,initEntityValue:r.initEntityValue,registerField:r.registerField,useSubscribe:r.useSubscribe,setInitialValues:r.setInitialValues,destroyForm:r.destroyForm,setCallbacks:r.setCallbacks,setValidateMessages:r.setValidateMessages,getFields:r.getFields,setPreserve:r.setPreserve,getInitialValue:r.getInitialValue,registerWatch:r.registerWatch}):((0,d.default)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)})),(0,u.default)(this,"useSubscribe",(function(e){r.subscribable=e})),(0,u.default)(this,"prevWithoutPreserves",null),(0,u.default)(this,"setInitialValues",(function(e,t){if(r.initialValues=e||{},t){var n,o=(0,f.merge)(e,r.store);null===(n=r.prevWithoutPreserves)||void 0===n||n.map((function(t){var r=t.key;o=(0,v.setValue)(o,r,(0,v.getValue)(e,r))})),r.prevWithoutPreserves=null,r.updateStore(o)}})),(0,u.default)(this,"destroyForm",(function(e){if(e)r.updateStore({});else{var t=new g.default;r.getFieldEntities(!0).forEach((function(e){r.isMergedPreserve(e.isPreserve())||t.set(e.getNamePath(),!0)})),r.prevWithoutPreserves=t}})),(0,u.default)(this,"getInitialValue",(function(e){var t=(0,v.getValue)(r.initialValues,e);return e.length?(0,f.merge)(t):t})),(0,u.default)(this,"setCallbacks",(function(e){r.callbacks=e})),(0,u.default)(this,"setValidateMessages",(function(e){r.validateMessages=e})),(0,u.default)(this,"setPreserve",(function(e){r.preserve=e})),(0,u.default)(this,"watchList",[]),(0,u.default)(this,"registerWatch",(function(e){return r.watchList.push(e),function(){r.watchList=r.watchList.filter((function(t){return t!==e}))}})),(0,u.default)(this,"notifyWatch",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.watchList.length){var t=r.getFieldsValue(),n=r.getFieldsValue(!0);r.watchList.forEach((function(r){r(t,n,e)}))}})),(0,u.default)(this,"timeoutId",null),(0,u.default)(this,"warningUnhooked",(function(){0})),(0,u.default)(this,"updateStore",(function(e){r.store=e})),(0,u.default)(this,"getFieldEntities",(function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?r.fieldEntities.filter((function(e){return e.getNamePath().length})):r.fieldEntities})),(0,u.default)(this,"getFieldsMap",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new g.default;return r.getFieldEntities(e).forEach((function(e){var r=e.getNamePath();t.set(r,e)})),t})),(0,u.default)(this,"getFieldEntitiesForNamePathList",(function(e){if(!e)return r.getFieldEntities(!0);var t=r.getFieldsMap(!0);return e.map((function(e){var r=(0,v.getNamePath)(e);return t.get(r)||{INVALIDATE_NAME_PATH:(0,v.getNamePath)(e)}}))})),(0,u.default)(this,"getFieldsValue",(function(e,t){var n,o,i;if(r.warningUnhooked(),!0===e||Array.isArray(e)?(n=e,o=t):e&&"object"===(0,s.default)(e)&&(i=e.strict,o=e.filter),!0===n&&!o)return r.store;var a=r.getFieldEntitiesForNamePathList(Array.isArray(n)?n:null),l=[];return a.forEach((function(e){var t,r,a,s,c="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null!==(a=(s=e).isList)&&void 0!==a&&a.call(s))return}else if(!n&&null!==(t=(r=e).isListField)&&void 0!==t&&t.call(r))return;if(o){var u="getMeta"in e?e.getMeta():null;o(u)&&l.push(c)}else l.push(c)})),(0,v.cloneByNamePathList)(r.store,l.map(v.getNamePath))})),(0,u.default)(this,"getFieldValue",(function(e){r.warningUnhooked();var t=(0,v.getNamePath)(e);return(0,v.getValue)(r.store,t)})),(0,u.default)(this,"getFieldsError",(function(e){return r.warningUnhooked(),r.getFieldEntitiesForNamePathList(e).map((function(t,r){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:(0,v.getNamePath)(e[r]),errors:[],warnings:[]}}))})),(0,u.default)(this,"getFieldError",(function(e){r.warningUnhooked();var t=(0,v.getNamePath)(e);return r.getFieldsError([t])[0].errors})),(0,u.default)(this,"getFieldWarning",(function(e){r.warningUnhooked();var t=(0,v.getNamePath)(e);return r.getFieldsError([t])[0].warnings})),(0,u.default)(this,"isFieldsTouched",(function(){r.warningUnhooked();for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=new g.default,n=r.getFieldEntities(!0);n.forEach((function(e){var r=e.props.initialValue,n=e.getNamePath();if(void 0!==r){var o=t.get(n)||new Set;o.add({entity:e,value:r}),t.set(n,o)}}));var o;e.entities?o=e.entities:e.namePathList?(o=[],e.namePathList.forEach((function(e){var r,n=t.get(e);n&&(r=o).push.apply(r,(0,a.default)((0,a.default)(n).map((function(e){return e.entity}))))}))):o=n,o.forEach((function(n){if(void 0!==n.props.initialValue){var o=n.getNamePath();if(void 0!==r.getInitialValue(o))(0,d.default)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=t.get(o);if(i&&i.size>1)(0,d.default)(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var s=r.getFieldValue(o);n.isListField()||e.skipExist&&void 0!==s||r.updateStore((0,v.setValue)(r.store,o,(0,a.default)(i)[0].value))}}}}))})),(0,u.default)(this,"resetFields",(function(e){r.warningUnhooked();var t=r.store;if(!e)return r.updateStore((0,f.merge)(r.initialValues)),r.resetWithFieldInitialValue(),r.notifyObservers(t,null,{type:"reset"}),void r.notifyWatch();var n=e.map(v.getNamePath);n.forEach((function(e){var t=r.getInitialValue(e);r.updateStore((0,v.setValue)(r.store,e,t))})),r.resetWithFieldInitialValue({namePathList:n}),r.notifyObservers(t,n,{type:"reset"}),r.notifyWatch(n)})),(0,u.default)(this,"setFields",(function(e){r.warningUnhooked();var t=r.store,n=[];e.forEach((function(e){var o=e.name,a=(0,i.default)(e,b),s=(0,v.getNamePath)(o);n.push(s),"value"in a&&r.updateStore((0,v.setValue)(r.store,s,a.value)),r.notifyObservers(t,[s],{type:"setField",data:e})})),r.notifyWatch(n)})),(0,u.default)(this,"getFields",(function(){return r.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),n=e.getMeta(),i=(0,o.default)((0,o.default)({},n),{},{name:t,value:r.getFieldValue(t)});return Object.defineProperty(i,"originRCField",{value:!0}),i}))})),(0,u.default)(this,"initEntityValue",(function(e){var t=e.props.initialValue;if(void 0!==t){var n=e.getNamePath();void 0===(0,v.getValue)(r.store,n)&&r.updateStore((0,v.setValue)(r.store,n,t))}})),(0,u.default)(this,"isMergedPreserve",(function(e){var t=void 0!==e?e:r.preserve;return null==t||t})),(0,u.default)(this,"registerField",(function(e){r.fieldEntities.push(e);var t=e.getNamePath();if(r.notifyWatch([t]),void 0!==e.props.initialValue){var n=r.store;r.resetWithFieldInitialValue({entities:[e],skipExist:!0}),r.notifyObservers(n,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(n,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(r.fieldEntities=r.fieldEntities.filter((function(t){return t!==e})),!r.isMergedPreserve(o)&&(!n||i.length>1)){var a=n?void 0:r.getInitialValue(t);if(t.length&&r.getFieldValue(t)!==a&&r.fieldEntities.every((function(e){return!(0,v.matchNamePath)(e.getNamePath(),t)}))){var s=r.store;r.updateStore((0,v.setValue)(s,t,a,!0)),r.notifyObservers(s,[t],{type:"remove"}),r.triggerDependenciesUpdate(s,t)}}r.notifyWatch([t])}})),(0,u.default)(this,"dispatch",(function(e){switch(e.type){case"updateValue":var t=e.namePath,n=e.value;r.updateValue(t,n);break;case"validateField":var o=e.namePath,i=e.triggerName;r.validateFields([o],{triggerName:i})}})),(0,u.default)(this,"notifyObservers",(function(e,t,n){if(r.subscribable){var i=(0,o.default)((0,o.default)({},n),{},{store:r.getFieldsValue(!0)});r.getFieldEntities().forEach((function(r){(0,r.onStoreChange)(e,t,i)}))}else r.forceRootUpdate()})),(0,u.default)(this,"triggerDependenciesUpdate",(function(e,t){var n=r.getDependencyChildrenFields(t);return n.length&&r.validateFields(n),r.notifyObservers(e,n,{type:"dependenciesUpdate",relatedFields:[t].concat((0,a.default)(n))}),n})),(0,u.default)(this,"updateValue",(function(e,t){var n=(0,v.getNamePath)(e),o=r.store;r.updateStore((0,v.setValue)(r.store,n,t)),r.notifyObservers(o,[n],{type:"valueUpdate",source:"internal"}),r.notifyWatch([n]);var i=r.triggerDependenciesUpdate(o,n),s=r.callbacks.onValuesChange;s&&s((0,v.cloneByNamePathList)(r.store,[n]),r.getFieldsValue());r.triggerOnFieldsChange([n].concat((0,a.default)(i)))})),(0,u.default)(this,"setFieldsValue",(function(e){r.warningUnhooked();var t=r.store;if(e){var n=(0,f.merge)(r.store,e);r.updateStore(n)}r.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),r.notifyWatch()})),(0,u.default)(this,"setFieldValue",(function(e,t){r.setFields([{name:e,value:t}])})),(0,u.default)(this,"getDependencyChildrenFields",(function(e){var t=new Set,n=[],o=new g.default;r.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var r=(0,v.getNamePath)(t);o.update(r,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));return function e(r){(o.get(r)||new Set).forEach((function(r){if(!t.has(r)){t.add(r);var o=r.getNamePath();r.isFieldDirty()&&o.length&&(n.push(o),e(o))}}))}(e),n})),(0,u.default)(this,"triggerOnFieldsChange",(function(e,t){var n=r.callbacks.onFieldsChange;if(n){var o=r.getFields();if(t){var i=new g.default;t.forEach((function(e){var t=e.name,r=e.errors;i.set(t,r)})),o.forEach((function(e){e.errors=i.get(e.name)||e.errors}))}var a=o.filter((function(t){var r=t.name;return(0,v.containsNamePath)(e,r)}));a.length&&n(a,o)}})),(0,u.default)(this,"validateFields",(function(e,t){var n,i;r.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(n=e,i=t):i=e;var s=!!n,l=s?n.map(v.getNamePath):[],c=[],u=String(Date.now()),f=new Set,d=i||{},p=d.recursive,h=d.dirty;r.getFieldEntities(!0).forEach((function(e){if(s||l.push(e.getNamePath()),e.props.rules&&e.props.rules.length&&(!h||e.isFieldDirty())){var t=e.getNamePath();if(f.add(t.join(u)),!s||(0,v.containsNamePath)(l,t,p)){var n=e.validateRules((0,o.default)({validateMessages:(0,o.default)((0,o.default)({},y.defaultValidateMessages),r.validateMessages)},i));c.push(n.then((function(){return{name:t,errors:[],warnings:[]}})).catch((function(e){var r,n=[],o=[];return null===(r=e.forEach)||void 0===r||r.call(e,(function(e){var t=e.rule.warningOnly,r=e.errors;t?o.push.apply(o,(0,a.default)(r)):n.push.apply(n,(0,a.default)(r))})),n.length?Promise.reject({name:t,errors:n,warnings:o}):{name:t,errors:n,warnings:o}})))}}}));var g=(0,m.allPromiseFinish)(c);r.lastValidatePromise=g,g.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));r.notifyObservers(r.store,t,{type:"validateFinish"}),r.triggerOnFieldsChange(t,e)}));var b=g.then((function(){return r.lastValidatePromise===g?Promise.resolve(r.getFieldsValue(l)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:r.getFieldsValue(l),errorFields:t,outOfDate:r.lastValidatePromise!==g})}));b.catch((function(e){return e}));var O=l.filter((function(e){return f.has(e.join(u))}));return r.triggerOnFieldsChange(O),b})),(0,u.default)(this,"submit",(function(){r.warningUnhooked(),r.validateFields().then((function(e){var t=r.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}})).catch((function(e){var t=r.callbacks.onFinishFailed;t&&t(e)}))})),this.forceRootUpdate=t}));const w=function(e){var t=p.useRef(),r=p.useState({}),o=(0,n.default)(r,2)[1];if(!t.current)if(e)t.current=e;else{var i=new O((function(){o({})}));t.current=i.getForm()}return[t.current]}},21806:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u,stringify:()=>l});var n=r(93324),o=(r(80334),r(36198)),i=r(28665),a=r(93409),s=r(53236);function l(e){try{return JSON.stringify(e)}catch(e){return Math.random()}}var c=function(){};const u=function(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(93324),o=r(89062),i=r(15671),a=r(43144),s=r(4942),l=r(71002),c="__@field_split__";function u(e){return e.map((function(e){return"".concat((0,l.default)(e),":").concat(e)})).join(c)}const f=function(){function e(){(0,i.default)(this,e),(0,s.default)(this,"kvs",new Map)}return(0,a.default)(e,[{key:"set",value:function(e,t){this.kvs.set(u(e),t)}},{key:"get",value:function(e){return this.kvs.get(u(e))}},{key:"update",value:function(e,t){var r=t(this.get(e));r?this.set(e,r):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(u(e))}},{key:"map",value:function(e){return(0,o.default)(this.kvs.entries()).map((function(t){var r=(0,n.default)(t,2),o=r[0],i=r[1],a=o.split(c);return e({key:a.map((function(e){var t=e.match(/^([^:]*):(.*)$/),r=(0,n.default)(t,3),o=r[1],i=r[2];return"number"===o?Number(i):i})),value:i})}))}},{key:"toJSON",value:function(){var e={};return this.map((function(t){var r=t.key,n=t.value;return e[r.join(".")]=n,null})),e}}]),e}()},40496:(e,t,r)=>{"use strict";function n(e){var t=!1,r=e.length,n=[];return e.length?new Promise((function(o,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){r-=1,n[a]=e,r>0||(t&&i(n),o(n))}))}))})):Promise.resolve([])}r.r(t),r.d(t,{allPromiseFinish:()=>n})},42656:(e,t,r)=>{"use strict";r.r(t),r.d(t,{defaultValidateMessages:()=>o});var n="'${name}' is not a valid ${type}",o={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:n,method:n,array:n,object:n,number:n,date:n,boolean:n,integer:n,float:n,regexp:n,email:n,url:n,hex:n},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}}},93409:(e,t,r)=>{"use strict";function n(e){return null==e?[]:Array.isArray(e)?e:[e]}function o(e){return e&&!!e._init}r.r(t),r.d(t,{isFormInstance:()=>o,toArray:()=>n})},416:(e,t,r)=>{"use strict";r.r(t),r.d(t,{validateRules:()=>v});var n=r(89062),o=r(4942),i=r(74165),a=r(1413),s=r(15861),l=r(54572),c=r(36198),u=r(80334),f=r(42656),d=r(8880),p=l.default;function h(e,t){return e.replace(/\\?\$\{\w+\}/g,(function(e){if(e.startsWith("\\"))return e.slice(1);var r=e.slice(2,-1);return t[r]}))}var m="CODE_LOGIC_ERROR";function y(e,t,r,n,o){return g.apply(this,arguments)}function g(){return g=(0,s.default)((0,i.default)().mark((function e(t,r,s,l,u){var g,v,b,O,w,S,x,E,_;return(0,i.default)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete(g=(0,a.default)({},s)).ruleIndex,p.warning=function(){},g.validator&&(v=g.validator,g.validator=function(){try{return v.apply(void 0,arguments)}catch(e){return console.error(e),Promise.reject(m)}}),b=null,g&&"array"===g.type&&g.defaultField&&(b=g.defaultField,delete g.defaultField),O=new p((0,o.default)({},t,[g])),w=(0,d.merge)(f.defaultValidateMessages,l.validateMessages),O.messages(w),S=[],e.prev=10,e.next=13,Promise.resolve(O.validate((0,o.default)({},t,r),(0,a.default)({},l)));case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(10),e.t0.errors&&(S=e.t0.errors.map((function(e,t){var r=e.message,n=r===m?w.default:r;return c.isValidElement(n)?c.cloneElement(n,{key:"error_".concat(t)}):n})));case 18:if(S.length||!b){e.next=23;break}return e.next=21,Promise.all(r.map((function(e,r){return y("".concat(t,".").concat(r),e,b,l,u)})));case 21:return x=e.sent,e.abrupt("return",x.reduce((function(e,t){return[].concat((0,n.default)(e),(0,n.default)(t))}),[]));case 23:return E=(0,a.default)((0,a.default)({},s),{},{name:t,enum:(s.enum||[]).join(", ")},u),_=S.map((function(e){return"string"==typeof e?h(e,E):e})),e.abrupt("return",_);case 26:case"end":return e.stop()}}),e,null,[[10,15]])}))),g.apply(this,arguments)}function v(e,t,r,n,o,l){var c,f=e.join("."),d=r.map((function(e,t){var r=e.validator,n=(0,a.default)((0,a.default)({},e),{},{ruleIndex:t});return r&&(n.validator=function(e,t,n){var o=!1,i=r(e,t,(function(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";r.r(t),r.d(t,{cloneByNamePathList:()=>c,containsNamePath:()=>u,defaultGetValueFromEvent:()=>p,getNamePath:()=>l,getValue:()=>i.default,isSimilar:()=>d,matchNamePath:()=>f,move:()=>h,setValue:()=>a.default});var n=r(89062),o=r(71002),i=r(88306),a=r(8880),s=r(93409);function l(e){return(0,s.toArray)(e)}function c(e,t){var r={};return t.forEach((function(t){var n=(0,i.default)(e,t);r=(0,a.default)(r,t,n)})),r}function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e&&e.some((function(e){return f(t,e,r)}))}function f(e,t){return!(!e||!t)&&(!(!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])&&e.length!==t.length)&&t.every((function(t,r){return e[r]===t})))}function d(e,t){if(e===t)return!0;if(!e&&t||e&&!t)return!1;if(!e||!t||"object"!==(0,o.default)(e)||"object"!==(0,o.default)(t))return!1;var r=Object.keys(e),i=Object.keys(t),a=new Set([].concat(r,i));return(0,n.default)(a).every((function(r){var n=e[r],o=t[r];return"function"==typeof n&&"function"==typeof o||n===o}))}function p(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===(0,o.default)(t.target)&&e in t.target?t.target[e]:t}function h(e,t,r){var o=e.length;if(t<0||t>=o||r<0||r>=o)return e;var i=e[t],a=t-r;return a>0?[].concat((0,n.default)(e.slice(0,r)),[i],(0,n.default)(e.slice(r,t)),(0,n.default)(e.slice(t+1,o))):a<0?[].concat((0,n.default)(e.slice(0,t)),(0,n.default)(e.slice(t+1,r+1)),[i],(0,n.default)(e.slice(r+1,o))):e}},48960:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(1413),o=r(87462),i=r(4942),a=r(71002),s=r(93967),l=r.n(s),c=r(36198),u=r(87887);const f=c.forwardRef((function(e,t){var r,s,f=e.inputElement,d=e.children,p=e.prefixCls,h=e.prefix,m=e.suffix,y=e.addonBefore,g=e.addonAfter,v=e.className,b=e.style,O=e.disabled,w=e.readOnly,S=e.focused,x=e.triggerFocus,E=e.allowClear,_=e.value,P=e.handleReset,T=e.hidden,j=e.classes,C=e.classNames,k=e.dataAttrs,A=e.styles,D=e.components,L=e.onClear,R=null!=d?d:f,M=(null==D?void 0:D.affixWrapper)||"span",I=(null==D?void 0:D.groupWrapper)||"span",N=(null==D?void 0:D.wrapper)||"span",B=(null==D?void 0:D.groupAddon)||"span",$=(0,c.useRef)(null),F=(0,u.hasPrefixSuffix)(e),z=(0,c.cloneElement)(R,{value:_,className:l()(R.props.className,!F&&(null==C?void 0:C.variant))||null}),Q=(0,c.useRef)(null);if(c.useImperativeHandle(t,(function(){return{nativeElement:Q.current||$.current}})),F){var V=null;if(E){var U=!O&&!w&&_,G="".concat(p,"-clear-icon"),W="object"===(0,a.default)(E)&&null!=E&&E.clearIcon?E.clearIcon:"✖";V=c.createElement("span",{onClick:function(e){null==P||P(e),null==L||L()},onMouseDown:function(e){return e.preventDefault()},className:l()(G,(0,i.default)((0,i.default)({},"".concat(G,"-hidden"),!U),"".concat(G,"-has-suffix"),!!m)),role:"button",tabIndex:-1},W)}var H="".concat(p,"-affix-wrapper"),Z=l()(H,(0,i.default)((0,i.default)((0,i.default)((0,i.default)((0,i.default)({},"".concat(p,"-disabled"),O),"".concat(H,"-disabled"),O),"".concat(H,"-focused"),S),"".concat(H,"-readonly"),w),"".concat(H,"-input-with-clear-btn"),m&&E&&_),null==j?void 0:j.affixWrapper,null==C?void 0:C.affixWrapper,null==C?void 0:C.variant),X=(m||E)&&c.createElement("span",{className:l()("".concat(p,"-suffix"),null==C?void 0:C.suffix),style:null==A?void 0:A.suffix},V,m);z=c.createElement(M,(0,o.default)({className:Z,style:null==A?void 0:A.affixWrapper,onClick:function(e){var t;null!==(t=$.current)&&void 0!==t&&t.contains(e.target)&&(null==x||x())}},null==k?void 0:k.affixWrapper,{ref:$}),h&&c.createElement("span",{className:l()("".concat(p,"-prefix"),null==C?void 0:C.prefix),style:null==A?void 0:A.prefix},h),z,X)}if((0,u.hasAddon)(e)){var q="".concat(p,"-group"),Y="".concat(q,"-addon"),K="".concat(q,"-wrapper"),J=l()("".concat(p,"-wrapper"),q,null==j?void 0:j.wrapper,null==C?void 0:C.wrapper),ee=l()(K,(0,i.default)({},"".concat(K,"-disabled"),O),null==j?void 0:j.group,null==C?void 0:C.groupWrapper);z=c.createElement(I,{className:ee,ref:Q},c.createElement(N,{className:J},y&&c.createElement(B,{className:Y},y),z,g&&c.createElement(B,{className:Y},g)))}return c.cloneElement(z,{className:l()(null===(r=z.props)||void 0===r?void 0:r.className,v)||null,style:(0,n.default)((0,n.default)({},null===(s=z.props)||void 0===s?void 0:s.style),b),hidden:T})}))},91504:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(1413),o=r(87462),i=r(4942),a=r(89062),s=r(93324),l=r(45987),c=r(93967),u=r.n(c),f=r(21770),d=r(98423),p=r(36198),h=r(48960),m=r(82234),y=r(87887),g=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"];const v=(0,p.forwardRef)((function(e,t){var r=e.autoComplete,c=e.onChange,v=e.onFocus,b=e.onBlur,O=e.onPressEnter,w=e.onKeyDown,S=e.onKeyUp,x=e.prefixCls,E=void 0===x?"rc-input":x,_=e.disabled,P=e.htmlSize,T=e.className,j=e.maxLength,C=e.suffix,k=e.showCount,A=e.count,D=e.type,L=void 0===D?"text":D,R=e.classes,M=e.classNames,I=e.styles,N=e.onCompositionStart,B=e.onCompositionEnd,$=(0,l.default)(e,g),F=(0,p.useState)(!1),z=(0,s.default)(F,2),Q=z[0],V=z[1],U=(0,p.useRef)(!1),G=(0,p.useRef)(!1),W=(0,p.useRef)(null),H=(0,p.useRef)(null),Z=function(e){W.current&&(0,y.triggerFocus)(W.current,e)},X=(0,f.default)(e.defaultValue,{value:e.value}),q=(0,s.default)(X,2),Y=q[0],K=q[1],J=null==Y?"":String(Y),ee=(0,p.useState)(null),te=(0,s.default)(ee,2),re=te[0],ne=te[1],oe=(0,m.default)(A,k),ie=oe.max||j,ae=oe.strategy(J),se=!!ie&&ae>ie;(0,p.useImperativeHandle)(t,(function(){var e;return{focus:Z,blur:function(){var e;null===(e=W.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,r){var n;null===(n=W.current)||void 0===n||n.setSelectionRange(e,t,r)},select:function(){var e;null===(e=W.current)||void 0===e||e.select()},input:W.current,nativeElement:(null===(e=H.current)||void 0===e?void 0:e.nativeElement)||W.current}})),(0,p.useEffect)((function(){V((function(e){return(!e||!_)&&e}))}),[_]);var le=function(e,t,r){var n,o,i=t;if(!U.current&&oe.exceedFormatter&&oe.max&&oe.strategy(t)>oe.max)t!==(i=oe.exceedFormatter(t,{max:oe.max}))&&ne([(null===(n=W.current)||void 0===n?void 0:n.selectionStart)||0,(null===(o=W.current)||void 0===o?void 0:o.selectionEnd)||0]);else if("compositionEnd"===r.source)return;K(i),W.current&&(0,y.resolveOnChange)(W.current,e,c,i)};(0,p.useEffect)((function(){var e;re&&(null===(e=W.current)||void 0===e||e.setSelectionRange.apply(e,(0,a.default)(re)))}),[re]);var ce,ue=function(e){le(e,e.target.value,{source:"change"})},fe=function(e){U.current=!1,le(e,e.currentTarget.value,{source:"compositionEnd"}),null==B||B(e)},de=function(e){O&&"Enter"===e.key&&!G.current&&(G.current=!0,O(e)),null==w||w(e)},pe=function(e){"Enter"===e.key&&(G.current=!1),null==S||S(e)},he=function(e){V(!0),null==v||v(e)},me=function(e){V(!1),null==b||b(e)},ye=se&&"".concat(E,"-out-of-range");return p.createElement(h.default,(0,o.default)({},$,{prefixCls:E,className:u()(T,ye),handleReset:function(e){K(""),Z(),W.current&&(0,y.resolveOnChange)(W.current,e,c)},value:J,focused:Q,triggerFocus:Z,suffix:function(){var e=Number(ie)>0;if(C||oe.show){var t=oe.showFormatter?oe.showFormatter({value:J,count:ae,maxLength:ie}):"".concat(ae).concat(e?" / ".concat(ie):"");return p.createElement(p.Fragment,null,oe.show&&p.createElement("span",{className:u()("".concat(E,"-show-count-suffix"),(0,i.default)({},"".concat(E,"-show-count-has-suffix"),!!C),null==M?void 0:M.count),style:(0,n.default)({},null==I?void 0:I.count)},t),C)}return null}(),disabled:_,classes:R,classNames:M,styles:I}),(ce=(0,d.default)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]),p.createElement("input",(0,o.default)({autoComplete:r},ce,{onChange:ue,onFocus:he,onBlur:me,onKeyDown:de,onKeyUp:pe,className:u()(E,(0,i.default)({},"".concat(E,"-disabled"),_),null==M?void 0:M.input),style:null==I?void 0:I.input,ref:W,size:P,type:L,onCompositionStart:function(e){U.current=!0,null==N||N(e)},onCompositionEnd:fe}))))}))},82234:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c,inCountRange:()=>l});var n=r(45987),o=r(1413),i=r(71002),a=r(36198),s=["show"];function l(e,t){return!t.max||t.strategy(e)<=t.max}function c(e,t){return a.useMemo((function(){var r={};t&&(r.show="object"===(0,i.default)(t)&&t.formatter?t.formatter:!!t);var a=r=(0,o.default)((0,o.default)({},r),e),l=a.show,c=(0,n.default)(a,s);return(0,o.default)((0,o.default)({},c),{},{show:!!l,showFormatter:"function"==typeof l?l:void 0,strategy:c.strategy||function(e){return e.length}})}),[e,t])}},10584:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BaseInput:()=>n.default,default:()=>o});var n=r(48960);const o=r(91504).default},87887:(e,t,r)=>{"use strict";function n(e){return!(!e.addonBefore&&!e.addonAfter)}function o(e){return!!(e.prefix||e.suffix||e.allowClear)}function i(e,t,r){var n=t.cloneNode(!0),o=Object.create(e,{target:{value:n},currentTarget:{value:n}});return n.value=r,"number"==typeof t.selectionStart&&"number"==typeof t.selectionEnd&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd),n.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},o}function a(e,t,r,n){if(r){var o=t;"click"!==t.type?"file"===e.type||void 0===n?r(o):r(o=i(t,e,n)):r(o=i(t,e,""))}}function s(e,t){if(e){e.focus(t);var r=(t||{}).cursor;if(r){var n=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(n,n);break;default:e.setSelectionRange(0,n)}}}}r.r(t),r.d(t,{hasAddon:()=>n,hasPrefixSuffix:()=>o,resolveOnChange:()=>a,triggerFocus:()=>s})},15407:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b,genCSSMotion:()=>v});var n=r(4942),o=r(1413),i=r(93324),a=r(71002),s=r(93967),l=r.n(s),c=r(34203),u=r(42550),f=r(36198),d=r(40507),p=r(44154),h=r(72215),m=r(10179),y=r(21279),g=r(94159);function v(e){var t=e;"object"===(0,a.default)(e)&&(t=e.transitionSupport);var r=f.forwardRef((function(e,r){var a=e.visible,s=void 0===a||a,v=e.removeOnLeave,b=void 0===v||v,O=e.forceRender,w=e.children,S=e.motionName,x=e.leavedClassName,E=e.eventProps,_=function(e,r){return!(!e.motionName||!t||!1===r)}(e,f.useContext(d.Context).motion),P=(0,f.useRef)(),T=(0,f.useRef)();var j=(0,h.default)(_,s,(function(){try{return P.current instanceof HTMLElement?P.current:(0,c.default)(T.current)}catch(e){return null}}),e),C=(0,i.default)(j,4),k=C[0],A=C[1],D=C[2],L=C[3],R=f.useRef(L);L&&(R.current=!0);var M,I=f.useCallback((function(e){P.current=e,(0,u.fillRef)(r,e)}),[r]),N=(0,o.default)((0,o.default)({},E),{},{visible:s});if(w)if(k===y.STATUS_NONE)M=L?w((0,o.default)({},N),I):!b&&R.current&&x?w((0,o.default)((0,o.default)({},N),{},{className:x}),I):O||!b&&!x?w((0,o.default)((0,o.default)({},N),{},{style:{display:"none"}}),I):null;else{var B;A===y.STEP_PREPARE?B="prepare":(0,m.isActive)(A)?B="active":A===y.STEP_START&&(B="start");var $=(0,g.getTransitionName)(S,"".concat(k,"-").concat(B));M=w((0,o.default)((0,o.default)({},N),{},{className:l()((0,g.getTransitionName)(S,k),(0,n.default)((0,n.default)({},$,$&&B),S,"string"==typeof S)),style:D}),I)}else M=null;f.isValidElement(M)&&(0,u.supportRef)(M)&&(M.ref||(M=f.cloneElement(M,{ref:I})));return f.createElement(p.default,{ref:T},M)}));return r.displayName="CSSMotion",r}const b=v(g.supportTransition)},84173:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>O,genCSSMotionList:()=>b});var n=r(87462),o=r(45987),i=r(1413),a=r(15671),s=r(43144),l=r(97326),c=r(60136),u=r(29388),f=r(4942),d=r(36198),p=r(15407),h=r(52378),m=r(94159),y=["component","children","onVisibleChanged","onAllRemoved"],g=["status"],v=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.default,r=function(e){(0,c.default)(p,e);var r=(0,u.default)(p);function p(){var e;(0,a.default)(this,p);for(var t=arguments.length,n=new Array(t),o=0;o{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(15671),o=r(43144),i=r(60136),a=r(29388);const s=function(e){(0,i.default)(r,e);var t=(0,a.default)(r);function r(){return(0,n.default)(this,r),t.apply(this,arguments)}return(0,o.default)(r,[{key:"render",value:function(){return this.props.children}}]),r}(r(36198).Component)},40507:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Context:()=>a,default:()=>s});var n=r(45987),o=r(36198),i=["children"],a=o.createContext({});function s(e){var t=e.children,r=(0,n.default)(e,i);return o.createElement(a.Provider,{value:r},t)}},68377:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(36198),o=r(94159);const i=function(e){var t=(0,n.useRef)();function r(t){t&&(t.removeEventListener(o.transitionEndName,e),t.removeEventListener(o.animationEndName,e))}return n.useEffect((function(){return function(){r(t.current)}}),[]),[function(n){t.current&&t.current!==n&&r(t.current),n&&n!==t.current&&(n.addEventListener(o.transitionEndName,e),n.addEventListener(o.animationEndName,e),t.current=n)},r]}},10586:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(98924),o=r(36198);const i=(0,n.default)()?o.useLayoutEffect:o.useEffect},54194:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(75164),o=r(36198);const i=function(){var e=o.useRef(null);function t(){n.default.cancel(e.current)}return o.useEffect((function(){return function(){t()}}),[]),[function r(o){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var a=(0,n.default)((function(){i<=1?o({isCanceled:function(){return a!==e.current}}):r(o,i-1)}));e.current=a},t]}},72215:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(1413),o=r(4942),i=r(93324),a=r(56790),s=r(30470),l=r(61848),c=r(36198),u=r(21279),f=r(68377),d=r(10586),p=r(10179);function h(e,t,r,h){var m=h.motionEnter,y=void 0===m||m,g=h.motionAppear,v=void 0===g||g,b=h.motionLeave,O=void 0===b||b,w=h.motionDeadline,S=h.motionLeaveImmediately,x=h.onAppearPrepare,E=h.onEnterPrepare,_=h.onLeavePrepare,P=h.onAppearStart,T=h.onEnterStart,j=h.onLeaveStart,C=h.onAppearActive,k=h.onEnterActive,A=h.onLeaveActive,D=h.onAppearEnd,L=h.onEnterEnd,R=h.onLeaveEnd,M=h.onVisibleChanged,I=(0,s.default)(),N=(0,i.default)(I,2),B=N[0],$=N[1],F=(0,l.default)(u.STATUS_NONE),z=(0,i.default)(F,2),Q=z[0],V=z[1],U=(0,s.default)(null),G=(0,i.default)(U,2),W=G[0],H=G[1],Z=Q(),X=(0,c.useRef)(!1),q=(0,c.useRef)(null);function Y(){return r()}var K=(0,c.useRef)(!1);function J(){V(u.STATUS_NONE),H(null,!0)}var ee=(0,a.useEvent)((function(e){var t=Q();if(t!==u.STATUS_NONE){var r=Y();if(!e||e.deadline||e.target===r){var n,o=K.current;t===u.STATUS_APPEAR&&o?n=null==D?void 0:D(r,e):t===u.STATUS_ENTER&&o?n=null==L?void 0:L(r,e):t===u.STATUS_LEAVE&&o&&(n=null==R?void 0:R(r,e)),o&&!1!==n&&J()}}})),te=(0,f.default)(ee),re=(0,i.default)(te,1)[0],ne=function(e){switch(e){case u.STATUS_APPEAR:return(0,o.default)((0,o.default)((0,o.default)({},u.STEP_PREPARE,x),u.STEP_START,P),u.STEP_ACTIVE,C);case u.STATUS_ENTER:return(0,o.default)((0,o.default)((0,o.default)({},u.STEP_PREPARE,E),u.STEP_START,T),u.STEP_ACTIVE,k);case u.STATUS_LEAVE:return(0,o.default)((0,o.default)((0,o.default)({},u.STEP_PREPARE,_),u.STEP_START,j),u.STEP_ACTIVE,A);default:return{}}},oe=c.useMemo((function(){return ne(Z)}),[Z]),ie=(0,p.default)(Z,!e,(function(e){if(e===u.STEP_PREPARE){var t=oe[u.STEP_PREPARE];return t?t(Y()):p.SkipStep}var r;le in oe&&H((null===(r=oe[le])||void 0===r?void 0:r.call(oe,Y(),null))||null);return le===u.STEP_ACTIVE&&Z!==u.STATUS_NONE&&(re(Y()),w>0&&(clearTimeout(q.current),q.current=setTimeout((function(){ee({deadline:!0})}),w))),le===u.STEP_PREPARED&&J(),p.DoStep})),ae=(0,i.default)(ie,2),se=ae[0],le=ae[1],ce=(0,p.isActive)(le);K.current=ce,(0,d.default)((function(){$(t);var r,n=X.current;X.current=!0,!n&&t&&v&&(r=u.STATUS_APPEAR),n&&t&&y&&(r=u.STATUS_ENTER),(n&&!t&&O||!n&&S&&!t&&O)&&(r=u.STATUS_LEAVE);var o=ne(r);r&&(e||o[u.STEP_PREPARE])?(V(r),se()):V(u.STATUS_NONE)}),[t]),(0,c.useEffect)((function(){(Z===u.STATUS_APPEAR&&!v||Z===u.STATUS_ENTER&&!y||Z===u.STATUS_LEAVE&&!O)&&V(u.STATUS_NONE)}),[v,y,O]),(0,c.useEffect)((function(){return function(){X.current=!1,clearTimeout(q.current)}}),[]);var ue=c.useRef(!1);(0,c.useEffect)((function(){B&&(ue.current=!0),void 0!==B&&Z===u.STATUS_NONE&&((ue.current||B)&&(null==M||M(B)),ue.current=!0)}),[B,Z]);var fe=W;return oe[u.STEP_PREPARE]&&le===u.STEP_START&&(fe=(0,n.default)({transition:"none"},fe)),[Z,le,fe,null!=B?B:t]}},10179:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DoStep:()=>d,SkipStep:()=>f,default:()=>h,isActive:()=>p});var n=r(93324),o=r(30470),i=r(36198),a=r(21279),s=r(10586),l=r(54194),c=[a.STEP_PREPARE,a.STEP_START,a.STEP_ACTIVE,a.STEP_ACTIVATED],u=[a.STEP_PREPARE,a.STEP_PREPARED],f=!1,d=!0;function p(e){return e===a.STEP_ACTIVE||e===a.STEP_ACTIVATED}const h=function(e,t,r){var d=(0,o.default)(a.STEP_NONE),p=(0,n.default)(d,2),h=p[0],m=p[1],y=(0,l.default)(),g=(0,n.default)(y,2),v=g[0],b=g[1];var O=t?u:c;return(0,s.default)((function(){if(h!==a.STEP_NONE&&h!==a.STEP_ACTIVATED){var e=O.indexOf(h),t=O[e+1],n=r(h);n===f?m(t,!0):t&&v((function(e){function r(){e.isCanceled()||m(t,!0)}!0===n?r():Promise.resolve(n).then(r)}))}}),[e,h]),i.useEffect((function(){return function(){b()}}),[]),[function(){m(a.STEP_PREPARE,!0)},h]}},93587:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CSSMotionList:()=>o.default,Provider:()=>i.default,default:()=>a});var n=r(15407),o=r(84173),i=r(40507);const a=n.default},21279:(e,t,r)=>{"use strict";r.r(t),r.d(t,{STATUS_APPEAR:()=>o,STATUS_ENTER:()=>i,STATUS_LEAVE:()=>a,STATUS_NONE:()=>n,STEP_ACTIVATED:()=>f,STEP_ACTIVE:()=>u,STEP_NONE:()=>s,STEP_PREPARE:()=>l,STEP_PREPARED:()=>d,STEP_START:()=>c});var n="none",o="appear",i="enter",a="leave",s="none",l="prepare",c="start",u="active",f="end",d="prepared"},52378:(e,t,r)=>{"use strict";r.r(t),r.d(t,{STATUS_ADD:()=>i,STATUS_KEEP:()=>a,STATUS_REMOVE:()=>s,STATUS_REMOVED:()=>l,diffKeys:()=>f,parseKeys:()=>u,wrapKeyToObject:()=>c});var n=r(1413),o=r(71002),i="add",a="keep",s="remove",l="removed";function c(e){var t;return t=e&&"object"===(0,o.default)(e)&&"key"in e?e:{key:e},(0,n.default)((0,n.default)({},t),{},{key:String(t.key)})}function u(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(c)}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[],o=0,l=t.length,c=u(e),f=u(t);c.forEach((function(e){for(var t=!1,c=o;c1})).forEach((function(e){(r=r.filter((function(t){var r=t.key,n=t.status;return r!==e||n!==s}))).forEach((function(t){t.key===e&&(t.status=a)}))})),r}},94159:(e,t,r)=>{"use strict";r.r(t),r.d(t,{animationEndName:()=>m,getTransitionName:()=>g,getVendorPrefixedEventName:()=>f,getVendorPrefixes:()=>a,supportTransition:()=>h,transitionEndName:()=>y});var n=r(71002),o=r(98924);function i(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit".concat(e)]="webkit".concat(t),r["Moz".concat(e)]="moz".concat(t),r["ms".concat(e)]="MS".concat(t),r["O".concat(e)]="o".concat(t.toLowerCase()),r}function a(e,t){var r={animationend:i("Animation","AnimationEnd"),transitionend:i("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete r.animationend.animation,"TransitionEvent"in t||delete r.transitionend.transition),r}var s=a((0,o.default)(),"undefined"!=typeof window?window:{}),l={};if((0,o.default)()){var c=document.createElement("div");l=c.style}var u={};function f(e){if(u[e])return u[e];var t=s[e];if(t)for(var r=Object.keys(t),n=r.length,o=0;o{"use strict";r.r(t),r.d(t,{default:()=>n});const n={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},25541:(e,t,r)=>{"use strict";r.r(t),r.d(t,{commonLocale:()=>n});var n={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}},18758:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(1413),o=r(25541);const i=(0,n.default)((0,n.default)({},o.commonLocale),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"})},64843:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(71002),o=r(36198),i=function(e){var t=e.bg,r=e.children;return o.createElement("div",{style:{width:"100%",height:"100%",background:t}},r)};function a(e,t){return Object.keys(e).map((function(r){var n=parseFloat(r),o="".concat(Math.floor(n*t),"%");return"".concat(e[r]," ").concat(o)}))}const s=o.forwardRef((function(e,t){var r=e.prefixCls,s=e.color,l=e.gradientId,c=e.radius,u=e.style,f=e.ptg,d=e.strokeLinecap,p=e.strokeWidth,h=e.size,m=e.gapDegree,y=s&&"object"===(0,n.default)(s),g=y?"#FFF":void 0,v=h/2,b=o.createElement("circle",{className:"".concat(r,"-circle-path"),r:c,cx:v,cy:v,stroke:g,strokeLinecap:d,strokeWidth:p,opacity:0===f?0:1,style:u,ref:t});if(!y)return b;var O="".concat(l,"-conic"),w=m?"".concat(180+m/2,"deg"):"0deg",S=a(s,(360-m)/360),x=a(s,1),E="conic-gradient(from ".concat(w,", ").concat(S.join(", "),")"),_="linear-gradient(to ".concat(m?"bottom":"top",", ").concat(x.join(", "),")");return o.createElement(o.Fragment,null,o.createElement("mask",{id:O},b),o.createElement("foreignObject",{x:0,y:0,width:h,height:h,mask:"url(#".concat(O,")")},o.createElement(i,{bg:_},o.createElement(i,{bg:E}))))}))},16859:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>y});var n=r(87462),o=r(71002),i=r(1413),a=r(45987),s=r(36198),l=r(93967),c=r.n(l),u=r(49883),f=r(68403),d=r(64843),p=r(88826),h=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function m(e){var t=null!=e?e:[];return Array.isArray(t)?t:[t]}const y=function(e){var t,r,l,y=(0,i.default)((0,i.default)({},u.defaultProps),e),g=y.id,v=y.prefixCls,b=y.steps,O=y.strokeWidth,w=y.trailWidth,S=y.gapDegree,x=void 0===S?0:S,E=y.gapPosition,_=y.trailColor,P=y.strokeLinecap,T=y.style,j=y.className,C=y.strokeColor,k=y.percent,A=(0,a.default)(y,h),D=p.VIEW_BOX_SIZE/2,L=(0,f.default)(g),R="".concat(L,"-gradient"),M=D-O/2,I=2*Math.PI*M,N=x>0?90+x/2:-90,B=I*((360-x)/360),$="object"===(0,o.default)(b)?b:{count:b,gap:2},F=$.count,z=$.gap,Q=m(k),V=m(C),U=V.find((function(e){return e&&"object"===(0,o.default)(e)})),G=U&&"object"===(0,o.default)(U)?"butt":P,W=(0,p.getCircleStyle)(I,B,0,100,N,x,E,_,G,O),H=(0,u.useTransitionDuration)();return s.createElement("svg",(0,n.default)({className:c()("".concat(v,"-circle"),j),viewBox:"0 0 ".concat(p.VIEW_BOX_SIZE," ").concat(p.VIEW_BOX_SIZE),style:T,id:g,role:"presentation"},A),!F&&s.createElement("circle",{className:"".concat(v,"-circle-trail"),r:M,cx:D,cy:D,stroke:_,strokeLinecap:G,strokeWidth:w||O,style:W}),F?(t=Math.round(F*(Q[0]/100)),r=100/F,l=0,new Array(F).fill(null).map((function(e,n){var i=n<=t-1?V[0]:_,a=i&&"object"===(0,o.default)(i)?"url(#".concat(R,")"):void 0,c=(0,p.getCircleStyle)(I,B,l,r,N,x,E,i,"butt",O,z);return l+=100*(B-c.strokeDashoffset+z)/B,s.createElement("circle",{key:n,className:"".concat(v,"-circle-path"),r:M,cx:D,cy:D,stroke:a,strokeWidth:O,opacity:1,style:c,ref:function(e){H[n]=e}})}))):function(){var e=0;return Q.map((function(t,r){var n=V[r]||V[V.length-1],o=(0,p.getCircleStyle)(I,B,e,t,N,x,E,n,G,O);return e+=t,s.createElement(d.default,{key:r,color:n,ptg:t,radius:M,prefixCls:v,gradientId:R,style:o,strokeLinecap:G,strokeWidth:O,gapDegree:x,ref:function(e){H[r]=e},size:p.VIEW_BOX_SIZE})})).reverse()}())}},88826:(e,t,r)=>{"use strict";r.r(t),r.d(t,{VIEW_BOX_SIZE:()=>n,getCircleStyle:()=>o});var n=100,o=function(e,t,r,o,i,a,s,l,c,u){var f=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,d=r/100*360*((360-a)/360),p=0===a?0:{bottom:0,top:180,left:90,right:-90}[s],h=(100-o)/100*t;"round"===c&&100!==o&&(h+=u/2)>=t&&(h=t-.01);var m=n/2;return{stroke:"string"==typeof l?l:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:h+f,transform:"rotate(".concat(i+d+p,"deg)"),transformOrigin:"".concat(m,"px ").concat(m,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}}},10790:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(87462),o=r(1413),i=r(45987),a=r(36198),s=r(93967),l=r.n(s),c=r(49883),u=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"];const f=function(e){var t=(0,o.default)((0,o.default)({},c.defaultProps),e),r=t.className,s=t.percent,f=t.prefixCls,d=t.strokeColor,p=t.strokeLinecap,h=t.strokeWidth,m=t.style,y=t.trailColor,g=t.trailWidth,v=t.transition,b=(0,i.default)(t,u);delete b.gapPosition;var O=Array.isArray(s)?s:[s],w=Array.isArray(d)?d:[d],S=(0,c.useTransitionDuration)(),x=h/2,E=100-h/2,_="M ".concat("round"===p?x:0,",").concat(x,"\n L ").concat("round"===p?E:100,",").concat(x),P="0 0 100 ".concat(h),T=0;return a.createElement("svg",(0,n.default)({className:l()("".concat(f,"-line"),r),viewBox:P,preserveAspectRatio:"none",style:m},b),a.createElement("path",{className:"".concat(f,"-line-trail"),d:_,strokeLinecap:p,stroke:y,strokeWidth:g||h,fillOpacity:"0"}),O.map((function(e,t){var r=1;switch(p){case"round":r=1-h/100;break;case"square":r=1-h/2/100;break;default:r=1}var n={strokeDasharray:"".concat(e*r,"px, 100px"),strokeDashoffset:"-".concat(T,"px"),transition:v||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},o=w[t]||w[w.length-1];return T+=e,a.createElement("path",{key:t,className:"".concat(f,"-line-path"),d:_,strokeLinecap:p,stroke:o,strokeWidth:h,fillOpacity:"0",ref:function(e){S[t]=e},style:n})})))}},49883:(e,t,r)=>{"use strict";r.r(t),r.d(t,{defaultProps:()=>o,useTransitionDuration:()=>i});var n=r(36198),o={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},i=function(){var e=(0,n.useRef)([]),t=(0,n.useRef)(null);return(0,n.useEffect)((function(){var r=Date.now(),n=!1;e.current.forEach((function(e){if(e){n=!0;var o=e.style;o.transitionDuration=".3s, .3s, .3s, .06s",t.current&&r-t.current<100&&(o.transitionDuration="0s, 0s")}})),n&&(t.current=Date.now())})),e.current}},68403:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,isBrowserClient:()=>s});var n=r(93324),o=r(36198),i=r(98924),a=0,s=(0,i.default)();const l=function(e){var t=o.useState(),r=(0,n.default)(t,2),i=r[0],l=r[1];return o.useEffect((function(){var e;l("rc_progress_".concat((s?(e=a,a+=1):e="TEST_OR_SSR",e)))}),[]),e||i}},64528:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Circle:()=>o.default,Line:()=>n.default,default:()=>i});var n=r(10790),o=r(16859);const i={Line:n.default,Circle:o.default}},59138:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Collection:()=>i,CollectionContext:()=>o});var n=r(36198),o=n.createContext(null);function i(e){var t=e.children,r=e.onBatchResize,i=n.useRef(0),a=n.useRef([]),s=n.useContext(o),l=n.useCallback((function(e,t,n){i.current+=1;var o=i.current;a.current.push({size:e,element:t,data:n}),Promise.resolve().then((function(){o===i.current&&(null==r||r(a.current),a.current=[])})),null==s||s(e,t,n)}),[r,s]);return n.createElement(o.Provider,{value:l},t)}},86388:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(15671),o=r(43144),i=r(60136),a=r(29388),s=function(e){(0,i.default)(r,e);var t=(0,a.default)(r);function r(){return(0,n.default)(this,r),t.apply(this,arguments)}return(0,o.default)(r,[{key:"render",value:function(){return this.props.children}}]),r}(r(36198).Component)},31162:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var n=r(1413),o=r(71002),i=r(34203),a=r(42550),s=r(36198),l=r(59138),c=r(42591),u=r(86388);function f(e,t){var r=e.children,f=e.disabled,d=s.useRef(null),p=s.useRef(null),h=s.useContext(l.CollectionContext),m="function"==typeof r,y=m?r(d):r,g=s.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),v=!m&&s.isValidElement(y)&&(0,a.supportRef)(y),b=v?y.ref:null,O=(0,a.useComposeRef)(b,d),w=function(){var e;return(0,i.default)(d.current)||(d.current&&"object"===(0,o.default)(d.current)?(0,i.default)(null===(e=d.current)||void 0===e?void 0:e.nativeElement):null)||(0,i.default)(p.current)};s.useImperativeHandle(t,(function(){return w()}));var S=s.useRef(e);S.current=e;var x=s.useCallback((function(e){var t=S.current,r=t.onResize,o=t.data,i=e.getBoundingClientRect(),a=i.width,s=i.height,l=e.offsetWidth,c=e.offsetHeight,u=Math.floor(a),f=Math.floor(s);if(g.current.width!==u||g.current.height!==f||g.current.offsetWidth!==l||g.current.offsetHeight!==c){var d={width:u,height:f,offsetWidth:l,offsetHeight:c};g.current=d;var p=l===Math.round(a)?a:l,m=c===Math.round(s)?s:c,y=(0,n.default)((0,n.default)({},d),{},{offsetWidth:p,offsetHeight:m});null==h||h(y,e,o),r&&Promise.resolve().then((function(){r(y,e)}))}}),[]);return s.useEffect((function(){var e=w();return e&&!f&&(0,c.observe)(e,x),function(){return(0,c.unobserve)(e,x)}}),[d.current,f]),s.createElement(u.default,{ref:p},v?s.cloneElement(y,{ref:O}):y)}const d=s.forwardRef(f)},4084:(e,t,r)=>{"use strict";r.r(t),r.d(t,{_rs:()=>l._rs,default:()=>f});var n=r(87462),o=r(36198),i=r(50344),a=(r(80334),r(31162)),s=r(59138),l=r(42591);function c(e,t){var r=e.children;return("function"==typeof r?[r]:(0,i.default)(r)).map((function(r,i){var s=(null==r?void 0:r.key)||"".concat("rc-observer-key","-").concat(i);return o.createElement(a.default,(0,n.default)({},e,{key:s,ref:0===i?t:void 0}),r)}))}var u=o.forwardRef(c);u.Collection=s.Collection;const f=u},42591:(e,t,r)=>{"use strict";r.r(t),r.d(t,{_el:()=>a,_rs:()=>s,observe:()=>l,unobserve:()=>c});var n=r(91033),o=new Map;var i=new n.default((function(e){e.forEach((function(e){var t,r=e.target;null===(t=o.get(r))||void 0===t||t.forEach((function(e){return e(r)}))}))})),a=null,s=null;function l(e,t){o.has(e)||(o.set(e,new Set),i.observe(e)),o.get(e).add(t)}function c(e,t){o.has(e)&&(o.get(e).delete(t),o.get(e).size||(i.unobserve(e),o.delete(e)))}},94782:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(87462),o=r(4942),i=r(1413),a=r(71002),s=r(93324),l=r(45987),c=r(93967),u=r.n(c),f=r(4084),d=r(8410),p=r(21770),h=r(75164),m=r(36198),y=r(72801),g=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"];const v=m.forwardRef((function(e,t){var r=e,c=r.prefixCls,v=r.defaultValue,b=r.value,O=r.autoSize,w=r.onResize,S=r.className,x=r.style,E=r.disabled,_=r.onChange,P=(r.onInternalAutoSize,(0,l.default)(r,g)),T=(0,p.default)(v,{value:b,postState:function(e){return null!=e?e:""}}),j=(0,s.default)(T,2),C=j[0],k=j[1],A=m.useRef();m.useImperativeHandle(t,(function(){return{textArea:A.current}}));var D=m.useMemo((function(){return O&&"object"===(0,a.default)(O)?[O.minRows,O.maxRows]:[]}),[O]),L=(0,s.default)(D,2),R=L[0],M=L[1],I=!!O,N=m.useState(2),B=(0,s.default)(N,2),$=B[0],F=B[1],z=m.useState(),Q=(0,s.default)(z,2),V=Q[0],U=Q[1],G=function(){F(0)};(0,d.default)((function(){I&&G()}),[b,R,M,I]),(0,d.default)((function(){if(0===$)F(1);else if(1===$){var e=(0,y.default)(A.current,!1,R,M);F(2),U(e)}else!function(){try{if(document.activeElement===A.current){var e=A.current,t=e.selectionStart,r=e.selectionEnd,n=e.scrollTop;A.current.setSelectionRange(t,r),A.current.scrollTop=n}}catch(e){}}()}),[$]);var W=m.useRef(),H=function(){h.default.cancel(W.current)};m.useEffect((function(){return H}),[]);var Z=I?V:null,X=(0,i.default)((0,i.default)({},x),Z);return 0!==$&&1!==$||(X.overflowY="hidden",X.overflowX="hidden"),m.createElement(f.default,{onResize:function(e){2===$&&(null==w||w(e),O&&(H(),W.current=(0,h.default)((function(){G()}))))},disabled:!(O||w)},m.createElement("textarea",(0,n.default)({},P,{ref:A,style:X,className:u()(c,S,(0,o.default)({},"".concat(c,"-disabled"),E)),disabled:E,value:C,onChange:function(e){k(e.target.value),null==_||_(e)}})))}))},15953:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(87462),o=r(4942),i=r(1413),a=r(89062),s=r(93324),l=r(45987),c=r(93967),u=r.n(c),f=r(10584),d=r(82234),p=r(87887),h=r(21770),m=r(36198),y=r(94782),g=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"];const v=m.forwardRef((function(e,t){var r,c=e.defaultValue,v=e.value,b=e.onFocus,O=e.onBlur,w=e.onChange,S=e.allowClear,x=e.maxLength,E=e.onCompositionStart,_=e.onCompositionEnd,P=e.suffix,T=e.prefixCls,j=void 0===T?"rc-textarea":T,C=e.showCount,k=e.count,A=e.className,D=e.style,L=e.disabled,R=e.hidden,M=e.classNames,I=e.styles,N=e.onResize,B=e.onClear,$=e.onPressEnter,F=e.readOnly,z=e.autoSize,Q=e.onKeyDown,V=(0,l.default)(e,g),U=(0,h.default)(c,{value:v,defaultValue:c}),G=(0,s.default)(U,2),W=G[0],H=G[1],Z=null==W?"":String(W),X=m.useState(!1),q=(0,s.default)(X,2),Y=q[0],K=q[1],J=m.useRef(!1),ee=m.useState(null),te=(0,s.default)(ee,2),re=te[0],ne=te[1],oe=(0,m.useRef)(null),ie=(0,m.useRef)(null),ae=function(){var e;return null===(e=ie.current)||void 0===e?void 0:e.textArea},se=function(){ae().focus()};(0,m.useImperativeHandle)(t,(function(){var e;return{resizableTextArea:ie.current,focus:se,blur:function(){ae().blur()},nativeElement:(null===(e=oe.current)||void 0===e?void 0:e.nativeElement)||ae()}})),(0,m.useEffect)((function(){K((function(e){return!L&&e}))}),[L]);var le=m.useState(null),ce=(0,s.default)(le,2),ue=ce[0],fe=ce[1];m.useEffect((function(){var e;ue&&(e=ae()).setSelectionRange.apply(e,(0,a.default)(ue))}),[ue]);var de,pe=(0,d.default)(k,C),he=null!==(r=pe.max)&&void 0!==r?r:x,me=Number(he)>0,ye=pe.strategy(Z),ge=!!he&&ye>he,ve=function(e,t){var r=t;!J.current&&pe.exceedFormatter&&pe.max&&pe.strategy(t)>pe.max&&t!==(r=pe.exceedFormatter(t,{max:pe.max}))&&fe([ae().selectionStart||0,ae().selectionEnd||0]),H(r),(0,p.resolveOnChange)(e.currentTarget,e,w,r)},be=P;pe.show&&(de=pe.showFormatter?pe.showFormatter({value:Z,count:ye,maxLength:he}):"".concat(ye).concat(me?" / ".concat(he):""),be=m.createElement(m.Fragment,null,be,m.createElement("span",{className:u()("".concat(j,"-data-count"),null==M?void 0:M.count),style:null==I?void 0:I.count},de)));var Oe=!z&&!C&&!S;return m.createElement(f.BaseInput,{ref:oe,value:Z,allowClear:S,handleReset:function(e){H(""),se(),(0,p.resolveOnChange)(ae(),e,w)},suffix:be,prefixCls:j,classNames:(0,i.default)((0,i.default)({},M),{},{affixWrapper:u()(null==M?void 0:M.affixWrapper,(0,o.default)((0,o.default)({},"".concat(j,"-show-count"),C),"".concat(j,"-textarea-allow-clear"),S))}),disabled:L,focused:Y,className:u()(A,ge&&"".concat(j,"-out-of-range")),style:(0,i.default)((0,i.default)({},D),re&&!Oe?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof de?de:void 0}},hidden:R,readOnly:F,onClear:B},m.createElement(y.default,(0,n.default)({},V,{autoSize:z,maxLength:x,onKeyDown:function(e){"Enter"===e.key&&$&&$(e),null==Q||Q(e)},onChange:function(e){ve(e,e.target.value)},onFocus:function(e){K(!0),null==b||b(e)},onBlur:function(e){K(!1),null==O||O(e)},onCompositionStart:function(e){J.current=!0,null==E||E(e)},onCompositionEnd:function(e){J.current=!1,ve(e,e.currentTarget.value),null==_||_(e)},className:u()(null==M?void 0:M.textarea),style:(0,i.default)((0,i.default)({},null==I?void 0:I.textarea),{},{resize:null==D?void 0:D.resize}),disabled:L,prefixCls:j,onResize:function(e){var t;null==N||N(e),null!==(t=ae())&&void 0!==t&&t.style.height&&ne(!0)},ref:ie,readOnly:F})))}))},72801:(e,t,r)=>{"use strict";r.r(t),r.d(t,{calculateNodeStyling:()=>s,default:()=>l});var n,o="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n",i=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],a={};function s(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&a[r])return a[r];var n=window.getComputedStyle(e),o=n.getPropertyValue("box-sizing")||n.getPropertyValue("-moz-box-sizing")||n.getPropertyValue("-webkit-box-sizing"),s=parseFloat(n.getPropertyValue("padding-bottom"))+parseFloat(n.getPropertyValue("padding-top")),l=parseFloat(n.getPropertyValue("border-bottom-width"))+parseFloat(n.getPropertyValue("border-top-width")),c={sizingStyle:i.map((function(e){return"".concat(e,":").concat(n.getPropertyValue(e))})).join(";"),paddingSize:s,borderSize:l,boxSizing:o};return t&&r&&(a[r]=c),c}function l(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;n||((n=document.createElement("textarea")).setAttribute("tab-index","-1"),n.setAttribute("aria-hidden","true"),n.setAttribute("name","hiddenTextarea"),document.body.appendChild(n)),e.getAttribute("wrap")?n.setAttribute("wrap",e.getAttribute("wrap")):n.removeAttribute("wrap");var a=s(e,t),l=a.paddingSize,c=a.borderSize,u=a.boxSizing,f=a.sizingStyle;n.setAttribute("style","".concat(f,";").concat(o)),n.value=e.value||e.placeholder||"";var d,p=void 0,h=void 0,m=n.scrollHeight;if("border-box"===u?m+=c:"content-box"===u&&(m-=l),null!==r||null!==i){n.value=" ";var y=n.scrollHeight-l;null!==r&&(p=y*r,"border-box"===u&&(p=p+l+c),m=Math.max(p,m)),null!==i&&(h=y*i,"border-box"===u&&(h=h+l+c),d=m>h?"":"hidden",m=Math.min(h,m))}var g={height:m,overflowY:d,resize:"none"};return p&&(g.minHeight=p),h&&(g.maxHeight=h),g}},11682:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ResizableTextArea:()=>o.default,default:()=>i});var n=r(15953),o=r(94782);const i=n.default},72810:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(93967),o=r.n(n),i=r(36198);function a(e){var t=e.children,r=e.prefixCls,n=e.id,a=e.overlayInnerStyle,s=e.className,l=e.style;return i.createElement("div",{className:o()("".concat(r,"-content"),s),style:l},i.createElement("div",{className:"".concat(r,"-inner"),id:n,role:"tooltip",style:a},"function"==typeof t?t():t))}},54981:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var n=r(87462),o=r(1413),i=r(45987),a=r(73439),s=r(36198),l=r(43159),c=r(72810),u=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],f=function(e,t){var r=e.overlayClassName,f=e.trigger,d=void 0===f?["hover"]:f,p=e.mouseEnterDelay,h=void 0===p?0:p,m=e.mouseLeaveDelay,y=void 0===m?.1:m,g=e.overlayStyle,v=e.prefixCls,b=void 0===v?"rc-tooltip":v,O=e.children,w=e.onVisibleChange,S=e.afterVisibleChange,x=e.transitionName,E=e.animation,_=e.motion,P=e.placement,T=void 0===P?"right":P,j=e.align,C=void 0===j?{}:j,k=e.destroyTooltipOnHide,A=void 0!==k&&k,D=e.defaultVisible,L=e.getTooltipContainer,R=e.overlayInnerStyle,M=(e.arrowContent,e.overlay),I=e.id,N=e.showArrow,B=void 0===N||N,$=(0,i.default)(e,u),F=(0,s.useRef)(null);(0,s.useImperativeHandle)(t,(function(){return F.current}));var z=(0,o.default)({},$);"visible"in e&&(z.popupVisible=e.visible);return s.createElement(a.default,(0,n.default)({popupClassName:r,prefixCls:b,popup:function(){return s.createElement(c.default,{key:"content",prefixCls:b,id:I,overlayInnerStyle:R},M)},action:d,builtinPlacements:l.placements,popupPlacement:T,ref:F,popupAlign:C,getPopupContainer:L,onPopupVisibleChange:w,afterPopupVisibleChange:S,popupTransitionName:x,popupAnimation:E,popupMotion:_,defaultPopupVisible:D,autoDestroy:A,mouseLeaveDelay:y,popupStyle:g,mouseEnterDelay:h,arrow:B},z),O)};const d=(0,s.forwardRef)(f)},69353:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Popup:()=>n.default,default:()=>o});var n=r(72810);const o=r(54981).default},43159:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s,placements:()=>a});var n={shiftX:64,adjustY:1},o={adjustX:1,shiftY:!0},i=[0,0],a={left:{points:["cr","cl"],overflow:o,offset:[-4,0],targetOffset:i},right:{points:["cl","cr"],overflow:o,offset:[4,0],targetOffset:i},top:{points:["bc","tc"],overflow:n,offset:[0,-4],targetOffset:i},bottom:{points:["tc","bc"],overflow:n,offset:[0,4],targetOffset:i},topLeft:{points:["bl","tl"],overflow:n,offset:[0,-4],targetOffset:i},leftTop:{points:["tr","tl"],overflow:o,offset:[-4,0],targetOffset:i},topRight:{points:["br","tr"],overflow:n,offset:[0,-4],targetOffset:i},rightTop:{points:["tl","tr"],overflow:o,offset:[4,0],targetOffset:i},bottomRight:{points:["tr","br"],overflow:n,offset:[0,4],targetOffset:i},rightBottom:{points:["bl","br"],overflow:o,offset:[4,0],targetOffset:i},bottomLeft:{points:["tl","bl"],overflow:n,offset:[0,4],targetOffset:i},leftBottom:{points:["br","bl"],overflow:o,offset:[-4,0],targetOffset:i}};const s=a},50344:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(36198),o=r(11805);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[];return n.Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?r=r.concat(i(e)):(0,o.isFragment)(e)&&e.props?r=r.concat(i(e.props.children,t)):r.push(e))})),r}},98924:(e,t,r)=>{"use strict";function n(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}r.r(t),r.d(t,{default:()=>n})},94999:(e,t,r)=>{"use strict";function n(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}r.r(t),r.d(t,{default:()=>n})},44958:(e,t,r)=>{"use strict";r.r(t),r.d(t,{clearContainerCache:()=>y,injectCSS:()=>p,removeCSS:()=>m,updateCSS:()=>g});var n=r(1413),o=r(98924),i=r(94999),a="data-rc-order",s="data-rc-priority",l="rc-util-key",c=new Map;function u(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):l}function f(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function d(e){return Array.from((c.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.default)())return null;var r=t.csp,n=t.prepend,i=t.priority,l=void 0===i?0:i,c=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(n),u="prependQueue"===c,p=document.createElement("style");p.setAttribute(a,c),u&&l&&p.setAttribute(s,"".concat(l)),null!=r&&r.nonce&&(p.nonce=null==r?void 0:r.nonce),p.innerHTML=e;var h=f(t),m=h.firstChild;if(n){if(u){var y=(t.styles||d(h)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(a)))return!1;var t=Number(e.getAttribute(s)||0);return l>=t}));if(y.length)return h.insertBefore(p,y[y.length-1].nextSibling),p}h.insertBefore(p,m)}else h.appendChild(p);return p}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=f(t);return(t.styles||d(r)).find((function(r){return r.getAttribute(u(t))===e}))}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=h(e,t);r&&f(t).removeChild(r)}function y(){c.clear()}function g(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=f(r),a=d(o),s=(0,n.default)((0,n.default)({},r),{},{styles:a});!function(e,t){var r=c.get(e);if(!r||!(0,i.default)(document,r)){var n=p("",t),o=n.parentNode;c.set(e,o),e.removeChild(n)}}(o,s);var l=h(t,s);if(l){var m,y,g;if(null!==(m=s.csp)&&void 0!==m&&m.nonce&&l.nonce!==(null===(y=s.csp)||void 0===y?void 0:y.nonce))l.nonce=null===(g=s.csp)||void 0===g?void 0:g.nonce;return l.innerHTML!==e&&(l.innerHTML=e),l}var v=p(e,s);return v.setAttribute(u(s),t),v}},34203:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,getDOM:()=>s,isDOM:()=>a});var n=r(71002),o=r(36198),i=r(18348);function a(e){return e instanceof HTMLElement||e instanceof SVGElement}function s(e){return e&&"object"===(0,n.default)(e)&&a(e.nativeElement)?e.nativeElement:a(e)?e:null}function l(e){var t,r=s(e);return r||(e instanceof o.Component?null===(t=i.findDOMNode)||void 0===t?void 0:t.call(i,e):null)}},5110:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),r=t.width,n=t.height;if(r||n)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1}},27571:(e,t,r)=>{"use strict";function n(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function o(e){return n(e)instanceof ShadowRoot}function i(e){return o(e)?n(e):null}r.r(t),r.d(t,{getShadowRoot:()=>i,inShadow:()=>o})},15105:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=n.F1&&t<=n.F12)return!1;switch(t){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE)return!0;if(e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY)return!0;if(e>=n.A&&e<=n.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const o=n},38135:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{_r:()=>y,_u:()=>w,render:()=>g,unmount:()=>S});var o,i=r(74165),a=r(15861),s=r(71002),l=r(1413),c=r(18348),u=(0,l.default)({},n||(n=r.t(c,2))),f=u.version,d=u.render,p=u.unmountComponentAtNode;try{Number((f||"").split(".")[0])>=18&&(o=u.createRoot)}catch(e){}function h(e){var t=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,s.default)(t)&&(t.usingClientEntryPoint=e)}var m="__rc_react_root__";function y(e,t){0}function g(e,t){o?function(e,t){h(!0);var r=t[m]||o(t);h(!1),r.render(e),t[m]=r}(e,t):function(e,t){d(e,t)}(e,t)}function v(e){return b.apply(this,arguments)}function b(){return(b=(0,a.default)((0,i.default)().mark((function e(t){return(0,i.default)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[m])||void 0===e||e.unmount(),delete t[m]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e){p(e)}function w(e){0}function S(e){return x.apply(this,arguments)}function x(){return(x=(0,a.default)((0,i.default)().mark((function e(t){return(0,i.default)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===o){e.next=2;break}return e.abrupt("return",v(t));case 2:O(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},74204:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a,getTargetScrollBarSize:()=>s});var n,o=r(44958);function i(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),r=document.createElement("div");r.id=t;var n,i,a=r.style;if(a.position="absolute",a.left="0",a.top="0",a.width="100px",a.height="100px",a.overflow="scroll",e){var s=getComputedStyle(e);a.scrollbarColor=s.scrollbarColor,a.scrollbarWidth=s.scrollbarWidth;var l=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(l.width,10),u=parseInt(l.height,10);try{var f=c?"width: ".concat(l.width,";"):"",d=u?"height: ".concat(l.height,";"):"";(0,o.updateCSS)("\n#".concat(t,"::-webkit-scrollbar {\n").concat(f,"\n").concat(d,"\n}"),t)}catch(e){console.error(e),n=c,i=u}}document.body.appendChild(r);var p=e&&n&&!isNaN(n)?n:r.offsetWidth-r.clientWidth,h=e&&i&&!isNaN(i)?i:r.offsetHeight-r.clientHeight;return document.body.removeChild(r),(0,o.removeCSS)(t),{width:p,height:h}}function a(e){return"undefined"==typeof document?0:((e||void 0===n)&&(n=i()),n.width)}function s(e){return"undefined"!=typeof document&&e&&e instanceof Element?i(e):{width:0,height:0}}},66680:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(36198);function o(e){var t=n.useRef();t.current=e;var r=n.useCallback((function(){for(var e,r=arguments.length,n=new Array(r),o=0;o{"use strict";var n;r.r(t),r.d(t,{default:()=>u,resetUuid:()=>l});var o=r(93324),i=r(1413),a=r(36198);var s=0;function l(){0}var c=(0,i.default)({},n||(n=r.t(a,2))).useId;const u=c?function(e){var t=c();return e||t}:function(e){var t=a.useState("ssr-id"),r=(0,o.default)(t,2),n=r[0],i=r[1];return a.useEffect((function(){var e=s;s+=1,i("rc_unique_".concat(e))}),[]),e||n}},8410:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s,useLayoutUpdateEffect:()=>a});var n=r(36198),o=(0,r(98924).default)()?n.useLayoutEffect:n.useEffect,i=function(e,t){var r=n.useRef(!0);o((function(){return e(r.current)}),t),o((function(){return r.current=!1,function(){r.current=!0}}),[])},a=function(e,t){i((function(t){if(!t)return e()}),t)};const s=i},56982:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(36198);function o(e,t,r){var o=n.useRef({});return"value"in o.current&&!r(o.current.condition,t)||(o.current.value=e(),o.current.condition=t),o.current.value}},21770:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(93324),o=r(66680),i=r(8410),a=r(30470);function s(e){return void 0!==e}function l(e,t){var r=t||{},l=r.defaultValue,c=r.value,u=r.onChange,f=r.postState,d=(0,a.default)((function(){return s(c)?c:s(l)?"function"==typeof l?l():l:"function"==typeof e?e():e})),p=(0,n.default)(d,2),h=p[0],m=p[1],y=void 0!==c?c:h,g=f?f(y):y,v=(0,o.default)(u),b=(0,a.default)([y]),O=(0,n.default)(b,2),w=O[0],S=O[1];return(0,i.useLayoutUpdateEffect)((function(){var e=w[0];h!==e&&v(h,e)}),[w]),(0,i.useLayoutUpdateEffect)((function(){s(c)||m(c)}),[c]),[g,(0,o.default)((function(e,t){m(e,t),S([y],t)}))]}},30470:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(93324),o=r(36198);function i(e){var t=o.useRef(!1),r=o.useState(e),i=(0,n.default)(r,2),a=i[0],s=i[1];return o.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[a,function(e,r){r&&t.current||s(e)}]}},61848:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(93324),o=r(36198),i=r(66680);function a(e){var t=o.useReducer((function(e){return e+1}),0),r=(0,n.default)(t,2)[1],a=o.useRef(e);return[(0,i.default)((function(){return a.current})),(0,i.default)((function(e){a.current="function"==typeof e?e(a.current):e,r()}))]}},56790:(e,t,r)=>{"use strict";r.r(t),r.d(t,{get:()=>a.default,set:()=>s.default,supportNodeRef:()=>i.supportNodeRef,supportRef:()=>i.supportRef,useComposeRef:()=>i.useComposeRef,useEvent:()=>n.default,useMergedState:()=>o.default,warning:()=>l.default});var n=r(66680),o=r(21770),i=r(42550),a=r(88306),s=r(8880),l=r(80334)},91881:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(71002),o=r(80334);const i=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,a){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,l=i.has(t);if((0,o.default)(!l,"Warning: There may be circular references"),l)return!1;if(t===a)return!0;if(r&&s>1)return!1;i.add(t);var c=s+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var u=0;u{"use strict";r.r(t),r.d(t,{default:()=>n});const n=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))}},98423:(e,t,r)=>{"use strict";function n(e,t){var r=Object.assign({},e);return Array.isArray(t)&&t.forEach((function(e){delete r[e]})),r}r.r(t),r.d(t,{default:()=>n})},64217:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(1413),o="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),i="aria-",a="data-";function s(e,t){return 0===e.indexOf(t)}function l(e){var t,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===r?{aria:!0,data:!0,attr:!0}:!0===r?{aria:!0}:(0,n.default)({},r);var l={};return Object.keys(e).forEach((function(r){(t.aria&&("role"===r||s(r,i))||t.data&&s(r,a)||t.attr&&o.includes(r))&&(l[r]=e[r])})),l}},75164:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=function(e){return+setTimeout(e,16)},o=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(n=function(e){return window.requestAnimationFrame(e)},o=function(e){return window.cancelAnimationFrame(e)});var i=0,a=new Map;function s(e){a.delete(e)}var l=function(e){var t=i+=1;return function r(o){if(0===o)s(t),e();else{var i=n((function(){r(o-1)}));a.set(t,i)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t};l.cancel=function(e){var t=a.get(e);return s(e),o(t)};const c=l},42550:(e,t,r)=>{"use strict";r.r(t),r.d(t,{composeRef:()=>l,fillRef:()=>s,getNodeRef:()=>p,supportNodeRef:()=>d,supportRef:()=>u,useComposeRef:()=>c});var n=r(71002),o=r(36198),i=r(11805),a=r(56982),s=function(e,t){"function"==typeof e?e(t):"object"===(0,n.default)(e)&&e&&"current"in e&&(e.current=t)},l=function(){for(var e=arguments.length,t=new Array(e),r=0;r=19?function(e){return f(e)?e.props.ref:null}:function(e){return f(e)?e.ref:null}},88306:(e,t,r)=>{"use strict";function n(e,t){for(var r=e,n=0;nn})},8880:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c,merge:()=>d});var n=r(71002),o=r(1413),i=r(89062),a=r(84506),s=r(88306);function l(e,t,r,n){if(!t.length)return r;var s,c=(0,a.default)(t),u=c[0],f=c.slice(1);return s=e||"number"!=typeof u?Array.isArray(e)?(0,i.default)(e):(0,o.default)({},e):[],n&&void 0===r&&1===f.length?delete s[u][f[0]]:s[u]=l(s[u],f,r,n),s}function c(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&n&&void 0===r&&!(0,s.default)(e,t.slice(0,-1))?e:l(e,t,r,n)}function u(e){return Array.isArray(e)?[]:{}}var f="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function d(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";r.r(t),r.d(t,{call:()=>c,default:()=>d,note:()=>s,noteOnce:()=>f,preMessage:()=>i,resetWarned:()=>l,warning:()=>a,warningOnce:()=>u});var n={},o=[],i=function(e){o.push(e)};function a(e,t){}function s(e,t){}function l(){n={}}function c(e,t,r){t||n[r]||(e(!1,r),n[r]=!0)}function u(e,t){c(a,e,t)}function f(e,t){c(s,e,t)}u.preMessage=i,u.resetWarned=l,u.noteOnce=f;const d=u},51162:(e,t)=>{"use strict";var r,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case s:case a:case d:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case f:case m:case h:case l:return e;default:return t}}case o:return t}}}r=Symbol.for("react.module.reference"),t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=m,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=d,t.SuspenseList=p,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return g(e)===c},t.isContextProvider=function(e){return g(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return g(e)===f},t.isFragment=function(e){return g(e)===i},t.isLazy=function(e){return g(e)===m},t.isMemo=function(e){return g(e)===h},t.isPortal=function(e){return g(e)===o},t.isProfiler=function(e){return g(e)===s},t.isStrictMode=function(e){return g(e)===a},t.isSuspense=function(e){return g(e)===d},t.isSuspenseList=function(e){return g(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===s||e===a||e===d||e===p||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===r||void 0!==e.getModuleId)},t.typeOf=g},11805:(e,t,r)=>{"use strict";e.exports=r(51162)},20745:(e,t,r)=>{"use strict";var n=r(18348);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},79655:(e,t,r)=>{"use strict";var n,o;r.r(t),r.d(t,{AbortedDeferredError:()=>s.AbortedDeferredError,Await:()=>s.Await,BrowserRouter:()=>I,Form:()=>V,HashRouter:()=>N,Link:()=>z,MemoryRouter:()=>s.MemoryRouter,NavLink:()=>Q,Navigate:()=>s.Navigate,NavigationType:()=>s.NavigationType,Outlet:()=>s.Outlet,Route:()=>s.Route,Router:()=>s.Router,RouterProvider:()=>L,Routes:()=>s.Routes,ScrollRestoration:()=>U,UNSAFE_DataRouterContext:()=>s.UNSAFE_DataRouterContext,UNSAFE_DataRouterStateContext:()=>s.UNSAFE_DataRouterStateContext,UNSAFE_ErrorResponseImpl:()=>l.UNSAFE_ErrorResponseImpl,UNSAFE_FetchersContext:()=>T,UNSAFE_LocationContext:()=>s.UNSAFE_LocationContext,UNSAFE_NavigationContext:()=>s.UNSAFE_NavigationContext,UNSAFE_RouteContext:()=>s.UNSAFE_RouteContext,UNSAFE_ViewTransitionContext:()=>P,UNSAFE_useRouteId:()=>s.UNSAFE_useRouteId,UNSAFE_useScrollRestoration:()=>ie,createBrowserRouter:()=>S,createHashRouter:()=>x,createMemoryRouter:()=>s.createMemoryRouter,createPath:()=>s.createPath,createRoutesFromChildren:()=>s.createRoutesFromChildren,createRoutesFromElements:()=>s.createRoutesFromElements,createSearchParams:()=>h,defer:()=>s.defer,generatePath:()=>s.generatePath,isRouteErrorResponse:()=>s.isRouteErrorResponse,json:()=>s.json,matchPath:()=>s.matchPath,matchRoutes:()=>s.matchRoutes,parsePath:()=>s.parsePath,redirect:()=>s.redirect,redirectDocument:()=>s.redirectDocument,renderMatches:()=>s.renderMatches,replace:()=>s.replace,resolvePath:()=>s.resolvePath,unstable_HistoryRouter:()=>B,unstable_usePrompt:()=>se,useActionData:()=>s.useActionData,useAsyncError:()=>s.useAsyncError,useAsyncValue:()=>s.useAsyncValue,useBeforeUnload:()=>ae,useBlocker:()=>s.useBlocker,useFetcher:()=>te,useFetchers:()=>re,useFormAction:()=>ee,useHref:()=>s.useHref,useInRouterContext:()=>s.useInRouterContext,useLinkClickHandler:()=>X,useLoaderData:()=>s.useLoaderData,useLocation:()=>s.useLocation,useMatch:()=>s.useMatch,useMatches:()=>s.useMatches,useNavigate:()=>s.useNavigate,useNavigation:()=>s.useNavigation,useNavigationType:()=>s.useNavigationType,useOutlet:()=>s.useOutlet,useOutletContext:()=>s.useOutletContext,useParams:()=>s.useParams,useResolvedPath:()=>s.useResolvedPath,useRevalidator:()=>s.useRevalidator,useRouteError:()=>s.useRouteError,useRouteLoaderData:()=>s.useRouteLoaderData,useRoutes:()=>s.useRoutes,useSearchParams:()=>q,useSubmit:()=>J,useViewTransitionState:()=>le});var i=r(36198),a=r(18348),s=r(89250),l=r(12599);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}const f="get",d="application/x-www-form-urlencoded";function p(e){return null!=e&&"string"==typeof e.tagName}function h(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 m=null;const y=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function g(e){return null==e||y.has(e)?e:null}function v(e,t){let r,n,o,i,a;if(p(s=e)&&"form"===s.tagName.toLowerCase()){let a=e.getAttribute("action");n=a?(0,l.stripBasename)(a,t):null,r=e.getAttribute("method")||f,o=g(e.getAttribute("enctype"))||d,i=new FormData(e)}else if(function(e){return p(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return p(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let a=e.form;if(null==a)throw new Error('Cannot submit a