@next-bricks/visual-builder 0.10.7 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/bricks.json +5 -1
  2. package/dist/chunks/{1646.aae9ee3b.js → 1646.9cfee3d4.js} +2 -2
  3. package/dist/chunks/{1646.aae9ee3b.js.map → 1646.9cfee3d4.js.map} +1 -1
  4. package/dist/chunks/2907.d028b209.js +2 -0
  5. package/dist/chunks/{2907.16edd003.js.map → 2907.d028b209.js.map} +1 -1
  6. package/dist/chunks/3636.7d815d8d.js +3 -0
  7. package/dist/chunks/{3636.da9eea0d.js.map → 3636.7d815d8d.js.map} +1 -1
  8. package/dist/chunks/4504.aa869f8a.js +2 -0
  9. package/dist/chunks/4504.aa869f8a.js.map +1 -0
  10. package/dist/chunks/4717.75e328a7.js +2 -0
  11. package/dist/chunks/4717.75e328a7.js.map +1 -0
  12. package/dist/chunks/{7746.a853e29b.js → 7746.ff02a46c.js} +2 -2
  13. package/dist/chunks/{7746.a853e29b.js.map → 7746.ff02a46c.js.map} +1 -1
  14. package/dist/chunks/7757.5a86e420.js +3 -0
  15. package/dist/chunks/7757.5a86e420.js.map +1 -0
  16. package/dist/chunks/9549.20b84d60.js +2 -0
  17. package/dist/chunks/9549.20b84d60.js.map +1 -0
  18. package/dist/chunks/main.5ae5b7f5.js +2 -0
  19. package/dist/chunks/{main.ccfecfed.js.map → main.5ae5b7f5.js.map} +1 -1
  20. package/dist/chunks/page-arch-node.4ef6aca2.js +3 -0
  21. package/dist/chunks/page-arch-node.4ef6aca2.js.map +1 -0
  22. package/dist/chunks/workbench-action-list.4cb1acdc.js +2 -0
  23. package/dist/chunks/{workbench-action-list.ee6a35db.js.map → workbench-action-list.4cb1acdc.js.map} +1 -1
  24. package/dist/chunks/{workbench-action.f59e4c52.js → workbench-action.05b8fc8d.js} +3 -3
  25. package/dist/chunks/{workbench-action.f59e4c52.js.map → workbench-action.05b8fc8d.js.map} +1 -1
  26. package/dist/chunks/workbench-history-action.cf6a1f98.js +3 -0
  27. package/dist/chunks/{workbench-history-action.fba4ca88.js.map → workbench-history-action.cf6a1f98.js.map} +1 -1
  28. package/dist/chunks/{workbench-pane.5d3d98aa.js → workbench-pane.e666f298.js} +3 -3
  29. package/dist/chunks/workbench-pane.e666f298.js.LICENSE.txt +5 -0
  30. package/dist/chunks/{workbench-pane.5d3d98aa.js.map → workbench-pane.e666f298.js.map} +1 -1
  31. package/dist/chunks/{workbench-sidebar.5ca08b93.js → workbench-sidebar.fa1daf72.js} +2 -2
  32. package/dist/chunks/{workbench-sidebar.5ca08b93.js.map → workbench-sidebar.fa1daf72.js.map} +1 -1
  33. package/dist/chunks/{workbench-tree.f91b8195.js → workbench-tree.12dc889f.js} +2 -2
  34. package/dist/chunks/{workbench-tree.f91b8195.js.map → workbench-tree.12dc889f.js.map} +1 -1
  35. package/dist/examples.json +3 -0
  36. package/dist/index.0196e32b.js +2 -0
  37. package/dist/index.0196e32b.js.map +1 -0
  38. package/dist/manifest.json +45 -0
  39. package/dist/types.json +84 -0
  40. package/dist-types/bootstrap.d.ts +1 -0
  41. package/dist-types/page-arch-node/index.d.ts +24 -0
  42. package/dist-types/page-arch-node/index.spec.d.ts +1 -0
  43. package/docs/page-arch-node.md +12 -0
  44. package/package.json +3 -3
  45. package/dist/chunks/2907.16edd003.js +0 -2
  46. package/dist/chunks/3636.da9eea0d.js +0 -3
  47. package/dist/chunks/4231.00b80023.js +0 -3
  48. package/dist/chunks/4231.00b80023.js.map +0 -1
  49. package/dist/chunks/4717.50682879.js +0 -2
  50. package/dist/chunks/4717.50682879.js.map +0 -1
  51. package/dist/chunks/8561.d6ebf538.js +0 -2
  52. package/dist/chunks/8561.d6ebf538.js.map +0 -1
  53. package/dist/chunks/9549.3974bfb7.js +0 -2
  54. package/dist/chunks/9549.3974bfb7.js.map +0 -1
  55. package/dist/chunks/main.ccfecfed.js +0 -2
  56. package/dist/chunks/workbench-action-list.ee6a35db.js +0 -2
  57. package/dist/chunks/workbench-history-action.fba4ca88.js +0 -3
  58. package/dist/index.7a54b6f2.js +0 -2
  59. package/dist/index.7a54b6f2.js.map +0 -1
  60. /package/dist/chunks/{3636.da9eea0d.js.LICENSE.txt → 3636.7d815d8d.js.LICENSE.txt} +0 -0
  61. /package/dist/chunks/{4231.00b80023.js.LICENSE.txt → 7757.5a86e420.js.LICENSE.txt} +0 -0
  62. /package/dist/chunks/{workbench-action.f59e4c52.js.LICENSE.txt → page-arch-node.4ef6aca2.js.LICENSE.txt} +0 -0
  63. /package/dist/chunks/{workbench-pane.5d3d98aa.js.LICENSE.txt → workbench-action.05b8fc8d.js.LICENSE.txt} +0 -0
  64. /package/dist/chunks/{workbench-history-action.fba4ca88.js.LICENSE.txt → workbench-history-action.cf6a1f98.js.LICENSE.txt} +0 -0
