@next-bricks/advanced 0.33.0 → 0.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (251) hide show
  1. package/dist/bricks.json +1 -1
  2. package/dist/chunks/1045.58461394.js +2 -0
  3. package/dist/chunks/1045.58461394.js.map +1 -0
  4. package/dist/chunks/1122.2f11298f.js +2 -0
  5. package/dist/chunks/1122.2f11298f.js.map +1 -0
  6. package/dist/chunks/114.ad735971.js +2 -0
  7. package/dist/chunks/114.ad735971.js.map +1 -0
  8. package/dist/chunks/1300.2ab69ac3.js +3 -0
  9. package/dist/chunks/{1300.0eb23f35.js.map → 1300.2ab69ac3.js.map} +1 -1
  10. package/dist/chunks/1436.d77b8801.js +3 -0
  11. package/dist/chunks/1436.d77b8801.js.map +1 -0
  12. package/dist/chunks/1576.f0fdd344.js +3 -0
  13. package/dist/chunks/1576.f0fdd344.js.map +1 -0
  14. package/dist/chunks/1651.995950c9.js +3 -0
  15. package/dist/chunks/{1651.d494a333.js.map → 1651.995950c9.js.map} +1 -1
  16. package/dist/chunks/1889.cf15dee4.js +2 -0
  17. package/dist/chunks/{1889.754e0584.js.map → 1889.cf15dee4.js.map} +1 -1
  18. package/dist/chunks/1940.df03fc7e.js +2 -0
  19. package/dist/chunks/1940.df03fc7e.js.map +1 -0
  20. package/dist/chunks/2052.c35b0234.js +2 -0
  21. package/dist/chunks/{2052.cf331b1b.js.map → 2052.c35b0234.js.map} +1 -1
  22. package/dist/chunks/2073.2758f224.js +2 -0
  23. package/dist/chunks/2073.2758f224.js.map +1 -0
  24. package/dist/chunks/2277.74e11794.js +2 -0
  25. package/dist/chunks/2277.74e11794.js.map +1 -0
  26. package/dist/chunks/3020.96d2d197.js +2 -0
  27. package/dist/chunks/3020.96d2d197.js.map +1 -0
  28. package/dist/chunks/3144.6685c74b.js +3 -0
  29. package/dist/chunks/{3144.3fd68397.js.map → 3144.6685c74b.js.map} +1 -1
  30. package/dist/chunks/3171.b2d7ff51.js +2 -0
  31. package/dist/chunks/3171.b2d7ff51.js.map +1 -0
  32. package/dist/chunks/3426.a803d333.js +2 -0
  33. package/dist/chunks/3426.a803d333.js.map +1 -0
  34. package/dist/chunks/3933.9491bca4.js +2 -0
  35. package/dist/chunks/3933.9491bca4.js.map +1 -0
  36. package/dist/chunks/4041.65ea4b97.js +3 -0
  37. package/dist/chunks/{4041.290c1b24.js.map → 4041.65ea4b97.js.map} +1 -1
  38. package/dist/chunks/4658.d68baaa8.js +2 -0
  39. package/dist/chunks/4658.d68baaa8.js.map +1 -0
  40. package/dist/chunks/4741.ab2c8ebc.js +2 -0
  41. package/dist/chunks/{4741.a99aeaca.js.map → 4741.ab2c8ebc.js.map} +1 -1
  42. package/dist/chunks/478.71d1e246.js +2 -0
  43. package/dist/chunks/478.71d1e246.js.map +1 -0
  44. package/dist/chunks/489.5ebb95a0.js +3 -0
  45. package/dist/chunks/{489.96526bdc.js.map → 489.5ebb95a0.js.map} +1 -1
  46. package/dist/chunks/4984.facf8724.js +3 -0
  47. package/dist/chunks/4984.facf8724.js.LICENSE.txt +1 -0
  48. package/dist/chunks/4984.facf8724.js.map +1 -0
  49. package/dist/chunks/5053.739ba196.js +2 -0
  50. package/dist/chunks/{5053.97cae8bc.js.map → 5053.739ba196.js.map} +1 -1
  51. package/dist/chunks/5250.55bc8a24.js +3 -0
  52. package/dist/chunks/{5250.fe9e143a.js.map → 5250.55bc8a24.js.map} +1 -1
  53. package/dist/chunks/5368.d258996c.js +3 -0
  54. package/dist/chunks/{5368.56ea5517.js.map → 5368.d258996c.js.map} +1 -1
  55. package/dist/chunks/5384.2dc078c6.js +2 -0
  56. package/dist/chunks/{5384.7ed9db85.js.map → 5384.2dc078c6.js.map} +1 -1
  57. package/dist/chunks/5399.3b2d9352.js +2 -0
  58. package/dist/chunks/5399.3b2d9352.js.map +1 -0
  59. package/dist/chunks/5479.469d3551.js +2 -0
  60. package/dist/chunks/5479.469d3551.js.map +1 -0
  61. package/dist/chunks/5541.e0452612.js +2 -0
  62. package/dist/chunks/{5541.103446ea.js.map → 5541.e0452612.js.map} +1 -1
  63. package/dist/chunks/5552.fd0eb0c7.js +2 -0
  64. package/dist/chunks/5552.fd0eb0c7.js.map +1 -0
  65. package/dist/chunks/5683.7b312ccc.js +2 -0
  66. package/dist/chunks/{5683.0c04842a.js.map → 5683.7b312ccc.js.map} +1 -1
  67. package/dist/chunks/6070.d752daab.js +2 -0
  68. package/dist/chunks/{6070.53e25f72.js.map → 6070.d752daab.js.map} +1 -1
  69. package/dist/chunks/6314.2b50694f.js +2 -0
  70. package/dist/chunks/6314.2b50694f.js.map +1 -0
  71. package/dist/chunks/6519.f212da84.js +2 -0
  72. package/dist/chunks/6519.f212da84.js.map +1 -0
  73. package/dist/chunks/6773.8c631bdb.js +2 -0
  74. package/dist/chunks/{6773.282fbd2f.js.map → 6773.8c631bdb.js.map} +1 -1
  75. package/dist/chunks/7115.b514cdd4.js +2 -0
  76. package/dist/chunks/7115.b514cdd4.js.map +1 -0
  77. package/dist/chunks/726.919fac3e.js +2 -0
  78. package/dist/chunks/{726.2f3a5a8d.js.map → 726.919fac3e.js.map} +1 -1
  79. package/dist/chunks/7304.d6adda9f.js +2 -0
  80. package/dist/chunks/{7304.fa7b4d23.js.map → 7304.d6adda9f.js.map} +1 -1
  81. package/dist/chunks/7434.8fc102a2.js +2 -0
  82. package/dist/chunks/{7434.26013081.js.map → 7434.8fc102a2.js.map} +1 -1
  83. package/dist/chunks/7721.3a15407f.js +3 -0
  84. package/dist/chunks/{7721.7632deb6.js.map → 7721.3a15407f.js.map} +1 -1
  85. package/dist/chunks/7733.8647a0f7.js +2 -0
  86. package/dist/chunks/7733.8647a0f7.js.map +1 -0
  87. package/dist/chunks/790.31a7a92b.js +2 -0
  88. package/dist/chunks/790.31a7a92b.js.map +1 -0
  89. package/dist/chunks/8097.35291a18.js +2 -0
  90. package/dist/chunks/8097.35291a18.js.map +1 -0
  91. package/dist/chunks/8317.e09841ca.js +3 -0
  92. package/dist/chunks/{8317.42860852.js.map → 8317.e09841ca.js.map} +1 -1
  93. package/dist/chunks/871.35a2b661.js +2 -0
  94. package/dist/chunks/871.35a2b661.js.map +1 -0
  95. package/dist/chunks/8989.22a5d4e9.js +2 -0
  96. package/dist/chunks/8989.22a5d4e9.js.map +1 -0
  97. package/dist/chunks/9260.9c8fac6e.js +2 -0
  98. package/dist/chunks/9260.9c8fac6e.js.map +1 -0
  99. package/dist/chunks/9484.887c54ff.js +2 -0
  100. package/dist/chunks/{9484.096bc7ac.js.map → 9484.887c54ff.js.map} +1 -1
  101. package/dist/chunks/9496.b5000225.js +2 -0
  102. package/dist/chunks/9496.b5000225.js.map +1 -0
  103. package/dist/chunks/9515.13864880.js +2 -0
  104. package/dist/chunks/{9515.4d0b35e9.js.map → 9515.13864880.js.map} +1 -1
  105. package/dist/chunks/9559.ccb8bcda.js +2 -0
  106. package/dist/chunks/9559.ccb8bcda.js.map +1 -0
  107. package/dist/chunks/9655.9481d820.js +3 -0
  108. package/dist/chunks/{9655.79761c08.js.map → 9655.9481d820.js.map} +1 -1
  109. package/dist/chunks/9844.9cb901e3.js +2 -0
  110. package/dist/chunks/{9844.7edfae2f.js.map → 9844.9cb901e3.js.map} +1 -1
  111. package/dist/chunks/capture-snapshot.85710dd2.js +2 -0
  112. package/dist/chunks/capture-snapshot.85710dd2.js.map +1 -0
  113. package/dist/chunks/eo-cascader.d9157d3b.js +2 -0
  114. package/dist/chunks/eo-cascader.d9157d3b.js.map +1 -0
  115. package/dist/chunks/eo-next-table.fc21c24d.js +2 -0
  116. package/dist/chunks/eo-next-table.fc21c24d.js.map +1 -0
  117. package/dist/chunks/eo-table.0baa25f3.js +2 -0
  118. package/dist/chunks/eo-table.0baa25f3.js.map +1 -0
  119. package/dist/chunks/eo-tree-select.7232994f.js +2 -0
  120. package/dist/chunks/eo-tree-select.7232994f.js.map +1 -0
  121. package/dist/chunks/eo-tree.c524ee16.js +3 -0
  122. package/dist/chunks/eo-tree.c524ee16.js.map +1 -0
  123. package/dist/chunks/eo-workbench-layout.3ab1b80b.js +2 -0
  124. package/dist/chunks/eo-workbench-layout.3ab1b80b.js.map +1 -0
  125. package/dist/chunks/main.3d9a2e13.js +2 -0
  126. package/dist/chunks/main.3d9a2e13.js.map +1 -0
  127. package/dist/index.eb9f3235.js +2 -0
  128. package/dist/index.eb9f3235.js.map +1 -0
  129. package/package.json +4 -4
  130. package/dist/chunks/1045.b1da2842.js +0 -2
  131. package/dist/chunks/1045.b1da2842.js.map +0 -1
  132. package/dist/chunks/1122.33c33b32.js +0 -2
  133. package/dist/chunks/1122.33c33b32.js.map +0 -1
  134. package/dist/chunks/114.da067cc3.js +0 -2
  135. package/dist/chunks/114.da067cc3.js.map +0 -1
  136. package/dist/chunks/1300.0eb23f35.js +0 -3
  137. package/dist/chunks/1370.dee947e4.js +0 -2
  138. package/dist/chunks/1370.dee947e4.js.map +0 -1
  139. package/dist/chunks/1436.590cb5c6.js +0 -3
  140. package/dist/chunks/1436.590cb5c6.js.map +0 -1
  141. package/dist/chunks/1576.218de96f.js +0 -3
  142. package/dist/chunks/1576.218de96f.js.map +0 -1
  143. package/dist/chunks/1651.d494a333.js +0 -3
  144. package/dist/chunks/1889.754e0584.js +0 -2
  145. package/dist/chunks/1940.c63e0bab.js +0 -2
  146. package/dist/chunks/1940.c63e0bab.js.map +0 -1
  147. package/dist/chunks/2052.cf331b1b.js +0 -2
  148. package/dist/chunks/2073.87c7ad44.js +0 -2
  149. package/dist/chunks/2073.87c7ad44.js.map +0 -1
  150. package/dist/chunks/2277.7b8b883e.js +0 -2
  151. package/dist/chunks/2277.7b8b883e.js.map +0 -1
  152. package/dist/chunks/3144.3fd68397.js +0 -3
  153. package/dist/chunks/3171.40515b34.js +0 -2
  154. package/dist/chunks/3171.40515b34.js.map +0 -1
  155. package/dist/chunks/3426.aef14171.js +0 -2
  156. package/dist/chunks/3426.aef14171.js.map +0 -1
  157. package/dist/chunks/3933.c57171cf.js +0 -2
  158. package/dist/chunks/3933.c57171cf.js.map +0 -1
  159. package/dist/chunks/4041.290c1b24.js +0 -3
  160. package/dist/chunks/4437.c8109726.js +0 -2
  161. package/dist/chunks/4437.c8109726.js.map +0 -1
  162. package/dist/chunks/4658.ee87d5ca.js +0 -2
  163. package/dist/chunks/4658.ee87d5ca.js.map +0 -1
  164. package/dist/chunks/4741.a99aeaca.js +0 -2
  165. package/dist/chunks/478.157addab.js +0 -2
  166. package/dist/chunks/478.157addab.js.map +0 -1
  167. package/dist/chunks/489.96526bdc.js +0 -3
  168. package/dist/chunks/5053.97cae8bc.js +0 -2
  169. package/dist/chunks/5250.fe9e143a.js +0 -3
  170. package/dist/chunks/5368.56ea5517.js +0 -3
  171. package/dist/chunks/5384.7ed9db85.js +0 -2
  172. package/dist/chunks/5399.8c2e1a37.js +0 -2
  173. package/dist/chunks/5399.8c2e1a37.js.map +0 -1
  174. package/dist/chunks/5479.3f4be58b.js +0 -2
  175. package/dist/chunks/5479.3f4be58b.js.map +0 -1
  176. package/dist/chunks/5541.103446ea.js +0 -2
  177. package/dist/chunks/5552.fef6c6a0.js +0 -2
  178. package/dist/chunks/5552.fef6c6a0.js.map +0 -1
  179. package/dist/chunks/5683.0c04842a.js +0 -2
  180. package/dist/chunks/6070.53e25f72.js +0 -2
  181. package/dist/chunks/6314.b62bca9b.js +0 -2
  182. package/dist/chunks/6314.b62bca9b.js.map +0 -1
  183. package/dist/chunks/6330.691966e7.js +0 -2
  184. package/dist/chunks/6330.691966e7.js.map +0 -1
  185. package/dist/chunks/6519.52d0f86c.js +0 -2
  186. package/dist/chunks/6519.52d0f86c.js.map +0 -1
  187. package/dist/chunks/6773.282fbd2f.js +0 -2
  188. package/dist/chunks/7115.ce51e301.js +0 -2
  189. package/dist/chunks/7115.ce51e301.js.map +0 -1
  190. package/dist/chunks/726.2f3a5a8d.js +0 -2
  191. package/dist/chunks/7304.fa7b4d23.js +0 -2
  192. package/dist/chunks/7434.26013081.js +0 -2
  193. package/dist/chunks/7721.7632deb6.js +0 -3
  194. package/dist/chunks/7733.e3525cff.js +0 -2
  195. package/dist/chunks/7733.e3525cff.js.map +0 -1
  196. package/dist/chunks/7780.1f94864f.js +0 -2
  197. package/dist/chunks/7780.1f94864f.js.map +0 -1
  198. package/dist/chunks/790.457bcc84.js +0 -2
  199. package/dist/chunks/790.457bcc84.js.map +0 -1
  200. package/dist/chunks/8097.39d9b97d.js +0 -2
  201. package/dist/chunks/8097.39d9b97d.js.map +0 -1
  202. package/dist/chunks/8317.42860852.js +0 -3
  203. package/dist/chunks/8425.4409378b.js +0 -2
  204. package/dist/chunks/8425.4409378b.js.map +0 -1
  205. package/dist/chunks/871.bfdfc8bd.js +0 -2
  206. package/dist/chunks/871.bfdfc8bd.js.map +0 -1
  207. package/dist/chunks/8989.67fbfd73.js +0 -2
  208. package/dist/chunks/8989.67fbfd73.js.map +0 -1
  209. package/dist/chunks/9248.0cb9b6ed.js +0 -2
  210. package/dist/chunks/9248.0cb9b6ed.js.map +0 -1
  211. package/dist/chunks/9260.aa77b222.js +0 -2
  212. package/dist/chunks/9260.aa77b222.js.map +0 -1
  213. package/dist/chunks/9484.096bc7ac.js +0 -2
  214. package/dist/chunks/9496.af188b9f.js +0 -2
  215. package/dist/chunks/9496.af188b9f.js.map +0 -1
  216. package/dist/chunks/9515.4d0b35e9.js +0 -2
  217. package/dist/chunks/9559.125b4c69.js +0 -2
  218. package/dist/chunks/9559.125b4c69.js.map +0 -1
  219. package/dist/chunks/9655.79761c08.js +0 -3
  220. package/dist/chunks/9844.7edfae2f.js +0 -2
  221. package/dist/chunks/capture-snapshot.21e8093f.js +0 -2
  222. package/dist/chunks/capture-snapshot.21e8093f.js.map +0 -1
  223. package/dist/chunks/eo-cascader.0b3aad5a.js +0 -2
  224. package/dist/chunks/eo-cascader.0b3aad5a.js.map +0 -1
  225. package/dist/chunks/eo-next-table.2c1d22ae.js +0 -2
  226. package/dist/chunks/eo-next-table.2c1d22ae.js.map +0 -1
  227. package/dist/chunks/eo-table.969ebf48.js +0 -2
  228. package/dist/chunks/eo-table.969ebf48.js.map +0 -1
  229. package/dist/chunks/eo-tree-select.343dca7f.js +0 -2
  230. package/dist/chunks/eo-tree-select.343dca7f.js.map +0 -1
  231. package/dist/chunks/eo-tree.4e150964.js +0 -3
  232. package/dist/chunks/eo-tree.4e150964.js.map +0 -1
  233. package/dist/chunks/eo-workbench-layout.2077431b.js +0 -2
  234. package/dist/chunks/eo-workbench-layout.2077431b.js.map +0 -1
  235. package/dist/chunks/main.bf11f1e1.js +0 -2
  236. package/dist/chunks/main.bf11f1e1.js.map +0 -1
  237. package/dist/index.722efa75.js +0 -2
  238. package/dist/index.722efa75.js.map +0 -1
  239. /package/dist/chunks/{1300.0eb23f35.js.LICENSE.txt → 1300.2ab69ac3.js.LICENSE.txt} +0 -0
  240. /package/dist/chunks/{1436.590cb5c6.js.LICENSE.txt → 1436.d77b8801.js.LICENSE.txt} +0 -0
  241. /package/dist/chunks/{1576.218de96f.js.LICENSE.txt → 1576.f0fdd344.js.LICENSE.txt} +0 -0
  242. /package/dist/chunks/{1651.d494a333.js.LICENSE.txt → 1651.995950c9.js.LICENSE.txt} +0 -0
  243. /package/dist/chunks/{3144.3fd68397.js.LICENSE.txt → 3144.6685c74b.js.LICENSE.txt} +0 -0
  244. /package/dist/chunks/{4041.290c1b24.js.LICENSE.txt → 4041.65ea4b97.js.LICENSE.txt} +0 -0
  245. /package/dist/chunks/{489.96526bdc.js.LICENSE.txt → 489.5ebb95a0.js.LICENSE.txt} +0 -0
  246. /package/dist/chunks/{5250.fe9e143a.js.LICENSE.txt → 5250.55bc8a24.js.LICENSE.txt} +0 -0
  247. /package/dist/chunks/{5368.56ea5517.js.LICENSE.txt → 5368.d258996c.js.LICENSE.txt} +0 -0
  248. /package/dist/chunks/{7721.7632deb6.js.LICENSE.txt → 7721.3a15407f.js.LICENSE.txt} +0 -0
  249. /package/dist/chunks/{8317.42860852.js.LICENSE.txt → 8317.e09841ca.js.LICENSE.txt} +0 -0
  250. /package/dist/chunks/{9655.79761c08.js.LICENSE.txt → 9655.9481d820.js.LICENSE.txt} +0 -0
  251. /package/dist/chunks/{eo-tree.4e150964.js.LICENSE.txt → eo-tree.c524ee16.js.LICENSE.txt} +0 -0
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunk_next_bricks_advanced=self.webpackChunk_next_bricks_advanced||[]).push([[9484],{79484:(e,t,n)=>{n.d(t,{A:()=>me});var r=n(18769),o=n(53373),l=n.n(o),a=n(89575),i=n(83705),c=n(69740),u=n(90689),s=n(14223),d=n(17545),f=n(45712),p=n(47200),v=n(83003),h=n(64948),m=n(84445),g=n(30651),b=n(24586),C=n(41747);const A=function(){return null};var y=["children","value"];function w(e){return(0,C.A)(e).map((function(e){if(!r.isValidElement(e)||!e.type)return null;var t=e,n=t.key,o=t.props,l=o.children,a=o.value,i=(0,s.A)(o,y),u=(0,c.A)({key:n,value:a},i),d=w(l);return d.length&&(u.children=d),u})).filter((function(e){return e}))}function k(e){if(!e)return e;var t=(0,c.A)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,m.Ay)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function S(e){var t=r.useRef();t.current=e;var n=r.useCallback((function(){return t.current.apply(t,arguments)}),[]);return n}function x(e,t,n){return r.useMemo((function(){return e?n?function(e,t){var n=t.id,r=t.pId,o=t.rootPId,l={},a=[];return e.map((function(e){var t=(0,c.A)({},e),r=t[n];return l[r]=t,t.key=t.key||r,t})).forEach((function(e){var t=e[r],n=l[t];n&&(n.children=n.children||[],n.children.push(e)),(t===o||!n&&null===o)&&a.push(e)})),a}(e,(0,c.A)({id:"id",pId:"pId",rootPId:null},!0!==n?n:{})):e:w(t)}),[t,n,e])}const I=r.createContext(null);var E=n(2165),N=n(55859),O=n(34511);const P=r.createContext(null);function L(e){return!e||e.disabled||e.disableCheckbox||!1===e.checkable}function M(e){return null==e}var T={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},D=function(e,t){var n=(0,f.Vm)(),o=n.prefixCls,l=n.multiple,c=n.searchValue,s=n.toggleOpen,d=n.open,p=n.notFoundContent,v=r.useContext(P),h=v.virtual,m=v.listHeight,g=v.listItemHeight,b=v.listItemScrollOffset,C=v.treeData,A=v.fieldNames,y=v.onSelect,w=v.dropdownMatchSelectWidth,k=v.treeExpandAction,S=v.treeTitleRender,x=v.onPopupScroll,M=r.useContext(I),D=M.checkable,K=M.checkedKeys,V=M.halfCheckedKeys,H=M.treeExpandedKeys,R=M.treeDefaultExpandAll,W=M.treeDefaultExpandedKeys,$=M.onTreeExpand,_=M.treeIcon,F=M.showTreeIcon,j=M.switcherIcon,z=M.treeLine,U=M.treeNodeFilterProp,B=M.loadData,G=M.treeLoadedKeys,Q=M.treeMotion,X=M.onTreeLoad,Y=M.keyEntities,q=r.useRef(),J=(0,O.A)((function(){return C}),[d,C],(function(e,t){return t[0]&&e[1]!==t[1]})),Z=r.useState(null),ee=(0,u.A)(Z,2),te=ee[0],ne=ee[1],re=Y[te],oe=r.useMemo((function(){return D?{checked:K,halfChecked:V}:null}),[D,K,V]);r.useEffect((function(){var e;d&&!l&&K.length&&(null===(e=q.current)||void 0===e||e.scrollTo({key:K[0]}),ne(K[0]))}),[d]);var le=String(c).toLowerCase(),ae=r.useState(W),ie=(0,u.A)(ae,2),ce=ie[0],ue=ie[1],se=r.useState(null),de=(0,u.A)(se,2),fe=de[0],pe=de[1],ve=r.useMemo((function(){return H?(0,i.A)(H):c?fe:ce}),[ce,fe,H,c]);r.useEffect((function(){c&&pe(function(e,t){var n=[];return function e(r){r.forEach((function(r){var o=r[t.children];o&&(n.push(r[t.value]),e(o))}))}(e),n}(C,A))}),[c]);var he=function(e){e.preventDefault()},me=function(e,t){var n=t.node;D&&L(n)||(y(n.key,{selected:!K.includes(n.key)}),l||s(!1))};if(r.useImperativeHandle(t,(function(){var e;return{scrollTo:null===(e=q.current)||void 0===e?void 0:e.scrollTo,onKeyDown:function(e){var t;switch(e.which){case N.A.UP:case N.A.DOWN:case N.A.LEFT:case N.A.RIGHT:null===(t=q.current)||void 0===t||t.onKeyDown(e);break;case N.A.ENTER:if(re){var n=(null==re?void 0:re.node)||{},r=n.selectable,o=n.value;!1!==r&&me(0,{node:{key:te},selected:!K.includes(o)})}break;case N.A.ESC:s(!1)}},onKeyUp:function(){}}})),0===J.length)return r.createElement("div",{role:"listbox",className:"".concat(o,"-empty"),onMouseDown:he},p);var ge={fieldNames:A};return G&&(ge.loadedKeys=G),ve&&(ge.expandedKeys=ve),r.createElement("div",{onMouseDown:he},re&&d&&r.createElement("span",{style:T,"aria-live":"assertive"},re.node.value),r.createElement(E.A,(0,a.A)({ref:q,focusable:!1,prefixCls:"".concat(o,"-tree"),treeData:J,height:m,itemHeight:g,itemScrollOffset:b,virtual:!1!==h&&!1!==w,multiple:l,icon:_,showIcon:F,switcherIcon:j,showLine:z,loadData:c?null:B,motion:Q,activeKey:te,checkable:D,checkStrictly:!0,checkedKeys:oe,selectedKeys:D?[]:K,defaultExpandAll:R,titleRender:S},ge,{onActiveChange:ne,onSelect:me,onCheck:me,onExpand:function(e){ue(e),pe(e),$&&$(e)},onLoad:X,filterTreeNode:function(e){return!!le&&String(e[U]).toLowerCase().includes(le)},expandAction:k,onScroll:x})))};const K=r.forwardRef(D);var V="SHOW_ALL",H="SHOW_PARENT",R="SHOW_CHILD";function W(e,t,n,r){var o=new Set(e);return t===R?e.filter((function(e){var t=n[e];return!(t&&t.children&&t.children.some((function(e){var t=e.node;return o.has(t[r.value])}))&&t.children.every((function(e){var t=e.node;return L(t)||o.has(t[r.value])})))})):t===H?e.filter((function(e){var t=n[e],r=t?t.parent:null;return!(r&&!L(r.node)&&o.has(r.key))})):e}var $=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"],_=r.forwardRef((function(e,t){var n,o,l=e.id,C=e.prefixCls,y=void 0===C?"rc-tree-select":C,w=e.value,E=e.defaultValue,N=e.onChange,O=e.onSelect,L=e.onDeselect,T=e.searchValue,D=e.inputValue,H=e.onSearch,_=e.autoClearSearchValue,F=void 0===_||_,j=e.filterTreeNode,z=e.treeNodeFilterProp,U=void 0===z?"value":z,B=e.showCheckedStrategy,G=e.treeNodeLabelProp,Q=e.multiple,X=e.treeCheckable,Y=e.treeCheckStrictly,q=e.labelInValue,J=e.fieldNames,Z=e.treeDataSimpleMode,ee=e.treeData,te=e.children,ne=e.loadData,re=e.treeLoadedKeys,oe=e.onTreeLoad,le=e.treeDefaultExpandAll,ae=e.treeExpandedKeys,ie=e.treeDefaultExpandedKeys,ce=e.onTreeExpand,ue=e.treeExpandAction,se=e.virtual,de=e.listHeight,fe=void 0===de?200:de,pe=e.listItemHeight,ve=void 0===pe?20:pe,he=e.listItemScrollOffset,me=void 0===he?0:he,ge=e.onDropdownVisibleChange,be=e.dropdownMatchSelectWidth,Ce=void 0===be||be,Ae=e.treeLine,ye=e.treeIcon,we=e.showTreeIcon,ke=e.switcherIcon,Se=e.treeMotion,xe=e.treeTitleRender,Ie=e.onPopupScroll,Ee=(0,s.A)(e,$),Ne=(0,p.Ay)(l),Oe=X&&!Y,Pe=X||Y,Le=Y||q,Me=Pe||Q,Te=(0,h.A)(E,{value:w}),De=(0,u.A)(Te,2),Ke=De[0],Ve=De[1],He=r.useMemo((function(){return X?B||R:V}),[B,X]),Re=r.useMemo((function(){return function(e){var t=e||{},n=t.label,r=t.value||"value";return{_title:n?[n]:["title","label"],value:r,key:r,children:t.children||"children"}}(J)}),[JSON.stringify(J)]),We=(0,h.A)("",{value:void 0!==T?T:D,postState:function(e){return e||""}}),$e=(0,u.A)(We,2),_e=$e[0],Fe=$e[1],je=x(ee,te,Z),ze=function(e,t){return r.useMemo((function(){return(0,g.cG)(e,{fieldNames:t,initWrapper:function(e){return(0,c.A)((0,c.A)({},e),{},{valueEntities:new Map})},processEntity:function(e,n){var r=e.node[t.value];n.valueEntities.set(r,e)}})}),[e,t])}(je,Re),Ue=ze.keyEntities,Be=ze.valueEntities,Ge=r.useCallback((function(e){var t=[],n=[];return e.forEach((function(e){Be.has(e)?n.push(e):t.push(e)})),{missingRawValues:t,existRawValues:n}}),[Be]),Qe=function(e,t,n){var o=n.treeNodeFilterProp,l=n.filterTreeNode,a=n.fieldNames.children;return r.useMemo((function(){if(!t||!1===l)return e;var n;if("function"==typeof l)n=l;else{var r=t.toUpperCase();n=function(e,t){var n=t[o];return String(n).toUpperCase().includes(r)}}return function e(r){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r.reduce((function(r,l){var i=l[a],u=o||n(t,k(l)),s=e(i||[],u);return(u||s.length)&&r.push((0,c.A)((0,c.A)({},l),{},(0,b.A)({isLeaf:void 0},a,s))),r}),[])}(e)}),[e,t,a,o,l])}(je,_e,{fieldNames:Re,treeNodeFilterProp:U,filterTreeNode:j}),Xe=r.useCallback((function(e){if(e){if(G)return e[G];for(var t=Re._title,n=0;n<t.length;n+=1){var r=e[t[n]];if(void 0!==r)return r}}}),[Re,G]),Ye=r.useCallback((function(e){var t=function(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}(e);return t.map((function(e){return function(e){return!e||"object"!==(0,d.A)(e)}(e)?{value:e}:e}))}),[]),qe=r.useCallback((function(e){return Ye(e).map((function(e){var t,n,r=e.label,o=e.value,l=e.halfChecked,a=Be.get(o);return a?(r=null!==(n=r)&&void 0!==n?n:Xe(a.node),t=a.node.disabled):void 0===r&&(r=Ye(Ke).find((function(e){return e.value===o})).label),{label:r,value:o,halfChecked:l,disabled:t}}))}),[Be,Xe,Ye,Ke]),Je=r.useMemo((function(){return Ye(Ke)}),[Ye,Ke]),Ze=r.useMemo((function(){var e=[],t=[];return Je.forEach((function(n){n.halfChecked?t.push(n):e.push(n)})),[e,t]}),[Je]),et=(0,u.A)(Ze,2),tt=et[0],nt=et[1],rt=r.useMemo((function(){return tt.map((function(e){return e.value}))}),[tt]),ot=function(e,t,n,o){return r.useMemo((function(){var r=e.map((function(e){return e.value})),l=t.map((function(e){return e.value})),a=r.filter((function(e){return!o[e]}));if(n){var c=(0,v.p)(r,!0,o);r=c.checkedKeys,l=c.halfCheckedKeys}return[Array.from(new Set([].concat((0,i.A)(a),(0,i.A)(r)))),l]}),[e,t,n,o])}(tt,nt,Oe,Ue),lt=(0,u.A)(ot,2),at=lt[0],it=lt[1],ct=r.useMemo((function(){var e=W(at,He,Ue,Re).map((function(e){var t,n;return null!==(t=null===(n=Ue[e])||void 0===n||null===(n=n.node)||void 0===n?void 0:n[Re.value])&&void 0!==t?t:e})).map((function(e){var t,n=tt.find((function(t){return t.value===e}));return q&&void 0!==n.label?t=n.label:!q&&xe&&(t=xe(n)),{value:e,label:t}})),t=qe(e),n=t[0];return!Me&&n&&M(n.value)&&M(n.label)?[]:t.map((function(e){var t;return(0,c.A)((0,c.A)({},e),{},{label:null!==(t=e.label)&&void 0!==t?t:e.value})}))}),[Re,Me,at,tt,qe,He,Ue]),ut=(n=ct,o=r.useRef({valueLabels:new Map}),r.useMemo((function(){var e=o.current.valueLabels,t=new Map,r=n.map((function(n){var r,o=n.value,l=null!==(r=n.label)&&void 0!==r?r:e.get(o);return t.set(o,l),(0,c.A)((0,c.A)({},n),{},{label:l})}));return o.current.valueLabels=t,[r]}),[n])),st=(0,u.A)(ut,1)[0],dt=S((function(e,t,n){var o=qe(e);if(Ve(o),F&&Fe(""),N){var l=e;if(Oe){var a=W(e,He,Ue,Re);l=a.map((function(e){var t=Be.get(e);return t?t.node[Re.value]:e}))}var c=t||{triggerValue:void 0,selected:void 0},u=c.triggerValue,s=c.selected,d=l;if(Y){var f=nt.filter((function(e){return!l.includes(e.value)}));d=[].concat((0,i.A)(d),(0,i.A)(f))}var p=qe(d),v={preValue:tt,triggerValue:u},h=!0;(Y||"selection"===n&&!s)&&(h=!1),function(e,t,n,o,l,a){var i=null,c=null;function u(){c||(c=[],function e(o){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0",u=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return o.map((function(o,s){var d="".concat(l,"-").concat(s),f=o[a.value],p=n.includes(f),v=e(o[a.children]||[],d,p),h=r.createElement(A,o,v.map((function(e){return e.node})));if(t===f&&(i=h),p){var m={pos:d,node:h,children:v};return u||c.push(m),m}return null})).filter((function(e){return e}))}(o),c.sort((function(e,t){var r=e.node.props.value,o=t.node.props.value;return n.indexOf(r)-n.indexOf(o)})))}Object.defineProperty(e,"triggerNode",{get:function(){return(0,m.Ay)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),u(),i}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return(0,m.Ay)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),u(),l?c:c.map((function(e){return e.node}))}})}(v,u,e,je,h,Re),Pe?v.checked=s:v.selected=s;var g=Le?p:p.map((function(e){return e.value}));N(Me?g:g[0],Le?null:p.map((function(e){return e.label})),v)}})),ft=r.useCallback((function(e,t){var n,r=t.selected,o=t.source,l=Ue[e],a=null==l?void 0:l.node,c=null!==(n=null==a?void 0:a[Re.value])&&void 0!==n?n:e;if(Me){var u=r?[].concat((0,i.A)(rt),[c]):at.filter((function(e){return e!==c}));if(Oe){var s,d=Ge(u),f=d.missingRawValues,p=d.existRawValues.map((function(e){return Be.get(e).key}));s=r?(0,v.p)(p,!0,Ue).checkedKeys:(0,v.p)(p,{checked:!1,halfCheckedKeys:it},Ue).checkedKeys,u=[].concat((0,i.A)(f),(0,i.A)(s.map((function(e){return Ue[e].node[Re.value]}))))}dt(u,{selected:r,triggerValue:c},o||"option")}else dt([c],{selected:!0,triggerValue:c},"option");r||!Me?null==O||O(c,k(a)):null==L||L(c,k(a))}),[Ge,Be,Ue,Re,Me,rt,dt,Oe,O,L,at,it]),pt=r.useCallback((function(e){if(ge){var t={};Object.defineProperty(t,"documentClickClose",{get:function(){return(0,m.Ay)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),ge(e,t)}}),[ge]),vt=S((function(e,t){var n=e.map((function(e){return e.value}));"clear"!==t.type?t.values.length&&ft(t.values[0].value,{selected:!1,source:"selection"}):dt(n,{},"selection")})),ht=r.useMemo((function(){return{virtual:se,dropdownMatchSelectWidth:Ce,listHeight:fe,listItemHeight:ve,listItemScrollOffset:me,treeData:Qe,fieldNames:Re,onSelect:ft,treeExpandAction:ue,treeTitleRender:xe,onPopupScroll:Ie}}),[se,Ce,fe,ve,me,Qe,Re,ft,ue,xe,Ie]),mt=r.useMemo((function(){return{checkable:Pe,loadData:ne,treeLoadedKeys:re,onTreeLoad:oe,checkedKeys:at,halfCheckedKeys:it,treeDefaultExpandAll:le,treeExpandedKeys:ae,treeDefaultExpandedKeys:ie,onTreeExpand:ce,treeIcon:ye,treeMotion:Se,showTreeIcon:we,switcherIcon:ke,treeLine:Ae,treeNodeFilterProp:U,keyEntities:Ue}}),[Pe,ne,re,oe,at,it,le,ae,ie,ce,ye,Se,we,ke,Ae,U,Ue]);return r.createElement(P.Provider,{value:ht},r.createElement(I.Provider,{value:mt},r.createElement(f.g3,(0,a.A)({ref:t},Ee,{id:Ne,prefixCls:y,mode:Me?"multiple":void 0,displayValues:st,onDisplayValuesChange:vt,searchValue:_e,onSearch:function(e){Fe(e),null==H||H(e)},OptionList:K,emptyOptions:!je.length,onDropdownVisibleChange:pt,dropdownMatchSelectWidth:Ce}))))}));_.TreeNode=A,_.SHOW_ALL=V,_.SHOW_PARENT=H,_.SHOW_CHILD=R;const F=_;var j=n(78892),z=n(7010),U=n(85528),B=n(74132),G=n(43307),Q=n(9642),X=n(34203),Y=n(19106),q=n(50509),J=n(17392),Z=n(45777),ee=n(64719),te=n(30012),ne=n(52755),re=n(87494),oe=n(67728),le=n(9658),ae=n(13820),ie=n(68621),ce=n(71668),ue=n(78339),se=n(16667),de=n(29561);const fe=e=>{const{componentCls:t,treePrefixCls:n,colorBgElevated:r}=e,o=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${(0,ie.zA)(e.paddingXS)} ${(0,ie.zA)(e.calc(e.paddingXS).div(2).equal())}`},(0,de.k8)(n,(0,ue.h1)(e,{colorBgContainer:r})),{[o]:{borderRadius:0,[`${o}-list-holder-inner`]:{alignItems:"stretch",[`${o}-treenode`]:{[`${o}-node-content-wrapper`]:{flex:"auto"}}}}},(0,ce.gd)(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${o}-switcher${o}-switcher_close`]:{[`${o}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};const pe=(e,t)=>{var n,{prefixCls:o,size:a,disabled:i,bordered:c=!0,className:u,rootClassName:s,treeCheckable:d,multiple:f,listHeight:p=256,listItemHeight:v=26,placement:h,notFoundContent:m,switcherIcon:g,treeLine:b,getPopupContainer:C,popupClassName:A,dropdownClassName:y,treeIcon:w=!1,transitionName:k,choiceTransitionName:S="",status:x,treeExpandAction:I,builtinPlacements:E,dropdownMatchSelectWidth:N,popupMatchSelectWidth:O,allowClear:P,variant:L,dropdownStyle:M,tagRender:T}=e,D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender"]);const{getPopupContainer:K,getPrefixCls:V,renderEmpty:H,direction:R,virtual:W,popupMatchSelectWidth:$,popupOverflow:_}=r.useContext(Q.QO),B=V(),ie=V("select",o),ce=V("select-tree",o),pe=V("tree-select",o),{compactSize:ve,compactItemClassnames:he}=(0,le.RQ)(ie,R),me=(0,q.A)(ie),ge=(0,q.A)(pe),[be,Ce,Ae]=(0,ne.A)(ie,me),[ye]=function(e,t,n){return(0,se.OF)("TreeSelect",(e=>{const n=(0,ue.h1)(e,{treePrefixCls:t});return[fe(n)]}),de.bi)(e,n)}(pe,ce,ge),[we,ke]=(0,ee.A)(L,c),Se=l()(A||y,`${pe}-dropdown`,{[`${pe}-dropdown-rtl`]:"rtl"===R},s,Ae,me,ge,Ce),xe=!(!d&&!f),Ie=(0,oe.A)(D.suffixIcon,D.showArrow),Ee=null!==(n=null!=O?O:N)&&void 0!==n?n:$,{status:Ne,hasFeedback:Oe,isFormItemInput:Pe,feedbackIcon:Le}=r.useContext(Z.$W),Me=(0,G.v)(Ne,x),{suffixIcon:Te,removeIcon:De,clearIcon:Ke}=(0,re.A)(Object.assign(Object.assign({},D),{multiple:xe,showSuffixIcon:Ie,hasFeedback:Oe,feedbackIcon:Le,prefixCls:ie,componentName:"TreeSelect"})),Ve=!0===P?{clearIcon:Ke}:P;let He;He=void 0!==m?m:(null==H?void 0:H("Select"))||r.createElement(X.A,{componentName:"Select"});const Re=(0,j.A)(D,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),We=r.useMemo((()=>void 0!==h?h:"rtl"===R?"bottomRight":"bottomLeft"),[h,R]),$e=(0,J.A)((e=>{var t;return null!==(t=null!=a?a:ve)&&void 0!==t?t:e})),_e=r.useContext(Y.A),Fe=null!=i?i:_e,je=l()(!o&&pe,{[`${ie}-lg`]:"large"===$e,[`${ie}-sm`]:"small"===$e,[`${ie}-rtl`]:"rtl"===R,[`${ie}-${we}`]:ke,[`${ie}-in-form-item`]:Pe},(0,G.L)(ie,Me,Oe),he,u,s,Ae,me,ge,Ce),[ze]=(0,z.YK)("SelectLike",null==M?void 0:M.zIndex);return be(ye(r.createElement(F,Object.assign({virtual:W,disabled:Fe},Re,{dropdownMatchSelectWidth:Ee,builtinPlacements:(0,te.A)(E,_),ref:t,prefixCls:ie,className:je,listHeight:p,listItemHeight:v,treeCheckable:d?r.createElement("span",{className:`${ie}-tree-checkbox-inner`}):d,treeLine:!!b,suffixIcon:Te,multiple:xe,placement:We,removeIcon:De,allowClear:Ve,switcherIcon:e=>r.createElement(ae.A,{prefixCls:ce,switcherIcon:g,treeNodeProps:e,showLine:b}),showTreeIcon:w,notFoundContent:He,getPopupContainer:C||K,treeMotion:null,dropdownClassName:Se,dropdownStyle:Object.assign(Object.assign({},M),{zIndex:ze}),choiceTransitionName:(0,U.b)(B,"",S),transitionName:(0,U.b)(B,"slide-up",k),treeExpandAction:I,tagRender:xe?T:void 0}))))},ve=r.forwardRef(pe),he=(0,B.A)(ve);ve.TreeNode=A,ve.SHOW_ALL=V,ve.SHOW_PARENT=H,ve.SHOW_CHILD=R,ve._InternalPanelDoNotUseOrYouWillBeFired=he;const me=ve}}]);
2
- //# sourceMappingURL=9484.096bc7ac.js.map
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunk_next_bricks_advanced=self.webpackChunk_next_bricks_advanced||[]).push([[9496,6330],{86330:(e,r,t)=>{function n(e,r,t,n,u,a,c){try{var i=e[a](c),s=i.value}catch(e){return void t(e)}i.done?r(s):Promise.resolve(s).then(n,u)}function u(e){return function(){var r=this,t=arguments;return new Promise((function(u,a){var c=e.apply(r,t);function i(e){n(c,u,a,i,s,"next",e)}function s(e){n(c,u,a,i,s,"throw",e)}i(void 0)}))}}t.d(r,{A:()=>u})},14223:(e,r,t)=>{function n(e,r){if(null==e)return{};var t,n,u=function(e,r){if(null==e)return{};var t,n,u={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(u[t]=e[t]);return u}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(u[t]=e[t])}return u}t.d(r,{A:()=>n})},97115:(e,r,t)=>{t.r(r),t.d(r,{ReactUseBrick:()=>c,ReactUseMultipleBricks:()=>i,asyncWrapBrick:()=>R,useCurrentApp:()=>v,useCurrentTheme:()=>l,useNavConfig:()=>B,useProvider:()=>O,useRecentApps:()=>f,useRouteRender:()=>p});var n=t(86330),u=t(18769),a=t(99974),c=function(e){var{useBrick:r,data:t,errorBoundary:c,refCallback:i,ignoredCallback:s}=e,[o,d]=(0,u.useState)(null),l=(0,u.useRef)(),[f,v]=(0,u.useState)(),p=(0,u.useRef)(0),y=(0,u.useMemo)((()=>{var e;return null===(e=a.__secret_internals.getRenderId)||void 0===e?void 0:e.call(a.__secret_internals)}),[]);(0,u.useEffect)((()=>{var e=!1;function u(){return u=(0,n.A)((function*(){try{var n=yield a.__secret_internals.renderUseBrick(r,t,c);if(e)return;d(n),v(++p.current)}catch(e){(function(e){var r,t=null===(r=a.__secret_internals.getRenderId)||void 0===r?void 0:r.call(a.__secret_internals);return!e||!t||e===t})(y)&&(console.error("Render useBrick failed:",r,"with data:",t),(0,a.handleHttpError)(e))}})),u.apply(this,arguments)}return function(){u.apply(this,arguments)}(),()=>{e=!0}}),[t,r,y,c]);var g=(0,u.useCallback)((e=>{e?l.current=a.__secret_internals.mountUseBrick(o,e):(a.__secret_internals.unmountUseBrick(o,l.current),l.current=void 0),null==i||i(e)}),[i,o]);if(!o)return null;var{tagName:m}=o;if(null===m)return null==s||s(),null;var h=m;return u.createElement(h,{key:f,ref:g})},i=function(e){var{useBrick:r,data:t,errorBoundary:n}=e;return Array.isArray(r)?u.createElement(u.Fragment,null,r.map(((e,r)=>u.createElement(c,{key:r,useBrick:e,data:t,errorBoundary:n})))):u.createElement(c,{useBrick:r,data:t,errorBoundary:n})},s=(0,a.getV2RuntimeFromDll)();if(s){var{SingleBrickAsComponentFactory:o,BrickAsComponentFactory:d}=s;o&&d&&(c=o(u),i=d(u))}function l(){var[e,r]=(0,u.useState)(a.getCurrentTheme);return(0,u.useEffect)((()=>{var e=e=>{r(e.detail)};return window.addEventListener("theme.change",e),()=>{window.removeEventListener("theme.change",e)}}),[]),e}function f(){var[e,r]=u.useState((()=>(0,a.getRuntime)().getRecentApps()));return u.useEffect((()=>{var e=e=>{r(e.detail)};return window.addEventListener("app.change",e),()=>window.removeEventListener("app.change",e)}),[]),e}function v(){return f().currentApp}function p(){var[e,r]=u.useState(null);return u.useEffect((()=>{var e=e=>{r(e.detail)};return window.addEventListener("route.render",e),()=>window.removeEventListener("route.render",e)}),[]),e}var y=t(69740),g=t(14223),m={provider:"",customOptions:{onError:()=>{},transform:(e,r)=>r,data:void 0,loading:!1,suspense:!1,cache:!0},dependencies:void 0};const h=Object.entries(m).reduce(((e,r)=>{var[t,n]=r;return"[object Object]"===Object.prototype.toString.call(n)?(0,y.A)((0,y.A)({},e),n):(0,y.A)((0,y.A)({},e),{},{[t]:n})}),{});var A=t(41030),k=["args"],b=new Map;function _(){return(_=(0,n.A)((function*(e,r,t){var n,u=function(e){for(var r,t=e=>Object.keys(e).sort().map((r=>({[r]:e[r]}))),n=arguments.length,u=new Array(n>1?n-1:0),a=1;a<n;a++)u[a-1]=arguments[a];try{var c="object"!=typeof(r=u)||null===r||Array.isArray(r)?u.map((e=>function(e){return"string"==typeof e}(e)?e:t(e))):t(u);return JSON.stringify({provider:e,args:c})}catch(r){return JSON.stringify({provider:e,args:u})}}(e,...t);return!r&&b.has(u)&&b.delete(u),b.has(u)?n=b.get(u):(n=(0,a.fetchByProvider)(e,t),r&&b.set(u,n)),n}))).apply(this,arguments)}var w=["onError","transform","suspense","cache"];function O(){var{provider:e,customOptions:r,dependencies:t,requestInit:a}=function(e,r,t){var n=(0,u.useMemo)((()=>"string"==typeof e?e:m.provider),[e,r]),a=(0,u.useMemo)((()=>{var t={};return(0,A.isObject)(e)?t=e:(0,A.isObject)(r)&&(t=r),(0,y.A)((0,y.A)({},h),t)}),[e,r]),c=(0,u.useMemo)((()=>{var e=[...Object.keys(m),...Object.keys(m.customOptions)],r=Object.keys(a).reduce(((r,t)=>(e.includes(t)||(r[t]=a[t]),r)),{}),{args:t=null}=r,n=(0,g.A)(r,k);return{options:(0,y.A)({},n),args:t}}),[a]),i=(0,u.useMemo)((()=>Array.isArray(r)?r:Array.isArray(t)?t:h.dependencies),[r,t]),s=a.loading||Array.isArray(i);return{provider:n,customOptions:(0,u.useMemo)((()=>{var e=Object.keys(m.customOptions).reduce(((e,r)=>(e[r]=a[r],e)),{});return(0,y.A)((0,y.A)({},e),{},{loading:s})}),[a]),requestInit:c,dependencies:i}}(...arguments),{onError:c,transform:i,suspense:s,cache:o}=r,d=(0,g.A)(r,w),[l,f]=(0,u.useState)(d.loading),v=(0,u.useRef)("pending"),p=(0,u.useRef)(),b=(0,u.useRef)(!1),O=(0,u.useRef)(),E=(0,u.useRef)(),R=(0,u.useRef)(d.data),j=(0,u.useReducer)((()=>({})),[])[1],B=(0,u.useCallback)(function(){var e=(0,n.A)((function*(e,r){try{O.current=void 0,s||f(!0);var t=yield function(e,r,t){return _.apply(this,arguments)}(e,o,r);E.current=t,R.current=i(R.current,t)}catch(e){O.current=e,R.current=void 0}return s||f(!1),O.current&&c(O.current),R.current}));return function(r,t){return e.apply(this,arguments)}}(),[e,r,t,a,s,i,d.data,c,o]),C=(0,u.useCallback)(function(){var r=(0,n.A)((function*(r,t){var u=e,a=[];return(0,A.isString)(r)&&(u=r),(0,A.isObject)(r)?a=r:(0,A.isObject)(t)&&(a=t),s?(0,n.A)((function*(){return p.current=B(u,a).then((e=>(v.current="success",e)),(e=>(v.current="error",e.current=e,e))),j(),yield p.current}))():B(u,a)}));return function(e,t){return r.apply(this,arguments)}}(),[B]),S=(0,u.useMemo)((()=>Object.defineProperties({query:C},{loading:{get:()=>l},data:{get:()=>R.current},error:{get:()=>O.current}})),[C]);if((0,u.useEffect)((()=>(b.current=!0,Array.isArray(t)&&e&&S.query(e,a.args),()=>b.current=!1)),t),s&&p.current)switch(v.current){case"pending":throw p.current;case"error":throw O.current}return Object.assign([S,E.current,l,O.current],(0,y.A)((0,y.A)({request:S},S),{},{response:E.current,data:R.current,loading:l,error:O.current}))}var E=t(46430);function R(e,r){return j.apply(this,arguments)}function j(){return(j=(0,n.A)((function*(e,r){return yield a.__secret_internals.loadBricks([e]),(0,E.wrapBrick)(e,r)}))).apply(this,arguments)}function B(){var[e,r]=(0,u.useState)((()=>(0,a.getRuntime)().getNavConfig()));return(0,u.useEffect)((()=>{var e=e=>{r(e.detail)};return window.addEventListener("navConfig.change",e),()=>window.removeEventListener("navConfig.change",e)}),[]),e}}}]);
2
- //# sourceMappingURL=9496.af188b9f.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chunks/9496.af188b9f.js","mappings":"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","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/ReactUseBrick.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useCurrentTheme.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useRecentApps.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useCurrentApp.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useRouteRender.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useProvider/useProviderArgsDefaults.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useProvider/useProviderArgs.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useProvider/fetch.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useProvider/useProvider.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/asyncWrapBrick.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useNavConfig.js"],"sourcesContent":["function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport React, { useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport { __secret_internals, handleHttpError, getV2RuntimeFromDll } from \"@next-core/runtime\";\n// Note: always synchronize code in LegacyUseBrick:\n// `bricks/v2-adapter/src/data-providers/legacy-brick-kit/getLegacyUseBrick.ts`\nvar ReactUseBrick = function ReactUseBrick(_ref) {\n var {\n useBrick,\n data,\n errorBoundary,\n refCallback,\n ignoredCallback\n } = _ref;\n var [renderResult, setRenderResult] = useState(null);\n var mountResult = useRef();\n var [renderKey, setRenderKey] = useState();\n var IdCounterRef = useRef(0);\n var initialRenderId = useMemo(() => {\n var _secret_internals$ge;\n return (_secret_internals$ge = __secret_internals.getRenderId) === null || _secret_internals$ge === void 0 ? void 0 : _secret_internals$ge.call(__secret_internals);\n }, []);\n useEffect(() => {\n var ignore = false;\n function init() {\n return _init.apply(this, arguments);\n }\n function _init() {\n _init = _asyncToGenerator(function* () {\n try {\n var newRender = yield __secret_internals.renderUseBrick(useBrick, data, errorBoundary);\n if (ignore) {\n return;\n }\n setRenderResult(newRender);\n setRenderKey(getUniqueId(IdCounterRef));\n } catch (error) {\n if (isTheSameRender(initialRenderId)) {\n // eslint-disable-next-line no-console\n console.error(\"Render useBrick failed:\", useBrick, \"with data:\", data);\n handleHttpError(error);\n }\n }\n });\n return _init.apply(this, arguments);\n }\n init();\n return () => {\n ignore = true;\n };\n }, [data, useBrick, initialRenderId, errorBoundary]);\n var _refCallback = useCallback(element => {\n if (element) {\n mountResult.current = __secret_internals.mountUseBrick(\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n renderResult, element);\n } else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n __secret_internals.unmountUseBrick(renderResult, mountResult.current);\n mountResult.current = undefined;\n }\n refCallback === null || refCallback === void 0 || refCallback(element);\n }, [refCallback, renderResult]);\n if (!renderResult) {\n // Fallback when loading/\n return null;\n // return <span>🌀 Loading...</span>;\n }\n var {\n tagName\n } = renderResult;\n if (tagName === null) {\n ignoredCallback === null || ignoredCallback === void 0 || ignoredCallback();\n return null;\n }\n var WebComponent = tagName;\n return /*#__PURE__*/React.createElement(WebComponent, {\n key: renderKey,\n ref: _refCallback\n });\n};\nfunction getUniqueId(ref) {\n return ++ref.current;\n}\nfunction isTheSameRender(initialRenderId) {\n var _secret_internals$ge2;\n var newRenderId = (_secret_internals$ge2 = __secret_internals.getRenderId) === null || _secret_internals$ge2 === void 0 ? void 0 : _secret_internals$ge2.call(__secret_internals);\n return !initialRenderId || !newRenderId || initialRenderId === newRenderId;\n}\nvar ReactUseMultipleBricks = function ReactUseMultipleBricks(_ref2) {\n var {\n useBrick,\n data,\n errorBoundary\n } = _ref2;\n if (Array.isArray(useBrick)) {\n return /*#__PURE__*/React.createElement(React.Fragment, null, useBrick.map((item, index) => /*#__PURE__*/React.createElement(ReactUseBrick, {\n key: index,\n useBrick: item,\n data: data,\n errorBoundary: errorBoundary\n })));\n }\n return /*#__PURE__*/React.createElement(ReactUseBrick, {\n useBrick: useBrick,\n data: data,\n errorBoundary: errorBoundary\n });\n};\n\n// Make v3 bricks compatible with Brick Next v2.\n// istanbul ignore next\nvar v2Kit = getV2RuntimeFromDll();\n// istanbul ignore next\nif (v2Kit) {\n var {\n SingleBrickAsComponentFactory,\n BrickAsComponentFactory\n } = v2Kit;\n if (SingleBrickAsComponentFactory && BrickAsComponentFactory) {\n ReactUseBrick = SingleBrickAsComponentFactory(React);\n ReactUseMultipleBricks = BrickAsComponentFactory(React);\n }\n}\nexport { ReactUseBrick, ReactUseMultipleBricks };\n//# sourceMappingURL=ReactUseBrick.js.map","import { useEffect, useState } from \"react\";\nimport { getCurrentTheme } from \"@next-core/runtime\";\nexport function useCurrentTheme() {\n var [currentTheme, setCurrentTheme] = useState(getCurrentTheme);\n useEffect(() => {\n var listenToThemeChange = event => {\n setCurrentTheme(event.detail);\n };\n window.addEventListener(\"theme.change\", listenToThemeChange);\n return () => {\n window.removeEventListener(\"theme.change\", listenToThemeChange);\n };\n }, []);\n return currentTheme;\n}\n//# sourceMappingURL=useCurrentTheme.js.map","import React from \"react\";\nimport { getRuntime } from \"@next-core/runtime\";\nexport function useRecentApps() {\n var [recentApps, setRecentApps] = React.useState(() => getRuntime().getRecentApps());\n React.useEffect(() => {\n var listener = event => {\n setRecentApps(event.detail);\n };\n window.addEventListener(\"app.change\", listener);\n return () => window.removeEventListener(\"app.change\", listener);\n }, []);\n return recentApps;\n}\n//# sourceMappingURL=useRecentApps.js.map","import { useRecentApps } from \"./useRecentApps.js\";\n\n/**\n * 获取当前所在微应用信息的 React hooks。\n *\n * @example\n *\n * ```tsx\n * function MyReactComponent() {\n * const app = useCurrentApp();\n * return <div>{app.id}</div>;\n * }\n * ```\n *\n * @returns 当前所在微应用的信息。\n */\nexport function useCurrentApp() {\n return useRecentApps().currentApp;\n}\n//# sourceMappingURL=useCurrentApp.js.map","import React from \"react\";\nexport function useRouteRender() {\n var [routeRender, setRouteRender] = React.useState(null);\n React.useEffect(() => {\n var listener = event => {\n setRouteRender(event.detail);\n };\n window.addEventListener(\"route.render\", listener);\n return () => window.removeEventListener(\"route.render\", listener);\n }, []);\n return routeRender;\n}\n//# sourceMappingURL=useRouteRender.js.map","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nexport var useProviderArgsDefaults = {\n provider: \"\",\n customOptions: {\n onError: () => {\n /* Do nothing.. */\n },\n transform: (oldData, newData) => newData,\n data: undefined,\n loading: false,\n suspense: false,\n cache: true\n },\n dependencies: undefined\n};\nexport default Object.entries(useProviderArgsDefaults).reduce((acc, _ref) => {\n var [key, value] = _ref;\n if (Object.prototype.toString.call(value) === \"[object Object]\") return _objectSpread(_objectSpread({}, acc), value);\n return _objectSpread(_objectSpread({}, acc), {}, {\n [key]: value\n });\n}, {});\n//# sourceMappingURL=useProviderArgsDefaults.js.map","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nvar _excluded = [\"args\"];\nimport { useMemo } from \"react\";\nimport defaults, { useProviderArgsDefaults } from \"./useProviderArgsDefaults.js\";\nimport { isObject } from \"lodash\";\nexport default function useProviderArgs(providerOrParamsOrGlobalOptions, globalOptionsOrDeps, deps) {\n var provider = useMemo(() => {\n if (typeof providerOrParamsOrGlobalOptions === \"string\") {\n return providerOrParamsOrGlobalOptions;\n }\n return useProviderArgsDefaults.provider;\n }, [providerOrParamsOrGlobalOptions, globalOptionsOrDeps]);\n var options = useMemo(() => {\n var localOptions = {};\n if (isObject(providerOrParamsOrGlobalOptions)) {\n localOptions = providerOrParamsOrGlobalOptions;\n } else if (isObject(globalOptionsOrDeps)) {\n localOptions = globalOptionsOrDeps;\n }\n return _objectSpread(_objectSpread({}, defaults), localOptions);\n }, [providerOrParamsOrGlobalOptions, globalOptionsOrDeps]);\n var requestInit = useMemo(() => {\n var customOptionKeys = [...Object.keys(useProviderArgsDefaults), ...Object.keys(useProviderArgsDefaults.customOptions)];\n var _reduce = Object.keys(options).reduce((acc, key) => {\n if (!customOptionKeys.includes(key)) acc[key] = options[key];\n return acc;\n }, {}),\n {\n args = null\n } = _reduce,\n restOptions = _objectWithoutProperties(_reduce, _excluded);\n return {\n options: _objectSpread({}, restOptions),\n args\n };\n }, [options]);\n var dependencies = useMemo(() => {\n if (Array.isArray(globalOptionsOrDeps)) return globalOptionsOrDeps;\n if (Array.isArray(deps)) return deps;\n return defaults.dependencies;\n }, [globalOptionsOrDeps, deps]);\n var loading = options.loading || Array.isArray(dependencies);\n var customOptions = useMemo(() => {\n var customOptionKeys = Object.keys(useProviderArgsDefaults.customOptions);\n var customOptions = customOptionKeys.reduce((opts, key) => {\n opts[key] = options[key];\n return opts;\n }, {});\n return _objectSpread(_objectSpread({}, customOptions), {}, {\n loading\n });\n }, [options]);\n return {\n provider,\n customOptions,\n requestInit,\n dependencies\n };\n}\n//# sourceMappingURL=useProviderArgs.js.map","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport { fetchByProvider } from \"@next-core/runtime\";\nvar cacheMap = new Map();\nfunction isObj(v) {\n return typeof v === \"object\" && v !== null && !Array.isArray(v);\n}\nfunction isString(v) {\n return typeof v === \"string\";\n}\nfunction buildSortedCacheKey(provider) {\n var sortObj = obj => Object.keys(obj).sort().map(k => ({\n [k]: obj[k]\n }));\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n try {\n var sortedArgs = isObj(args) ? sortObj(args) : args.map(arg => isString(arg) ? arg : sortObj(arg));\n return JSON.stringify({\n provider,\n args: sortedArgs\n });\n } catch (e) {\n return JSON.stringify({\n provider,\n args\n });\n }\n}\nexport default function fetch(_x, _x2, _x3) {\n return _fetch.apply(this, arguments);\n}\nfunction _fetch() {\n _fetch = _asyncToGenerator(function* (provider, cache, args) {\n var promise;\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n var cacheKey = buildSortedCacheKey(provider, ...args);\n !cache && cacheMap.has(cacheKey) && cacheMap.delete(cacheKey);\n if (cacheMap.has(cacheKey)) {\n promise = cacheMap.get(cacheKey);\n } else {\n promise = (() => {\n return fetchByProvider(provider, args);\n })();\n cache && cacheMap.set(cacheKey, promise);\n }\n return promise;\n });\n return _fetch.apply(this, arguments);\n}\n//# sourceMappingURL=fetch.js.map","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nvar _excluded = [\"onError\", \"transform\", \"suspense\", \"cache\"];\nimport { useCallback, useEffect, useMemo, useReducer, useRef, useState } from \"react\";\nimport useProviderArgs from \"./useProviderArgs.js\";\nimport { isObject, isString } from \"lodash\";\nimport fetch from \"./fetch.js\";\nexport function useProvider() {\n var {\n provider,\n customOptions,\n dependencies,\n requestInit\n } = useProviderArgs(...arguments);\n var {\n onError,\n transform,\n suspense,\n cache\n } = customOptions,\n defaults = _objectWithoutProperties(customOptions, _excluded);\n var [loading, setLoading] = useState(defaults.loading);\n var suspenseStatus = useRef(\"pending\");\n var suspender = useRef();\n var mounted = useRef(false);\n var error = useRef();\n var response = useRef();\n var data = useRef(defaults.data);\n var forceUpdate = useReducer(() => ({}), [])[1];\n var doFetch = useCallback( /*#__PURE__*/function () {\n var _ref = _asyncToGenerator(function* (provider, providerArgs) {\n try {\n error.current = undefined;\n if (!suspense) setLoading(true);\n var newRes = yield fetch(provider, cache, providerArgs);\n response.current = newRes;\n data.current = transform(data.current, newRes);\n } catch (e) {\n error.current = e;\n data.current = undefined;\n }\n if (!suspense) setLoading(false);\n if (error.current) onError(error.current);\n return data.current;\n });\n return function (_x, _x2) {\n return _ref.apply(this, arguments);\n };\n }(), [provider, customOptions, dependencies, requestInit, suspense, transform, defaults.data, onError, cache]);\n var makeFetch = useCallback( /*#__PURE__*/function () {\n var _ref2 = _asyncToGenerator(function* (providerOrBody, args) {\n var providerStr = provider;\n var providerArgs = [];\n if (isString(providerOrBody)) {\n providerStr = providerOrBody;\n }\n if (isObject(providerOrBody)) {\n providerArgs = providerOrBody;\n } else if (isObject(args)) {\n providerArgs = args;\n }\n if (suspense) {\n return _asyncToGenerator(function* () {\n suspender.current = doFetch(providerStr, providerArgs).then(newData => {\n suspenseStatus.current = \"success\";\n return newData;\n }, error => {\n /* istanbul ignore next */\n suspenseStatus.current = \"error\";\n error.current = error;\n return error;\n });\n forceUpdate();\n return yield suspender.current;\n })();\n }\n return doFetch(providerStr, providerArgs);\n });\n return function (_x3, _x4) {\n return _ref2.apply(this, arguments);\n };\n }(), [doFetch]);\n var request = useMemo(() => Object.defineProperties({\n query: makeFetch\n }, {\n loading: {\n get() {\n return loading;\n }\n },\n data: {\n get() {\n return data.current;\n }\n },\n error: {\n get() {\n return error.current;\n }\n }\n }), [makeFetch]);\n\n // onMount/onUpdate\n useEffect(() => {\n mounted.current = true;\n if (Array.isArray(dependencies) && provider) {\n request.query(provider, requestInit.args);\n }\n return () => mounted.current = false;\n }, dependencies);\n if (suspense && suspender.current) {\n switch (suspenseStatus.current) {\n case \"pending\":\n throw suspender.current;\n /* istanbul ignore next */\n case \"error\":\n throw error.current;\n }\n }\n return Object.assign([request, response.current, loading, error.current], _objectSpread(_objectSpread({\n request\n }, request), {}, {\n response: response.current,\n data: data.current,\n loading,\n error: error.current\n }));\n}\n//# sourceMappingURL=useProvider.js.map","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport { __secret_internals } from \"@next-core/runtime\";\nimport { wrapBrick } from \"@next-core/react-element\";\nexport function asyncWrapBrick(_x, _x2) {\n return _asyncWrapBrick.apply(this, arguments);\n}\nfunction _asyncWrapBrick() {\n _asyncWrapBrick = _asyncToGenerator(function* (brickName, eventsMapping) {\n yield __secret_internals.loadBricks([brickName]);\n return wrapBrick(brickName, eventsMapping);\n });\n return _asyncWrapBrick.apply(this, arguments);\n}\n//# sourceMappingURL=asyncWrapBrick.js.map","import { useEffect, useState } from \"react\";\nimport { getRuntime } from \"@next-core/runtime\";\nexport function useNavConfig() {\n var [navConfig, setNavConfig] = useState(() => getRuntime().getNavConfig());\n useEffect(() => {\n var listener = event => {\n setNavConfig(event.detail);\n };\n window.addEventListener(\"navConfig.change\", listener);\n return () => window.removeEventListener(\"navConfig.change\", listener);\n }, []);\n return navConfig;\n}\n//# sourceMappingURL=useNavConfig.js.map"],"names":["asyncGeneratorStep","gen","resolve","reject","_next","_throw","key","arg","info","value","error","done","Promise","then","_asyncToGenerator","fn","self","this","args","arguments","apply","err","undefined","_objectWithoutProperties","source","excluded","i","target","sourceKeys","Object","keys","length","indexOf","getOwnPropertySymbols","sourceSymbolKeys","prototype","propertyIsEnumerable","call","ReactUseBrick","_ref","useBrick","data","errorBoundary","refCallback","ignoredCallback","renderResult","setRenderResult","useState","mountResult","useRef","renderKey","setRenderKey","IdCounterRef","initialRenderId","useMemo","_secret_internals$ge","__secret_internals","getRenderId","useEffect","ignore","_init","newRender","renderUseBrick","current","_secret_internals$ge2","newRenderId","isTheSameRender","console","handleHttpError","init","_refCallback","useCallback","element","mountUseBrick","unmountUseBrick","tagName","WebComponent","ref","ReactUseMultipleBricks","_ref2","Array","isArray","map","item","index","v2Kit","getV2RuntimeFromDll","SingleBrickAsComponentFactory","BrickAsComponentFactory","useCurrentTheme","currentTheme","setCurrentTheme","getCurrentTheme","listenToThemeChange","event","detail","window","addEventListener","removeEventListener","useRecentApps","recentApps","setRecentApps","getRuntime","getRecentApps","listener","useCurrentApp","currentApp","useRouteRender","routeRender","setRouteRender","useProviderArgsDefaults","provider","customOptions","onError","transform","oldData","newData","loading","suspense","cache","dependencies","entries","reduce","acc","toString","_excluded","cacheMap","Map","_fetch","promise","cacheKey","v","sortObj","obj","sort","k","_len","_key","sortedArgs","isString","JSON","stringify","e","buildSortedCacheKey","has","delete","get","fetchByProvider","set","useProvider","requestInit","providerOrParamsOrGlobalOptions","globalOptionsOrDeps","deps","options","localOptions","isObject","customOptionKeys","_reduce","includes","restOptions","opts","useProviderArgs","defaults","setLoading","suspenseStatus","suspender","mounted","response","forceUpdate","useReducer","doFetch","providerArgs","newRes","_x","_x2","_x3","fetch","makeFetch","providerOrBody","providerStr","_x4","request","defineProperties","query","assign","asyncWrapBrick","_asyncWrapBrick","brickName","eventsMapping","loadBricks","wrapBrick","useNavConfig","navConfig","setNavConfig","getNavConfig"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunk_next_bricks_advanced=self.webpackChunk_next_bricks_advanced||[]).push([[9515],{19515:(e,t,n)=>{var i=n(49142);e.exports=i},49142:(e,t,n)=>{var i=n(75506),r=n(96384);function o(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}e.exports.Type=n(65417),e.exports.Schema=n(2290),e.exports.FAILSAFE_SCHEMA=n(18028),e.exports.JSON_SCHEMA=n(88739),e.exports.CORE_SCHEMA=n(68774),e.exports.DEFAULT_SAFE_SCHEMA=n(39590),e.exports.DEFAULT_FULL_SCHEMA=n(42846),e.exports.load=i.load,e.exports.loadAll=i.loadAll,e.exports.safeLoad=i.safeLoad,e.exports.safeLoadAll=i.safeLoadAll,e.exports.dump=r.dump,e.exports.safeDump=r.safeDump,e.exports.YAMLException=n(31796),e.exports.MINIMAL_SCHEMA=n(18028),e.exports.SAFE_SCHEMA=n(39590),e.exports.DEFAULT_SCHEMA=n(42846),e.exports.scan=o("scan"),e.exports.parse=o("parse"),e.exports.compose=o("compose"),e.exports.addConstructor=o("addConstructor")},43780:e=>{function t(e){return null==e}e.exports.isNothing=t,e.exports.isObject=function(e){return"object"==typeof e&&null!==e},e.exports.toArray=function(e){return Array.isArray(e)?e:t(e)?[]:[e]},e.exports.repeat=function(e,t){var n,i="";for(n=0;n<t;n+=1)i+=e;return i},e.exports.isNegativeZero=function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e},e.exports.extend=function(e,t){var n,i,r,o;if(t)for(n=0,i=(o=Object.keys(t)).length;n<i;n+=1)e[r=o[n]]=t[r];return e}},96384:(e,t,n)=>{var i=n(43780),r=n(31796),o=n(42846),a=n(39590),s=Object.prototype.toString,c=Object.prototype.hasOwnProperty,u=9,l=10,p=13,f=32,d=33,h=34,g=35,m=37,y=38,v=39,A=42,x=44,b=45,w=58,k=61,C=62,O=63,S=64,I=91,E=93,j=96,F=123,N=124,M=125,T={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},_=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function L(e){var t,n,o;if(t=e.toString(16).toUpperCase(),e<=255)n="x",o=2;else if(e<=65535)n="u",o=4;else{if(!(e<=4294967295))throw new r("code point within a string may not be greater than 0xFFFFFFFF");n="U",o=8}return"\\"+n+i.repeat("0",o-t.length)+t}function D(e){this.schema=e.schema||o,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=i.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var n,i,r,o,a,s,u;if(null===t)return{};for(n={},r=0,o=(i=Object.keys(t)).length;r<o;r+=1)a=i[r],s=String(t[a]),"!!"===a.slice(0,2)&&(a="tag:yaml.org,2002:"+a.slice(2)),(u=e.compiledTypeMap.fallback[a])&&c.call(u.styleAliases,s)&&(s=u.styleAliases[s]),n[a]=s;return n}(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function U(e,t){for(var n,r=i.repeat(" ",t),o=0,a=-1,s="",c=e.length;o<c;)-1===(a=e.indexOf("\n",o))?(n=e.slice(o),o=c):(n=e.slice(o,a+1),o=a+1),n.length&&"\n"!==n&&(s+=r),s+=n;return s}function Y(e,t){return"\n"+i.repeat(" ",e.indent*t)}function q(e){return e===f||e===u}function R(e){return 32<=e&&e<=126||161<=e&&e<=55295&&8232!==e&&8233!==e||57344<=e&&e<=65533&&65279!==e||65536<=e&&e<=1114111}function W(e,t){return R(e)&&65279!==e&&e!==x&&e!==I&&e!==E&&e!==F&&e!==M&&e!==w&&(e!==g||t&&function(e){return R(e)&&!q(e)&&65279!==e&&e!==p&&e!==l}(t))}function B(e){return/^\n* /.test(e)}var K=1,P=2,$=3,H=4,G=5;function V(e,t,n,i){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==_.indexOf(t))return"'"+t+"'";var o=e.indent*Math.max(1,n),a=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o),s=i||e.flowLevel>-1&&n>=e.flowLevel;switch(function(e,t,n,i,r){var o,a,s,c,u=!1,p=!1,f=-1!==i,T=-1,_=R(c=e.charCodeAt(0))&&65279!==c&&!q(c)&&c!==b&&c!==O&&c!==w&&c!==x&&c!==I&&c!==E&&c!==F&&c!==M&&c!==g&&c!==y&&c!==A&&c!==d&&c!==N&&c!==k&&c!==C&&c!==v&&c!==h&&c!==m&&c!==S&&c!==j&&!q(e.charCodeAt(e.length-1));if(t)for(o=0;o<e.length;o++){if(!R(a=e.charCodeAt(o)))return G;s=o>0?e.charCodeAt(o-1):null,_=_&&W(a,s)}else{for(o=0;o<e.length;o++){if((a=e.charCodeAt(o))===l)u=!0,f&&(p=p||o-T-1>i&&" "!==e[T+1],T=o);else if(!R(a))return G;s=o>0?e.charCodeAt(o-1):null,_=_&&W(a,s)}p=p||f&&o-T-1>i&&" "!==e[T+1]}return u||p?n>9&&B(e)?G:p?H:$:_&&!r(e)?K:P}(t,s,e.indent,a,(function(t){return function(e,t){var n,i;for(n=0,i=e.implicitTypes.length;n<i;n+=1)if(e.implicitTypes[n].resolve(t))return!0;return!1}(e,t)}))){case K:return t;case P:return"'"+t.replace(/'/g,"''")+"'";case $:return"|"+Z(t,e.indent)+z(U(t,o));case H:return">"+Z(t,e.indent)+z(U(function(e,t){for(var n,i,r,o=/(\n+)([^\n]*)/g,a=(r=-1!==(r=e.indexOf("\n"))?r:e.length,o.lastIndex=r,J(e.slice(0,r),t)),s="\n"===e[0]||" "===e[0];i=o.exec(e);){var c=i[1],u=i[2];n=" "===u[0],a+=c+(s||n||""===u?"":"\n")+J(u,t),s=n}return a}(t,a),o));case G:return'"'+function(e){for(var t,n,i,r="",o=0;o<e.length;o++)(t=e.charCodeAt(o))>=55296&&t<=56319&&(n=e.charCodeAt(o+1))>=56320&&n<=57343?(r+=L(1024*(t-55296)+n-56320+65536),o++):r+=!(i=T[t])&&R(t)?e[o]:i||L(t);return r}(t)+'"';default:throw new r("impossible error: invalid scalar style")}}()}function Z(e,t){var n=B(e)?String(t):"",i="\n"===e[e.length-1];return n+(!i||"\n"!==e[e.length-2]&&"\n"!==e?i?"":"-":"+")+"\n"}function z(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function J(e,t){if(""===e||" "===e[0])return e;for(var n,i,r=/ [^ ]/g,o=0,a=0,s=0,c="";n=r.exec(e);)(s=n.index)-o>t&&(i=a>o?a:s,c+="\n"+e.slice(o,i),o=i+1),a=s;return c+="\n",e.length-o>t&&a>o?c+=e.slice(o,a)+"\n"+e.slice(a+1):c+=e.slice(o),c.slice(1)}function Q(e,t,n){var i,o,a,u,l,p;for(a=0,u=(o=n?e.explicitTypes:e.implicitTypes).length;a<u;a+=1)if(((l=o[a]).instanceOf||l.predicate)&&(!l.instanceOf||"object"==typeof t&&t instanceof l.instanceOf)&&(!l.predicate||l.predicate(t))){if(e.tag=n?l.tag:"?",l.represent){if(p=e.styleMap[l.tag]||l.defaultStyle,"[object Function]"===s.call(l.represent))i=l.represent(t,p);else{if(!c.call(l.represent,p))throw new r("!<"+l.tag+'> tag resolver accepts not "'+p+'" style');i=l.represent[p](t,p)}e.dump=i}return!0}return!1}function X(e,t,n,i,o,a){e.tag=null,e.dump=n,Q(e,n,!1)||Q(e,n,!0);var c=s.call(e.dump);i&&(i=e.flowLevel<0||e.flowLevel>t);var u,p,f="[object Object]"===c||"[object Array]"===c;if(f&&(p=-1!==(u=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||p||2!==e.indent&&t>0)&&(o=!1),p&&e.usedDuplicates[u])e.dump="*ref_"+u;else{if(f&&p&&!e.usedDuplicates[u]&&(e.usedDuplicates[u]=!0),"[object Object]"===c)i&&0!==Object.keys(e.dump).length?(function(e,t,n,i){var o,a,s,c,u,p,f="",d=e.tag,h=Object.keys(n);if(!0===e.sortKeys)h.sort();else if("function"==typeof e.sortKeys)h.sort(e.sortKeys);else if(e.sortKeys)throw new r("sortKeys must be a boolean or a function");for(o=0,a=h.length;o<a;o+=1)p="",i&&0===o||(p+=Y(e,t)),c=n[s=h[o]],X(e,t+1,s,!0,!0,!0)&&((u=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024)&&(e.dump&&l===e.dump.charCodeAt(0)?p+="?":p+="? "),p+=e.dump,u&&(p+=Y(e,t)),X(e,t+1,c,!0,u)&&(e.dump&&l===e.dump.charCodeAt(0)?p+=":":p+=": ",f+=p+=e.dump));e.tag=d,e.dump=f||"{}"}(e,t,e.dump,o),p&&(e.dump="&ref_"+u+e.dump)):(function(e,t,n){var i,r,o,a,s,c="",u=e.tag,l=Object.keys(n);for(i=0,r=l.length;i<r;i+=1)s="",0!==i&&(s+=", "),e.condenseFlow&&(s+='"'),a=n[o=l[i]],X(e,t,o,!1,!1)&&(e.dump.length>1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),X(e,t,a,!1,!1)&&(c+=s+=e.dump));e.tag=u,e.dump="{"+c+"}"}(e,t,e.dump),p&&(e.dump="&ref_"+u+" "+e.dump));else if("[object Array]"===c){var d=e.noArrayIndent&&t>0?t-1:t;i&&0!==e.dump.length?(function(e,t,n,i){var r,o,a="",s=e.tag;for(r=0,o=n.length;r<o;r+=1)X(e,t+1,n[r],!0,!0)&&(i&&0===r||(a+=Y(e,t)),e.dump&&l===e.dump.charCodeAt(0)?a+="-":a+="- ",a+=e.dump);e.tag=s,e.dump=a||"[]"}(e,d,e.dump,o),p&&(e.dump="&ref_"+u+e.dump)):(function(e,t,n){var i,r,o="",a=e.tag;for(i=0,r=n.length;i<r;i+=1)X(e,t,n[i],!1,!1)&&(0!==i&&(o+=","+(e.condenseFlow?"":" ")),o+=e.dump);e.tag=a,e.dump="["+o+"]"}(e,d,e.dump),p&&(e.dump="&ref_"+u+" "+e.dump))}else{if("[object String]"!==c){if(e.skipInvalid)return!1;throw new r("unacceptable kind of an object to dump "+c)}"?"!==e.tag&&V(e,e.dump,t,a)}null!==e.tag&&"?"!==e.tag&&(e.dump="!<"+e.tag+"> "+e.dump)}return!0}function ee(e,t){var n,i,r=[],o=[];for(te(e,r,o),n=0,i=o.length;n<i;n+=1)t.duplicates.push(r[o[n]]);t.usedDuplicates=new Array(i)}function te(e,t,n){var i,r,o;if(null!==e&&"object"==typeof e)if(-1!==(r=t.indexOf(e)))-1===n.indexOf(r)&&n.push(r);else if(t.push(e),Array.isArray(e))for(r=0,o=e.length;r<o;r+=1)te(e[r],t,n);else for(r=0,o=(i=Object.keys(e)).length;r<o;r+=1)te(e[i[r]],t,n)}function ne(e,t){var n=new D(t=t||{});return n.noRefs||ee(e,n),X(n,0,e,!0,!0)?n.dump+"\n":""}e.exports.dump=ne,e.exports.safeDump=function(e,t){return ne(e,i.extend({schema:a},t))}},31796:e=>{function t(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t},e.exports=t},75506:(e,t,n)=>{var i=n(43780),r=n(31796),o=n(99348),a=n(39590),s=n(42846),c=Object.prototype.hasOwnProperty,u=1,l=2,p=3,f=4,d=1,h=2,g=3,m=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,y=/[\x85\u2028\u2029]/,v=/[,\[\]\{\}]/,A=/^(?:!|!!|![a-z\-]+!)$/i,x=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function b(e){return Object.prototype.toString.call(e)}function w(e){return 10===e||13===e}function k(e){return 9===e||32===e}function C(e){return 9===e||32===e||10===e||13===e}function O(e){return 44===e||91===e||93===e||123===e||125===e}function S(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function I(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function E(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var j=new Array(256),F=new Array(256),N=0;N<256;N++)j[N]=I(N)?1:0,F[N]=I(N);function M(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||s,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function T(e,t){return new r(t,new o(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function _(e,t){throw T(e,t)}function L(e,t){e.onWarning&&e.onWarning.call(null,T(e,t))}var D={YAML:function(e,t,n){var i,r,o;null!==e.version&&_(e,"duplication of %YAML directive"),1!==n.length&&_(e,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&_(e,"ill-formed argument of the YAML directive"),r=parseInt(i[1],10),o=parseInt(i[2],10),1!==r&&_(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&L(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var i,r;2!==n.length&&_(e,"TAG directive accepts exactly two arguments"),i=n[0],r=n[1],A.test(i)||_(e,"ill-formed tag handle (first argument) of the TAG directive"),c.call(e.tagMap,i)&&_(e,'there is a previously declared suffix for "'+i+'" tag handle'),x.test(r)||_(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[i]=r}};function U(e,t,n,i){var r,o,a,s;if(t<n){if(s=e.input.slice(t,n),i)for(r=0,o=s.length;r<o;r+=1)9===(a=s.charCodeAt(r))||32<=a&&a<=1114111||_(e,"expected valid JSON character");else m.test(s)&&_(e,"the stream contains non-printable characters");e.result+=s}}function Y(e,t,n,r){var o,a,s,u;for(i.isObject(n)||_(e,"cannot merge mappings; the provided source object is unacceptable"),s=0,u=(o=Object.keys(n)).length;s<u;s+=1)a=o[s],c.call(t,a)||(t[a]=n[a],r[a]=!0)}function q(e,t,n,i,r,o,a,s){var u,l;if(Array.isArray(r))for(u=0,l=(r=Array.prototype.slice.call(r)).length;u<l;u+=1)Array.isArray(r[u])&&_(e,"nested arrays are not supported inside keys"),"object"==typeof r&&"[object Object]"===b(r[u])&&(r[u]="[object Object]");if("object"==typeof r&&"[object Object]"===b(r)&&(r="[object Object]"),r=String(r),null===t&&(t={}),"tag:yaml.org,2002:merge"===i)if(Array.isArray(o))for(u=0,l=o.length;u<l;u+=1)Y(e,t,o[u],n);else Y(e,t,o,n);else e.json||c.call(n,r)||!c.call(t,r)||(e.line=a||e.line,e.position=s||e.position,_(e,"duplicated mapping key")),t[r]=o,delete n[r];return t}function R(e){var t;10===(t=e.input.charCodeAt(e.position))?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):_(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function W(e,t,n){for(var i=0,r=e.input.charCodeAt(e.position);0!==r;){for(;k(r);)r=e.input.charCodeAt(++e.position);if(t&&35===r)do{r=e.input.charCodeAt(++e.position)}while(10!==r&&13!==r&&0!==r);if(!w(r))break;for(R(e),r=e.input.charCodeAt(e.position),i++,e.lineIndent=0;32===r;)e.lineIndent++,r=e.input.charCodeAt(++e.position)}return-1!==n&&0!==i&&e.lineIndent<n&&L(e,"deficient indentation"),i}function B(e){var t,n=e.position;return!(45!==(t=e.input.charCodeAt(n))&&46!==t||t!==e.input.charCodeAt(n+1)||t!==e.input.charCodeAt(n+2)||(n+=3,0!==(t=e.input.charCodeAt(n))&&!C(t)))}function K(e,t){1===t?e.result+=" ":t>1&&(e.result+=i.repeat("\n",t-1))}function P(e,t){var n,i,r=e.tag,o=e.anchor,a=[],s=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),i=e.input.charCodeAt(e.position);0!==i&&45===i&&C(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,W(e,!0,-1)&&e.lineIndent<=t)a.push(null),i=e.input.charCodeAt(e.position);else if(n=e.line,G(e,t,p,!1,!0),a.push(e.result),W(e,!0,-1),i=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==i)_(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break;return!!s&&(e.tag=r,e.anchor=o,e.kind="sequence",e.result=a,!0)}function $(e){var t,n,i,r,o=!1,a=!1;if(33!==(r=e.input.charCodeAt(e.position)))return!1;if(null!==e.tag&&_(e,"duplication of a tag property"),60===(r=e.input.charCodeAt(++e.position))?(o=!0,r=e.input.charCodeAt(++e.position)):33===r?(a=!0,n="!!",r=e.input.charCodeAt(++e.position)):n="!",t=e.position,o){do{r=e.input.charCodeAt(++e.position)}while(0!==r&&62!==r);e.position<e.length?(i=e.input.slice(t,e.position),r=e.input.charCodeAt(++e.position)):_(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==r&&!C(r);)33===r&&(a?_(e,"tag suffix cannot contain exclamation marks"):(n=e.input.slice(t-1,e.position+1),A.test(n)||_(e,"named tag handle cannot contain such characters"),a=!0,t=e.position+1)),r=e.input.charCodeAt(++e.position);i=e.input.slice(t,e.position),v.test(i)&&_(e,"tag suffix cannot contain flow indicator characters")}return i&&!x.test(i)&&_(e,"tag name cannot contain such characters: "+i),o?e.tag=i:c.call(e.tagMap,n)?e.tag=e.tagMap[n]+i:"!"===n?e.tag="!"+i:"!!"===n?e.tag="tag:yaml.org,2002:"+i:_(e,'undeclared tag handle "'+n+'"'),!0}function H(e){var t,n;if(38!==(n=e.input.charCodeAt(e.position)))return!1;for(null!==e.anchor&&_(e,"duplication of an anchor property"),n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!C(n)&&!O(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&_(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function G(e,t,n,r,o){var a,s,m,y,v,A,x,b,I=1,N=!1,M=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,a=s=m=f===n||p===n,r&&W(e,!0,-1)&&(N=!0,e.lineIndent>t?I=1:e.lineIndent===t?I=0:e.lineIndent<t&&(I=-1)),1===I)for(;$(e)||H(e);)W(e,!0,-1)?(N=!0,m=a,e.lineIndent>t?I=1:e.lineIndent===t?I=0:e.lineIndent<t&&(I=-1)):m=!1;if(m&&(m=N||o),1!==I&&f!==n||(x=u===n||l===n?t:t+1,b=e.position-e.lineStart,1===I?m&&(P(e,b)||function(e,t,n){var i,r,o,a,s,c=e.tag,u=e.anchor,p={},d={},h=null,g=null,m=null,y=!1,v=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=p),s=e.input.charCodeAt(e.position);0!==s;){if(i=e.input.charCodeAt(e.position+1),o=e.line,a=e.position,63!==s&&58!==s||!C(i)){if(!G(e,n,l,!1,!0))break;if(e.line===o){for(s=e.input.charCodeAt(e.position);k(s);)s=e.input.charCodeAt(++e.position);if(58===s)C(s=e.input.charCodeAt(++e.position))||_(e,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(q(e,p,d,h,g,null),h=g=m=null),v=!0,y=!1,r=!1,h=e.tag,g=e.result;else{if(!v)return e.tag=c,e.anchor=u,!0;_(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!v)return e.tag=c,e.anchor=u,!0;_(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===s?(y&&(q(e,p,d,h,g,null),h=g=m=null),v=!0,y=!0,r=!0):y?(y=!1,r=!0):_(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,s=i;if((e.line===o||e.lineIndent>t)&&(G(e,t,f,!0,r)&&(y?g=e.result:m=e.result),y||(q(e,p,d,h,g,m,o,a),h=g=m=null),W(e,!0,-1),s=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==s)_(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return y&&q(e,p,d,h,g,null),v&&(e.tag=c,e.anchor=u,e.kind="mapping",e.result=p),v}(e,b,x))||function(e,t){var n,i,r,o,a,s,c,l,p,f,d=!0,h=e.tag,g=e.anchor,m={};if(91===(f=e.input.charCodeAt(e.position)))r=93,s=!1,i=[];else{if(123!==f)return!1;r=125,s=!0,i={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),f=e.input.charCodeAt(++e.position);0!==f;){if(W(e,!0,t),(f=e.input.charCodeAt(e.position))===r)return e.position++,e.tag=h,e.anchor=g,e.kind=s?"mapping":"sequence",e.result=i,!0;d||_(e,"missed comma between flow collection entries"),p=null,o=a=!1,63===f&&C(e.input.charCodeAt(e.position+1))&&(o=a=!0,e.position++,W(e,!0,t)),n=e.line,G(e,t,u,!1,!0),l=e.tag,c=e.result,W(e,!0,t),f=e.input.charCodeAt(e.position),!a&&e.line!==n||58!==f||(o=!0,f=e.input.charCodeAt(++e.position),W(e,!0,t),G(e,t,u,!1,!0),p=e.result),s?q(e,i,m,l,c,p):o?i.push(q(e,null,m,l,c,p)):i.push(c),W(e,!0,t),44===(f=e.input.charCodeAt(e.position))?(d=!0,f=e.input.charCodeAt(++e.position)):d=!1}_(e,"unexpected end of the stream within a flow collection")}(e,x)?M=!0:(s&&function(e,t){var n,r,o,a,s,c=d,u=!1,l=!1,p=t,f=0,m=!1;if(124===(a=e.input.charCodeAt(e.position)))r=!1;else{if(62!==a)return!1;r=!0}for(e.kind="scalar",e.result="";0!==a;)if(43===(a=e.input.charCodeAt(++e.position))||45===a)d===c?c=43===a?g:h:_(e,"repeat of a chomping mode identifier");else{if(!((o=48<=(s=a)&&s<=57?s-48:-1)>=0))break;0===o?_(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?_(e,"repeat of an indentation width identifier"):(p=t+o-1,l=!0)}if(k(a)){do{a=e.input.charCodeAt(++e.position)}while(k(a));if(35===a)do{a=e.input.charCodeAt(++e.position)}while(!w(a)&&0!==a)}for(;0!==a;){for(R(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!l||e.lineIndent<p)&&32===a;)e.lineIndent++,a=e.input.charCodeAt(++e.position);if(!l&&e.lineIndent>p&&(p=e.lineIndent),w(a))f++;else{if(e.lineIndent<p){c===g?e.result+=i.repeat("\n",u?1+f:f):c===d&&u&&(e.result+="\n");break}for(r?k(a)?(m=!0,e.result+=i.repeat("\n",u?1+f:f)):m?(m=!1,e.result+=i.repeat("\n",f+1)):0===f?u&&(e.result+=" "):e.result+=i.repeat("\n",f):e.result+=i.repeat("\n",u?1+f:f),u=!0,l=!0,f=0,n=e.position;!w(a)&&0!==a;)a=e.input.charCodeAt(++e.position);U(e,n,e.position,!1)}}return!0}(e,x)||function(e,t){var n,i,r;if(39!==(n=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,i=r=e.position;0!==(n=e.input.charCodeAt(e.position));)if(39===n){if(U(e,i,e.position,!0),39!==(n=e.input.charCodeAt(++e.position)))return!0;i=e.position,e.position++,r=e.position}else w(n)?(U(e,i,r,!0),K(e,W(e,!1,t)),i=r=e.position):e.position===e.lineStart&&B(e)?_(e,"unexpected end of the document within a single quoted scalar"):(e.position++,r=e.position);_(e,"unexpected end of the stream within a single quoted scalar")}(e,x)||function(e,t){var n,i,r,o,a,s,c;if(34!==(s=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;0!==(s=e.input.charCodeAt(e.position));){if(34===s)return U(e,n,e.position,!0),e.position++,!0;if(92===s){if(U(e,n,e.position,!0),w(s=e.input.charCodeAt(++e.position)))W(e,!1,t);else if(s<256&&j[s])e.result+=F[s],e.position++;else if((a=120===(c=s)?2:117===c?4:85===c?8:0)>0){for(r=a,o=0;r>0;r--)(a=S(s=e.input.charCodeAt(++e.position)))>=0?o=(o<<4)+a:_(e,"expected hexadecimal character");e.result+=E(o),e.position++}else _(e,"unknown escape sequence");n=i=e.position}else w(s)?(U(e,n,i,!0),K(e,W(e,!1,t)),n=i=e.position):e.position===e.lineStart&&B(e)?_(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}_(e,"unexpected end of the stream within a double quoted scalar")}(e,x)?M=!0:function(e){var t,n,i;if(42!==(i=e.input.charCodeAt(e.position)))return!1;for(i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!C(i)&&!O(i);)i=e.input.charCodeAt(++e.position);return e.position===t&&_(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),c.call(e.anchorMap,n)||_(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],W(e,!0,-1),!0}(e)?(M=!0,null===e.tag&&null===e.anchor||_(e,"alias node should not have any properties")):function(e,t,n){var i,r,o,a,s,c,u,l,p=e.kind,f=e.result;if(C(l=e.input.charCodeAt(e.position))||O(l)||35===l||38===l||42===l||33===l||124===l||62===l||39===l||34===l||37===l||64===l||96===l)return!1;if((63===l||45===l)&&(C(i=e.input.charCodeAt(e.position+1))||n&&O(i)))return!1;for(e.kind="scalar",e.result="",r=o=e.position,a=!1;0!==l;){if(58===l){if(C(i=e.input.charCodeAt(e.position+1))||n&&O(i))break}else if(35===l){if(C(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&B(e)||n&&O(l))break;if(w(l)){if(s=e.line,c=e.lineStart,u=e.lineIndent,W(e,!1,-1),e.lineIndent>=t){a=!0,l=e.input.charCodeAt(e.position);continue}e.position=o,e.line=s,e.lineStart=c,e.lineIndent=u;break}}a&&(U(e,r,o,!1),K(e,e.line-s),r=o=e.position,a=!1),k(l)||(o=e.position+1),l=e.input.charCodeAt(++e.position)}return U(e,r,o,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,x,u===n)&&(M=!0,null===e.tag&&(e.tag="?")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===I&&(M=m&&P(e,b))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&_(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),y=0,v=e.implicitTypes.length;y<v;y+=1)if((A=e.implicitTypes[y]).resolve(e.result)){e.result=A.construct(e.result),e.tag=A.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else c.call(e.typeMap[e.kind||"fallback"],e.tag)?(A=e.typeMap[e.kind||"fallback"][e.tag],null!==e.result&&A.kind!==e.kind&&_(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+A.kind+'", not "'+e.kind+'"'),A.resolve(e.result)?(e.result=A.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):_(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):_(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||M}function V(e){var t,n,i,r,o=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(r=e.input.charCodeAt(e.position))&&(W(e,!0,-1),r=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==r));){for(a=!0,r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!C(r);)r=e.input.charCodeAt(++e.position);for(i=[],(n=e.input.slice(t,e.position)).length<1&&_(e,"directive name must not be less than one character in length");0!==r;){for(;k(r);)r=e.input.charCodeAt(++e.position);if(35===r){do{r=e.input.charCodeAt(++e.position)}while(0!==r&&!w(r));break}if(w(r))break;for(t=e.position;0!==r&&!C(r);)r=e.input.charCodeAt(++e.position);i.push(e.input.slice(t,e.position))}0!==r&&R(e),c.call(D,n)?D[n](e,n,i):L(e,'unknown document directive "'+n+'"')}W(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,W(e,!0,-1)):a&&_(e,"directives end mark is expected"),G(e,e.lineIndent-1,f,!1,!0),W(e,!0,-1),e.checkLineBreaks&&y.test(e.input.slice(o,e.position))&&L(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&B(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,W(e,!0,-1)):e.position<e.length-1&&_(e,"end of the stream or a document separator is expected")}function Z(e,t){t=t||{},0!==(e=String(e)).length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));var n=new M(e,t),i=e.indexOf("\0");for(-1!==i&&(n.position=i,_(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)V(n);return n.documents}function z(e,t,n){null!==t&&"object"==typeof t&&void 0===n&&(n=t,t=null);var i=Z(e,n);if("function"!=typeof t)return i;for(var r=0,o=i.length;r<o;r+=1)t(i[r])}function J(e,t){var n=Z(e,t);if(0!==n.length){if(1===n.length)return n[0];throw new r("expected a single document in the stream, but found more")}}e.exports.loadAll=z,e.exports.load=J,e.exports.safeLoadAll=function(e,t,n){return"object"==typeof t&&null!==t&&void 0===n&&(n=t,t=null),z(e,t,i.extend({schema:a},n))},e.exports.safeLoad=function(e,t){return J(e,i.extend({schema:a},t))}},99348:(e,t,n)=>{var i=n(43780);function r(e,t,n,i,r){this.name=e,this.buffer=t,this.position=n,this.line=i,this.column=r}r.prototype.getSnippet=function(e,t){var n,r,o,a,s;if(!this.buffer)return null;for(e=e||4,t=t||75,n="",r=this.position;r>0&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(r-1));)if(r-=1,this.position-r>t/2-1){n=" ... ",r+=5;break}for(o="",a=this.position;a<this.buffer.length&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(a));)if((a+=1)-this.position>t/2-1){o=" ... ",a-=5;break}return s=this.buffer.slice(r,a),i.repeat(" ",e)+n+s+o+"\n"+i.repeat(" ",e+this.position-r+n.length)+"^"},r.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(n+=":\n"+t),n},e.exports=r},2290:(e,t,n)=>{var i=n(43780),r=n(31796),o=n(65417);function a(e,t,n){var i=[];return e.include.forEach((function(e){n=a(e,t,n)})),e[t].forEach((function(e){n.forEach((function(t,n){t.tag===e.tag&&t.kind===e.kind&&i.push(n)})),n.push(e)})),n.filter((function(e,t){return-1===i.indexOf(t)}))}function s(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach((function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new r("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")})),this.compiledImplicit=a(this,"implicit",[]),this.compiledExplicit=a(this,"explicit",[]),this.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{}};function i(e){n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e<t;e+=1)arguments[e].forEach(i);return n}(this.compiledImplicit,this.compiledExplicit)}s.DEFAULT=null,s.create=function(){var e,t;switch(arguments.length){case 1:e=s.DEFAULT,t=arguments[0];break;case 2:e=arguments[0],t=arguments[1];break;default:throw new r("Wrong number of arguments for Schema.create function")}if(e=i.toArray(e),t=i.toArray(t),!e.every((function(e){return e instanceof s})))throw new r("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!t.every((function(e){return e instanceof o})))throw new r("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new s({include:e,explicit:t})},e.exports=s},68774:(e,t,n)=>{var i=n(2290);e.exports=new i({include:[n(88739)]})},42846:(e,t,n)=>{var i=n(2290);e.exports=i.DEFAULT=new i({include:[n(39590)],explicit:[n(19280),n(46751),n(85986)]})},39590:(e,t,n)=>{var i=n(2290);e.exports=new i({include:[n(68774)],implicit:[n(24938),n(37042)],explicit:[n(40273),n(73901),n(343),n(6562)]})},18028:(e,t,n)=>{var i=n(2290);e.exports=new i({explicit:[n(52621),n(75853),n(71256)]})},88739:(e,t,n)=>{var i=n(2290);e.exports=new i({include:[n(18028)],implicit:[n(5137),n(21548),n(96539),n(46076)]})},65417:(e,t,n)=>{var i=n(31796),r=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],o=["scalar","sequence","mapping"];e.exports=function(e,t){var n,a;if(t=t||{},Object.keys(t).forEach((function(t){if(-1===r.indexOf(t))throw new i('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,a={},null!==n&&Object.keys(n).forEach((function(e){n[e].forEach((function(t){a[String(t)]=e}))})),a),-1===o.indexOf(this.kind))throw new i('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},40273:(e,t,n)=>{var i;try{i=Object(function(){var e=new Error("Cannot find module 'buffer'");throw e.code="MODULE_NOT_FOUND",e}())}catch(e){}var r=n(65417),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";e.exports=new r("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,i=0,r=e.length,a=o;for(n=0;n<r;n++)if(!((t=a.indexOf(e.charAt(n)))>64)){if(t<0)return!1;i+=6}return i%8==0},construct:function(e){var t,n,r=e.replace(/[\r\n=]/g,""),a=r.length,s=o,c=0,u=[];for(t=0;t<a;t++)t%4==0&&t&&(u.push(c>>16&255),u.push(c>>8&255),u.push(255&c)),c=c<<6|s.indexOf(r.charAt(t));return 0==(n=a%4*6)?(u.push(c>>16&255),u.push(c>>8&255),u.push(255&c)):18===n?(u.push(c>>10&255),u.push(c>>2&255)):12===n&&u.push(c>>4&255),i?i.from?i.from(u):new i(u):u},predicate:function(e){return i&&i.isBuffer(e)},represent:function(e){var t,n,i="",r=0,a=e.length,s=o;for(t=0;t<a;t++)t%3==0&&t&&(i+=s[r>>18&63],i+=s[r>>12&63],i+=s[r>>6&63],i+=s[63&r]),r=(r<<8)+e[t];return 0==(n=a%3)?(i+=s[r>>18&63],i+=s[r>>12&63],i+=s[r>>6&63],i+=s[63&r]):2===n?(i+=s[r>>10&63],i+=s[r>>4&63],i+=s[r<<2&63],i+=s[64]):1===n&&(i+=s[r>>2&63],i+=s[r<<4&63],i+=s[64],i+=s[64]),i}})},21548:(e,t,n)=>{var i=n(65417);e.exports=new i("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},46076:(e,t,n)=>{var i=n(43780),r=n(65417),o=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),a=/^[-+]?[0-9]+e/;e.exports=new r("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!o.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n,i,r;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,r=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){r.unshift(parseFloat(e,10))})),t=0,i=1,r.forEach((function(e){t+=e*i,i*=60})),n*t):n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||i.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(i.isNegativeZero(e))return"-0.0";return n=e.toString(10),a.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},96539:(e,t,n)=>{var i=n(43780),r=n(65417);function o(e){return 48<=e&&e<=55}function a(e){return 48<=e&&e<=57}e.exports=new r("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,i=e.length,r=0,s=!1;if(!i)return!1;if("-"!==(t=e[r])&&"+"!==t||(t=e[++r]),"0"===t){if(r+1===i)return!0;if("b"===(t=e[++r])){for(r++;r<i;r++)if("_"!==(t=e[r])){if("0"!==t&&"1"!==t)return!1;s=!0}return s&&"_"!==t}if("x"===t){for(r++;r<i;r++)if("_"!==(t=e[r])){if(!(48<=(n=e.charCodeAt(r))&&n<=57||65<=n&&n<=70||97<=n&&n<=102))return!1;s=!0}return s&&"_"!==t}for(;r<i;r++)if("_"!==(t=e[r])){if(!o(e.charCodeAt(r)))return!1;s=!0}return s&&"_"!==t}if("_"===t)return!1;for(;r<i;r++)if("_"!==(t=e[r])){if(":"===t)break;if(!a(e.charCodeAt(r)))return!1;s=!0}return!(!s||"_"===t)&&(":"!==t||/^(:[0-5]?[0-9])+$/.test(e.slice(r)))},construct:function(e){var t,n,i=e,r=1,o=[];return-1!==i.indexOf("_")&&(i=i.replace(/_/g,"")),"-"!==(t=i[0])&&"+"!==t||("-"===t&&(r=-1),t=(i=i.slice(1))[0]),"0"===i?0:"0"===t?"b"===i[1]?r*parseInt(i.slice(2),2):"x"===i[1]?r*parseInt(i,16):r*parseInt(i,8):-1!==i.indexOf(":")?(i.split(":").forEach((function(e){o.unshift(parseInt(e,10))})),i=0,n=1,o.forEach((function(e){i+=e*n,n*=60})),r*i):r*parseInt(i,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!i.isNegativeZero(e)},represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},85986:(e,t,n)=>{var i;try{i=n(Object(function(){var e=new Error("Cannot find module 'esprima'");throw e.code="MODULE_NOT_FOUND",e}()))}catch(e){"undefined"!=typeof window&&(i=window.esprima)}var r=n(65417);e.exports=new r("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",n=i.parse(t,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&("ArrowFunctionExpression"===n.body[0].expression.type||"FunctionExpression"===n.body[0].expression.type)}catch(e){return!1}},construct:function(e){var t,n="("+e+")",r=i.parse(n,{range:!0}),o=[];if("Program"!==r.type||1!==r.body.length||"ExpressionStatement"!==r.body[0].type||"ArrowFunctionExpression"!==r.body[0].expression.type&&"FunctionExpression"!==r.body[0].expression.type)throw new Error("Failed to resolve function");return r.body[0].expression.params.forEach((function(e){o.push(e.name)})),t=r.body[0].expression.body.range,"BlockStatement"===r.body[0].expression.body.type?new Function(o,n.slice(t[0]+1,t[1]-1)):new Function(o,"return "+n.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}})},46751:(e,t,n)=>{var i=n(65417);e.exports=new i("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:function(e){if(null===e)return!1;if(0===e.length)return!1;var t=e,n=/\/([gim]*)$/.exec(e),i="";if("/"===t[0]){if(n&&(i=n[1]),i.length>3)return!1;if("/"!==t[t.length-i.length-1])return!1}return!0},construct:function(e){var t=e,n=/\/([gim]*)$/.exec(e),i="";return"/"===t[0]&&(n&&(i=n[1]),t=t.slice(1,t.length-i.length-1)),new RegExp(t,i)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}})},19280:(e,t,n)=>{var i=n(65417);e.exports=new i("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:function(){return!0},construct:function(){},predicate:function(e){return void 0===e},represent:function(){return""}})},71256:(e,t,n)=>{var i=n(65417);e.exports=new i("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})},37042:(e,t,n)=>{var i=n(65417);e.exports=new i("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}})},5137:(e,t,n)=>{var i=n(65417);e.exports=new i("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},73901:(e,t,n)=>{var i=n(65417),r=Object.prototype.hasOwnProperty,o=Object.prototype.toString;e.exports=new i("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,i,a,s,c=[],u=e;for(t=0,n=u.length;t<n;t+=1){if(i=u[t],s=!1,"[object Object]"!==o.call(i))return!1;for(a in i)if(r.call(i,a)){if(s)return!1;s=!0}if(!s)return!1;if(-1!==c.indexOf(a))return!1;c.push(a)}return!0},construct:function(e){return null!==e?e:[]}})},343:(e,t,n)=>{var i=n(65417),r=Object.prototype.toString;e.exports=new i("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,i,o,a,s=e;for(a=new Array(s.length),t=0,n=s.length;t<n;t+=1){if(i=s[t],"[object Object]"!==r.call(i))return!1;if(1!==(o=Object.keys(i)).length)return!1;a[t]=[o[0],i[o[0]]]}return!0},construct:function(e){if(null===e)return[];var t,n,i,r,o,a=e;for(o=new Array(a.length),t=0,n=a.length;t<n;t+=1)i=a[t],r=Object.keys(i),o[t]=[r[0],i[r[0]]];return o}})},75853:(e,t,n)=>{var i=n(65417);e.exports=new i("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})},6562:(e,t,n)=>{var i=n(65417),r=Object.prototype.hasOwnProperty;e.exports=new i("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null===e)return!0;var t,n=e;for(t in n)if(r.call(n,t)&&null!==n[t])return!1;return!0},construct:function(e){return null!==e?e:{}}})},52621:(e,t,n)=>{var i=n(65417);e.exports=new i("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}})},24938:(e,t,n)=>{var i=n(65417),r=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),o=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");e.exports=new i("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==r.exec(e)||null!==o.exec(e))},construct:function(e){var t,n,i,a,s,c,u,l,p=0,f=null;if(null===(t=r.exec(e))&&(t=o.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],i=+t[2]-1,a=+t[3],!t[4])return new Date(Date.UTC(n,i,a));if(s=+t[4],c=+t[5],u=+t[6],t[7]){for(p=t[7].slice(0,3);p.length<3;)p+="0";p=+p}return t[9]&&(f=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(f=-f)),l=new Date(Date.UTC(n,i,a,s,c,u,p)),f&&l.setTime(l.getTime()-f),l},instanceOf:Date,represent:function(e){return e.toISOString()}})}}]);
2
- //# sourceMappingURL=9515.4d0b35e9.js.map
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunk_next_bricks_advanced=self.webpackChunk_next_bricks_advanced||[]).push([[9559,1940],{24586:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(11369);function o(e,t,r){return(t=(0,n.A)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},69740:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(24586);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){(0,n.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},11369:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(17545);function o(e){var t=function(e,t){if("object"!=(0,n.A)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,"string");if("object"!=(0,n.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,n.A)(t)?t:t+""}},17545:(e,t,r)=>{function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.d(t,{A:()=>n})},49559:(e,t,r)=>{r.r(t),r.d(t,{supply:()=>c});var n=r(69740),o=r(41030),a=r(21302),i=r(75217);function c(e,t,r){var o=(0,n.A)({},t);for(var a of(o[void 0]=void 0,e))if(!Object.prototype.hasOwnProperty.call(o,a)){var i=p(a,r);void 0!==i&&(o[a]=i)}return o}var u=new Set(["fill","pull","pullAll","pullAllBy","pullAllWith","pullAt","remove","reverse","assign","assignIn","assignInWith","assignWith","defaults","defaultsDeep","merge","mergeWith","set","setWith","unset","update","updateWith","after","ary","before","bind","bindKey","curry","curryRight","debounce","defer","delay","flip","memoize","negate","once","overArgs","partial","partialRight","rearg","rest","spread","throttle","unary","wrap"]),l=new Set(["lang","langData","locale","localeData","defineLocale","updateLocale","updateOffset"]),s=new Set(["Array","Boolean","Date","Infinity","JSON","Math","NaN","Number","String","RegExp","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","isFinite","isNaN","parseFloat","parseInt","Map","Set","URLSearchParams","WeakMap","WeakSet","atob","btoa"]);function p(e,t){switch(e){case"Object":return r=Object,n=["entries","fromEntries","keys","values"],Object.fromEntries(n.map((e=>[e,function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return r[e].apply(r,n)}])));case"_":return Object.fromEntries(Object.entries(o).filter((e=>!u.has(e[0]))).concat(t?[["uniqueId",e=>"".concat(null!=e?e:"","42")]]:[]));case"moment":return Object.assign((function(){return a(...arguments)}),Object.fromEntries(Object.entries(a).filter((e=>!l.has(e[0])))));case"PIPES":return i.pipes;case"TAG_URL":return f(!0);case"SAFE_TAG_URL":return f();default:if(s.has(e))return window[e]}var r,n}function f(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];var a=[];return t.forEach(((t,r)=>{a.push(t),r<n.length&&a.push(e?String(n[r]).replace(/[^/]+/g,(e=>encodeURIComponent(e))):encodeURIComponent(String(n[r])))})),a.join("")}}}}]);
2
- //# sourceMappingURL=9559.125b4c69.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chunks/9559.125b4c69.js","mappings":"oKACe,SAASA,EAAgBC,EAAKC,EAAKC,GAYhD,OAXAD,GAAM,OAAcA,MACTD,EACTG,OAAOC,eAAeJ,EAAKC,EAAK,CAC9BC,MAAOA,EACPG,YAAY,EACZC,cAAc,EACdC,UAAU,IAGZP,EAAIC,GAAOC,EAENF,CACT,C,kDCbA,SAASQ,EAAQC,EAAGC,GAClB,IAAIC,EAAIR,OAAOS,KAAKH,GACpB,GAAIN,OAAOU,sBAAuB,CAChC,IAAIC,EAAIX,OAAOU,sBAAsBJ,GACrCC,IAAMI,EAAIA,EAAEC,QAAO,SAAUL,GAC3B,OAAOP,OAAOa,yBAAyBP,EAAGC,GAAGL,UAC/C,KAAKM,EAAEM,KAAKC,MAAMP,EAAGG,EACvB,CACA,OAAOH,CACT,CACe,SAASQ,EAAeV,GACrC,IAAK,IAAIC,EAAI,EAAGA,EAAIU,UAAUC,OAAQX,IAAK,CACzC,IAAIC,EAAI,MAAQS,UAAUV,GAAKU,UAAUV,GAAK,CAAC,EAC/CA,EAAI,EAAIF,EAAQL,OAAOQ,IAAI,GAAIW,SAAQ,SAAUZ,IAC/C,OAAeD,EAAGC,EAAGC,EAAED,GACzB,IAAKP,OAAOoB,0BAA4BpB,OAAOqB,iBAAiBf,EAAGN,OAAOoB,0BAA0BZ,IAAMH,EAAQL,OAAOQ,IAAIW,SAAQ,SAAUZ,GAC7IP,OAAOC,eAAeK,EAAGC,EAAGP,OAAOa,yBAAyBL,EAAGD,GACjE,GACF,CACA,OAAOD,CACT,C,kDCnBe,SAASgB,EAAcd,GACpC,IAAIe,ECFS,SAAqBf,EAAGD,GACrC,GAAI,WAAY,OAAQC,KAAOA,EAAG,OAAOA,EACzC,IAAIF,EAAIE,EAAEgB,OAAOC,aACjB,QAAI,IAAWnB,EAAG,CAChB,IAAIiB,EAAIjB,EAAEoB,KAAKlB,EAAGD,UAClB,GAAI,WAAY,OAAQgB,GAAI,OAAOA,EACnC,MAAM,IAAII,UAAU,+CACtB,CACA,OAAyBC,OAAiBpB,EAC5C,CDPUiB,CAAYjB,GACpB,MAAO,WAAY,OAAQe,GAAKA,EAAIA,EAAI,EAC1C,C,kBELe,SAASM,EAAQlB,GAG9B,OAAOkB,EAAU,mBAAqBL,QAAU,iBAAmBA,OAAOM,SAAW,SAAUnB,GAC7F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAK,mBAAqBa,QAAUb,EAAEoB,cAAgBP,QAAUb,IAAMa,OAAOQ,UAAY,gBAAkBrB,CACpH,EAAGkB,EAAQlB,EACb,C,+GCJO,SAASsB,EAAOC,EAAuBC,EAAyBC,GACrE,IAAIC,GAAkB,OAAc,CAAC,EAAGF,GAGxC,IAAK,IAAIG,KADTD,OAAgB,QAAeE,EACNL,GACvB,IAAKlC,OAAOgC,UAAUQ,eAAed,KAAKW,EAAiBC,GAAe,CACxE,IAAIG,EAAWC,EAAiBJ,EAAcF,QAC7BG,IAAbE,IACFJ,EAAgBC,GAAgBG,EAEpC,CAEF,OAAOJ,CACT,CACA,IAAIM,EAAqB,IAAIC,IAAI,CAGjC,OAAQ,OAAQ,UAAW,YAAa,cAAe,SAAU,SAAU,UAAW,SAAU,WAAY,eAAgB,aAAc,WAAY,eAAgB,QAAS,YAAa,MAAO,UAAW,QAAS,SAAU,aAWjO,QAAS,MAAO,SAAU,OAAQ,UAAW,QAAS,aAAc,WAAY,QAAS,QAAS,OAAQ,UAAW,SAAU,OAAQ,WAAY,UAAW,eAAgB,QAAS,OAAQ,SAAU,WAAY,QAAS,SAG1NC,EAAqB,IAAID,IAAI,CAAC,OAAQ,WAAY,SAAU,aAAc,eAAgB,eAAgB,iBAC1GE,EAAuB,IAAIF,IAAI,CAAC,QAAS,UAAW,OAAQ,WAAY,OAAQ,OAAQ,MAAO,SAAU,SAAU,SAAU,YAAa,qBAAsB,YAAa,qBAAsB,WAAY,QAAS,aAAc,WAAY,MAAO,MAAO,kBAAmB,UAAW,UAAW,OAAQ,SACrT,SAASF,EAAiBJ,EAAcF,GACtC,OAAQE,GACN,IAAK,SAEH,OAmBmBS,EAnBI/C,OAmBIgD,EAnBI,CAAC,UAAW,cAAe,OAAQ,UAoB/DhD,OAAOiD,YAAYD,EAAQE,KAAIC,GAAU,CAACA,EAAQ,WACvD,IAAK,IAAIC,EAAOnC,UAAUC,OAAQmC,EAAO,IAAIC,MAAMF,GAAOG,EAAO,EAAGA,EAAOH,EAAMG,IAC/EF,EAAKE,GAAQtC,UAAUsC,GAEzB,OAAOR,EAAOI,GAAQpC,MAAMgC,EAAQM,EACtC,MAxBE,IAAK,IACH,OAAOrD,OAAOiD,YAAYjD,OAAOwD,QAAQ,GAAQ5C,QAAO6C,IAAUd,EAAmBe,IAAID,EAAM,MAAKE,OAAOvB,EAAO,CAAC,CAAC,WAAYwB,GAAU,GAAGD,OAAOC,QAAuCA,EAAS,GAAI,QAAU,KACpN,IAAK,SACH,OAAO5D,OAAO6D,QAAO,WACnB,OAAO,KAAU5C,UACnB,GAAGjB,OAAOiD,YAAYjD,OAAOwD,QAAQ,GAAQ5C,QAAO6C,IAAUZ,EAAmBa,IAAID,EAAM,QAC7F,IAAK,QACH,OAAO,EAAAK,MACT,IAAK,UACH,OAAOC,GAAc,GACvB,IAAK,eACH,OAAOA,IACT,QACE,GAAIjB,EAAqBY,IAAIpB,GAC3B,OAAO0B,OAAO1B,GAItB,IAAyBS,EAAQC,CADjC,CAiCA,SAASe,EAAcE,GACrB,OAAO,SAAUC,GACf,IAAK,IAAIC,EAAQlD,UAAUC,OAAQkD,EAAW,IAAId,MAAMa,EAAQ,EAAIA,EAAQ,EAAI,GAAIE,EAAQ,EAAGA,EAAQF,EAAOE,IAC5GD,EAASC,EAAQ,GAAKpD,UAAUoD,GAElC,IAAIC,EAAS,GAOb,OANAJ,EAAQ/C,SAAQ,CAACoD,EAAKC,KACpBF,EAAOxD,KAAKyD,GACRC,EAAQJ,EAASlD,QACnBoD,EAAOxD,KAAKmD,EAAgBrC,OAAOwC,EAASI,IAAQC,QAAQ,UAAUC,GAAKC,mBAAmBD,KAAMC,mBAAmB/C,OAAOwC,EAASI,KACzI,IAEKF,EAAOM,KAAK,GACrB,CACF,C","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/typeof.js","webpack:///../../node_modules/@next-core/supply/dist/esm/index.js"],"sourcesContent":["import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function (r) {\n return Object.getOwnPropertyDescriptor(e, r).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nexport default function _objectSpread2(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {\n defineProperty(e, r, t[r]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {\n Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n });\n }\n return e;\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}","import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport lodash from \"lodash\";\nimport moment from \"moment\";\nimport { pipes } from \"@next-core/pipes\";\nexport function supply(attemptToVisitGlobals, providedGlobalVariables, mock) {\n var globalVariables = _objectSpread({}, providedGlobalVariables);\n // Allow limited browser builtin values.\n globalVariables[\"undefined\"] = undefined;\n for (var variableName of attemptToVisitGlobals) {\n if (!Object.prototype.hasOwnProperty.call(globalVariables, variableName)) {\n var variable = supplyIndividual(variableName, mock);\n if (variable !== undefined) {\n globalVariables[variableName] = variable;\n }\n }\n }\n return globalVariables;\n}\nvar shouldOmitInLodash = new Set([\n// Omit all mutable methods from lodash.\n// But allow sequence methods like `_.chain`.\n\"fill\", \"pull\", \"pullAll\", \"pullAllBy\", \"pullAllWith\", \"pullAt\", \"remove\", \"reverse\", \"assign\", \"assignIn\", \"assignInWith\", \"assignWith\", \"defaults\", \"defaultsDeep\", \"merge\", \"mergeWith\", \"set\", \"setWith\", \"unset\", \"update\", \"updateWith\",\n/**\n * Ignore `Function` methods from lodash, too.\n * There are chances to invoke `Object.assign`, etc.\n *\n * E.g.:\n *\n * ```\n * _.wrap(_.method('constructor.assign',{b:2},{b:3}),(func,...a) => func(...a))({})\n * ```\n */\n\"after\", \"ary\", \"before\", \"bind\", \"bindKey\", \"curry\", \"curryRight\", \"debounce\", \"defer\", \"delay\", \"flip\", \"memoize\", \"negate\", \"once\", \"overArgs\", \"partial\", \"partialRight\", \"rearg\", \"rest\", \"spread\", \"throttle\", \"unary\", \"wrap\"]);\n\n// Omit all mutable methods from moment.\nvar shouldOmitInMoment = new Set([\"lang\", \"langData\", \"locale\", \"localeData\", \"defineLocale\", \"updateLocale\", \"updateOffset\"]);\nvar allowedGlobalObjects = new Set([\"Array\", \"Boolean\", \"Date\", \"Infinity\", \"JSON\", \"Math\", \"NaN\", \"Number\", \"String\", \"RegExp\", \"decodeURI\", \"decodeURIComponent\", \"encodeURI\", \"encodeURIComponent\", \"isFinite\", \"isNaN\", \"parseFloat\", \"parseInt\", \"Map\", \"Set\", \"URLSearchParams\", \"WeakMap\", \"WeakSet\", \"atob\", \"btoa\"]);\nfunction supplyIndividual(variableName, mock) {\n switch (variableName) {\n case \"Object\":\n // Do not allow mutable methods like `Object.assign`.\n return delegateMethods(Object, [\"entries\", \"fromEntries\", \"keys\", \"values\"]);\n case \"_\":\n return Object.fromEntries(Object.entries(lodash).filter(entry => !shouldOmitInLodash.has(entry[0])).concat(mock ? [[\"uniqueId\", prefix => \"\".concat(prefix !== null && prefix !== void 0 ? prefix : \"\", \"42\")]] : []));\n case \"moment\":\n return Object.assign(function () {\n return moment(...arguments);\n }, Object.fromEntries(Object.entries(moment).filter(entry => !shouldOmitInMoment.has(entry[0]))));\n case \"PIPES\":\n return pipes;\n case \"TAG_URL\":\n return tagUrlFactory(true);\n case \"SAFE_TAG_URL\":\n return tagUrlFactory();\n default:\n if (allowedGlobalObjects.has(variableName)) {\n return window[variableName];\n }\n }\n}\nfunction delegateMethods(target, methods) {\n return Object.fromEntries(methods.map(method => [method, function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return target[method].apply(target, args);\n }]));\n}\n/**\n * Pass `ignoreSlashes` as `true` to encode all tagged expressions\n * as URL components, except for `/` which maybe used in `APP.homepage`.\n *\n * Otherwise encode all tagged expressions as URL components.\n * This will encode `/` as `%2F`. So do not use it directly\n * with `APP.homepage` as in template expressions.\n *\n * @example\n *\n * ```js\n * TAG_URL`${APP.homepage}/list?q=${q}&redirect=${redirect}`\n * ```\n *\n * ```js\n * SAFE_TAG_URL`file/${path}?q=${q}`\n * // `path` will be fully transformed by `encodeURIComponent`.\n * ```\n *\n * ```js\n * // Wrap `APP.homepage` outside of `SAFE_TAG_URL`.\n * `${APP.homepage}/${SAFE_TAG_URL`file/${path}?q=${q}`}`\n * ```\n */\nfunction tagUrlFactory(ignoreSlashes) {\n return function (strings) {\n for (var _len2 = arguments.length, partials = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n partials[_key2 - 1] = arguments[_key2];\n }\n var result = [];\n strings.forEach((str, index) => {\n result.push(str);\n if (index < partials.length) {\n result.push(ignoreSlashes ? String(partials[index]).replace(/[^/]+/g, p => encodeURIComponent(p)) : encodeURIComponent(String(partials[index])));\n }\n });\n return result.join(\"\");\n };\n}\n//# sourceMappingURL=index.js.map"],"names":["_defineProperty","obj","key","value","Object","defineProperty","enumerable","configurable","writable","ownKeys","e","r","t","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","push","apply","_objectSpread2","arguments","length","forEach","getOwnPropertyDescriptors","defineProperties","toPropertyKey","i","Symbol","toPrimitive","call","TypeError","String","_typeof","iterator","constructor","prototype","supply","attemptToVisitGlobals","providedGlobalVariables","mock","globalVariables","variableName","undefined","hasOwnProperty","variable","supplyIndividual","shouldOmitInLodash","Set","shouldOmitInMoment","allowedGlobalObjects","target","methods","fromEntries","map","method","_len","args","Array","_key","entries","entry","has","concat","prefix","assign","pipes","tagUrlFactory","window","ignoreSlashes","strings","_len2","partials","_key2","result","str","index","replace","p","encodeURIComponent","join"],"sourceRoot":""}
@@ -1,3 +0,0 @@
1
- /*! For license information please see 9655.79761c08.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_next_bricks_advanced=self.webpackChunk_next_bricks_advanced||[]).push([[9655],{38792:e=>{e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,i,o;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!=i--;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(o=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;0!=i--;){var s=o[i];if(!e(t[s],r[s]))return!1}return!0}return t!=t&&r!=r}},53435:(e,t)=>{function r(e){return"object"!=typeof e||"toString"in e?e:Object.prototype.toString.call(e).slice(8,-1)}Object.defineProperty(t,"__esModule",{value:!0});var n="object"==typeof process&&!0;function i(e,t){if(!e){if(n)throw new Error("Invariant failed");throw new Error(t())}}t.invariant=i;var o=Object.prototype.hasOwnProperty,s=Array.prototype.splice,a=Object.prototype.toString;function c(e){return a.call(e).slice(8,-1)}var u=Object.assign||function(e,t){return d(t).forEach((function(r){o.call(t,r)&&(e[r]=t[r])})),e},d="function"==typeof Object.getOwnPropertySymbols?function(e){return Object.keys(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.keys(e)};function l(e){return Array.isArray(e)?u(e.constructor(e.length),e):"Map"===c(e)?new Map(e):"Set"===c(e)?new Set(e):e&&"object"==typeof e?u(Object.create(Object.getPrototypeOf(e)),e):e}var g=function(){function e(){this.commands=u({},h),this.update=this.update.bind(this),this.update.extend=this.extend=this.extend.bind(this),this.update.isEquals=function(e,t){return e===t},this.update.newContext=function(){return(new e).update}}return Object.defineProperty(e.prototype,"isEquals",{get:function(){return this.update.isEquals},set:function(e){this.update.isEquals=e},enumerable:!0,configurable:!0}),e.prototype.extend=function(e,t){this.commands[e]=t},e.prototype.update=function(e,t){var r=this,n="function"==typeof t?{$apply:t}:t;Array.isArray(e)&&Array.isArray(n)||i(!Array.isArray(n),(function(){return"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."})),i("object"==typeof n&&null!==n,(function(){return"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the following commands: "+Object.keys(r.commands).join(", ")+"."}));var s=e;return d(n).forEach((function(t){if(o.call(r.commands,t)){var i=e===s;s=r.commands[t](n[t],s,n,e),i&&r.isEquals(s,e)&&(s=e)}else{var a="Map"===c(e)?r.update(e.get(t),n[t]):r.update(e[t],n[t]),u="Map"===c(s)?s.get(t):s[t];r.isEquals(a,u)&&(void 0!==a||o.call(e,t))||(s===e&&(s=l(e)),"Map"===c(s)?s.set(t,a):s[t]=a)}})),s},e}();t.Context=g;var h={$push:function(e,t,r){return p(t,r,"$push"),e.length?t.concat(e):t},$unshift:function(e,t,r){return p(t,r,"$unshift"),e.length?e.concat(t):t},$splice:function(e,t,n,o){return function(e,t){i(Array.isArray(e),(function(){return"Expected $splice target to be an array; got "+r(e)})),y(t.$splice)}(t,n),e.forEach((function(e){y(e),t===o&&e.length&&(t=l(o)),s.apply(t,e)})),t},$set:function(e,t,r){return function(e){i(1===Object.keys(e).length,(function(){return"Cannot have more than one key in an object with $set"}))}(r),e},$toggle:function(e,t){v(e,"$toggle");var r=e.length?l(t):t;return e.forEach((function(e){r[e]=!t[e]})),r},$unset:function(e,t,r,n){return v(e,"$unset"),e.forEach((function(e){Object.hasOwnProperty.call(t,e)&&(t===n&&(t=l(n)),delete t[e])})),t},$add:function(e,t,r,n){return m(t,"$add"),v(e,"$add"),"Map"===c(t)?e.forEach((function(e){var r=e[0],i=e[1];t===n&&t.get(r)!==i&&(t=l(n)),t.set(r,i)})):e.forEach((function(e){t!==n||t.has(e)||(t=l(n)),t.add(e)})),t},$remove:function(e,t,r,n){return m(t,"$remove"),v(e,"$remove"),e.forEach((function(e){t===n&&t.has(e)&&(t=l(n)),t.delete(e)})),t},$merge:function(e,t,n,o){var s,a;return s=t,i((a=e)&&"object"==typeof a,(function(){return"update(): $merge expects a spec of type 'object'; got "+r(a)})),i(s&&"object"==typeof s,(function(){return"update(): $merge expects a target of type 'object'; got "+r(s)})),d(e).forEach((function(r){e[r]!==t[r]&&(t===o&&(t=l(o)),t[r]=e[r])})),t},$apply:function(e,t){var n;return i("function"==typeof(n=e),(function(){return"update(): expected spec of $apply to be a function; got "+r(n)+"."})),e(t)}},f=new g;function p(e,t,n){i(Array.isArray(e),(function(){return"update(): expected target of "+r(n)+" to be an array; got "+r(e)+"."})),v(t[n],n)}function v(e,t){i(Array.isArray(e),(function(){return"update(): expected spec of "+r(t)+" to be an array; got "+r(e)+". Did you forget to wrap your parameter in an array?"}))}function y(e){i(Array.isArray(e),(function(){return"update(): expected spec of $splice to be an array of arrays; got "+r(e)+". Did you forget to wrap your parameters in an array?"}))}function m(e,t){var n=c(e);i("Map"===n||"Set"===n,(function(){return"update(): "+r(t)+" expects a target of type Set or Map; got "+r(n)}))}t.isEquals=f.update.isEquals,t.extend=f.extend,t.default=f.update,t.default.default=e.exports=u(t.default,t)},73335:(e,t,r)=>{var n=r(18769),i=Symbol.for("react.element"),o=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,r){var n,c={},u=null,d=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(d=t.ref),t)o.call(t,n)&&!a.hasOwnProperty(n)&&(c[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===c[n]&&(c[n]=t[n]);return{$$typeof:i,type:e,key:u,ref:d,props:c,_owner:s.current}}},31085:(e,t,r)=>{e.exports=r(73335)},18873:(e,t,r)=>{function n(e,t,...r){if("undefined"!=typeof process&&void 0===t)throw new Error("invariant requires an error message argument");if(!e){let e;if(void 0===t)e=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let n=0;e=new Error(t.replace(/%s/g,(function(){return r[n++]}))),e.name="Invariant Violation"}throw e.framesToPop=1,e}}r.d(t,{V:()=>n})},9293:(e,t,r)=>{function n(e,t,r,n){let i=r?r.call(n,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;const o=Object.keys(e),s=Object.keys(t);if(o.length!==s.length)return!1;const a=Object.prototype.hasOwnProperty.bind(t);for(let s=0;s<o.length;s++){const c=o[s];if(!a(c))return!1;const u=e[c],d=t[c];if(i=r?r.call(n,u,d,c):void 0,!1===i||void 0===i&&u!==d)return!1}return!0}r.d(t,{b:()=>n})},50692:(e,t,r)=>{r.d(t,{t2:()=>I});var n={};function i(e){let t=null;return()=>(null==t&&(t=e()),t)}r.r(n),r.d(n,{FILE:()=>a,HTML:()=>d,TEXT:()=>u,URL:()=>c});class o{enter(e){const t=this.entered.length;return this.entered=function(e,t){const r=new Set,n=e=>r.add(e);e.forEach(n),t.forEach(n);const i=[];return r.forEach((e=>i.push(e))),i}(this.entered.filter((t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(e)))),[e]),0===t&&this.entered.length>0}leave(e){const t=this.entered.length;var r,n;return this.entered=(r=this.entered.filter(this.isNodeInDocument),n=e,r.filter((e=>e!==n))),t>0&&0===this.entered.length}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class s{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach((e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get:()=>(console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null)})}))}loadDataTransfer(e){if(e){const t={};Object.keys(this.config.exposeProperties).forEach((r=>{const n=this.config.exposeProperties[r];null!=n&&(t[r]={value:n(e,this.config.matchesTypes),configurable:!0,enumerable:!0})})),Object.defineProperties(this.item,t)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,t){return t===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}const a="__NATIVE_FILE__",c="__NATIVE_URL__",u="__NATIVE_TEXT__",d="__NATIVE_HTML__";function l(e,t,r){const n=t.reduce(((t,r)=>t||e.getData(r)),"");return null!=n?n:r}const g={[a]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:["Files"]},[d]:{exposeProperties:{html:(e,t)=>l(e,t,""),dataTransfer:e=>e},matchesTypes:["Html","text/html"]},[c]:{exposeProperties:{urls:(e,t)=>l(e,t,"").split("\n"),dataTransfer:e=>e},matchesTypes:["Url","text/uri-list"]},[u]:{exposeProperties:{text:(e,t)=>l(e,t,""),dataTransfer:e=>e},matchesTypes:["Text","text/plain"]}};function h(e){if(!e)return null;const t=Array.prototype.slice.call(e.types||[]);return Object.keys(g).filter((e=>{const r=g[e];return!!(null==r?void 0:r.matchesTypes)&&r.matchesTypes.some((e=>t.indexOf(e)>-1))}))[0]||null}const f=i((()=>/firefox/i.test(navigator.userAgent))),p=i((()=>Boolean(window.safari)));class v{interpolate(e){const{xs:t,ys:r,c1s:n,c2s:i,c3s:o}=this;let s=t.length-1;if(e===t[s])return r[s];let a,c=0,u=o.length-1;for(;c<=u;){a=Math.floor(.5*(c+u));const n=t[a];if(n<e)c=a+1;else{if(!(n>e))return r[a];u=a-1}}s=Math.max(0,u);const d=e-t[s],l=d*d;return r[s]+n[s]*d+i[s]*l+o[s]*d*l}constructor(e,t){const{length:r}=e,n=[];for(let e=0;e<r;e++)n.push(e);n.sort(((t,r)=>e[t]<e[r]?-1:1));const i=[],o=[],s=[];let a,c;for(let n=0;n<r-1;n++)a=e[n+1]-e[n],c=t[n+1]-t[n],o.push(a),i.push(c),s.push(c/a);const u=[s[0]];for(let e=0;e<o.length-1;e++){const t=s[e],r=s[e+1];if(t*r<=0)u.push(0);else{a=o[e];const n=o[e+1],i=a+n;u.push(3*i/((i+n)/t+(i+a)/r))}}u.push(s[s.length-1]);const d=[],l=[];let g;for(let e=0;e<u.length-1;e++){g=s[e];const t=u[e],r=1/o[e],n=t+u[e+1]-g-g;d.push((g-t-n)*r),l.push(n*r*r)}this.xs=e,this.ys=t,this.c1s=u,this.c2s=d,this.c3s=l}}const y=1;function m(e){const t=e.nodeType===y?e:e.parentElement;if(!t)return null;const{top:r,left:n}=t.getBoundingClientRect();return{x:n,y:r}}function O(e){return{x:e.clientX,y:e.clientY}}class D{get window(){return this.globalContext?this.globalContext:"undefined"!=typeof window?window:void 0}get document(){var e;return(null===(e=this.globalContext)||void 0===e?void 0:e.document)?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var e;return(null===(e=this.optionsArgs)||void 0===e?void 0:e.rootElement)||this.window}constructor(e,t){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=t}}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){b(e,t,r[t])}))}return e}class T{profile(){var e,t;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:(null===(e=this.dragStartSourceIds)||void 0===e?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:(null===(t=this.dragOverTargetIds)||void 0===t?void 0:t.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){const e=this.rootElement;if(void 0!==e){if(e.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}teardown(){const e=this.rootElement;var t;void 0!==e&&(e.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&(null===(t=this.window)||void 0===t||t.cancelAnimationFrame(this.asyncEndDragFrameId)))}connectDragPreview(e,t,r){return this.sourcePreviewNodeOptions.set(e,r),this.sourcePreviewNodes.set(e,t),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,t,r){this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,r);const n=t=>this.handleDragStart(t,e),i=e=>this.handleSelectStart(e);return t.setAttribute("draggable","true"),t.addEventListener("dragstart",n),t.addEventListener("selectstart",i),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",n),t.removeEventListener("selectstart",i),t.setAttribute("draggable","false")}}connectDropTarget(e,t){const r=t=>this.handleDragEnter(t,e),n=t=>this.handleDragOver(t,e),i=t=>this.handleDrop(t,e);return t.addEventListener("dragenter",r),t.addEventListener("dragover",n),t.addEventListener("drop",i),()=>{t.removeEventListener("dragenter",r),t.removeEventListener("dragover",n),t.removeEventListener("drop",i)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return S({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const e=this.monitor.getSourceId();return S({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}isDraggingNativeItem(){const e=this.monitor.getItemType();return Object.keys(n).some((t=>n[t]===e))}beginDragNativeItem(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(e,t){const r=g[e];if(!r)throw new Error(`native type ${e} has no configuration`);const n=new s(r);return n.loadDataTransfer(t),n}(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.mouseMoveTimeoutTimer=setTimeout((()=>{var e;return null===(e=this.rootElement)||void 0===e?void 0:e.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}),1e3)}clearCurrentDragSourceNode(){var e;return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.rootElement&&(null===(e=this.window)||void 0===e||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0)}handleDragStart(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}handleDragEnter(e,t){this.dragEnterTargetIds.unshift(t)}handleDragOver(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}handleDrop(e,t){this.dropTargetIds.unshift(t)}constructor(e,t,r){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=e=>{const t=this.sourceNodes.get(e);return t&&m(t)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=e=>Boolean(e&&this.document&&this.document.body&&this.document.body.contains(e)),this.endDragIfSourceWasRemovedFromDOM=()=>{const e=this.currentDragSourceNode;null==e||this.isNodeInDocument(e)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=e=>{null===this.hoverRafId&&"undefined"!=typeof requestAnimationFrame&&(this.hoverRafId=requestAnimationFrame((()=>{this.monitor.isDragging()&&this.actions.hover(e||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null})))},this.cancelHover=()=>{null!==this.hoverRafId&&"undefined"!=typeof cancelAnimationFrame&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=e=>{if(e.defaultPrevented)return;const{dragStartSourceIds:t}=this;this.dragStartSourceIds=null;const r=O(e);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});const{dataTransfer:n}=e,i=h(n);if(this.monitor.isDragging()){if(n&&"function"==typeof n.setDragImage){const e=this.monitor.getSourceId(),t=this.sourceNodes.get(e),i=this.sourcePreviewNodes.get(e)||t;if(i){const{anchorX:e,anchorY:o,offsetX:s,offsetY:a}=this.getCurrentSourcePreviewNodeOptions(),c=function(e,t,r,n,i){const o="IMG"===(s=t).nodeName&&(f()||!(null===(a=document.documentElement)||void 0===a?void 0:a.contains(s)));var s,a;const c=m(o?e:t),u={x:r.x-c.x,y:r.y-c.y},{offsetWidth:d,offsetHeight:l}=e,{anchorX:g,anchorY:h}=n,{dragPreviewWidth:y,dragPreviewHeight:O}=function(e,t,r,n){let i=e?t.width:r,o=e?t.height:n;return p()&&e&&(o/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:o}}(o,t,d,l),{offsetX:D,offsetY:b}=i,S=0===b||b;return{x:0===D||D?D:new v([0,.5,1],[u.x,u.x/d*y,u.x+y-d]).interpolate(g),y:S?b:(()=>{let e=new v([0,.5,1],[u.y,u.y/l*O,u.y+O-l]).interpolate(h);return p()&&o&&(e+=(window.devicePixelRatio-1)*O),e})()}}(t,i,r,{anchorX:e,anchorY:o},{offsetX:s,offsetY:a});n.setDragImage(i,c.x,c.y)}}try{null==n||n.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target);const{captureDraggingState:t}=this.getCurrentSourcePreviewNodeOptions();t?this.actions.publishDragSource():setTimeout((()=>this.actions.publishDragSource()),0)}else if(i)this.beginDragNativeItem(i);else{if(n&&!n.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=e=>{var t;if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()&&(null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)),!this.enterLeaveCounter.enter(e.target)||this.monitor.isDragging())return;const{dataTransfer:r}=e,n=h(r);n&&this.beginDragNativeItem(n,r)},this.handleTopDragEnter=e=>{const{dragEnterTargetIds:t}=this;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,t.length>0&&this.actions.hover(t,{clientOffset:O(e)}),t.some((e=>this.monitor.canDropOnTarget(e)))&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())))},this.handleTopDragOverCapture=e=>{var t;this.dragOverTargetIds=[],this.isDraggingNativeItem()&&(null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer))},this.handleTopDragOver=e=>{const{dragOverTargetIds:t}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer&&(e.dataTransfer.dropEffect="none"));this.altKeyPressed=e.altKey,this.lastClientOffset=O(e),this.scheduleHover(t),(t||[]).some((e=>this.monitor.canDropOnTarget(e)))?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=e=>{this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&(this.isDraggingNativeItem()&&setTimeout((()=>this.endDragNativeItem()),0),this.cancelHover())},this.handleTopDropCapture=e=>{var t;this.dropTargetIds=[],this.isDraggingNativeItem()?(e.preventDefault(),null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)):h(e.dataTransfer)&&e.preventDefault(),this.enterLeaveCounter.reset()},this.handleTopDrop=e=>{const{dropTargetIds:t}=this;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:O(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=e=>{const t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))},this.options=new D(t,r),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new o(this.isNodeInDocument)}}const I=function(e,t,r){return new T(e,t,r)}},59079:(e,t,r)=>{r.d(t,{M:()=>n});const n=(0,r(18769).createContext)({dragDropManager:void 0})},63737:(e,t,r)=>{r.d(t,{Q:()=>fe});var n=r(31085);function i(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var o="function"==typeof Symbol&&Symbol.observable||"@@observable",s=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+s(),REPLACE:"@@redux/REPLACE"+s(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+s()}};function c(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(i(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(i(1));return r(c)(e,t)}if("function"!=typeof e)throw new Error(i(2));var s=e,u=t,d=[],l=d,g=!1;function h(){l===d&&(l=d.slice())}function f(){if(g)throw new Error(i(3));return u}function p(e){if("function"!=typeof e)throw new Error(i(4));if(g)throw new Error(i(5));var t=!0;return h(),l.push(e),function(){if(t){if(g)throw new Error(i(6));t=!1,h();var r=l.indexOf(e);l.splice(r,1),d=null}}}function v(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(i(7));if(void 0===e.type)throw new Error(i(8));if(g)throw new Error(i(9));try{g=!0,u=s(u,e)}finally{g=!1}for(var t=d=l,r=0;r<t.length;r++)(0,t[r])();return e}return v({type:a.INIT}),(n={dispatch:v,subscribe:p,getState:f,replaceReducer:function(e){if("function"!=typeof e)throw new Error(i(10));s=e,v({type:a.REPLACE})}})[o]=function(){var e,t=p;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(i(11));function r(){e.next&&e.next(f())}return r(),{unsubscribe:t(r)}}})[o]=function(){return this},e},n}var u=r(18873);function d(e){return"object"==typeof e}const l="dnd-core/INIT_COORDS",g="dnd-core/BEGIN_DRAG",h="dnd-core/PUBLISH_DRAG_SOURCE",f="dnd-core/HOVER",p="dnd-core/DROP",v="dnd-core/END_DRAG";function y(e,t){return{type:l,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}const m={type:l,payload:{clientOffset:null,sourceClientOffset:null}};function O(e){return function(t=[],r={publishSource:!0}){const{publishSource:n=!0,clientOffset:i,getSourceClientOffset:o}=r,s=e.getMonitor(),a=e.getRegistry();e.dispatch(y(i)),function(e,t,r){(0,u.V)(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach((function(e){(0,u.V)(r.getSource(e),"Expected sourceIds to be registered.")}))}(t,s,a);const c=function(e,t){let r=null;for(let n=e.length-1;n>=0;n--)if(t.canDragSource(e[n])){r=e[n];break}return r}(t,s);if(null==c)return void e.dispatch(m);let l=null;if(i){if(!o)throw new Error("getSourceClientOffset must be defined");!function(e){(0,u.V)("function"==typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}(o),l=o(c)}e.dispatch(y(i,l));const h=a.getSource(c).beginDrag(s,c);if(null==h)return;!function(e){(0,u.V)(d(e),"Item must be an object.")}(h),a.pinSource(c);const f=a.getSourceType(c);return{type:g,payload:{itemType:f,item:h,sourceId:c,clientOffset:i||null,sourceClientOffset:l||null,isSourcePublic:!!n}}}}function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){D(e,t,r[t])}))}return e}function S(e){return function(t={}){const r=e.getMonitor(),n=e.getRegistry();!function(e){(0,u.V)(e.isDragging(),"Cannot call drop while not dragging."),(0,u.V)(!e.didDrop(),"Cannot call drop twice during one drag operation.")}(r);const i=function(e){const t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}(r);i.forEach(((i,o)=>{const s=function(e,t,r,n){const i=r.getTarget(e);let o=i?i.drop(n,e):void 0;return function(e){(0,u.V)(void 0===e||d(e),"Drop result must either be an object or undefined.")}(o),void 0===o&&(o=0===t?{}:n.getDropResult()),o}(i,o,n,r),a={type:p,payload:{dropResult:b({},t,s)}};e.dispatch(a)}))}}function T(e){return function(){const t=e.getMonitor(),r=e.getRegistry();!function(e){(0,u.V)(e.isDragging(),"Cannot call endDrag while not dragging.")}(t);const n=t.getSourceId();return null!=n&&(r.getSource(n,!0).endDrag(t,n),r.unpinSource()),{type:v}}}function I(e,t){return null===t?null===e:Array.isArray(e)?e.some((e=>e===t)):e===t}function w(e){return function(t,{clientOffset:r}={}){!function(e){(0,u.V)(Array.isArray(e),"Expected targetIds to be an array.")}(t);const n=t.slice(0),i=e.getMonitor(),o=e.getRegistry();return function(e,t,r){for(let n=e.length-1;n>=0;n--){const i=e[n];I(t.getTargetType(i),r)||e.splice(n,1)}}(n,o,i.getItemType()),function(e,t,r){(0,u.V)(t.isDragging(),"Cannot call hover while not dragging."),(0,u.V)(!t.didDrop(),"Cannot call hover after drop.");for(let t=0;t<e.length;t++){const n=e[t];(0,u.V)(e.lastIndexOf(n)===t,"Expected targetIds to be unique in the passed array.");const i=r.getTarget(n);(0,u.V)(i,"Expected targetIds to be registered.")}}(n,i,o),function(e,t,r){e.forEach((function(e){r.getTarget(e).hover(t,e)}))}(n,i,o),{type:f,payload:{targetIds:n,clientOffset:r||null}}}}function E(e){return function(){if(e.getMonitor().isDragging())return{type:h}}}class C{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const e=this,{dispatch:t}=this.store,r=function(e){return{beginDrag:O(e),publishDragSource:E(e),hover:w(e),drop:S(e),endDrag:T(e)}}(this);return Object.keys(r).reduce(((n,i)=>{const o=r[i];var s;return n[i]=(s=o,(...r)=>{const n=s.apply(e,r);void 0!==n&&t(n)}),n}),{})}dispatch(e){this.store.dispatch(e)}constructor(e,t){this.isSetUp=!1,this.handleRefCountChange=()=>{const e=this.store.getState().refCount>0;this.backend&&(e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=t,e.subscribe(this.handleRefCountChange)}}function P(e,t){return{x:e.x-t.x,y:e.y-t.y}}const x=[],N=[];x.__IS_NONE__=!0,N.__IS_ALL__=!0;class R{subscribeToStateChange(e,t={}){const{handlerIds:r}=t;(0,u.V)("function"==typeof e,"listener must be a function."),(0,u.V)(void 0===r||Array.isArray(r),"handlerIds, when specified, must be an array of strings.");let n=this.store.getState().stateId;return this.store.subscribe((()=>{const t=this.store.getState(),i=t.stateId;try{const o=i===n||i===n+1&&!function(e,t){return e!==x&&(e===N||void 0===t||(r=e,t.filter((e=>r.indexOf(e)>-1))).length>0);var r}(t.dirtyHandlerIds,r);o||e()}finally{n=i}}))}subscribeToOffsetChange(e){(0,u.V)("function"==typeof e,"listener must be a function.");let t=this.store.getState().dragOffset;return this.store.subscribe((()=>{const r=this.store.getState().dragOffset;r!==t&&(t=r,e())}))}canDragSource(e){if(!e)return!1;const t=this.registry.getSource(e);return(0,u.V)(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()&&t.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;const t=this.registry.getTarget(e);return(0,u.V)(t,`Expected to find a valid target. targetId=${e}`),!(!this.isDragging()||this.didDrop())&&(I(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e))}isDragging(){return Boolean(this.getItemType())}isDraggingSource(e){if(!e)return!1;const t=this.registry.getSource(e,!0);return(0,u.V)(t,`Expected to find a valid source. sourceId=${e}`),!(!this.isDragging()||!this.isSourcePublic())&&(this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e))}isOverTarget(e,t={shallow:!1}){if(!e)return!1;const{shallow:r}=t;if(!this.isDragging())return!1;const n=this.registry.getTargetType(e),i=this.getItemType();if(i&&!I(n,i))return!1;const o=this.getTargetIds();if(!o.length)return!1;const s=o.indexOf(e);return r?s===o.length-1:s>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return Boolean(this.store.getState().dragOperation.isSourcePublic)}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(e){const{clientOffset:t,initialClientOffset:r,initialSourceClientOffset:n}=e;return t&&r&&n?P((o=n,{x:(i=t).x+o.x,y:i.y+o.y}),r):null;var i,o}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return function(e){const{clientOffset:t,initialClientOffset:r}=e;return t&&r?P(t,r):null}(this.store.getState().dragOffset)}constructor(e,t){this.store=e,this.registry=t}}const M="undefined"!=typeof global?global:self,j=M.MutationObserver||M.WebKitMutationObserver;function _(e){return function(){const t=setTimeout(n,0),r=setInterval(n,50);function n(){clearTimeout(t),clearInterval(r),e()}}}const A="function"==typeof j?function(e){let t=1;const r=new j(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){t=-t,n.data=t}}:_;class k{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}}const L=new class{enqueueTask(e){const{queue:t,requestFlush:r}=this;t.length||(r(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:e}=this;for(;this.index<e.length;){const t=this.index;if(this.index++,e[t].call(),this.index>this.capacity){for(let t=0,r=e.length-this.index;t<r;t++)e[t]=e[t+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=A(this.flush),this.requestErrorThrow=_((()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()}))}},H=new class{create(e){const t=this.freeTasks,r=t.length?t.pop():new k(this.onError,(e=>t[t.length]=e));return r.task=e,r}constructor(e){this.onError=e,this.freeTasks=[]}}(L.registerPendingError),V="dnd-core/ADD_SOURCE",$="dnd-core/ADD_TARGET",U="dnd-core/REMOVE_SOURCE",F="dnd-core/REMOVE_TARGET";function q(e,t){t&&Array.isArray(e)?e.forEach((e=>q(e,!1))):(0,u.V)("string"==typeof e||"symbol"==typeof e,t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var B;!function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"}(B||(B={}));let Y=0;function G(e){switch(e[0]){case"S":return B.SOURCE;case"T":return B.TARGET;default:throw new Error(`Cannot parse handler ID: ${e}`)}}function X(e,t){const r=e.entries();let n=!1;do{const{done:e,value:[,i]}=r.next();if(i===t)return!0;n=!!e}while(!n);return!1}class W{addSource(e,t){q(e),function(e){(0,u.V)("function"==typeof e.canDrag,"Expected canDrag to be a function."),(0,u.V)("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),(0,u.V)("function"==typeof e.endDrag,"Expected endDrag to be a function.")}(t);const r=this.addHandler(B.SOURCE,e,t);return this.store.dispatch(function(e){return{type:V,payload:{sourceId:e}}}(r)),r}addTarget(e,t){q(e,!0),function(e){(0,u.V)("function"==typeof e.canDrop,"Expected canDrop to be a function."),(0,u.V)("function"==typeof e.hover,"Expected hover to be a function."),(0,u.V)("function"==typeof e.drop,"Expected beginDrag to be a function.")}(t);const r=this.addHandler(B.TARGET,e,t);return this.store.dispatch(function(e){return{type:$,payload:{targetId:e}}}(r)),r}containsHandler(e){return X(this.dragSources,e)||X(this.dropTargets,e)}getSource(e,t=!1){return(0,u.V)(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return(0,u.V)(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return(0,u.V)(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return(0,u.V)(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return G(e)===B.SOURCE}isTargetId(e){return G(e)===B.TARGET}removeSource(e){var t;(0,u.V)(this.getSource(e),"Expected an existing source."),this.store.dispatch(function(e){return{type:U,payload:{sourceId:e}}}(e)),t=()=>{this.dragSources.delete(e),this.types.delete(e)},L.enqueueTask(H.create(t))}removeTarget(e){(0,u.V)(this.getTarget(e),"Expected an existing target."),this.store.dispatch(function(e){return{type:F,payload:{targetId:e}}}(e)),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){const t=this.getSource(e);(0,u.V)(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}unpinSource(){(0,u.V)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,t,r){const n=function(e){const t=(Y++).toString();switch(e){case B.SOURCE:return`S${t}`;case B.TARGET:return`T${t}`;default:throw new Error(`Unknown Handler Role: ${e}`)}}(e);return this.types.set(n,t),e===B.SOURCE?this.dragSources.set(n,r):e===B.TARGET&&this.dropTargets.set(n,r),n}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}}const K=(e,t)=>e===t;function z(e=x,t){switch(t.type){case f:break;case V:case $:case F:case U:return x;default:return N}const{targetIds:r=[],prevTargetIds:n=[]}=t.payload,i=function(e,t){const r=new Map,n=e=>{r.set(e,r.has(e)?r.get(e)+1:1)};e.forEach(n),t.forEach(n);const i=[];return r.forEach(((e,t)=>{1===e&&i.push(t)})),i}(r,n);if(!(i.length>0)&&function(e,t,r=K){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!r(e[n],t[n]))return!1;return!0}(r,n))return x;const o=n[n.length-1],s=r[r.length-1];return o!==s&&(o&&i.push(o),s&&i.push(s)),i}function Q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const J={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function Z(e=J,t){const{payload:r}=t;switch(t.type){case l:case g:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case f:return n=e.clientOffset,i=r.clientOffset,!n&&!i||n&&i&&n.x===i.x&&n.y===i.y?e:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Q(e,t,r[t])}))}return e}({},e,{clientOffset:r.clientOffset});case v:case p:return J;default:return e}var n,i}function ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function te(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){ee(e,t,r[t])}))}return e}const re={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function ne(e=re,t){const{payload:r}=t;switch(t.type){case g:return te({},e,{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case h:return te({},e,{isSourcePublic:!0});case f:return te({},e,{targetIds:r.targetIds});case F:return-1===e.targetIds.indexOf(r.targetId)?e:te({},e,{targetIds:(n=e.targetIds,i=r.targetId,n.filter((e=>e!==i)))});case p:return te({},e,{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case v:return te({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}var n,i}function ie(e=0,t){switch(t.type){case V:case $:return e+1;case U:case F:return e-1;default:return e}}function oe(e=0){return e+1}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ae(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){se(e,t,r[t])}))}return e}function ce(e={},t){return{dirtyHandlerIds:z(e.dirtyHandlerIds,{type:t.type,payload:ae({},t.payload,{prevTargetIds:(r=e,"dragOperation.targetIds",n=[],"dragOperation.targetIds".split(".").reduce(((e,t)=>e&&e[t]?e[t]:n||null),r))})}),dragOffset:Z(e.dragOffset,t),refCount:ie(e.refCount,t),dragOperation:ne(e.dragOperation,t),stateId:oe(e.stateId)};var r,n}function ue(e,t=void 0,r={},n=!1){const i=function(e){const t="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return c(ce,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}(n),o=new R(i,new W(i)),s=new C(i,o),a=e(s,t,r);return s.receiveBackend(a),s}var de=r(18769),le=r(59079);let ge=0;const he=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var fe=(0,de.memo)((function(e){var{children:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,["children"]);const[i,o]=function(e){if("manager"in e)return[{dragDropManager:e.manager},!1];return[function(e,t=pe(),r,n){const i=t;return i[he]||(i[he]={dragDropManager:ue(e,t,r,n)}),i[he]}(e.backend,e.context,e.options,e.debugMode),!e.context]}(r);return(0,de.useEffect)((()=>{if(o){const e=pe();return++ge,()=>{0==--ge&&(e[he]=null)}}}),[]),(0,n.jsx)(le.M.Provider,{value:i,children:t})}));function pe(){return"undefined"!=typeof global?global:window}},44521:(e,t,r)=>{r.d(t,{j:()=>s});var n=r(38792),i=r(18769),o=r(4412);function s(e,t,r){return function(e,t,r){const[s,a]=function(e,t,r){const[s,a]=(0,i.useState)((()=>t(e))),c=(0,i.useCallback)((()=>{const i=t(e);n(s,i)||(a(i),r&&r())}),[s,e,r]);return(0,o.E)(c),[s,c]}(e,t,r);return(0,o.E)((function(){const t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(a,{handlerIds:[t]})}),[e,a]),s}(t,e||(()=>({})),(()=>r.reconnect()))}},80255:(e,t,r)=>{r.d(t,{i:()=>D});var n=r(18873),i=r(44521),o=r(49158),s=r(18769);function a(e){return(0,s.useMemo)((()=>e.hooks.dragSource()),[e])}function c(e){return(0,s.useMemo)((()=>e.hooks.dragPreview()),[e])}var u=r(9293),d=r(78394),l=r(67206);class g{receiveHandlerId(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(e){this.dragSourceOptionsInternal=e}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(e){this.dragPreviewOptionsInternal=e}reconnect(){const e=this.reconnectDragSource();this.reconnectDragPreview(e)}reconnectDragSource(){const e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return t&&this.disconnectDragSource(),this.handlerId?e?(t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)),t):(this.lastConnectedDragSource=e,t):t}reconnectDragPreview(e=!1){const t=this.dragPreview,r=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();r&&this.disconnectDragPreview(),this.handlerId&&(t?r&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions)):this.lastConnectedDragPreview=t)}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!(0,u.b)(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!(0,u.b)(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(e){this.hooks=(0,l.i)({dragSource:(e,t)=>{this.clearDragSource(),this.dragSourceOptions=t||null,(0,d.i)(e)?this.dragSourceRef=e:this.dragSourceNode=e,this.reconnectDragSource()},dragPreview:(e,t)=>{this.clearDragPreview(),this.dragPreviewOptions=t||null,(0,d.i)(e)?this.dragPreviewRef=e:this.dragPreviewNode=e,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=e}}var h=r(5702),f=r(4412);let p=!1,v=!1;class y{receiveHandlerId(e){this.sourceId=e}getHandlerId(){return this.sourceId}canDrag(){(0,n.V)(!p,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return p=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{p=!1}}isDragging(){if(!this.sourceId)return!1;(0,n.V)(!v,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return v=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{v=!1}}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}isDraggingSource(e){return this.internalMonitor.isDraggingSource(e)}isOverTarget(e,t){return this.internalMonitor.isOverTarget(e,t)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(e){return this.internalMonitor.subscribeToOffsetChange(e)}canDragSource(e){return this.internalMonitor.canDragSource(e)}canDropOnTarget(e){return this.internalMonitor.canDropOnTarget(e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.sourceId=null,this.internalMonitor=e.getMonitor()}}var m=r(51918);class O{beginDrag(){const e=this.spec,t=this.monitor;let r=null;return r="object"==typeof e.item?e.item:"function"==typeof e.item?e.item(t):{},null!=r?r:null}canDrag(){const e=this.spec,t=this.monitor;return"boolean"==typeof e.canDrag?e.canDrag:"function"!=typeof e.canDrag||e.canDrag(t)}isDragging(e,t){const r=this.spec,n=this.monitor,{isDragging:i}=r;return i?i(n):t===e.getSourceId()}endDrag(){const e=this.spec,t=this.monitor,r=this.connector,{end:n}=e;n&&n(t.getItem(),t),r.reconnect()}constructor(e,t,r){this.spec=e,this.monitor=t,this.connector=r}}function D(e,t){const r=(0,o.I)(e,t);(0,n.V)(!r.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");const u=function(){const e=(0,h.u)();return(0,s.useMemo)((()=>new y(e)),[e])}(),d=function(e,t){const r=(0,h.u)(),n=(0,s.useMemo)((()=>new g(r.getBackend())),[r]);return(0,f.E)((()=>(n.dragSourceOptions=e||null,n.reconnect(),()=>n.disconnectDragSource())),[n,e]),(0,f.E)((()=>(n.dragPreviewOptions=t||null,n.reconnect(),()=>n.disconnectDragPreview())),[n,t]),n}(r.options,r.previewOptions);return function(e,t,r){const i=(0,h.u)(),o=function(e,t,r){const n=(0,s.useMemo)((()=>new O(e,t,r)),[t,r]);return(0,s.useEffect)((()=>{n.spec=e}),[e]),n}(e,t,r),a=function(e){return(0,s.useMemo)((()=>{const t=e.type;return(0,n.V)(null!=t,"spec.type must be defined"),t}),[e])}(e);(0,f.E)((function(){if(null!=a){const[e,n]=(0,m.V)(a,o,i);return t.receiveHandlerId(e),r.receiveHandlerId(e),n}}),[i,t,r,o,a])}(r,u,d),[(0,i.j)(r.collect,u,d),a(d),c(d)]}},5702:(e,t,r)=>{r.d(t,{u:()=>s});var n=r(18873),i=r(18769),o=r(59079);function s(){const{dragDropManager:e}=(0,i.useContext)(o.M);return(0,n.V)(null!=e,"Expected drag drop context"),e}},47522:(e,t,r)=>{r.d(t,{H:()=>m});var n=r(44521),i=r(49158),o=r(18769);function s(e){return(0,o.useMemo)((()=>e.hooks.dropTarget()),[e])}var a=r(9293),c=r(78394),u=r(67206);class d{get connectTarget(){return this.dropTarget}reconnect(){const e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();const t=this.dropTarget;this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions)):this.lastConnectedDropTarget=t)}receiveHandlerId(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(e){this.dropTargetOptionsInternal=e}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!(0,a.b)(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(e){this.hooks=(0,u.i)({dropTarget:(e,t)=>{this.clearDropTarget(),this.dropTargetOptions=t,(0,c.i)(e)?this.dropTargetRef=e:this.dropTargetNode=e,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=e}}var l=r(5702),g=r(4412),h=r(18873);let f=!1;class p{receiveHandlerId(e){this.targetId=e}getHandlerId(){return this.targetId}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}canDrop(){if(!this.targetId)return!1;(0,h.V)(!f,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return f=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{f=!1}}isOver(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.targetId=null,this.internalMonitor=e.getMonitor()}}var v=r(51918);class y{canDrop(){const e=this.spec,t=this.monitor;return!e.canDrop||e.canDrop(t.getItem(),t)}hover(){const e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)}drop(){const e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)}constructor(e,t){this.spec=e,this.monitor=t}}function m(e,t){const r=(0,i.I)(e,t),a=function(){const e=(0,l.u)();return(0,o.useMemo)((()=>new p(e)),[e])}(),c=function(e){const t=(0,l.u)(),r=(0,o.useMemo)((()=>new d(t.getBackend())),[t]);return(0,g.E)((()=>(r.dropTargetOptions=e||null,r.reconnect(),()=>r.disconnectDropTarget())),[e]),r}(r.options);return function(e,t,r){const n=(0,l.u)(),i=function(e,t){const r=(0,o.useMemo)((()=>new y(e,t)),[t]);return(0,o.useEffect)((()=>{r.spec=e}),[e]),r}(e,t),s=function(e){const{accept:t}=e;return(0,o.useMemo)((()=>((0,h.V)(null!=e.accept,"accept must be defined"),Array.isArray(t)?t:[t])),[t])}(e);(0,g.E)((function(){const[e,o]=(0,v.l)(s,i,n);return t.receiveHandlerId(e),r.receiveHandlerId(e),o}),[n,t,i,r,s.map((e=>e.toString())).join("|")])}(r,a,c),[(0,n.j)(r.collect,a,c),s(c)]}},4412:(e,t,r)=>{r.d(t,{E:()=>i});var n=r(18769);const i="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},49158:(e,t,r)=>{r.d(t,{I:()=>i});var n=r(18769);function i(e,t){const r=[...t||[]];return null==t&&"function"!=typeof e&&r.push(e),(0,n.useMemo)((()=>"function"==typeof e?e():e),r)}},78394:(e,t,r)=>{function n(e){return null!==e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}r.d(t,{i:()=>n})},51918:(e,t,r)=>{function n(e,t,r){const n=r.getRegistry(),i=n.addTarget(e,t);return[i,()=>n.removeTarget(i)]}function i(e,t,r){const n=r.getRegistry(),i=n.addSource(e,t);return[i,()=>n.removeSource(i)]}r.d(t,{V:()=>i,l:()=>n})},67206:(e,t,r)=>{r.d(t,{i:()=>o});var n=r(18873),i=r(18769);function o(e){const t={};return Object.keys(e).forEach((r=>{const o=e[r];if(r.endsWith("Ref"))t[r]=e[r];else{const e=function(e){return(t=null,r=null)=>{if(!(0,i.isValidElement)(t)){const n=t;return e(n,r),n}const o=t;return function(e){if("string"==typeof e.type)return;const t=e.type.displayName||e.type.name||"the component";throw new Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${t} into a <div>, or turn it into a drag source or a drop target itself.`)}(o),function(e,t){const r=e.ref;return(0,n.V)("string"!=typeof r,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),r?(0,i.cloneElement)(e,{ref:e=>{s(r,e),s(t,e)}}):(0,i.cloneElement)(e,{ref:t})}(o,r?t=>e(t,r):e)}}(o);t[r]=()=>e}})),t}function s(e,t){"function"==typeof e?e(t):e.current=t}}}]);
3
- //# sourceMappingURL=9655.79761c08.js.map
@@ -1,2 +0,0 @@
1
- (self.webpackChunk_next_bricks_advanced=self.webpackChunk_next_bricks_advanced||[]).push([[9844],{79844:(n,e,s)=>{var r={"./en-au":94073,"./en-au.js":94073,"./en-ca":11387,"./en-ca.js":11387,"./en-gb":41386,"./en-gb.js":41386,"./en-ie":53537,"./en-ie.js":53537,"./en-il":67050,"./en-il.js":67050,"./en-in":3008,"./en-in.js":3008,"./en-nz":96963,"./en-nz.js":96963,"./en-sg":14865,"./en-sg.js":14865,"./zh-cn":61329,"./zh-cn.js":61329,"./zh-hk":13005,"./zh-hk.js":13005,"./zh-mo":47696,"./zh-mo.js":47696,"./zh-tw":85861,"./zh-tw.js":85861};function c(n){var e=a(n);return s(e)}function a(n){if(!s.o(r,n)){var e=new Error("Cannot find module '"+n+"'");throw e.code="MODULE_NOT_FOUND",e}return r[n]}c.keys=function(){return Object.keys(r)},c.resolve=a,n.exports=c,c.id=79844}}]);
2
- //# sourceMappingURL=9844.7edfae2f.js.map
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunk_next_bricks_advanced=self.webpackChunk_next_bricks_advanced||[]).push([[944,6330],{31007:(e,t,n)=>{n.r(t),n.d(t,{captureSnapshot:()=>r});var a=n(86330),o=n(52681),c=n(96002);function r(e){return i.apply(this,arguments)}function i(){return(i=(0,a.A)((function*(e){var{name:t,fileType:a,bucketName:o,selector:r,backgroundColor:i}=e;switch(a){case"image":var d=yield(0,c.Fg)(r,i);if(o){var u=yield(0,c.m0)(d),s=new File([u],"".concat(t,".png"),{type:u.type}),h=yield(0,c.QM)(s,o);return(0,c.Lb)(o,h.data.objectName)}yield(0,c.GV)(d,t);break;case"pdf":var{jsPDF:l}=yield n.e(1576).then(n.bind(n,31576)),v=yield(0,c.Fg)(r,i),p=v.toDataURL("image/jpeg",1),f=new l(v.width>v.height?"landscape":"portrait","pt",[v.width,v.height]);f.addImage(p,"JPEG",0,0,v.width,v.height),yield f.save("".concat(t,".pdf"),{returnPromise:!0})}}))).apply(this,arguments)}customElements.define("advanced.capture-snapshot",(0,o.createProviderClass)(r))},96002:(e,t,n)=>{n.d(t,{Fg:()=>i,GV:()=>d,Lb:()=>h,QM:()=>s,m0:()=>u});var a=n(55866),o=n(28317),c=n.n(o),r=n(99974);function i(e,t){var n=e?document.querySelector("".concat(e)):document.body;if(!n)throw new Error("target not found: ".concat(e));return new Promise((function(e,a){c()(n,{backgroundColor:t||null,useCORS:!0,allowTaint:!0,scale:window.devicePixelRatio<3?window.devicePixelRatio:2}).then((function(t){e(t)})).catch(a)}))}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"image";return new Promise(((n,a)=>{try{var o=e.toDataURL("image/png"),c=new Image;c.onload=function(){var e=document.createElement("canvas");e.width=c.width,e.height=c.height;var n=e.getContext("2d");null==n||n.drawImage(c,0,0,c.width,c.height);var a=e.toDataURL("image/png"),o=document.createElement("a");o.href=a,o.download=t;var r=new MouseEvent("click");o.dispatchEvent(r)},c.src=o,n("succeed")}catch(e){a("failed")}}))}function u(e){return new Promise((function(t,n){e.toBlob((function(e){e?t(e):n()}))}))}function s(e,t){var n=new FormData;n.append("file",e,e.name);var o="".concat((0,r.getBasePath)(),"api/gateway/object_store.object_store.PutObject/api/v1/objectStore/bucket/").concat(t,"/object");return a.http.request(o,{method:"PUT",body:n})}function h(e,t){return"".concat((0,r.getBasePath)(),"api/gateway/logic.object_store_service/api/v1/objectStore/bucket/").concat(e,"/object/").concat(t)}},86330:(e,t,n)=>{function a(e,t,n,a,o,c,r){try{var i=e[c](r),d=i.value}catch(e){return void n(e)}i.done?t(d):Promise.resolve(d).then(a,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,c){var r=e.apply(t,n);function i(e){a(r,o,c,i,d,"next",e)}function d(e){a(r,o,c,i,d,"throw",e)}i(void 0)}))}}n.d(t,{A:()=>o})}}]);
2
- //# sourceMappingURL=capture-snapshot.21e8093f.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chunks/capture-snapshot.21e8093f.js","mappings":"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","sources":["webpack:///./src/data-providers/capture-snapshot.ts","webpack:///./src/data-providers/snapshot.ts","webpack:///../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"],"sourcesContent":["// istanbul ignore file: nothing logical except calling html2canvas.\nimport { createProviderClass } from \"@next-core/utils/general\";\nimport {\n capture,\n downloadImage,\n getCanvasBlob,\n uploadFile,\n buildImageUrl,\n} from \"./snapshot.js\";\nexport type SnapshotOptions = {\n /** 文件名称 */\n name: string;\n /** 文件类型 */\n fileType: \"image\" | \"pdf\";\n /** 选择器 */\n selector?: string;\n /** 对象存储桶名字, fileType只能为 `image` */\n bucketName?: string;\n /** 画布背景颜色, 默认透明 */\n backgroundColor?: string;\n};\n/**\n * 截图,保存或上传\n *\n * @param options 选项\n */\nexport async function captureSnapshot(\n options: SnapshotOptions\n): Promise<void | string> {\n const { name, fileType, bucketName, selector, backgroundColor } = options;\n switch (fileType) {\n case \"image\":\n {\n const canvas = await capture(selector, backgroundColor);\n if (bucketName) {\n const blob = await getCanvasBlob(canvas);\n const files = new File([blob], `${name}.png`, { type: blob.type });\n const result = await uploadFile(files, bucketName);\n return buildImageUrl(bucketName, result.data.objectName);\n } else {\n await downloadImage(canvas, name);\n }\n }\n break;\n case \"pdf\": {\n const { jsPDF } = await import(\"jspdf\");\n const canvas = await capture(selector, backgroundColor);\n const imageData = canvas.toDataURL(\"image/jpeg\", 1.0);\n const orientation =\n canvas.width > canvas.height ? \"landscape\" : \"portrait\";\n const pdf = new jsPDF(orientation, \"pt\", [canvas.width, canvas.height]);\n pdf.addImage(imageData, \"JPEG\", 0, 0, canvas.width, canvas.height);\n await pdf.save(`${name}.pdf`, { returnPromise: true });\n break;\n }\n default:\n break;\n }\n}\n\ncustomElements.define(\n \"advanced.capture-snapshot\",\n createProviderClass(captureSnapshot)\n);\n","// istanbul ignore file: nothing logical except calling html2canvas.\nimport { http } from \"@next-core/http\";\nimport html2canvas from \"html2canvas\";\nimport { getBasePath } from \"@next-core/runtime\";\n\nexport type UploadStatus = \"uploading\" | \"done\" | \"error\";\n\nexport function capture(\n selector?: string,\n backgroundColor?: string\n): Promise<HTMLCanvasElement> {\n const target: HTMLElement | null = selector\n ? document.querySelector(`${selector}`)\n : document.body;\n if (!target) {\n throw new Error(`target not found: ${selector}`);\n }\n return new Promise(function (resolve, reject) {\n html2canvas(target, {\n backgroundColor: backgroundColor || null,\n useCORS: true,\n allowTaint: true,\n scale: window.devicePixelRatio < 3 ? window.devicePixelRatio : 2,\n })\n .then(function (canvas: HTMLCanvasElement) {\n resolve(canvas);\n })\n .catch(reject);\n });\n}\n\nexport function downloadImage(\n canvas: HTMLCanvasElement,\n name = \"image\"\n): Promise<string> {\n return new Promise((resolve, reject) => {\n try {\n const url = canvas.toDataURL(\"image/png\");\n const image = new Image();\n image.onload = function () {\n const canvas = document.createElement(\"canvas\");\n canvas.width = image.width;\n canvas.height = image.height;\n const ctx = canvas.getContext(\"2d\");\n ctx?.drawImage(image, 0, 0, image.width, image.height);\n\n const url = canvas.toDataURL(\"image/png\");\n const a = document.createElement(\"a\");\n a.href = url;\n a.download = name;\n const event = new MouseEvent(\"click\");\n a.dispatchEvent(event);\n };\n image.src = url;\n resolve(\"succeed\");\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n } catch (e) {\n reject(\"failed\");\n }\n });\n}\n\nexport function getCanvasBlob(canvas: HTMLCanvasElement): Promise<Blob> {\n return new Promise(function (resolve, reject) {\n canvas.toBlob(function (blob: Blob | null) {\n if (blob) {\n resolve(blob);\n } else {\n reject();\n }\n });\n });\n}\n\nexport function uploadFile(\n file: File,\n bucketName: string\n): Promise<{ data: { objectName: string } }> {\n const formData = new FormData();\n formData.append(\"file\", file, file.name);\n\n const url = `${getBasePath()}api/gateway/object_store.object_store.PutObject/api/v1/objectStore/bucket/${bucketName}/object`;\n\n return http.request(url, {\n method: \"PUT\",\n body: formData,\n });\n}\nexport function buildImageUrl(bucketName: string, objectName: string) {\n return `${getBasePath()}api/gateway/logic.object_store_service/api/v1/objectStore/bucket/${bucketName}/object/${objectName}`;\n}\n","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}"],"names":["captureSnapshot","_x","_captureSnapshot","apply","arguments","_asyncToGenerator","options","name","fileType","bucketName","selector","backgroundColor","canvas","capture","blob","getCanvasBlob","files","File","concat","type","result","uploadFile","buildImageUrl","data","objectName","downloadImage","jsPDF","imageData","toDataURL","pdf","width","height","addImage","save","returnPromise","customElements","define","createProviderClass","target","document","querySelector","body","Error","Promise","resolve","reject","html2canvas","useCORS","allowTaint","scale","window","devicePixelRatio","then","catch","length","undefined","url","image","Image","onload","createElement","ctx","getContext","drawImage","a","href","download","event","MouseEvent","dispatchEvent","src","e","toBlob","file","formData","FormData","append","getBasePath","http","request","method","asyncGeneratorStep","gen","_next","_throw","key","arg","info","value","error","done","fn","self","this","args","err"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunk_next_bricks_advanced=self.webpackChunk_next_bricks_advanced||[]).push([[5008],{23246:(e,t,s)=>{s.d(t,{A:()=>o});var i=s(89575),r=s(18769);const a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};var n=s(84021),l=function(e,t){return r.createElement(n.A,(0,i.A)({},e,{ref:t,icon:a}))};const o=r.forwardRef(l)},72245:(e,t,s)=>{s.d(t,{A:()=>o});var i=s(89575),r=s(18769);const a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};var n=s(84021),l=function(e,t){return r.createElement(n.A,(0,i.A)({},e,{ref:t,icon:a}))};const o=r.forwardRef(l)},16768:(e,t,s)=>{s.d(t,{A:()=>f});var i=s(68621),r=s(58133),a=s(79154),n=s(73459);var l=s(19509),o=s(53443),h=s(94597),c=s(64425);var u=s(27856),d=s(45907),A=s(55983);const p=(e,t)=>new A.q(e).setAlpha(t).toRgbString(),g=(e,t)=>new A.q(e).lighten(t).toHexString(),m=e=>{const t=(0,u.cM)(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},b=(e,t)=>{const s=e||"#000",i=t||"#fff";return{colorBgBase:s,colorTextBase:i,colorText:p(i,.85),colorTextSecondary:p(i,.65),colorTextTertiary:p(i,.45),colorTextQuaternary:p(i,.25),colorFill:p(i,.18),colorFillSecondary:p(i,.12),colorFillTertiary:p(i,.08),colorFillQuaternary:p(i,.04),colorBgElevated:g(s,12),colorBgContainer:g(s,8),colorBgLayout:g(s,0),colorBgSpotlight:g(s,26),colorBgBlur:p(i,.04),colorBorder:g(s,26),colorBorderSecondary:g(s,19)}},f={defaultConfig:o.sb,defaultSeed:o.sb.token,useToken:function(){const[e,t,s]=(0,l.Ay)();return{theme:e,token:t,hashId:s}},defaultAlgorithm:r.A,darkAlgorithm:(e,t)=>{const s=Object.keys(a.r).map((t=>{const s=(0,u.cM)(e[t],{theme:"dark"});return new Array(10).fill(1).reduce(((e,i,r)=>(e[`${t}-${r+1}`]=s[r],e[`${t}${r+1}`]=s[r],e)),{})})).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{}),i=null!=t?t:(0,r.A)(e);return Object.assign(Object.assign(Object.assign({},i),s),(0,d.A)(e,{generateColorPalettes:m,generateNeutralColorPalettes:b}))},compactAlgorithm:(e,t)=>{const s=null!=t?t:(0,r.A)(e),i=s.fontSizeSM,a=s.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},s),function(e){const{sizeUnit:t,sizeStep:s}=e,i=s-2;return{sizeXXL:t*(i+10),sizeXL:t*(i+6),sizeLG:t*(i+2),sizeMD:t*(i+2),sizeMS:t*(i+1),size:t*i,sizeSM:t*i,sizeXS:t*(i-1),sizeXXS:t*(i-1)}}(null!=t?t:e)),(0,c.A)(i)),{controlHeight:a}),(0,h.A)(Object.assign(Object.assign({},s),{controlHeight:a})))},getDesignToken:e=>{const t=(null==e?void 0:e.algorithm)?(0,i.an)(e.algorithm):(0,i.an)(r.A),s=Object.assign(Object.assign({},a.A),null==e?void 0:e.token);return(0,i.lO)(s,{override:null==e?void 0:e.token},t,n.A)}}},58381:(e,t,s)=>{s.r(t),s.d(t,{CascaderBrick:()=>H});var i,r,a,n,l,o,h,c,u,d,A,p,g,m,b,f,w,k,v,C,x,M,S,y,W,B,T,z,E,O,N,j,R,F,I,L,P,_,q,X,$,D,H,V=s(24586),Q=s(74635),G=s(70918),U=s(26902),J=s(5536),K=s(86121),Y=s(70829),Z=s(62740),ee=s(18769),te=s.n(ee),se=s(93741),ie=s(46430),re=(s(46329),s(80050)),ae=s(16768),ne=s(97039),le=s(68621),oe=s(30426),he=s(67967),ce=s(71058),{defineElement:ue,property:de,event:Ae}=(0,se.createDecorators)(),pe=(0,ie.wrapBrick)("eo-icon"),ge=(0,ie.wrapBrick)("eo-form-item"),me=new WeakMap,be=new WeakMap,fe=new WeakMap,we=new WeakMap,ke=new WeakMap,ve=new WeakMap,Ce=new WeakMap,xe=new WeakMap,Me=new WeakMap,Se=new WeakMap,ye=new WeakMap,We=new WeakMap,Be=new WeakMap,Te=new WeakMap,ze=new WeakMap,Ee=new WeakMap,Oe=new WeakMap,Ne=new WeakMap,je=new WeakMap,Re=new WeakSet;class Fe extends oe.N{constructor(){super(...arguments),(0,Q.A)(this,Re),(0,G.A)(this,me,a(this)),(0,G.A)(this,be,(n(this),l(this))),(0,G.A)(this,fe,(o(this),h(this))),(0,G.A)(this,we,(c(this),u(this))),(0,G.A)(this,ke,(d(this),A(this,{label:"label",value:"value",children:"children"}))),(0,G.A)(this,ve,(p(this),g(this))),(0,G.A)(this,Ce,(m(this),b(this))),(0,G.A)(this,xe,(f(this),w(this))),(0,G.A)(this,Me,(k(this),v(this))),(0,G.A)(this,Se,(C(this),x(this,!0))),(0,G.A)(this,ye,(M(this),S(this,!0))),(0,G.A)(this,We,(y(this),W(this))),(0,G.A)(this,Be,(B(this),T(this,"click"))),(0,G.A)(this,Te,(z(this),E(this,"bottomLeft"))),(0,G.A)(this,ze,(O(this),N(this))),(0,G.A)(this,Ee,(j(this),R(this,50))),(0,G.A)(this,Oe,(F(this),I(this))),(0,G.A)(this,Ne,(L(this),P(this))),(0,G.A)(this,je,(_(this),q(this))),(0,V.A)(this,"handleOnChange",(D(this),(e,t)=>{this.value=e,Promise.resolve().then((()=>{(0,J.A)(Re,this,X).emit({value:e,selectedOptions:t})}))}))}get name(){return(0,Y.A)(me,this)}set name(e){(0,K.A)(me,this,e)}get label(){return(0,Y.A)(be,this)}set label(e){(0,K.A)(be,this,e)}get required(){return(0,Y.A)(fe,this)}set required(e){(0,K.A)(fe,this,e)}get options(){return(0,Y.A)(we,this)}set options(e){(0,K.A)(we,this,e)}get fieldNames(){return(0,Y.A)(ke,this)}set fieldNames(e){(0,K.A)(ke,this,e)}get value(){return(0,Y.A)(ve,this)}set value(e){(0,K.A)(ve,this,e)}get placeholder(){return(0,Y.A)(Ce,this)}set placeholder(e){(0,K.A)(Ce,this,e)}get multiple(){return(0,Y.A)(xe,this)}set multiple(e){(0,K.A)(xe,this,e)}get disabled(){return(0,Y.A)(Me,this)}set disabled(e){(0,K.A)(Me,this,e)}get allowClear(){return(0,Y.A)(Se,this)}set allowClear(e){(0,K.A)(Se,this,e)}get showSearch(){return(0,Y.A)(ye,this)}set showSearch(e){(0,K.A)(ye,this,e)}get suffixIcon(){return(0,Y.A)(We,this)}set suffixIcon(e){(0,K.A)(We,this,e)}get expandTrigger(){return(0,Y.A)(Be,this)}set expandTrigger(e){(0,K.A)(Be,this,e)}get popupPlacement(){return(0,Y.A)(Te,this)}set popupPlacement(e){(0,K.A)(Te,this,e)}get size(){return(0,Y.A)(ze,this)}set size(e){(0,K.A)(ze,this,e)}get limit(){return(0,Y.A)(Ee,this)}set limit(e){(0,K.A)(Ee,this,e)}get maxTagCount(){return(0,Y.A)(Oe,this)}set maxTagCount(e){(0,K.A)(Oe,this,e)}get cascaderStyle(){return(0,Y.A)(Ne,this)}set cascaderStyle(e){(0,K.A)(Ne,this,e)}render(){return te().createElement(ge,{exportparts:"message",curElement:this,formElement:this.getFormElement(),name:this.name,label:this.label,required:this.required,notRender:this.notRender,trigger:"handleOnChange"},te().createElement(Ie,{shadowRoot:this.shadowRoot,options:this.options,fieldNames:this.fieldNames,value:this.value,multiple:this.multiple,placeholder:this.placeholder,disabled:this.disabled,allowClear:this.allowClear,showSearch:this.showSearch,expandTrigger:this.expandTrigger,suffixIcon:this.suffixIcon,size:this.size,limit:this.limit,popupPlacement:this.popupPlacement,maxTagCount:this.maxTagCount,cascaderStyle:this.cascaderStyle,onChange:this.handleOnChange}))}}function Ie(e){var{shadowRoot:t,options:s,fieldNames:i,value:r,placeholder:a,disabled:n,multiple:l,allowClear:o,showSearch:h,expandTrigger:c,size:u,limit:d,popupPlacement:A,cascaderStyle:p,suffixIcon:g,maxTagCount:m,onChange:b}=e,f=(0,he.useCurrentTheme)(),w=(0,ee.useMemo)((()=>(0,le.VC)()),[]);return te().createElement(re.Ay,{theme:{algorithm:"dark-v2"===f?ae.A.darkAlgorithm:ae.A.defaultAlgorithm}},te().createElement(le.N7,{container:t,cache:w},te().createElement(ne.A,{getPopupContainer:e=>e.parentElement,allowClear:o,disabled:n,multiple:l,expandTrigger:c,fieldNames:i,placeholder:a,size:u,showSearch:h&&{limit:d,filter:(e,t)=>{for(var s,r=(null==i?void 0:i.label)||"label",a=e.split(" ").filter((e=>e)).map((e=>e.toLocaleLowerCase())),n=function(e){if(!t.some((t=>t[r].toLowerCase().includes(a[e]))))return{v:!1}},l=0;l<a.length;l++)if(s=n(l))return s.v;return!0}},placement:A,style:p,suffixIcon:g&&te().createElement(pe,g),maxTagCount:m,value:r,options:s,onChange:(e,t)=>null==b?void 0:b(e,t)})))}i=Fe,({e:[a,n,l,o,h,c,u,d,A,p,g,m,b,f,w,k,v,C,x,M,S,y,W,B,T,z,E,O,N,j,R,F,I,L,P,_,q,X,$,D],c:[H,r]}=(0,Z.A)(i,[ue("eo-cascader",{alias:["advanced.general-cascader"],styleTexts:[ce.A]})],[[de(),1,"name"],[de(),1,"label"],[de({type:Boolean}),1,"required"],[de({attribute:!1}),1,"options"],[de({attribute:!1}),1,"fieldNames"],[de({attribute:!1}),1,"value"],[de(),1,"placeholder"],[de({type:Boolean}),1,"multiple"],[de({type:Boolean}),1,"disabled"],[de({type:Boolean}),1,"allowClear"],[de({type:Boolean}),1,"showSearch"],[de({attribute:!1}),1,"suffixIcon"],[de(),1,"expandTrigger"],[de(),1,"popupPlacement"],[de(),1,"size"],[de({type:Number}),1,"limit"],[de({attribute:!1}),1,"maxTagCount"],[de({attribute:!1}),1,"cascaderStyle"],[Ae({type:"cascader.change"}),1,"changeEvent",e=>(0,Y.A)(je,e),(e,t)=>(0,K.A)(je,e,t)]],0,(e=>Re.has((0,U.A)(e))),oe.N)),r()},71058:(e,t,s)=>{s.d(t,{A:()=>l});var i=s(36758),r=s.n(i),a=s(40935),n=s.n(a)()(r());n.push([e.id,".ant-select-single .ant-select-selector{border-radius:var(--medius-border-radius)}.ant-select-dropdown{border-radius:var(--medius-border-radius)}.ant-cascader-dropdown .ant-cascader-menu-item{border-radius:var(--small-border-radius)}",""]);const l=n.toString()},30426:(e,t,s)=>{s.d(t,{N:()=>O});var i,r,a,n,l,o,h,c,u,d,A=s(74635),p=s(70918),g=s(5536),m=s(99492),b=s(86121),f=s(70829),w=s(62740),k=s(93741),v=s(46430),{method:C,property:x}=(0,k.createDecorators)(),M=new WeakMap,S=new WeakSet,y=new WeakMap,W=new WeakMap,B=new WeakMap,T=new WeakMap,z=new WeakMap,E=new WeakMap;class O extends v.ReactNextElement{constructor(){super(...arguments),(0,A.A)(this,S),(0,p.A)(this,M,(r(this),!1)),(0,p.A)(this,y,"normal"),(0,p.A)(this,W,!1),(0,p.A)(this,B,a(this)),(0,p.A)(this,T,(n(this),l(this))),(0,p.A)(this,z,(o(this),h(this))),(0,p.A)(this,E,(c(this),u(this))),d(this)}get isFormItemElement(){return!0}set validateState(e){(0,m.A)(S,F,this,e),this._render()}get validateState(){return(0,g.A)(S,this,R)}set notRender(e){this.hidden=e,(0,m.A)(S,j,this,e),this._render()}get notRender(){return(0,g.A)(S,this,N)}get $bindFormItem(){return(0,g.A)(S,this,I)}set $bindFormItem(e){(0,m.A)(S,L,this,e),this._render()}get helpBrick(){return(0,f.A)(B,this)}set helpBrick(e){(0,b.A)(B,this,e)}get labelBrick(){return(0,f.A)(T,this)}set labelBrick(e){(0,b.A)(T,this,e)}get labelCol(){return(0,f.A)(z,this)}set labelCol(e){(0,b.A)(z,this,e)}get wrapperCol(){return(0,f.A)(E,this)}set wrapperCol(e){(0,b.A)(E,this,e)}setNotRender(e){this.notRender=e}getFormElement(){for(var e=this;(e=e.parentNode)&&e&&!e.isFormElement;);return e}}function N(e){return(0,f.A)(M,e)}function j(e,t){(0,b.A)(M,e,t)}function R(e){return(0,f.A)(y,e)}function F(e,t){(0,b.A)(y,e,t)}function I(e){return(0,f.A)(W,e)}function L(e,t){(0,b.A)(W,e,t)}i=O,[a,n,l,o,h,c,u,d,r]=(0,w.A)(i,[],[[x({attribute:!1}),1,"helpBrick"],[x({attribute:!1}),1,"labelBrick"],[x({attribute:!1}),1,"labelCol"],[x({attribute:!1}),1,"wrapperCol"],[C(),2,"setNotRender"],[C(),2,"getFormElement"]],0,void 0,v.ReactNextElement).e}}]);
2
- //# sourceMappingURL=eo-cascader.0b3aad5a.js.map