@next-bricks/ai 1.32.2 → 1.32.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/bricks.json +1 -1
  2. package/dist/chunks/1438.f3e1e69a.js +2 -0
  3. package/dist/chunks/1438.f3e1e69a.js.map +1 -0
  4. package/dist/chunks/{1889.a7cfaf0b.js → 1889.a3b52d41.js} +2 -2
  5. package/dist/chunks/1889.a3b52d41.js.map +1 -0
  6. package/dist/chunks/{3171.9780b511.js → 3171.fa39f26c.js} +2 -2
  7. package/dist/chunks/{3171.9780b511.js.map → 3171.fa39f26c.js.map} +1 -1
  8. package/dist/chunks/{3497.57a8e795.js → 3497.8f2d8b66.js} +2 -2
  9. package/dist/chunks/{3497.57a8e795.js.map → 3497.8f2d8b66.js.map} +1 -1
  10. package/dist/chunks/{3933.bf703260.js → 3933.58423eff.js} +2 -2
  11. package/dist/chunks/{3933.bf703260.js.map → 3933.58423eff.js.map} +1 -1
  12. package/dist/chunks/{4145.6c95cfd5.js → 4145.b53ae59e.js} +2 -2
  13. package/dist/chunks/{4145.6c95cfd5.js.map → 4145.b53ae59e.js.map} +1 -1
  14. package/dist/chunks/4306.a80e205b.js +2 -0
  15. package/dist/chunks/4306.a80e205b.js.map +1 -0
  16. package/dist/chunks/4837.c069262c.js +2 -0
  17. package/dist/chunks/{7218.af508ffb.js.map → 4837.c069262c.js.map} +1 -1
  18. package/dist/chunks/{5552.85cb8ee0.js → 5552.6bba3dd8.js} +2 -2
  19. package/dist/chunks/{5552.85cb8ee0.js.map → 5552.6bba3dd8.js.map} +1 -1
  20. package/dist/chunks/{6314.4381228e.js → 6314.792b2f0d.js} +2 -2
  21. package/dist/chunks/{6314.4381228e.js.map → 6314.792b2f0d.js.map} +1 -1
  22. package/dist/chunks/6773.05ed2cfb.js +2 -0
  23. package/dist/chunks/6773.05ed2cfb.js.map +1 -0
  24. package/dist/chunks/7218.86cdaba1.js +2 -0
  25. package/dist/chunks/{4837.036eb2e0.js.map → 7218.86cdaba1.js.map} +1 -1
  26. package/dist/chunks/{7721.2b527d9d.js → 7721.b476f12f.js} +3 -3
  27. package/dist/chunks/{7721.2b527d9d.js.map → 7721.b476f12f.js.map} +1 -1
  28. package/dist/chunks/8977.d7d42a2a.js +3 -0
  29. package/dist/chunks/8977.d7d42a2a.js.map +1 -0
  30. package/dist/chunks/9140.b90d6b83.js +3 -0
  31. package/dist/chunks/9140.b90d6b83.js.map +1 -0
  32. package/dist/chunks/{9844.112ed919.js → 9844.1a35968b.js} +2 -2
  33. package/dist/chunks/{9844.112ed919.js.map → 9844.1a35968b.js.map} +1 -1
  34. package/dist/chunks/{chat-agent.716d0bbb.js → chat-agent.b076b313.js} +2 -2
  35. package/dist/chunks/{chat-agent.716d0bbb.js.map → chat-agent.b076b313.js.map} +1 -1
  36. package/dist/chunks/{main.0ffaf07c.js → main.46bc3a08.js} +2 -2
  37. package/dist/chunks/{main.0ffaf07c.js.map → main.46bc3a08.js.map} +1 -1
  38. package/dist/{index.7a3b1862.js → index.5127305b.js} +2 -2
  39. package/dist/{index.7a3b1862.js.map → index.5127305b.js.map} +1 -1
  40. package/package.json +2 -2
  41. package/dist/chunks/1438.c8b23e36.js +0 -2
  42. package/dist/chunks/1438.c8b23e36.js.map +0 -1
  43. package/dist/chunks/1599.d486042b.js +0 -3
  44. package/dist/chunks/1599.d486042b.js.map +0 -1
  45. package/dist/chunks/1889.a7cfaf0b.js.map +0 -1
  46. package/dist/chunks/4185.f5e1f846.js +0 -3
  47. package/dist/chunks/4185.f5e1f846.js.map +0 -1
  48. package/dist/chunks/4306.c8f60bac.js +0 -2
  49. package/dist/chunks/4306.c8f60bac.js.map +0 -1
  50. package/dist/chunks/4837.036eb2e0.js +0 -2
  51. package/dist/chunks/6773.a801c466.js +0 -2
  52. package/dist/chunks/6773.a801c466.js.map +0 -1
  53. package/dist/chunks/7218.af508ffb.js +0 -2
  54. /package/dist/chunks/{7721.2b527d9d.js.LICENSE.txt → 7721.b476f12f.js.LICENSE.txt} +0 -0
  55. /package/dist/chunks/{1599.d486042b.js.LICENSE.txt → 8977.d7d42a2a.js.LICENSE.txt} +0 -0
  56. /package/dist/chunks/{4185.f5e1f846.js.LICENSE.txt → 9140.b90d6b83.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"chunks/1889.a7cfaf0b.js","mappings":"2RAWIA,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IACxBF,EAAQG,OAAS,SAAc,KAAM,QACrCH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKnB,QAAe,KAAW,IAAQM,OAAS,IAAQA,YAASC,C,kECrB/DC,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,s/kBAEo2K,KAE74K,S,kECNIH,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,op9BA2C8/C,KAEviD,S,kEC/CIH,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,sjBAAujB,KAEhmB,S,kECJIH,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,q+6BAuBmxG,KAE5zG,S,kEC3BIH,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,mhFAIsnB,KAE/pB,S,kECRIH,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,wGAAyG,KAElJ,S,kECJIH,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,isUAEqoF,KAE9qF,S,qFCLIH,EAA0B,IAA4B,KAC1DA,EAAwBI,EAAE,KAE1BJ,EAAwBC,KAAK,CAACC,EAAOC,GAAI,GAAI,KAE7C,S,iJCCIH,EAA0B,IAA4B,KAC1DA,EAAwBI,EAAE,KAC1BJ,EAAwBI,EAAE,KAC1BJ,EAAwBI,EAAE,KAC1BJ,EAAwBI,EAAE,KAC1BJ,EAAwBI,EAAE,KAC1BJ,EAAwBI,EAAE,KAC1BJ,EAAwBI,EAAE,KAE1BJ,EAAwBC,KAAK,CAACC,EAAOC,GAAI,GAAI,KAE7C,S","sources":["webpack:///../../node_modules/@next-core/theme/src/index.css?58a6","webpack:///../../node_modules/@next-core/theme/src/generated.css","webpack:///../../node_modules/@next-core/theme/src/dark.css","webpack:///../../node_modules/@next-core/theme/src/editor-bricks-variables.css","webpack:///../../node_modules/@next-core/theme/src/default.css","webpack:///../../node_modules/@next-core/theme/src/version/ui-v8-2.css","webpack:///../../node_modules/@next-core/theme/src/business-variables.css","webpack:///../../node_modules/@next-core/theme/src/variables.css","webpack:///../../node_modules/@next-core/theme/src/version/index.css","webpack:///../../node_modules/@next-core/theme/src/index.css"],"sourcesContent":["\n import API from \"!../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../../postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./index.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../../postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./index.css\";\n export default content && content.locals ? content.locals : undefined;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:root,\n[data-override-theme=\"light\"]{--palette-red-1-channel:255,245,240;--palette-red-1:rgb(var(--palette-red-1-channel));--palette-red-2-channel:255,218,201;--palette-red-2:rgb(var(--palette-red-2-channel));--palette-red-3-channel:255,187,161;--palette-red-3:rgb(var(--palette-red-3-channel));--palette-red-4-channel:255,154,120;--palette-red-4:rgb(var(--palette-red-4-channel));--palette-red-5-channel:255,117,79;--palette-red-5:rgb(var(--palette-red-5-channel));--palette-red-6-channel:242,76,37;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-7-channel:204,48,20;--palette-red-7:rgb(var(--palette-red-7-channel));--palette-red-8-channel:166,27,8;--palette-red-8:rgb(var(--palette-red-8-channel));--palette-red-9-channel:128,11,0;--palette-red-9:rgb(var(--palette-red-9-channel));--palette-red-10-channel:89,4,0;--palette-red-10:rgb(var(--palette-red-10-channel));--palette-green-1-channel:230,255,231;--palette-green-1:rgb(var(--palette-green-1-channel));--palette-green-2-channel:165,242,172;--palette-green-2:rgb(var(--palette-green-2-channel));--palette-green-3-channel:119,230,134;--palette-green-3:rgb(var(--palette-green-3-channel));--palette-green-4-channel:78,217,101;--palette-green-4:rgb(var(--palette-green-4-channel));--palette-green-5-channel:41,204,73;--palette-green-5:rgb(var(--palette-green-5-channel));--palette-green-6-channel:8,191,51;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-7-channel:0,153,41;--palette-green-7:rgb(var(--palette-green-7-channel));--palette-green-8-channel:0,115,34;--palette-green-8:rgb(var(--palette-green-8-channel));--palette-green-9-channel:0,77,26;--palette-green-9:rgb(var(--palette-green-9-channel));--palette-green-10-channel:0,38,14;--palette-green-10:rgb(var(--palette-green-10-channel));--palette-blue-1-channel:230,244,255;--palette-blue-1:rgb(var(--palette-blue-1-channel));--palette-blue-2-channel:189,225,255;--palette-blue-2:rgb(var(--palette-blue-2-channel));--palette-blue-3-channel:148,203,255;--palette-blue-3:rgb(var(--palette-blue-3-channel));--palette-blue-4-channel:107,179,255;--palette-blue-4:rgb(var(--palette-blue-4-channel));--palette-blue-5-channel:66,151,255;--palette-blue-5:rgb(var(--palette-blue-5-channel));--palette-blue-6-channel:26,122,255;--palette-blue-6:rgb(var(--palette-blue-6-channel));--palette-blue-7-channel:11,90,217;--palette-blue-7:rgb(var(--palette-blue-7-channel));--palette-blue-8-channel:0,62,179;--palette-blue-8:rgb(var(--palette-blue-8-channel));--palette-blue-9-channel:0,44,140;--palette-blue-9:rgb(var(--palette-blue-9-channel));--palette-blue-10-channel:0,29,102;--palette-blue-10:rgb(var(--palette-blue-10-channel));--palette-amber-1-channel:255,253,230;--palette-amber-1:rgb(var(--palette-amber-1-channel));--palette-amber-2-channel:255,246,166;--palette-amber-2:rgb(var(--palette-amber-2-channel));--palette-amber-3-channel:255,238,125;--palette-amber-3:rgb(var(--palette-amber-3-channel));--palette-amber-4-channel:255,227,84;--palette-amber-4:rgb(var(--palette-amber-4-channel));--palette-amber-5-channel:255,213,43;--palette-amber-5:rgb(var(--palette-amber-5-channel));--palette-amber-6-channel:247,191,2;--palette-amber-6:rgb(var(--palette-amber-6-channel));--palette-amber-7-channel:209,153,0;--palette-amber-7:rgb(var(--palette-amber-7-channel));--palette-amber-8-channel:171,120,0;--palette-amber-8:rgb(var(--palette-amber-8-channel));--palette-amber-9-channel:133,88,0;--palette-amber-9:rgb(var(--palette-amber-9-channel));--palette-amber-10-channel:94,60,0;--palette-amber-10:rgb(var(--palette-amber-10-channel));--palette-cyan-1-channel:240,255,255;--palette-cyan-1:rgb(var(--palette-cyan-1-channel));--palette-cyan-2-channel:199,254,255;--palette-cyan-2:rgb(var(--palette-cyan-2-channel));--palette-cyan-3-channel:158,250,255;--palette-cyan-3:rgb(var(--palette-cyan-3-channel));--palette-cyan-4-channel:117,244,255;--palette-cyan-4:rgb(var(--palette-cyan-4-channel));--palette-cyan-5-channel:77,234,255;--palette-cyan-5:rgb(var(--palette-cyan-5-channel));--palette-cyan-6-channel:33,212,243;--palette-cyan-6:rgb(var(--palette-cyan-6-channel));--palette-cyan-7-channel:18,170,204;--palette-cyan-7:rgb(var(--palette-cyan-7-channel));--palette-cyan-8-channel:7,131,166;--palette-cyan-8:rgb(var(--palette-cyan-8-channel));--palette-cyan-9-channel:0,96,128;--palette-cyan-9:rgb(var(--palette-cyan-9-channel));--palette-cyan-10-channel:0,64,89;--palette-cyan-10:rgb(var(--palette-cyan-10-channel));--palette-orange-1-channel:255,248,230;--palette-orange-1:rgb(var(--palette-orange-1-channel));--palette-orange-2-channel:255,230,171;--palette-orange-2:rgb(var(--palette-orange-2-channel));--palette-orange-3-channel:255,213,130;--palette-orange-3:rgb(var(--palette-orange-3-channel));--palette-orange-4-channel:252,192,88;--palette-orange-4:rgb(var(--palette-orange-4-channel));--palette-orange-5-channel:240,162,46;--palette-orange-5:rgb(var(--palette-orange-5-channel));--palette-orange-6-channel:227,131,6;--palette-orange-6:rgb(var(--palette-orange-6-channel));--palette-orange-7-channel:189,101,0;--palette-orange-7:rgb(var(--palette-orange-7-channel));--palette-orange-8-channel:150,75,0;--palette-orange-8:rgb(var(--palette-orange-8-channel));--palette-orange-9-channel:112,52,0;--palette-orange-9:rgb(var(--palette-orange-9-channel));--palette-orange-10-channel:74,32,0;--palette-orange-10:rgb(var(--palette-orange-10-channel));--palette-yellow-1-channel:254,255,230;--palette-yellow-1:rgb(var(--palette-yellow-1-channel));--palette-yellow-2-channel:255,255,184;--palette-yellow-2:rgb(var(--palette-yellow-2-channel));--palette-yellow-3-channel:255,251,143;--palette-yellow-3:rgb(var(--palette-yellow-3-channel));--palette-yellow-4-channel:255,245,102;--palette-yellow-4:rgb(var(--palette-yellow-4-channel));--palette-yellow-5-channel:255,236,61;--palette-yellow-5:rgb(var(--palette-yellow-5-channel));--palette-yellow-6-channel:250,219,20;--palette-yellow-6:rgb(var(--palette-yellow-6-channel));--palette-yellow-7-channel:212,177,6;--palette-yellow-7:rgb(var(--palette-yellow-7-channel));--palette-yellow-8-channel:173,139,0;--palette-yellow-8:rgb(var(--palette-yellow-8-channel));--palette-yellow-9-channel:135,104,0;--palette-yellow-9:rgb(var(--palette-yellow-9-channel));--palette-yellow-10-channel:97,71,0;--palette-yellow-10:rgb(var(--palette-yellow-10-channel));--palette-teal-1-channel:240,255,248;--palette-teal-1:rgb(var(--palette-teal-1-channel));--palette-teal-2-channel:197,250,228;--palette-teal-2:rgb(var(--palette-teal-2-channel));--palette-teal-3-channel:147,237,203;--palette-teal-3:rgb(var(--palette-teal-3-channel));--palette-teal-4-channel:105,224,183;--palette-teal-4:rgb(var(--palette-teal-4-channel));--palette-teal-5-channel:66,212,165;--palette-teal-5:rgb(var(--palette-teal-5-channel));--palette-teal-6-channel:29,200,151;--palette-teal-6:rgb(var(--palette-teal-6-channel));--palette-teal-7-channel:14,161,124;--palette-teal-7:rgb(var(--palette-teal-7-channel));--palette-teal-8-channel:6,122,97;--palette-teal-8:rgb(var(--palette-teal-8-channel));--palette-teal-9-channel:0,84,69;--palette-teal-9:rgb(var(--palette-teal-9-channel));--palette-teal-10-channel:0,46,39;--palette-teal-10:rgb(var(--palette-teal-10-channel));--palette-purple-1-channel:250,240,255;--palette-purple-1:rgb(var(--palette-purple-1-channel));--palette-purple-2-channel:247,232,255;--palette-purple-2:rgb(var(--palette-purple-2-channel));--palette-purple-3-channel:230,191,255;--palette-purple-3:rgb(var(--palette-purple-3-channel));--palette-purple-4-channel:199,143,242;--palette-purple-4:rgb(var(--palette-purple-4-channel));--palette-purple-5-channel:168,99,230;--palette-purple-5:rgb(var(--palette-purple-5-channel));--palette-purple-6-channel:137,58,216;--palette-purple-6:rgb(var(--palette-purple-6-channel));--palette-purple-7-channel:104,39,179;--palette-purple-7:rgb(var(--palette-purple-7-channel));--palette-purple-8-channel:74,24,140;--palette-purple-8:rgb(var(--palette-purple-8-channel));--palette-purple-9-channel:48,12,102;--palette-purple-9:rgb(var(--palette-purple-9-channel));--palette-purple-10-channel:28,7,64;--palette-purple-10:rgb(var(--palette-purple-10-channel));--palette-pink-1-channel:255,230,236;--palette-pink-1:rgb(var(--palette-pink-1-channel));--palette-pink-2-channel:255,189,207;--palette-pink-2:rgb(var(--palette-pink-2-channel));--palette-pink-3-channel:255,148,182;--palette-pink-3:rgb(var(--palette-pink-3-channel));--palette-pink-4-channel:255,107,159;--palette-pink-4:rgb(var(--palette-pink-4-channel));--palette-pink-5-channel:255,66,139;--palette-pink-5:rgb(var(--palette-pink-5-channel));--palette-pink-6-channel:255,26,121;--palette-pink-6:rgb(var(--palette-pink-6-channel));--palette-pink-7-channel:217,11,103;--palette-pink-7:rgb(var(--palette-pink-7-channel));--palette-pink-8-channel:179,0,86;--palette-pink-8:rgb(var(--palette-pink-8-channel));--palette-pink-9-channel:140,0,72;--palette-pink-9:rgb(var(--palette-pink-9-channel));--palette-pink-10-channel:102,0,56;--palette-pink-10:rgb(var(--palette-pink-10-channel));--palette-indigo-1-channel:240,243,255;--palette-indigo-1:rgb(var(--palette-indigo-1-channel));--palette-indigo-2-channel:224,231,255;--palette-indigo-2:rgb(var(--palette-indigo-2-channel));--palette-indigo-3-channel:184,196,255;--palette-indigo-3:rgb(var(--palette-indigo-3-channel));--palette-indigo-4-channel:143,158,255;--palette-indigo-4:rgb(var(--palette-indigo-4-channel));--palette-indigo-5-channel:98,113,245;--palette-indigo-5:rgb(var(--palette-indigo-5-channel));--palette-indigo-6-channel:56,68,232;--palette-indigo-6:rgb(var(--palette-indigo-6-channel));--palette-indigo-7-channel:37,42,194;--palette-indigo-7:rgb(var(--palette-indigo-7-channel));--palette-indigo-8-channel:22,22,156;--palette-indigo-8:rgb(var(--palette-indigo-8-channel));--palette-indigo-9-channel:14,11,117;--palette-indigo-9:rgb(var(--palette-indigo-9-channel));--palette-indigo-10-channel:11,6,79;--palette-indigo-10:rgb(var(--palette-indigo-10-channel));--palette-deep-purple-1-channel:245,240,255;--palette-deep-purple-1:rgb(var(--palette-deep-purple-1-channel));--palette-deep-purple-2-channel:238,230,255;--palette-deep-purple-2:rgb(var(--palette-deep-purple-2-channel));--palette-deep-purple-3-channel:209,189,255;--palette-deep-purple-3:rgb(var(--palette-deep-purple-3-channel));--palette-deep-purple-4-channel:176,148,255;--palette-deep-purple-4:rgb(var(--palette-deep-purple-4-channel));--palette-deep-purple-5-channel:142,107,255;--palette-deep-purple-5:rgb(var(--palette-deep-purple-5-channel));--palette-deep-purple-6-channel:102,65,249;--palette-deep-purple-6:rgb(var(--palette-deep-purple-6-channel));--palette-deep-purple-7-channel:72,44,212;--palette-deep-purple-7:rgb(var(--palette-deep-purple-7-channel));--palette-deep-purple-8-channel:47,28,173;--palette-deep-purple-8:rgb(var(--palette-deep-purple-8-channel));--palette-deep-purple-9-channel:27,15,135;--palette-deep-purple-9:rgb(var(--palette-deep-purple-9-channel));--palette-deep-purple-10-channel:16,10,97;--palette-deep-purple-10:rgb(var(--palette-deep-purple-10-channel));--palette-gray-blue-1-channel:240,247,255;--palette-gray-blue-1:rgb(var(--palette-gray-blue-1-channel));--palette-gray-blue-2-channel:230,236,245;--palette-gray-blue-2:rgb(var(--palette-gray-blue-2-channel));--palette-gray-blue-3-channel:218,223,232;--palette-gray-blue-3:rgb(var(--palette-gray-blue-3-channel));--palette-gray-blue-4-channel:204,209,219;--palette-gray-blue-4:rgb(var(--palette-gray-blue-4-channel));--palette-gray-blue-5-channel:159,174,207;--palette-gray-blue-5:rgb(var(--palette-gray-blue-5-channel));--palette-gray-blue-6-channel:119,141,195;--palette-gray-blue-6:rgb(var(--palette-gray-blue-6-channel));--palette-gray-blue-7-channel:87,104,156;--palette-gray-blue-7:rgb(var(--palette-gray-blue-7-channel));--palette-gray-blue-8-channel:60,72,117;--palette-gray-blue-8:rgb(var(--palette-gray-blue-8-channel));--palette-gray-blue-9-channel:36,44,79;--palette-gray-blue-9:rgb(var(--palette-gray-blue-9-channel));--palette-gray-blue-10-channel:18,22,41;--palette-gray-blue-10:rgb(var(--palette-gray-blue-10-channel));--theme-green-color-rgb-channel:8,191,51;--theme-green-color:var(--palette-green-6);--theme-green-border-color:var(--palette-green-3);--theme-green-background:var(--palette-green-1);--theme-red-color-rgb-channel:242,76,37;--theme-red-color:var(--palette-red-6);--theme-red-border-color:var(--palette-red-3);--theme-red-background:var(--palette-red-1);--theme-blue-color-rgb-channel:26,122,255;--theme-blue-color:var(--palette-blue-6);--theme-blue-border-color:var(--palette-blue-3);--theme-blue-background:var(--palette-blue-1);--theme-orange-color-rgb-channel:227,131,6;--theme-orange-color:var(--palette-orange-6);--theme-orange-border-color:var(--palette-orange-3);--theme-orange-background:var(--palette-orange-1);--theme-cyan-color-rgb-channel:33,212,243;--theme-cyan-color:var(--palette-cyan-6);--theme-cyan-border-color:var(--palette-cyan-3);--theme-cyan-background:var(--palette-cyan-1);--theme-purple-color-rgb-channel:137,58,216;--theme-purple-color:var(--palette-purple-6);--theme-purple-border-color:var(--palette-purple-3);--theme-purple-background:var(--palette-purple-1);--theme-geekblue-color-rgb-channel:56,68,232;--theme-geekblue-color:var(--palette-indigo-6);--theme-geekblue-border-color:var(--palette-indigo-3);--theme-geekblue-background:var(--palette-indigo-1)}html[data-theme=\"dark-v2\"],\n[data-override-theme=\"dark-v2\"]{--palette-red-1-channel:44,27,27;--palette-red-2-channel:68,35,32;--palette-red-3-channel:89,46,39;--palette-red-4-channel:122,58,46;--palette-red-5-channel:166,74,55;--palette-red-6-channel:210,89,63;--palette-red-7-channel:232,133,106;--palette-red-8-channel:243,172,150;--palette-red-9-channel:248,207,191;--palette-red-10-channel:250,239,233;--palette-green-1-channel:22,42,29;--palette-green-2-channel:24,64,35;--palette-green-3-channel:29,84,42;--palette-green-4-channel:32,114,49;--palette-green-5-channel:35,154,60;--palette-green-6-channel:39,195,70;--palette-green-7-channel:77,216,101;--palette-green-8-channel:122,239,138;--palette-green-9-channel:167,248,174;--palette-green-10-channel:208,250,211;--palette-blue-1-channel:24,30,49;--palette-blue-2-channel:29,43,74;--palette-blue-3-channel:37,56,95;--palette-blue-4-channel:44,73,129;--palette-blue-5-channel:54,95,175;--palette-blue-6-channel:63,117,221;--palette-blue-7-channel:101,151,232;--palette-blue-8-channel:144,185,244;--palette-blue-9-channel:186,214,248;--palette-blue-10-channel:228,239,250;--palette-amber-1-channel:45,36,23;--palette-amber-2-channel:70,54,23;--palette-amber-3-channel:90,72,27;--palette-amber-4-channel:124,96,28;--palette-amber-5-channel:169,129,29;--palette-amber-6-channel:213,162,29;--palette-amber-7-channel:232,190,67;--palette-amber-8-channel:243,214,108;--palette-amber-9-channel:248,230,149;--palette-amber-10-channel:250,242,191;--palette-cyan-1-channel:20,40,47;--palette-cyan-2-channel:22,60,71;--palette-cyan-3-channel:26,80,92;--palette-cyan-4-channel:28,109,125;--palette-cyan-5-channel:30,147,168;--palette-cyan-6-channel:32,185,212;--palette-cyan-7-channel:69,213,232;--palette-cyan-8-channel:110,232,244;--palette-cyan-9-channel:152,243,248;--palette-cyan-10-channel:193,249,250;--palette-orange-1-channel:46,32,23;--palette-orange-2-channel:72,46,25;--palette-orange-3-channel:93,61,30;--palette-orange-4-channel:127,80,31;--palette-orange-5-channel:174,106,34;--palette-orange-6-channel:220,131,36;--palette-orange-7-channel:232,161,74;--palette-orange-8-channel:243,190,115;--palette-orange-9-channel:248,213,157;--palette-orange-10-channel:250,232,198;--palette-yellow-1-channel:46,40,22;--palette-yellow-2-channel:70,62,22;--palette-yellow-3-channel:91,82,25;--palette-yellow-4-channel:126,112,25;--palette-yellow-5-channel:171,152,24;--palette-yellow-6-channel:217,191,23;--palette-yellow-7-channel:232,215,60;--palette-yellow-8-channel:243,234,101;--palette-yellow-9-channel:248,244,141;--palette-yellow-10-channel:250,250,183;--palette-teal-1-channel:20,38,37;--palette-teal-2-channel:21,58,51;--palette-teal-3-channel:25,77,64;--palette-teal-4-channel:26,104,83;--palette-teal-5-channel:28,139,109;--palette-teal-6-channel:29,175,134;--palette-teal-7-channel:62,195,153;--palette-teal-8-channel:103,217,177;--palette-teal-9-channel:147,233,201;--palette-teal-10-channel:195,247,226;--palette-purple-1-channel:31,23,43;--palette-purple-2-channel:43,27,64;--palette-purple-3-channel:58,34,84;--palette-purple-4-channel:75,39,112;--palette-purple-5-channel:98,46,151;--palette-purple-6-channel:121,54,189;--palette-purple-7-channel:154,91,210;--palette-purple-8-channel:190,137,231;--palette-purple-9-channel:224,186,248;--palette-purple-10-channel:243,228,250;--palette-pink-1-channel:46,20,35;--palette-pink-2-channel:72,20,46;--palette-pink-3-channel:93,24,55;--palette-pink-4-channel:127,24,70;--palette-pink-5-channel:174,25,90;--palette-pink-6-channel:220,26,109;--palette-pink-7-channel:232,62,130;--palette-pink-8-channel:243,103,154;--palette-pink-9-channel:248,144,179;--palette-pink-10-channel:250,186,205;--palette-indigo-1-channel:23,23,46;--palette-indigo-2-channel:27,28,69;--palette-indigo-3-channel:33,37,88;--palette-indigo-4-channel:38,44,120;--palette-indigo-5-channel:45,54,161;--palette-indigo-6-channel:52,63,203;--palette-indigo-7-channel:91,105,225;--palette-indigo-8-channel:137,151,244;--palette-indigo-9-channel:179,191,248;--palette-indigo-10-channel:220,227,250;--palette-deep-purple-1-channel:27,24,48;--palette-deep-purple-2-channel:36,29,73;--palette-deep-purple-3-channel:47,36,94;--palette-deep-purple-4-channel:59,43,127;--palette-deep-purple-5-channel:75,52,172;--palette-deep-purple-6-channel:91,60,217;--palette-deep-purple-7-channel:132,101,232;--palette-deep-purple-8-channel:170,144,244;--palette-deep-purple-9-channel:204,186,248;--palette-deep-purple-10-channel:236,228,250;--palette-gray-blue-1-channel:29,31,40;--palette-gray-blue-2-channel:40,44,59;--palette-gray-blue-3-channel:52,59,77;--palette-gray-blue-4-channel:67,77,103;--palette-gray-blue-5-channel:87,101,137;--palette-gray-blue-6-channel:106,125,171;--palette-gray-blue-7-channel:147,161,191;--palette-gray-blue-8-channel:197,203,212;--palette-gray-blue-9-channel:215,220,229;--palette-gray-blue-10-channel:229,235,243;--theme-green-color-rgb-channel:39,195,70;--theme-green-background:var(--palette-green-2);--theme-red-color-rgb-channel:210,89,63;--theme-red-background:var(--palette-red-2);--theme-blue-color-rgb-channel:63,117,221;--theme-blue-background:var(--palette-blue-2);--theme-orange-color-rgb-channel:220,131,36;--theme-orange-background:var(--palette-orange-2);--theme-cyan-color-rgb-channel:32,185,212;--theme-cyan-background:var(--palette-cyan-2);--theme-purple-color-rgb-channel:121,54,189;--theme-purple-background:var(--palette-purple-2);--theme-geekblue-color-rgb-channel:52,63,203;--theme-geekblue-background:var(--palette-indigo-2)}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `html[data-theme=\"dark-v2\"],\n[data-override-theme=\"dark-v2\"]{--csstools-color-scheme--light: ;color-scheme:dark;--palette-rgba-gray-1:rgba(255,255,255,0);--palette-rgba-gray-2:rgba(255,255,255,0.04);--palette-rgba-gray-3:rgba(255,255,255,0.08);--palette-rgba-gray-4:rgba(255,255,255,0.12);--palette-rgba-gray-5:rgba(255,255,255,0.2);--palette-rgba-gray-6:rgba(255,255,255,0.3);--palette-rgba-gray-7:rgba(255,255,255,0.45);--palette-rgba-gray-8:rgba(255,255,255,0.65);--palette-rgba-gray-9:rgba(255,255,255,0.85);--palette-rgba-gray-10:rgba(255,255,255,1);--palette-gray-1:#17171a;--palette-gray-2:#202022;--palette-gray-3:#29292b;--palette-gray-4:#333335;--palette-gray-5:#454547;--palette-gray-6:#5c5c5e;--palette-gray-7:#7f7f81;--palette-gray-8:#aeaeaf;--palette-gray-9:#dcdcdc;--palette-gray-10:#ffffff;--body-background:var(--color-fill-global-bg-1);--theme-gray-color-rgb-channel:174,174,175;--theme-gray-color:var(--palette-rgba-gray-8);--theme-gray-background:var(--palette-rgba-gray-3);--theme-gray-border-color:var(--palette-rgba-gray-4);--color-brand:var(--palette-blue-6);--color-brand-hover:var(--palette-blue-5);--color-brand-active:var(--palette-blue-7);--color-fill-global-bg-1:#29292d;--color-fill-global-bg-2:#29292d;--color-fill-bg-container-1:#202021;--color-fill-bg-container-2:#2a2a2b;--color-fill-bg-container-3:#313132;--color-fill-bg-container-4:#373739;--color-fill-bg-container-5:rgba(55,55,57,0.95);--color-fill-bg-base-1:var(--palette-rgba-gray-3);--color-fill-bg-base-2:var(--palette-rgba-gray-3);--color-fill-bg-base-3:var(--palette-rgba-gray-2);--color-fill-bg-base-4:var(--palette-rgba-gray-2);--color-fill-bg-base-5:var(--palette-rgba-gray-2);--color-text-divider-line:var(--palette-rgba-gray-4);--color-header-text:var(--palette-rgba-gray-9);--color-strong-text:var(--palette-rgba-gray-10);--color-normal-text:var(--palette-rgba-gray-9);--color-auxiliary-text:var(--palette-rgba-gray-8);--color-secondary-text:var(--palette-rgba-gray-7);--color-disabled-text:var(--palette-rgba-gray-6);--color-border-divider-line:#454547;--stroke-color-default:var(--color-text-divider-line);--text-color-default:var(--color-normal-text);--text-color-title:var(--color-header-text);--text-color-secondary:var(--color-secondary-text);--text-color-link:var(--color-brand);--color-success-bg:rgba(var(--palette-green-6-channel),0.2);--color-success-hover:var(--palette-green-5);--color-success-active:var(--palette-green-7);--color-success-outline:rgba(var(--palette-green-6-channel),0.3);--color-info-hover:var(--palette-blue-5);--color-info-active:var(--palette-blue-7);--color-info-bg:rgba(var(--palette-blue-6-channel),0.2);--color-info-outline:rgba(var(--palette-blue-6-channel),0.35);--color-warning:var(--palette-amber-6);--color-warning-hover:var(--palette-amber-5);--color-warning-active:var(--palette-amber-7);--color-warning-bg:rgba(var(--palette-amber-6-channel),0.2);--color-warning-outline:rgba(var(--palette-amber-6-channel),0.3);--color-error:var(--palette-red-6);--color-error-hover:var(--palette-red-5);--color-error-active:var(--palette-red-7);--color-error-bg:rgba(var(--palette-red-6-channel),0.2);--color-error-outline:rgba(var(--palette-red-6-channel),0.3);--color-normal-icon:var(--palette-rgba-gray-10);--color-selected-icon:var(--palette-rgba-gray-9);--mask-bg:rgba(23,23,26,0.7);--base-shadow:0px 1px 18px 0px rgba(0,0,0,0.1);--feedback-container-shadow:0px 6px 18px 0px rgba(0,0,0,0.14);--left-sidebar-shadow:6px 0px 20px 0px rgba(0,0,0,0.16);--right-slide-shadow:-2px 0px 8px 0px rgba(0,0,0,0.14);--left-slide-shadow:2px 0px 8px 0px rgba(0,0,0,0.14);--connected-overlay-shadow:0px 6px 18px 0px rgba(0,0,0,0.14);--fullscreen-overlay-shadow:0px 10px 32px 0px rgba(0,0,0,0.24);--hover-shadow:0px 10px 32px 0px rgba(0,0,0,0.14);--slide-up-shadow:0px -6px 18px 0px rgba(0,0,0,0.14);--menu-shadow:2px 0px 0px 0px rgba(0,0,0,0.24);--menu-special-shadow:1px 0px 0px 0px var(--palette-gray-4);--input-shadow:0px 0px 0px 2px rgba(20,40,74,1);--input-success-shadow:0px 0px 0px 2px rgba(40,72,24,1);--input-error-shadow:0px 0px 0px 2px rgba(0,0,0,1);--chart-shadow:0px 6px 18px 0px rgba(0,0,0,0.14);--menu-bg:#202021;--menu-item-selected-bg:var(--palette-blue-6);--menu-group-active-bg:var(--palette-rgba-gray-2);--menu-collapse-bar-border-color:var(--palette-rgba-gray-3);--menu-collapse-bar-bg:var(--palette-rgba-gray-3);--menu-submenu-group-active-bg:var(--palette-rgba-gray-2);--menu-item-hover:var(--palette-rgba-gray-2);--app-submenu-bg:#202021;--menu-submenu-group-selected-bg:var(--palette-rgba-gray-3);--menu-submenu-selected-bg:var(--palette-rgba-gray-3);--menu-dropdown-bg:var(--palette-blue-1);--app-submenu-bg:#202021;--app-submenu-active-bg:var(--palette-blue-2);--checkbox-bg-hover:var(--palette-rgba-gray-3);--checkbox-bg-active:var(--palette-blue-2);--dashboard-radio-item-shadow:0px 0px 0px 2px rgba(20,40,74,0.15);--input-outline-fill:#202021;--input-fill-bg:var(--palette-rgba-gray-2);--input-outline-disabled:var(--palette-rgba-gray-3);--chart-tooltip-bg:rgba(23,23,26,0.95);--chart-auxiliary-text:var(--palette-rgba-gray-9);--chart-outline-select:var(--palette-rgba-gray-10);--custom-form-item-wrapper-bg:var(--color-fill-bg-base-4);--v8-top-navigation-bg:#323237;--v8-top-menu-item-hover:var(--palette-rgba-gray-2);--v8-top-menu-item-selected-bg:var(--palette-rgba-gray-4);--v8-left-menu-bg:rgba(32,32,33,0.3);--v8-left-menu-hover-bg:rgba(32,32,33,0.8);--v8-left-sidebar-item-hover:var(--palette-gray-4);--v8-left-sidebar-border-right:linear-gradient(146deg,rgba(255,255,255,0) 0%,rgba(232,232,232,0.12) 12%,rgba(232,232,232,0.12) 88%,rgba(255,255,255,0) 100%);--v8-left-sidebar-item-normal:#c5cbd4;--v8-left-secondary-text:var(--palette-rgba-gray-7);--top-navigation-bg:#323237;--top-menu-item-hover-bg:var(--palette-rgba-gray-2);--top-menu-item-selected-bg:var(--palette-rgba-gray-4);--left-menu-bg:#141414;--left-menu-hover-bg:#141414;--left-sidebar-item-selected-hover-bg:var(--palette-blue-5);--left-sidebar-item-hover-bg:var(--palette-rgba-gray-2);--left-sidebar-item-selected-color:var(--palette-gray-10);--left-secondary-text-color:#757d89;--left-sidebar-large-title-color:var(--palette-rgba-gray-9);--left-sidebar-border-right:var(--palette-rgba-gray-4);--third-menu-default-bg:#202024;--third-menu-item-selected-bg:var(--palette-blue-2);--third-menu-item-hover-bg:rgba(255,255,255,0.04);--antd-primary-color:var(--color-brand);--antd-text-color:var(--color-normal-text);--antd-text-color-secondary:var(--color-secondary-text);--antd-border-color-split:var(--color-text-divider-line);--antd-heading-color:var(--color-header-text);--antd-label-color:var(--antd-heading-color);--antd-component-background:var(--color-fill-bg-container-1);--antd-border-color-base:var(--color-border-divider-line);--antd-background-color-light:var(--palette-rgba-gray-2);--text-color-disabled:var(--color-disabled-text);--antd-background-color-base:var(--color-fill-bg-base-1);--antd-item-active-bg:var(--color-fill-bg-base-1);--antd-item-hover-bg:var(--color-fill-bg-base-1);--antd-icon-color-hover:var(--color-normal-text);--antd-error-color:var(--color-error);--antd-error-color-fade-20:rgba(210,69,37,0.2);--antd-link-color:var(--color-brand);--antd-link-hover-color:var(--color-brand-hover);--antd-link-active-color:var(--color-brand-active);--antd-disabled-color-fade-10:rgba(255,255,255,0.27);--antd-switch-color-fade-20:rgba(20,40,74,1);--antd-menu-bg:var(--menu-bg);--antd-menu-color:var(--color-header-text);--antd-menu-shadow:var(--menu-special-shadow);--antd-menu-popup-bg:var(--color-fill-bg-container-4);--antd-menu-title-bg:var(--color-fill-bg-base-2);--antd-menu-title-color:var(--color-strong-text);--antd-menu-item-active-bg:var(--color-fill-bg-base-3);--antd-menu-item-hover:var(--menu-item-hover);--antd-menu-item-selected-bg:var(--menu-item-selected-bg);--ant-menu-submenu-selected-bg:var(--menu-submenu-selected-bg);--ant-menu-item-group-title-color:var(--color-strong-text);--ant-menu-collapse-bar-bg:var(--menu-collapse-bar-bg);--ant-menu-collapse-bar-border-color:var(--menu-collapse-bar-border-color);--antd-app-submenu-title:var(--color-header-text);--antd-app-submenu-bg:var(--app-submenu-bg);--antd-app-submenu-active-bg:var(--app-submenu-active-bg);--antd-app-submenu-shadow:var(--base-shadow);--antd-app-submenu-group-title-color:var(--antd-text-color-secondary);--app-bar-bg:var(--color-fill-bg-container-1);--app-bar-shadow:0px 1px 0px 0px var(--palette-gray-4);--app-bar-dropdown-menu-item-color:var(--color-normal-text);--app-bar-dropdown-menu-item-hover-bg:var(--color-fill-bg-base-1);--antd-dropdown-menu-bg:var(--color-fill-bg-container-4);--antd-dropdown-selected-color:var(--antd-link-color);--antd-checkbox-color:var(--color-brand);--antd-checkbox-bg-hover:var(--checkbox-bg-hover);--antd-checkbox-checked:var(--checkbox-bg-active);--antd-checkbox-check-bg:var(--antd-component-background);--antd-checkbox-custom-type-icon-color:var(--color-strong-text);--antd-checkbox-custom-type-color:var(--color-normal-text);--antd-checkbox-custom-type-item-border-color:var(\n --color-border-divider-line\n );--antd-checkbox-custom-type-item-hover-border-color:var(\n --input-outline-focus\n );--antd-checkbox-custom-type-disabled-color:var(--color-disabled-text);--antd-checkbox-custom-type-disabled-icon-color:var(\n --input-outline-disabled\n );--antd-checkbox-color-blue-gray:#6a7dab;--antd-checkbox-color-deep-purple:#5b3cd9;--antd-card-background:var(--color-fill-bg-container-1);--antd-card-shadow:var(--base-shadow);--antd-card-footer-bg:var(--color-fill-bg-container-1);--antd-card-footer-top-border-color:var(--color-border-divider-line);--antd-dashboard-radio-bg:var(--color-fill-bg-base-5);--antd-dashboard-radio-item-bg:transparent;--antd-dashboard-radio-item-color:var(--color-auxiliary-text);--antd-dashboard-radio-item-disabled-color:var(--color-secondary-text);--antd-dashboard-radio-item-checked-border-color:var(\n --antd-dashboard-radio-bg\n );--antd-dashboard-radio-item-checked-bg:var(--color-fill-bg-base-1);--antd-dashboard-radio-item-checked-shadow:var(--radio-item-shadow);--antd-radio-solid-checked-color:var(--color-normal-text);--antd-radio-dot-color:var(--antd-primary-color);--antd-radio-button-hover-color:var(--color-info-hover);--antd-divider-color:var(--color-text-divider-line);--antd-divider-radiation-color:linear-gradient(135deg,rgba(217,217,217,0),rgba(217,217,217,0.12));--antd-divider-radiation-text-color:var(--color-header-text);--antd-divider-radiation-proportion-normal-text-color:var(\n --color-auxiliary-text\n );--antd-divider-radiation-proportion-strong-text-color:var(\n --color-normal-text\n );--statistic-card-item-title-color:var(--color-secondary-text);--statistic-card-item-value-color:var(--color-normal-text);--statistic-card-item-hover-shadow:var(--hover-shadow);--statistic-card-item-empty-value-color:var(--palette-rgba-gray-5);--statistic-card-item-larger-type-title-color:var(--color-header-text);--antd-chart-legend-text-color:var(--palette-rgba-gray-8);--antd-chart-legend-hover-text-color:var(--palette-rgba-gray-7);--antd-chart-legend-unchecked-text-color:var(--color-disabled-text);--antd-chart-legend-unchecked-mark-color:var(--color-disabled-text);--antd-chart-legend-pageNavigator-marker-color:var(--color-auxiliary-text);--antd-chart-legend-pageNavigator-marker-inactive-color:var(\n --palette-rgba-gray-6\n );--antd-chart-legend-pageNavigator-text-color:var(--color-secondary-text);--antd-chart-tooltip-bg:var(--chart-tooltip-bg);--antd-chart-tooltip-boxShadow:var(--chart-shadow);--antd-chart-tooltip-color:var(--color-normal-text);--antd-chart-label-color:var(--color-auxiliary-text);--antd-chart-active-region-bg:var(--palette-rgba-gray-3);--antd-btn-special-icon-type-color:var(--color-normal-text);--antd-btn-special-icon-type-bg:var(--color-fill-bg-base-1);--antd-btn-special-icon-type-hover-color:var(--color-brand-hover);--antd-btn-special-icon-type-hover-bg:var(--color-fill-bg-base-1);--antd-btn-special-icon-type-active-color:var(--color-brand-active);--antd-btn-special-icon-type-active-bg:var(--color-fill-bg-base-1);--antd-btn-special-icon-type-disabled-color:var(--color-disabled-text);--antd-btn-special-icon-type-disabled-bg:var(--color-fill-bg-base-1);--antd-btn-primary-color:var(--color-normal-text);--antd-btn-primary-bg:var(--antd-primary-color);--antd-btn-primary-bg-image:var(--color-brand);--antd-btn-primary-hover-bg:var(--color-info-hover);--antd-btn-primary-hover-color:var(--color-normal-text);--antd-btn-primary-active-bg:var(--color-info-active);--antd-btn-primary-active-color:var(--color-normal-text);--antd-btn-default-color:var(--color-auxiliary-text);--antd-btn-default-border:var(--color-border-divider-line);--antd-btn-default-bg:var(--color-fill-bg-container-1);--antd-btn-default-active-border-color:var(--color-brand);--antd-btn-default-active-color:var(--color-info);--antd-btn-default-hover-color:var(--color-brand-hover);--antd-btn-default-hover-border-color:var(--color-brand-hover);--antd-btn-danger-bg-image:var(--color-error);--antd-btn-danger-color:var(--color-normal-text);--antd-btn-danger-hover-bg:var(--color-error-hover);--antd-btn-danger-hover-color:var(--antd-btn-danger-color);--antd-btn-danger-active-bg:var(--color-error-active);--antd-btn-danger-active-color:var(--antd-btn-danger-color);--antd-btn-link-color:var(--color-brand);--antd-btn-link-hover-color:var(--color-brand-hover);--antd-btn-link-active-color:var(--color-brand-active);--antd-btn-fade-text-color:var(--color-secondary-text);--antd-btn-text-hover-color:var(--color-brand-hover);--antd-btn-text-active-color:var(--color-brand-active);--antd-anchor-radio-type-title-color:var(--color-auxiliary-text);--antd-anchor-radio-type-bg:var(--color-fill-bg-base-1);--antd-anchor-radio-type-title-active-color:var(--color-info);--antd-anchor-radio-type-title-active-bg:var(--color-fill-bg-base-3);--antd-input-bg:var(--antd-component-background);--antd-input-color:var(--color-normal-text);--antd-input-focus-border-color:var(--input-outline-focus);--antd-input-hover-border-color:var(--input-outline-hover);--antd-input-placeholder-color:var(--text-color-disabled);--antd-input-border-color:var(--color-border-divider-line);--antd-input-disabled-bg:var(--palette-rgba-gray-3);--antd-select-item-selected-bg:var(--menu-dropdown-bg);--antd-select-dropdown-bg:var(--color-fill-bg-container-4);--antd-select-item-active-bg:var(--antd-item-active-bg);--antd-table-bg:var(--antd-component-background);--antd-table-body-sort-bg:var(--palette-rgba-gray-3);--antd-table-border-color:var(--color-text-divider-line);--antd-table-even-bg:var(--antd-table-bg);--antd-table-header-bg:#2e2e30;--antd-table-header-color:var(--color-header-text);--antd-table-row-hover-bg:var(--palette-gray-3);--antd-table-header-filter-active-bg:var(--color-fill-bg-base-1);--antd-table-header-sort-active-bg:rgba(62,62,64);--antd-table-header-overwrite-sort-th-active-bg:var(\n --antd-table-header-sort-active-bg\n );--antd-table-header-overwrite-sort-td-active-bg:var(--color-fill-bg-base-4);--antd-table-header-sort-active-filter-bg:var(--color-fill-bg-base-4);--antd-table-selected-row-hover-bg:var(--menu-dropdown-bg);--antd-table-row-selected-border-color:var(--antd-table-border-color);--antd-table-row-expand-icon-color:var(--color-normal-text);--antd-table-row-expand-icon-action-bg:var(--color-fill-bg-base-1);--antd-table-row-expand-nested-wrapper:var(--color-fill-bg-container-2);--antd-table-row-expand-nested-wrapper-border:var(--antd-table-border-color);--antd-table-expanded-row-bg:var(--antd-table-row-expand-nested-wrapper);--antd-table-cell-fixed-header-bg:var(--antd-table-header-bg);--antd-table-cell-fixed-body-bg:var(--antd-component-background);--antd-pagination-total-text:var(--color-disabled-text);--antd-pagination-total-strong-text:var(--color-normal-text);--antd-pagination-item-hover:var(--color-info);--antd-pagination-item-active-bg:var(--color-brand);--antd-pagination-item-active-border:var(--palette-blue-3);--antd-pagination-item-active-text-color:var(--color-white);--antd-pagination-item-selected-hover-text-color:var(\n --antd-pagination-item-active-text-color\n );--antd-pagination-item-selected-hover-bg:var(--color-brand-hover);--antd-pagination-item-selected-hover-border-color:var(\n --antd-pagination-item-selected-hover-bg\n );--antd-table-drop-hover-border-color:var(--color-info);--antd-modal-footer-bg:var(--palette-gray-3);--antd-modal-mask-bg:var(--mask-bg);--antd-tooltip-bg:var(--color-fill-bg-container-5);--antd-tooltip-color:var(--color-normal-icon);--antd-popover-bg:var(--color-fill-bg-container-4);--antd-popover-color:var(--color-auxiliary-text);--antd-message-bg:var(--color-fill-bg-container-4);--antd-message-shadow:var(--feedback-container-shadow);--antd-message-bg-info:rgba(55,55,57,0.85) linear-gradient(270deg,rgba(55,55,57,0) 0%,rgba(55,55,57,0) 48%,rgba(63,117,221,0.2) 100%);--antd-message-bg-success:rgba(55,55,57,0.85) linear-gradient(270deg,rgba(55,55,57,0) 0%,rgba(55,55,57,0) 48%,rgba(39,195,70,0.2) 100%);--antd-message-bg-error:rgba(55,55,57,0.85) linear-gradient(270deg,rgba(55,55,57,0) 0%,rgba(55,55,57,0) 48%,rgba(210,89,63,0.2) 100%);--antd-message-bg-warn:rgba(55,55,57,0.85) linear-gradient(270deg,rgba(55,55,57,0) 0%,rgba(55,55,57,0) 48%,rgba(213,162,29,0.2) 100%);--antd-message-border:1px solid rgba(255,255,255,0.12);--antd-message-content-color:rgba(255,255,255,0.85);--antd-transfer-item-hover-bg:var(--antd-checkbox-bg-hover);--antd-transfer-item-selected-hover-bg:var(--antd-checkbox-bg-hover);--antd-transfer-disable-bg:var(--palette-rgba-gray-3);--antd-transfer-item-selected-bg:var(--checkbox-bg-active);--antd-transfer-hover-bg:var(--antd-checkbox-bg-hover);--antd-tabs-shadow:var(--base-shadow);--antd-tabs-title-wrapper-bg:var(--color-fill-bg-container-1);--antd-tabs-title-border-color:var(--color-border-divider-line);--antd-tabs-title-color:var(--color-normal-text);--antd-tabs-title-hover-color:var(--color-brand-hover);--antd-tabs-title-selected-color:var(--color-brand);--antd-tabs-title-disabled-color:var(--color-disabled-text);--antd-tabs-panel-type-bg:var(--color-success-bg);--antd-tabs-panel-type-shadow:var(--base-shadow);--antd-tabs-panel-type-selected-color:var(--color-normal-icon);--antd-tabs-panel-type-selected-bg:var(--color-brand);--antd-tabs-title-wrapper-bg-channel:32,32,33;--antd-input-number-handler-wrap-bg:var(--color-fill-bg-base-1);--antd-input-number-handler-wrap-icon:var(--color-auxiliary-text);--antd-input-number-handler-wrap-hover-bg:var(--palette-blue-2);--antd-switch-color:var(--color-brand);--antd-switch-bg:var(--color-white);--antd-description-title-color:var(--color-header-text);--antd-description-item-label-color:var(--color-secondary-text);--antd-description-item-content-color:var(--color-header-text);--antd-tabs-highlight-color:var(--color-brand);--antd-tabs-hover-color:var(--color-brand-hover);--cmdb-instance-detail-detail-description-item-label:var(\n --color-secondary-text\n );--cmdb-instance-detail-detail-description-item-content:var(\n --color-header-text\n );--cmdb-instance-detail-description-group-color:var(\n --antd-description-title-color\n );--cmdb-instance-detail-group-label-bg:var(--color-fill-bg-base-1);--cmdb-instance-detail-group-label-color:var(--color-normal-text);--cmdb-instance-detail-group-label-active-bg:var(--color-brand);--cmdb-instance-detail-group-label-active-color:var(--color-white);--cmdb-instance-detail-search-container-bg:var(--color-fill-bg-base-4);--cmdb-instance-detail-search-container-tag-bg:var(--color-fill-bg-base-1);--cmdb-instance-detail-search-container-tag-color:var(\n --color-auxiliary-text\n );--cmdb-instance-detail-search-container-tag-close-hover-color:var(\n --color-auxiliary-text\n );--rank-table-medal-gold-background-image:linear-gradient(151deg,#f49474 0%,#d24525 100%);--rank-table-medal-gold-border-color:rgba(210,69,37,0.45);--rank-table-medal-gold-text-shadow:none;--rank-table-medal-silver-background-image:linear-gradient(151deg,#f1b856 0%,#c5740b 100%);--rank-table-medal-silver-border-color:rgba(197,116,11,0.45);--rank-table-medal-silver-text-shadow:none;--rank-table-medal-bronze-background-image:linear-gradient(151deg,#f4d952 0%,#ab870f 100%);--rank-table-medal-bronze-border-color:rgb(171,135,15,0.45);--rank-table-medal-bronze-text-shadow:none;--antd-calendar-bg:var(--color-fill-bg-container-4);--antd-picker-basic-cell-hover-bg:var(--color-fill-bg-base-1);--antd-picker-basic-cell-active-with-range-color:var(--color-info-bg);--antd-picker-basic-cell-hover-with-range-color:var(--color-info-icon-bg);--antd-picker-panel-header-color:var(--color-normal-text);--antd-picker-panel-cell-color:var(--color-auxiliary-text);--antd-picker-panel-cell-today-color:var(--color-info);--antd-picker-panel-cell-today-border-color:var(--palette-blue-1);--antd-picker-panel-cell-today-hover-border-color:var(\n --color-fill-bg-base-1\n );--antd-picker-panel-cell-today-bg:var(--palette-blue-1);--antd-picker-panel-cell-selected-color:var(--color-strong-text);--antd-picker-panel-cell-selected-bg:var(--color-brand);--antd-picker-footer-bg:var(--color-fill-bg-base-4);--antd-picker-time-panel-cell-color:var(--color-auxiliary-text);--antd-picker-time-panel-cell-selected-bg:var(--checkbox-bg-active);--antd-picker-time-panel-cell-hover-bg:var(--color-fill-bg-base-1);--datetime-selector-label-color:var(--color-header-text);--antd-avatar-bg:var(--palette-gray-6);--antd-avatar-color:var(--color-normal-text);--antd-slider-track-background-color:var(--palette-blue-6);--antd-slider-track-background-color-hover:var(--palette-blue-5);--antd-slider-rail-background-color:var(--color-fill-bg-base-1);--antd-slider-rail-background-color-hover:var(--palette-rgba-gray-5);--antd-slider-handle-color:var(--palette-blue-6);--antd-slider-handle-color-hover:var(--palette-blue-8);--antd-slider-handle-background-color:var(--color-fill-bg-container-1);--antd-slider-dot-border-color-active:var(--palette-blue-7);--antd-slider-mark-text-color:var(--color-disabled-text);--antd-slider-mark-text-active-color:var(--color-normal-text);--antd-slide-dashboard-track-background-color:#2a78f4;--antd-slider-dashboard-track-background-color-hover:var(--palette-blue-5);--antd-slider-dashboard-hander-background-color:var(--color-brand);--antd-slider-dashboard-hander-border-color:#14284a;--antd-slider-dashboard-hander-icon-color:var(--color-white);--antd-slide-dashboard-hander-boxShadow:0px 1px 18px 0px rgba(20,40,74,0.1);--antd-slide-dashboard-hander-color-hover:var(--palette-blue-5);--tag-gray-color:var(--palette-gray-8);--tag-gray-background:var(--palette-rgba-gray-2);--tag-gray-border-color:var(--palette-rgba-gray-3);--tag-green-color:var(--palette-green-7);--tag-green-background:rgba(var(--palette-green-6-channel),0.12);--tag-green-border-color:rgba(var(--palette-green-6-channel),0.2);--tag-red-color:var(--palette-red-7);--tag-red-background:rgba(var(--palette-red-6-channel),0.12);--tag-red-border-color:rgba(var(--palette-red-6-channel),0.2);--tag-blue-color:var(--palette-blue-7);--tag-blue-background:rgba(var(--palette-blue-6-channel),0.12);--tag-blue-border-color:rgba(var(--palette-blue-6-channel),0.3);--tag-orange-color:var(--palette-orange-7);--tag-orange-background:rgba(var(--palette-orange-6-channel),0.12);--tag-orange-border-color:rgba(var(--palette-orange-6-channel),0.2);--tag-cyan-color:var(--palette-cyan-7);--tag-cyan-background:rgba(var(--palette-cyan-6-channel),0.12);--tag-cyan-border-color:rgba(var(--palette-cyan-6-channel),0.2);--tag-purple-color:var(--palette-purple-7);--tag-purple-background:rgba(var(--palette-purple-6-channel),0.12);--tag-purple-border-color:rgba(var(--palette-purple-6-channel),0.3);--tag-geekblue-color:var(--palette-indigo-7);--tag-geekblue-background:rgba(var(--palette-indigo-6-channel),0.12);--tag-geekblue-border-color:rgba(var(--palette-indigo-6-channel),0.2);--tag-yellow-color:var(--palette-yellow-7);--tag-yellow-background:rgba(var(--palette-yellow-6-channel),0.12);--tag-yellow-border-color:rgba(var(--palette-yellow-6-channel),0.2);--tag-pink-color:var(--palette-pink-7);--tag-pink-background:rgba(var(--palette-pink-6-channel),0.12);--tag-pink-border-color:rgba(var(--palette-pink-6-channel),0.3);--tag-teal-color:var(--palette-teal-7);--tag-teal-background:rgba(var(--palette-teal-6-channel),0.12);--tag-teal-border-color:rgba(var(--palette-teal-6-channel),0.2);--tag-blue-inverse-color:var(--palette-blue-6);--tag-green-inverse-color:var(--palette-green-6);--tag-geekblue-inverse-color:var(--palette-indigo-6);--tag-purple-inverse-color:var(--palette-purple-6);--tag-orange-inverse-color:var(--palette-orange-6);--tag-cyan-inverse-color:var(--palette-cyan-6);--tag-red-inverse-color:var(--palette-red-6);--tag-yellow-inverse-color:var(--palette-yellow-6);--tag-gray-inverse-color:var(--palette-gray-6);--tag-pink-inverse-color:var(--palette-pink-6);--tag-teal-inverse-color:var(--palette-teal-6);--tag-inverse-text-color:var(--color-strong-text);--antd-tag-checkable-color:var(--color-normal-text);--antd-tag-checkable-bg:var(--color-fill-bg-base-1);--antd-tag-checkable-checked-color:var(--color-white);--antd-tag-checkable-checked-bg:var(--theme-blue-color);--antd-tag-closable-color:var(--color-normal-text);--antd-tag-closable-bg:var(--color-fill-bg-base-1);--antd-tag-closable-icon-color:var(--color-secondary-text);--antd-tag-closable-icon-hover-bg:var(--color-normal-text);--antd-tag-closable-hover-bg:var(--palette-rgba-gray-5);--antd-tag-closable-disabled-bg:var(--color-text-divider-line);--antd-tag-closable-disabled-color:var(--color-secondary-text);--antd-timeline-title-color:var(--color-header-text);--antd-timeline-title-color-hover:var(--color-brand);--antd-timeline-title-font-size:var(--sub-title-font-size);--antd-timeline-title-font-weight:var(--font-weight-500);--antd-timeline-description-color:var(--color-auxiliary-text);--antd-timeline-description-font-weight:var(--font-weight-400);--antd-timeline-description-font-size:var(--auxiliary-font-size-small);--antd-timeline-datetime-color:var(--color-disabled-text);--antd-timeline-datetime-font-weight:var(--font-weight-400);--antd-timeline-datetime-font-size:var(--auxiliary-font-size-small);--antd-timeline-item-color-green:var(--color-success);--antd-timeline-item-color-red:var(--color-error);--antd-timeline-item-color-blue:var(--color-info);--antd-timeline-item-color-gray:var(--text-color-disabled);--antd-timeline-item-color-cyan:var(--palette-cyan-6);--antd-timeline-item-dot-color-hover:var(--color-normal-icon);--antd-timeline-extension-font-weight:var(--font-weight-400);--antd-timeline-extension-font-size:var(--auxiliary-font-size-small);--antd-timeline-extension-color:var(--color-secondary-text);--antd-timeline-extension-day-font-weight:var(--font-weight-500);--antd-timeline-extension-day-font-size:var(--title-font-size);--antd-timeline-extension-day-color:var(--color-strong-text);--ant-cascader-menus-bg:var(--color-fill-bg-container-4);--antd-cascader-picker-clear-color:var(--palette-rgba-gray-6);--antd-cascader-picker-clear-color-hover:var(--palette-rgba-gray-7);--antd-cascader-picker-arrow-color:var(--palette-rgba-gray-6);--antd-cascader-menu-item-bg-color-hover:var(--color-fill-bg-base-1);--antd-cascader-menu-item-bg-color-active:var(--menu-dropdown-bg);--antd-cascader-menu-item-font-size:var(--normal-font-size);--antd-cascader-menu-item-color:var(--color-normal-text);--antd-cascader-menu-item-font-weight:var(--font-weight-400);--antd-cascader-menu-item-font-weight-active:var(--font-weight-500);--antd-cascader-menu-item-border-width:var(--border-width-base);--antd-cascader-menu-item-border-color:var(--color-border-divider-line);--cmdb-instance-timeline-bg-color:var(--antd-card-background);--cmdb-instance-timeline-top-month-font-weight:var(--font-weight-400);--cmdb-instance-timeline-top-month-font-size:var(\n --auxiliary-font-size-small\n );--cmdb-instance-timeline-top-month-color:var(--color-secondary-text);--cmdb-instance-timeline-left-month-font-weight:var(--font-weight-400);--cmdb-instance-timeline-left-month-font-size:var(\n --auxiliary-font-size-small\n );--cmdb-instance-timeline-left-month-color:var(--color-secondary-text);--cmdb-instance-timeline-left-day-font-weight:var(--font-weight-500);--cmdb-instance-timeline-left-day-font-size:var(--title-font-size);--cmdb-instance-timeline-left-day-color:var(--color-strong-text);--antd-collapse-content-bg:var(--antd-component-background);--antd-upload-drag-bg:var(--palette-rgba-gray-2);--antd-upload-drag-border-color:var(--color-border-divider-line);--antd-upload-drag-hover-bg:var(--color-fill-bg-base-3);--antd-upload-drag-hover-border-color:var(--color-brand);--antd-upload-list-type-picture-bg:var(--color-fill-bg-base-3);--antd-upload-list-type-picture-hover-bg:var(--checkbox-bg-hover);--antd-upload-list-type-picture-border-color:var(\n --color-border-divider-line\n );--antd-upload-list-type-picture-error-bg:var(--color-error-bg);--antd-upload-list-type-picture-error-border-color:var(\n --color-error-outline\n );--antd-upload-select-picture-card-bg:var(--palette-rgba-gray-2);--antd-upload-list-type-picture-card-bg:var(--palette-rgba-gray-2);--antd-upload-list-item-hover-bg:var(--color-fill-bg-base-1);--antd-upload-error-color:var(--color-error);--sub-menu-brick-item-hover-bg:none;--sub-menu-brick-item-active-bg:transparent;--sub-menu-brick-group-bg:var(--menu-submenu-selected-bg);--sub-menu-filter-group-bg:var(--menu-submenu-selected-bg);--sub-menu-filter-transparent-type-item-color:var(--color-normal-text);--sub-menu-filter-transparent-type-item-hover-bg:none;--sub-menu-filter-transparent-type-group-selected-color:var(--color-brand);--sub-menu-filter-transparent-type-group-selected-bg:var(\n --palette-rgba-gray-3\n );--show-color-swatches-bg:#282a2c;--show-color-swatches-dropdown-box-shadow:var(--connected-overlay-shadow);--show-color-swatches-dropdown-item-selected-bg:var(--menu-dropdown-bg);--show-color-swatches-dropdown-item-hover-bg:var(--color-fill-bg-base-1);--hexagon-map-chart-polygon-hover-stroke:#38a4f0;--hexagon-map-chart-fill-default-color:#4c4c4d;--log-display-border-color:#323330;--log-display-bg:#1b1c19;--log-display-color:var(--color-normal-text);--card-item-border-color:var(--color-border-divider-line);--card-item-border-radius:var(--card-inner-border-radius);--card-item-bg:var(--color-fill-bg-container-1);--card-item-hover-shadow:var(--hover-shadow);--card-item-hover-bg:var(--palette-rgba-gray-2);--card-item-title-color:var(--text-color-title);--card-item-sub-title-color:var(--text-color-secondary);--card-item-desc-color:var(--text-color-secondary);--entry-card-item-bg:var(--antd-card-background);--entry-card-item-radius:var(--larger-border-radius);--entry-card-item-color:var(--text-color-default);--entry-card-item-hover-shadow:var(--antd-card-shadow);--entry-card-item-highlight-hover-color:var(--color-brand);--entry-card-item-default-hover-color:var(--color-strong-text);--dropdown-select-shape-type-trigger-shadow:0px 2px 6px 0px rgba(0,0,0,0.4);--dropdown-select-shape-type-disable-bg:var(--color-disabled-text);--monitor-alert-message:var(--palette-blue-4);--monitor-alert-info:var(--palette-amber-4);--monitor-alert-warning:var(--palette-orange-5);--monitor-alert-critical:var(--palette-red-6);--monitor-alert-emergency:var(--palette-red-8)}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:root{--editor-brick-gap:12px;--editor-brick-gap-half:6px;--editor-brick-base-height:32px;--editor-brick-inline-width:150px;--editor-brick-grid-width:300px;--editor-brick-border-radius:4px;--editor-brick-stroke-color:#d9d9d9;--editor-brick-stroke-color-active:#b7b0fe;--editor-brick-skeleton-bg:#d8d8d8;--editor-brick-skeleton-bg-light:#e8e8e8;--editor-brick-skeleton-bg-blue:#c7e3ff;--editor-brick-slot-bg:#f2f5fc;--editor-brick-slot-stroke-color:#52a6f9;--editor-brick-footer-color:#f5f6f8;--editor-brick-toolbar-height:42px;--editor-brick-overlay-padding:20px}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:root,\n[data-override-theme=\"light\"]{--csstools-color-scheme--light:initial;color-scheme:light;--palette-gray-1:#fff;--palette-gray-2:#fafafa;--palette-gray-3:#f5f5f5;--palette-gray-4:#e8e8e8;--palette-gray-5:#d9d9d9;--palette-gray-6:#bfbfbf;--palette-gray-7:#8c8c8c;--palette-gray-8:#595959;--palette-gray-9:#262626;--palette-gray-10:#000;--theme-gray-color-rgb-channel:89,89,89;--theme-gray-color:var(--palette-gray-8);--theme-gray-background:var(--palette-gray-3);--theme-gray-border-color:var(--palette-gray-4);--color-brand:#0071eb;--color-brand-hover:var(--palette-blue-4);--color-brand-active:var(--palette-blue-8);--color-fill-global-bg-1:#f7f8fa;--color-fill-global-bg-2:var(--palette-gray-1);--color-fill-bg-container-1:var(--palette-gray-1);--color-fill-bg-container-2:var(--palette-gray-1);--color-fill-bg-container-3:var(--palette-gray-1);--color-fill-bg-container-4:var(--palette-gray-1);--color-fill-bg-container-5:var(--palette-gray-8);--color-fill-bg-base-1:var(--palette-gray-3);--color-fill-bg-base-2:rgb(255,255,255,0.08);--color-fill-bg-base-3:#f3f4f7;--color-fill-bg-base-4:var(--palette-gray-2);--color-fill-bg-base-5:var(--palette-gray-1);--color-text-divider-line:var(--palette-gray-4);--color-border-divider-line:var(--palette-gray-5);--color-header-text:var(--palette-gray-9);--color-strong-text:var(--palette-gray-9);--color-normal-text:var(--palette-gray-8);--color-auxiliary-text:var(--palette-gray-8);--color-secondary-text:var(--palette-gray-7);--color-disabled-text:var(--palette-gray-6);--color-success:var(--palette-green-6);--color-success-hover:var(--palette-green-4);--color-success-active:var(--palette-green-8);--color-success-bg:rgba(var(--palette-green-2-channel),0.45);--color-success-outline:var(--palette-green-3);--color-info:var(--palette-blue-6);--color-info-hover:var(--palette-blue-4);--color-info-active:var(--palette-blue-8);--color-info-bg:rgba(var(--palette-blue-2-channel),0.45);--color-info-icon-bg:var(--palette-blue-1);--color-info-outline:var(--palette-blue-3);--color-normal-icon:var(--palette-gray-1);--color-selected-icon:rgba(255,255,255,0.85);--color-warning:var(--palette-amber-6);--color-warning-hover:var(--palette-amber-4);--color-warning-active:var(--palette-amber-8);--color-warning-bg:rgba(var(--palette-amber-2-channel),0.45);--color-warning-outline:var(--palette-amber-3);--color-error:var(--palette-red-6);--color-error-hover:var(--palette-red-4);--color-error-active:var(--palette-red-8);--color-error-bg:rgba(var(--palette-red-2-channel),0.45);--color-error-outline:var(--palette-red-3);--color-white:#fff;--small-border-radius:2px;--medius-border-radius:4px;--larger-border-radius:6px;--larger-border-radius-2:12px;--container-border-radius:9999px;--no-border-radius:0px;--chart-border-radius:3px;--special-border-radius:0 0 6px 6px;--special-title-font-size-larger:40px;--special-title-font-size:20px;--special-title-font-size-small:18px;--normal-font-size:14px;--title-font-size-larger:22px;--title-font-size:16px;--sub-menu-title-font-size:18px;--card-title-font-size:16px;--sub-title-font-size-small:12px;--sub-title-font-size:14px;--auxiliary-font-size:14px;--auxiliary-font-size-small:12px;--bread-crumbs-font-size:12px;--overview-data-font-size:30px;--statistical-title-font-size:16px;--special-data-font-size:20px;--normal-data-font-size:16px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--font-weight-200:200;--line-height-base:1.5;--mask-bg:rgba(11,26,47,0.45);--base-shadow:0px 2px 5px 0px rgba(0,0,0,0.04);--feedback-container-shadow:0px 4px 12px 0px rgba(0,0,0,0.15);--top-nav-shadow:0px 2px 8px 0px rgba(0,0,0,0.15);--left-sidebar-shadow:0px 0px 20px 0px rgba(0,0,0,0.08);--right-slide-shadow:-2px 0px 8px 0px rgba(0,0,0,0.14);--left-slide-shadow:2px 0px 8px 0px rgba(0,0,0,0.14);--up-slide-shadow:0px -2px 8px 0px rgba(0,0,0,0.14);--connected-overlay-shadow:0px 2px 8px 0px rgba(0,0,0,0.15);--fullscreen-overlay-shadow:0px 4px 12px 0px rgba(0,0,0,0.15);--hover-shadow:0px 4px 12px 0px rgba(0,0,0,0.15);--slide-up-shadow:0px -2px 8px 0px rgba(0,0,0,0.08);--menu-shadow:2px 0px 0px 0px rgba(0,0,0,0.24);--input-shadow:0px 0px 0px 2px rgba(189,225,255,1);--input-success-shadow:0px 0px 0px 2px rgba(229,255,199,1);--input-error-shadow:0px 0px 0px 2px rgba(255,218,201,1);--chart-shadow:0px 4px 12px 0px rgba(0,0,0,0.15);--border-width-base:1px;--border-width-double-base:2px;--no-border-width:0;--punctate-width-base:1px;--punctate-width-double-base:2px;--paragraph-width-base:1px;--paragraph-width-double-base:2px;--menu-bg:#4e93ef;--menu-item-selected-bg:var(--color-brand);--menu-group-active-bg:var(--palette-blue-7);--menu-collapse-bar-border-color:rgba(255,255,255,0.08);--menu-collapse-bar-bg:rgba(255,255,255,0.08);--menu-submenu-group-active-bg:var(--palette-gray-3);--menu-item-hover:#3e86e6;--menu-submenu-group-selected-bg:var(--palette-gray-3);--menu-submenu-selected-bg:rgba(0,99,206,0.2);--menu-dropdown-bg:var(--palette-blue-1);--app-submenu-bg:var(--palette-gray-1);--app-submenu-active-bg:#e0eeff;--checkbox-bg-hover:var(--palette-gray-3);--checkbox-bg-active:var(--palette-blue-1);--input-outline-hover:var(--palette-blue-6);--input-outline-focus:var(--palette-blue-6);--input-fill-bg:var(--palette-gray-3);--input-outline-fill:var(--palette-gray-1);--input-outline-disabled:var(--palette-gray-3);--input-success-outline:var(--palette-green-6);--input-error-outline:var(--palette-red-6);--chart-legend-font-size:12px;--chart-tooltips-font-size:12px;--chart-axis-x-font-size:12px;--chart-axis-y-font-size:12px;--chart-tooltip-bg:rgba(255,255,255,0.95);--chart-auxiliary-text:#9aa1a9;--chart-outline-select:var(--palette-gray-10);--custom-form-item-wrapper-bg:rgb(245,245,245);--v8-top-navigation-bg:var(--palette-gray-1);--v8-top-menu-item-hover:rgba(0,0,0,0.04);--v8-dropdown-selected-bg:#f0f6ff;--v8-dropdown-selected:#1a7aff;--v8-top-menu-item-selected-bg:var(--palette-blue-1);--v8-left-menu-bg:rgba(255,255,255,0.3);--v8-left-menu-hover-bg:rgba(255,255,255,0.8);--v8-left-sidebar-item-hover:var(--palette-gray-3);--v8-left-sidebar-border-right:linear-gradient(152deg,rgba(255,255,255,0) 0%,#e8e8e8 12%,#e8e8e8 88%,rgba(255,255,255,0) 100%);--v8-left-sidebar-item-normal:#3c4875;--v8-left-secondary-text:#7f8ba6;--dropdown-selected-bg:#f0f6ff;--dropdown-selected:#1a7aff;--top-navigation-bg:var(--palette-gray-1);--top-menu-item-hover-bg:rgba(0,0,0,0.04);--top-menu-item-selected-bg:var(--palette-blue-1);--left-menu-bg:#f7f8fa;--left-menu-hover-bg:#f7f8fa;--left-sidebar-item-selected-bg:var(--palette-blue-6);--left-sidebar-item-selected-hover-bg:var(--palette-blue-4);--left-sidebar-item-hover-bg:rgba(0,0,0,0.04);--left-sidebar-item-normal-color:var(--palette-gray-blue-8);--left-sidebar-item-collapsed-color:rgba(var(--palette-gray-blue-7-channel),0.85);--left-sidebar-item-selected-color:var(--palette-gray-1);--left-secondary-text-color:#7f8ba6;--left-sidebar-large-title-color:var(--palette-gray-blue-9);--left-sidebar-item-collapsed-icon-color:var(--palette-gray-blue-7);--left-sidebar-item-arrow-color:var(--palette-gray-blue-8);--left-sidebar-group-border-color:var(--palette-gray-blue-3);--left-sidebar-border-right:var(--palette-gray-4);--third-menu-default-bg:#ffffff;--third-menu-item-selected-bg:var(--palette-blue-1);--third-menu-item-hover-bg:rgba(0,0,0,0.04);--antd-text-color:rgba(0,0,0,0.85);--antd-primary-color:var(--color-brand);--antd-border-color-split-lighten-80:#fff;--antd-border-color-split:#f0f0f0;--antd-heading-color:rgba(0,0,0,0.85);--antd-label-color:var(--antd-heading-color);--antd-component-background:#fff;--antd-border-color-base:#d9d9d9;--antd-background-color-light:#ebf3fd;--text-color-disabled:#bfbfbf;--antd-background-color-base:#f5f5f5;--antd-item-active-bg:var(--antd-background-color-light);--antd-item-hover-bg:#f5f5f5;--antd-icon-color-hover:rgba(0,0,0,0.75);--antd-error-color:#ff4d4f;--antd-switch-color-fade-20:rgba(189,225,255,1);--antd-error-color-fade-20:rgba(242,76,37,0.2);--antd-link-color:var(--antd-primary-color);--antd-link-hover-color:#2893f7;--antd-link-active-color:#0058c4;--antd-disabled-color-fade-10:rgba(191,191,191,0.9);--antd-menu-bg:#4e93ef;--antd-menu-color:#fff;--antd-menu-highlight-color:var(--color-brand);--antd-menu-title-bg:rgba(255,255,255,0.1);--antd-menu-popup-bg:#fff;--antd-menu-title-color:var(--antd-menu-color);--antd-menu-shadow:3px 0px 8px 0px rgba(218,218,218,0.44);--antd-menu-item-active-bg:#e6f6ff;--antd-menu-item-hover:var(--menu-item-hover);--antd-menu-item-selected-bg:var(--menu-item-selected-bg);--ant-menu-submenu-selected-bg:var(--menu-submenu-selected-bg);--ant-menu-item-group-title-color:rgba(255,255,255,0.65);--ant-menu-collapse-bar-bg-channel:194,225,255;--ant-menu-collapse-bar-bg:rgba(var(--ant-menu-collapse-bar-bg-channel),0.1);--ant-menu-collapse-bar-border-color:rgba(var(--ant-menu-collapse-bar-bg-channel),0.15);--antd-app-submenu-title:rgba(0,0,0,0.85);--antd-app-submenu-bg:var(--antd-menu-popup-bg);--antd-app-submenu-active-bg:var(--app-submenu-active-bg);--antd-app-submenu-shadow:0px 2px 5px 0px rgba(0,0,0,0.04);--antd-app-submenu-group-title-color:var(--antd-text-color-secondary);--app-bar-bg:rgba(255,255,255,1);--app-bar-shadow:0px 3px 20px 0px rgba(128,128,128,0.2);--app-bar-dropdown-menu-item-color:var(--text-color-default);--app-bar-dropdown-menu-item-hover-bg:var(--theme-blue-background);--nav-menu-item-label-color:var(--color-normal-text);--antd-dropdown-menu-bg:var(--antd-component-background);--antd-dropdown-selected-color:var(--color-brand);--antd-checkbox-color:var(--color-brand);--antd-checkbox-bg-hover:var(--checkbox-bg-hover);--antd-checkbox-checked:var(--checkbox-bg-active);--antd-checkbox-check-bg:var(--antd-component-background);--antd-checkbox-custom-type-icon-color:var(--antd-heading-color);--antd-checkbox-custom-type-color:var(--palette-gray-8);--antd-checkbox-custom-type-item-border-color:var(--palette-gray-5);--antd-checkbox-custom-type-item-hover-border-color:#65b2ff;--antd-checkbox-custom-type-disabled-color:var(--color-disabled-text);--antd-checkbox-custom-type-disabled-icon-color:var(--color-disabled-text);--antd-checkbox-color-blue-gray:#778dc3;--antd-checkbox-color-deep-purple:#6641f9;--antd-card-background:var(--antd-component-background);--antd-card-shadow:0px 2px 5px 0px rgba(0,0,0,0.04);--antd-card-inner-border-color:var(--palette-gray-5);--antd-card-footer-bg:var(--color-white);--antd-card-footer-top-border-color:transparent;--antd-dashboard-radio-bg:#f2f5f9;--antd-dashboard-radio-item-bg:#f0f3fa;--antd-dashboard-radio-item-color:#777f99;--antd-dashboard-radio-item-disabled-color:var(--color-disabled-text);--antd-dashboard-radio-item-checked-bg:var(--antd-component-background);--antd-dashboard-radio-item-checked-color:var(--color-info);--antd-dashboard-radio-item-checked-border-color:var(\n --antd-dashboard-radio-bg\n );--antd-dashboard-radio-item-checked-shadow:0 0 0 3px rgb(0,113,235,0.08);--antd-radio-solid-checked-color:var(--antd-component-background);--antd-radio-dot-color-fade-8:rgb(0 113 235 0.08);--antd-radio-dot-color:var(--antd-primary-color);--antd-radio-button-hover-color:#2893f7;--antd-divider-color:rgba(0,0,0,6%);--antd-divider-radiation-color:linear-gradient(to right,transparent,#f9f9f9,#979797,#979797) no-repeat;--antd-divider-radiation-text-color:#262626;--antd-divider-radiation-proportion-normal-text-color:#595959;--antd-divider-radiation-proportion-strong-text-color:#262626;--statistic-card-item-title-color:rgba(140,140,140,1);--statistic-card-item-value-color:#262626;--statistic-card-item-hover-shadow:var(--antd-card-shadow);--statistic-card-item-empty-value-color:var(--color-border-divider-line);--statistic-card-item-larger-type-title-color:rgba(79,79,79,1);--antd-chart-legend-text-color:#595959;--antd-chart-legend-hover-text-color:#595959;--antd-chart-legend-unchecked-text-color:#d8d8d8;--antd-chart-legend-unchecked-mark-color:#d8d8d8;--antd-chart-legend-pageNavigator-marker-color:#000;--antd-chart-legend-pageNavigator-marker-inactive-color:#000;--antd-chart-legend-pageNavigator-text-color:#8c8c8c;--antd-chart-tooltip-bg:rgb(255,255,255);--antd-chart-tooltip-boxShadow:0px 0px 10px #aeaeae;--antd-chart-tooltip-color:var(--antd-chart-legend-text-color);--antd-chart-tooltip-crosshairs-line-color:var(--color-border-divider-line);--antd-chart-label-color:var(--antd-chart-legend-text-color);--antd-chart-axis-text-color:var(--color-secondary-text);--antd-chart-axis-line-color:var(--color-border-divider-line);--antd-chart-axis-grid-line-color:var(--color-text-divider-line);--antd-chart-axis-tick-line-color:var(--color-border-divider-line);--antd-chart-active-region-bg:rgb(204,214,236,0.3);--antd-btn-special-icon-type-color:var(--palette-gray-7);--antd-btn-special-icon-type-bg:var(--palette-gray-3);--antd-btn-special-icon-type-hover-color:var(--color-brand);--antd-btn-special-icon-type-hover-bg:#d8ecff;--antd-btn-special-icon-type-active-color:#378be3;--antd-btn-special-icon-type-active-bg:#bee0fb;--antd-btn-special-icon-type-disabled-color:var(--palette-gray-6);--antd-btn-special-icon-type-disabled-bg:var(--palette-gray-3);--antd-btn-primary-color:#fff;--antd-btn-primary-bg:var(--antd-primary-color);--antd-btn-primary-bg-image:var(--color-brand);--antd-btn-primary-hover-bg:var(--bg-color-button-primary-hover);--antd-btn-primary-hover-color:var(--antd-btn-primary-color);--antd-btn-primary-active-bg:var(--bg-color-button-primary-pressed);--antd-btn-primary-active-color:var(--antd-btn-primary-color);--antd-btn-default-color:var(--palette-gray-8);--antd-btn-default-border:var(--antd-border-color-base);--antd-btn-default-bg:var(--antd-component-background);--antd-btn-default-active-border-color:#0063ce;--antd-btn-default-active-color:#116ac2;--antd-btn-default-hover-color:#53a7fb;--antd-btn-default-hover-border-color:#53a7fb;--antd-btn-danger-bg-image:var(--color-error);--antd-btn-danger-color:#fff;--antd-btn-danger-hover-bg:var(--bg-color-button-danger-hover);--antd-btn-danger-hover-color:var(--antd-btn-danger-color);--antd-btn-danger-active-bg:var(--bg-color-button-danger-pressed);--antd-btn-danger-active-color:var(--antd-btn-danger-color);--antd-btn-link-color:var(--bg-color-button-link);--antd-btn-link-hover-color:var(--bg-color-button-link-hover);--antd-btn-link-active-color:var(--bg-color-button-link-pressed);--antd-btn-fade-text-color:#8c8c8c;--antd-btn-text-hover-color:var(--bg-color-button-link-hover);--antd-btn-text-active-color:var(--bg-color-button-link-pressed);--antd-button-border-radius:3px;--antd-breadcrumb-link-color-hover:var(--antd-link-hover-color);--antd-anchor-radio-type-title-color:#6e6e6e;--antd-anchor-radio-type-bg:var(--color-fill-bg-base-1);--antd-anchor-radio-type-title-active-color:#262626;--antd-anchor-radio-type-title-active-bg:var(--antd-component-background);--antd-anchor-title-font-size:var(--normal-font-size);--antd-anchor-column-bar-bg:var(--antd-border-color-split);--antd-anchor-link-ball-bg:var(--antd-component-background);--antd-anchor-link-ball-color:var(--color-brand);--antd-anchor-title-font-weight:var(--font-weight-400);--antd-input-bg:var(--antd-component-background);--antd-input-color:var(--color-normal-text);--antd-input-focus-border-color:var(--antd-primary-color);--antd-input-hover-border-color:var(--antd-primary-color);--antd-input-placeholder-color:var(--text-color-disabled);--antd-input-border-color:var(--color-border-divider-line);--antd-input-disabled-bg:var(--palette-gray-3);--antd-select-item-selected-bg:var(--menu-dropdown-bg);--antd-select-dropdown-bg:var(--antd-component-background);--antd-select-item-active-bg:var(--color-fill-bg-base-1);--antd-table-bg:var(--antd-component-background);--antd-table-body-sort-bg:#fafafa;--antd-table-border-color:var(--antd-border-color-split);--antd-table-even-bg:var(--antd-table-bg);--antd-table-header-bg:#f2f5f9;--antd-table-header-color:var(--text-color-title);--antd-table-header-filter-active-bg:#d8e1ed;--antd-table-header-sort-active-bg:#e8edf4;--antd-table-header-overwrite-sort-th-active-bg:#e0e5ec;--antd-table-header-overwrite-sort-td-active-bg:#f4f5f7;--antd-table-header-sort-active-filter-bg:#f9fafc;--antd-table-row-hover-bg:var(--antd-background-color-light);--antd-table-selected-row-hover-bg:#dcf2ff;--antd-table-row-selected-border-color:rgba(0,0,0,0.03);--antd-table-row-expand-icon-color:rgba(0,0,0,0.55);--antd-table-row-expand-icon-action-bg:#f5f5f5;--antd-table-row-expand-nested-wrapper:#fafafa;--antd-table-row-expand-nested-wrapper-border:#e8e8e8;--antd-table-expanded-row-bg:#fbfbfb;--antd-table-cell-fixed-header-bg:var(--antd-table-header-bg);--antd-table-cell-fixed-body-bg:var(--antd-component-background);--antd-table-drop-hover-border-color:#1890ff;--antd-pagination-total-text:var(--text-color-disabled);--antd-pagination-total-strong-text:var(--text-color-default);--antd-pagination-item-hover:var(--color-brand);--antd-pagination-item-active-bg:transparent;--antd-pagination-item-active-border:var(--palette-blue-3);--antd-pagination-item-active-text-color:var(--color-brand);--antd-pagination-item-selected-hover-text-color:#2893f7;--antd-pagination-item-selected-hover-border-color:var(\n --antd-pagination-item-active-border\n );--antd-pagination-item-selected-hover-bg:transparent;--antd-modal-footer-bg:#f3f4f7;--antd-modal-mask-bg:var(--mask-bg);--antd-tooltip-bg:var(--color-fill-bg-container-5);--antd-tooltip-color:var(--color-normal-icon);--antd-popover-bg:var(--color-fill-bg-container-4);--antd-popover-color:var(--color-auxiliary-text);--antd-message-bg:var(--antd-component-background);--antd-message-shadow:0 3px 6px -4px rgba(0,0,0,0.12),0 6px 16px 0 rgba(0,0,0,0.08),0 9px 28px 8px rgba(0,0,0,0.05);--antd-message-bg-info:rgba(255,255,255,0.85) linear-gradient(270deg,rgba(255,255,255,0) 0%,rgba(255,255,255,0) 48%,rgba(26,122,255,0.1) 100%);--antd-message-bg-error:rgba(255,255,255,0.85) linear-gradient(270deg,rgba(255,255,255,0) 0%,rgba(255,255,255,0) 48%,rgba(242,76,37,0.1) 100%);--antd-message-bg-success:rgba(255,255,255,0.85) linear-gradient(270deg,rgba(255,255,255,0) 0%,rgba(172,227,146,0) 48%,rgba(82,196,26,0.1) 100%);--antd-message-bg-warn:rgba(255,255,255,0.85) linear-gradient(270deg,rgba(255,255,255,0) 0%,rgba(255,255,255,0) 48%,rgba(247,191,2,0.1) 100%);--antd-message-border:1px solid #ffffff;--antd-message-content-color:rgba(0,0,0,0.65);--antd-transfer-item-hover-bg:var(--palette-gray-3);--antd-transfer-item-selected-hover-bg:var(--antd-checkbox-bg-hover);--antd-transfer-disable-bg:var(--palette-gray-3);--antd-transfer-item-selected-bg:var(--antd-checkbox-bg-hover);--antd-transfer-hover-bg:var(--palette-gray-3);--antd-tabs-shadow:0 2px 5px 0 rgba(0,0,0,0.04);--antd-tabs-title-wrapper-bg:var(--antd-component-background);--antd-tabs-title-wrapper-bg-channel:255,255,255;--antd-tabs-title-border-color:var(--palette-gray-4);--antd-tabs-title-color:var(--text-color-default);--antd-tabs-title-hover-color:#40a9ff;--antd-tabs-title-selected-color:var(--antd-primary-color);--antd-tabs-title-disabled-color:var(--color-disabled-text);--antd-tabs-panel-type-bg:#dae5f5;--antd-tabs-panel-type-shadow:none;--antd-tabs-panel-type-selected-color:var(--color-white);--antd-tabs-panel-type-selected-bg:var(--antd-primary-color);--antd-tabs-panel-type-title-font-size:18px;--antd-tabs-panel-type-tab-title-border:none;--antd-tabs-panel-type-tab-title-radius:6px;--antd-tabs-small-panel-type-title-font-size:18px;--antd-input-number-handler-wrap-bg:var(--palette-gray-3);--antd-input-number-handler-wrap-icon:var(--antd-text-color-secondary);--antd-input-number-handler-wrap-hover-bg:#ebf3fd;--antd-switch-color:var(--color-brand);--antd-switch-bg:var(--antd-component-background);--antd-description-title-color:var(--palette-gray-9);--antd-description-item-label-color:var(--palette-gray-8);--antd-description-item-content-color:var(--palette-gray-9);--cmdb-instance-detail-detail-description-item-label:rgba(0,0,0,0.65);--cmdb-instance-detail-detail-description-item-content:var(\n --antd-heading-color\n );--cmdb-instance-detail-description-group-color:#404143;--cmdb-instance-detail-group-label-bg:var(--palette-gray-3);--cmdb-instance-detail-group-label-color:#333;--cmdb-instance-detail-group-label-active-bg:#167be0;--cmdb-instance-detail-group-label-active-color:var(--color-white);--cmdb-instance-detail-search-container-bg:rgb(250,250,250);--cmdb-instance-detail-search-container-tag-bg:var(--theme-gray-background);--cmdb-instance-detail-search-container-tag-color:var(--text-color-default);--cmdb-instance-detail-search-container-tag-close-hover-color:var(\n --text-color-default\n );--rank-table-medal-gold-background-image:linear-gradient(151deg,#ffb6a6 0%,#f53832 100%);--rank-table-medal-gold-border-color:#fe3f4980;--rank-table-medal-gold-text-shadow:0 0 4px #9d6c04;--rank-table-medal-silver-background-image:linear-gradient(151deg,#fbdb6f 0%,#f67915 100%);--rank-table-medal-silver-border-color:#fe782e80;--rank-table-medal-silver-text-shadow:0 0 4px #98a6ad;--rank-table-medal-bronze-background-image:linear-gradient(151deg,#fbf644 0%,#feba1c 100%);--rank-table-medal-bronze-border-color:#ffd10180;--rank-table-medal-bronze-text-shadow:0 0 4px #7d4604;--antd-calendar-bg:var(--antd-component-background);--antd-picker-basic-cell-hover-bg:var(--antd-background-color-light);--antd-picker-basic-cell-active-with-range-color:var(\n --antd-background-color-light\n );--antd-picker-basic-cell-hover-with-range-color:#9fcdff;--antd-picker-panel-header-color:var(--antd-heading-color);--antd-picker-panel-cell-color:var(--antd-text-color);--antd-picker-panel-cell-today-color:var(--antd-text-color);--antd-picker-panel-cell-today-border-color:var(--color-brand);--antd-picker-panel-cell-today-hover-border-color:var(--color-brand);--antd-picker-panel-cell-today-bg:linear-gradient(45deg,#0071eb 0%,#65b2ff 100%);--antd-picker-panel-cell-selected-color:#fff;--antd-picker-panel-cell-selected-bg:var(--antd-picker-panel-cell-today-bg);--antd-picker-footer-bg:var(--body-background);--antd-picker-time-panel-cell-color:var(--antd-text-color);--antd-picker-time-panel-cell-selected-bg:var(--theme-gray-background);--antd-picker-time-panel-cell-hover-bg:var(--theme-blue-background);--datetime-selector-label-color:var(--text-color-title);--antd-avatar-bg:#ccc;--antd-avatar-color:var(--antd-component-background);--antd-slider-track-background-color:#7ac8ff;--antd-slider-track-background-color-hover:#52b1ff;--antd-slider-rail-background-color:var(--antd-background-color-base);--antd-slider-rail-background-color-hover:#e1e1e1;--antd-slider-handle-color:#7ac8ff;--antd-slider-handle-color-hover:#52b1ff;--antd-slider-handle-background-color:var(--antd-component-background);--antd-slider-dot-border-color-active:#80b8f5;--antd-slider-mark-text-color:var(--antd-text-color-secondary);--antd-slider-mark-text-active-color:var(--antd-text-color);--antd-slide-dashboard-track-background-color:#0060ff;--antd-slider-dashboard-track-background-color-hover:var(\n --antd-slider-track-background-color-hover\n );--antd-slider-dashboard-hander-background-color:var(\n --antd-slide-dashboard-track-background-color\n );--antd-slider-dashboard-hander-border-color:var(--color-white);--antd-slider-dashboard-hander-icon-color:var(\n --antd-slider-dashboard-hander-border-color\n );--antd-slide-dashboard-hander-boxShadow:none;--antd-slide-dashboard-hander-color-hover:var(\n --antd-slider-handle-color-hover\n );--antd-tag-checkable-color:var(--text-color-default);--antd-tag-checkable-bg:var(--theme-gray-background);--antd-tag-checkable-checked-color:var(--color-white);--antd-tag-checkable-checked-bg:var(--theme-blue-color);--antd-tag-closable-color:var(--text-color-default);--antd-tag-closable-bg:var(--theme-gray-background);--antd-tag-closable-icon-color:var(--text-color-secondary);--antd-tag-closable-icon-hover-bg:var(--text-color-default);--antd-tag-closable-hover-bg:var(--stroke-color-default);--antd-tag-closable-disabled-bg:var(--tag-gray-background);--antd-tag-closable-disabled-color:var(--tag-gray-color);--antd-timeline-title-color:var(--color-header-text);--antd-timeline-title-color-hover:var(--color-brand);--antd-timeline-title-font-size:var(--sub-title-font-size);--antd-timeline-title-font-weight:var(--font-weight-500);--antd-timeline-description-color:var(--color-auxiliary-text);--antd-timeline-description-font-weight:var(--font-weight-400);--antd-timeline-description-font-size:var(--auxiliary-font-size-small);--antd-timeline-datetime-color:var(--color-disabled-text);--antd-timeline-datetime-font-weight:var(--font-weight-400);--antd-timeline-datetime-font-size:var(--auxiliary-font-size-small);--antd-timeline-item-tail-color:var(--color-text-divider-line);--antd-timeline-item-tail-border-width:var(--border-width-double-base);--antd-timeline-item-color-green:var(--color-success);--antd-timeline-item-color-red:var(--color-error);--antd-timeline-item-color-blue:var(--color-info);--antd-timeline-item-color-gray:var(--color-disabled-text);--antd-timeline-item-color-cyan:var(--palette-cyan-6);--antd-timeline-item-dot-color-hover:var(--color-normal-icon);--antd-timeline-extension-font-weight:var(--font-weight-400);--antd-timeline-extension-font-size:var(--auxiliary-font-size-small);--antd-timeline-extension-color:var(--color-secondary-text);--antd-timeline-extension-day-font-weight:var(--font-weight-500);--antd-timeline-extension-day-font-size:var(--title-font-size);--antd-timeline-extension-day-color:var(--color-strong-text);--ant-cascader-menus-bg:var(--antd-component-background);--antd-cascader-picker-clear-color:var(--palette-gray-6);--antd-cascader-picker-clear-color-hover:var(--palette-gray-7);--antd-cascader-picker-arrow-color:var(--palette-gray-6);--antd-cascader-menu-item-bg-color-hover:var(--color-fill-bg-base-1);--antd-cascader-menu-item-bg-color-active:var(--menu-dropdown-bg);--antd-cascader-menu-item-font-size:var(--normal-font-size);--antd-cascader-menu-item-color:var(--color-normal-text);--antd-cascader-menu-item-font-weight:var(--font-weight-400);--antd-cascader-menu-item-font-weight-active:var(--font-weight-500);--antd-cascader-menu-item-border-width:var(--border-width-base);--antd-cascader-menu-item-border-color:var(--color-border-divider-line);--antd-tabs-highlight-color:var(--color-brand);--antd-tabs-hover-color:var(--antd-link-hover-color);--cmdb-instance-timeline-bg-color:var(--antd-card-background);--cmdb-instance-timeline-top-month-font-weight:var(--font-weight-400);--cmdb-instance-timeline-top-month-font-size:var(\n --auxiliary-font-size-small\n );--cmdb-instance-timeline-top-month-color:var(--color-secondary-text);--cmdb-instance-timeline-left-month-font-weight:var(--font-weight-400);--cmdb-instance-timeline-left-month-font-size:var(\n --auxiliary-font-size-small\n );--cmdb-instance-timeline-left-month-color:var(--color-secondary-text);--cmdb-instance-timeline-left-day-font-weight:var(--font-weight-500);--cmdb-instance-timeline-left-day-font-size:var(--title-font-size);--cmdb-instance-timeline-left-day-color:var(--color-strong-text);--antd-collapse-white-header-bg:var(--color-fill-bg-container-1);--antd-collapse-gray-header-bg:var(--color-fill-bg-base-1);--antd-collapse-radius-gray-header-bg:var(--color-fill-bg-base-4);--antd-collapse-radius-gray-header-arrow-color:var(--color-auxiliary-text);--antd-collapse-content-bg:var(--antd-component-background);--antd-collapse-title-font-size:16px;--antd-collapse-description-font-size:14px;--antd-collapse-title-font-weight:var(--font-weight-500);--antd-upload-drag-bg:#f8f9fc;--antd-upload-drag-border-color:#b9c6de;--antd-upload-drag-hover-bg:#ebf3fd;--antd-upload-drag-hover-border-color:#0071eb;--antd-upload-list-type-picture-bg:#f8f9fc;--antd-upload-list-type-picture-hover-bg:var(--theme-blue-background);--antd-upload-list-type-picture-border-color:#eceef3;--antd-upload-list-type-picture-card-bg:var(--color-white);--antd-upload-list-type-picture-error-bg:rgba(237,73,60,0.1);--antd-upload-list-type-picture-error-border-color:rgba(237,73,60,0.5);--antd-upload-select-picture-card-bg:var(--theme-gray-background);--antd-upload-list-item-hover-bg:var(--theme-blue-background);--antd-upload-error-color:var(--bg-color-button-danger);--sub-menu-brick-item-hover-bg:#f2f5f9;--sub-menu-brick-item-active-bg:#d8e4f0;--sub-menu-brick-group-bg:#f7f7f7;--sub-menu-filter-group-bg:#f7f7f7;--sub-menu-filter-transparent-type-item-color:var(--color-secondary-text);--sub-menu-filter-transparent-type-item-hover-bg:#ebebeb;--sub-menu-filter-transparent-type-group-selected-color:#116ac3;--sub-menu-filter-transparent-type-group-selected-bg:#ebf3fd;--show-color-swatches-bg:#f4f5fa;--show-color-swatches-dropdown-box-shadow:var(--connected-overlay-shadow);--show-color-swatches-dropdown-item-selected-bg:#e6f7ff;--show-color-swatches-dropdown-item-hover-bg:#f5f5f5;--hexagon-map-chart-polygon-hover-stroke:#2d99ff;--hexagon-map-chart-fill-default-color:#d8d8d8;--log-display-border-color:#292c33;--log-display-bg:#2f333d;--log-display-color:#c5c8c6;--card-item-border-color:var(--stroke-color-default);--card-item-border-radius:var(--card-inner-border-radius);--card-item-bg:var(--antd-component-background);--card-item-hover-shadow:0px 4px 12px 0px rgba(0,0,0,0.15);--card-item-hover-bg:var(--card-item-bg);--card-item-title-color:var(--text-color-title);--card-item-sub-title-color:var(--text-color-secondary);--card-item-desc-color:var(--text-color-secondary);--entry-card-item-bg:var(--antd-card-background);--entry-card-item-radius:var(--larger-border-radius);--entry-card-item-color:var(--text-color-default);--entry-card-item-hover-shadow:var(--antd-card-shadow);--entry-card-item-highlight-hover-color:var(--text-color-link);--entry-card-item-default-hover-color:#08132d;--dropdown-select-shape-type-trigger-shadow:0px 2px 6px 0px #dcdcdc;--dropdown-select-shape-type-disable-bg:#e5e5e5;--page-title-font-size:var(--title-font-size-larger);--page-title-font-weight:var(--font-weight-400);--monitor-alert-message:#6bb3ff;--monitor-alert-info:var(--palette-amber-6);--monitor-alert-warning:var(--palette-orange-6);--monitor-alert-critical:var(--palette-red-7);--monitor-alert-emergency:#590400}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `html[data-ui=\"v8-2\"]{--small-border-radius:3px;--chart-border-radius:4px;--page-title-margin-top:9px;--page-title-margin-bottom:9px;--page-title-font-size:18px;--page-title-font-weight:500;--page-title-line-height:28px;--page-title-toolbar-height:28px;--page-padding:16px 24px 24px 24px;--page-padding-top:16px;--page-card-gap:32px;--grid-card-gap:12px;--side-bar-width:220px;--card-head-padding-horizontal:0;--card-body-padding-horizontal:0;--tabs-outlined-shadow:var(--connected-overlay-shadow);--description-header-padding:20px 0 0 0;--description-content-padding:0;--category-item-padding:16px 0;--category-header-padding:0 0 16px;--category-content-padding:0;--category-split-margin:0;--special-title-font-size-small:24px;--title-font-size-larger:18px;--sub-menu-title-font-size:16px;--title-font-size:14px}html[data-ui=\"v8-2\"],\nhtml[data-ui=\"v8-2\"] [data-override-theme=\"light\"]{--color-brand:#1a7aff;--color-fill-global-bg-1:var(--palette-gray-1);--color-fill-global-bg-2:var(--palette-gray-1);--color-fill-global-bg-3:var(--palette-gray-1);--color-fill-bg-container-1:var(--palette-gray-1);--color-fill-bg-base-4:#f7f8fa;--color-fill-bg-base-6:#f7f8fa;--color-fill-bg-base-7:var(--palette-gray-3);--color-success-bg:var(--palette-green-1);--color-info-bg:var(--palette-blue-1);--color-warn-bg:var(--palette-amber-1);--color-error-bg:var(--palette-red-1);--body-background:var(--color-fill-global-bg-1);--wide-color:\"#F4F6F9\";--sidebar-bg:#f7f8fa;--description-border-bottom-color:rgba(232,232,232,0.6);--mask-blur:0;--base-shadow:0px 2px 8px 0px rgba(0,0,0,0.15);--connected-overlay-shadow:0px 3px 6px -4px rgba(0,0,0,0.12),0px 6px 16px 0px rgba(0,0,0,0.08),0px 9px 28px 8px rgba(0,0,0,0.05);--second-menu-selected-shadow:0px 2px 12px 0px rgba(26,122,255,0.3)}html[data-theme=\"dark\"][data-ui=\"v8-2\"],\nhtml[data-theme=\"dark-v2\"][data-ui=\"v8-2\"],\nhtml[data-ui=\"v8-2\"] [data-override-theme=\"dark\"],\nhtml[data-ui=\"v8-2\"] [data-override-theme=\"dark-v2\"]{--color-fill-global-bg-1:#202024;--color-fill-global-bg-2:#202024;--color-fill-global-bg-3:#202024;--color-fill-bg-container-1:#202024;--color-fill-bg-base-4:var(--palette-rgba-gray-3);--color-fill-bg-base-5:var(--palette-rgba-gray-3);--color-fill-bg-base-6:#323236;--color-fill-bg-base-7:#323236;--color-success-bg:var(--palette-green-2);--color-info-bg:var(--palette-blue-2);--color-warning-bg:var(--palette-amber-2);--color-error-bg:var(--palette-red-2);--mask-bg:rgba(23,23,26,0.7);--mask-blur:1;--base-shadow:0px 1px 18px 0px rgba(0,0,0,0.1);--second-menu-selected-shadow:0px 2px 12px 0px rgba(63,117,221,0.3)}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:root{--business-narrow-viewport-max-width:1200px;--business-narrow-viewport-padding-horizontal:20px}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:root,\n[data-override-theme=\"light\"]{--bg-color-table-head:var(--antd-table-header-bg);--bg-color-list-hover:var(--antd-background-color-light);--bg-color-input-focus:#d6e8fb;--bg-color-button-primary-hover:#65b2ff;--bg-color-button-primary:var(--antd-primary-color);--bg-color-button-primary-pressed:#0063ce;--bg-color-button-danger-hover:#ff867d;--bg-color-button-danger:#f0493c;--bg-color-button-danger-pressed:#e34236;--bg-color-button-success-hover:#71d58f;--bg-color-button-success:#2fc25b;--bg-color-button-success-pressed:#259c49;--bg-color-button-warning-hover:#ffb968;--bg-color-button-warning:#ffa235;--bg-color-button-warning-pressed:#e6922f;--bg-color-button-link:var(--antd-link-color);--bg-color-button-link-hover:#53a7fb;--bg-color-button-link-pressed:#116ac2;--stroke-color-default:#e8e8e8;--fill-color-gray-light:#fafafa;--fill-color-gray-default:#f5f5f5;--fill-color-gray-dark:#d9d9d9;--text-color-default:#595959;--text-color-title:#262626;--text-color-secondary:#8c8c8c;--text-color-link:var(--antd-link-color);--menu-bar-width:240px;--menu-bar-collapsed-width:60px;--menu-bar-collapse-transition-duration:250ms;--menu-bar-collapse-transition-timing-function:ease-out;--sub-menu-bar-width:220px;--side-bar-width:208px;--side-bar-collapsed-width:60px;--side-bar-collapse-transition-duration:400ms;--side-bar-collapse-transition-timing-function:ease;--sidebar-bg:#f7f8fa;--app-bar-height:54px;--nav-bar-height:52px;--launchpad-backdrop-filter:blur(5px);--launchpad-backdrop-transition:filter 100ms ease-out;--page-padding:24px;--page-padding-top:24px;--page-padding-right:24px;--page-padding-bottom:24px;--page-padding-left:24px;--page-title-font-size:24px;--page-title-font-weight:500;--page-title-line-height:28px;--page-title-height:32px;--page-card-gap:20px;--page-title-margin-top:9px;--page-title-margin-bottom:9px;--toolbar-button-gap:8px;--grid-card-gap:16px;--grid-card-gap-large:16px;--easy-view-gap:16px;--tag-gray-color:var(--palette-gray-7);--tag-gray-background:var(--palette-gray-3);--tag-gray-border-color:transparent;--tag-green-color:var(--palette-green-6);--tag-green-background:var(--palette-green-1);--tag-green-border-color:transparent;--tag-red-color:var(--palette-red-6);--tag-red-background:var(--palette-red-1);--tag-red-border-color:transparent;--tag-blue-color:var(--palette-blue-6);--tag-blue-background:var(--palette-blue-1);--tag-blue-border-color:transparent;--tag-orange-color:var(--palette-orange-6);--tag-orange-background:var(--palette-orange-1);--tag-orange-border-color:transparent;--tag-cyan-color:var(--palette-cyan-6);--tag-cyan-background:var(--palette-cyan-1);--tag-cyan-border-color:transparent;--tag-purple-color:var(--palette-purple-6);--tag-purple-background:var(--palette-purple-1);--tag-purple-border-color:transparent;--tag-geekblue-color:var(--palette-indigo-6);--tag-geekblue-background:var(--palette-indigo-1);--tag-geekblue-border-color:transparent;--tag-grayblue-color:var(--palette-gray-blue-6);--tag-grayblue-background:var(--palette-gray-blue-1);--tag-grayblue-border-color:transparent;--tag-yellow-color:var(--palette-yellow-6);--tag-yellow-background:var(--palette-yellow-1);--tag-yellow-border-color:transparent;--tag-pink-color:var(--palette-pink-6);--tag-pink-background:var(--palette-pink-1);--tag-pink-border-color:transparent;--tag-teal-color:var(--palette-teal-6);--tag-teal-background:var(--palette-teal-1);--tag-teal-border-color:transparent;--tag-blue-inverse-color:var(--tag-blue-color);--tag-green-inverse-color:var(--tag-green-color);--tag-geekblue-inverse-color:var(--tag-geekblue-color);--tag-purple-inverse-color:var(--tag-purple-color);--tag-orange-inverse-color:var(--tag-orange-color);--tag-cyan-inverse-color:var(--tag-cyan-color);--tag-red-inverse-color:var(--tag-red-color);--tag-yellow-inverse-color:var(--tag-yellow-color);--tag-pink-inverse-color:var(--tag-pink-color);--tag-teal-inverse-color:var(--tag-teal-color);--tag-gray-inverse-color:var(--tag-gray-color);--tag-grayblue-inverse-color:var(--tag-grayblue-color);--tag-inverse-text-color:#ffffffd9;--sub-menu-width:240px;--card-content-gap:16px;--card-default-border-radius:6px;--card-default-border:none;--card-default-background:var(--antd-card-background);--card-transition:all 0.1s;--card-inner-border-radius:6px;--card-inner-border:1px solid #d9d9d9;--card-hover-border-color:transparent;--card-hover-box-shadow:0px 4px 12px 0px rgba(0,0,0,0.15);--card-head-padding-vertical:12px;--card-head-padding-horizontal-base:20px;--card-head-padding-horizontal:var(--card-head-padding-horizontal-base);--card-head-padding:var(--card-head-padding-vertical) var(--card-head-padding-horizontal);--card-body-padding-vertical:16px;--card-body-padding-horizontal-base:24px;--card-body-padding-horizontal:var(--card-body-padding-horizontal-base);--card-body-padding:var(--card-body-padding-vertical) var(--card-body-padding-horizontal);--card-border-color-split:var(--antd-border-color-split);--description-header-padding:20px 20px 0 20px;--description-content-padding:6px 24px;--description-border-bottom-color:transparent;--category-item-padding:0;--category-header-padding:32px 20px 0 20px;--category-content-padding:24px 20px 24px 31px;--category-split-margin:0 20px;--tabs-header-padding:0;--tabs-content-padding:16px 0;--tabs-outlined-header-padding:0 16px;--tabs-outlined-content-padding:16px;--tabs-outlined-border-radius:6px;--tabs-outlined-background:var(--antd-tabs-title-wrapper-bg);--tabs-outlined-shadow:var(--antd-tabs-shadow);--theme-slategray-color-rgb-channel:101,119,154;--theme-slategray-color:rgb(var(--theme-slategray-color-rgb-channel));--theme-doderblue-color-rgb-channel:26,122,255;--theme-doderblue-color:rgb(var(--theme-doderblue-color-rgb-channel));--theme-doderblue-background:#d6eaff;--theme-doderblue-border-color:#5dacf9;--theme-royalblue-color-rgb-channel:91,143,250;--theme-royalblue-color:rgb(var(--theme-royalblue-color-rgb-channel));--theme-lightorange-color-rgb-channel:248,175,81;--theme-lightorange-color:rgb(var(--theme-lightorange-color-rgb-channel));--theme-lightorange-border-color:#f9c179;--theme-goldenrod-color-rgb-channel:236,199,97;--theme-goldenrod-color:rgb(var(--theme-goldenrod-color-rgb-channel));--theme-goldenrod-border-color:#fade86;--theme-jewelryblue-color-rgb-channel:97,227,255;--theme-jewelryblue-color:rgb(var(--theme-jewelryblue-color-rgb-channel));--theme-orangered-color-rgb-channel:248,125,96;--theme-orangered-color:rgb(var(--theme-orangered-color-rgb-channel));--theme-orangered-border-color:#f3917a;--theme-springgreen-color-rgb-channel:86,189,139;--theme-springgreen-color:rgb(var(--theme-springgreen-color-rgb-channel));--theme-springgreen-border-color:#62dca9;--theme-mediumpurple-color-rgb-channel:162,152,252;--theme-mediumpurple-color:rgb(var(--theme-mediumpurple-color-rgb-channel));--theme-skyblue-color-rgb-channel:138,211,241;--theme-skyblue-color:rgb(var(--theme-skyblue-color-rgb-channel));--theme-yellowgreen-color-rgb-channel:149,212,108;--theme-yellowgreen-color:rgb(var(--theme-yellowgreen-color-rgb-channel));--theme-lightpurple-color-rgb-channel:165,171,254;--theme-lightpurple-color:rgb(var(--theme-lightpurple-color-rgb-channel));--body-background:#f3f4f7;--antd-box-shadow-base:0 3px 6px -4px rgba(0,0,0,0.12),0 6px 16px 0 rgba(0,0,0,0.08),0 9px 28px 8px rgba(0,0,0,0.05);--antd-column-active-bg:rgba(235,243,253,0.8);--antd-modal-mask-bg-fade-10:rgba(0,0,0,0.1);--antd-text-color-secondary:rgba(0,0,0,0.45);--antd-card-background:var(--antd-component-background);--antd-card-head-border-bottom-color:var(--antd-border-color-split);--antd-pagination-item-disabled-bg-active:#ddd;--antd-text-color-secondary-shade-40:rgba(0,0,0,0.78)}html[data-theme=\"dark\"],\n[data-override-theme=\"dark\"]{--bg-color-button-primary-hover:#2580c8;--bg-color-button-primary:var(--antd-primary-color);--bg-color-button-primary-pressed:#4daffa;--body-background:#091022;--stroke-color-default:#303030;--text-color-default:rgba(255,255,255,0.85);--text-color-disabled:rgba(255,255,255,0.3);--text-color-secondary:#c6cfd9;--text-color-title:var(--text-color-default);--antd-background-color-base:rgba(255,255,255,0.08);--antd-background-color-light:#004482;--antd-border-color-base:rgba(255,255,255,0.2);--antd-border-color-split-lighten-80:rgba(51,51,51,0.1);--antd-border-color-split:rgba(255,255,255,0.1);--antd-box-shadow-base:0px 9px 28px 8px rgba(0,0,0,0.2),0px 6px 16px 0px rgba(0,0,0,0.32),0px 3px 6px -4px rgba(0,0,0,0.48);--antd-column-active-bg:rgba(53,102,147,0.8);--antd-component-background:#373e58;--antd-heading-color:var(--text-color-default);--antd-item-active-bg:#356693;--antd-item-hover-bg:var(--antd-background-color-base);--antd-primary-color:#2fa1fa;--antd-text-color-secondary:rgba(255,255,255,0.45);--antd-text-color:rgba(255,255,255,0.65);--antd-input-border-color:rgba(255,255,255,0.2);--antd-btn-default-border:rgba(255,255,255,0.2);--antd-input-placeholder-color:rgba(255,255,255,0.3);--antd-input-color:rgba(255,255,255,0.85);--antd-btn-default-bg:transparent;--antd-btn-default-color:rgba(255,255,255,0.85);--antd-btn-default-active-border-color:#4daffa;--antd-btn-default-active-color:#4daffa;--antd-btn-default-hover-border-color:#2580c8;--antd-btn-default-hover-color:#2580c8;--antd-card-background:rgba(255,255,255,0.04);--antd-card-head-border-bottom-color:var(--antd-component-background);--antd-input-bg:rgba(0,0,0,0.35);--antd-input-hover-border-color:#2672b2;--antd-pagination-item-disabled-bg-active:rgba(255,255,255,0.09);--antd-picker-basic-cell-active-with-range-color:#111b26;--antd-picker-basic-cell-hover-with-range-color:#06213a;--antd-radio-solid-checked-color:#fff;--antd-select-dropdown-bg:#282d3f;--antd-select-item-active-bg:var(--antd-background-color-base);--antd-select-item-selected-bg:#193656;--antd-table-bg:transparent;--antd-table-body-sort-bg:rgba(255,255,255,0.01);--antd-table-border-color:var(--antd-table-bg);--antd-table-even-bg:rgba(255,255,255,0.04);--antd-table-header-bg:#202d4b;--antd-table-header-filter-active-bg:#052760;--antd-table-header-sort-active-bg:#05255c;--antd-table-header-sort-active-filter-bg:#052357;--antd-table-row-hover-bg:var(--antd-background-color-base);--color-fill-bg-container-5:rgba(0,0,0,0.75);--color-fill-bg-container-4:var(--antd-component-background);--antd-popover-color:var(--antd-text-color);--antd-modal-mask-bg:rgba(11,26,47,0.45)}html:not([data-theme=\"dark-v2\"]) body.compact-layout{--page-card-gap:10px}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../../../postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./ui-v8-2.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, ``, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../../postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./generated.css\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_1___ from \"-!../../../css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../../postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./default.css\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_2___ from \"-!../../../css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../../postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./dark.css\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_3___ from \"-!../../../css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../../postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./variables.css\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_4___ from \"-!../../../css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../../postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./business-variables.css\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_5___ from \"-!../../../css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../../postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./editor-bricks-variables.css\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_6___ from \"-!../../../css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../../postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./version/index.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_2___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_3___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_4___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_5___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_6___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, ``, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n"],"names":["options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","undefined","___CSS_LOADER_EXPORT___","push","module","id","i"],"sourceRoot":""}