@@ -0,0 +1,2 @@
1
+ (()=>{"use strict";var e,t,r,n,a,o,l,i,c,s,d,u,f,h,b,p,m,v,g,x,y,P,w={5484:(e,t,r)=>{var n={"./workbench-pane":()=>Promise.all([r.e(8657),r.e(7765),r.e(5761),r.e(5263)]).then((()=>()=>r(2892))),"./workbench-sidebar":()=>Promise.all([r.e(8657),r.e(7765),r.e(5761),r.e(5337)]).then((()=>()=>r(5756))),"./workbench-action":()=>Promise.all([r.e(8657),r.e(7765),r.e(5761),r.e(8567)]).then((()=>()=>r(1904))),"./workbench-action-list":()=>Promise.all([r.e(8657),r.e(7765),r.e(5761),r.e(634),r.e(8353),r.e(4409)]).then((()=>()=>r(62))),"./workbench-tree":()=>Promise.all([r.e(8657),r.e(7765),r.e(5178),r.e(5761),r.e(634),r.e(2006),r.e(3636),r.e(3922)]).then((()=>()=>r(9856))),"./inject-preview-agent":()=>Promise.all([r.e(7521),r.e(5178),r.e(394),r.e(634),r.e(2907),r.e(5776)]).then((()=>()=>r(8053))),"./workbench-history-action":()=>Promise.all([r.e(8657),r.e(7765),r.e(5761),r.e(8874),r.e(634),r.e(860),r.e(2006),r.e(6698),r.e(7088),r.e(1642)]).then((()=>()=>r(8369))),"./page-arch-node":()=>Promise.all([r.e(8657),r.e(7765),r.e(5761),r.e(2006),r.e(9660)]).then((()=>()=>r(4613))),"./collect-used-contracts":()=>Promise.all([r.e(7521),r.e(5178),r.e(394),r.e(634),r.e(2907),r.e(5776)]).then((()=>()=>r(8053)))},a=(e,t)=>(r.R=t,t=r.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),r.R=void 0,t),o=(e,t)=>{if(r.S){var n="default",a=r.S[n];if(a&&a!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return r.S[n]=e,r.I(n,t)}};r.d(t,{get:()=>a,init:()=>o})}},k={};function j(e){var t=k[e];if(void 0!==t)return t.exports;var r=k[e]={id:e,loaded:!1,exports:{}};return w[e].call(r.exports,r,r.exports,j),r.loaded=!0,r.exports}j.m=w,j.c=k,j.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return j.d(t,{a:t}),t},j.d=(e,t)=>{for(var r in t)j.o(t,r)&&!j.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},j.f={},j.e=e=>Promise.all(Object.keys(j.f).reduce(((t,r)=>(j.f[r](e,t),t)),[])),j.u=e=>"chunks/"+({1642:"workbench-history-action",3922:"workbench-tree",4409:"workbench-action-list",5263:"workbench-pane",5337:"workbench-sidebar",5776:"inject-preview-agent",8567:"workbench-action",9660:"page-arch-node"}[e]||e)+"."+{394:"10da3dfa",634:"f1077b2c",860:"836af819",1303:"ad900522",1378:"77d51478",1642:"cf6a1f98",1646:"9cfee3d4",1874:"7b1a4e20",2006:"312249b1",2024:"c21ef9ab",2108:"bda299d3",2179:"1e884b3a",2573:"9b6f5ffa",2618:"c90e8607",2754:"c71db864",2784:"5d899d00",2907:"d028b209",3458:"f1ff9f9a",3608:"1b0fc0ab",3636:"7d815d8d",3922:"12dc889f",4031:"5b00064f",4049:"256ab369",4272:"3945f4be",4275:"e3b0afa5",4409:"4cb1acdc",4504:"aa869f8a",4717:"75e328a7",4791:"65ae38bf",4936:"5a3a8e04",5151:"4694a08d",5178:"c3fd0933",5263:"e666f298",5337:"fa1daf72",5628:"dead23b0",5636:"2b232363",5725:"1fee9e12",5761:"c3c5cd22",5776:"29034de2",5850:"677947a6",5899:"298ca79a",6205:"634ff44f",6473:"2131df5a",6635:"d0184ca5",6653:"c8e670b6",6698:"a5ca95a6",6805:"2e2832fb",7067:"c1a314cc",7088:"6b660016",7110:"97d8cd70",7164:"b0c34ec8",7521:"fbe8be25",7672:"344ce158",7746:"ff02a46c",7765:"713db524",7915:"375e4b05",8008:"5fbc952c",8065:"d9fb0b55",8316:"f28802f7",8353:"ee7d4fd2",8394:"d20218cc",8498:"46f44220",8567:"05b8fc8d",8657:"012f236d",8691:"240f3ad4",8874:"7ec6f4e4",9431:"be29576f",9549:"20b84d60",9660:"4ef6aca2"}[e]+".js",j.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),j.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@next-bricks/visual-builder:",j.l=(r,n,a,o)=>{if(e[r])e[r].push(n);else{var l,i;if(void 0!==a)for(var c=document.getElementsByTagName("script"),s=0;s<c.length;s++){var d=c[s];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+a){l=d;break}}l||(i=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,j.nc&&l.setAttribute("nonce",j.nc),l.setAttribute("data-webpack",t+a),l.src=r),e[r]=[n];var u=(t,n)=>{l.onerror=l.onload=null,clearTimeout(f);var a=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach((e=>e(n))),t)return t(n)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),i&&document.head.appendChild(l)}},j.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},j.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{j.S={};var e={},t={};j.I=(r,n)=>{n||(n=[]);var a=t[r];if(a||(a=t[r]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[r])return e[r];j.o(j.S,r)||(j.S[r]={});var o=j.S[r],l="@next-bricks/visual-builder",i=(e,t,r,n)=>{var a=o[e]=o[e]||{},i=a[t];(!i||!i.loaded&&(!n!=!i.eager?n:l>i.from))&&(a[t]={get:r,from:l,eager:!!n})},c=[];return"default"===r&&(i("@babel/parser","7.23.6",(()=>j.e(1874).then((()=>()=>j(1874))))),i("@easyops-cn/brick-next-pipes","0.6.0",(()=>Promise.all([j.e(4031),j.e(5178),j.e(8874),j.e(5899)]).then((()=>()=>j(4031))))),i("@next-core/cook","2.2.10",(()=>Promise.all([j.e(5151),j.e(2573)]).then((()=>()=>j(5151))))),i("@next-core/element","1.2.0",(()=>j.e(9549).then((()=>()=>j(9549))))),i("@next-core/http","1.1.7",(()=>j.e(7067).then((()=>()=>j(7067))))),i("@next-core/i18n/react","1.0.35",(()=>Promise.all([j.e(860),j.e(1378),j.e(5636)]).then((()=>()=>j(5636))))),i("@next-core/i18n","1.0.35",(()=>Promise.all([j.e(394),j.e(860),j.e(4936),j.e(7164)]).then((()=>()=>j(7164))))),i("@next-core/inject","1.0.25",(()=>Promise.all([j.e(5178),j.e(3608),j.e(7672)]).then((()=>()=>j(7672))))),i("@next-core/loader","1.5.2",(()=>j.e(8498).then((()=>()=>j(8498))))),i("@next-core/pipes","2.0.14",(()=>j.e(4275).then((()=>()=>j(4275))))),i("@next-core/react-element","1.0.19",(()=>Promise.all([j.e(8657),j.e(7765),j.e(8065),j.e(1646)]).then((()=>()=>j(1646))))),i("@next-core/runtime","1.29.0",(()=>Promise.all([j.e(4504),j.e(5178),j.e(394),j.e(8874),j.e(6698),j.e(4272),j.e(8394),j.e(5850)]).then((()=>()=>j(4504))))),i("@next-core/supply","2.1.9",(()=>Promise.all([j.e(5178),j.e(8874),j.e(3608),j.e(4049)]).then((()=>()=>j(4049))))),i("@next-core/theme","1.4.7",(()=>Promise.all([j.e(2108),j.e(5628)]).then((()=>()=>j(2108))))),i("@next-core/utils/general","1.6.7",(()=>j.e(7110).then((()=>()=>j(7110))))),i("@next-core/utils/storyboard","1.6.7",(()=>Promise.all([j.e(394),j.e(4272),j.e(3458)]).then((()=>()=>j(3458))))),i("history","4.10.1",(()=>j.e(2024).then((()=>()=>j(2024))))),i("i18next-browser-languagedetector","7.2.0",(()=>j.e(2754).then((()=>()=>j(2754))))),i("i18next","22.5.1",(()=>j.e(2618).then((()=>()=>j(2618))))),i("js-yaml","3.14.1",(()=>j.e(9431).then((()=>()=>j(9431))))),i("lodash","4.17.21",(()=>j.e(6635).then((()=>()=>j(6635))))),i("moment/locale/zh-cn.js","2.29.4",(()=>Promise.all([j.e(8008),j.e(7915)]).then((()=>()=>j(7414))))),i("moment","2.29.4",(()=>Promise.all([j.e(8008),j.e(7915)]).then((()=>()=>j(9034))))),i("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([j.e(8316),j.e(8657)]).then((()=>()=>j(8316))))),i("react-i18next","12.3.1",(()=>Promise.all([j.e(4791),j.e(8657)]).then((()=>()=>j(1966))))),i("react","0.0.0-experimental-ee8509801-20230117",(()=>j.e(2784).then((()=>()=>j(2784)))))),e[r]=c.length?Promise.all(c).then((()=>e[r]=1)):1}}})(),(()=>{var e;j.g.importScripts&&(e=j.g.location+"");var t=j.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&!e;)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),j.p=e})(),r=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=r[1]?t(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,t(r[2]))),r[3]&&(n.push([]),n.push.apply(n,t(r[3]))),n},n=(e,t)=>{e=r(e),t=r(t);for(var n=0;;){if(n>=e.length)return n<t.length&&"u"!=(typeof t[n])[0];var a=e[n],o=(typeof a)[0];if(n>=t.length)return"u"==o;var l=t[n],i=(typeof l)[0];if(o!=i)return"o"==o&&"n"==i||"s"==i||"u"==o;if("o"!=o&&"u"!=o&&a!=l)return a<l;n++}},a=e=>{var t=e[0],r="";if(1===e.length)return"*";if(t+.5){r+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var n=1,o=1;o<e.length;o++)n--,r+="u"==(typeof(i=e[o]))[0]?"-":(n>0?".":"")+(n=2,i);return r}var l=[];for(o=1;o<e.length;o++){var i=e[o];l.push(0===i?"not("+c()+")":1===i?"("+c()+" || "+c()+")":2===i?l.pop()+" "+l.pop():a(i))}return c();function c(){return l.pop().replace(/^\((.+)\)$/,"$1")}},o=(e,t)=>{if(0 in e){t=r(t);var n=e[0],a=n<0;a&&(n=-n-1);for(var l=0,i=1,c=!0;;i++,l++){var s,d,u=i<e.length?(typeof e[i])[0]:"";if(l>=t.length||"o"==(d=(typeof(s=t[l]))[0]))return!c||("u"==u?i>n&&!a:""==u!=a);if("u"==d){if(!c||"u"!=u)return!1}else if(c)if(u==d)if(i<=n){if(s!=e[i])return!1}else{if(a?s>e[i]:s<e[i])return!1;s!=e[i]&&(c=!1)}else if("s"!=u&&"n"!=u){if(a||i<=n)return!1;c=!1,i--}else{if(i<=n||d<u!=a)return!1;c=!1}else"s"!=u&&"n"!=u&&(c=!1,i--)}}var f=[],h=f.pop.bind(f);for(l=1;l<e.length;l++){var b=e[l];f.push(1==b?h()|h():2==b?h()&h():b?o(b,t):!h())}return!!h()},l=(e,t)=>{var r=e[t];return(t=Object.keys(r).reduce(((e,t)=>!e||n(e,t)?t:e),0))&&r[t]},i=(e,t)=>{var r=e[t];return Object.keys(r).reduce(((e,t)=>!e||!r[e].loaded&&n(e,t)?t:e),0)},c=(e,t,r,n)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+a(n)+")",s=(e,t,r,n)=>{var a=i(e,r);return h(e[r][a])},d=(e,t,r,n)=>{var a=i(e,r);return o(n,a)||f(c(e,r,a,n)),h(e[r][a])},u=(e,t,r)=>{var a=e[t];return(t=Object.keys(a).reduce(((e,t)=>!o(r,t)||e&&!n(e,t)?e:t),0))&&a[t]},f=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},h=e=>(e.loaded=1,e.get()),p=(b=e=>function(t,r,n,a){var o=j.I(t);return o&&o.then?o.then(e.bind(e,t,j.S[t],r,n,a)):e(t,j.S[t],r,n,a)})(((e,t,r,n)=>t&&j.o(t,r)?h(l(t,r)):n())),m=b(((e,t,r,n)=>t&&j.o(t,r)?s(t,0,r):n())),v=b(((e,t,r,n,a)=>t&&j.o(t,r)?d(t,0,r,n):a())),g=b(((e,t,r,n,a)=>{var o=t&&j.o(t,r)&&u(t,r,n);return o?h(o):a()})),x={},y={5178:()=>v("default","lodash",[1,4,17,21],(()=>j.e(6635).then((()=>()=>j(6635))))),8874:()=>v("default","moment",[1,2,29,4],(()=>Promise.all([j.e(8008),j.e(7915)]).then((()=>()=>j(9034))))),5899:()=>v("default","js-yaml",[1,3,14,0],(()=>j.e(9431).then((()=>()=>j(9431))))),2573:()=>v("default","@babel/parser",[1,7,23,6],(()=>j.e(1874).then((()=>()=>j(1874))))),860:()=>m("default","@next-core/i18n",(()=>Promise.all([j.e(394),j.e(4936),j.e(6205)]).then((()=>()=>j(7164))))),4791:()=>v("default","react-i18next",[1,12,3,1],(()=>Promise.all([j.e(4791),j.e(8657)]).then((()=>()=>j(1966))))),394:()=>v("default","@next-core/utils/general",[1,1,6,7],(()=>j.e(7110).then((()=>()=>j(7110))))),3239:()=>v("default","i18next",[1,22,5,1],(()=>j.e(2618).then((()=>()=>j(2618))))),7207:()=>v("default","i18next-browser-languagedetector",[1,7,2,0],(()=>j.e(2754).then((()=>()=>j(2754))))),3608:()=>v("default","@next-core/pipes",[1,2,0,14],(()=>j.e(4275).then((()=>()=>j(4275))))),5454:()=>v("default","@easyops-cn/brick-next-pipes",[2,0,6,0],(()=>Promise.all([j.e(4031),j.e(5178),j.e(8874),j.e(5899)]).then((()=>()=>j(4031))))),8657:()=>g("default","react",[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>j.e(2784).then((()=>()=>j(2784))))),7765:()=>g("default","@next-core/element",[1,1,2,0],(()=>j.e(4717).then((()=>()=>j(9549))))),2484:()=>g("default","react-dom",[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>j.e(8316).then((()=>()=>j(8316))))),6650:()=>p("default","react-dom",(()=>j.e(8316).then((()=>()=>j(8316))))),6698:()=>v("default","@next-core/http",[1,1,1,7],(()=>j.e(1303).then((()=>()=>j(7067))))),4272:()=>v("default","@next-core/cook",[1,2,2,10],(()=>Promise.all([j.e(5151),j.e(2573)]).then((()=>()=>j(5151))))),2590:()=>v("default","@next-core/utils/storyboard",[1,1,6,7],(()=>j.e(8691).then((()=>()=>j(3458))))),3484:()=>v("default","@next-core/i18n",[1,1,0,35],(()=>Promise.all([j.e(860),j.e(4936),j.e(2179)]).then((()=>()=>j(7164))))),4331:()=>v("default","@next-core/inject",[1,1,0,25],(()=>Promise.all([j.e(3608),j.e(5725)]).then((()=>()=>j(7672))))),5275:()=>v("default","@next-core/supply",[1,2,1,9],(()=>Promise.all([j.e(3608),j.e(6473)]).then((()=>()=>j(4049))))),7857:()=>v("default","history",[1,4,10,1],(()=>j.e(2024).then((()=>()=>j(2024))))),8525:()=>v("default","moment/locale/zh-cn.js",[1,2,29,4],(()=>Promise.all([j.e(8008),j.e(7915)]).then((()=>()=>j(7414))))),9232:()=>v("default","@next-core/loader",[1,1,5,2],(()=>j.e(6653).then((()=>()=>j(8498))))),5761:()=>g("default","@next-core/react-element",[1,1,0,19],(()=>Promise.all([j.e(8065),j.e(7746)]).then((()=>()=>j(1646))))),634:()=>v("default","@next-core/runtime",[1,1,29,0],(()=>Promise.all([j.e(4504),j.e(5178),j.e(394),j.e(8874),j.e(6698),j.e(4272),j.e(8394)]).then((()=>()=>j(4504))))),8353:()=>v("default","history",[1,4,7,11],(()=>j.e(2024).then((()=>()=>j(2024))))),2006:()=>v("default","@next-core/theme",[1,1,4,7],(()=>j.e(2108).then((()=>()=>j(2108))))),7088:()=>m("default","@next-core/i18n/react",(()=>Promise.all([j.e(1378),j.e(6805)]).then((()=>()=>j(5636)))))},P={394:[394],634:[634],860:[860],1378:[4791],2006:[2006],2573:[2573],3608:[3608],4272:[4272],4275:[5454],4936:[3239,7207],5178:[5178],5761:[5761],5899:[5899],6698:[6698],7088:[7088],7765:[7765],8065:[2484,6650],8353:[8353],8394:[2590,3484,4331,5275,7857,8525,9232],8657:[8657],8874:[8874]},j.f.consumes=(e,t)=>{j.o(P,e)&&P[e].forEach((e=>{if(j.o(x,e))return t.push(x[e]);var r=t=>{x[e]=0,j.m[e]=r=>{delete j.c[e],r.exports=t()}},n=t=>{delete x[e],j.m[e]=r=>{throw delete j.c[e],t}};try{var a=y[e]();a.then?t.push(x[e]=a.then(r).catch(n)):r(a)}catch(e){n(e)}}))},(()=>{var e={2756:0};j.f.j=(t,r)=>{var n=j.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(5(178|761|899)|8(065|353|394|60|657|874)|(137|360|669|708)8|2006|2573|394|4272|4936|634|7765)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var o=j.p+j.u(t),l=new Error;j.l(o,(r=>{if(j.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",l.name="ChunkLoadError",l.type=a,l.request=o,n[1](l)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[o,l,i]=r,c=0;if(o.some((t=>0!==e[t]))){for(n in l)j.o(l,n)&&(j.m[n]=l[n]);i&&i(j)}for(t&&t(r);c<o.length;c++)a=o[c],j.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=self.webpackChunk_next_bricks_visual_builder=self.webpackChunk_next_bricks_visual_builder||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),j.nc=void 0;var S=j(5484);window["bricks/visual-builder"]=S})();
2
+ //# sourceMappingURL=index.0196e32b.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.0196e32b.js","mappings":"uBAAIA,EACAC,ECDAC,EAIAC,EAIAC,EAIAC,EASAC,EAOAC,EAMAC,EAGAC,EAIAC,EAUAC,EAoBAC,EAMAC,EAIAC,EAUAC,EA2BAC,EAIAC,EAIAC,EAQAC,EACAC,EAgCAC,E,kBCvKJ,IAAIC,EAAY,CACf,mBAAoB,IACZC,QAAQC,IAAwB,CAACC,EAAoBC,EAAE,MAAOD,EAAoBC,EAAE,MAAOD,EAAoBC,EAAE,MAAOD,EAAoBC,EAAE,QAAQC,MAAK,IAAM,IAASF,EAAoB,QAEtM,sBAAuB,IACfF,QAAQC,IAA2B,CAACC,EAAoBC,EAAE,MAAOD,EAAoBC,EAAE,MAAOD,EAAoBC,EAAE,MAAOD,EAAoBC,EAAE,QAAQC,MAAK,IAAM,IAASF,EAAoB,QAEzM,qBAAsB,IACdF,QAAQC,IAA0B,CAACC,EAAoBC,EAAE,MAAOD,EAAoBC,EAAE,MAAOD,EAAoBC,EAAE,MAAOD,EAAoBC,EAAE,QAAQC,MAAK,IAAM,IAASF,EAAoB,QAExM,0BAA2B,IACnBF,QAAQC,IAA+B,CAACC,EAAoBC,EAAE,MAAOD,EAAoBC,EAAE,MAAOD,EAAoBC,EAAE,MAAOD,EAAoBC,EAAE,KAAMD,EAAoBC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ECGzB,IAAI8I,EAAsBvJ,EAAoB,M","sources":["webpack:///webpack/runtime/load script","webpack:///webpack/runtime/consumes","webpack:///webpack/container-entry","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/ensure chunk","webpack:///webpack/runtime/get javascript chunk filename","webpack:///webpack/runtime/global","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/node module decorator","webpack:///webpack/runtime/sharing","webpack:///webpack/runtime/publicPath","webpack:///webpack/runtime/jsonp chunk loading","webpack:///webpack/runtime/nonce","webpack:///webpack/startup"],"sourcesContent":["var inProgress = {};\nvar dataWebpackPrefix = \"@next-bricks/visual-builder:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r<b.length&&\"u\"!=(typeof b[r])[0];var e=a[r],n=(typeof e)[0];if(r>=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e<t;r++}\n}\nvar rangeToString = (range) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a<range.length;a++){e--,n+=\"u\"==(typeof(t=range[a]))[0]?\"-\":(e>0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a<range.length;a++){var t=range[a];g.push(0===t?\"not(\"+o()+\")\":1===t?\"(\"+o()+\" || \"+o()+\")\":2===t?g.pop()+\" \"+g.pop():rangeToString(t))}return o();function o(){return g.pop().replace(/^\\((.+)\\)$/,\"$1\")}\n}\nvar satisfy = (range, version) => {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i<range.length?(typeof range[i])[0]:\"\";if(n>=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f<range[i])return!1;f!=range[i]&&(a=!1)}else if(\"s\"!=g&&\"n\"!=g){if(r||i<=e)return!1;a=!1,i--}else{if(i<=e||s<g!=r)return!1;a=!1}else\"s\"!=g&&\"n\"!=g&&(a=!1,i--)}}var t=[],o=t.pop.bind(t);for(n=1;n<range.length;n++){var u=range[n];t.push(1==u?o()|o():2==u?o()&o():u?satisfy(u,version):!o())}return!!o();\n}\nvar ensureExistence = (scopeName, key) => {\n\tvar scope = __webpack_require__.S[scopeName];\n\tif(!scope || !__webpack_require__.o(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n\treturn scope;\n};\nvar findVersion = (scope, key) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key) => {\n\tvar versions = scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (scope, key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" from \" + (version && scope[key][version].from) + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getSingleton = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\treturn get(scope[key][version]);\n};\nvar getSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) warn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar getStrictSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar findValidVersion = (scope, key, requiredVersion) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar getValidVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar entry = findValidVersion(scope, key, requiredVersion);\n\tif(entry) return get(entry);\n\tthrow new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar warn = (msg) => {\n\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n};\nvar warnInvalidVersion = (scope, scopeName, key, requiredVersion) => {\n\twarn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar init = (fn) => (function(scopeName, a, b, c) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));\n\treturn fn(scopeName, __webpack_require__.S[scopeName], a, b, c);\n});\n\nvar load = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn get(findVersion(scope, key));\n});\nvar loadFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\treturn scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();\n});\nvar loadVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingleton = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn getSingleton(scope, scopeName, key);\n});\nvar loadSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getValidVersion(scope, scopeName, key, version);\n});\nvar loadStrictSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar loadVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingleton(scope, scopeName, key);\n});\nvar loadSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tvar entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);\n\treturn entry ? get(entry) : fallback();\n});\nvar loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t5178: () => (loadSingletonVersionCheckFallback(\"default\", \"lodash\", [1,4,17,21], () => (__webpack_require__.e(6635).then(() => (() => (__webpack_require__(6635))))))),\n\t8874: () => (loadSingletonVersionCheckFallback(\"default\", \"moment\", [1,2,29,4], () => (Promise.all([__webpack_require__.e(8008), __webpack_require__.e(7915)]).then(() => (() => (__webpack_require__(9034))))))),\n\t5899: () => (loadSingletonVersionCheckFallback(\"default\", \"js-yaml\", [1,3,14,0], () => (__webpack_require__.e(9431).then(() => (() => (__webpack_require__(9431))))))),\n\t2573: () => (loadSingletonVersionCheckFallback(\"default\", \"@babel/parser\", [1,7,23,6], () => (__webpack_require__.e(1874).then(() => (() => (__webpack_require__(1874))))))),\n\t860: () => (loadSingletonFallback(\"default\", \"@next-core/i18n\", () => (Promise.all([__webpack_require__.e(394), __webpack_require__.e(4936), __webpack_require__.e(6205)]).then(() => (() => (__webpack_require__(7164))))))),\n\t4791: () => (loadSingletonVersionCheckFallback(\"default\", \"react-i18next\", [1,12,3,1], () => (Promise.all([__webpack_require__.e(4791), __webpack_require__.e(8657)]).then(() => (() => (__webpack_require__(1966))))))),\n\t394: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/utils/general\", [1,1,6,7], () => (__webpack_require__.e(7110).then(() => (() => (__webpack_require__(7110))))))),\n\t3239: () => (loadSingletonVersionCheckFallback(\"default\", \"i18next\", [1,22,5,1], () => (__webpack_require__.e(2618).then(() => (() => (__webpack_require__(2618))))))),\n\t7207: () => (loadSingletonVersionCheckFallback(\"default\", \"i18next-browser-languagedetector\", [1,7,2,0], () => (__webpack_require__.e(2754).then(() => (() => (__webpack_require__(2754))))))),\n\t3608: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/pipes\", [1,2,0,14], () => (__webpack_require__.e(4275).then(() => (() => (__webpack_require__(4275))))))),\n\t5454: () => (loadSingletonVersionCheckFallback(\"default\", \"@easyops-cn/brick-next-pipes\", [2,0,6,0], () => (Promise.all([__webpack_require__.e(4031), __webpack_require__.e(5178), __webpack_require__.e(8874), __webpack_require__.e(5899)]).then(() => (() => (__webpack_require__(4031))))))),\n\t8657: () => (loadStrictVersionCheckFallback(\"default\", \"react\", [6,0,0,0,,\"experimental-ee8509801-20230117\"], () => (__webpack_require__.e(2784).then(() => (() => (__webpack_require__(2784))))))),\n\t7765: () => (loadStrictVersionCheckFallback(\"default\", \"@next-core/element\", [1,1,2,0], () => (__webpack_require__.e(4717).then(() => (() => (__webpack_require__(9549))))))),\n\t2484: () => (loadStrictVersionCheckFallback(\"default\", \"react-dom\", [6,0,0,0,,\"experimental-ee8509801-20230117\"], () => (__webpack_require__.e(8316).then(() => (() => (__webpack_require__(8316))))))),\n\t6650: () => (loadFallback(\"default\", \"react-dom\", () => (__webpack_require__.e(8316).then(() => (() => (__webpack_require__(8316))))))),\n\t6698: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/http\", [1,1,1,7], () => (__webpack_require__.e(1303).then(() => (() => (__webpack_require__(7067))))))),\n\t4272: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/cook\", [1,2,2,10], () => (Promise.all([__webpack_require__.e(5151), __webpack_require__.e(2573)]).then(() => (() => (__webpack_require__(5151))))))),\n\t2590: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/utils/storyboard\", [1,1,6,7], () => (__webpack_require__.e(8691).then(() => (() => (__webpack_require__(3458))))))),\n\t3484: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/i18n\", [1,1,0,35], () => (Promise.all([__webpack_require__.e(860), __webpack_require__.e(4936), __webpack_require__.e(2179)]).then(() => (() => (__webpack_require__(7164))))))),\n\t4331: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/inject\", [1,1,0,25], () => (Promise.all([__webpack_require__.e(3608), __webpack_require__.e(5725)]).then(() => (() => (__webpack_require__(7672))))))),\n\t5275: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/supply\", [1,2,1,9], () => (Promise.all([__webpack_require__.e(3608), __webpack_require__.e(6473)]).then(() => (() => (__webpack_require__(4049))))))),\n\t7857: () => (loadSingletonVersionCheckFallback(\"default\", \"history\", [1,4,10,1], () => (__webpack_require__.e(2024).then(() => (() => (__webpack_require__(2024))))))),\n\t8525: () => (loadSingletonVersionCheckFallback(\"default\", \"moment/locale/zh-cn.js\", [1,2,29,4], () => (Promise.all([__webpack_require__.e(8008), __webpack_require__.e(7915)]).then(() => (() => (__webpack_require__(7414))))))),\n\t9232: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/loader\", [1,1,5,2], () => (__webpack_require__.e(6653).then(() => (() => (__webpack_require__(8498))))))),\n\t5761: () => (loadStrictVersionCheckFallback(\"default\", \"@next-core/react-element\", [1,1,0,19], () => (Promise.all([__webpack_require__.e(8065), __webpack_require__.e(7746)]).then(() => (() => (__webpack_require__(1646))))))),\n\t634: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/runtime\", [1,1,29,0], () => (Promise.all([__webpack_require__.e(4504), __webpack_require__.e(5178), __webpack_require__.e(394), __webpack_require__.e(8874), __webpack_require__.e(6698), __webpack_require__.e(4272), __webpack_require__.e(8394)]).then(() => (() => (__webpack_require__(4504))))))),\n\t8353: () => (loadSingletonVersionCheckFallback(\"default\", \"history\", [1,4,7,11], () => (__webpack_require__.e(2024).then(() => (() => (__webpack_require__(2024))))))),\n\t2006: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/theme\", [1,1,4,7], () => (__webpack_require__.e(2108).then(() => (() => (__webpack_require__(2108))))))),\n\t7088: () => (loadSingletonFallback(\"default\", \"@next-core/i18n/react\", () => (Promise.all([__webpack_require__.e(1378), __webpack_require__.e(6805)]).then(() => (() => (__webpack_require__(5636)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"394\": [\n\t\t394\n\t],\n\t\"634\": [\n\t\t634\n\t],\n\t\"860\": [\n\t\t860\n\t],\n\t\"1378\": [\n\t\t4791\n\t],\n\t\"2006\": [\n\t\t2006\n\t],\n\t\"2573\": [\n\t\t2573\n\t],\n\t\"3608\": [\n\t\t3608\n\t],\n\t\"4272\": [\n\t\t4272\n\t],\n\t\"4275\": [\n\t\t5454\n\t],\n\t\"4936\": [\n\t\t3239,\n\t\t7207\n\t],\n\t\"5178\": [\n\t\t5178\n\t],\n\t\"5761\": [\n\t\t5761\n\t],\n\t\"5899\": [\n\t\t5899\n\t],\n\t\"6698\": [\n\t\t6698\n\t],\n\t\"7088\": [\n\t\t7088\n\t],\n\t\"7765\": [\n\t\t7765\n\t],\n\t\"8065\": [\n\t\t2484,\n\t\t6650\n\t],\n\t\"8353\": [\n\t\t8353\n\t],\n\t\"8394\": [\n\t\t2590,\n\t\t3484,\n\t\t4331,\n\t\t5275,\n\t\t7857,\n\t\t8525,\n\t\t9232\n\t],\n\t\"8657\": [\n\t\t8657\n\t],\n\t\"8874\": [\n\t\t8874\n\t]\n};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t});\n\t}\n}","var moduleMap = {\n\t\"./workbench-pane\": () => {\n\t\treturn Promise.all(/* workbench-pane */[__webpack_require__.e(8657), __webpack_require__.e(7765), __webpack_require__.e(5761), __webpack_require__.e(5263)]).then(() => (() => ((__webpack_require__(2892)))));\n\t},\n\t\"./workbench-sidebar\": () => {\n\t\treturn Promise.all(/* workbench-sidebar */[__webpack_require__.e(8657), __webpack_require__.e(7765), __webpack_require__.e(5761), __webpack_require__.e(5337)]).then(() => (() => ((__webpack_require__(5756)))));\n\t},\n\t\"./workbench-action\": () => {\n\t\treturn Promise.all(/* workbench-action */[__webpack_require__.e(8657), __webpack_require__.e(7765), __webpack_require__.e(5761), __webpack_require__.e(8567)]).then(() => (() => ((__webpack_require__(1904)))));\n\t},\n\t\"./workbench-action-list\": () => {\n\t\treturn Promise.all(/* workbench-action-list */[__webpack_require__.e(8657), __webpack_require__.e(7765), __webpack_require__.e(5761), __webpack_require__.e(634), __webpack_require__.e(8353), __webpack_require__.e(4409)]).then(() => (() => ((__webpack_require__(62)))));\n\t},\n\t\"./workbench-tree\": () => {\n\t\treturn Promise.all(/* workbench-tree */[__webpack_require__.e(8657), __webpack_require__.e(7765), __webpack_require__.e(5178), __webpack_require__.e(5761), __webpack_require__.e(634), __webpack_require__.e(2006), __webpack_require__.e(3636), __webpack_require__.e(3922)]).then(() => (() => ((__webpack_require__(9856)))));\n\t},\n\t\"./inject-preview-agent\": () => {\n\t\treturn Promise.all(/* inject-preview-agent */[__webpack_require__.e(7521), __webpack_require__.e(5178), __webpack_require__.e(394), __webpack_require__.e(634), __webpack_require__.e(2907), __webpack_require__.e(5776)]).then(() => (() => ((__webpack_require__(8053)))));\n\t},\n\t\"./workbench-history-action\": () => {\n\t\treturn Promise.all(/* workbench-history-action */[__webpack_require__.e(8657), __webpack_require__.e(7765), __webpack_require__.e(5761), __webpack_require__.e(8874), __webpack_require__.e(634), __webpack_require__.e(860), __webpack_require__.e(2006), __webpack_require__.e(6698), __webpack_require__.e(7088), __webpack_require__.e(1642)]).then(() => (() => ((__webpack_require__(8369)))));\n\t},\n\t\"./page-arch-node\": () => {\n\t\treturn Promise.all(/* page-arch-node */[__webpack_require__.e(8657), __webpack_require__.e(7765), __webpack_require__.e(5761), __webpack_require__.e(2006), __webpack_require__.e(9660)]).then(() => (() => ((__webpack_require__(4613)))));\n\t},\n\t\"./collect-used-contracts\": () => {\n\t\treturn Promise.all(/* inject-preview-agent */[__webpack_require__.e(7521), __webpack_require__.e(5178), __webpack_require__.e(394), __webpack_require__.e(634), __webpack_require__.e(2907), __webpack_require__.e(5776)]).then(() => (() => ((__webpack_require__(8053)))));\n\t}\n};\nvar get = (module, getScope) => {\n\t__webpack_require__.R = getScope;\n\tgetScope = (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n\t__webpack_require__.R = undefined;\n\treturn getScope;\n};\nvar init = (shareScope, initScope) => {\n\tif (!__webpack_require__.S) return;\n\tvar name = \"default\"\n\tvar oldScope = __webpack_require__.S[name];\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name, initScope);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => (get),\n\tinit: () => (init)\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"chunks/\" + ({\"1642\":\"workbench-history-action\",\"3922\":\"workbench-tree\",\"4409\":\"workbench-action-list\",\"5263\":\"workbench-pane\",\"5337\":\"workbench-sidebar\",\"5776\":\"inject-preview-agent\",\"8567\":\"workbench-action\",\"9660\":\"page-arch-node\"}[chunkId] || chunkId) + \".\" + {\"394\":\"10da3dfa\",\"634\":\"f1077b2c\",\"860\":\"836af819\",\"1303\":\"ad900522\",\"1378\":\"77d51478\",\"1642\":\"cf6a1f98\",\"1646\":\"9cfee3d4\",\"1874\":\"7b1a4e20\",\"2006\":\"312249b1\",\"2024\":\"c21ef9ab\",\"2108\":\"bda299d3\",\"2179\":\"1e884b3a\",\"2573\":\"9b6f5ffa\",\"2618\":\"c90e8607\",\"2754\":\"c71db864\",\"2784\":\"5d899d00\",\"2907\":\"d028b209\",\"3458\":\"f1ff9f9a\",\"3608\":\"1b0fc0ab\",\"3636\":\"7d815d8d\",\"3922\":\"12dc889f\",\"4031\":\"5b00064f\",\"4049\":\"256ab369\",\"4272\":\"3945f4be\",\"4275\":\"e3b0afa5\",\"4409\":\"4cb1acdc\",\"4504\":\"aa869f8a\",\"4717\":\"75e328a7\",\"4791\":\"65ae38bf\",\"4936\":\"5a3a8e04\",\"5151\":\"4694a08d\",\"5178\":\"c3fd0933\",\"5263\":\"e666f298\",\"5337\":\"fa1daf72\",\"5628\":\"dead23b0\",\"5636\":\"2b232363\",\"5725\":\"1fee9e12\",\"5761\":\"c3c5cd22\",\"5776\":\"29034de2\",\"5850\":\"677947a6\",\"5899\":\"298ca79a\",\"6205\":\"634ff44f\",\"6473\":\"2131df5a\",\"6635\":\"d0184ca5\",\"6653\":\"c8e670b6\",\"6698\":\"a5ca95a6\",\"6805\":\"2e2832fb\",\"7067\":\"c1a314cc\",\"7088\":\"6b660016\",\"7110\":\"97d8cd70\",\"7164\":\"b0c34ec8\",\"7521\":\"fbe8be25\",\"7672\":\"344ce158\",\"7746\":\"ff02a46c\",\"7765\":\"713db524\",\"7915\":\"375e4b05\",\"8008\":\"5fbc952c\",\"8065\":\"d9fb0b55\",\"8316\":\"f28802f7\",\"8353\":\"ee7d4fd2\",\"8394\":\"d20218cc\",\"8498\":\"46f44220\",\"8567\":\"05b8fc8d\",\"8657\":\"012f236d\",\"8691\":\"240f3ad4\",\"8874\":\"7ec6f4e4\",\"9431\":\"be29576f\",\"9549\":\"20b84d60\",\"9660\":\"4ef6aca2\"}[chunkId] + \".js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"@next-bricks/visual-builder\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@babel/parser\", \"7.23.6\", () => (__webpack_require__.e(1874).then(() => (() => (__webpack_require__(1874))))));\n\t\t\tregister(\"@easyops-cn/brick-next-pipes\", \"0.6.0\", () => (Promise.all([__webpack_require__.e(4031), __webpack_require__.e(5178), __webpack_require__.e(8874), __webpack_require__.e(5899)]).then(() => (() => (__webpack_require__(4031))))));\n\t\t\tregister(\"@next-core/cook\", \"2.2.10\", () => (Promise.all([__webpack_require__.e(5151), __webpack_require__.e(2573)]).then(() => (() => (__webpack_require__(5151))))));\n\t\t\tregister(\"@next-core/element\", \"1.2.0\", () => (__webpack_require__.e(9549).then(() => (() => (__webpack_require__(9549))))));\n\t\t\tregister(\"@next-core/http\", \"1.1.7\", () => (__webpack_require__.e(7067).then(() => (() => (__webpack_require__(7067))))));\n\t\t\tregister(\"@next-core/i18n/react\", \"1.0.35\", () => (Promise.all([__webpack_require__.e(860), __webpack_require__.e(1378), __webpack_require__.e(5636)]).then(() => (() => (__webpack_require__(5636))))));\n\t\t\tregister(\"@next-core/i18n\", \"1.0.35\", () => (Promise.all([__webpack_require__.e(394), __webpack_require__.e(860), __webpack_require__.e(4936), __webpack_require__.e(7164)]).then(() => (() => (__webpack_require__(7164))))));\n\t\t\tregister(\"@next-core/inject\", \"1.0.25\", () => (Promise.all([__webpack_require__.e(5178), __webpack_require__.e(3608), __webpack_require__.e(7672)]).then(() => (() => (__webpack_require__(7672))))));\n\t\t\tregister(\"@next-core/loader\", \"1.5.2\", () => (__webpack_require__.e(8498).then(() => (() => (__webpack_require__(8498))))));\n\t\t\tregister(\"@next-core/pipes\", \"2.0.14\", () => (__webpack_require__.e(4275).then(() => (() => (__webpack_require__(4275))))));\n\t\t\tregister(\"@next-core/react-element\", \"1.0.19\", () => (Promise.all([__webpack_require__.e(8657), __webpack_require__.e(7765), __webpack_require__.e(8065), __webpack_require__.e(1646)]).then(() => (() => (__webpack_require__(1646))))));\n\t\t\tregister(\"@next-core/runtime\", \"1.29.0\", () => (Promise.all([__webpack_require__.e(4504), __webpack_require__.e(5178), __webpack_require__.e(394), __webpack_require__.e(8874), __webpack_require__.e(6698), __webpack_require__.e(4272), __webpack_require__.e(8394), __webpack_require__.e(5850)]).then(() => (() => (__webpack_require__(4504))))));\n\t\t\tregister(\"@next-core/supply\", \"2.1.9\", () => (Promise.all([__webpack_require__.e(5178), __webpack_require__.e(8874), __webpack_require__.e(3608), __webpack_require__.e(4049)]).then(() => (() => (__webpack_require__(4049))))));\n\t\t\tregister(\"@next-core/theme\", \"1.4.7\", () => (Promise.all([__webpack_require__.e(2108), __webpack_require__.e(5628)]).then(() => (() => (__webpack_require__(2108))))));\n\t\t\tregister(\"@next-core/utils/general\", \"1.6.7\", () => (__webpack_require__.e(7110).then(() => (() => (__webpack_require__(7110))))));\n\t\t\tregister(\"@next-core/utils/storyboard\", \"1.6.7\", () => (Promise.all([__webpack_require__.e(394), __webpack_require__.e(4272), __webpack_require__.e(3458)]).then(() => (() => (__webpack_require__(3458))))));\n\t\t\tregister(\"history\", \"4.10.1\", () => (__webpack_require__.e(2024).then(() => (() => (__webpack_require__(2024))))));\n\t\t\tregister(\"i18next-browser-languagedetector\", \"7.2.0\", () => (__webpack_require__.e(2754).then(() => (() => (__webpack_require__(2754))))));\n\t\t\tregister(\"i18next\", \"22.5.1\", () => (__webpack_require__.e(2618).then(() => (() => (__webpack_require__(2618))))));\n\t\t\tregister(\"js-yaml\", \"3.14.1\", () => (__webpack_require__.e(9431).then(() => (() => (__webpack_require__(9431))))));\n\t\t\tregister(\"lodash\", \"4.17.21\", () => (__webpack_require__.e(6635).then(() => (() => (__webpack_require__(6635))))));\n\t\t\tregister(\"moment/locale/zh-cn.js\", \"2.29.4\", () => (Promise.all([__webpack_require__.e(8008), __webpack_require__.e(7915)]).then(() => (() => (__webpack_require__(7414))))));\n\t\t\tregister(\"moment\", \"2.29.4\", () => (Promise.all([__webpack_require__.e(8008), __webpack_require__.e(7915)]).then(() => (() => (__webpack_require__(9034))))));\n\t\t\tregister(\"react-dom\", \"0.0.0-experimental-ee8509801-20230117\", () => (Promise.all([__webpack_require__.e(8316), __webpack_require__.e(8657)]).then(() => (() => (__webpack_require__(8316))))));\n\t\t\tregister(\"react-i18next\", \"12.3.1\", () => (Promise.all([__webpack_require__.e(4791), __webpack_require__.e(8657)]).then(() => (() => (__webpack_require__(1966))))));\n\t\t\tregister(\"react\", \"0.0.0-experimental-ee8509801-20230117\", () => (__webpack_require__.e(2784).then(() => (() => (__webpack_require__(2784))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript)\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && !scriptUrl) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t2756: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^(5(178|761|899)|8(065|353|394|60|657|874)|(137|360|669|708)8|2006|2573|394|4272|4936|634|7765)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_next_bricks_visual_builder\"] = self[\"webpackChunk_next_bricks_visual_builder\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__(5484);\n"],"names":["inProgress","dataWebpackPrefix","parseVersion","versionLt","rangeToString","satisfy","findVersion","findSingletonVersionKey","getInvalidSingletonVersionMessage","getSingleton","getSingletonVersion","findValidVersion","warn","get","init","loadFallback","loadSingletonFallback","loadSingletonVersionCheckFallback","loadStrictVersionCheckFallback","installedModules","moduleToHandlerMapping","chunkMapping","moduleMap","Promise","all","__webpack_require__","e","then","module","getScope","R","o","resolve","Error","undefined","shareScope","initScope","S","name","oldScope","I","d","exports","__webpack_module_cache__","moduleId","cachedModule","id","loaded","__webpack_modules__","call","m","c","n","getter","__esModule","a","definition","key","Object","defineProperty","enumerable","f","chunkId","keys","reduce","promises","u","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","fn","setTimeout","bind","type","target","head","appendChild","r","Symbol","toStringTag","value","nmd","paths","children","initPromises","initTokens","initToken","indexOf","scope","uniqueName","register","version","factory","eager","versions","activeVersion","from","scriptUrl","importScripts","location","currentScript","replace","p","str","split","map","exec","apply","b","t","range","pop","requiredVersion","scopeName","msg","console","entry","promise","fallback","consumes","onFactory","onError","error","installedChunks","j","installedChunkData","test","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}
@@ -266,6 +266,51 @@
266
266
  "parts": [],
267
267
  "description": "项目变更历史",
268
268
  "insider": true
269
+ },
270
+ {
271
+ "name": "visual-builder.page-arch-node",
272
+ "properties": [
273
+ {
274
+ "name": "label",
275
+ "type": "string"
276
+ },
277
+ {
278
+ "name": "type",
279
+ "type": "PageArchNodeType"
280
+ },
281
+ {
282
+ "name": "active",
283
+ "type": "boolean"
284
+ },
285
+ {
286
+ "name": "autoFocusOnce",
287
+ "type": "string"
288
+ }
289
+ ],
290
+ "events": [
291
+ {
292
+ "name": "label.editing.change",
293
+ "detail": {
294
+ "type": "boolean"
295
+ }
296
+ },
297
+ {
298
+ "name": "label.change",
299
+ "detail": {
300
+ "type": "string"
301
+ }
302
+ },
303
+ {
304
+ "name": "child.append",
305
+ "detail": {
306
+ "type": "void"
307
+ }
308
+ }
309
+ ],
310
+ "slots": [],
311
+ "methods": [],
312
+ "parts": [],
313
+ "description": "构件 `visual-builder.page-arch-node`"
269
314
  }
270
315
  ],
271
316
  "providers": [
package/dist/types.json CHANGED
@@ -102,6 +102,90 @@
102
102
  "events": [],
103
103
  "methods": []
104
104
  },
105
+ "visual-builder.page-arch-node": {
106
+ "properties": [
107
+ {
108
+ "name": "label",
109
+ "annotation": {
110
+ "type": "keyword",
111
+ "value": "string"
112
+ }
113
+ },
114
+ {
115
+ "name": "type",
116
+ "annotation": {
117
+ "type": "reference",
118
+ "typeName": {
119
+ "type": "identifier",
120
+ "name": "PageArchNodeType"
121
+ }
122
+ }
123
+ },
124
+ {
125
+ "name": "active",
126
+ "annotation": {
127
+ "type": "keyword",
128
+ "value": "boolean"
129
+ }
130
+ },
131
+ {
132
+ "name": "autoFocusOnce",
133
+ "annotation": {
134
+ "type": "keyword",
135
+ "value": "string"
136
+ }
137
+ }
138
+ ],
139
+ "events": [
140
+ {
141
+ "name": "label.editing.change",
142
+ "detail": {
143
+ "annotation": {
144
+ "type": "keyword",
145
+ "value": "boolean"
146
+ }
147
+ }
148
+ },
149
+ {
150
+ "name": "label.change",
151
+ "detail": {
152
+ "annotation": {
153
+ "type": "keyword",
154
+ "value": "string"
155
+ }
156
+ }
157
+ },
158
+ {
159
+ "name": "child.append",
160
+ "detail": {
161
+ "annotation": {
162
+ "type": "keyword",
163
+ "value": "void"
164
+ }
165
+ }
166
+ }
167
+ ],
168
+ "methods": [],
169
+ "types": [
170
+ {
171
+ "type": "typeAlias",
172
+ "name": "PageArchNodeType",
173
+ "annotation": {
174
+ "type": "union",
175
+ "types": [
176
+ {
177
+ "type": "jsLiteral",
178
+ "value": "page"
179
+ },
180
+ {
181
+ "type": "jsLiteral",
182
+ "value": "board"
183
+ }
184
+ ]
185
+ }
186
+ }
187
+ ]
188
+ },
105
189
  "visual-builder.workbench-action-list": {
106
190
  "properties": [
107
191
  {
@@ -5,3 +5,4 @@ import "./workbench-action-list/index.js";
5
5
  import "./workbench-tree/index.js";
6
6
  import "./data-providers/inject-preview-agent.js";
7
7
  import "./workbench-history-action/index.js";
8
+ import "./page-arch-node/index.js";
@@ -0,0 +1,24 @@
1
+ import React from "react";
2
+ import { ReactNextElement } from "@next-core/react-element";
3
+ import "@next-core/theme";
4
+ export interface PageArchNodeProps {
5
+ label?: string;
6
+ type?: PageArchNodeType;
7
+ autoFocusOnce?: string;
8
+ onLabelEditingChange?(value: boolean): void;
9
+ onLabelChange?(value: string): void;
10
+ onChildAppend?(): void;
11
+ }
12
+ export type PageArchNodeType = "page" | "board";
13
+ /**
14
+ * 构件 `visual-builder.page-arch-node`
15
+ */
16
+ export declare class PageArchNode extends ReactNextElement implements PageArchNodeProps {
17
+ #private;
18
+ accessor label: string | undefined;
19
+ accessor type: PageArchNodeType | undefined;
20
+ accessor active: boolean | undefined;
21
+ accessor autoFocusOnce: string | undefined;
22
+ render(): React.JSX.Element;
23
+ }
24
+ export declare function PageArchNodeComponent({ label, type: _type, autoFocusOnce, onLabelEditingChange, onLabelChange, onChildAppend, }: PageArchNodeProps): React.JSX.Element;
@@ -0,0 +1 @@
1
+ import "./";
@@ -0,0 +1,12 @@
1
+ 构件 `visual-builder.page-arch-node`
2
+
3
+ ## Examples
4
+
5
+ ### Basic
6
+
7
+ ```yaml preview
8
+ brick: visual-builder.page-arch-node
9
+ properties:
10
+ label: 名称
11
+ type: page
12
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/visual-builder",
3
- "version": "0.10.7",
3
+ "version": "1.1.0",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/visual-builder",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,12 +32,12 @@
32
32
  "postpublish": "mv package.json.bak package.json"
33
33
  },
34
34
  "devDependencies": {
35
- "@next-core/build-next-bricks": "^1.19.1",
35
+ "@next-core/build-next-bricks": "^1.20.0",
36
36
  "@next-core/test-next": "^1.0.13"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@next-bricks/basic": "*",
40
40
  "@next-bricks/icons": "*"
41
41
  },
42
- "gitHead": "9fad7777877a52e3ae4ab1bd93c3bbb64d69a243"
42
+ "gitHead": "b8264f0baebbf6c4f39eb8e8fd17f272f3c79df8"
43
43
  }
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunk_next_bricks_visual_builder=self.webpackChunk_next_bricks_visual_builder||[]).push([[2907],{894:(e,t,n)=>{n.d(t,{k:()=>i});var r=n(394),a=n(6530),o=n(2812);function i(e){var t=function(e){var t=new Set;return(0,a.f)(e,(e=>{switch(e.type){case"Resolvable":case"EventHandler":var n,r=null===(n=e.raw)||void 0===n?void 0:n.useProvider;r&&t.add(r)}})),t}((0,o.ud)(e)),n=[];for(var r of t)r.includes("@")&&n.push(r);return n}customElements.define("visual-builder.collect-used-contracts",(0,r.createProviderClass)(i))},2907:(e,t,n)=>{n.d(t,{Z:()=>A});var r,a=n(4795),o=n(3028),i=n(6594),d=n(5178),s=n(1763),l=n.n(s);function p(){return(p=(0,a.Z)((function*(e,t){var n,r=yield l()(document.body,{logging:!1,scale:1,width:window.innerWidth,height:window.innerHeight,foreignObjectRendering:!0}),a=document.createElement("canvas");return function(e,t,n,r){var a=n/r,{width:o,height:i}=e,d=o/i,s=d>=a,l=s?n:r*d,p=s?n/d:r;t.width=l,t.height=p,t.getContext("2d").drawImage(e,0,0,o,i,0,0,l,p),t.toDataURL()}(r,a,e,t),yield(n=a,new Promise((function(e,t){n.toBlob((function(n){n?e(n):t()}))})))}))).apply(this,arguments)}function c(e){var t;e.preventDefault(),e.stopPropagation(),(t=m(e.target)).length>0&&window.parent.postMessage({sender:"previewer",type:"select-brick",iidList:t},r)}function u(e){e.preventDefault(),e.stopPropagation()}var v=(0,d.throttle)((e=>{var t=m(e.target);t.length>0&&window.parent.postMessage({sender:"previewer",type:"hover-on-brick",iidList:t},r)}),100,{leading:!1});function w(e){e.preventDefault(),e.stopPropagation(),v(e)}function h(e){e.preventDefault(),e.stopPropagation(),v(e)}function g(e){e.preventDefault(),e.stopPropagation(),window.parent.postMessage({sender:"previewer",type:"hover-on-brick",iidList:[]},r)}function y(e){var t,n,a;e.preventDefault(),e.stopPropagation(),t=e.target,n={x:e.clientX,y:e.clientY},(a=m(t)).length>0&&window.parent.postMessage({sender:"previewer",type:"context-menu-on-brick",iidList:a,position:n},r)}function m(e){for(var t=[],n=e;n;)"string"==typeof n.dataset.iid&&t.push(n.dataset.iid),n=n.parentElement;return t}var f=n(894);function b(e){var t=typeof e;switch(t){case"string":case"boolean":case"number":return{type:t,value:e};case"undefined":return{type:t}}return null===e?{type:"null"}:Array.isArray(e)?{type:"array",length:e.length}:{type:"object"}}var S=!1,k=i.getHistory,E=i.matchPath,I=i.__secret_internals,L=!1;try{var x,P=window.dll;if(P&&null!==(x=window.BRICK_NEXT_VERSIONS)&&void 0!==x&&null!==(x=x["brick-container"])&&void 0!==x&&x.startsWith("2.")){var{getHistory:C,developHelper:T}=P("tYg3"),{matchPath:D}=P("A+yw");k=C,E=D,I=(0,o.Z)((0,o.Z)({},T),{},{getContextValue(e,t){var{tplStateStoreId:n}=t;return T.getContextValue(e,{tplContextId:n})},getAllContextValues(e){var{tplStateStoreId:t}=e,n=T.getAllContextValues({tplContextId:t});return Object.fromEntries([...n].map((e=>{var[t,n]=e;return[t,n.value]})))}}),L=!0}}catch(e){console.error("Try to use v2 runtime APIs failed:",e)}var N=null,_=null;function A(e,t){return O.apply(this,arguments)}function O(){return O=(0,a.Z)((function*(e,t){var n,s;if(!S){S=!0;var l,v,L,x,P=t=>{window.parent.postMessage((0,o.Z)({sender:"previewer"},t),e)};P({type:"preview-started"}),r=e;var C,T=(e,t,n)=>{var r=R(t);P({type:"highlight-brick",highlightType:e,outlines:r,iid:t,alias:n})};t.templateId&&(C=t.settings);var D=()=>{I.updateTemplatePreviewSettings(t.appId,t.templateId,C),k().reload()},A=()=>{I.updateSnippetPreviewSettings(t.appId,JSON.parse(t.snippetData)),k().reload()},O=k();window.addEventListener("message",function(){var n=(0,a.Z)((function*(n){var a,o,s,{data:b,origin:S}=n;if(S===e&&b&&"preview-container"===b.sender)if("builder"===b.forwardedFor)switch(b.type){case"hover-on-brick":l=b.iid,v=b.alias,T("hover",b.iid,b.alias);break;case"hover-on-main":T("hover","#main-mount-point","root");break;case"hover-on-context":s=b.highlightNodes.map((e=>R(e.iid,e.alias))).flat(),P({type:"highlight-context",outlines:s});break;case"select-brick":L=b.iid,x=b.alias,T("active",b.iid,b.alias);break;case"hover-on-iframe":(e=>{var t=document.elementFromPoint(e.x,e.y);if("BODY"===(null==t?void 0:t.tagName))window.parent.postMessage({sender:"previewer",type:"hover-on-main",isDirection:!0,position:{x:e.x,y:e.y}},r);else{var n=m(t);window.parent.postMessage({sender:"previewer",type:"hover-on-brick",iidList:n,isDirection:!0,position:{x:e.x,y:e.y}},r)}})(b.position)}else switch(b.type){case"toggle-inspecting":b.enabled?(window.addEventListener("click",c,!0),window.addEventListener("mousedown",u,!0),window.addEventListener("mouseover",u,!0),window.addEventListener("mouseup",u,!0),window.addEventListener("pointerdown",w,!0),window.addEventListener("pointerover",h,!0),window.addEventListener("pointerup",u,!0),window.addEventListener("pointerleave",g,!0),window.addEventListener("contextmenu",y,!0)):(window.removeEventListener("click",c,!0),window.removeEventListener("mousedown",u,!0),window.removeEventListener("mouseover",u,!0),window.removeEventListener("mouseup",u,!0),window.removeEventListener("pointerdown",w,!0),window.removeEventListener("pointerover",h,!0),window.removeEventListener("pointerup",u,!0),window.removeEventListener("pointerleave",g,!0),window.removeEventListener("contextmenu",y,!0));break;case"refresh":if(null!==(a=b.options)&&void 0!==a&&a.updateStoryboardType){var E,N;"route"===b.options.updateStoryboardType?I.updateStoryboardByRoute(t.appId,b.storyboardPatch):"template"===b.options.updateStoryboardType?I.updateStoryboardByTemplate(t.appId,b.storyboardPatch,b.options.settings):"snippet"===b.options.updateStoryboardType&&I.updateStoryboardBySnippet(t.appId,b.storyboardPatch);var _=yield null===(E=(N=I).getAddedContracts)||void 0===E?void 0:E.call(N,b.storyboardPatch,{appId:t.appId,updateStoryboardType:b.options.updateStoryboardType,formId:t.formId,collectUsedContracts:f.k});(0,d.isEmpty)(_)?k().reload():P({type:"contract-update",data:{add:_}});break}I.updateStoryboard(t.appId,b.storyboardPatch),t.templateId?(C=b.settings,D()):null!==(o=b.options)&&void 0!==o&&o.snippetData?(t.snippetData=b.options.snippetData,A()):k().reload();break;case"reload":location.reload();break;case"back":O.goBack();break;case"forward":O.goForward();break;case"capture":(function(e,t){return p.apply(this,arguments)})(b.maxWidth,b.maxHeight).then((e=>{P({type:"capture-ok",screenshot:e})}),(()=>{P({type:"capture-failed"})}));break;case"inspect-data-value":((e,t)=>{try{var n,r,a,{dataType:o}=t;if("state"===o&&!(n=M()))return void P({type:"inspect-data-value-error",data:{error:{message:"tplStateStoreId not found, unable to preview STATE value"}}});if(e)a="inspect-single-data-value-success",r=I.getContextValue(e,{tplStateStoreId:n});else{a="inspect-all-data-values-success";var i=I.getAllContextValues({tplStateStoreId:n});r=Object.entries(i).map((e=>{var[t,n]=e;return{name:t,value:n}}))}P({type:a,data:{name:e,value:r}})}catch(e){P({type:"inspect-data-value-error",data:{message:e.message}})}})(b.name,b.option);break;case"update-preview-url":var B=b.previewUrl.startsWith(window.origin)?b.previewUrl.substring(window.origin.length):b.previewUrl,H=(0,i.getBasePath)(),Z=B.startsWith(H)?B.substring(H.length-1):B;k().push(Z);break;case"update-preview-route":t.routePath=b.routePath,t.routeExact=b.routeExact,j()}}));return function(e){return n.apply(this,arguments)}}()),window.addEventListener("scroll",(()=>{P({type:"scroll",scroll:{x:window.scrollX,y:window.scrollY}})}));var B,H,Z=!0,V=e=>{P({type:"url-change",url:location.origin+O.createHref(e)}),B=e,j()};V(O.location),O.listen(V),t.templateId&&D(),t.snippetData&&A(),null===(n=(s=I).addRealTimeDataInspectHook)||void 0===n||n.call(s,(e=>{var{changeType:t,tplStateStoreId:n,detail:r}=e;P({type:"real-time-data-inspect-change",changeType:t,tplStateStoreId:n,detail:"update"===t?{name:r.name,annotation:b(r.value)}:{data:Object.fromEntries(Object.entries(r.data).map((e=>{var[t,n]=e;return[t,b(n)]})))}})})),window.addEventListener("route.render",(()=>{W(!0)})),q(),W(!0),new MutationObserver((0,d.throttle)((()=>{q(),W(),l&&T("hover",l,v),L&&T("active",L,x)}),100,{leading:!1})).observe(document.body,{subtree:!0,childList:!0})}function j(){if(t.routePath){var e=!!E(B.pathname,{path:t.routePath,exact:t.routeExact});if(P({type:"route-match-change",match:e}),t.templateId&&!Z&&e){var n=document.querySelector("#main-mount-point"),r=new MutationObserver((()=>{1===n.childNodes.length&&"SPAN"===n.firstChild.tagName&&0===n.firstChild.childNodes.length&&(D(),r.disconnect())}));r.observe(n,{childList:!0})}if(t.snippetData&&!Z&&e){var a=document.querySelector("#main-mount-point"),o=new MutationObserver((()=>{1===a.childNodes.length&&"SPAN"===a.firstChild.tagName&&0===a.firstChild.childNodes.length&&(A(),o.disconnect())}));o.observe(a,{childList:!0})}Z=e}}function q(){var e,t,n,r=document.querySelector("eo-page-view"),a=null!==(e=null==r||null===(t=r.shadowRoot)||void 0===t?void 0:t.querySelector(".content"))&&void 0!==e?e:null;a!==N&&(null===(n=N)||void 0===n||n.removeEventListener("scroll",U),null==a||a.addEventListener("scroll",U),N=a,_=r)}function U(){P({type:"content-scroll",scroll:{x:this.scrollLeft,y:this.scrollTop}})}function W(e){var n,r,a=t.templateId?M():void 0;(H!==a||e)&&(H=a,null===(n=(r=I).setRealTimeDataInspectRoot)||void 0===n||n.call(r,{tplStateStoreId:a}))}})),O.apply(this,arguments)}function R(e,t){if(!e)return[];var n=e.includes("#"),r=function(e,t){return[...e].map((e=>{var n,r=null===(n=_)||void 0===n?void 0:n.contains(e),{width:a,height:o,left:i,top:d}=e.getBoundingClientRect();return{width:a,height:o,left:i+window.scrollX+(r?N.scrollLeft:0),top:d+window.scrollY+(r?N.scrollTop:0),alias:t,hasContentScroll:r}}))}(document.querySelectorAll(n?e:'[data-iid="'.concat(e,'"]')),t);return n?r.map((e=>(0,o.Z)((0,o.Z)({},e),{},{height:window.innerHeight-e.top}))):r}function M(){var e,t=document.querySelector("#main-mount-point");return null==t||null===(e=t.firstChild)||void 0===e?void 0:e.dataset[L?"tplContextId":"tplStateStoreId"]}}}]);
2
- //# sourceMappingURL=2907.16edd003.js.map
@@ -1,3 +0,0 @@
1
- /*! For license information please see 3636.da9eea0d.js.LICENSE.txt */
2
- (self.webpackChunk_next_bricks_visual_builder=self.webpackChunk_next_bricks_visual_builder||[]).push([[3636,5628],{8486:(e,t,n)=>{"use strict";n.d(t,{L:()=>a,r:()=>r});var o=n(8657),a=(0,o.createContext)({});function r(){return(0,o.useContext)(a)}},1732:(e,t,n)=>{"use strict";n.d(t,{ME:()=>L});var o=n(7896),a=n(3028),r=n(8657),i=n.n(r),l=n(5178),c=n.n(l),s=n(2779),d=n.n(s),u=n(3321),p=n(8486),f=function(e){return e.inside="inside",e.top="top",e.bottom="bottom",e}({}),h=(0,r.createContext)({});function v(){return(0,r.useContext)(h)}var g=n(8835),m=n(6594),b=(0,g.wrapBrick)("icons.general-icon");function y(e){var{data:t,className:n,gap:o,isFirst:a,isLast:l,actions:c,actionsHidden:s,onActionClick:u}=e,p=(0,r.useMemo)((()=>null==c?void 0:c.filter((e=>(0,m.checkIfByTransform)(e,t)))),[c,t]);return s||null==p||!p.length?null:i().createElement("div",{className:d()("actionsBar",n),style:{gap:o}},p.map((e=>i().createElement(x,{key:e.action,action:e,data:t,isFirst:a,isLast:l,onActionClick:u}))))}function x(e){var{action:t,data:n,isFirst:o,isLast:a,onActionClick:l}=e,c=o&&"move-up"===t.action||a&&"move-down"===t.action,s=(0,r.useCallback)((e=>{e.preventDefault(),e.stopPropagation(),c||null==l||l({action:t.action,data:n})}),[t.action,n,c,l]),u=(0,r.useCallback)((e=>{e.preventDefault(),e.stopPropagation()}),[]);return i().createElement("a",{className:d()("action",{disabled:c}),title:t.title,role:"button",onClick:s,onContextMenu:u,onMouseDown:u},i().createElement(b,t.icon))}var w=(0,g.wrapBrick)("basic.general-link"),k=(0,g.wrapBrick)("icons.general-icon"),E=10,C="0 0 0 1px #ba6d30",S=(0,r.createContext)(!1);function L(e){var{nodes:t,placeholder:n,searchPlaceholder:o,isDrag:a,noSearch:l,allowDrag:s,allowDragToRoot:p,allowDragToInside:v,dropEmit:g}=e,[m,b]=(0,r.useState)(null),[y,x]=(0,r.useState)(a),[w,E]=(0,r.useState)(),[C,L]=(0,r.useState)(),[I,A]=(0,r.useState)(),[M,j]=(0,r.useState)(),[Z,R]=(0,r.useState)(),[D,P]=(0,r.useState)(),{nodeKey:T,onBrickDrop:B,contextMenuFactory:O,matchNode:F}=(0,u.h)(),z=(0,r.useMemo)((()=>{var e;return function(e,t){var n=(e,o,a,r)=>{var i=e.shift();if(i){e.length>0&&e.splice(0,1,"".concat(i,"/").concat(e[0]));var l=o.find((e=>e&&e.key===i&&e.isContainer));if(l)o[r]=null,n(e,l.children,a);else{var c=i.split("/"),s={name:c.pop(),key:i,parentPath:c?c.join("/"):c,originKey:a.key,data:{[t]:i,isContainer:!0},children:[],icon:{icon:"folder",lib:"antd",theme:"filled",color:"orange"},isContainer:!0};"number"==typeof r?o[r]=s:o.push(s),n(e,s.children,a)}}else o.push(a)};return e.forEach(((t,o)=>{if(t.path){var a=t.path.split("/").filter(Boolean);n(a,e,t,o)}})),e.filter(Boolean)}(null!==(e=null==t?void 0:t.slice())&&void 0!==e?e:[],T)}),[t,T]),_=(0,r.useCallback)((e=>{b(e.target.value)}),[]),K=(0,r.useMemo)((()=>null==O?void 0:O()),[O]),$=null==m?void 0:m.trim().toLowerCase(),W=(0,r.useMemo)((()=>{if(l||!$||!z)return z;var e=t=>{var n;t.matchedSelf=F(t,$);var o=null===(n=t.children)||void 0===n?void 0:n.map(e).includes(!0);return t.matched=t.matchedSelf||o,t.matched};return z.forEach(e),z.slice()}),[l,$,z,F]),H=function(e){for(var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e;n;){if(n.draggable&&(t||n!==e)&&"A"!==n.tagName)return n;n=n.parentElement}},Y=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;for(var a of e)if(a.data[n]===t&&(o=a),a.children&&(o=Y(a.children,t,n,o)),o)break;return o},V=()=>{L(null),j(null),A(null),R(null),x(!1)};return(0,r.useEffect)((()=>{x(a)}),[a]),(0,r.useEffect)((()=>(window.addEventListener("dragend",V),()=>{window.removeEventListener("dragend",V)})),[]),i().createElement("div",{style:{height:"100%"},className:"tree-wrapper",onContextMenu:K},null!=z&&z.length?i().createElement("div",null,!l&&i().createElement("div",{className:"searchBox",onContextMenu:e=>e.stopPropagation()},i().createElement("span",{className:d()("filter-input-wrapper",{focus:D})},i().createElement("span",{className:"prefix"},i().createElement(k,{icon:"search",lib:"antd",theme:"outlined"})),i().createElement("input",{value:m,onChange:_,onFocus:()=>P(!0),onBlur:()=>P(!1),autoComplete:"off",placeholder:o}),i().createElement("span",{className:"suffix"},m?i().createElement(k,{className:"clear-button",icon:"close-circle",lib:"antd",theme:"filled",onClick:()=>{b("")}}):null))),i().createElement(S.Provider,{value:!!m},i().createElement(h.Provider,{value:{allow:s,allowDragToRoot:p,dragElement:C,dragOverElement:M,dragStatus:Z,onDragStart:(e,t)=>{var n;if(e.stopPropagation(),s){var o=e.target;null!==(n=o.dataset)&&void 0!==n&&n.container||(x(!0),function(e,t){var n=document.createElement("canvas");document.body.append(n);var o=n.getContext("2d");n.width=o.measureText(t).width+60,n.height=20,n.style.position="absolute",n.style.left="-100%",n.style.zIndex="-100",o.fillStyle="#333333",o.fillRect(0,0,n.width,n.height),o.fillStyle="#999999",o.font="bold 14px Arial",o.fillText(t,20,15),e.dataTransfer.setDragImage(n,0,0)}(e,o.innerText),L(o),E(t))}}}},i().createElement("div",{className:d()({hightlight:a}),onDragOver:e=>{if(e.preventDefault(),y&&"workbenchTree-placeholder-dom"!==e.target.className){var t=(e=>{var t=H(e.target),n=t.dataset.uid;if(!(t===C||null!=n&&n.includes(":"))){var o,{top:a,bottom:r}=t.getBoundingClientRect(),i=v?5:10;return o=e.clientY<a+i?f.top:e.clientY>r-i?f.bottom:v?f.inside:Z,{element:t,node:Y(z,n,T),status:o}}})(e);!t||null!=C&&C.contains(t.element)||(j(t.element),A(t.node),R(t.status))}},onDrop:e=>{if(y){if(B){var t=M;[f.top,f.bottom].includes(Z)&&(t=H(t,!1)),B(e,{curElement:C,overElement:M,parentElement:t,overStatus:Z})}else if(p||1!==Number(M.dataset.level)){var n=I,o=(e,t)=>{for(var a=0;a<e.length;a++){if(e[a].key===t){n=e[a];break}e[a].children&&o(e[a].children,t)}},a=M.dataset.uid;o(z,a);var r=e=>{var t=!1,{container:o,uid:a}=M.dataset,i=o?n.originKey:a,l=e.filter((e=>(e.children&&(e.children=r(e.children)),e.key===i&&(t=!0),e.key!==w.key)));return t&&l.splice(l.findIndex((e=>e.key===i))+("bottom"===Z?1:0),0,w),l},i=function(e){var t=[],n=e=>{e.forEach((e=>{e.isContainer?n(e.children):t.push(c().omit(e,["path","icon"]))}))};return n(e),t}(z),l=w.isContainer?i.find((e=>e.key===w.originKey)):w;l.data.path=n.parentPath||n.path,g({nodes:r(i),curNode:l,overNode:n,status:Z})}V()}}},i().createElement(N,{nodes:W,level:1}))))):i().createElement("div",{className:"placeholder"},n))}function N(e){var{nodes:t,level:n}=e,o=t.length-1;return i().createElement("ul",{className:"tree"},t.filter((e=>(0,m.checkIfOfComputed)(e))).map(((e,t)=>i().createElement(A,{key:e.key,node:e,level:n,isFirst:0===t,isLast:t===o}))))}function I(e){var{style:t}=e,{dragStatus:n}=v(),o=(0,a.Z)({height:22,border:"1px dashed goldenrod",opacity:n===f.inside?"0":"1"},t);return i().createElement("li",{className:"workbenchTree-placeholder-dom",style:o})}function A(e){var t,n,c,{node:s,level:h,isFirst:g,isLast:m}=e,b=!(null!==(t=s.children)&&void 0!==t&&t.length),x=s.isContainer,{hoverKey:L,activeKey:A,isTransformName:M,basePaddingLeft:j,showMatchedNodeOnly:Z,fixedActionsFor:R,collapsible:D,collapsedNodes:P,nodeKey:T,clickFactory:B,mouseEnterFactory:O,mouseLeaveFactory:F,contextMenuFactory:z,onNodeToggle:_,getCollapsedId:K,skipNotify:$}=(0,u.h)(),{allow:W,allowDragToRoot:H,onDragStart:Y,dragElement:V,dragOverElement:q,dragStatus:G}=v(),{actions:J,actionsHidden:Q,onActionClick:U}=(0,p.r)(),X=h*E+j-2,ee=(0,r.useContext)(S),[te,ne]=(0,r.useState)(null),[oe,ae]=(0,r.useState)(!1),[re,ie]=(0,r.useState)(null!==(n=null==P?void 0:P.includes(null==K?void 0:K(s)))&&void 0!==n&&n),le=(0,r.useMemo)((()=>null==O?void 0:O(s)),[O,s]),ce=(0,r.useMemo)((()=>null==F?void 0:F(s)),[F,s]),se=(0,r.useCallback)((e=>{var t;e.stopPropagation(),null==z||null===(t=z(s))||void 0===t||t(e)}),[z,s]),de=A&&s.key===A,ue=(0,r.useMemo)((()=>de?e=>{var t;null==e||null===(t=e.scrollIntoView)||void 0===t||t.call(e,{block:"center",inline:"center"})}:null),[]),pe=(0,r.useMemo)((()=>{return x?s.key:s.data?"mount-point"===(e=s.data).type?e.parent[T]||"".concat(e.parent.$$uid,":").concat(e.mountPoint):e[T]||e.$$uid:void 0;var e}),[T,s,x]);(0,r.useEffect)((()=>{G!==f.inside&&[f.top,f.bottom].includes(G)&&ne(G)}),[G]);var fe=(0,r.useMemo)((()=>!!V&&V.dataset.uid===String(pe)),[V,pe]),he=(0,r.useMemo)((()=>!!q&&q.dataset.uid===String(pe)),[q,pe]),ve=(0,r.useMemo)((()=>{var e={opacity:fe?.2:1};return he&&G===f.inside&&(e={boxShadow:C,background:"rgba(255, 255, 255, 0.1)"}),Object.assign({},e)}),[he,fe,G]),ge=(0,r.useCallback)((e=>{e.preventDefault(),e.stopPropagation(),ae(!0),ie((e=>!e))}),[]),me=(0,r.useCallback)((e=>{e.preventDefault(),e.stopPropagation()}),[]),be=(0,r.useCallback)((e=>{var t;if(!x)return null==B||null===(t=B(s))||void 0===t?void 0:t();ge(e)}),[B,ge,x,s]);(0,r.useEffect)((()=>{oe&&(null==_||_(null==K?void 0:K(s),re))}),[oe,re,K,s,_]);var ye=D&&!b&&!ee;return ee&&Z&&!s.matched?null:i().createElement(i().Fragment,null,he&&(H||1!==h)&&te===f.top&&i().createElement(I,{style:{marginLeft:X}}),i().createElement("li",(0,o.Z)({draggable:W,onDragStart:e=>Y(e,s),"data-uid":pe,"data-level":h,style:ve},x?{"data-container":x}:{}),i().createElement(w,(0,o.Z)({tabIndex:0,onMouseEnter:le,onMouseLeave:ce,onContextMenu:se,onClick:be},$?{url:{pathname:(0,l.get)(s.link,"url","href"),state:{notify:!1}}}:(0,a.Z)({},(0,l.pick)(s.link,["url","href"]))),i().createElement("span",{className:d()("nodeLabelRow",{active:de,hover:L&&s.key===L,matched:ee&&s.matchedSelf&&!Z,fixedActions:R&&[].concat(R).some((e=>(0,l.isMatch)(s.data,e))),collapsed:ye&&re,collapsible:ye})},i().createElement("span",{className:d()("nodeLabel",{unreachable:s.unreachable}),style:{paddingLeft:X,color:s.labelColor},ref:ue},i().createElement("span",{className:"nodeIconWrapper"},ye&&i().createElement("span",{className:"collapseIcon",onClick:ge,onMouseDown:me,title:re?"Expand":"Collapse",role:"button"},i().createElement(k,{lib:"antd",theme:"outlined",icon:re?"right":"down"})),i().createElement("span",{className:"nodeIcon"},i().createElement(k,(0,o.Z)({},s.icon,{style:{fontSize:null!==(c=s.icon)&&void 0!==c&&c.imgSrc?14:null}})))),i().createElement("span",{className:"nodeName"},s.name)),i().createElement(y,{className:"nodeActionsBar",data:s.data,isFirst:g,isLast:m,actions:J,onActionClick:U,actionsHidden:Q}),s.badge&&i().createElement("span",{className:"badge"},i().createElement(k,s.badge)))),b||i().createElement(N,{nodes:s.children,level:h+1})),he&&(H||1!==h)&&te===f.bottom&&i().createElement(I,{style:{marginLeft:X}}))}},3321:(e,t,n)=>{"use strict";n.d(t,{f:()=>a,h:()=>r});var o=n(8657),a=(0,o.createContext)({});function r(){return(0,o.useContext)(a)}},8401:(e,t,n)=>{"use strict";function o(e,t){switch(typeof e){case"string":return e.toLowerCase().includes(t);case"boolean":case"number":return String(e).includes(t);case"object":return null===e?"null".includes(t):(Array.isArray(e)?e:Object.entries(e).flat()).some((e=>o(e,t)));default:return!1}}n.d(t,{$:()=>o})},2779:(e,t)=>{var n;!function(){"use strict";var o={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r=typeof n;if("string"===r||"number"===r)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===r){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var l in n)o.call(n,l)&&n[l]&&e.push(l)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},1674:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(9601),a=n.n(o),r=n(2609),i=n.n(r)()(a());i.push([e.id,".actionsBar{display:flex;align-items:center;padding:0 3px}.action{display:flex;justify-content:center;align-items:center;width:20px;height:20px;border-radius:5px}.action:hover{color:#fff;background-color:rgba(90,93,94,0.31)}.action{color:#c5c5c5}.disabled,\n.disabled:hover{color:var(--color-disabled-text);cursor:not-allowed;background-color:initial}",""]);const l=i.toString()},89:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(9601),a=n.n(o),r=n(2609),i=n.n(r)()(a());i.push([e.id,':host-context(html[data-theme="light"]),\n:host-context(html[data-override-theme="light"]){--search-box-background:#fff;--node-color:#595959;--node-color-focus:#595959;--node-background-active:#e0eeff;--node-background-focus:#e0eeff;--node-icon-background-hover:#fff}:host-context(html[data-theme="dark-v2"]),\n:host-context(html[data-override-theme="dark-v2"]){--search-box-background:#181818;--node-color:#c5c5c5;--node-color-focus:#fff;--node-background-active:rgba(255,255,255,0.08);--node-background-focus:#1a7aff;--node-icon-background-hover:rgba(90,93,94,0.31)}.searchBox{position:-webkit-sticky;position:sticky;top:0;background-color:var(--search-box-background);padding:5px 10px 10px;z-index:1}.searchBox .filter-input-wrapper{background-color:var(--search-box-background);border:1px solid rgba(255,255,255,0.2);position:relative;width:100%;min-width:0;padding:2px 7px;color:var(--antd-input-color);font-size:14px;line-height:1.5715;display:inline-flex;border-radius:3px;transition:all 0.3s;box-sizing:border-box}.searchBox .filter-input-wrapper.focus{background-color:var(--search-box-background);border:1px solid rgba(255,255,255,0.2);border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(0,113,235,0.2)}.searchBox .filter-input-wrapper input{text-overflow:ellipsis;border:none;outline:none;border-radius:3px;background-color:var(--search-box-background);box-sizing:border-box;margin:0;padding:0;color:var(--antd-text-color);font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;width:100%;min-width:0;color:var(--antd-input-color);font-size:14px;line-height:1.5715;background-image:none;transition:all 0.3s}.prefix{margin-right:4px}.suffix{margin-left:4px}.searchBox .prefix,\n.searchBox .suffix{display:flex;flex:none;align-items:center}.clear-button{cursor:pointer}.tree{list-style:none;margin:0;padding:0}.placeholder{color:var(--antd-input-placeholder-color);padding:0 15px}.nodeLabelRow{display:flex;cursor:pointer;height:22px;padding-right:10px}.nodeLabelRow:hover,\n.nodeLabelRow.hover{background-color:rgba(255,255,255,0.12)}.nodeLabelRow:focus{outline-width:1px;outline-style:solid;outline-offset:-1px;outline-color:var(--node-background-focus)}.nodeLabelRow.active:focus{background-color:var(--node-background-focus)}.nodeLabel{display:flex;align-items:center;min-width:0;flex:1}.unreachable{opacity:0.3}.nodeAction,\n.nodeAction:hover,\n.nodeLabelRow .nodeLabel{color:var(--node-color)}.nodeLabelRow:focus .nodeLabel{color:var(--node-color-focus)}.nodeLabelRow.matched .nodeLabel{color:var(--palette-orange-6)}.nodeLabelRow.active{background-color:var(--node-background-active)}.nodeIconWrapper{display:flex;width:24px;flex-shrink:0}.nodeIcon,\n.collapseIcon{display:flex;justify-content:center;align-items:center;width:20px;height:20px;border-radius:5px;font-size:13px}.collapseIcon{display:none}.nodeLabelRow.collapsed .nodeIcon,\n.nodeLabelRow.collapsible .nodeIconWrapper:hover .nodeIcon{display:none}.nodeLabelRow.collapsed .collapseIcon,\n.nodeLabelRow.collapsible .nodeIconWrapper:hover .collapseIcon{display:flex}.nodeLabelRow.collapsible .nodeIcon:hover,\n.nodeLabelRow.collapsible .collapseIcon:hover{background-color:var(--node-icon-background-hover)}.nodeName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nodeLabelRow:not(:hover, .fixedActions) .nodeActionsBar{display:none}.badge{margin:0 3px}.collapsed + .tree{display:none}.hightlight{outline-width:1px;outline-style:solid;outline-offset:-1px;outline-color:#fcd93f}',""]);const l=i.toString()},2609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,a,r){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(o)for(var l=0;l<this.length;l++){var c=this[l][0];null!=c&&(i[c]=!0)}for(var s=0;s<e.length;s++){var d=[].concat(e[s]);o&&i[d[0]]||(void 0!==r&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=r),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),a&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=a):d[4]="".concat(a)),t.push(d))}},t}},9601:e=>{"use strict";e.exports=function(e){return e[1]}},5066:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(6522),a=n(1815);function r(e,t,n){"symbol"==(0,o.Z)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var i=n(5850);function l(e,t,n,l,c,s){function d(e,t,n){return function(o,a){return n&&n(o),e[t].call(o,a)}}function u(e,t){for(var n=0;n<e.length;n++)e[n].call(t);return t}function p(e,t,n,o){if("function"!=typeof e&&(o||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(o?"":" or undefined"));return e}function f(e,t,n,a,i,l,c,s,u,f,h,v,g){function m(e){if(!g(e))throw new TypeError("Attempted to access private element on non-instance")}var b,y,x=t[0],w=t[3],k=!s;if(!k){n||Array.isArray(x)||(x=[x]);var E={},C=[],S=3===i?"get":4===i||v?"set":"value";f?(h||v?E={get:r((function(){return w(this)}),a,"get"),set:function(e){t[4](this,e)}}:E[S]=w,h||r(E[S],a,2===i?"":S)):h||(E=Object.getOwnPropertyDescriptor(e,a))}for(var L=x.length-1;L>=0;L-=n?2:1){var N=x[L],I=n?x[L-1]:void 0,A={},M={kind:["field","accessor","method","getter","setter","field","class"][i],name:a,metadata:l,addInitializer:function(e,t){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished");p(t,"An initializer","be",!0),c.push(t)}.bind(null,A)};try{if(k)y=N.call(I,e,M);else{var j,Z;M.static=u,M.private=f,f||!h&&2!==i?2===i?j=function(e){return m(e),E.value}:((i<2||3===i)&&(j=d(E,"get",f&&m)),(i<2||4===i)&&(Z=d(E,"set",f&&m))):(j=function(e){return e[a]},h&&(Z=function(e,t){e[a]=t}));var R=M.access={has:f?g.bind():function(e){return a in e}};if(j&&(R.get=j),Z&&(R.set=Z),y=N.call(I,v?{get:E.get,set:E.set}:E[S],M),v){if("object"==(0,o.Z)(y)&&y)(b=p(y.get,"accessor.get"))&&(E.get=b),(b=p(y.set,"accessor.set"))&&(E.set=b),(b=p(y.init,"accessor.init"))&&C.push(b);else if(void 0!==y)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0")}else p(y,(h?"field":"method")+" decorators","return")&&(h?C.push(y):E[S]=y)}}finally{A.v=!0}}return(h||v)&&s.push((function(e,t){for(var n=C.length-1;n>=0;n--)t=C[n].call(e,t);return t})),h||k||(f?v?s.push(d(E,"get"),d(E,"set")):s.push(2===i?E[S]:d.call.bind(E[S])):Object.defineProperty(e,a,E)),y}function h(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var v=s[Symbol.metadata||Symbol.for("Symbol.metadata")];var g=Object.create(null==v?null:v),m=function(e,t,n,o){var r,l,c=[],s=function(t){return(0,a.Z)(t)===e},d=new Map;function p(e){e&&c.push(u.bind(null,e))}for(var h=0;h<t.length;h++){var v=t[h];if(Array.isArray(v)){var g=v[1],m=v[2],b=v.length>3,y=16&g,x=!!(8&g),w=0==(g&=7),k=m+"/"+x;if(!w&&!b){var E=d.get(k);if(!0===E||3===E&&4!==g||4===E&&3!==g)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+m);d.set(k,!(g>2)||g)}f(x?e:e.prototype,v,y,b?"#"+m:(0,i.Z)(m),g,o,x?l=l||[]:r=r||[],c,x,b,w,1===g,x&&b?s:n)}}return p(r),p(l),c}(e,t,c,g);return n.length||h(e,g),{e:m,get c(){var t=[];return n.length&&[h(p(f(e,[n],l,e.name,5,g,t),"class decorators","return")||e,g),u.bind(null,t,e)]}}}},1815:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(6522);function a(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,o.Z)(e):"null"));return e}},5863:(e,t,n)=>{"use strict";function o(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{Z:()=>o})},175:(e,t,n)=>{"use strict";function o(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}n.d(t,{Z:()=>o})},687:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(175);function a(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,(0,o.Z)(e,t,"get"))}},3395:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(5863);function a(e,t,n){(0,o.Z)(e,t),t.set(e,n)}},381:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(175);function a(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,(0,o.Z)(e,t,"set"),n),n}},7896:(e,t,n)=>{"use strict";function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},o.apply(this,arguments)}n.d(t,{Z:()=>o})}}]);
3
- //# sourceMappingURL=3636.da9eea0d.js.map
@@ -1,3 +0,0 @@
1
- /*! For license information please see 4231.00b80023.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_next_bricks_visual_builder=self.webpackChunk_next_bricks_visual_builder||[]).push([[4231],{4231:(e,t,a)=>{a.r(t);var n,i,o,r,l,c,s,d,h,p,u,b,E,v,m,g,L,f,w,k=a(3395),N=a(1815),Z=a(381),O=a(687),R=a(5066),I=a(8657),y=a.n(I),A=a(7844),T=a(8835),x=a(8249),_=a(8453),M=a(2779),D=a.n(M),P=(0,T.wrapBrick)("icons.general-icon"),{defineElement:U,property:C,event:F}=(0,A.createDecorators)();i=U("visual-builder.workbench-pane",{styleTexts:[x.Z,_.Z]}),o=C(),l=C({type:Boolean}),s=C({type:Number}),h=F({type:"active.change"}),E=F({type:"active.firstActivated"});var W=new WeakMap,S=new WeakMap,B=new WeakMap,K=new WeakMap,j=new WeakMap,z=new WeakMap,G=new WeakMap,H=new WeakMap,V=new WeakMap;class Y extends T.ReactNextElement{constructor(){super(...arguments),(0,k.Z)(this,H,{get:X,set:q}),(0,k.Z)(this,j,{get:$,set:J}),(0,k.Z)(this,W,{writable:!0,value:(L(this),r(this))}),(0,k.Z)(this,S,{writable:!0,value:c(this)}),(0,k.Z)(this,B,{writable:!0,value:d(this)}),(0,k.Z)(this,K,{writable:!0,value:p(this)}),(0,k.Z)(this,z,{writable:!0,value:e=>{e!==this.active&&(this.active=e,(0,O.Z)(this,j).emit(e))}}),(0,k.Z)(this,G,{writable:!0,value:v(this)}),(0,k.Z)(this,V,{writable:!0,value:()=>{(0,O.Z)(this,H).emit()}})}get titleLabel(){return(0,O.Z)(this,W)}set titleLabel(e){(0,Z.Z)(this,W,e)}get active(){return(0,O.Z)(this,S)}set active(e){(0,Z.Z)(this,S,e)}get badge(){return(0,O.Z)(this,B)}set badge(e){(0,Z.Z)(this,B,e)}render(){return y().createElement(Q,{titleLabel:this.titleLabel,active:this.active,badge:this.badge,onActiveChange:(0,O.Z)(this,z),onFirstActivated:(0,O.Z)(this,V)})}}function J(e){b(this,e)}function $(){return u(this)}function q(e){g(this,e)}function X(){return m(this)}function Q(e){var{titleLabel:t,active:a,badge:n,onActiveChange:i,onFirstActivated:o}=e,[r,l]=(0,I.useState)(a),[c,s]=(0,I.useState)(!1);(0,I.useEffect)((()=>{l(a)}),[a]),(0,I.useEffect)((()=>{null==i||i(r)}),[r,i]);var d=(0,I.useCallback)((()=>{l((e=>!e)),c||r||(s(!0),null==o||o())}),[c,r,o]),h=(0,I.useRef)(),[p,u]=(0,I.useState)(!1),b=(0,I.useMemo)((()=>{return e=()=>{u(h.current.scrollTop>0)},n=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];t&&a(),t=requestAnimationFrame((()=>{e(...i)}))},n.cancel=a=()=>cancelAnimationFrame(t),n;var e,t,a,n}),[]);return y().createElement("div",{className:D()("pane",{scrolled:p})},y().createElement("div",{className:"pane-header",tabIndex:0,onClick:d},y().createElement("div",{className:"pane-title"},y().createElement("span",{className:"title-icon"},r?y().createElement(P,{lib:"antd",theme:"outlined",icon:"down"}):y().createElement(P,{lib:"antd",theme:"outlined",icon:"right"})),y().createElement("div",{className:"title-label"},t),y().createElement("slot",{name:"title"})),y().createElement("slot",{name:"actions"}),n&&y().createElement("div",{className:"badge"},n),y().createElement("div",{className:"pane-scroll-shadow"})),y().createElement("div",{className:"pane-body custom-scrollbar-container",onScroll:b,ref:h},y().createElement("slot",null,y().createElement("div",{style:{padding:"10px 20px",color:"var(--text-color-secondary)"}},"No content"))))}f=Y,({e:[r,c,d,p,u,b,v,m,g,L],c:[w,n]}=(0,R.Z)(f,[[o,1,"titleLabel"],[l,1,"active"],[s,1,"badge"],[h,1,"activeChangeEvent",e=>(0,O.Z)(e,K),(e,t)=>(0,Z.Z)(e,K,t)],[E,1,"activeFirstActivatedEvent",e=>(0,O.Z)(e,G),(e,t)=>(0,Z.Z)(e,G,t)]],[i],0,(e=>V.has((0,N.Z)(e))),T.ReactNextElement)),n();var ee,te,ae,ne,ie,oe,re,le=a(6666),ce=a(3571),{defineElement:se,property:de}=(0,A.createDecorators)();te=se("visual-builder.workbench-sidebar",{styleTexts:[ce.Z]}),ae=de();var he=new WeakMap,pe=new WeakMap,ue=new WeakMap,be=new WeakMap;class Ee extends T.ReactNextElement{constructor(){super(...arguments),(0,k.Z)(this,he,{writable:!0,value:(ie(this),ne(this))}),(0,k.Z)(this,pe,{writable:!0,value:()=>{var e;return null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector("slot:not([name])")}}),(0,k.Z)(this,ue,{writable:!0,value:()=>{var e=(0,O.Z)(this,pe).call(this).assignedNodes();for(var t of e){var a;t.active?t.style.flex=String(null!==(a=t.activeFlex)&&void 0!==a?a:"1"):t.style.flex="initial"}}}),(0,k.Z)(this,be,{writable:!0,value:e=>{var t=e.target.assignedNodes();for(var a of t)a.addEventListener("active.change",(0,O.Z)(this,ue))}}),(0,le.Z)(this,"refCallback",(()=>{(0,O.Z)(this,ue).call(this);var e=(0,O.Z)(this,pe).call(this);null==e||e.addEventListener("slotchange",(e=>{(0,O.Z)(this,be).call(this,e)}))}))}get titleLabel(){return(0,O.Z)(this,he)}set titleLabel(e){(0,Z.Z)(this,he,e)}render(){return y().createElement(ve,{titleLabel:this.titleLabel,refCallback:this.refCallback})}}function ve(e){var{titleLabel:t,refCallback:a}=e;return y().createElement("div",{className:"sidebar",ref:a},y().createElement("div",{className:"title-container"},y().createElement("div",{className:"title-label"},t),y().createElement("slot",{name:"titleToolbar"})),y().createElement("div",{className:"pane-container"},y().createElement("slot",null)))}oe=Ee,({e:[ne,ie],c:[re,ee]}=(0,R.Z)(oe,[[ae,1,"titleLabel"]],[te],0,void 0,T.ReactNextElement)),ee();var me,ge,Le,fe,we,ke,Ne,Ze,Oe,Re,Ie,ye,Ae,Te,xe,_e=a(7310),{defineElement:Me,property:De}=(0,A.createDecorators)(),Pe=(0,T.wrapBrick)("basic.general-link"),Ue=(0,T.wrapBrick)("icons.general-icon");ge=Me("visual-builder.workbench-action",{styleTexts:[_e.Z]}),Le=De({attribute:!1}),we=De(),Ne=De({type:Boolean}),Oe=De(),Ie=De();var Ce=new WeakMap,Fe=new WeakMap,We=new WeakMap,Se=new WeakMap,Be=new WeakMap;class Ke extends T.ReactNextElement{constructor(){super(...arguments),(0,k.Z)(this,Ce,{writable:!0,value:(Ae(this),fe(this))}),(0,k.Z)(this,Fe,{writable:!0,value:ke(this)}),(0,k.Z)(this,We,{writable:!0,value:Ze(this)}),(0,k.Z)(this,Se,{writable:!0,value:Re(this)}),(0,k.Z)(this,Be,{writable:!0,value:ye(this)})}get icon(){return(0,O.Z)(this,Ce)}set icon(e){(0,Z.Z)(this,Ce,e)}get to(){return(0,O.Z)(this,Fe)}set to(e){(0,Z.Z)(this,Fe,e)}get active(){return(0,O.Z)(this,We)}set active(e){(0,Z.Z)(this,We,e)}get href(){return(0,O.Z)(this,Se)}set href(e){(0,Z.Z)(this,Se,e)}get target(){return(0,O.Z)(this,Be)}set target(e){(0,Z.Z)(this,Be,e)}render(){return y().createElement(je,{to:this.to,icon:this.icon,active:this.active,href:this.href,target:this.target})}}function je(e){var{icon:t,to:a,active:n,href:i,target:o}=e;return y().createElement(Pe,{className:D()("action",{active:n}),url:a,href:i,target:o},y().createElement(Ue,t))}Te=Ke,({e:[fe,ke,Ze,Re,ye,Ae],c:[xe,me]}=(0,R.Z)(Te,[[Le,1,"icon"],[we,1,"to"],[Ne,1,"active"],[Oe,1,"href"],[Ie,1,"target"]],[ge],0,void 0,T.ReactNextElement)),me();var ze=a(6594),Ge=a(8353);function He(e,t,a,n){var i=[],o=[],r=[],l=0;return e.forEach((e=>{if(e.key=""===n?"".concat(l):"".concat(n,".").concat(l),function(e){return"group"===e.type}(e)||function(e,t){return Boolean("subMenu"===e.type||void 0)}(e)){var c=He(e.items,t,a,e.key);i.push(...c.selectedKeys),(c.selectedKeys.length||e.defaultExpanded)&&o.push(e.key),o.push(...c.openedKeys),r.push(...c.matchedKeys)}else if(function(e,t,a){if(!e.to)return!1;var n="object"==typeof e.to?e.to:(0,Ge.parsePath)(e.to),i=n.pathname.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),o=!!(0,ze.matchPath)(t,{path:i,exact:e.exact});if(!o&&Array.isArray(e.activeIncludes))for(var r of e.activeIncludes){var l,c=void 0,s=r.includes("?");if(s&&(c=(0,Ge.parsePath)(r)),(o=!!(0,ze.matchPath)(t,{path:s?c.pathname:r,exact:!0}))&&null!==(l=c)&&void 0!==l&&l.search&&(o=Ve(a,c.search)),o)break}if(o&&Array.isArray(e.activeExcludes))for(var d of e.activeExcludes)if(!(o=!(0,ze.matchPath)(t,{path:d,exact:!0})))break;return o&&e.activeMatchSearch&&(o=Ve(a,n.search)),o}(e,t,a)){i.push(String(e.key));for(var s=e.key.split("."),d=0;d<s.length;d++)r.push(s.slice(0,d+1).join("."))}l+=1})),i.length&&""!==n&&o.push(n),{selectedKeys:i,openedKeys:o,matchedKeys:r}}function Ve(e,t){var a=new URLSearchParams(e),n=new URLSearchParams(t);for(var[i,o]of n.entries())if(a.get(i)!==o)return!1;return!0}var Ye,Je,$e,qe,Xe,Qe,et,tt,at,nt=a(8799),it=(0,T.wrapBrick)("visual-builder.workbench-action"),{defineElement:ot,property:rt}=(0,A.createDecorators)();Je=ot("visual-builder.workbench-action-list",{styleTexts:[nt.Z]}),$e=rt(),Xe=rt({attribute:!1});var lt,ct=new WeakMap,st=new WeakMap;class dt extends T.ReactNextElement{constructor(){super(...arguments),(0,k.Z)(this,ct,{writable:!0,value:(et(this),qe(this))}),(0,k.Z)(this,st,{writable:!0,value:Qe(this)})}get appId(){return(0,O.Z)(this,ct)}set appId(e){(0,Z.Z)(this,ct,e)}get menu(){return(0,O.Z)(this,st)}set menu(e){(0,Z.Z)(this,st,e)}render(){return y().createElement(pt,{appId:this.appId,menu:this.menu})}}tt=dt,({e:[qe,Qe,et],c:[at,Ye]}=(0,R.Z)(tt,[[$e,1,"appId"],[Xe,1,"menu"]],[Je],0,void 0,T.ReactNextElement)),Ye();var ht=new Map;function pt(e){var t,{appId:a,menu:n}=e,i=(0,ze.getHistory)(),[o,r]=(0,I.useState)(),[l,c]=(0,I.useState)(i.location);return(0,I.useEffect)((()=>{var e=i.listen((e=>{c(e)}));return e}),[i]),(0,I.useEffect)((()=>{lt||(lt=a),lt!==a&&(ht.clear(),lt=a)}),[a]),(0,I.useEffect)((()=>{var e,{pathname:t,search:a}=l,{selectedKeys:i}=He(null!==(e=null==n?void 0:n.menuItems)&&void 0!==e?e:[],t,a,"");r(Number(i[0]))}),[n,l]),y().createElement("div",{className:"workBenchActionList"},null==n||null===(t=n.menuItems)||void 0===t?void 0:t.map(((e,t)=>{if((e=>"default"===e.type||!e.type)(e)){var a=e.to;return o!==t&&ht.has(t)&&(a=ht.get(t)),y().createElement(it,{key:t,icon:e.icon,to:a,href:e.href,target:e.target,active:o===t,onClick:()=>(e=>{e.href||ht.set(o,"".concat(l.pathname).concat(l.search))})(e)})}})).filter(Boolean))}var ut,bt,Et,vt,mt,gt,Lt,ft,wt,kt,Nt,Zt,Ot,Rt,It,yt,At,Tt,xt,_t,Mt,Dt,Pt,Ut,Ct,Ft,Wt,St,Bt,Kt,jt,zt,Gt,Ht,Vt,Yt,Jt,$t,qt,Xt,Qt,ea,ta,aa,na,ia,oa,ra,la,ca,sa,da,ha,pa,ua,ba,Ea,va,ma,ga,La=a(5178),fa=a(8486),wa=a(1732),ka=a(3321),Na=a(8401),Za=a(89),Oa=a(1674);function Ra(e){return e.key}a(2006);var Ia,{defineElement:ya,property:Aa,event:Ta}=(0,A.createDecorators)();bt=ya("visual-builder.workbench-tree",{styleTexts:[Za.Z,Oa.Z]}),Et=Aa({attribute:!1}),mt=Aa({attribute:!1}),Lt=Aa({type:Boolean}),wt=Aa(),Nt=Aa({type:Boolean}),Ot=Aa(),It=Aa({type:Boolean}),At=Aa({attribute:!1}),xt=Aa({type:Boolean}),Mt=Aa({attribute:!1}),Pt=Aa({attribute:!1}),Ct=Aa({type:Boolean}),Wt=Aa({attribute:!1}),Bt=Aa({type:Boolean}),jt=Aa({type:Boolean}),Gt=Aa({type:Boolean}),Vt=Aa({type:String}),Jt=Aa({type:Boolean}),qt=Ta({type:"action.click"}),ta=Ta({type:"node.click"}),oa=Ta({type:"node.drop"}),sa=Ta({type:"context.menu"}),ua=Ta({type:"node.toggle"});var xa=new WeakMap,_a=new WeakMap,Ma=new WeakMap,Da=new WeakMap,Pa=new WeakMap,Ua=new WeakMap,Ca=new WeakMap,Fa=new WeakMap,Wa=new WeakMap,Sa=new WeakMap,Ba=new WeakMap,Ka=new WeakMap,ja=new WeakMap,za=new WeakMap,Ga=new WeakMap,Ha=new WeakMap,Va=new WeakMap,Ya=new WeakMap,Ja=new WeakMap,$a=new WeakMap,qa=new WeakMap,Xa=new WeakMap,Qa=new WeakMap,en=new WeakMap,tn=new WeakMap,an=new WeakMap,nn=new WeakMap,on=new WeakMap,rn=new WeakMap,ln=new WeakMap,cn=new WeakMap,sn=new WeakMap,dn=new WeakMap;class hn extends T.ReactNextElement{constructor(){super(...arguments),(0,k.Z)(this,sn,{get:wn,set:fn}),(0,k.Z)(this,rn,{get:Ln,set:gn}),(0,k.Z)(this,an,{get:mn,set:vn}),(0,k.Z)(this,Qa,{get:En,set:bn}),(0,k.Z)(this,$a,{get:un,set:pn}),(0,k.Z)(this,xa,{writable:!0,value:(ma(this),vt(this))}),(0,k.Z)(this,_a,{writable:!0,value:gt(this)}),(0,k.Z)(this,Ma,{writable:!0,value:ft(this)}),(0,k.Z)(this,Da,{writable:!0,value:kt(this)}),(0,k.Z)(this,Pa,{writable:!0,value:Zt(this)}),(0,k.Z)(this,Ua,{writable:!0,value:Rt(this)}),(0,k.Z)(this,Ca,{writable:!0,value:yt(this)}),(0,k.Z)(this,Fa,{writable:!0,value:Tt(this)}),(0,k.Z)(this,Wa,{writable:!0,value:_t(this)}),(0,k.Z)(this,Sa,{writable:!0,value:Dt(this)}),(0,k.Z)(this,Ba,{writable:!0,value:Ut(this)}),(0,k.Z)(this,Ka,{writable:!0,value:Ft(this)}),(0,k.Z)(this,ja,{writable:!0,value:St(this)}),(0,k.Z)(this,za,{writable:!0,value:Kt(this)}),(0,k.Z)(this,Ga,{writable:!0,value:zt(this)}),(0,k.Z)(this,Ha,{writable:!0,value:Ht(this)}),(0,k.Z)(this,Va,{writable:!0,value:Yt(this)}),(0,k.Z)(this,Ya,{writable:!0,value:$t(this)}),(0,k.Z)(this,Ja,{writable:!0,value:Xt(this)}),(0,k.Z)(this,qa,{writable:!0,value:e=>{(0,O.Z)(this,$a).emit(e)}}),(0,k.Z)(this,Xa,{writable:!0,value:aa(this)}),(0,k.Z)(this,en,{writable:!0,value:e=>()=>{(0,O.Z)(this,Qa).emit(e.data)}}),(0,k.Z)(this,tn,{writable:!0,value:ra(this)}),(0,k.Z)(this,nn,{writable:!0,value:e=>{(0,O.Z)(this,an).emit(e)}}),(0,k.Z)(this,on,{writable:!0,value:da(this)}),(0,k.Z)(this,ln,{writable:!0,value:e=>t=>{t.preventDefault(),(0,O.Z)(this,rn).emit({active:!0,node:null==e?void 0:e.data,x:t.clientX,y:t.clientY})}}),(0,k.Z)(this,cn,{writable:!0,value:ba(this)}),(0,k.Z)(this,dn,{writable:!0,value:(e,t)=>{(0,O.Z)(this,sn).emit({nodeId:e,collapsed:t})}})}get nodes(){return(0,O.Z)(this,xa)}set nodes(e){(0,Z.Z)(this,xa,e)}get actions(){return(0,O.Z)(this,_a)}set actions(e){(0,Z.Z)(this,_a,e)}get actionsHidden(){return(0,O.Z)(this,Ma)}set actionsHidden(e){(0,Z.Z)(this,Ma,e)}get placeholder(){return(0,O.Z)(this,Da)}set placeholder(e){(0,Z.Z)(this,Da,e)}get isTransformName(){return(0,O.Z)(this,Pa)}set isTransformName(e){(0,Z.Z)(this,Pa,e)}get searchPlaceholder(){return(0,O.Z)(this,Ua)}set searchPlaceholder(e){(0,Z.Z)(this,Ua,e)}get noSearch(){return(0,O.Z)(this,Ca)}set noSearch(e){(0,Z.Z)(this,Ca,e)}get activeKey(){return(0,O.Z)(this,Fa)}set activeKey(e){(0,Z.Z)(this,Fa,e)}get showMatchedNodeOnly(){return(0,O.Z)(this,Wa)}set showMatchedNodeOnly(e){(0,Z.Z)(this,Wa,e)}get matchNodeDataFields(){return(0,O.Z)(this,Sa)}set matchNodeDataFields(e){(0,Z.Z)(this,Sa,e)}get fixedActionsFor(){return(0,O.Z)(this,Ba)}set fixedActionsFor(e){(0,Z.Z)(this,Ba,e)}get collapsible(){return(0,O.Z)(this,Ka)}set collapsible(e){(0,Z.Z)(this,Ka,e)}get collapsedNodes(){return(0,O.Z)(this,ja)}set collapsedNodes(e){(0,Z.Z)(this,ja,e)}get allowDrag(){return(0,O.Z)(this,za)}set allowDrag(e){(0,Z.Z)(this,za,e)}get allowDragToRoot(){return(0,O.Z)(this,Ga)}set allowDragToRoot(e){(0,Z.Z)(this,Ga,e)}get allowDragToInside(){return(0,O.Z)(this,Ha)}set allowDragToInside(e){(0,Z.Z)(this,Ha,e)}get nodeKey(){return(0,O.Z)(this,Va)}set nodeKey(e){(0,Z.Z)(this,Va,e)}get skipNotify(){return(0,O.Z)(this,Ya)}set skipNotify(e){(0,Z.Z)(this,Ya,e)}render(){return y().createElement(fa.L.Provider,{value:{actions:this.actions,actionsHidden:this.actionsHidden,onActionClick:(0,O.Z)(this,qa)}},y().createElement(ka.f.Provider,{value:{activeKey:this.activeKey,basePaddingLeft:5,showMatchedNodeOnly:this.showMatchedNodeOnly,isTransformName:this.isTransformName,fixedActionsFor:this.fixedActionsFor,nodeKey:this.nodeKey,collapsible:this.collapsible,collapsedNodes:this.collapsedNodes,getCollapsedId:Ra,onNodeToggle:(0,O.Z)(this,dn),skipNotify:this.skipNotify,clickFactory:(0,O.Z)(this,en),contextMenuFactory:(0,O.Z)(this,ln),matchNode:(e,t)=>{var a;return(0,Na.$)(e.name,t)||!(null===(a=this.matchNodeDataFields)||void 0===a||!a.length)&&(0,Na.$)("*"===this.matchNodeDataFields?e.data:(0,La.pick)(e.data,this.matchNodeDataFields),t)}}},y().createElement(wa.ME,{nodes:this.nodes,placeholder:this.placeholder,searchPlaceholder:this.searchPlaceholder,noSearch:this.noSearch,dropEmit:(0,O.Z)(this,nn),allowDrag:this.allowDrag,allowDragToInside:this.allowDragToInside,allowDragToRoot:this.allowDragToRoot})))}}function pn(e){ea(this,e)}function un(){return Qt(this)}function bn(e){ia(this,e)}function En(){return na(this)}function vn(e){ca(this,e)}function mn(){return la(this)}function gn(e){pa(this,e)}function Ln(){return ha(this)}function fn(e){va(this,e)}function wn(){return Ea(this)}ga=hn,({e:[vt,gt,ft,kt,Zt,Rt,yt,Tt,_t,Dt,Ut,Ft,St,Kt,zt,Ht,Yt,$t,Xt,Qt,ea,aa,na,ia,ra,la,ca,da,ha,pa,ba,Ea,va,ma],c:[Ia,ut]}=(0,R.Z)(ga,[[Et,1,"nodes"],[mt,1,"actions"],[Lt,1,"actionsHidden"],[wt,1,"placeholder"],[Nt,1,"isTransformName"],[Ot,1,"searchPlaceholder"],[It,1,"noSearch"],[At,1,"activeKey"],[xt,1,"showMatchedNodeOnly"],[Mt,1,"matchNodeDataFields"],[Pt,1,"fixedActionsFor"],[Ct,1,"collapsible"],[Wt,1,"collapsedNodes"],[Bt,1,"allowDrag"],[jt,1,"allowDragToRoot"],[Gt,1,"allowDragToInside"],[Vt,1,"nodeKey"],[Jt,1,"skipNotify"],[qt,1,"actionClickEvent",e=>(0,O.Z)(e,Ja),(e,t)=>(0,Z.Z)(e,Ja,t)],[ta,1,"nodeClickEvent",e=>(0,O.Z)(e,Xa),(e,t)=>(0,Z.Z)(e,Xa,t)],[oa,1,"nodeDropEvent",e=>(0,O.Z)(e,tn),(e,t)=>(0,Z.Z)(e,tn,t)],[sa,1,"nodeContextMenuEvent",e=>(0,O.Z)(e,on),(e,t)=>(0,Z.Z)(e,on,t)],[ua,1,"nodeToggleEvent",e=>(0,O.Z)(e,cn),(e,t)=>(0,Z.Z)(e,cn,t)]],[bt],0,(e=>dn.has((0,N.Z)(e))),T.ReactNextElement)),ut();var kn=a(394),Nn=a(2907);a(894),customElements.define("visual-builder.inject-preview-agent",(0,kn.createProviderClass)((function(e,t){return(0,Nn.Z)(e,t)})));var Zn,On,Rn,In,yn,An,Tn,xn,_n,Mn,Dn,Pn,Un,Cn,Fn,Wn,Sn,Bn,Kn,jn,zn=a(3028),Gn=a(8874),Hn=a.n(Gn),Vn=a(6094),Yn=a(7088),Jn=function(e){return e.LOAD_MORE="LOAD_MORE",e.LOADING="LOADING",e.NO_DATA="NO_DATA",e.NODE="NODE",e.ADD="ADD",e.EDIT="EDIT",e.DELETE="DELETE",e.IMPORT="IMPORT",e.CLONE="CLONE",e.APPEND_RELATION="APPEND_RELATION",e.UPDATE_RELATION="UPDATE_RELATION",e.REMOVE_RELATION="REMOVE_RELATION",e.ROLLBACK="ROLLBACK",e.ROLLBACK_ALL="ROLLBACK_ALL",e.ADD_FULL="ADD_FULL",e.EDIT_FULL="EDIT_FULL",e.DELETE_FULL="DELETE_FULL",e.IMPORT_FULL="IMPORT_FULL",e.CLONE_FULL="CLONE_FULL",e.APPEND_RELATION_FULL="APPEND_RELATION_FULL",e.UPDATE_RELATION_FULL="UPDATE_RELATION_FULL",e.REMOVE_RELATION_FULL="REMOVE_RELATION_FULL",e.ROLLBACK_FULL="ROLLBACK_FULL",e.ROLLBACK_ALL_FULL="ROLLBACK_ALL_FULL",e.PROJECT="PROJECT",e.USER="USER",e.PERMISSION="PERMISSION",e.BRICK="BRICK",e.ROUTE="ROUTE",e.TEMPLATE="TEMPLATE",e.SNIPPET="SNIPPET",e.I18N="I18N",e.IMAGE="IMAGE",e.FUNCTION="FUNCTION",e.MENU="MENU",e.MENU_ITEM="MENU_ITEM",e.WORKFLOW="WORKFLOW",e}({}),$n="bricks/visual-builder/workbench-history-action",qn=a(4795),Xn=a(6698),Qn=function(){var e=(0,qn.Z)((function*(e,t,a){return(yield Xn.http.get("api/gateway/next_builder.workspace.GetChangeHistory/api/v1/next-builder/workspace/".concat(e,"/changes"),(0,zn.Z)((0,zn.Z)({},a),{},{params:t}))).data}));return function(t,a,n){return e.apply(this,arguments)}}(),ei=a(860),ti={add:"".concat($n,":").concat(Jn.ADD),edit:"".concat($n,":").concat(Jn.EDIT),delete:"".concat($n,":").concat(Jn.DELETE),batch_delete:"".concat($n,":").concat(Jn.DELETE),import:"".concat($n,":").concat(Jn.IMPORT),clone:"".concat($n,":").concat(Jn.CLONE),append_relation:"".concat($n,":").concat(Jn.APPEND_RELATION),update_relation:"".concat($n,":").concat(Jn.UPDATE_RELATION),remove_relation:"".concat($n,":").concat(Jn.REMOVE_RELATION),rollback:"".concat($n,":").concat(Jn.ROLLBACK),rollback_all:"".concat($n,":").concat(Jn.ROLLBACK_ALL)},ai={add:"".concat($n,":").concat(Jn.ADD_FULL),edit:"".concat($n,":").concat(Jn.EDIT_FULL),delete:"".concat($n,":").concat(Jn.DELETE_FULL),batch_delete:"".concat($n,":").concat(Jn.DELETE_FULL),import:"".concat($n,":").concat(Jn.IMPORT_FULL),clone:"".concat($n,":").concat(Jn.CLONE_FULL),append_relation:"".concat($n,":").concat(Jn.APPEND_RELATION_FULL),update_relation:"".concat($n,":").concat(Jn.UPDATE_RELATION_FULL),remove_relation:"".concat($n,":").concat(Jn.REMOVE_RELATION_FULL),rollback:"".concat($n,":").concat(Jn.ROLLBACK_FULL),rollback_all:"".concat($n,":").concat(Jn.ROLLBACK_ALL_FULL)},ni={project:"".concat($n,":").concat(Jn.PROJECT),userGroup:"".concat($n,":").concat(Jn.USER),permission:"".concat($n,":").concat(Jn.PERMISSION),brick:"".concat($n,":").concat(Jn.BRICK),route:"".concat($n,":").concat(Jn.ROUTE),template:"".concat($n,":").concat(Jn.TEMPLATE),snippet:"".concat($n,":").concat(Jn.SNIPPET),i18n:"".concat($n,":").concat(Jn.I18N),image:"".concat($n,":").concat(Jn.IMAGE),function:"".concat($n,":").concat(Jn.FUNCTION),menu:"".concat($n,":").concat(Jn.MENU),menuItem:"".concat($n,":").concat(Jn.MENU_ITEM),workflow:"".concat($n,":").concat(Jn.WORKFLOW)},ii={PROJECT_MICRO_APP:"".concat($n,":").concat(Jn.PROJECT),"MICRO_APP_USER_GROUP@EASYOPS":"".concat($n,":").concat(Jn.USER),MICRO_APP_RESOURCE_PERMISSION:"".concat($n,":").concat(Jn.PERMISSION),STORYBOARD_BRICK:"".concat($n,":").concat(Jn.BRICK),STORYBOARD_ROUTE:"".concat($n,":").concat(Jn.ROUTE),STORYBOARD_TEMPLATE:"".concat($n,":").concat(Jn.TEMPLATE),STORYBOARD_SNIPPET:"".concat($n,":").concat(Jn.SNIPPET),STORYBOARD_I18N:"".concat($n,":").concat(Jn.I18N),MICRO_APP_RESOURCE_IMAGE:"".concat($n,":").concat(Jn.IMAGE),STORYBOARD_FUNCTION:"".concat($n,":").concat(Jn.FUNCTION),MICRO_APP_RESOURCE_MENU:"".concat($n,":").concat(Jn.MENU),MICRO_APP_RESOURCE_MENU_ITEM:"".concat($n,":").concat(Jn.MENU_ITEM),"WORKFLOW_DEF@EASYOPS":"".concat($n,":").concat(Jn.WORKFLOW)};function oi(e){var t,a,n,i,o,r,l,c,s,d,h,p,u,b,E,v,m,g="rollback"!==e.action||e.rollBackIdInfo?e.action:"rollback_all",L=ei.i18n.t(null!==(t=ni[e.category])&&void 0!==t?t:e.category),f=ei.i18n.t(null!==(a=ti[g])&&void 0!==a?a:g),w=ei.i18n.t(null!==(n=ii[null===(i=e.abstract)||void 0===i?void 0:i.leftObjectId])&&void 0!==n?n:null===(o=e.abstract)||void 0===o?void 0:o.leftObjectId),k=ei.i18n.t(null!==(r=ii[null===(l=e.abstract)||void 0===l?void 0:l.rightObjectId])&&void 0!==r?r:null===(c=e.abstract)||void 0===c?void 0:c.rightObjectId),N=ri(null===(s=e.abstract)||void 0===s?void 0:s.nodes,null===(d=e.abstract)||void 0===d?void 0:d.nodesCount),Z=ri(null===(h=e.abstract)||void 0===h?void 0:h.leftNodes,null===(p=e.abstract)||void 0===p?void 0:p.leftNodesCount),O=ri(null===(u=e.abstract)||void 0===u?void 0:u.rightNodes,null===(b=e.abstract)||void 0===b?void 0:b.rightNodesCount),R="rollback"===g?oi(e.rollBackIdInfo).abstract:null;return{category:L,action:f,leftObjectId:w,rightObjectId:k,nodes:N,leftNodes:Z,rightNodes:O,abstract:ei.i18n.t(null!==(E=ai[g])&&void 0!==E?E:g,{category:L,nodes:N,leftNodes:Z,rightNodes:O,nodeChanges:null===(v=e.abstract)||void 0===v||null===(v=v.nodeChanges)||void 0===v?void 0:v.join(", "),relationChanges:null===(m=e.abstract)||void 0===m||null===(m=m.relationChanges)||void 0===m?void 0:m.join(", "),leftObjectId:w,rightObjectId:k,rollbackAbstract:R}),rollbackAbstract:R}}function ri(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:", ";return ei.i18n.t("".concat($n,":").concat(Jn.NODE),{nodes:e.join(a),context:t>e.length?"ellipsis":void 0,count:t})}(0,Yn.initializeReactI18n)($n,{en:{LOAD_MORE:"Load more",LOADING:"Loading",NO_DATA:"No data",NODE:"{{ nodes }}",NODE_ellipsis:"{{ nodes }} etc., a total of {{ count }} items",ADD:"Add node",EDIT:"Edit node",DELETE:"Delete node",IMPORT:"Batch import node",CLONE:"Clone node",APPEND_RELATION:"Append Relation",UPDATE_RELATION:"Update Relation",REMOVE_RELATION:"Remove Relation",ROLLBACK:"Rollback",ROLLBACK_ALL:"Rollback all operations",ADD_FULL:"Add {{ category }} ({{ nodes }})",EDIT_FULL:"Edit {{ nodeChanges }} of {{ category }} ({{ nodes }})",DELETE_FULL:"Delete {{ category }} ({{ nodes }})",IMPORT_FULL:"Batch Import {{ category }} ({{ nodes }})",CLONE_FULL:"Clone {{ category }} ({{ nodes }})",APPEND_RELATION_FULL:"Append the relation between {{ leftObjectId }} ({{ leftNodes }}) and {{ rightObjectId }} ({{ rightNodes }})",UPDATE_RELATION_FULL:"Update the relation between {{ leftObjectId }} ({{ leftNodes }}) and {{ rightObjectId }} ({{ rightNodes }})",REMOVE_RELATION_FULL:"Remove the relation between {{ leftObjectId }} ({{ leftNodes }}) and {{ rightObjectId }} ({{ rightNodes }})",ROLLBACK_FULL:"Rollback to [{{ rollbackAbstract }}]",ROLLBACK_ALL_FULL:"Rollback all operations",PROJECT:"Project",USER:"User Group",PERMISSION:"Permission",BRICK:"Brick",ROUTE:"Route",TEMPLATE:"Template",SNIPPET:"Snippet",I18N:"I18N",IMAGE:"Image",FUNCTION:"Function",MENU:"Menu",MENU_ITEM:"Menu item",WORKFLOW:"Workflow"},zh:{LOAD_MORE:"加载更多",LOADING:"加载中",NO_DATA:"没有数据",NODE:"{{ nodes }}",NODE_ellipsis:"{{ nodes }}等共{{ count }}项",ADD:"新增节点",EDIT:"编辑节点",DELETE:"删除节点",IMPORT:"批量导入节点",CLONE:"克隆节点",APPEND_RELATION:"添加关系",UPDATE_RELATION:"更新关系",REMOVE_RELATION:"移除关系",ROLLBACK:"回滚",ROLLBACK_ALL:"回滚全部操作",ADD_FULL:"新增{{ category }}({{ nodes }})",EDIT_FULL:"编辑{{ category }}({{ nodes }})的 {{ nodeChanges }}",DELETE_FULL:"删除{{ category }}({{ nodes }})",IMPORT_FULL:"批量导入{{ category }}({{ nodes }})",CLONE_FULL:"克隆{{ category }}({{ nodes }})",APPEND_RELATION_FULL:"添加{{ leftObjectId }}({{ leftNodes }})和{{ rightObjectId }}({{ rightNodes }})的关系",UPDATE_RELATION_FULL:"更新{{ leftObjectId }}({{ leftNodes }})和{{ rightObjectId }}({{ rightNodes }})的关系",REMOVE_RELATION_FULL:"移除{{ leftObjectId }}({{ leftNodes }})和{{ rightObjectId }}({{ rightNodes }})的关系",ROLLBACK_FULL:"回滚到【{{ rollbackAbstract }}】",ROLLBACK_ALL_FULL:"回滚全部操作",PROJECT:"项目",USER:"用户组",PERMISSION:"权限点",BRICK:"构件",ROUTE:"路由",TEMPLATE:"模版",SNIPPET:"片段",I18N:"国际化",IMAGE:"图片",FUNCTION:"函数",MENU:"菜单",MENU_ITEM:"菜单项",WORKFLOW:"工作流"}});var li,{defineElement:ci,property:si,event:di}=(0,A.createDecorators)(),hi=(0,T.wrapBrick)("eo-button"),pi=(0,T.wrapBrick)("eo-link"),ui=(0,T.wrapBrick)("eo-icon"),bi=(0,T.wrapBrick)("eo-easyops-avatar"),Ei=(0,T.wrapBrick)("eo-popover",{onVisibleChange:"visible.change",beforeVisibleChange:"before.visible.change"});On=ci("visual-builder.workbench-history-action",{styleTexts:[Vn.Z]}),Rn=si(),yn=si(),Tn=di({type:"history.item.click"}),Dn=di({type:"rollback"}),Fn=di({type:"rollback.all"});var vi=new WeakMap,mi=new WeakMap,gi=new WeakMap,Li=new WeakMap,fi=new WeakMap,wi=new WeakMap,ki=new WeakMap,Ni=new WeakMap,Zi=new WeakMap,Oi=new WeakMap,Ri=new WeakMap;class Ii extends T.ReactNextElement{constructor(){super(...arguments),(0,k.Z)(this,Oi,{get:Mi,set:_i}),(0,k.Z)(this,ki,{get:xi,set:Ti}),(0,k.Z)(this,Li,{get:Ai,set:yi}),(0,k.Z)(this,vi,{writable:!0,value:(Kn(this),In(this))}),(0,k.Z)(this,mi,{writable:!0,value:An(this)}),(0,k.Z)(this,gi,{writable:!0,value:xn(this)}),(0,k.Z)(this,fi,{writable:!0,value:e=>{(0,O.Z)(this,Li).emit(e)}}),(0,k.Z)(this,wi,{writable:!0,value:Pn(this)}),(0,k.Z)(this,Ni,{writable:!0,value:e=>{(0,O.Z)(this,ki).emit(e)}}),(0,k.Z)(this,Zi,{writable:!0,value:Wn(this)}),(0,k.Z)(this,Ri,{writable:!0,value:()=>{(0,O.Z)(this,Oi).emit()}})}get appId(){return(0,O.Z)(this,vi)}set appId(e){(0,Z.Z)(this,vi,e)}get projectId(){return(0,O.Z)(this,mi)}set projectId(e){(0,Z.Z)(this,mi,e)}render(){return y().createElement(Di,{appId:this.appId,projectId:this.projectId,onHistoryItemClick:(0,O.Z)(this,fi),onRollback:(0,O.Z)(this,Ni),onRollbackAll:(0,O.Z)(this,Ri)})}}function yi(e){Mn(this,e)}function Ai(){return _n(this)}function Ti(e){Cn(this,e)}function xi(){return Un(this)}function _i(e){Bn(this,e)}function Mi(){return Sn(this)}function Di(e){var{appId:t,onHistoryItemClick:a,onRollback:n,onRollbackAll:i}=e,{t:o}=(0,Yn.useTranslation)($n),[r,l]=(0,I.useState)(!1),[c,s]=(0,I.useState)(!0),[d,h]=(0,I.useState)(!1),[p,u]=(0,I.useState)([]),b=(0,I.useRef)(""),E=e=>{l(!0),Qn(t,{ts:b.current,limit:20}).then((t=>{u((a=>{var n=t.list.map((e=>(0,zn.Z)((0,zn.Z)({},e),{},{translation:oi(e)})));return e?n:a.concat(n)})),b.current=t.ts,h(t.list.length<20),s(t.list.length<20)})).catch((e=>{(0,ze.handleHttpError)(e)})).finally((()=>{l(!1)}))};return y().createElement(Ei,{placement:"bottom",trigger:"click",arrow:!0,arrowColor:"var(--color-fill-bg-container-4)",beforeVisibleChange:e=>{e.detail&&(s(!0),h(!1),u([]),b.current="",E(!0))}},y().createElement(hi,{slot:"anchor",shape:"circle",className:"history-action",icon:{lib:"antd",icon:"history",theme:"outlined"}}),y().createElement("div",null,y().createElement("div",{className:"history-title"},"History"),y().createElement("div",{className:"history-list"},p.length?y().createElement(y().Fragment,null,p.map(((e,t)=>y().createElement(Pi,{key:"".concat(e.uniqueKey,"-").concat(e.ts),data:e,enableRollback:0!==t&&"rollback"!==e.action,current:0===t,onHistoryItemClick:a,onRollback:n}))),!c&&y().createElement("span",{className:"load-more-container"},y().createElement(pi,{className:"load-more",disabled:r,onClick:()=>E()},o(Jn.LOAD_MORE))),d&&y().createElement("span",{className:"end-container"},"The End",y().createElement(ui,{className:"rollback-all",lib:"antd",icon:"rollback",theme:"outlined",onClick:()=>i()}))):y().createElement("div",{className:"empty"},o(r?Jn.LOADING:Jn.NO_DATA))),y().createElement("slot",null)))}function Pi(e){var{data:t,enableRollback:a,current:n,onHistoryItemClick:i,onRollback:o}=e,r=Hn()(Number(t.ts)/1e6),l=Hn().duration(r.diff(Hn()())),c=l.days()<=-1?r.format("YYYY-MM-DD HH:mm:ss"):l.humanize(!0,{ss:0,s:60,m:60,h:24});return y().createElement("div",{className:"item-container"},y().createElement("div",{className:"item-title"},y().createElement("div",{className:"title-left",onClick:()=>i((0,zn.Z)((0,zn.Z)({},t),{},{enableRollback:a}))},y().createElement("div",{className:"topic",title:t.translation.abstract},t.translation.abstract),n&&y().createElement("div",{className:"branch"},"(current)")),y().createElement("div",{className:"title-right"},a&&y().createElement(ui,{className:"rollback",lib:"antd",icon:"rollback",theme:"outlined",onClick:()=>o(t)}))),y().createElement("div",{className:"item-info"},y().createElement(bi,{className:"avatar",nameOrInstanceId:t.user,size:"xs"}),y().createElement("div",{className:"time"},c),y().createElement("div",{className:"operator"},t.user)))}jn=Ii,({e:[In,An,xn,_n,Mn,Pn,Un,Cn,Wn,Sn,Bn,Kn],c:[li,Zn]}=(0,R.Z)(jn,[[Rn,1,"appId"],[yn,1,"projectId"],[Tn,1,"historyItemClickEvent",e=>(0,O.Z)(e,gi),(e,t)=>(0,Z.Z)(e,gi,t)],[Dn,1,"rollbackEvent",e=>(0,O.Z)(e,wi),(e,t)=>(0,Z.Z)(e,wi,t)],[Fn,1,"rollbackAllEvent",e=>(0,O.Z)(e,Zi),(e,t)=>(0,Z.Z)(e,Zi,t)]],[On],0,(e=>Ri.has((0,N.Z)(e))),T.ReactNextElement)),Zn()},8453:(e,t,a)=>{a.d(t,{Z:()=>l});var n=a(9601),i=a.n(n),o=a(2609),r=a.n(o)()(i());r.push([e.id,".custom-scrollbar-container{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,0.15) rgba(255,255,255,0.03)}.custom-scrollbar-container::-webkit-scrollbar{width:8px;height:8px;background-color:transparent;position:absolute}.custom-scrollbar-container::-webkit-scrollbar-thumb{background-color:rgba(255,255,255,0);border-radius:4px}.custom-scrollbar-container:hover::-webkit-scrollbar-track{background-color:rgba(255,255,255,0.03)}.custom-scrollbar-container:hover::-webkit-scrollbar-thumb{background-color:rgba(255,255,255,0.15)}",""]);const l=r.toString()},8799:(e,t,a)=>{a.d(t,{Z:()=>l});var n=a(9601),i=a.n(n),o=a(2609),r=a.n(o)()(i());r.push([e.id,'.workBenchActionList{display:flex;flex-direction:column;width:-webkit-min-content;width:-moz-min-content;width:min-content;height:100%;background-color:#4297ff}:host-context(html[data-theme="dark-v2"]) .workBenchActionList,\n:host-context([data-override-theme="dark-v2"]) .workBenchActionList{background-color:#323237}',""]);const l=r.toString()},7310:(e,t,a)=>{a.d(t,{Z:()=>l});var n=a(9601),i=a.n(n),o=a(2609),r=a.n(o)()(i());r.push([e.id,'.action::part(link){display:flex;justify-content:center;align-items:center;width:48px;height:48px;font-size:24px;color:rgba(255,255,255,0.4);position:relative;transition:none}.action.active::part(link)::before{content:"";position:absolute;top:0;bottom:0;left:0;width:2px;background-color:white}.action.active::part(link),\n.action::part(link):hover{color:white}',""]);const l=r.toString()},6094:(e,t,a)=>{a.d(t,{Z:()=>l});var n=a(9601),i=a.n(n),o=a(2609),r=a.n(o)()(i());r.push([e.id,":host{display:inline-block}:host([hidden]){display:none}eo-popover::part(popup){width:800px;max-width:60vw;padding:10px;background:var(--color-fill-bg-container-4);border-radius:var(--medius-border-radius);box-shadow:var(--feedback-container-shadow);z-index:1000}.history-title{font-size:var(--title-font-size);font-weight:var(--font-weight-500);color:var(--color-strong-text);margin-bottom:5px}.history-list{max-height:500px;overflow-y:auto}.item-container{padding:10px 0;display:flex;flex-direction:column;gap:5px}.empty{padding:5px 0 10px 0;font-size:14px;color:var(--text-color-secondary);text-align:center}.item-container:not(:last-of-type){border-bottom:1px solid var(--color-border-divider-line)}.item-title{display:flex;align-items:center;justify-content:space-between;gap:5px}.title-left,\n.title-right{display:flex;align-items:center}.title-left{cursor:pointer;overflow:hidden;gap:5px}.topic{font-size:14px;color:var(--text-color-title);font-weight:var(--font-weight-500);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.branch{font-size:14px;color:var(--text-color-secondary)}.rollback{margin-right:5px;font-size:14px;color:var(--text-color-secondary);cursor:pointer}.rollback:hover{color:var(--color-brand)}.item-info{display:flex;align-items:center;gap:5px}.time,\n.operator{font-size:14px;color:var(--text-color-secondary)}.load-more-container{display:block;text-align:center}.end-container{display:flex;align-items:center;justify-content:center;gap:10px;font-size:16px;color:var(--color-brand)}.rollback-all{cursor:pointer}",""]);const l=r.toString()},8249:(e,t,a)=>{a.d(t,{Z:()=>l});var n=a(9601),i=a.n(n),o=a(2609),r=a.n(o)()(i());r.push([e.id,':host{display:block;--pane-color:#595959}:host-context(html[data-theme="dark-v2"]),\n:host-context([data-override-theme="dark-v2"]){--pane-color:#ccc}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.pane{display:flex;flex-direction:column;color:var(--pane-color);height:100%}.pane-header{display:flex;align-items:center;cursor:pointer;border-top:1px solid transparent;position:relative}.pane-header:focus{outline-width:1px;outline-style:solid;outline-offset:-1px;outline-color:#007fd4}:host(:not(:first-child)) .pane-header{border-top-color:rgba(204,204,204,0.2)}.pane-scroll-shadow{display:none;position:absolute;bottom:-3px;left:0;right:0;height:3px;box-shadow:#000000 0 6px 6px -6px inset;z-index:1}.scrolled .pane-scroll-shadow{display:block}.pane-title{display:flex;align-items:center;font-size:13px;line-height:24px;height:25px;min-width:0;flex:1}.title-icon{display:flex;justify-content:center;align-items:center;width:24px;padding-right:2px;line-height:1;flex-shrink:0}.title-label{text-transform:uppercase;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pane-body{flex-grow:1;min-height:0;display:none;overflow:hidden;overflow-y:auto;overflow-y:overlay}:host([active]) .pane-body{display:initial}:host(:not(:hover)) ::slotted([slot="actions"]){display:none}.badge{background-color:rgb(77,77,77);color:rgb(255,255,255);border-radius:11px;height:18px;padding:3px 6px;line-height:13px;margin:0 3px;font-size:12px}',""]);const l=r.toString()},3571:(e,t,a)=>{a.d(t,{Z:()=>l});var n=a(9601),i=a.n(n),o=a(2609),r=a.n(o)()(i());r.push([e.id,':host{--sidebar-background:#fff;--title-container-background:#fff;--title-container-color:#595959;display:block;outline-color:rgba(83,89,93,0.5);background-color:var(--sidebar-background);height:100%}:host-context(html[data-theme="dark-v2"]),\n:host-context([data-override-theme="dark-v2"]){--sidebar-background:#181818;--title-container-background:#181818;--title-container-color:rgb(187,187,187);background-color:var(--sidebar-background)}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.sidebar{display:flex;flex-direction:column;height:100%}.title-container{display:flex;padding:0 8px 8px 8px;color:var(--title-container-color);background:var(--title-container-background)}.title-label{font-weight:300;line-height:44px;padding-left:12px;text-transform:uppercase;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pane-container{flex-grow:1;min-height:0;display:flex;flex-direction:column}::slotted([slot="panes"]){transition:flex 0.2s;min-height:25px}',""]);const l=r.toString()}}]);
3
- //# sourceMappingURL=4231.00b80023.js.map