@@ -1,3 +0,0 @@
1
- /*! For license information please see 4185.f5e1f846.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunk_next_bricks_ai=globalThis.webpackChunk_next_bricks_ai||[]).push([[4185],{829:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2559);function o(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2016);function o(e,t,n){(0,r.A)(e,t),t.set(e,n)}},1369:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(7545);function o(e){var t=function(e){if("object"!=(0,r.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=(0,r.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},2016:(e,t,n)=>{function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},2559:(e,t,n)=>{function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},4185:(e,t,n)=>{n.r(t),n.d(t,{Dialog:()=>Xt,Notification:()=>on,StoryboardFunctionRegistryFactory:()=>pe,__secret_internals:()=>r,__test_only:()=>{},applyTheme:()=>te,authenticate:()=>Pa,batchSetAppsLocalTheme:()=>ne,checkIfByTransform:()=>St,checkIfOfComputed:()=>Et,createHistory:()=>A,createRuntime:()=>wa,customEditors:()=>$a,customProcessors:()=>M,customTemplates:()=>Pe,fetchByProvider:()=>Na,getAuth:()=>xa,getBasePath:()=>p,getCssPropertyValue:()=>ce,getCurrentMode:()=>ie,getCurrentTheme:()=>ee,getHistory:()=>k,getPageInfo:()=>fo,getRealValue:()=>Fa,getRuntime:()=>Ea,getV2RuntimeFromDll:()=>S,handleHttpError:()=>rn,httpErrorToString:()=>Qt,instantiateModalStack:()=>ja,isLoggedIn:()=>La,isNetworkError:()=>go,isUnauthenticatedError:()=>Zt,logout:()=>Ma,matchPath:()=>$t,registerWidgetFunctions:()=>$e,registerWidgetI18n:()=>N,resetReloadForError:()=>wo,setUIVersion:()=>ho,shouldReloadForError:()=>yo,unstable_createRoot:()=>Ua});var r={};n.r(r),n.d(r,{addRealTimeDataInspectHook:()=>Pr,debugDataValue:()=>Cr,getAddedContracts:()=>Ir,getAllContextValues:()=>wr,getBrickPackagesById:()=>Er,getContextValue:()=>yr,getLegalRuntimeValue:()=>Rr,getRenderId:()=>kr,legacyDoTransform:()=>ur,loadBricks:()=>Sr,loadEditors:()=>Ar,mountUseBrick:()=>cr,renderUseBrick:()=>sr,setRealTimeDataInspectRoot:()=>_r,symbolForRootRuntimeContext:()=>ir,unmountUseBrick:()=>lr,updateSnippetPreviewSettings:()=>vr,updateStoryboard:()=>dr,updateStoryboardByRoute:()=>fr,updateStoryboardBySnippet:()=>gr,updateStoryboardByTemplate:()=>pr,updateTemplatePreviewSettings:()=>hr});var o=n(4586),a=n(918),i=n(6121),s=n(829),c=n(1147),l=n(5599),u=n(2304),d=n(1916),f=(n(1858),n(1732));function p(){const e=document.querySelector("base");return e?e.getAttribute("href"):"/"}var h=n(563);function m(e,t){const n=(0,h.orderBy)(e,(e=>{var t,n;return null!==(t=null===(n=e.app.homepage)||void 0===n?void 0:n.length)&&void 0!==t?t:0}),"desc");for(const e of n){const n=e.app.homepage;if("string"==typeof n&&"/"===n[0]&&g(n,t))return e}}function g(e,t){return"/"===e?t===e:`${t.replace(/\/+$/,"")}/`.startsWith(`${e.replace(/\/+$/,"")}/`)}function v(e){var t;return!e||(null===(t=Ea().getCurrentApp())||void 0===t?void 0:t.id)!==e.app.id&&!window.STANDALONE_MICRO_APPS&&e.app.standaloneMode}let b,y=!1;function w(e,t){y=!confirm(e),t(!y)}function E(e){const{push:t,replace:n}=e;function r(r){return function(o,a,i){let s;const c="string"==typeof o;return s=c?(0,f.parsePath)(o).pathname:o.pathname,"string"==typeof s&&s.startsWith("/")&&v(function(e){var t,n;return m(null!==(t=null===(n=ga)||void 0===n?void 0:n.storyboards)&&void 0!==t?t:[],e)}(s))?location["push"===r?"assign":"replace"](c?p()+o.substring(1):e.createHref(o)):("push"===r?t:n)(o,a,i)}}return{push:r("push"),replace:r("replace")}}function S(){var e;const{dll:t}=window;if(t&&null!==(e=window.BRICK_NEXT_VERSIONS)&&void 0!==e&&null!==(e=e["brick-container"])&&void 0!==e&&e.startsWith("2."))return t("tYg3")}function A(){if(!b){const e=(0,f.createBrowserHistory)({basename:p().replace(/\/$/,""),getUserConfirmation:w});Object.assign(e,function(e){const{push:t,replace:n}=e;function r(e,n,r){y=!1,t(e,n),null==r||r(y)}function o(e,t,r){y=!1,n(e,t),null==r||r(y)}function a(t){return function(n){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;const{extraQuery:s,clear:c,keepHash:l,...u}=a,d=new URLSearchParams(c?"":e.location.search),f={};Object.assign(f,n,s);for(const[e,t]of Object.entries(f))if(Array.isArray(t)){d.delete(e);for(const n of t)d.append(e,n)}else null==t||""===t?d.delete(e):d.set(e,t);("push"===t?r:o)(`?${d.toString()}${l?e.location.hash:""}`,u,i)}}let i;return{pushQuery:a("push"),replaceQuery:a("replace"),pushAnchor:function(t,n,o){r({...e.location,key:void 0,hash:t,state:{notify:!1,...n}},void 0,o)},reload:function(t){o({...e.location,state:{...e.location.state,notify:!0,noIncremental:!0}},void 0,t)},setBlockMessage:function(e){i=e},getBlockMessage:function(){return i},unblock:function(){i=void 0},...E({...e,push:r,replace:o})}}(e)),b=e}return b}const k=function(){const e=S();if(e)return e.getHistory}()||function(){return b};var I=n(4635),C=n(2559),R=n(1361),O=n(1321),T=n(2692),_=n(9283),P=n(4167),x=new WeakMap;const M=function(){const e=S();if(e)return Object.freeze({define:(t,n)=>e.getRuntime().registerCustomProcessor(t,n)})}()||new class{constructor(){(0,a.A)(this,x,new Map)}define(e,t){const[n,r]=e.split(".");let o=(0,s.A)(x,this).get(n);if(o||(o=new Map,(0,s.A)(x,this).set(n,o)),o.has(r))throw new Error(`Custom processor of "${e}" already registered`);o.set(r,t)}get(e){return(0,s.A)(x,this).get(e)}};function L(e){let{app:t,meta:n}=e;if(null!=n&&n.i18n){const e=B("app",t.id),r=[];return Object.entries(n.i18n).forEach((t=>{let[n,o]=t;c.i18n.addResourceBundle(n,e,o),r.push(n)})),()=>{for(const t of r)c.i18n.removeResourceBundle(t,e)}}}function B(e,t){return`${e}/${t}`}function $(e){return c.i18n.getFixedT(null,B("widget",e))}const N=function(){const e=S();if(e)return function(t,n){return e.getRuntime().registerWidgetI18n(t,n)}}()||function(e,t){const n=B("widget",e);Object.entries(t).forEach((e=>{let[t,r]=e;c.i18n.addResourceBundle(t,n,r)}))},U="brick-next-devtools-panel",F="devtools-frame-active-change",D="devtools-panel-change";let j,K=!0;function V(e,t){const n=W();if(!n||"evaluation"===e&&(!K||j&&"Evaluations"!==j))return;const r=()=>{var r;null===(r=n.emit)||void 0===r||r.call(n,{type:e,payload:t})};"function"==typeof window.requestIdleCallback?window.requestIdleCallback(r):setTimeout(r,0)}function W(){return window.__BRICK_NEXT_DEVTOOLS_HOOK__}const H=()=>{throw new Error("Can't modify read-only proxy object")},z={set:H,defineProperty:H,deleteProperty:H,setPrototypeOf:H};function G(e){return new Proxy(e,z)}function q(e){let{get:t,ownKeys:n}=e;return W()?G(Object.fromEntries(n(null).map((e=>[e,t(null,e,null)])))):new Proxy(Object.freeze({}),{get:t})}let Y="light";const X=new u.JsonStorage(localStorage),J="apps-theme";function Q(e){if("dark"!==e&&"light"!==e&&"dark-v2"!==e)throw new Error(`Unsupported theme: ${e}`);Y=e}function Z(){return Y}function ee(){return document.documentElement.dataset.theme}function te(e){e?Q(e):e=Z(),e!==ee()&&(document.documentElement.dataset.theme=e,window.dispatchEvent(new CustomEvent("theme.change",{detail:e})))}function ne(e){X.setItem(J,{...re(),...e})}function re(){let e;try{e=X.getItem(J)}catch{console.error("JSON parse error inside `getLocalAppsTheme()`")}return null!=e?e:{}}let oe="default";function ae(e){if("dashboard"!==e&&"default"!==e)throw new Error(`Unsupported mode: ${e}`);oe=e}function ie(){return document.documentElement.dataset.mode}function se(e){e?ae(e):e=oe,e!==ie()&&(document.documentElement.dataset.mode=e,window.dispatchEvent(new CustomEvent("mode.change",{detail:e})))}function ce(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return n&&(null===(t=window.getComputedStyle(n))||void 0===t?void 0:t.getPropertyValue(e))||""}function le(e,t){const n={};for(const r of e){const e=ue(r,t);void 0!==e&&(n[r]=e)}return n}function ue(e,t){var n,r,o;let{collectCoverage:a,widgetId:i,widgetVersion:s,app:l,appendI18nNamespace:u,storyboardFunctions:d,isStoryboardFunction:f}=t;switch(e){case"BASE_URL":return a?"/next":p().replace(/\/$/,"");case"FN":return d;case"IMG":return a?{get:e=>`mock/images/${e}`}:i?null==ya||null===(n=ya.images)||void 0===n?void 0:n.widgetImagesFactory(i,s):null==ya||null===(r=ya.images)||void 0===r?void 0:r.imagesFactory(l.id,l.isBuildPush,l.currentVersion);case"I18N":return a?h.identity:i?$(i):c.i18n.getFixedT(null,[u,B("app",l.id)].filter(Boolean));case"I18N_TEXT":return a?de:c.i18nText;case"PERMISSIONS":return G({check:a?fe:null==ya||null===(o=ya.checkPermissions)||void 0===o?void 0:o.checkPermissions});case"THEME":return G({getTheme:a?()=>"light":Z,getCssPropertyValue:a?()=>"":ce});case"console":return f?G(console):void 0;case"location":return a?{href:"http://localhost:3000/functions/test",origin:"http://localhost:3000",host:"localhost:3000",hostname:"localhost"}:{href:location.href,origin:location.origin,host:location.host,hostname:location.hostname}}}function de(e){return null==e?void 0:e.en}function fe(){return!0}function pe(){let{widgetId:e,widgetVersion:t,collectCoverage:n,debuggerOverrides:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const o=new Map,a=null==r?void 0:r({precookFunction:O.precookFunction,cook:O.cook,supply:P.supply}),i=new Proxy(Object.freeze({}),{get:(e,t)=>function(e){const t=o.get(e);if(!t)return;if(t.processed)return t.cooked;let i;n&&(i=n.createCollector(e));const s=!a&&!i&&t.transformed;if(s){const e=c(s.globals);t.cooked=new Function(...s.globals,`"use strict";return (${s.source})`)(...s.globals.map((t=>(0,u.hasOwnProperty)(e,t)?e[t]:void 0)))}else{const e=(0,O.precookFunction)(t.source,{typescript:t.typescript,hooks:i&&{beforeVisit:i.beforeVisit},cacheKey:t}),n=c(e.attemptToVisitGlobals);t.cooked=(0,O.cook)(e.function,t.source,{rules:{noVar:!0},globalVariables:a?{...n,...null!=a&&a.LodashWithStaticFields&&e.attemptToVisitGlobals.has("_")?{_:{...n._,...a.LodashWithStaticFields}}:null,...null!=a&&a.ArrayConstructor&&e.attemptToVisitGlobals.has("Array")?{Array:a.ArrayConstructor}:null,...null!=a&&a.ObjectWithStaticFields&&e.attemptToVisitGlobals.has("Object")?{Object:{...n.Object,...a.ObjectWithStaticFields}}:null}:n,ArrayConstructor:null==a?void 0:a.ArrayConstructor,hooks:i&&{beforeEvaluate:i.beforeEvaluate,beforeCall:i.beforeCall,beforeBranch:i.beforeBranch},debug:!!r})}return t.processed=!0,t.cooked}(t)});let s;function c(r){return(0,P.supply)(r,le(r,{collectCoverage:n,widgetId:e,widgetVersion:t,app:s,storyboardFunctions:i,isStoryboardFunction:!0}),!!n)}return{storyboardFunctions:i,registerStoryboardFunctions:function(e,t){if(t&&(s=t),o.clear(),Array.isArray(e))for(const t of e){var r;let e=t.deps;null==e&&(e=(0,T.collectMemberUsageInFunction)(t,"FN",!!n),e.delete(t.name));const a=null!==(r=t.perm)&&void 0!==r?r:(0,T.collectMemberUsageInFunction)(t,"PERMISSIONS",!!n).has("check");o.set(t.name,{source:t.source,typescript:t.typescript,transformed:t.transformed,deps:e,hasPermissionsCheck:a})}},updateStoryboardFunction(e,t){const n={...t,name:e},r=(0,T.collectMemberUsageInFunction)(n,"FN",!0),a=(0,T.collectMemberUsageInFunction)(n,"PERMISSIONS",!0).has("check");o.set(e,{source:t.source,typescript:t.typescript,transformed:t.transformed,deps:r,hasPermissionsCheck:a})},checkPermissionsUsage(e){const t=new Set,n=e=>{if(!t.has(e)){t.add(e);const r=o.get(e);return!!r&&(r.hasPermissionsCheck||[...r.deps].some(n))}return!1};return e.some(n)},clearGlobalExecutionContextStack(){(0,O.__dev_only_clearGlobalExecutionContextStack)()},getGlobalExecutionContextStack:()=>(0,O.__dev_only_getGlobalExecutionContextStack)()}}const{storyboardFunctions:he,registerStoryboardFunctions:me,checkPermissionsUsage:ge}=pe();var ve={};try{ve.EventTarget=(new EventTarget).constructor}catch(e){!function(e,t){var n=e.create,r=e.defineProperty,o=a.prototype;function a(){t.set(this,n(null))}function i(e,t,n){r(e,t,{configurable:!0,writable:!0,value:n})}function s(e){var t=e.options;return t&&t.once&&e.target.removeEventListener(this.type,e.listener),"function"==typeof e.listener?e.listener.call(e.target,this):e.listener.handleEvent(this),this._stopImmediatePropagationFlag}i(o,"addEventListener",(function(e,n,r){for(var o=t.get(this),a=o[e]||(o[e]=[]),i=0,s=a.length;i<s;i++)if(a[i].listener===n)return;a.push({target:this,listener:n,options:r})})),i(o,"dispatchEvent",(function(e){var n=t.get(this)[e.type];return n&&(i(e,"target",this),i(e,"currentTarget",this),n.slice(0).some(s,e),delete e.currentTarget,delete e.target),!0})),i(o,"removeEventListener",(function(e,n){for(var r=t.get(this),o=r[e]||(r[e]=[]),a=0,i=o.length;a<i;a++)if(o[a].listener===n)return void o.splice(a,1)})),ve.EventTarget=a}(Object,new WeakMap)}const be=ve.EventTarget;let ye=function(e){return e.xLarge="xLarge",e.large="large",e.medium="medium",e.small="small",e.xSmall="xSmall",e}({});const we=new Map([[ye.xLarge,"1920px"],[ye.large,"1600px"],[ye.medium,"1280px"],[ye.small,"1024px"],[ye.xSmall,0]]),Ee=new be,Se={},Ae={};function ke(e,t){let n=!1;Se[t]=e.matches;for(const[e]of we)if(Se[e]&&Ae.breakpoint!==e){Ae.breakpoint=e,n=!0;break}n&&Ee.dispatchEvent(new CustomEvent("change",{detail:Ae}))}we.forEach(((e,t)=>{const n=window.matchMedia(`(min-width: ${e})`);ke(n,t),n.addEventListener?n.addEventListener("change",(e=>{ke(e,t)})):n.addListener((e=>{ke(e,t)}))}));const Ie=()=>Ae;function Ce(e){return function(t){var n;const r="local"===e?localStorage:sessionStorage;return JSON.parse(null!==(n=r.getItem(t))&&void 0!==n?n:"null")}}function Re(e){var t,n;return!(null===(t=e?e.flags:null===(n=Ea())||void 0===n?void 0:n.getFeatureFlags())||void 0===t||!t["brick-next-v3-strict-mode"])}function Oe(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];const a=0===r.length?"":",";e?console.error(`${t} is dropped in v3 strict mode${a}`,...r):console.warn(`${t} is deprecated in v3 and will be dropped in strict mode${a}`,...r)}const Te=new Set(["prefix"]);var _e=new WeakMap;const Pe=function(){const e=S();if(e)return Object.freeze({define:(t,n)=>e.getRuntime().registerCustomTemplate(t,n)})}()||new class{constructor(){(0,a.A)(this,_e,new Map)}define(e,t){var n,r,o,a;let i=(0,s.A)(_e,this).has(e);i?console.warn(`Custom template of "${e}" already registered.`):(i=!!customElements.get(e),i&&console.warn(`Custom template of "${e}" already defined by customElements.`));const c=Re(),l=null!==(n=null===(r=t.proxy)||void 0===r?void 0:r.properties)&&void 0!==n?n:{},u=[],d=[];for(const[t,n]of Object.entries(l))n.asVariable?(Oe(c,"Template `asVariable`",e,t),c||d.push(t)):n.mergeProperty||n.refTransform?console.error("Template `mergeProperty` and `refTransform` are dropped in v3:",e,t):n.ref&&u.push([t,n]);const f={...t,proxy:{...t.proxy,properties:Object.fromEntries(u)},state:(t.state?c?t.state:t.state.map((e=>({expose:!0,...e}))):[]).concat(d.map((e=>({name:e,expose:!0}))))};(0,s.A)(_e,this).set(e,{...f,name:e});const p=(m=f.state,(0,h.uniq)(null!==(g=null==m?void 0:m.filter((e=>e.expose)).map((e=>e.name)))&&void 0!==g?g:[]));var m,g;const v=Object.entries(null!==(o=null===(a=f.proxy)||void 0===a?void 0:a.methods)&&void 0!==o?o:{}),b=p.concat(u.map((e=>e[0]))),y=v.map((e=>e[0])),w=b.concat(y).filter((e=>e in HTMLElement.prototype&&!Te.has(e)));if(w.length>0&&(Oe(c,"Using native HTMLElement properties as template properties or methods",e,...w),c))throw new Error(`In custom template "${e}", ${w.map((e=>`"${e}"`)).join(", ")} are native HTMLElement properties, and should be avoid to be used as brick properties or methods.`);if(!i){class t extends HTMLElement{get $$typeof(){return"custom-template"}static get _dev_only_definedProperties(){return b}static get _dev_only_definedMethods(){return y}$$getElementByRef(e){var t;return null===(t=this.$$tplStateStore)||void 0===t||null===(t=t.hostBrick)||void 0===t||null===(t=t.tplHostMetadata)||void 0===t||null===(t=t.internalBricksByRef.get(e))||void 0===t?void 0:t.element}connectedCallback(){let e=this.shadowRoot;e||(e=this.attachShadow({mode:"open"}));const t=document.createDocumentFragment(),n=document.createElement("style");n.textContent=":host{display:block}:host([hidden]){display:none}";const r=document.createElement("slot");t.appendChild(n),t.appendChild(r),e.appendChild(t)}disconnectedCallback(){this.shadowRoot&&(this.shadowRoot.textContent="")}}for(const n of p)u.some((e=>e[0]===n))?console.error(`Cannot define an exposed state that is also a proxy property: "${n}" in ${e}`):Object.defineProperty(t.prototype,n,{get(){return this.$$tplStateStore.getValue(n)},set(e){var t;null===(t=this.$$tplStateStore)||void 0===t||t.updateValue(n,e,"replace")},enumerable:!0});for(const[e,n]of u)Object.defineProperty(t.prototype,e,{get(){var t;return this.$$getElementByRef(n.ref)[null!==(t=n.refProperty)&&void 0!==t?t:e]},set(t){var r;const o=null===(r=this.$$getElementByRef)||void 0===r?void 0:r.call(this,n.ref);var a;o&&(o[null!==(a=n.refProperty)&&void 0!==a?a:e]=t)},enumerable:!0});for(const[e,n]of v)Object.defineProperty(t.prototype,e,{value(){var t;return this.$$getElementByRef(n.ref)[null!==(t=n.refMethod)&&void 0!==t?t:e](...arguments)},enumerable:!0});customElements.define(e,t)}}get(e){return(0,s.A)(_e,this).get(e)}};function xe(e,t,n){let{tplStateStoreId:r,tplStateStoreMap:o}=e;if(!r)throw new Error(`Using "${t}" outside of a custom template${null!=n?n:""}`);const a=o.get(r);if(!a)throw new Error(`Template state store is not found when using "${t}"${null!=n?n:""}.\nThis is a bug of Brick Next, please report it.`);return a}function Me(e,t,n){const r=xe(e,t,n).hostBrick.element;if(!r)throw new Error(`Template host element is gone when using "${t}"${null!=n?n:""}.\nThis is a bug of Brick Next, please report it.`);return r}const Le=new Map,Be=new Proxy(Object.freeze({}),{get:(e,t)=>Le.get(t)}),$e=function(){const e=S();if(e)return function(t,n,r){return e.getRuntime().registerWidgetFunctions(t,n,r)}}()||function(e,t,n){if(Le.has(e))throw new Error(`Widget functions of "${e}" already registered`);const{storyboardFunctions:r,registerStoryboardFunctions:o}=pe({widgetId:e,widgetVersion:n});Le.set(e,r),o(t)},Ne=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Ue=e=>{if("string"!=typeof e)throw new TypeError("Invalid argument expected string");const t=e.match(Ne);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},Fe=e=>"*"===e||"x"===e||"X"===e,De=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},je=(e,t)=>{if(Fe(e)||Fe(t))return 0;const[n,r]=((e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t])(De(e),De(t));return n>r?1:n<r?-1:0},Ke=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const r=je(e[n]||"0",t[n]||"0");if(0!==r)return r}return 0},Ve=(e,t,n)=>{ze(n);const r=((e,t)=>{const n=Ue(e),r=Ue(t),o=n.pop(),a=r.pop(),i=Ke(n,r);return 0!==i?i:o&&a?Ke(o.split("."),a.split(".")):o||a?o?-1:1:0})(e,t);return We[n].includes(r)},We={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},He=Object.keys(We),ze=e=>{if("string"!=typeof e)throw new TypeError("Invalid operator type, expected string but got "+typeof e);if(-1===He.indexOf(e))throw new Error(`Invalid operator, expected one of ${He.join("|")}`)};function Ge(e,t){let n=_a(e);if(!n&&null!=ya&&ya.checkInstalledApps&&(n=ya.checkInstalledApps.getCheckedApp(e)),!n||"running"===n.installStatus)return!1;if(!t||!n.currentVersion)return!0;const r=t.match(/^([><]=?|=)(.*)$/);try{if(!r)throw new TypeError(`Invalid match version: ${t}`);return Ve(n.currentVersion,r[2],r[1])}catch(e){console.error(e)}return!1}function qe(e,t,n){let{formStateStoreId:r,formStateStoreMap:o}=e;if(!r)throw new Error(`Using "${t}" outside of form renderer${null!=n?n:""}`);const a=o.get(r);if(!a)throw new Error(`Form state store is not found when using "${t}"${null!=n?n:""}.\nThis is a bug of Brick Next, please report it.`);return a}const Ye=new Map;async function Xe(e){var t;const n=null==ya||null===(t=ya.flowApi)||void 0===t?void 0:t.isFlowApiProvider(e);n&&(e=ya.flowApi.FLOW_API_PROVIDER);let r=Ye.get(e);if(r)return r;if(e.includes("-")&&!customElements.get(e))if(n)ya.flowApi.registerFlowApiProvider();else if(await(0,l.loadBricksImperatively)([e],Ia()),!customElements.get(e))throw new Error(`Provider not defined: "${e}".`);return r=document.createElement(e),Ye.set(e,r),r}let Je=new WeakSet;function Qe(e){if((0,u.isObject)(e)&&!Ze(e))if(Je.add(e),Array.isArray(e))e.forEach(Qe);else{const t=Object.getPrototypeOf(e);t&&t.constructor!==Object||Object.values(e).forEach(Qe)}}function Ze(e){return Je.has(e)}const et=new Map;async function tt(e,t,n){const{useProvider:r,method:o="resolve",args:a=[],onReject:i}=e,{provider:s,field:c}=e;if(s&&!r)throw new Error(`You're using "provider: ${s}" which is dropped in v3, please use "useProvider" instead`);const l=null!=c;if(l){const e=Re();if(Oe(e,"`resolve.field`"),e)throw new Error("Using deprecated `resolve.field`")}const[u,d]=await Promise.all([Xe(r),mt(a,t)]),f=null==n?void 0:n.renderId,p=nt(u,r,o,d,n,a,!!f&&f!==Ra());let m,{transform:g}=e;try{const e=await p;m=l?(0,h.get)(e,c):e,Qe(m)}catch(e){if(!function(e){return!(null==e||!e.transform)}(i))throw e;g=i.transform,m=e}return g?"string"==typeof g?{[g]:m}:mt(g,{...t,data:m}):m}async function nt(e,t,n,r,o,a,i){let s,c;try{s=JSON.stringify({useProvider:t,method:n,args:r})}catch(e){if(!a)throw e;s=JSON.stringify({useProvider:t,method:n,originalArgs:a})}return"reload"!==(null==o?void 0:o.cache)&&(c=et.get(s)),c||(c=(async o=>{const a=null!=ya&&null!==(o=ya.flowApi)&&void 0!==o&&o.isFlowApiProvider(t)?await ya.flowApi.getArgsOfFlowApi(t,r,n):r;return e[n](...a)})(),i||et.set(s,c)),c}const rt=Symbol.for("pre.evaluated.raw"),ot=Symbol.for("pre.evaluated.context");function at(e){return!(null==e||!e[rt])}function it(e){return e[rt]}function st(e){return"string"==typeof e?(0,O.shouldAllowRecursiveEvaluations)(e):(0,O.shouldAllowRecursiveEvaluations)(e[rt])}const ct=new WeakSet([SyntaxError,TypeError,ReferenceError]);function lt(e){return ct.has(e.constructor)?e.constructor:TypeError}function ut(e,t,n){const{run:r}=dt(e,t,n,!1);return r()}function dt(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;const o=[];if("string"!=typeof e){const n=(0,h.omit)(t,["pendingPermissionsPreCheck","tplStateStoreMap","tplStateStoreScope","formStateStoreMap","formStateStoreScope"]);t={...e[ot],...n},e=e[rt]}const a={usedArgs:new Set},i={usedArgs:new Set};let s;try{s=(0,O.preevaluate)(e,{cache:!0,withParent:!0,hooks:{beforeVisitGlobal(e,t){(0,T.collectAppGetMenuUsage)(a,e,t),(0,T.collectInstalledAppsHasUsage)(i,e,t)}}})}catch(t){const n=`${t.message}, in "${e}"`;throw new(lt(t))(n)}if(a.hasNonStaticUsage)throw new Error(`Non-static usage of "APP.getMenu" is prohibited in v3, check your expression: "${e}"`);if(i.hasNonStaticUsage)throw new Error(`Non-static usage of "INSTALLED_APPS.has" is prohibited in v3, check your expression: "${e}"`);const c={},{attemptToVisitGlobals:d}=s;if(n.lazy||d.has("EVENT")&&!(0,u.hasOwnProperty)(t,"event")||d.has("DATA")&&!(0,u.hasOwnProperty)(t,"data"))return{blockingList:o,run:()=>Object.keys(t).length>0?{[rt]:e,[ot]:t}:e};let f,p,m,g;const v=Re(t);let b,y;(d.has("STATE")||!v&&d.has("TPL"))&&(g=xe(t,"STATE",`: "${e}"`)),d.has("FORM_STATE")&&(y=qe(t,"FORM_STATE",`: "${e}"`));const w=W();if(r||w){if(d.has("CTX")&&(f=(0,T.strictCollectMemberUsage)(e,"CTX"),r&&o.push(t.ctxStore.waitFor(f))),g){if(m=(0,T.strictCollectMemberUsage)(e,"STATE"),!v){const t=(0,T.strictCollectMemberUsage)(e,"TPL");for(const e of t)m.add(e)}r&&o.push(g.waitFor(m))}y&&(b=(0,T.strictCollectMemberUsage)(e,"FORM_STATE"),r&&o.push(y.waitFor(b))),d.has("PROCESSORS")&&(p=(0,T.strictCollectMemberUsage)(e,"PROCESSORS",2),r&&o.push((0,l.loadProcessorsImperatively)(p,Ia())))}if(r){let n=d.has("PERMISSIONS");if(!n&&d.has("FN")){const t=[...(0,T.strictCollectMemberUsage)(e,"FN")];n=ge(t)}if(n&&o.push(...t.pendingPermissionsPreCheck),a.usedArgs.size>0&&null!=ya&&ya.menu){const e=[...a.usedArgs];o.push(Promise.all(e.map((e=>ya.menu.fetchMenuById(e,t,{getStoryboardByAppId:Ta,resolveData:tt,asyncComputeRealValue:mt})))))}var E;i.usedArgs.size>0&&o.push(null==ya||null===(E=ya.checkInstalledApps)||void 0===E?void 0:E.waitForCheckingApps([...i.usedArgs]))}return{blockingList:o,run(){var n,r,o,a;const{app:i,location:l,query:w,match:E,flags:S,sys:A,ctxStore:k,data:I,event:C}=t,R=null!==(n=t.overrideApp)&&void 0!==n?n:i;for(const n of d)switch(n){case"ANCHOR":c[n]=l.hash?l.hash.substring(1):null;break;case"APP":if(null==R)throw new ReferenceError(`APP is not defined, in "${e}"`);c[n]={...(0,h.cloneDeep)(R),getMenu:null==ya||null===(r=ya.menu)||void 0===r?void 0:r.getMenuById};break;case"CTX":c[n]=q({get:(e,t)=>k.getValue(t),ownKeys:()=>Array.from(f)});break;case"DATA":c[n]=I;break;case"EVENT":c[n]=C;break;case"FLAGS":c[n]=G(S);break;case"FORM_STATE":c[n]=q({get:(e,t)=>y.getValue(t),ownKeys:()=>Array.from(b)});break;case"HASH":c[n]=l.hash;break;case"INSTALLED_APPS":c[n]=G({has:Ge});break;case"ITEM":case"INDEX":case"SIZE":{const r="ITEM"===n?"forEachItem":"INDEX"===n?"forEachIndex":"forEachSize";(0,u.hasOwnProperty)(t,r)?c[n]=t[r]:console.error(`Using \`${n}\` but no \`:forEach\` is found, check your expression: "${e}"`);break}case"LOCAL_STORAGE":c[n]=G({getItem:Ce("local")});break;case"MEDIA":c[n]=G(Ie());break;case"MISC":c[n]=Ea().getMiscSettings();break;case"PARAMS":if(null==w)throw new ReferenceError(`PARAMS is not defined, in "${e}"`);c[n]=new URLSearchParams(w);break;case"PATH":c[n]=G(null!==(o=null==E?void 0:E.params)&&void 0!==o?o:{});break;case"PATH_NAME":c[n]=l.pathname;break;case"PROCESSORS":c[n]=q({get(e,t){const n=M.get(t);if(!n)throw new Error(`'PROCESSORS.${t}' is not registered! Have you installed the relevant brick package?`);return q({get:(e,t)=>n.get(t),ownKeys:()=>Array.from(n.keys())})},ownKeys(){const e=new Set;for(const t of p){const n=t.split(".")[0];e.add(n)}return Array.from(e)}});break;case"QUERY":if(null==w)throw new ReferenceError(`QUERY is not defined, in "${e}"`);c[n]=Object.fromEntries(Array.from(w.keys()).map((e=>[e,w.get(e)])));break;case"QUERY_ARRAY":if(null==w)throw new ReferenceError(`QUERY_ARRAY is not defined, in "${e}"`);c[n]=Object.fromEntries(Array.from(w.keys()).map((e=>[e,w.getAll(e)])));break;case"SESSION_STORAGE":c[n]=G({getItem:Ce("session")});break;case"TPL":if(Oe(v,'Using "TPL" in expression',`check your expression: "${e}"`),v)break;case"STATE":c[n]=q({get:(e,t)=>g.getValue(t),ownKeys:()=>Array.from(m)});break;case"SYS":c[n]=G(null!=A?A:{});break;case"__WIDGET_FN__":c[n]=Be;break;case"__WIDGET_IMG__":c[n]=null==ya||null===(a=ya.images)||void 0===a?void 0:a.widgetImagesFactory;break;case"__WIDGET_I18N__":c[n]=$}Object.assign(c,le(s.attemptToVisitGlobals,{storyboardFunctions:he,app:R,appendI18nNamespace:t.appendI18nNamespace}));try{const t=(0,O.cook)(s.expression,s.source,{globalVariables:(0,P.supply)(s.attemptToVisitGlobals,c)});return V("evaluation",{raw:e,context:c,result:t}),t}catch(t){const n=`${t.message}, in "${e}"`;throw new(lt(t))(n)}}}}let ft=function(e){return e[e.INITIAL=0]="INITIAL",e[e.USE_BRICK=1]="USE_BRICK",e[e.USE_BRICK_ITEM=2]="USE_BRICK_ITEM",e[e.USE_BRICK_PROPERTIES=3]="USE_BRICK_PROPERTIES",e[e.USE_BRICK_TRANSFORM=4]="USE_BRICK_TRANSFORM",e[e.USE_BRICK_EVENTS=5]="USE_BRICK_EVENTS",e[e.USE_BRICK_IF=6]="USE_BRICK_IF",e[e.USE_BRICK_SLOTS=7]="USE_BRICK_SLOTS",e[e.USE_BRICK_SLOTS_ITEM=8]="USE_BRICK_SLOTS_ITEM",e[e.USE_BRICK_SLOTS_ITEM_BRICKS=9]="USE_BRICK_SLOTS_ITEM_BRICKS",e[e.USE_BRICK_SLOTS_ITEM_BRICKS_ITEM=10]="USE_BRICK_SLOTS_ITEM_BRICKS_ITEM",e[e.USE_BRICK_LIFECYCLE=11]="USE_BRICK_LIFECYCLE",e[e.USE_BRICK_DATA_SOURCE=12]="USE_BRICK_DATA_SOURCE",e}({});function pt(e){switch(e){case ft.USE_BRICK_PROPERTIES:case ft.USE_BRICK_TRANSFORM:case ft.USE_BRICK_EVENTS:case ft.USE_BRICK_IF:case ft.USE_BRICK_LIFECYCLE:case ft.USE_BRICK_DATA_SOURCE:return!0}return!1}function ht(e,t,n){if(pt(e))return e;if(t)switch(e){case ft.USE_BRICK:return ft.USE_BRICK_ITEM;case ft.USE_BRICK_SLOTS_ITEM_BRICKS:return ft.USE_BRICK_SLOTS_ITEM_BRICKS_ITEM}else switch(e){case ft.INITIAL:if("useBrick"===n)return ft.USE_BRICK;break;case ft.USE_BRICK:case ft.USE_BRICK_ITEM:case ft.USE_BRICK_SLOTS_ITEM_BRICKS_ITEM:switch(n){case"properties":return ft.USE_BRICK_PROPERTIES;case"transform":return ft.USE_BRICK_TRANSFORM;case"dataSource":return ft.USE_BRICK_DATA_SOURCE;case"events":return ft.USE_BRICK_EVENTS;case"slots":return ft.USE_BRICK_SLOTS;case"children":return ft.USE_BRICK_SLOTS_ITEM_BRICKS;case"if":return ft.USE_BRICK_IF;case"lifeCycle":return ft.USE_BRICK_LIFECYCLE}break;case ft.USE_BRICK_SLOTS:return ft.USE_BRICK_SLOTS_ITEM;case ft.USE_BRICK_SLOTS_ITEM:if("bricks"===n)return ft.USE_BRICK_SLOTS_ITEM_BRICKS}return ft.INITIAL}async function mt(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=at(e);if(r||"string"==typeof e){const o=n.$$lazyForUseBrick&&pt(n.$$stateOfUseBrick);let a,i=o;return r||(0,O.isEvaluable)(e)?(a=await async function(e,t,n){const{blockingList:r,run:o}=dt(e,t,n,!0);return await Promise.all(r),o()}(e,t,{lazy:o}),i=st(e)):a=o?e:((0,u.hasOwnProperty)(t,"data")?n.noInject?_.transform:_.transformAndInject:n.noInject?bt:_.inject)(e,t),i||Qe(a),a}if(!(0,u.isObject)(e)||Ze(e)||"function"==typeof e)return e;if(Array.isArray(e)){const r=vt(n,!0);return Promise.all(e.map((e=>mt(e,t,r))))}return Object.fromEntries((await Promise.all(Object.entries(e).map((e=>{let[r,o]=e;return Promise.all([mt(r,t),mt(o,t,vt(n,!1,r))])})))).concat(n.ignoreSymbols?[]:Object.getOwnPropertySymbols(e).map((t=>[t,e[t]]))))}function gt(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=at(e);if(r||"string"==typeof e){const o=n.$$lazyForUseBrick&&pt(n.$$stateOfUseBrick);let a,i=o;return r||(0,O.isEvaluable)(e)?(a=ut(e,t),i=st(e)):a=o?e:((0,u.hasOwnProperty)(t,"data")?n.noInject?_.transform:_.transformAndInject:n.noInject?bt:_.inject)(e,t),i||Qe(a),a}if(!(0,u.isObject)(e)||Ze(e)||"function"==typeof e)return e;if(Array.isArray(e)){const r=vt(n,!0);return e.map((e=>gt(e,t,r)))}return Object.fromEntries(Object.entries(e).map((e=>{let[r,o]=e;return[gt(r,t),gt(o,t,vt(n,!1,r))]})).concat(n.ignoreSymbols?[]:Object.getOwnPropertySymbols(e).map((t=>[t,e[t]]))))}function vt(e,t,n){return e.$$lazyForUseBrick?{...e,$$stateOfUseBrick:ht(e.$$stateOfUseBrick,t,n)}:e}function bt(e){return e}async function yt(e,t){return!(0,u.hasOwnProperty)(e,"if")||!!("string"==typeof e.if||at(e.if)?await mt(e.if,t):e.if)}function wt(e,t){return!(0,u.hasOwnProperty)(e,"if")||!!("string"==typeof e.if||at(e.if)?gt(e.if,t):e.if)}function Et(e){return!(0,u.hasOwnProperty)(e,"if")||!!e.if}const St=function(){const e=S();if(e)return e.looseCheckIfByTransform}()||function(e,t){return wt(e,{data:t})};function At(e){let t=!1,n=!1,r=!1;if("string"==typeof e?(0,O.isEvaluable)(e):at(e)){const o="string"==typeof e?e:it(e);if((0,O.isTrackAll)(o)){const e=(0,T.trackAll)(o);e&&(t=e.context,n=e.state,r=e.formState)}else t=(0,T.track)(o,"track context","CTX"),n=(0,T.track)(o,"track state","STATE"),r=(0,T.track)(o,"track formstate","FORM_STATE")}return{contextNames:t,stateNames:n,formStateNames:r}}async function kt(e,t){for(const[n,r,o]of e)if(n===t){const e=await r;if(void 0!==e||!o)return e}}async function It(e){const t={};for(const[n,r,o]of e){const e=await r;void 0===e&&o||!("style"!==n&&"dataset"!==n||(0,u.isObject)(e))||(t[n]=e)}return t}function Ct(e,t){if(t)for(const[n,r]of Object.entries(t))switch(n){case"style":case"dataset":for(const[t,o]of Object.entries(r))e[n][t]=o;break;case"constructor":case"__proto__":case"innerHTML":throw new Error(`set \`${n}\` is prohibited`);default:e[n]=r}}function Rt(e,t,n){const r=function(e,t){return(0,u.isObject)(e)?Object.fromEntries(Object.entries(e).map((e=>{let[n,r]=e;const o=gt(r,t,{$$lazyForUseBrick:!0,$$stateOfUseBrick:"useBrick"===n?ft.USE_BRICK:ft.INITIAL});if("style"!==n&&"dataset"!==n||(0,u.isObject)(o))return[n,o]})).filter(Boolean)):{}}(t,n);Array.isArray(e)||(e=[e]),e.forEach((e=>{Ct(e,r)}))}function Ot(e,t,n){if(n)for(const{contextNames:r,stateNames:o,propValue:a}of t){if(r)for(const t of r)n.disposes.push(e.ctxStore.onChange(t,n.listener));if(o)for(const t of o){const r=xe(e,"STATE",`: "${a}"`);n.disposes.push(r.onChange(t,n.listener))}}}function Tt(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function _t(e){return e&&e.sensitive?"":"i"}function Pt(e,t,n){return function(e,t,n){void 0===n&&(n={});for(var r=n.strict,o=void 0!==r&&r,a=n.start,i=void 0===a||a,s=n.end,c=void 0===s||s,l=n.encode,u=void 0===l?function(e){return e}:l,d=n.delimiter,f=void 0===d?"/#?":d,p=n.endsWith,h="[".concat(Tt(void 0===p?"":p),"]|$"),m="[".concat(Tt(f),"]"),g=i?"^":"",v=0,b=e;v<b.length;v++){var y=b[v];if("string"==typeof y)g+=Tt(u(y));else{var w=Tt(u(y.prefix)),E=Tt(u(y.suffix));if(y.pattern)if(t&&t.push(y),w||E)if("+"===y.modifier||"*"===y.modifier){var S="*"===y.modifier?"?":"";g+="(?:".concat(w,"((?:").concat(y.pattern,")(?:").concat(E).concat(w,"(?:").concat(y.pattern,"))*)").concat(E,")").concat(S)}else g+="(?:".concat(w,"(").concat(y.pattern,")").concat(E,")").concat(y.modifier);else{if("+"===y.modifier||"*"===y.modifier)throw new TypeError('Can not repeat "'.concat(y.name,'" without a prefix and suffix'));g+="(".concat(y.pattern,")").concat(y.modifier)}else g+="(?:".concat(w).concat(E,")").concat(y.modifier)}}if(c)o||(g+="".concat(m,"?")),g+=n.endsWith?"(?=".concat(h,")"):"$";else{var A=e[e.length-1],k="string"==typeof A?m.indexOf(A[A.length-1])>-1:void 0===A;o||(g+="(?:".concat(m,"(?=").concat(h,"))?")),k||(g+="(?=".concat(m,"|").concat(h,")"))}return new RegExp(g,_t(n))}(function(e,t){void 0===t&&(t={});for(var n=function(e){for(var t=[],n=0;n<e.length;){var r=e[n];if("*"!==r&&"+"!==r&&"?"!==r)if("\\"!==r)if("{"!==r)if("}"!==r)if(":"!==r)if("("!==r)t.push({type:"CHAR",index:n,value:e[n++]});else{var o=1,a="";if("?"===e[s=n+1])throw new TypeError('Pattern cannot start with "?" at '.concat(s));for(;s<e.length;)if("\\"!==e[s]){if(")"===e[s]){if(0==--o){s++;break}}else if("("===e[s]&&(o++,"?"!==e[s+1]))throw new TypeError("Capturing groups are not allowed at ".concat(s));a+=e[s++]}else a+=e[s++]+e[s++];if(o)throw new TypeError("Unbalanced pattern at ".concat(n));if(!a)throw new TypeError("Missing pattern at ".concat(n));t.push({type:"PATTERN",index:n,value:a}),n=s}else{for(var i="",s=n+1;s<e.length;){var c=e.charCodeAt(s);if(!(c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||95===c))break;i+=e[s++]}if(!i)throw new TypeError("Missing parameter name at ".concat(n));t.push({type:"NAME",index:n,value:i}),n=s}else t.push({type:"CLOSE",index:n,value:e[n++]});else t.push({type:"OPEN",index:n,value:e[n++]});else t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});else t.push({type:"MODIFIER",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}(e),r=t.prefixes,o=void 0===r?"./":r,a=t.delimiter,i=void 0===a?"/#?":a,s=[],c=0,l=0,u="",d=function(e){if(l<n.length&&n[l].type===e)return n[l++].value},f=function(e){var t=d(e);if(void 0!==t)return t;var r=n[l],o=r.type,a=r.index;throw new TypeError("Unexpected ".concat(o," at ").concat(a,", expected ").concat(e))},p=function(){for(var e,t="";e=d("CHAR")||d("ESCAPED_CHAR");)t+=e;return t},h=function(e){var t=s[s.length-1],n=e||(t&&"string"==typeof t?t:"");if(t&&!n)throw new TypeError('Must have text between two parameters, missing text after "'.concat(t.name,'"'));return!n||function(e){for(var t=0,n=i;t<n.length;t++){var r=n[t];if(e.indexOf(r)>-1)return!0}return!1}(n)?"[^".concat(Tt(i),"]+?"):"(?:(?!".concat(Tt(n),")[^").concat(Tt(i),"])+?")};l<n.length;){var m=d("CHAR"),g=d("NAME"),v=d("PATTERN");if(g||v){var b=m||"";-1===o.indexOf(b)&&(u+=b,b=""),u&&(s.push(u),u=""),s.push({name:g||c++,prefix:b,suffix:"",pattern:v||h(b),modifier:d("MODIFIER")||""})}else{var y=m||d("ESCAPED_CHAR");if(y)u+=y;else if(u&&(s.push(u),u=""),d("OPEN")){b=p();var w=d("NAME")||"",E=d("PATTERN")||"",S=p();f("CLOSE"),s.push({name:w||(E?c++:""),pattern:w&&!E?h(b):E,prefix:b,suffix:S,modifier:d("MODIFIER")||""})}else f("END")}}return s}(e,n),t,n)}function xt(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;for(var n=/\((?:\?<(.*?)>)?(?!\?)/g,r=0,o=n.exec(e.source);o;)t.push({name:o[1]||r++,prefix:"",suffix:"",modifier:"",pattern:""}),o=n.exec(e.source);return e}(e,t):Array.isArray(e)?function(e,t,n){var r=e.map((function(e){return xt(e,t,n).source}));return new RegExp("(?:".concat(r.join("|"),")"),_t(n))}(e,t,n):Pt(e,t,n)}const Mt=new Map,Lt=1e4;let Bt=0;function $t(e,t){const{path:n,exact:r=!1,strict:o=!1,sensitive:a=!0}=t;return(Array.isArray(n)?n:[n]).reduce(((t,n)=>{if(t)return t;const{regexp:i,keys:s}=function(e,t){const n=`${t.end}${t.strict}${t.sensitive}`;let r=Mt.get(n);r||Mt.set(n,r=new Map);const o=r.get(e);if(o)return o;const a=[],i={regexp:xt(e,a,t),keys:a};return Bt<Lt&&(r.set(e,i),Bt++),i}(n,{end:r,strict:o,sensitive:a}),c=i.exec(e);if(!c)return null;const[l,...u]=c,d=e===l;return r&&!d?null:{path:n,url:"/"===n&&""===l?"/":l,isExact:d,params:s.reduce(((e,t,n)=>(e[t.name]=u[n],e)),{})}}),null)}function Nt(e,t,n){return $t(n,{path:e.path.replace(/^\$\{APP.homepage\}/,t),exact:e.exact})}const Ut=Symbol.for("tpl.asyncComputedPropsFromHost"),Ft=Symbol.for("tpl.stateStoreId"),Dt=Symbol.for("tpl.externalForEachItem"),jt=Symbol.for("tpl.externalForEachIndex"),Kt=Symbol.for("tpl.externalForEachSize"),Vt=new Set;let Wt=function(e){return e.REQUEST_FAILED="REQUEST_FAILED",e.SOMETHING_WENT_WRONG="SOMETHING_WENT_WRONG",e.LOGIN_TIMEOUT_MESSAGE="LOGIN_TIMEOUT_MESSAGE",e.NETWORK_ERROR="NETWORK_ERROR",e.LICENSE_EXPIRED="LICENSE_EXPIRED",e.LICENSE_BLOCKED="LICENSE_BLOCKED",e.NO_PERMISSION="NO_PERMISSION",e.PAGE_NOT_FOUND="PAGE_NOT_FOUND",e.APP_NOT_FOUND="APP_NOT_FOUND",e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.GO_BACK_TO_PREVIOUS_PAGE="GO_BACK_TO_PREVIOUS_PAGE",e.GO_BACK_HOME="GO_BACK_HOME",e.RELOAD="RELOAD",e}({});const Ht={[Wt.REQUEST_FAILED]:"Request Failed",[Wt.SOMETHING_WENT_WRONG]:"Something went wrong!",[Wt.LOGIN_TIMEOUT_MESSAGE]:"You haven't logged in or your login session has expired. Login right now?",[Wt.NETWORK_ERROR]:"Network error, please check your network.",[Wt.LICENSE_EXPIRED]:"The license authorization has expired, please contact the platform administrator",[Wt.LICENSE_BLOCKED]:"The page is not authorized, please contact the platform administrator",[Wt.NO_PERMISSION]:"Unauthorized access, unable to retrieve the required resources for this page",[Wt.PAGE_NOT_FOUND]:"Page not found, please check the URL",[Wt.APP_NOT_FOUND]:"App not found, maybe the URL is wrong or you don't have permission to access",[Wt.UNKNOWN_ERROR]:"Oops! Something went wrong",[Wt.GO_BACK_TO_PREVIOUS_PAGE]:"Go back to previous page",[Wt.GO_BACK_HOME]:"Go back to home page",[Wt.RELOAD]:"Reload"},zt={[Wt.REQUEST_FAILED]:"请求失败",[Wt.SOMETHING_WENT_WRONG]:"出现了一些问题!",[Wt.LOGIN_TIMEOUT_MESSAGE]:"您还未登录或登录信息已过期,现在重新登录?",[Wt.NETWORK_ERROR]:"网络错误,请检查您的网络连接。",[Wt.LICENSE_EXPIRED]:"License 授权失效,请联系平台管理员",[Wt.LICENSE_BLOCKED]:"该页面未授权,请联系平台管理员",[Wt.NO_PERMISSION]:"没有权限,无法获取页面所需要的资源",[Wt.PAGE_NOT_FOUND]:"请求的页面未找到,请确认 URL 是否正确",[Wt.APP_NOT_FOUND]:"请求的微应用无法找到, 可能是 URL 错误或者无权限访问",[Wt.UNKNOWN_ERROR]:"糟糕!页面出现了一些问题",[Wt.GO_BACK_TO_PREVIOUS_PAGE]:"回到上一页",[Wt.GO_BACK_HOME]:"回到首页",[Wt.RELOAD]:"刷新"},Gt="core/runtime",qt={en:Ht,zh:zt};let Yt;const Xt=Object.freeze({show:function(e){if(Yt)return Yt.resolve(e);if("confirm"===e.type){const t=confirm(e.content);return new Promise(((e,n)=>setTimeout((()=>{(t?e:n)()}),1)))}return alert(e.content),new Promise((e=>setTimeout((()=>{e()}),1)))}});function Jt(e){const{search:t,pathname:n}=e,r=n?window.btoa(encodeURIComponent(n)):"",o=t?window.btoa(encodeURIComponent(t)):"";document.cookie=`SALOGINPATH=${r}; path=/`,document.cookie=`SALOGINQUERY=${o}; path=/`}function Qt(e){if(e instanceof Event&&e.target instanceof HTMLScriptElement)return e.target.src;if(e instanceof R.HttpFetchError)return c.i18n.t(`${Gt}:${Wt.NETWORK_ERROR}`);if(e instanceof R.HttpResponseError&&e.responseJson){if("string"==typeof e.responseJson.error)return e.responseJson.error;if("string"==typeof e.responseJson.msg)return e.responseJson.msg}return null==e?"Unknown error":e.toString()}function Zt(e){return e instanceof R.HttpResponseError&&401===e.response.status&&!!e.responseJson&&100003===e.responseJson.code}let en,tn,nn=!1;function rn(e){if(e instanceof R.HttpAbortError)return;if(Zt(e)&&!window.NO_AUTH_GUARD){if(nn)return;return nn=!0,void Xt.show({type:"confirm",content:c.i18n.t(`${Gt}:${Wt.LOGIN_TIMEOUT_MESSAGE}`)}).then((()=>{!function(){const e=Ea().getFeatureFlags()["sso-enabled"],t=k();Jt(t.location),t.push(e?"/sso-auth/login":"/auth/login",{from:{...t.location,state:void 0}})}(),nn=!1}),(()=>{nn=!1}))}console.error(e);const t=Qt(e);t!==en&&(en=t,Xt.show({type:"error",title:c.i18n.t(`${Gt}:${Wt.REQUEST_FAILED}`),content:t,contentStyle:{whiteSpace:"pre-wrap",wordBreak:"break-word"}}).then((()=>{en=void 0})))}const on=Object.freeze({show:function(e){tn?tn.resolve(e):alert(e.message)}});function an(e,t,n){t&&Object.entries(t).forEach((t=>{let[r,o]=t;const a=dn(o,n,{element:e});e.addEventListener(r,a),e.$$listeners||(e.$$listeners=[]),e.$$listeners.push([r,a]),e.$$eventListeners||(e.$$eventListeners=[]);for(const t of[].concat(o))e.$$eventListeners.push([r,null,t])}))}function sn(e){return"string"==typeof e.action}function cn(e){return"string"==typeof e.useProvider}function ln(e){return!(!e.target&&!e.targetRef||!e.method&&!e.properties)}function un(e){return!!e.then}function dn(e,t,n){return function(r){var o,a;for(const i of[].concat(e))if(wt(i,{...t,event:r}))if(un(i))dn(i.then,t,n)(r);else if(sn(i)){const[e,s]=i.action.split(".");switch(i.action){case"history.push":case"history.replace":case"history.pushQuery":case"history.replaceQuery":case"history.pushAnchor":case"history.block":case"history.goBack":case"history.goForward":case"history.reload":case"history.unblock":mn(r,s,i.args,i.callback,t);break;case"window.open":gn(r,i.args,t);break;case"window.postMessage":vn(r,i.args,t);break;case"parent.postMessage":bn(r,i.args,t);break;case"location.reload":case"location.assign":An(r,s,i.args,t);break;case"localStorage.setItem":case"localStorage.removeItem":case"sessionStorage.setItem":case"sessionStorage.removeItem":kn(r,e,s,i.args,t);break;case"event.preventDefault":r.preventDefault();break;case"event.stopPropagation":r.stopPropagation();break;case"console.log":case"console.error":case"console.warn":case"console.info":In(r,s,i.args,t);break;case"message.success":case"message.error":case"message.info":case"message.warn":Cn(r,s,i.args,t);break;case"handleHttpError":rn(r.detail);break;case"context.assign":case"context.replace":case"context.refresh":case"context.load":wn(r,s,i.args,null===(o=i.batch)||void 0===o||o,i.callback,t);break;case"state.update":case"state.refresh":case"state.load":En(r,s,i.args,null===(a=i.batch)||void 0===a||a,i.callback,t);break;case"tpl.dispatchEvent":{const[e,n]=Tn(i.args,t,r);Me(t,i.action,`: ${e}`).dispatchEvent(new CustomEvent(e,n));break}case"formstate.update":Sn(r,i.args,i.callback,t);break;case"message.subscribe":case"message.unsubscribe":Rn(r,s,i.args,t,n,i.callback);break;case"theme.setDarkTheme":case"theme.setLightTheme":te("theme.setDarkTheme"===i.action?"dark":"light");break;case"theme.setTheme":{const[e]=Tn(i.args,t,r);te(e);break}case"mode.setDashboardMode":case"mode.setDefaultMode":se("mode.setDashboardMode"===i.action?"dashboard":"default");break;default:console.error("unknown event listener action:",i.action)}}else cn(i)?fn(r,i,t,n):ln(i)?pn(r,i,t,n):console.error("unknown event handler:",i);else i.else&&dn(i.else,t,n)(r)}}function fn(e,t,n,r){const o="saveAs"!==t.method?"resolve":"saveAs";hn(e,t.useProvider,t,o,n,r)}function pn(e,t,n,r){let o=[];const a=t.target,i=t.targetRef;let s=a;if(("string"==typeof a?(0,O.isEvaluable)(a):at(a))&&(s=gt(a,{...n,event:e})),"string"==typeof s)if("_self"===s)o.push(r.element);else if(t.multiple)o=Array.from(document.querySelectorAll(s));else{const e=document.querySelector(s);null!==e&&o.push(e)}else if(s)s instanceof HTMLElement?o.push(s):console.error("unexpected target:",s);else if(i){let t=i;("string"==typeof i?(0,O.isEvaluable)(i):at(i))&&(t=gt(i,{...n,event:e}));const r=[].concat(t),a=Me(n,"targetRef",`: ${r.join(", ")}`);o.push(...r.map((e=>{var t;return null===(t=a.$$getElementByRef)||void 0===t?void 0:t.call(a,e)})).filter(Boolean))}0!==o.length?function(e){return!!e.method}(t)?o.forEach((o=>{hn(e,o,t,t.method,n,r,{useEventAsDefault:!0})})):function(e){return!!e.properties}(t)&&Rt(o,t.properties,{...n,event:e}):console.error("target not found:",a||i)}async function hn(e,t,n,r,o,a,i){const s=cn(n),c=async()=>{var a;const c=s?await Xe(t):t;if("function"!=typeof c[r])throw new Error(`target <${c.tagName.toLowerCase()}> has no method: ${r}`);let l=Tn(n.args,o,e,i);var u;return cn(n)&&null!=ya&&null!==(a=ya.flowApi)&&void 0!==a&&a.isFlowApiProvider(n.useProvider)&&(l=await ya.flowApi.getArgsOfFlowApi(n.useProvider,l,r,null===(u=n.sse)||void 0===u?void 0:u.stream)),c[r](...l)};if(!n.callback)return void c();const l=On(n.callback,o,a),u={progress:l("progress"),success:l("success"),error:l("error"),finally:l("finally")};if(s){var d,f;const t={...o,event:e};if(gt(null===(d=n.sse)||void 0===d?void 0:d.stream,t))return void async function(e,t){let{progress:n,success:r,error:o,finally:a}=t;const i=Ra();try{const t=await e();for await(const e of t){if(i!==Ra())return;null==n||n(e)}if(i!==Ra())return;null==r||r()}catch(e){if(i!==Ra())return;null==o||o(e)}finally{null==a||a()}}(c,u);if(gt(null===(f=n.poll)||void 0===f?void 0:f.enabled,t))return void function(e,t,n,r){let{progress:o,success:a,error:i,finally:s}=t;const{expectPollStopImmediately:c,expectPollEnd:l}=n,{interval:u,leadingRequestDelay:d,continueOnError:f,delegateLoadingBar:p}=gt((0,h.pick)(n,["interval","leadingRequestDelay","continueOnError","delegateLoadingBar"]),r),m=Ra();let g;async function v(){let t;Vt.delete(g);try{var n;if(t=null===(n=gt(c,r))||void 0===n?void 0:n(),t)null==s||s();else{var d;const n=await e(),i=null===(d=gt(c,r))||void 0===d?void 0:d();var h;t=i||m!==Ra(),t?i&&(null==s||s()):(null==o||o(n),null!==(h=gt(l,r))&&void 0!==h&&h(n)?(p&&window.dispatchEvent(new Event("request.end")),null==a||a(n),null==s||s()):b(null!=u?u:3e3))}}catch(e){var v;const n=null===(v=gt(c,r))||void 0===v?void 0:v();t=n||m!==Ra(),t?n&&(null==s||s()):(null==i||i(e),f?b(null!=u?u:3e3):null==s||s())}finally{p&&t&&window.dispatchEvent(new Event("request.end"))}}function b(e){g=setTimeout(v,e),Vt.add(g)}b(null!=d?d:0),p&&window.dispatchEvent(new Event("request.start"))}(c,u,n.poll,t)}try{const e=await c();u.success(e)}catch(e){u.error(e)}finally{u.finally()}}function mn(e,t,n,r,o){let a=0,i=!1,s=t;switch(t){case"push":case"replace":case"pushQuery":case"replaceQuery":case"pushAnchor":a=2,i=!0;break;case"reload":i=!0;break;case"block":a=1,s="setBlockMessage"}let c=[];if(a>0&&(c=Tn(n,o,e,{useEventDetailAsDefault:!0}),c.length=a),i&&r){const e=On(r,o,void 0);c.push((t=>{e(t?"error":"success")({blocked:t}),e("finally")({blocked:t})}))}k()[s](...c)}function gn(e,t,n){const[r,o,a]=Tn(t,n,e);window.open(r,o||"_self",a)}function vn(e,t,n){const r=Tn(t,n,e);1===r.length&&r.push(location.origin),window.postMessage(...r)}function bn(e,t,n){if(parent===window)throw new Error("parent is the window itself");const r=Tn(t,n,e);parent.postMessage(...r)}function yn(e,t,n,r,o,a){t?r.updateValues(e,n,(e=>Tn(e,o,a)[0])):e.forEach((e=>{const{name:t,value:i}=Tn([e],o,a)[0];r.updateValue(t,i,n)}))}function wn(e,t,n,r,o,a){if(!Array.isArray(n)||!n.every(u.isObject)||"assign"!==t&&"replace"!==t){const[r,i]=Tn(n,a,e);a.ctxStore.updateValue(r,i,t,o,a)}else yn(n,r,t,a.ctxStore,a,e)}function En(e,t,n,r,o,a){if(Array.isArray(n)&&n.every(u.isObject)&&"update"===t)yn(n,r,"replace",xe(a,`state.${t}`,`: ${JSON.stringify(n)}`),a,e);else{const[r,i]=Tn(n,a,e);xe(a,`state.${t}`,`: ${r}`).updateValue(r,i,"update"===t?"replace":t,o,a)}}function Sn(e,t,n,r){const[o,a]=Tn(t,r,e);qe(r,"formstate.update",`: ${o}`).updateValue(o,a,"replace",n,r)}function An(e,t,n,r){if("assign"===t){const[t]=Tn(n,r,e);location.assign(t)}else location[t]()}function kn(e,t,n,r,o){const a="localStorage"===t?localStorage:sessionStorage,[i,s]=Tn(r,o,e);"setItem"===n?void 0!==s&&a.setItem(i,JSON.stringify(s)):a.removeItem(i)}function In(e,t,n,r){console[t](...Tn(n,r,e,{useEventAsDefault:!0}))}function Cn(e,t,n,r){const o=Tn(n,r,e,{useEventAsDefault:!0});on.show({type:t,message:o[0]})}async function Rn(e,t,n,r,o,a){const i=()=>{var o;const a=Tn(n,r,e);return null==ya||null===(o=ya.messageDispatcher)||void 0===o?void 0:o[t](...a)};if(!a)return void i();const s=On(a,r,o);try{const e=await i();s("success")(e)}catch(e){s("error")(e)}finally{s("finally")()}}function On(e,t,n){return function(r){return function(o){const a=null==e?void 0:e[r];if(a)try{const e=new CustomEvent(`callback.${r}`,{detail:o});dn(a,t,n)(e)}catch(e){console.error(e)}else"error"===r&&console.error("Unhandled callback error:",o)}}}function Tn(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Array.isArray(e)?gt(e,{...t,event:n}):r.useEventAsDefault?[n]:r.useEventDetailAsDefault?[n.detail]:[]}function _n(e){var t;const{ref:n,runtimeContext:r,element:o}=e;if(!n||!r.tplStateStoreId)return;const{hostBrick:a}=xe(r,"bindTemplateProxy"),i=a.tplHostMetadata;i.internalBricksByRef.set(n,e);const s=null===(t=i.proxy)||void 0===t?void 0:t.events;if(s)for(const[e,t]of Object.entries(s))if(t.ref===n){var c,l,u;const n=t=>{t.bubbles&&t.stopPropagation(),a.element.dispatchEvent(new CustomEvent(e,{detail:t.detail,bubbles:t.bubbles,cancelable:t.cancelable,composed:t.composed}))},r=null!==(c=t.refEvent)&&void 0!==c?c:e;o.addEventListener(r,n),null!==(u=(l=o).$$proxyListeners)&&void 0!==u||(l.$$proxyListeners=[]),o.$$proxyListeners.push([r,n])}}function Pn(e){const{ref:t,runtimeContext:n,element:r}=e;if(null==n||!n.tplStateStoreId||!t)return;const{hostBrick:o}=xe(n,"unbindTemplateProxy");o.tplHostMetadata.internalBricksByRef.delete(t);for(const[e,t]of null!==(a=r.$$proxyListeners)&&void 0!==a?a:[]){var a;r.removeEventListener(e,t)}delete r.$$proxyListeners}let xn=function(e){return e[e.ROOT=1]="ROOT",e[e.BRICK=2]="BRICK",e[e.PLACEHOLDER=3]="PLACEHOLDER",e}({});function Mn(e){e.replaceChildren()}function Ln(e,t){window.DISABLE_REACT_FLUSH_SYNC=!1;let n=e.child;const r=[];for(;n;){if(n.tag===xn.BRICK){var o;const a=n.type;a.includes("-")&&!customElements.get(a)&&console.error(`Undefined custom element: ${a}`),"basic-bricks.script-brick"===a&&console.warn("`basic-bricks.script-brick` is deprecated, please take caution when using it");const i=t&&n===e.child?t:document.createElement(a);n.element=i,n.slotId&&i.setAttribute("slot",n.slotId),n.iid&&(i.dataset.iid=n.iid),null!==(o=n.tplHostMetadata)&&void 0!==o&&o.tplStateStoreId&&(i.dataset.tplStateStoreId=n.tplHostMetadata.tplStateStoreId),Ct(i,n.properties),an(i,n.events,n.runtimeContext),n.tplHostMetadata&&(i.$$tplStateStore=xe({tplStateStoreId:n.tplHostMetadata.tplStateStoreId,tplStateStoreMap:n.runtimeContext.tplStateStoreMap},"mount")),_n(n),n.portal?r.push(i):n.return&&(n.return.childElements||(n.return.childElements=[]),n.return.childElements.push(i))}if(n.child)n=n.child;else if(n.sibling)n=n.sibling;else{var a;let e=n.return;for(;e;){var i;if(e.childElements)e.tag===xn.ROOT?null===(i=e.container)||void 0===i||i.append(...e.childElements):e.element.append(...e.childElements),e.childElements=void 0;if(e.tag===xn.ROOT&&r.length>0&&("function"==typeof e.createPortal?e.createPortal():e.createPortal).append(...r),e.sibling)break;e=e.return}n=null===(a=e)||void 0===a?void 0:a.sibling}}setTimeout((()=>{window.DISABLE_REACT_FLUSH_SYNC=!0}))}const Bn=["onMount","onUnmount","onMediaChange","onScrollIntoView","onMessage","onMessageClose"],$n=["onBeforePageLoad","onPageLoad","onPageLeave","onBeforePageLeave","onAnchorLoad","onAnchorUnload"];var Nn=new WeakMap,Un=new WeakMap,Fn=new WeakMap,Dn=new WeakMap,jn=new WeakMap,Kn=new WeakMap,Vn=new WeakMap,Wn=new WeakMap,Hn=new WeakMap,zn=new WeakSet;class Gn{constructor(e,t){var n;(0,I.A)(this,zn),(0,o.A)(this,"scope",void 0),(0,o.A)(this,"unknownBricks",void 0),(0,o.A)(this,"renderId",void 0),(0,a.A)(this,Nn,void 0),(0,a.A)(this,Un,{onBeforePageLoad:[],onPageLoad:[],onPageLeave:[],onBeforePageLeave:[],onAnchorLoad:[],onAnchorUnload:[],onMediaChange:[],onScrollIntoView:[],onMount:[],onUnmount:[],onMessage:[],onMessageClose:[]}),(0,a.A)(this,Fn,new Map),(0,a.A)(this,Dn,void 0),(0,a.A)(this,jn,new Map),(0,a.A)(this,Kn,void 0),(0,a.A)(this,Vn,void 0),(0,a.A)(this,Wn,new WeakMap),(0,a.A)(this,Hn,new Map),this.scope=e,this.unknownBricks=null!==(n=null==t?void 0:t.unknownBricks)&&void 0!==n?n:"throw",(0,i.A)(Nn,this,null==t?void 0:t.routeHelper),this.renderId=null==t?void 0:t.renderId}setInitialMenuRequestNode(e){(0,i.A)(Vn,this,e)}memoizeMenuRequestNode(e,t){(0,s.A)(Wn,this).set(e,t)}getMenuRequests(){const e=[];let t=(0,s.A)(Vn,this);for(;t;)if(t.request&&e.push(t.request),t.child)t=t.child;else{for(var n;t&&!t.sibling;)t=t.return;t=null===(n=t)||void 0===n?void 0:n.sibling}return e}async reMergeMenuRequestNodes(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=(0,s.A)(Wn,this).get(t);(0,s.A)(Wn,this).set(t,n);let o,a=e.child;for(;a&&a!==r;)o=a,a=a.sibling;o?(o.sibling=n,n.sibling=null==r?void 0:r.sibling):e.child=n,await(0,s.A)(Nn,this).mergeMenus(this.getMenuRequests())}reBailout(e){return(0,s.A)(Nn,this).bailout(e)}reCatch(e,t){return(0,s.A)(Nn,this).catch(e,t,!1,!0)}async didPerformIncrementalRender(e,t){let n=!1;const r=[];for(const{parentRoutes:o,callback:a}of[...(0,s.A)(Hn,this).values()].reverse()){const i=o[o.length-1];if(r.includes(i))continue;const s=await a(e,t);s&&r.push(...o.slice(0,-1)),!1!==s&&(n=!0)}return n}performIncrementalRender(e,t,n){(0,s.A)(Hn,this).set(e,{parentRoutes:t,callback:n})}registerBrickLifeCycle(e,t){if(!t)return;const n=[...Bn,..."page"===this.scope?$n:[]];for(const r of n){const n=t[r];n&&(0,s.A)(Un,this)[r].push({brick:e,handlers:n})}(0,h.isEmpty)(t.useResolves)||console.error("`lifeCycle.useResolves` is dropped in v3:",t)}registerArbitraryLifeCycle(e,t){const n=(0,s.A)(jn,this).get(e);n?n.add(t):(0,s.A)(jn,this).set(e,new Set([t]))}memoize(e,t,n,r){(0,s.A)(Kn,this)||(0,i.A)(Kn,this,new WeakMap);const o=[null!=e?e:"",...t].join(".");let a=(0,s.A)(Kn,this).get(r);a||(a=new Map,(0,s.A)(Kn,this).set(r,a)),a.set(o,{node:n,last:Qn(n),lastNormal:Zn(n),lastPortal:tr(n)})}reRender(e,t,n,r){const o=[null!=e?e:"",...t].join("."),a=(0,s.A)(Kn,this).get(r).get(o),{node:i,last:c,lastNormal:l,lastPortal:u}=a;let d;const f=[];if((null==i?void 0:i.tag)===xn.PLACEHOLDER){var p,h,m;d=null!==(p=null===(h=function(e){return er(e,!0)}(i))||void 0===h?void 0:h.element)&&void 0!==p?p:null;const e=null===(m=function(e){return nr(e,!0)}(i))||void 0===m?void 0:m.element;e&&f.push(e)}else{var g,v,b;d=null!==(g=null==l||null===(v=l.element)||void 0===v?void 0:v.nextSibling)&&void 0!==g?g:null;let e=null==u||null===(b=u.element)||void 0===b?void 0:b.nextSibling;for(;e&&(f.push(e),e instanceof HTMLElement&&"DIV"===e.tagName);)e=e.nextSibling}const y=Qn(n);let w;a.node=n,a.last=y,a.lastNormal=Zn(n),a.lastPortal=tr(n);let E=r.child;for(;E&&E!==c;){if(E.sibling===i){w=E;break}E=E.sibling}const S=document.createDocumentFragment(),A=document.createDocumentFragment(),k={tag:xn.ROOT,container:S,createPortal:A,child:n};for(E=n;E;)E.return=k,E=E.sibling;const I=rr(i,c);for((0,C.A)(zn,this,qn).call(this,I),Ln(k),w?w.sibling=n:r.child=n,y&&(y.sibling=null==c?void 0:c.sibling),E=n;E;)E.return=r,E=E.sibling;var R,O;if(S.hasChildNodes()&&(r.tag===xn.ROOT?null===(R=r.container)||void 0===R||R.insertBefore(S,d):null===(O=r.element)||void 0===O||O.insertBefore(S,d)),A.hasChildNodes()){var T;let e=n;for(;e&&e.return;)e=e.return;if((null===(T=e)||void 0===T?void 0:T.tag)!==xn.ROOT)throw new Error("Cannot find render root node. This is a bug of Brick Next, please report it.");const t="function"==typeof e.createPortal?e.createPortal():e.createPortal;let r=null;for(const e of f)if(t.contains(e)){r=e;break}t.insertBefore(A,r)}const _=rr(n,y);(0,C.A)(zn,this,Yn).call(this,_)}dispose(){for(const e of Object.values((0,s.A)(Un,this)))e.length=0;for(const e of(0,s.A)(Fn,this).values()){for(const t of e)t.disconnect();e.length=0}(0,s.A)(Fn,this).clear(),(0,s.A)(Dn,this)&&(Ee.removeEventListener("change",(0,s.A)(Dn,this)),(0,i.A)(Dn,this,void 0)),(0,i.A)(Kn,this,void 0),(0,s.A)(jn,this).clear(),(0,s.A)(Hn,this).clear(),(0,i.A)(Wn,this,void 0)}dispatchBeforePageLoad(){(0,C.A)(zn,this,Xn).call(this,"onBeforePageLoad",new CustomEvent("page.beforeLoad"))}dispatchPageLoad(){const e=new CustomEvent("page.load");(0,C.A)(zn,this,Xn).call(this,"onPageLoad",e),window.dispatchEvent(e)}dispatchBeforePageLeave(e){(0,C.A)(zn,this,Xn).call(this,"onBeforePageLeave",new CustomEvent("page.beforeLeave",{detail:e}))}dispatchPageLeave(){(0,C.A)(zn,this,Xn).call(this,"onPageLeave",new CustomEvent("page.leave"))}dispatchAnchorLoad(){const{hash:e}=k().location;e&&"#"!==e?(0,C.A)(zn,this,Xn).call(this,"onAnchorLoad",new CustomEvent("anchor.load",{detail:{hash:e,anchor:e.substring(1)}})):(0,C.A)(zn,this,Xn).call(this,"onAnchorUnload",new CustomEvent("anchor.unload"))}initializeScrollIntoView(){for(const{brick:e,handlers:t}of(0,s.A)(Un,this).onScrollIntoView)(0,C.A)(zn,this,Jn).call(this,e,t)}initializeMediaChange(){(0,i.A)(Dn,this,(e=>{(0,C.A)(zn,this,Xn).call(this,"onMediaChange",new CustomEvent("media.change",{detail:G(e.detail)}))})),Ee.addEventListener("change",(0,s.A)(Dn,this))}initializeMessageDispatcher(){var e;for(const{brick:e,handlers:n}of(0,s.A)(Un,this).onMessage)for(const r of[].concat(n)){var t;null==ya||null===(t=ya.messageDispatcher)||void 0===t||t.onMessage(r.channel,(t=>{dn(r.handlers,e.runtimeContext,e)(new CustomEvent("message.push",{detail:t}))}))}null==ya||null===(e=ya.messageDispatcher)||void 0===e||e.onClose((()=>{(0,C.A)(zn,this,Xn).call(this,"onMessageClose",new CustomEvent("message.close"))}))}dispatchOnMount(){(0,C.A)(zn,this,Xn).call(this,"onMount",new CustomEvent("mount"))}dispatchOnUnmount(){(0,C.A)(zn,this,Xn).call(this,"onUnmount",new CustomEvent("unmount"))}}function qn(e){const t=[...Bn,..."page"===this.scope?$n:[]],n=[];for(const r of t){const t=(0,h.remove)((0,s.A)(Un,this)[r],(t=>e.has(t.brick)));"onUnmount"===r&&n.push(...t)}for(const t of e){var r,o,a;const e=(0,s.A)(Fn,this).get(t);if(null!=e&&e.length){for(const t of e)t.disconnect();e.length=0,(0,s.A)(Fn,this).delete(t)}Pn(t),null===(r=t.element)||void 0===r||delete r.$$tplStateStore,null===(o=t.element)||void 0===o||o.remove(),null===(a=t.disposes)||void 0===a||a.forEach((e=>e())),delete t.disposes}const i=new CustomEvent("unmount");for(const{brick:e,handlers:t}of n)dn(t,e.runtimeContext,e)(i)}function Yn(e){const t=new CustomEvent("mount");for(const{brick:n,handlers:r}of(0,s.A)(Un,this).onMount)e.has(n)&&dn(r,n.runtimeContext,n)(t);for(const{brick:t,handlers:n}of(0,s.A)(Un,this).onScrollIntoView)e.has(t)&&(0,C.A)(zn,this,Jn).call(this,t,n)}function Xn(e,t){for(const{brick:n,handlers:r}of(0,s.A)(Un,this)[e])dn(r,n.runtimeContext,n)(t);const n=(0,s.A)(jn,this).get(e);if(n)for(const e of n)e()}function Jn(e,t){var n;const r=null!==(n=t.threshold)&&void 0!==n?n:.1,o=new IntersectionObserver(((n,o)=>{n.forEach((n=>{n.isIntersecting&&n.intersectionRatio>=r&&(dn(t.handlers,e.runtimeContext,e)(new CustomEvent("scroll.into.view")),o.disconnect())}))}),{threshold:r});o.observe(e.element);let a=(0,s.A)(Fn,this).get(e);a||(a=[],(0,s.A)(Fn,this).set(e,a)),a.push(o)}function Qn(e){let t=e;for(;null!==(n=t)&&void 0!==n&&n.sibling;){var n;t=t.sibling}return t}function Zn(e){return er(e,!1)}function er(e,t){let n,r=e;for(;r;){if(r.tag===xn.BRICK&&!r.portal){if(t)return r;n=r}r=r.sibling}return n}function tr(e){return nr(e,!1)}function nr(e,t){let n,r=e;for(;r;){if(r.tag===xn.BRICK&&r.portal){if(t)return r;n=r}if(r.child)r=r.child;else if(r.sibling)r=r.sibling;else{var o;let e=r.return;for(;e&&!e.sibling;)e=e.return;r=null===(o=e)||void 0===o?void 0:o.sibling}}return n}function rr(e,t){const n=new Set;let r=e;for(;r;)if(r.tag===xn.BRICK&&n.add(r),r.child)r=r.child;else{if(r===t)break;if(r.sibling)r=r.sibling;else{var o;let e=r.return;for(;e&&e!==t&&!e.sibling;)e=e.return;if(e===t)break;r=null===(o=e)||void 0===o?void 0:o.sibling}}return n}const or=new Map;function ar(e){return or.get(e)}const ir=Symbol.for("root.runtimeContext");async function sr(e,t,n){var r,o,a,i,s;const[c,l,u]=ro({...null!==(r=e[ir])&&void 0!==r?r:Oa(),data:t,pendingPermissionsPreCheck:[]});c.inUseBrick=!0,null!==(o=c.tplStateStoreMap)&&void 0!==o||(c.tplStateStoreMap=new Map),null!==(a=c.formStateStoreMap)&&void 0!==a||(c.formStateStoreMap=new Map);const d=new Gn("fragment"),f={tag:xn.ROOT,createPortal:null},p=Re(),h=await eo(f,p&&!n?e:{errorBoundary:n,...e},c,d,[],{}),m=[...l,...u];if(await no(h,c,m),(null===(i=h.node)||void 0===i?void 0:i.tag)===xn.PLACEHOLDER){if(h.node.tracking)throw new Error("The root brick of useBrick cannot be an ignored tracking control node");h.node=void 0}if(null!==(s=h.node)&&void 0!==s&&s.portal)throw new Error("The root brick of useBrick cannot be a portal brick");return f.child=h.node,{tagName:h.node?h.node.type:null,renderRoot:f,rendererContext:d,scopedStores:m}}function cr(e,t){let n,{renderRoot:r,rendererContext:o,scopedStores:a}=e;r.createPortal=()=>{const e=document.querySelector("#portal-mount-point");return n=document.createElement("div"),e.appendChild(n),n},Ln(r,t),o.dispatchOnMount(),o.initializeScrollIntoView(),o.initializeMediaChange(),o.initializeMessageDispatcher();for(const e of a)e.mountAsyncData();return{portal:n}}function lr(e,t){let{rendererContext:n}=e;t.portal&&(Mn(t.portal),t.portal.remove()),n.dispatchOnUnmount(),n.dispose()}function ur(e,t,n){const r=S();if(r)return r.doTransform(e,t,n);if(n)throw new Error("Legacy doTransform does not support options in v3");return gt(t,{...Oa(),data:e},{noInject:!0})}function dr(e,t){const n=Ta(e);Object.assign(n,{...t,meta:{...n.meta,...t.meta},$$fulfilling:null,$$fulfilled:!0,$$registerCustomTemplateProcessed:!1}),L(n)}function fr(e,t){const n=Ta(e);let r=!1;function o(e){e.forEach(((n,i)=>{"routes"===n.type?o(n.routes):function(e){return e.path===t.path&&!e.exact==!t.exact}(n)?(r=!0,e[i]=t):Array.isArray(n.bricks)&&a(n.bricks)}))}function a(e){e.forEach((e=>{if(e.slots)for(const t of Object.values(e.slots))"routes"===t.type?o(t.routes):a(t.bricks)}))}o(n.routes),r||n.routes.unshift(t)}function pr(e,t,n){const r=`${e}.${t.name}`;Pe.define(r,{bricks:t.bricks,proxy:t.proxy,state:t.state}),hr(e,t.name,n)}function hr(e,t,n){br(e,`\${APP.homepage}/_dev_only_/template-preview/${t}`,[{brick:t,...(0,h.pick)(n,"properties","events","lifeCycle","context","slots","children")}])}function mr(e){return`\${APP.homepage}/_dev_only_/snippet-preview/${e}`}function gr(e,t){var n;br(e,mr(t.snippetId),null!==(n=t.bricks)&&void 0!==n&&n.length?t.bricks:[{brick:"span"}],t.context)}const vr=gr;function br(e,t,n,r){const{routes:o}=Ta(e),a=o.findIndex((e=>e.path===t)),i={path:t,bricks:n,context:r,menu:!1,exact:!0};-1===a?o.unshift(i):o.splice(a,1,i)}function yr(e,t){let{tplStateStoreId:n}=t;const r=Oa();return n?xe({...r,tplStateStoreId:n},"STATE").getValue(e):r.ctxStore.getValue(e)}function wr(e){let{tplStateStoreId:t}=e;const n=Oa();return t?xe({...n,tplStateStoreId:t},"STATE").getAllValues():n.ctxStore.getAllValues()}function Er(e){return Ia().find((t=>t.id?t.id===e:t.filePath.startsWith(`${e}/`)))}function Sr(e){return(0,l.loadBricksImperatively)(e,Ia())}function Ar(e,t){return(0,l.loadEditorsImperatively)(e,null!=t?t:Ia())}function kr(){return Ra()}async function Ir(e,t){let{appId:n,updateStoryboardType:r,collectUsedContracts:o}=t;const a=Ta(n);let i;if("route"===r)i={routes:[e]};else if("template"===r)i={meta:{customTemplates:[e]}};else if("snippet"===r){var s;const t=mr(e.snippetId);i={routes:[null==a||null===(s=a.routes)||void 0===s?void 0:s.find((e=>e.path===t))]}}const c=[];return i&&o&&(await o(i)).forEach((e=>{var t;const[n,r,o]=e.match(/(.*)@(.*):\d\.\d\.\d/);null!=a&&null!==(t=a.meta)&&void 0!==t&&null!==(t=t.contracts)&&void 0!==t&&t.some((e=>e.namespaceId===r&&e.name===o))||c.push(e)})),c}async function Cr(e,t){let{tplStateStoreId:n,routeId:r}=t;const o={...Oa(),tplStateStoreId:n,match:ar(r)};return e.resolve?tt(e.resolve,o,{cache:"reload"}):mt(e.value,o)}function Rr(e){var t;const n=Oa();return{app:null!==(t=null==n?void 0:n.overrideApp)&&void 0!==t?t:null==n?void 0:n.app,location:(0,h.pick)(location,["href","origin","hostname","host"]),...(0,h.pick)(n,["query","sys"]),match:ar(null==e?void 0:e.routeId)}}let Or;const Tr=[];function _r(e){Or=e;const t=wr({tplStateStoreId:e.tplStateStoreId});xr({changeType:"initialize",tplStateStoreId:e.tplStateStoreId,detail:{data:t}})}function Pr(e){Tr.push(e)}function xr(e){setTimeout((()=>{for(const t of Tr)try{t(e)}catch(t){console.error(`RealTimeDataInspectHook failed (${e.changeType}):`,t)}}))}const Mr=["onBeforePageLoad","onPageLoad","onBeforePageLeave","onPageLeave","onAnchorLoad","onAnchorUnload"];class Lr{constructor(e,t,n,r){(0,o.A)(this,"type",void 0),(0,o.A)(this,"data",new Map),(0,o.A)(this,"changeEventType",void 0),(0,o.A)(this,"pendingStack",[]),(0,o.A)(this,"hostBrick",void 0),(0,o.A)(this,"stateStoreId",void 0),(0,o.A)(this,"batchUpdate",!1),(0,o.A)(this,"batchUpdateContextsNames",[]),(0,o.A)(this,"rendererContext",void 0),(0,o.A)(this,"routeMap",new WeakMap),(0,o.A)(this,"routeStackMap",new WeakMap),this.type=e,this.changeEventType="FORM_STATE"===this.type?"formstate.change":"STATE"===this.type?"state.change":"context.change",this.hostBrick=t,this.rendererContext=n,this.stateStoreId=r}getAllValues(){return Object.fromEntries([...this.data.entries()].map((e=>{let[t,{value:n}]=e;return[t,n]})))}getValue(e){var t;return null===(t=this.data.get(e))||void 0===t?void 0:t.value}notifyRealTimeDataChange(e,t){if(Or){const{tplStateStoreId:n}=Or;(n?"STATE"===this.type&&this.stateStoreId===n:"CTX"===this.type)&&xr({changeType:"update",tplStateStoreId:n,detail:{name:e,value:t}})}}getAffectListByContext(e){const t=[e];return this.data.forEach(((e,n)=>{e.deps&&e.deps.some((e=>t.includes(e)))&&t.push(n)&&t.push(...this.getAffectListByContext(n))})),t.shift(),[...new Set(t)]}updateValues(e,t,n){if(this.batchUpdate=!0,this.batchUpdateContextsNames=e.map((e=>e.name)),[...new Set(this.batchUpdateContextsNames)].length!==this.batchUpdateContextsNames.length)throw new Error("Batch update not allow to update same item");const r={},o={},a=[];e.forEach((e=>{const{name:o,value:i}=n([e]),s=this.data.get(o);a.push(...this.getAffectListByContext(o)),s&&(r[o]=s),this.updateValue(o,i,t)})),a.filter((e=>!r[e])).forEach((e=>{const t=this.data.get(e);t&&(o[e]=t)}));const i=e=>{for(const n in e){var t;const r=e[n];null===(t=r.eventTarget)||void 0===t||t.dispatchEvent(new CustomEvent(this.changeEventType,{detail:r.value}))}};i(r),i(o),this.batchUpdate=!1}updateValue(e,t,n,r,o){const a=this.data.get(e);if(!a)throw new Error(`${this.type} '${e}' is not defined`);if("refresh"!==n&&"load"!==n)"replace"===n?a.value=t:(0,u.isObject)(a.value)?Object.assign(a.value,t):(console.warn(`Non-object current value of "${this.type}.${e}" for "context.assign", try "context.replace" instead.`),a.value=t),this.batchUpdate||a.eventTarget.dispatchEvent(new CustomEvent(this.changeEventType,{detail:a.value}));else{if(!a.useResolve)throw new Error(`You can not ${n} "${this.type}.${e}" which is not using resolve`);let i;"load"===n&&(a.loaded?i=Promise.resolve(a.value):a.loading&&(i=a.loading));const s=e=>{var t;let n;return"FlowApiNotFoundError"===(null==e?void 0:e.name)&&!!(n=null===(t=this.rendererContext)||void 0===t?void 0:t.renderId)&&n!==Ra()};if(i||(i=a.loading=a.load({cache:"load"===n?"default":"reload",...t}),i.then((e=>{this.finishLoad(a,e)}),(e=>{!a.useResolve||s(e)||null!=r&&r.error||rn(e)}))),r){const e=On(r,o);i.then((t=>{e("success")({value:t}),e("finally")()}),(t=>{!s(t)&&r.error&&e("error")(t),e("finally")()}))}}}finishLoad(e,t){e.useResolve&&(e.loaded=!0,e.value=t,e.eventTarget.dispatchEvent(new CustomEvent(this.changeEventType,{detail:t})))}define(e,t,n,r){if(Array.isArray(e)&&e.length>0){const o=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"CTX";const r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"CTX",n=arguments.length>2?arguments[2]:void 0;const r=new Map;for(const o of e){const e=[o.if,o.value,o.resolve],a=(0,T.collectMemberUsage)(e,t);if(!n&&"STATE"===t){const t=(0,T.collectMemberUsage)(e,"TPL");for(const e of t.usedProperties)a.usedProperties.add(e);t.hasNonStaticUsage&&(a.hasNonStaticUsage=!0)}r.set(o,a)}return r}(e,n,arguments.length>3?arguments[3]:void 0),o=new Map;for(const e of Array.from(r.keys()).map((e=>e.name))){var a;o.set(e,(null!==(a=o.get(e))&&void 0!==a?a:0)+1)}const i=Array.from(r.values()).some((e=>e.hasNonStaticUsage)),s=new WeakSet,c=new Map,l=new Map([...new Set(e.map((e=>e.name)))].map((e=>{const t=new Promise(((t,n)=>{c.set(e,{resolve:t,reject:n})}));return t.catch((()=>{})),[e,t]}))),u=async e=>{var n;s.add(e);const a=await t(e);r.delete(e);const i=null!==(n=o.get(e.name))&&void 0!==n?n:0;if(a){if(c.get(e.name).resolve(),o.delete(e.name),0===i)throw new Error(`Duplicated context defined: ${e.name}`)}else 1===i?(c.get(e.name).resolve(),o.delete(e.name)):o.set(e.name,i-1);await f()};let d=i;async function f(){const e=Array.from(r.entries()).filter(function(e,t){return(n,r)=>t?0===r:![...n[1].usedProperties].some((t=>e.has(t)))}(o,d)).map((e=>e[0])).filter((e=>!s.has(e)));await Promise.all(e.map(u))}const p=f().then((async()=>{r.size>0&&(function(e,t){const n=new Map(e),r=new Set(Array.from(n.keys()).map((e=>e.name))),o=()=>{let e=!1;for(const[t,o]of n.entries())[...o.usedProperties].some((e=>r.has(e)))||(n.delete(t),r.delete(t.name),e=!0);e&&o()};if(o(),n.size>0)throw new ReferenceError(`Circular ${t} detected: ${Array.from(n.keys()).map((e=>e.name)).join(", ")}`)}(r,n),d=!0,await f());for(const e of c.values())e.resolve()})).catch((e=>{for(const t of c.values())t.reject(e);throw e}));return p.catch((()=>{})),{pendingResult:p,pendingContexts:l}}(e,(e=>this.resolve(e,t,n,r)),this.type,Re(t));if(Array.isArray(r))for(const e of r){const t=this.routeStackMap.get(e);t?t.add(o):this.routeStackMap.set(e,new Set([o]))}this.pendingStack.push(o)}}onChange(e,t){var n;const r=null===(n=this.data.get(e))||void 0===n?void 0:n.eventTarget;return null==r||r.addEventListener(this.changeEventType,t),()=>{null==r||r.removeEventListener(this.changeEventType,t)}}async waitFor(e){for(const{pendingContexts:t}of this.pendingStack)await Promise.all([...e].map((e=>t.get(e))))}async waitForAll(){for(const{pendingResult:e}of this.pendingStack)await e}mountAsyncData(e){this.data.forEach((t=>{var n;if(t.async&&(!e||null!==(n=this.routeMap.get(e))&&void 0!==n&&n.has(t.name))){if(t.asyncMounted)return void console.error(`Async data "${t.name}" already mounted. This is a bug of Brick Next, please report it.`);t.asyncMounted=!0,t.loading.then((e=>{this.finishLoad(t,e)}))}}))}async resolve(e,t,n,r){if(!await yt(e,t))return!1;let o,a,i,s,c,l;if(n&&("STATE"===this.type?e.expose:"FORM_STATE"===this.type)&&(o=await kt(n,e.name)),void 0===o){if(e.resolve){const n=(0,u.hasOwnProperty)(e,"value");c=e.track&&n&&(0,u.hasOwnProperty)(e.resolve,"if")&&(0,T.strictCollectMemberUsage)(e.resolve.if,this.type).size>0;const r={transform:"value",...e.resolve};if(s=await yt(e.resolve,t),(s||c)&&(a=async e=>{var n;return(await tt(r,t,{...e,renderId:null===(n=this.rendererContext)||void 0===n?void 0:n.renderId})).value}),s)l=e.resolve.async?"async":e.resolve.lazy?"lazy":"eager","eager"===l?o=await a():"async"===l&&(i=a());else if(!n)return!1}s&&"eager"===l||void 0===e.value||(o=await mt(e.value,t))}if(this.data.has(e.name))throw new Error(`${this.type} '${e.name}' has already been declared`);const d={name:e.name,value:o,eventTarget:new be,useResolve:s,load:a,loaded:"eager"===l,loading:i,async:"async"===l,deps:[]};if("lazy"===l){const{trigger:t}=e.resolve;var f;t&&Mr.includes(t)&&(null===(f=this.rendererContext)||void 0===f||f.registerArbitraryLifeCycle(t,(()=>{this.updateValue(e.name,void 0,"load")})))}if(e.onChange&&d.eventTarget.addEventListener(this.changeEventType,dn(e.onChange,t)),e.track){const n=(0,T.strictCollectMemberUsage)(c?[e.resolve,e.value]:a?e.resolve:e.value,this.type);!a&&(d.deps=[...n]);for(const r of n)this.onChange(r,this.batchAddListener((()=>{d.useResolve=c?wt(e.resolve,t):!!a,d.useResolve?this.updateValue(e.name,{cache:"default"},"refresh"):this.updateValue(e.name,gt(e.value,t),"replace")}),e))}if(d.eventTarget.addEventListener(this.changeEventType,(t=>{this.notifyRealTimeDataChange(e.name,t.detail)})),this.data.set(e.name,d),Array.isArray(r))for(const t of r){const n=this.routeMap.get(t);n?n.add(e.name):this.routeMap.set(t,new Set([e.name]))}return!0}disposeDataInRoutes(e){for(const t of e){const e=this.routeMap.get(t);if(void 0!==e){for(const t of e)this.data.delete(t);this.routeMap.delete(t)}const n=this.routeStackMap.get(t);void 0!==n&&((0,h.pull)(this.pendingStack,...n),this.routeStackMap.delete(t))}}batchAddListener(e,t){return n=>{this.batchUpdate&&this.batchUpdateContextsNames.includes(t.name)||e(n)}}}function Br(e,t,n,r){const{reversedProxies:o,asyncHostPropertyEntries:a,externalSlots:i,tplStateStoreId:s,hostBrick:c}=e;let l;if(t&&o){const e=o.properties.get(t);e&&(g=a,l=e.map((e=>{let{from:t,to:n}=e;const r=g.filter((e=>e[0]===t));if(r.length>0&&n.refProperty)return[n.refProperty,kt(r,t),!0]})).filter(Boolean));const s=o.slots.get(t);if(s&&r)throw new Error(`Can not have proxied slot ref when the ref target has a slot element child, check your template "${c.type}" and ref "${t}"`);if(s&&i){const e=new Map;for(const{from:t,to:r}of s){var d,f,p,m;const o=null!==(d=null===(f=i[t])||void 0===f?void 0:f.bricks)&&void 0!==d?d:[];if(!o.length)continue;const a=null!==(p=r.refSlot)&&void 0!==p?p:t;let s=e.get(a);if(!s){s=[];const t=(0,u.hasOwnProperty)(n,a)?n[a].bricks.length+1:1;for(let e=0;e<t;e+=1)s.push([]);e.set(a,s)}const l=null!==(m=r.refPosition)&&void 0!==m?m:-1,g=(0,u.hasOwnProperty)(c.runtimeContext,"forEachItem");s[(0,h.clamp)(l<0?s.length+l:l,0,s.length-1)].push(...g?$r(o,c.runtimeContext.forEachItem,c.runtimeContext.forEachIndex,c.runtimeContext.forEachSize):o)}for(const[t,r]of e.entries()){(0,u.hasOwnProperty)(n,t)||(n[t]={type:"bricks",bricks:[]});const e=n[t];e.bricks=r.flatMap(((t,n)=>n<e.bricks.length?t.concat(e.bricks[n]):t)),0===e.bricks.length&&delete n[t]}}}var g;return{[Ut]:l,[Ft]:s}}function $r(e,t,n,r){return e.map((e=>{var o;let{children:a,slots:i,...s}=e;return{...s,[Dt]:t,[jt]:n,[Kt]:r,slots:":forEach"===s.brick?io(a,i):Object.fromEntries(Object.entries(null!==(o=io(a,i))&&void 0!==o?o:{}).map((e=>{let[o,a]=e;return[o,"routes"===a.type?{type:"routes",routes:Nr(a.routes,t,n,r)}:{type:"bricks",bricks:$r(a.bricks,t,n,r)}]})))}}))}function Nr(e,t,n,r){return e.map((e=>"routes"===e.type?{...e,routes:Nr(e.routes,t,n,r)}:"redirect"===e.type?e:{...e,bricks:$r(e.bricks,t,n,r)}))}function Ur(e,t,n){var r,o,a,i;if(null!=e.if&&!e.if||"string"==typeof e.if)throw new Error(`Can not use "if" in a slot currently, check your template "${t.hostBrick.type}"`);const s=String(null!==(r=null===(o=e.properties)||void 0===o?void 0:o.name)&&void 0!==r?r:"");if((0,O.isEvaluable)(s))throw new Error(`Can not use an expression as slot name "${s}" currently, check your template "${t.hostBrick.type}"`);if(t.usedSlots.has(s))throw new Error(`Can not have multiple slots with the same name "${s}", check your template "${t.hostBrick.type}"`);if(t.usedSlots.add(s),t.externalSlots&&(0,u.hasOwnProperty)(t.externalSlots,s)){var c;const e=null!==(c=t.externalSlots[s].bricks)&&void 0!==c?c:[];if(e.length>0){const n=t.hostBrick.runtimeContext;return(0,u.hasOwnProperty)(n,"forEachItem")?$r(e,n.forEachItem,n.forEachIndex,n.forEachSize):e}}const l=io(e.children,e.slots);return(null!==(a=null==l||null===(i=l[""])||void 0===i?void 0:i.bricks)&&void 0!==a?a:[]).flatMap((e=>n(e,t)))}function Fr(e,t){function n(e){return(0,u.isObject)(e)&&"function"!=typeof e?Array.isArray(e)?e.map(n):Object.fromEntries(Object.entries(e).map((e=>{let[t,o]=e;return(0,u.isObject)(o)&&"useBrick"===t?Array.isArray(o)?[t,o.flatMap((e=>r(e)))]:[t,r(o)]:[t,n(o)]})).concat(Object.getOwnPropertySymbols(e).map((t=>[t,e[t]])))):e}function r(e,o){if("slot"===e.brick)return null==o||o(),Ur(e,t,(e=>r(e)));const{properties:a,slots:i,children:s,...c}=e,l=io(s,i);let u=!1;const d=()=>{u=!0},f=Object.fromEntries(Object.entries(null!=l?l:{}).map((e=>{var t;let[n,o]=e;return[n,{type:"bricks",bricks:(null!==(t=o.bricks)&&void 0!==t?t:[]).flatMap((e=>r(e,d)))}]})));return{...c,properties:n(a),slots:f,...Br(t,c.ref,f,u)}}return n(e)}function Dr(e,t,n){if(null===e.if&&delete e.if,"slot"===e.brick)return null==n||n(),Ur(e,t,Dr);const{properties:r,slots:o,children:a,...i}=e,s=io(a,o);let c=!1;const l=()=>{c=!0},u=Object.fromEntries(Object.entries(null!=s?s:{}).map((e=>{var n;let[r,o]=e;return[r,{type:"bricks",bricks:(null!==(n=o.bricks)&&void 0!==n?n:[]).flatMap((e=>Dr(e,t,l)))}]})));return{...i,properties:Fr(r,t),slots:u,...Br(t,i.ref,u,c)}}const jr="form-renderer.form-renderer",Kr=Symbol.for("form.stateStoreId"),Vr=["forms.general-form","form.general-form","eo-form"];function Wr(e,t,n){const{id:r,bricks:o,events:a,context:i,mountPoint:s,instanceId:c}=e;let{brick:l,properties:d}=e;const f=t.find((e=>e.fieldId===r));if(f){const e=function(e){let t;const n={id:e.fieldId,name:e.fieldId,label:e.name,dataset:{testid:e.fieldId}},r=()=>{var t,n;return{readOnly:null===(t=e.limit)||void 0===t?void 0:t.includes("READONLY"),required:null===(n=e.limit)||void 0===n?void 0:n.includes("REQUIRED")}};switch(e.fieldType){case"INT":t={brick:"forms.general-input-number",properties:{...n,...r(),placeholder:e.description,precision:0,inputBoxStyle:{width:"100%"}}};break;case"BOOLEAN":t={brick:"forms.general-switch",properties:{...n,...r()}};break;case"FLOAT":t={brick:"forms.general-input-number",properties:{...n,...r(),placeholder:e.description,inputBoxStyle:{width:"100%"}}};break;case"ENUM":t={brick:"forms.general-select",properties:{...n,...r(),options:[{label:"选项一",value:1},{label:"选项二",value:2}],placeholder:e.description,inputBoxStyle:{width:"100%"}}};break;case"ENUMS":t={brick:"forms.general-select",properties:{...n,...r(),mode:"multiple",options:[{label:"选项一",value:1},{label:"选项二",value:2}],placeholder:e.description,inputBoxStyle:{width:"100%"}}};break;case"DATE":case"TIME":t={brick:"forms.general-date-picker",properties:{...n,...r(),placeholder:e.description}};break;case"IP":t={brick:"forms.general-input",properties:{...n,...r(),placeholder:e.description,pattern:"((^s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))s*$)|(^s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:)))(%.+)?s*$))",message:{pattern:"输入字符不匹配IP格式"}}};break;case"JSON":t={brick:"forms.general-textarea",properties:{...n}};break;case"ARRAY":t={brick:"forms.general-select",properties:{...n}};break;case"STRUCTURE":case"STRUCTURE_ARRAY":t={brick:"forms.cmdb-instance-select-panel",properties:{...n,...r()}};break;default:t={brick:"forms.general-input",properties:{...n,...r(),placeholder:e.description}}}return t}(f);l||(l=e.brick),d={...e.properties,...d}}const p={brick:l,properties:d,iid:c,slot:s,events:a,context:i,children:Hr(o,t,n),[Kr]:n};return(0,u.hasOwnProperty)(e,"if")&&(p.if=e.if),p}function Hr(e,t,n){if(Array.isArray(e))return e.map((e=>Wr(e,t,n)))}var zr=new WeakSet;class Gr extends HTMLElement{constructor(){super(...arguments),(0,I.A)(this,zr),(0,o.A)(this,"renderRoot",void 0)}get $$typeof(){return"formRenderer"}validate(){(0,C.A)(zr,this,qr).call(this,"validate")}setInitValue(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];(0,C.A)(zr,this,qr).call(this,"setInitValue",t)}resetFields(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];(0,C.A)(zr,this,qr).call(this,"resetFields",t)}getFieldsValue(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,C.A)(zr,this,qr).call(this,"getFieldsValue",t)}}function qr(e){var t,n;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const o=!1!==this.renderRoot?null===(t=this.firstElementChild)||void 0===t?void 0:t.firstElementChild:this.firstElementChild,a=null==o||null===(n=o.tagName)||void 0===n?void 0:n.toLowerCase();if(Vr.includes(a))return o[e](...r);console.error(`no ${e} method in the container element`,{container:a})}class Yr extends Error{constructor(e){super(e),this.name="PageError",Error.captureStackTrace&&Error.captureStackTrace(this,l.BrickLoadError)}}async function Xr(e,t,n){const{title:r,variant:o,showLink:a,showDescription:i}=function(e){var t,n;return e instanceof Yr?"page blocked"===e.message?{showLink:"home",title:c.i18n.t(`${Gt}:${Wt.LICENSE_BLOCKED}`),variant:"no-permission"}:"app not found"===e.message?{showLink:"home",title:c.i18n.t(`${Gt}:${Wt.APP_NOT_FOUND}`),variant:"no-permission"}:{showLink:"home",variant:"not-found",title:c.i18n.t(`${Gt}:${Wt.PAGE_NOT_FOUND}`)}:e instanceof l.BrickLoadError||e instanceof Error&&"ChunkLoadError"===e.name||e instanceof Event&&"error"===e.type&&e.target instanceof HTMLScriptElement?{showDescription:!0,title:c.i18n.t(`${Gt}:${Wt.NETWORK_ERROR}`),variant:"internet-disconnected",showLink:"reload"}:e instanceof R.HttpResponseError&&403===(null===(t=e.response)||void 0===t?void 0:t.status)?{showLink:"previous",showDescription:!0,title:c.i18n.t(`${Gt}:${Wt.NO_PERMISSION}`),variant:"no-permission"}:e instanceof R.HttpResponseError&&"200000"===(null===(n=e.responseJson)||void 0===n?void 0:n.code)?{showDescription:!0,title:c.i18n.t(`${Gt}:${Wt.LICENSE_EXPIRED}`),variant:"license-expired"}:{showLink:"previous",showDescription:!0,title:c.i18n.t(`${Gt}:${Wt.UNKNOWN_ERROR}`),variant:"unknown-error"}}(e);if(n){var s;const n=null!==(s=Ca().error)&&void 0!==s?s:"illustrations.error-message";if(!1!==n){const s="eo-link",c=(a?[n,s]:[n]).filter((e=>!customElements.get(e)));try{await Promise.race([(0,l.loadBricksImperatively)(c,Ia()),new Promise(((e,t)=>setTimeout((()=>{t(new Error("timeout"))}),3e3)))]);const u={tag:xn.BRICK,type:n,properties:{errorTitle:r,description:i?Qt(e):void 0,variant:o,dataset:{errorBoundary:""}},runtimeContext:null,return:t};return a&&(u.child=Jr(a,s,u,"")),u}catch(e){console.error("Failed to load brick:",c.join(", "),e)}}}const u=n&&!!customElements.get("easyops-default-error"),d={tag:xn.BRICK,type:u?"easyops-default-error":"div",properties:{errorTitle:r,dataset:{errorBoundary:""},style:{color:"var(--color-error)"}},runtimeContext:null,return:t},f={tag:xn.BRICK,type:"div",properties:{textContent:u?i?Qt(e):"":i?`${r}: ${Qt(e)}`:r},runtimeContext:null,return:d};return d.child=f,n&&a&&(f.sibling=Jr(a,"a",d,u?"link":"")),d}function Jr(e,t,n,r){return{tag:xn.BRICK,type:t,slotId:r,properties:{textContent:"home"===e?c.i18n.t(`${Gt}:${Wt.GO_BACK_HOME}`):"reload"===e?c.i18n.t(`${Gt}:${Wt.RELOAD}`):c.i18n.t(`${Gt}:${Wt.GO_BACK_TO_PREVIOUS_PAGE}`),href:"home"===e?p():"reload"===e?location.href:void 0},events:"previous"===e?{click:{action:"history.goBack"}}:void 0,runtimeContext:null,return:n}}async function Qr(e,t,n,r,o,a,i,s,c){const u=await async function(e,t){for(const n of e){if("string"!=typeof n.path)throw console.error("Invalid route with invalid path:",n),new Error("Invalid route with invalid type of path: "+typeof n.path);const e=Nt(n,t.app.homepage,t.location.pathname);if(e&&await yt(n,t))return t.app.noAuthGuard||n.public||null==ya||!ya.auth||ya.auth.isLoggedIn()?{match:e,route:n}:"unauthenticated"}return"missed"}(t,n),d={blockingList:[]},f=d.menuRequestNode={return:a};switch(u){case"missed":break;case"unauthenticated":d.unauthenticated=!0;break;default:{var p;const a=d.route=u.route;d.path=u.match.path;const g={...n,match:u.match};a.iid&&(h=a.iid,m=u.match,or.set(h,m)),s&&g.ctxStore.disposeDataInRoutes(t);const v=o.concat(a);g.ctxStore.define(a.context,g,void 0,v),g.pendingPermissionsPreCheck.push(null==ya||null===(p=ya.checkPermissions)||void 0===p?void 0:p.preCheckPermissionsForBrickOrRoute(a,(e=>mt(e,g))));const{preLoadBricks:b}=a;if(Array.isArray(b)&&d.blockingList.push((0,l.loadBricksImperatively)(b,Ia())),"redirect"===a.type){let e;if(e="string"==typeof a.redirect?await mt(a.redirect,g):(await tt({transform:"redirect",...a.redirect},g)).redirect,"string"!=typeof e)throw console.error("Unexpected redirect result:",e),new Error("Unexpected type of redirect result: "+typeof e);d.redirect={path:e}}else{const n=function(e,t){if(e){if("brick"===e.type)throw console.error("Set menu with brick is dropped in v3:",e),new Error("Set menu with brick is dropped in v3");if("resolve"!==e.type)return mt(e,t);console.warn("Set menu with resolve is not supported in v3 yet:",e)}}(a.menu,g);n&&(f.request=n),s||r.memoizeMenuRequestNode(t,f);const o=(0,T.strictCollectMemberUsage)(a.context,"PROCESSORS",2);let u;o.size>0&&d.blockingList.push(so((0,l.loadProcessorsImperatively)(o,Ia()),"processors",[...o].join(", "),r.unknownBricks)),u="routes"===a.type?await Qr(e,a.routes,g,r,v,f,i,void 0,c):await Zr(e,a.bricks,g,r,v,f,i,void 0,void 0,c),oo(d,u),ao(f,u.menuRequestNode)}}}var h,m;return d}async function Zr(e,t,n,r,o,a,i,s,c,l){!function(e,t){function n(e){if((0,u.isObject)(e)&&"function"!=typeof e)if(Array.isArray(e))e.map(n);else for(const[t,o]of Object.entries(e))(0,u.isObject)(o)&&"useBrick"===t?Array.isArray(o)?o.forEach((e=>r(e,!0))):r(o,!0,!0):n(o)}function r(e,o,a){if(o&&(e[ir]=t),n(e.properties),!a)return;const i=io(e.children,e.slots);for(const e of Object.values(null!=i?i:{}))for(const t of null!==(s=e.bricks)&&void 0!==s?s:[]){var s;r(t,o)}}for(const t of e)r(t)}(t,n);const d={blockingList:[]},f=null!=c?c:[];return(await Promise.all(t.map(((t,c)=>eo(e,t,n,r,o,a,i,f.concat(c),s&&new Map(s),l))))).forEach(((t,n)=>{t.hasTrackingControls&&r.memoize(i,f.concat(n),t.node,e),oo(d,t)})),d}async function eo(e,t,n,r,o,a,i){let s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:[],c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:new Map,d=arguments.length>9?arguments[9]:void 0;try{return await async function(e,t,n,r,o,a,i,s,c,d){var f,p;const m={blockingList:[]};if(!t.brick)return t.template?console.error("Legacy templates are dropped in v3:",t):console.error("Invalid brick:",t),m;const{if:v,permissionsPreCheck:b,...y}=t;if(function(e){return"string"==typeof e?(0,O.isTrackAll)(e):at(e)&&(0,O.isTrackAll)(it(e))}(v))return eo(e,{brick:":if",dataSource:v,permissionsPreCheck:b,slots:{"":{type:"bricks",bricks:[y]}},...Object.getOwnPropertySymbols(t).reduce(((e,n)=>({...e,[n]:t[n]})),{})},n,r,o,a,i,s,c,d);const w=t[Ft],E=t[Kr],S={...n,tplStateStoreId:w,formStateStoreId:E};(0,u.hasOwnProperty)(t,Dt)&&(S.forEachItem=t[Dt],S.forEachIndex=t[jt],S.forEachSize=t[Kt]);const A=Re(S),{context:k}=t;if(Array.isArray(k)&&k.length>0&&(Oe(A,"Defining context on bricks","check your brick:",t),A||S.ctxStore.define(k,S)),S.pendingPermissionsPreCheck.push(null==ya||null===(f=ya.checkPermissions)||void 0===f?void 0:f.preCheckPermissionsForBrickOrRoute(t,(e=>mt(e,S)))),!await async function(e,t){return(0,u.isObject)(e.if)&&!at(e.if)?Et(await tt(e.if,t)):yt(e,t)}(t,S))return m;const I=t.brick;if(I.startsWith(":")){var C;!function(e){if(":forEach"!==e&&":if"!==e&&":switch"!==e)throw new Error(`Unknown storyboard control node: "${e}"`)}(I);const{dataSource:n}=t,{contextNames:l,stateNames:d}=At(n),f=!(!l&&!d),p=async(f,p,h)=>{var m;const g=await mt(n,f);h&&Ot(f,[{contextNames:l,stateNames:d,propValue:n}],p);const v=":forEach"===I?"":":switch"===I?String(g):g?"":"else",b=io(t.children,t.slots),y=b&&(0,u.hasOwnProperty)(b,v)&&(null===(m=b[v])||void 0===m?void 0:m.bricks);if(!Array.isArray(y))return{blockingList:[]};switch(I){case":forEach":return Array.isArray(g)?async function(e,t,n,r,o,a,i,s,c,l,u){const d={blockingList:[]},f=t.length,p=await Promise.all(t.map(((t,d)=>Promise.all(n.map(((n,p)=>eo(e,n,{...r,forEachItem:t,forEachIndex:d,forEachSize:f},o,a,i,s,l.concat(d*f+p),c&&new Map(c),u)))))));return p.flat().forEach(((t,n)=>{t.hasTrackingControls&&o.memoize(s,l.concat(n),t.node,e),oo(d,t)})),d}(e,g,y,f,r,o,a,i,c,s,p):{blockingList:[]};case":if":case":switch":return Zr(e,y,f,r,o,a,i,c,s,p)}},m=async n=>{var r,o;let{type:a,runtimeContext:i,tplStateStoreScope:s,formStateStoreScope:c}=n,l=!1;const u={disposes:[],listener:()=>{l=!0}};let d,h=0,m=!0;for(;m||l;){if(l=!1,d=await p(i,u,m&&"initial"===a),!l&&"rerender"===a){const e=[...s,...c];await no(d,i,[i.ctxStore,...e])}if(u.disposes.forEach((e=>e())),u.disposes.length=0,m=!1,++h>10)throw new Error(`Maximum rerender stack overflowed (iid: ${t.iid})`)}return null!==(o=(r=d).node)&&void 0!==o||(r.node={tag:xn.PLACEHOLDER,return:e,tracking:f}),d},g=await m({type:"initial",runtimeContext:S}),{onMount:v,onUnmount:b}=null!==(C=t.lifeCycle)&&void 0!==C?C:{};if(f){var R;g.hasTrackingControls=!0;let t=0;const o=async()=>{const n=++t,[o,a,c]=ro(S),l=await m({type:"rerender",runtimeContext:o,tplStateStoreScope:a,formStateStoreScope:c});if(t===n){b&&dn(b,S)(new CustomEvent("unmount",{detail:{rerender:!0}})),r.reRender(i,s,l.node,e),v&&dn(v,o)(new CustomEvent("mount",{detail:{rerender:!0}}));for(const e of[...a,...c])e.mountAsyncData()}},a=(0,h.debounce)(o,0,{leading:!0,trailing:!0}),c=e.tag===xn.BRICK?e:null,u=c?null!==(R=c.disposes)&&void 0!==R?R:c.disposes=[]:[];if(l)for(const e of l)u.push(S.ctxStore.onChange(e,a));if(d)for(const e of d){const t=xe(S,"STATE",`: "${n}"`);u.push(t.onChange(e,a))}}return v&&r.registerArbitraryLifeCycle("onMount",(()=>{dn(v,S)(new CustomEvent("mount",{detail:{rerender:!1}}))})),b&&r.registerArbitraryLifeCycle("onUnmount",(()=>{dn(b,S)(new CustomEvent("unmount",{detail:{rerender:!1}}))})),g}/\.tpl-/.test(I)&&!Pe.get(I)&&await so((0,l.loadBricksImperatively)([I],Ia()),"brick",I,r.unknownBricks);const _=function(e,t){if(!e.includes(".")&&e.startsWith("tpl-")&&t){const n=`${t}.${e}`;if(Pe.get(n))return n}return!!Pe.get(e)&&e}(I,null===(p=S.app)||void 0===p?void 0:p.id);if(_){var P;const e=null!==(P=c.get(_))&&void 0!==P?P:0;if(e>=10)throw new Error(`Maximum custom template stack overflowed: "${_}"`);c.set(_,e+1)}else I.includes("-")&&!customElements.get(I)&&(I===jr?customElements.get(jr)||customElements.define(jr,Gr):m.blockingList.push(so((0,l.enqueueStableLoadBricks)([I],Ia()),"brick",I,r.unknownBricks)));let x,M;if(I===jr){var L,B;({formData:x,...M}=null!==(L=t.properties)&&void 0!==L?L:{}),null!==(B=t.properties)&&void 0!==B&&B.compute&&(x=await mt(x,S))}else{if(S.inUseBrick){const e=t.transform;e&&(Oe(A,"`useBrick.transform`",'please use "properties" instead, check your useBrick:',t),A||(M={...t.properties,...e}))}null!=M||(M=t.properties)}const $=[],N=function(e,t,n){return(0,u.isObject)(e)?Object.entries(e).map((e=>{let[r,o]=e;const{contextNames:a,stateNames:i,formStateNames:s}=At(o);return(a||i||s)&&n.push({contextNames:a,stateNames:i,formStateNames:s,propName:r,propValue:o}),[r,mt(o,t,{$$lazyForUseBrick:!0,$$stateOfUseBrick:"useBrick"===r?ft.USE_BRICK:ft.INITIAL})]})):[]}(M,S,$),U=t[Ut];U&&N.push(...U);const F="script"===I;if(F||"link"===I){const e=await It(N);if(F?e.src:"stylesheet"===e.rel&&e.href){var D;const t=null!==(D=window.PUBLIC_ROOT)&&void 0!==D?D:"";if(F){const{src:n,...r}=e;await so((0,l.loadScript)(n,t,r),"script",n,"silent")}else{const{href:n,...r}=e;await so((0,l.loadStyle)(n,t,r),"stylesheet",n,"silent")}return m}}const j={tag:xn.BRICK,type:_||I,return:e,slotId:i,events:t.events,runtimeContext:S,portal:t.portal,iid:t.iid,ref:t.ref};m.node=j;const K=(0,T.strictCollectMemberUsage)([t.events,t.lifeCycle],"PROCESSORS",2);K.size>0&&m.blockingList.push(so((0,l.loadProcessorsImperatively)(K,Ia()),"processors",[...K].join(", "),r.unknownBricks));const V=[];Ot(S,$,d);V.push((async()=>{j.properties=await It(N),function(e,t){for(const r of t){var n;const t=()=>{e.element&&Rt(e.element,{[r.propName]:r.propValue},e.runtimeContext)};if(null!==(n=e.disposes)&&void 0!==n||(e.disposes=[]),r.contextNames)for(const n of r.contextNames)e.disposes.push(e.runtimeContext.ctxStore.onChange(n,t));if(r.stateNames){const n=xe(e.runtimeContext,"STATE",`: "${r.propValue}"`);for(const o of r.stateNames)e.disposes.push(n.onChange(o,t))}if(r.formStateNames){const n=qe(e.runtimeContext,"FORM_STATE",`: "${r.propValue}"`);for(const o of r.formStateNames)e.disposes.push(n.onChange(o,t))}}}(j,$)})()),r.registerBrickLifeCycle(j,t.lifeCycle);let W,H=t;_?H=function(e,t,n,r,o){var a;const i=(0,h.uniqueId)("tpl-state-"),s={...n.runtimeContext,tplStateStoreId:i};delete s.forEachItem,delete s.forEachIndex,delete s.forEachSize,delete s.formStateStoreId;const c=new Lr("STATE",n,o,i);s.tplStateStoreMap.set(i,c),s.tplStateStoreScope&&s.tplStateStoreScope.push(c);const{bricks:l,proxy:u,state:d,contracts:f}=Pe.get(e);null==ya||null===(a=ya.flowApi)||void 0===a||a.collectWidgetContract(f),c.define(d,s,r);const{slots:p,children:m,...g}=t,v={...g,brick:e};n.tplHostMetadata={internalBricksByRef:new Map,tplStateStoreId:i,proxy:u};const b={properties:new Map,slots:new Map};if(null!=u&&u.properties)for(const[e,t]of Object.entries(u.properties)){let n=b.properties.get(t.ref);n||(n=[],b.properties.set(t.ref,n)),n.push({from:e,to:t})}if(null!=u&&u.slots)for(const[e,t]of Object.entries(u.slots)){let n=b.slots.get(t.ref);n||(n=[],b.slots.set(t.ref,n)),n.push({from:e,to:t})}const y={reversedProxies:b,asyncHostPropertyEntries:r,externalSlots:io(m,p),tplStateStoreId:i,hostBrick:n,usedSlots:new Set};return v.slots={"":{type:"bricks",bricks:l.flatMap((e=>Dr(e,y)))}},v}(_,t,j,N,r):I===jr&&(H=function(e,t,n,r,o){var a,i;const s="string"==typeof e?JSON.parse(e):e,c=(0,h.uniqueId)("form-state-"),l={...n.runtimeContext,formStateStoreId:c};delete l.forEachItem,delete l.forEachIndex,delete l.forEachSize,delete l.tplStateStoreId;const d=new Lr("FORM_STATE",void 0,o,c);l.formStateStoreMap.set(c,d),l.formStateStoreScope&&l.formStateStoreScope.push(d);const f=null!==(a=s.context)&&void 0!==a?a:[];f.some((e=>"params"===e.name))||f.push({name:"params"}),d.define(f,l,r);const p=Wr(s.formSchema,s.fields,c);return Vr.includes(p.brick)&&t.events&&(p.events=function(e,t){const n=null!=e?e:{};for(const[e,r]of Object.entries(t))n[e]=(0,u.hasOwnProperty)(n,e)?[n[e],r].flat():r;return n}(p.events,t.events)),"boolean"!=typeof(null===(i=t.properties)||void 0===i?void 0:i.renderRoot)||t.properties.renderRoot?{...t,slots:void 0,children:[{brick:"eo-micro-view",properties:{style:{padding:"12px"}},children:[p]}]}:{...t,slots:void 0,children:[p]}}(x,t,j,N,r)),H.portal&&(j.slotId=void 0),_?(W={...S},delete W.forEachItem,delete W.forEachIndex,delete W.forEachSize):W=S;return V.push((async()=>{const e=io(H.children,H.slots);if(!e)return;const t=new Map,n=await Promise.all(Object.entries(e).map(((e,n)=>{let[i,s]=e;if("routes"!==s.type)return Zr(j,s.bricks,W,r,o,a,i,c,void 0,d);const l=o[o.length-1];return null!=l&&l.incrementalSubRoutes&&(t.set(n,i),r.performIncrementalRender(s,o,(async(e,t)=>{const{homepage:n}=W.app,{pathname:c}=e;if(!g(n,c)||!o.every((e=>{let r,o;return(r=Nt(e,n,t.pathname))&&(o=Nt(e,n,c))&&(e!==l||(0,h.isEqual)(r.params,o.params))})))return!1;const[u,d,f]=ro({...W,location:e,query:new URLSearchParams(e.search)});let p,m=!1,v=[];try{if(p=await Qr(j,s.routes,u,r,o,a,i,!0),p.route){if(r.reBailout(p))return!0;v=[...d,...f],await no(p,u,[u.ctxStore,...v])}await r.reMergeMenuRequestNodes(a,s.routes,p.menuRequestNode)}catch(e){console.error("Incremental sub-router failed:",e);const t=await r.reCatch(e,j);if(!t)return!0;({failed:m,output:p}=t),await r.reMergeMenuRequestNodes(a,s.routes,p.menuRequestNode)}if(r.reRender(i,[],p.node,j),!m){u.ctxStore.mountAsyncData(p.route);for(const e of v)e.mountAsyncData()}return!0}))),Qr(j,s.routes,W,r,o,a,i,void 0,d)}))),i={...m,node:void 0,blockingList:[],menuRequestNode:void 0};n.forEach(((e,n)=>{t.has(n)&&r.memoize(t.get(n),[],e.node,j),oo(i,e),function(e,t){const n=t.menuRequestNode;if(n)if(e.menuRequestNode){let t=e.menuRequestNode;for(;t.sibling;)t=t.sibling;t.sibling=n}else e.menuRequestNode=n}(i,e)})),i.node&&(j.child=i.node),oo(m,{...i,node:void 0}),ao(a,m.menuRequestNode=i.menuRequestNode)})()),await Promise.all(V),m}(e,t,n,r,o,a,i,s,c,d)}catch(n){if(t.errorBoundary)return console.error("Error caught by error boundary:",n),{node:await Xr(n,e),blockingList:[]};throw n}}function to(e){return[e.ctxStore,...e.tplStateStoreMap.values(),...e.formStateStoreMap.values()]}function no(e,t,n){return(0,l.flushStableLoadBricks)(),Promise.all([...e.blockingList,...n.map((e=>e.waitForAll())),...t.pendingPermissionsPreCheck])}function ro(e){const t=[],n=[];return[{...e,tplStateStoreScope:t,formStateStoreScope:n},t,n]}function oo(e,t){const{blockingList:n,node:r,menuRequestNode:o,hasTrackingControls:a,...i}=t;if(e.blockingList.push(...n),r)if(e.node){let t=e.node;for(;t.sibling;)t=t.sibling;t.sibling=r}else e.node=r;Object.assign(e,i)}function ao(e,t){if(t)if(e.child){let n=e.child;for(;n.sibling;)n=n.sibling;n.sibling=t}else e.child=t}function io(e,t){let n=t;if(Array.isArray(e)&&!n){n={};for(const{slot:t,...r}of e){const e=null!=t?t:"";(0,u.hasOwnProperty)(n,e)||(n[e]={type:"bricks",bricks:[]}),n[e].bricks.push(r)}}return n}function so(e,t,n,r){return"silent"===r?e.catch((e=>{console.error('Load %s "%s" failed:',t,n,e)})):e}let co,lo,uo;function fo(){if(!co){if(co={isInIframe:!1,isInIframeOfSameSite:!1,isInIframeOfNext:!1,isInIframeOfVisualBuilder:!1,isInIframeOfLegacyConsole:!1},window!==window.parent){co.isInIframe=!0;try{if(window.origin===window.parent.origin){co.isInIframeOfSameSite=!0;const e="/next/"===p(),t=window.parent.location.pathname,n=t.startsWith("/next/");co.isInIframeOfNext=!(Number(e)^Number(n));const r=n?"/next":"";co.isInIframeOfVisualBuilder=t.startsWith(`${r}/visual-builder/`)||t.startsWith(`${r}/visual-builder-`),co.isInIframeOfLegacyConsole=e&&!n}}catch{}}Object.freeze(co)}return co}function po(e){var t;if(e.$$registerCustomTemplateProcessed)return;e.$$registerCustomTemplateProcessed=!0;const n=null===(t=e.meta)||void 0===t?void 0:t.customTemplates;if(Array.isArray(n))for(const t of n){const n=t.name.includes(".")?t.name:`${e.app.id}.${t.name}`;Pe.define(n,t)}}function ho(e){let t;t="8.2"===e?"v8-2":"v8",document.documentElement.dataset.ui=t}const mo="basic.show-watermark";function go(e){return!!e&&(e instanceof l.BrickLoadError||e instanceof R.HttpFetchError||e instanceof Error&&"ChunkLoadError"===e.name||e instanceof Event&&"error"===e.type&&e.target instanceof HTMLScriptElement)}const vo="reload-for-error-count",bo=2;function yo(e){if(/upchat/i.test(navigator.userAgent)&&go(e)){var t;const e=+(null!==(t=sessionStorage.getItem(vo))&&void 0!==t?t:0);if(e<bo)return sessionStorage.setItem(vo,String(e+1)),!0;wo()}return!1}function wo(){sessionStorage.removeItem(vo)}var Eo=new WeakMap,So=new WeakMap,Ao=new WeakMap,ko=new WeakMap,Io=new WeakMap,Co=new WeakMap,Ro=new WeakMap,Oo=new WeakMap,To=new WeakMap,_o=new WeakMap,Po=new WeakMap,xo=new WeakMap,Mo=new WeakSet;class Lo{constructor(e){(0,I.A)(this,Mo),(0,a.A)(this,Eo,void 0),(0,a.A)(this,So,!1),(0,a.A)(this,Ao,void 0),(0,a.A)(this,ko,void 0),(0,a.A)(this,Io,void 0),(0,a.A)(this,Co,new Set),(0,a.A)(this,Ro,0),(0,a.A)(this,Oo,void 0),(0,a.A)(this,To,void 0),(0,a.A)(this,_o,void 0),(0,a.A)(this,Po,void 0),(0,a.A)(this,xo,!1),(0,i.A)(Eo,this,e);const t=k();window.addEventListener("beforeunload",(e=>{(0,C.A)(Mo,this,Bo).call(this,{})?(e.preventDefault(),e.returnValue=""):delete e.returnValue})),t.block(((e,t)=>(0,C.A)(Mo,this,Bo).call(this,{location:e,action:t})))}getRenderId(){return(0,s.A)(Oo,this)}getRuntimeContext(){return(0,s.A)(ko,this)}getRecentApps(){return{currentApp:(0,s.A)(To,this),previousApp:(0,s.A)(_o,this)}}getNavConfig(){return(0,s.A)(Po,this)}bootstrap(){window.AbortController&&(lo=new AbortController,R.http.interceptors.request.use((e=>{var t;return{...e,options:{signal:null!==(t=e.options)&&void 0!==t&&t.noAbortOnRouteChange?null:lo.signal,...e.options}}})));const e=k();let t=e.location;return e.listen(((e,n)=>{const r=t;t=e,(0,s.A)(So,this)?(0,i.A)(Ao,this,{location:e,prevLocation:r,action:n}):(0,C.A)(Mo,this,No).call(this,{location:e,prevLocation:r,action:n}).catch(rn)})),(0,C.A)(Mo,this,No).call(this,{location:e.location})}}function Bo(e){var t;const n=k(),r=n.getBlockMessage();null===(t=(0,s.A)(Io,this))||void 0===t||t.dispatchBeforePageLeave(e);const o=n.getBlockMessage();return!r&&o&&n.unblock(),o}function $o(e,t,n){var r,o;if((0,i.A)(Ro,this,(r=(0,s.A)(Ro,this),o=r++,r)),o>10){const t=`Infinite redirect detected: from "${n.pathname}${n.search}${n.hash}" to "${e}"`;throw new Error(t)}k().replace(e,t)}async function No(e){(0,i.A)(So,this,!0);try{await(0,C.A)(Mo,this,Uo).call(this,e)}finally{if((0,i.A)(So,this,!1),(0,s.A)(Ao,this)){const e=(0,s.A)(Ao,this);(0,i.A)(Ao,this,void 0),await(0,C.A)(Mo,this,No).call(this,e)}}}async function Uo(e){let{location:t,prevLocation:n,action:r}=e;if(n){var o,a,i,c;let e;const u={hash:void 0,state:void 0};var l;if(void 0!==t.key&&("POP"!==r||void 0!==n.key&&!1!==(null===(o=n.state)||void 0===o?void 0:o.notify))||(u.key=void 0),((0,f.locationsAreEqual)({...n,...u},{...t,...u})||"POP"!==r&&!1===(null===(a=t.state)||void 0===a?void 0:a.notify))&&(e=!0),e||null!==(i=t.state)&&void 0!==i&&i.noIncremental||(0,s.A)(xo,this)||(e=await(null===(l=(0,s.A)(Io,this))||void 0===l?void 0:l.didPerformIncrementalRender(t,n))),e)return;if(lo&&(lo.abort(),lo=new AbortController),null===(c=(0,s.A)(Io,this))||void 0===c||c.dispatchPageLeave(),"POP"===r&&v(m((0,s.A)(Eo,this),t.pathname)))return void window.location.reload();V("locationChange")}return(0,C.A)(Mo,this,Fo).call(this,t,!n)}async function Fo(e,t){var n,r,o,a,c,u;const d=(0,i.A)(Oo,this,(0,h.uniqueId)("render-id-")),f=null==ya||null===(n=ya.auth)||void 0===n||null===(r=n.isBlockedPath)||void 0===r?void 0:r.call(n,e.pathname);Je=new WeakSet,et.clear(),null==ya||null===(o=ya.flowApi)||void 0===o||o.clearCollectWidgetContract(),k().unblock();const p=null==ya||null===(a=ya.pageView)||void 0===a?void 0:a.create(),g=f?void 0:m((0,s.A)(Eo,this),e.pathname),v=null===(c=(0,s.A)(ko,this))||void 0===c?void 0:c.app,b=null==g||null===(u=g.app)||void 0===u?void 0:u.id;window.BOOTSTRAP_UNION_FILE&&b&&b!==(null==v?void 0:v.id)&&function(e){const{appId:t,version:n}=e;window.APP_ROOT_TPL&&(window.APP_ID=t,window.APP_ROOT=window.APP_ROOT_TPL.replace("{id}",t).replace("{version}",n))}({appId:b,version:g.app.currentVersion}),null!=g&&g.app&&await async function(e){if(!e.$$fulfilled)return e.$$fulfilling||(e.$$fulfilling=async function(e){var t;await(null==ya||null===(t=ya.fulfilStoryboard)||void 0===t?void 0:t.call(ya,e)),L(e),Object.assign(e,{$$fulfilled:!0,$$fulfilling:null})}(e)),e.$$fulfilling}(g);const y=(0,i.A)(To,this,null==g?void 0:g.app);!function(){var e,t,n,r,o,a,i,s;const c=Ea().getFeatureFlags(),u=Ea().getMiscSettings();if(!c["show-watermark"])return;const d="0.0.0"===(null===(e=window.APP_ROOT)||void 0===e||null===(e=e.match(/versions\/([^/]+)\//))||void 0===e?void 0:e[1])||"0.0.0"===(null===(t=window.APP_ROOT)||void 0===t||null===(t=t.match(/micro-apps\/(?:v2|v3)\/[^/]+\/([^/]+)/))||void 0===t?void 0:t[1]),f=null!==(n=null==ya||null===(r=ya.auth)||void 0===r||null===(r=r.getAuth())||void 0===r?void 0:r.username)&&void 0!==n?n:"",p=null!==(o=u.watermarkConfig)&&void 0!==o?o:{flags:{}},m=[..."string"==typeof p.content?[p.content]:null!==(a=p.content)&&void 0!==a?a:[],null!==(i=p.flags)&&void 0!==i&&i["show-development"]&&d?"Development":"",null!==(s=p.flags)&&void 0!==s&&s["show-user"]?f:""].filter(Boolean);if(0===m.length)return;const g={content:m,zIndex:1001,width:200,font:{fontSize:28},gap:[190,190],...(0,h.omit)(p,["content","flags"])};uo?uo.resolve(g):(0,l.loadBricksImperatively)([mo],Ia()).then((()=>{uo=document.createElement(mo),uo.resolve(g)}),(e=>{console.error("Load watermark service failed:",e)}))}();const w=v&&y?v.id!==y.id:v!==y;(0,O.clearExpressionASTCache)(),w&&(0,O.clearFunctionASTCache)();const E=Ea().getFeatureFlags(),S=(0,s.A)(Io,this),A=(t,n)=>{null==p||p({status:"redirected"}),(0,s.A)(Co,this).add(S),(0,C.A)(Mo,this,$o).call(this,t,n,e)},I=()=>{const t=E["sso-enabled"]?"/sso-auth/login":"/auth/login";Jt(e),A(t,{from:e})},T=document.querySelector("#main-mount-point"),_=document.querySelector("#portal-mount-point"),P={tag:xn.ROOT,container:T,createPortal:_},x=()=>{var e;Mn(T),Mn(_),(0,s.A)(Co,this).add(S);for(const e of(0,s.A)(Co,this))e&&(e.dispatchOnUnmount(),e.dispose());(0,s.A)(Co,this).clear(),null==ya||null===(e=ya.messageDispatcher)||void 0===e||e.reset(),w&&((0,i.A)(_o,this,v),window.dispatchEvent(new CustomEvent("app.change",{detail:{previousApp:v,currentApp:y}})))};if(Q(y&&(re()[y.id]||y.theme)||"light"),ae("default"),y){var M,B,$,N,U,F;null==ya||null===(M=ya.checkInstalledApps)||void 0===M||M.preCheckInstalledApps(g,(e=>!!_a(e)));const n={bailout:e=>e.unauthenticated?(I(),!0):e.redirect?(A(e.redirect.path,e.redirect.state),!0):void(0,i.A)(Ro,this,0),mergeMenus:async e=>{const t=await Promise.all(e);(0,i.A)(Po,this,function(e){const t={breadcrumb:[]};for(const n of e){const{breadcrumb:e}=n;e&&(e.overwrite?t.breadcrumb=e.items:t.breadcrumb.push(...e.items))}return t}(t)),window.dispatchEvent(new CustomEvent("navConfig.change",{detail:(0,s.A)(Po,this)}))},catch:async(t,n,r,o)=>{if(!Zt(t)||window.NO_AUTH_GUARD){if(!(t instanceof R.HttpAbortError)){const a=Ea().getMiscSettings().noAuthGuardLoginPath;if(Zt(t)&&a)return void A(a,{from:e});if(r)throw t;return!o&&yo(t)?void window.location.reload():{failed:!0,output:{node:await Xr(t,n,!o),blockingList:[]}}}(0,s.A)(Co,this).add(S)}else I()}},r=(0,i.A)(Io,this,new Gn("page",{routeHelper:n,renderId:d})),o=(0,i.A)(ko,this,{app:y,location:e,query:new URLSearchParams(e.search),flags:E,sys:{...null==ya||null===(B=ya.auth)||void 0===B?void 0:B.getAuth(),...fo(),settings:{brand:Ea().getBrandSettings()}},ctxStore:new Lr("CTX",void 0,r),pendingPermissionsPreCheck:[null==ya||null===($=ya.checkPermissions)||void 0===$?void 0:$.preCheckPermissions(g)],tplStateStoreMap:new Map,formStateStoreMap:new Map});(0,i.A)(Po,this,void 0),po(g),me(null===(N=g.meta)||void 0===N?void 0:N.functions,y),null==ya||null===(U=ya.flowApi)||void 0===U||U.collectContract(null===(F=g.meta)||void 0===F?void 0:F.contracts);let a,c=!1,l=[];try{or.clear();const e={};if(a=await Qr(P,function(e){if(window.parent===window)return e;let t=e;const n=(0,h.findLastIndex)(t,(e=>e.path.startsWith("${APP.homepage}/_dev_only_/template-preview/")));t=[...t.slice(0,n+1),{path:"${APP.homepage}/_dev_only_/template-preview/:templateId",bricks:[{brick:"span"}],menu:!1,exact:!0},...t.slice(n+1)];const r=(0,h.findLastIndex)(t,(e=>e.path.startsWith("${APP.homepage}/_dev_only_/snippet-preview/")));return t=[...t.slice(0,r+1),{path:"${APP.homepage}/_dev_only_/snippet-preview/:snippetId",bricks:[{brick:"span"}],menu:!1,exact:!0},...t.slice(r+1)],t}(g.routes),o,r,[],e),n.bailout(a))return;l=to(o),await no(a,o,l),e.child=a.menuRequestNode,r.setInitialMenuRequestNode(e),await n.mergeMenus(r.getMenuRequests())}catch(e){console.error("Router failed:",e),t&&(0,i.A)(xo,this,!0);const r=await n.catch(e,P,t);if(!r)return;({failed:c,output:a}=r)}if(wo(),P.child=a.node,(0,i.A)(xo,this,!1),x(),a.route&&"routes"!==a.route.type||c){if(c||r.dispatchBeforePageLoad(),te(),se(),ho(null==y?void 0:y.uiVersion),Ln(P),window.scrollTo(0,0),c)null==p||p({status:"failed"});else{r.dispatchPageLoad(),r.dispatchAnchorLoad(),r.dispatchOnMount(),r.initializeScrollIntoView(),r.initializeMediaChange(),r.initializeMessageDispatcher();for(const e of l)e.mountAsyncData();null==p||p({status:"ok",path:a.path,pageTitle:document.title})}return void V("rendered")}}else{if(!window.NO_AUTH_GUARD&&null!=ya&&ya.auth&&!ya.auth.isLoggedIn())return void I();x()}te(),se();const D=await Xr(new Yr(f?"page blocked":y?"page not found":"app not found"),P,!0);P.child=D,Ln(P),window.scrollTo(0,0),null==p||p({status:f?"blocked":"not-found"}),V("rendered")}const Do="undefined"!=typeof BRICK_PACKAGES?BRICK_PACKAGES:null;function jo(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(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 Ko(e){return e<=1?"".concat(100*Number(e),"%"):e}function Vo(e){return 1===e.length?"0"+e:String(e)}function Wo(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Ho(e){return zo(e)/255}function zo(e){return parseInt(e,16)}var Go={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"};function qo(e){var t,n,r,o={r:0,g:0,b:0},a=1,i=null,s=null,c=null,l=!1,u=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(Go[e])e=Go[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=Qo.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Qo.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Qo.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=Qo.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Qo.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=Qo.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Qo.hex8.exec(e))?{r:zo(n[1]),g:zo(n[2]),b:zo(n[3]),a:Ho(n[4]),format:t?"name":"hex8"}:(n=Qo.hex6.exec(e))?{r:zo(n[1]),g:zo(n[2]),b:zo(n[3]),format:t?"name":"hex"}:(n=Qo.hex4.exec(e))?{r:zo(n[1]+n[1]),g:zo(n[2]+n[2]),b:zo(n[3]+n[3]),a:Ho(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=Qo.hex3.exec(e))&&{r:zo(n[1]+n[1]),g:zo(n[2]+n[2]),b:zo(n[3]+n[3]),format:t?"name":"hex"}}(e)),"object"==typeof e&&(Zo(e.r)&&Zo(e.g)&&Zo(e.b)?(t=e.r,n=e.g,r=e.b,o={r:255*jo(t,255),g:255*jo(n,255),b:255*jo(r,255)},l=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):Zo(e.h)&&Zo(e.s)&&Zo(e.v)?(i=Ko(e.s),s=Ko(e.v),o=function(e,t,n){e=6*jo(e,360),t=jo(t,100),n=jo(n,100);var r=Math.floor(e),o=e-r,a=n*(1-t),i=n*(1-o*t),s=n*(1-(1-o)*t),c=r%6;return{r:255*[n,i,a,a,s,n][c],g:255*[s,n,n,i,a,a][c],b:255*[a,a,s,n,n,i][c]}}(e.h,i,s),l=!0,u="hsv"):Zo(e.h)&&Zo(e.s)&&Zo(e.l)&&(i=Ko(e.s),c=Ko(e.l),o=function(e,t,n){var r,o,a;if(e=jo(e,360),t=jo(t,100),n=jo(n,100),0===t)o=n,a=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,s=2*n-i;r=Wo(s,i,e+1/3),o=Wo(s,i,e),a=Wo(s,i,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,i,c),l=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(a=e.a)),a=function(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}(a),{ok:l,format:e.format||u,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a}}var Yo="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),Xo="[\\s|\\(]+(".concat(Yo,")[,|\\s]+(").concat(Yo,")[,|\\s]+(").concat(Yo,")\\s*\\)?"),Jo="[\\s|\\(]+(".concat(Yo,")[,|\\s]+(").concat(Yo,")[,|\\s]+(").concat(Yo,")[,|\\s]+(").concat(Yo,")\\s*\\)?"),Qo={CSS_UNIT:new RegExp(Yo),rgb:new RegExp("rgb"+Xo),rgba:new RegExp("rgba"+Jo),hsl:new RegExp("hsl"+Xo),hsla:new RegExp("hsla"+Jo),hsv:new RegExp("hsv"+Xo),hsva:new RegExp("hsva"+Jo),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 Zo(e){return Boolean(Qo.CSS_UNIT.exec(String(e)))}var ea=[{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 ta(e){var t=function(e,t,n){e=jo(e,255),t=jo(t,255),n=jo(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=r,s=r-o,c=0===r?0:s/r;if(r===o)a=0;else{switch(r){case e:a=(t-n)/s+(t<n?6:0);break;case t:a=(n-e)/s+2;break;case n:a=(e-t)/s+4}a/=6}return{h:a,s:c,v:i}}(e.r,e.g,e.b);return{h:360*t.h,s:t.s,v:t.v}}function na(e){var t=e.r,n=e.g,r=e.b;return"#".concat(function(e,t,n){var r=[Vo(Math.round(e).toString(16)),Vo(Math.round(t).toString(16)),Vo(Math.round(n).toString(16))];return r.join("")}(t,n,r))}function ra(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function oa(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function aa(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function ia(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=qo(e),o=5;o>0;o-=1){var a=ta(r),i=na(qo({h:ra(a,o,!0),s:oa(a,o,!0),v:aa(a,o,!0)}));n.push(i)}n.push(na(r));for(var s=1;s<=4;s+=1){var c=ta(r),l=na(qo({h:ra(c,s),s:oa(c,s),v:aa(c,s)}));n.push(l)}return"dark"===t.theme?ea.map((function(e){var r,o,a,i=e.index,s=e.opacity;return na((r=qo(t.backgroundColor||"#141414"),a=100*s/100,{r:((o=qo(n[i])).r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b}))})):n}var sa={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},ca={},la={};function ua(e){return':root,\n[data-override-theme="light"] {\n'.concat(e,"}")}function da(e){return'html[data-theme="dark-v2"],\n[data-override-theme="dark-v2"] {\n'.concat(e,"}")}function fa(e){return e.match(/[0-9a-fA-F]{2}/g).map((e=>parseInt(e,16))).join(", ")}function pa(e,t,n){return"dark"===t?ia(e,{theme:t,backgroundColor:n})[5]:e}function ha(e){const t=[];if(["light","dark"].forEach((n=>{if(e[n])switch(e.type){case"brandColor":t.push(function(e,t){return("dark"===e?da:ua)("string"==typeof(n=t)?" --color-brand: ".concat(n,";\n"):[" --color-brand: ".concat(n.default,";")," --color-brand-hover: ".concat(n.hover,";")," --color-brand-active: ".concat(n.active,";"),""].join("\n"));var n}(n,e[n]));break;case"baseColors":t.push(function(e,t,n){return("dark"===e?da:ua)("".concat(function(e,t){return Object.entries(e).flatMap((e=>{var[n,r]=e;return function(e){if(!/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(e))throw new Error("Invalid base color name: ".concat(JSON.stringify(e)))}(n),r.map(((e,r)=>[" --palette-".concat(n,"-").concat(r+1,"-channel: ").concat(fa(e),";")].concat("dark"===t?[]:" --palette-".concat(n,"-").concat(r+1,": rgb(var(--palette-").concat(n,"-").concat(r+1,"-channel));")).join("\n"))).concat("")})).join("\n")}(function(e,t,n){return Object.fromEntries(Object.entries(e).map((e=>{var[r,o]=e;return[r,ia(o,"dark"===t?{theme:t,backgroundColor:n}:void 0)]})))}(t,e,n),e),"\n").concat(function(e,t,n){return Object.entries({green:"green",red:"red",blue:"blue",orange:"orange",cyan:"cyan",purple:"purple",geekblue:"indigo"}).flatMap((r=>{var[o,a]=r;return[" --theme-".concat(o,"-color-rgb-channel: ").concat(fa(pa(t[a],e,n)),";"),..."dark"===e?[]:[" --theme-".concat(o,"-color: var(--palette-").concat(a,"-6);")," --theme-".concat(o,"-border-color: var(--palette-").concat(a,"-3);")]," --theme-".concat(o,"-background: var(--palette-").concat(a,"-").concat("dark"===e?2:1,");"),""]})).join("\n")}(e,t,n)))}(n,e[n],e.backgroundColor));break;case"variables":t.push(function(e,t){return("dark"===e?da:ua)(function(e){return Object.entries(e).map((e=>{var[t,n]=e;return function(e){if(!/^--[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/.test(e))throw new Error("Invalid css variable name: ".concat(JSON.stringify(e)))}(t)," ".concat(t,": ").concat(n,";")})).concat("").join("\n")}(t))}(n,e[n]))}})),t.length>0){const e=document.createElement("style");return e.textContent=t.join("\n\n"),document.head.appendChild(e),()=>{e.remove()}}}let ma,ga,va,ba,ya;function wa(e){if(ma)throw new Error("Cannot create multiple runtimes");return window.addEventListener("message",(e=>{let{data:t}=e;if((null==t?void 0:t.source)!==U)return;const n=t.payload;switch(null==n?void 0:n.type){case F:K=n.active;break;case D:j=n.panel}})),ya=null==e?void 0:e.hooks,(0,c.initializeI18n)(Gt,qt),d.locale(c.i18n.language),c.i18n.on("languageChanged",(()=>{d.locale(c.i18n.language)})),A(),ma=new ka,ma}Object.keys(sa).forEach((function(e){ca[e]=ia(sa[e]),ca[e].primary=ca[e][5],la[e]=ia(sa[e],{theme:"dark",backgroundColor:"#141414"}),la[e].primary=la[e][5]})),ca.red,ca.volcano,ca.gold,ca.orange,ca.yellow,ca.lime,ca.green,ca.cyan,ca.blue,ca.geekblue,ca.purple,ca.magenta,ca.grey;const Ea=function(){const e=S();if(e)return function(){return new Proxy(e.getRuntime(),{get(){switch(arguments.length<=1?void 0:arguments[1]){case"getCurrentApp":case"getRecentApps":case"hasInstalledApp":case"getDesktops":case"getLaunchpadSettings":case"getLaunchpadSiteMap":case"toggleLaunchpadEffect":case"applyPageTitle":case"getNavConfig":case"getFeatureFlags":case"getMiscSettings":case"getBrandSettings":return Reflect.get(...arguments)}}})}}()||function(){return ma};var Sa=new WeakMap,Aa=new WeakMap;class ka{constructor(){(0,a.A)(this,Sa,!1),(0,a.A)(this,Aa,!1),(0,o.A)(this,"version",3)}initialize(e){var t;if((0,s.A)(Sa,this))throw new Error("The runtime cannot be initialized more than once");(0,i.A)(Sa,this,!0),function(e){(0,u.isObject)(e.settings)&&(0,u.deepFreeze)(e.settings),e.brickPackages&&(0,u.deepFreeze)(e.brickPackages)}(e),ga=e;const{notification:n,dialog:r}=Ca();var o;!1!==n&&(o=null!=n?n:"basic.show-notification",(0,this.loadBricks)([o]).then((()=>{tn=document.createElement(o)}),(e=>{console.error("Load notification service failed:",e)}))),!1!==r&&function(e,t){t([e]).then((()=>{Yt=document.createElement(e)}),(e=>{console.error("Load dialog service failed:",e)}))}(null!=r?r:"basic.show-dialog",this.loadBricks),function(e){e&&(e.brandColor?ha({type:"brandColor",...e.brandColor}):e.baseColors?ha({type:"baseColors",...e.baseColors}):e.variables&&ha({type:"variables",...e.variables}))}(null===(t=e.settings)||void 0===t||null===(t=t.misc)||void 0===t?void 0:t.theme)}async bootstrap(e){if(e&&this.initialize(e),(0,s.A)(Aa,this))throw new Error("The runtime cannot be bootstrapped more than once");(0,i.A)(Aa,this,!0),va=new Lo(ga.storyboards),await va.bootstrap()}getRecentApps(){var e,t;return null!==(e=null===(t=va)||void 0===t?void 0:t.getRecentApps())&&void 0!==e?e:{}}getCurrentApp(){var e;return null===(e=va)||void 0===e?void 0:e.getRecentApps().currentApp}hasInstalledApp(e,t){return Ge(e,t)}getFeatureFlags(){var e,t;return{...null===(e=ga)||void 0===e||null===(e=e.settings)||void 0===e?void 0:e.featureFlags,...null===(t=va)||void 0===t||null===(t=t.getRecentApps().currentApp)||void 0===t||null===(t=t.config)||void 0===t||null===(t=t.settings)||void 0===t?void 0:t.featureFlags,"migrate-to-brick-next-v3":!0}}getMiscSettings(){var e,t;return{...null===(e=ga)||void 0===e||null===(e=e.settings)||void 0===e?void 0:e.misc,...null===(t=va)||void 0===t||null===(t=t.getRecentApps().currentApp)||void 0===t||null===(t=t.config)||void 0===t||null===(t=t.settings)||void 0===t?void 0:t.misc}}getBrandSettings(){var e;return{base_title:"DevOps 管理专家",...null===(e=ga)||void 0===e||null===(e=e.settings)||void 0===e?void 0:e.brand}}getLaunchpadSettings(){var e;return{columns:7,rows:4,...null===(e=ga)||void 0===e||null===(e=e.settings)||void 0===e?void 0:e.launchpad}}getDesktops(){var e,t;return null!==(e=null===(t=ga)||void 0===t?void 0:t.desktops)&&void 0!==e?e:[]}getLaunchpadSiteMap(){var e,t;return null!==(e=null===(t=ga)||void 0===t?void 0:t.siteSort)&&void 0!==e?e:[]}toggleLaunchpadEffect(e){document.body.classList.toggle("launchpad-open",e)}applyPageTitle(e){var t;const n=this.getBrandSettings().base_title;document.title=(null===(t=va)||void 0===t||null===(t=t.getRecentApps().currentApp)||void 0===t?void 0:t.localeTitle)||(e?`${e} - ${n}`:n)}getNavConfig(){var e;return null===(e=va)||void 0===e?void 0:e.getNavConfig()}loadBricks(e){return(0,l.loadBricksImperatively)(e,Ia())}}function Ia(){var e,t,n,r;return null!=ba?ba:ba=function(e,t){if(null==t||!t.length)return e;const n=new Map;return[...t,...e].forEach((e=>{const t=e.filePath.split("/")[1];n.has(t)||n.set(t,e)})),Array.from(n.values())}(null!==(e=null!==(t=null!==(n=null===(r=ga)||void 0===r?void 0:r.brickPackages)&&void 0!==n?n:Do)&&void 0!==t?t:window.STANDALONE_BRICK_PACKAGES)&&void 0!==e?e:[],window.PUBLIC_DEPS)}function Ca(){var e,t;return null!==(e=null===(t=ga)||void 0===t||null===(t=t.settings)||void 0===t?void 0:t.presetBricks)&&void 0!==e?e:{}}function Ra(){var e;return null===(e=va)||void 0===e?void 0:e.getRenderId()}function Oa(){var e;return null===(e=va)||void 0===e?void 0:e.getRuntimeContext()}function Ta(e){var t;return null===(t=ga)||void 0===t||null===(t=t.storyboards)||void 0===t?void 0:t.find((t=>t.app.id===e))}function _a(e){var t;return null===(t=Ta(e))||void 0===t?void 0:t.app}function Pa(){for(var e,t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];null==ya||null===(e=ya.auth)||void 0===e||null===(t=e.authenticate)||void 0===t||t.call(e,...r)}function xa(){var e;return null==ya||null===(e=ya.auth)||void 0===e?void 0:e.getAuth()}function Ma(){var e,t;return null==ya||null===(e=ya.auth)||void 0===e||null===(t=e.logout)||void 0===t?void 0:t.call(e)}function La(){var e;return null==ya||null===(e=ya.auth)||void 0===e?void 0:e.isLoggedIn()}var Ba=new WeakMap;const $a=new class{constructor(){(0,a.A)(this,Ba,new Map)}define(e,t){(0,s.A)(Ba,this).has(e)?console.error(`Custom editor of "${e}" already registered`):(0,s.A)(Ba,this).set(e,t)}get(e){return(0,s.A)(Ba,this).get(e)}};async function Na(e,t,n){return nt(await Xe(e),e,"resolve",t,n)}function Ua(e){let t,{portal:n,scope:r="fragment",unknownBricks:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n;t=n||(()=>(a=document.createElement("div"),a.style.position="absolute",a.style.width=a.style.height="0",document.body.append(a),a));let i,s,l=!1;return{async render(n){let{theme:u,uiVersion:d,language:f,context:p,functions:m,templates:g,i18n:v,url:b,app:y}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(l)throw new Error("The root is unmounted and cannot be rendered any more");const w=[].concat(n),E=i,S=(0,h.uniqueId)("render-id-");i=new Gn(r,{unknownBricks:o,renderId:S});const A={ctxStore:new Lr("CTX",void 0,i),pendingPermissionsPreCheck:[],tplStateStoreMap:new Map,formStateStoreMap:new Map};if(b){const e=new URL(b);A.query=e.searchParams,A.location={pathname:e.pathname,search:e.search,hash:e.hash,state:void 0}}const k={tag:xn.ROOT,container:e,createPortal:t};if("page"===r){var I;Q(null!=u?u:"light"),ae("default"),ho(d),f&&await c.i18n.changeLanguage(f),null!=y||(y={id:"demo",homepage:"/demo"}),A.app=y;const e={app:y,meta:{i18n:v,customTemplates:g}};null===(I=s)||void 0===I||I(),s=L(e),po(e),me(m,y)}A.ctxStore.define(p,A);let C,R=!1,O=[];try{C=await Zr(k,w,A,i,[],{}),O=to(A),await no(C,A,O)}catch(e){R=!0,C={node:await Xr(e,k,"page"===r),blockingList:[]}}if(k.child=C.node,null==E||E.dispatchOnUnmount(),null==E||E.dispose(),Mn(e),a&&Mn(a),"page"===r&&(R||i.dispatchBeforePageLoad(),te(),se()),Ln(k),"page"===r&&window.scrollTo(0,0),!R){for(const e of O)e.mountAsyncData();"page"===r&&i.dispatchPageLoad(),i.dispatchOnMount(),i.initializeScrollIntoView(),i.initializeMediaChange(),i.initializeMessageDispatcher()}},unmount(){l||(l=!0,Mn(e),a&&(Mn(a),n||a.remove()))}}}function Fa(e){let{useRealTimeQuery:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={...Oa()};t&&(n.query=new URLSearchParams(k().location.search));const r=t=>{if("string"==typeof t){if((0,O.isEvaluable)(t)){const e=ut(t,n);return Qe(e),e}return(0,_.inject)(t,n)}return!(0,u.isObject)(t)||Ze(e)?t:Array.isArray(t)?t.map((e=>r(e))):Object.fromEntries(Object.entries(t).map((e=>{let[t,n]=e;return[r(t),r(n)]})))};return r(e)}const Da=[];function ja(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,t=-1;const n=()=>{if(t>-1){const e=Da.indexOf(t);e>-1&&Da.splice(e,1)}};return{push:()=>{var r;return n(),t=(null!==(r=Da[Da.length-1])&&void 0!==r?r:-1)+1,Da.push(t),t+e},pull:n}}},4586:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(1369);function o(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},4635:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2016);function o(e,t){(0,r.A)(e,t),t.add(e)}},6121:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2559);function o(e,t,n){return e.set((0,r.A)(e,t),n),n}},7545:(e,t,n)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})}}]);
3
- //# sourceMappingURL=4185.f5e1f846.js.map