@crystaldesign/diva-web-planner-react 24.15.0-beta.8 → 24.15.0-beta.9

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 (266) hide show
  1. package/build/esm/{ArticleProperties-4891d7b3.js → ArticleProperties-1ad2200a.js} +1 -1
  2. package/build/esm/{CatalogProperties-08287e2f.js → CatalogProperties-d3d17914.js} +1 -1
  3. package/build/esm/{IconHandler-3bef3390.js → IconHandler-84605b68.js} +1 -1
  4. package/build/esm/{OptionProperties-ea9af043.js → OptionProperties-d552aa2d.js} +1 -1
  5. package/build/esm/{OptionValueProperties-441b9b33.js → OptionValueProperties-d94a6d0f.js} +1 -1
  6. package/build/esm/{Planner2DGrid-e8173b6b.js → Planner2DGrid-6b652fa3.js} +1 -1
  7. package/build/esm/{Planner3DImage-94caa0fe.js → Planner3DImage-7b0f6020.js} +1 -1
  8. package/build/esm/{index-22b31134.js → index-005d1923.js} +50 -50
  9. package/build/esm/{index-76934b9c.js → index-01601245.js} +45 -45
  10. package/build/esm/{index-50e27190.js → index-02280cc2.js} +1 -1
  11. package/build/esm/{index-5708c341.js → index-02ab8cdd.js} +23 -23
  12. package/build/esm/{index-3fc738bb.js → index-02b6596c.js} +1 -1
  13. package/build/esm/{index-bd1ccf73.js → index-0488e9ea.js} +2 -2
  14. package/build/esm/{index-c7d28744.js → index-04ea3fb0.js} +1 -1
  15. package/build/esm/{index-56f64aff.js → index-066e6735.js} +1 -1
  16. package/build/esm/{index-248a6964.js → index-06d73a83.js} +1 -1
  17. package/build/esm/{index-3d9124b3.js → index-0858ecf2.js} +2 -2
  18. package/build/esm/{index-6d89e574.js → index-086e8a66.js} +1 -1
  19. package/build/esm/{index-82a34b05.js → index-09af8488.js} +1 -1
  20. package/build/esm/{index-789baef9.js → index-0bf42c75.js} +2 -2
  21. package/build/esm/{index-e2492dd5.js → index-0c3788e2.js} +1 -1
  22. package/build/esm/{index-93a13177.js → index-0ecbaed5.js} +76 -76
  23. package/build/esm/{index-6bfa0681.js → index-10b7af83.js} +4 -4
  24. package/build/esm/{index-8971acd6.js → index-1199ca5b.js} +3 -3
  25. package/build/esm/{index-5c0da67c.js → index-1207abad.js} +17 -17
  26. package/build/esm/{index-590b944c.js → index-14fad784.js} +1 -1
  27. package/build/esm/{index-0f082338.js → index-1651fc72.js} +14 -14
  28. package/build/esm/{index-3580937e.js → index-17f44c8a.js} +5 -5
  29. package/build/esm/{index-b7a0d050.js → index-18bc4e02.js} +1 -1
  30. package/build/esm/{index-62f2342d.js → index-19c3e901.js} +1 -1
  31. package/build/esm/{index-676f71af.js → index-1bdca307.js} +1 -1
  32. package/build/esm/{index-53f06824.js → index-1c9c793d.js} +2 -2
  33. package/build/esm/{index-0f4fcf60.js → index-1cb8d33e.js} +2 -2
  34. package/build/esm/{index-4e852a3e.js → index-1dc69d9d.js} +1 -1
  35. package/build/esm/{index-94e8911a.js → index-217796f2.js} +1 -1
  36. package/build/esm/{index-52139920.js → index-2179cb78.js} +10 -5
  37. package/build/esm/{index-9be0fa2d.js → index-220c9467.js} +1 -1
  38. package/build/esm/{index-c02154c3.js → index-2484efc4.js} +2 -2
  39. package/build/esm/{index-4e017fe4.js → index-2593f247.js} +2 -2
  40. package/build/esm/{index-cb8cc468.js → index-273e6d45.js} +1 -1
  41. package/build/esm/{index-fbe501a0.js → index-2ae727ca.js} +5 -5
  42. package/build/esm/{index-615eb7f7.js → index-2e032801.js} +3 -3
  43. package/build/esm/{index-965dc13f.js → index-2e091e74.js} +1 -1
  44. package/build/esm/{index-7a5f1fb1.js → index-2e240f36.js} +3 -4
  45. package/build/esm/{index-937246d3.js → index-2e91d987.js} +1 -1
  46. package/build/esm/{index-53e1ab22.js → index-2f3c8088.js} +1 -1
  47. package/build/esm/{index-74609dd1.js → index-31b93b00.js} +1 -1
  48. package/build/esm/{index-1d58da47.js → index-3503bd97.js} +1 -1
  49. package/build/esm/{index-5e71f34c.js → index-35567ff0.js} +1 -1
  50. package/build/esm/{index-4bfd454e.js → index-355a018e.js} +5 -5
  51. package/build/esm/{index-6859c2ee.js → index-357e4702.js} +3 -3
  52. package/build/esm/{index-78bcb662.js → index-35c85eea.js} +4 -4
  53. package/build/esm/{index-e41b1bfc.js → index-38960ef8.js} +2 -2
  54. package/build/esm/{index-44932ee9.js → index-38b7d726.js} +1 -1
  55. package/build/esm/{index-5b97d922.js → index-396f60e8.js} +8 -8
  56. package/build/esm/{index-b856d507.js → index-3b51e9a8.js} +13 -13
  57. package/build/esm/{index-2ebceaf7.js → index-3bb130d8.js} +1 -1
  58. package/build/esm/{index-783ecde0.js → index-3bd827a7.js} +1 -1
  59. package/build/esm/{index-0416eb1f.js → index-3fa289dd.js} +1 -1
  60. package/build/esm/{index-3e683521.js → index-3fbd6848.js} +2 -2
  61. package/build/esm/{index-af7d20c4.js → index-3fbef348.js} +3 -3
  62. package/build/esm/{index-f2dc524c.js → index-40de2629.js} +3 -3
  63. package/build/esm/{index-c5be775e.js → index-431a398e.js} +1 -1
  64. package/build/esm/{index-238fefe2.js → index-4375c309.js} +1 -1
  65. package/build/esm/{index-70a96774.js → index-4693482d.js} +5 -5
  66. package/build/esm/{index-289a86d9.js → index-475b0313.js} +1 -1
  67. package/build/esm/{index-f3991418.js → index-49b62a54.js} +1 -1
  68. package/build/esm/{index-1fd95f6c.js → index-49fc2405.js} +1 -1
  69. package/build/esm/{index-43cffaf2.js → index-4bec5ac2.js} +2 -2
  70. package/build/esm/{index-b78f3b76.js → index-4c056ecd.js} +3 -3
  71. package/build/esm/{index-146f793f.js → index-4def6080.js} +1 -1
  72. package/build/esm/{index-d00a0d77.js → index-51209987.js} +6 -6
  73. package/build/esm/{index-59dd1892.js → index-530c1ede.js} +1 -1
  74. package/build/esm/{index-59dadb50.js → index-53641661.js} +2 -2
  75. package/build/esm/{index-9c032093.js → index-5367acc9.js} +2 -2
  76. package/build/esm/{index-908c63b0.js → index-53fdd522.js} +230 -229
  77. package/build/esm/{index-47cfcf9d.js → index-543d96f1.js} +1 -1
  78. package/build/esm/{index-5020d64d.js → index-54423618.js} +2 -2
  79. package/build/esm/{index-80cdbb40.js → index-548cc7be.js} +1 -1
  80. package/build/esm/{index-8e587adb.js → index-54f6fbee.js} +37 -37
  81. package/build/esm/{index-34f5e501.js → index-55a325c9.js} +1 -1
  82. package/build/esm/{index-d6566f6e.js → index-561613f9.js} +44 -44
  83. package/build/esm/{index-7526729e.js → index-566eea94.js} +3 -3
  84. package/build/esm/{index-80ba817d.js → index-57c8566b.js} +3 -3
  85. package/build/esm/{index-af92c8dc.js → index-58976393.js} +96 -96
  86. package/build/esm/{index-14366f94.js → index-59c2774a.js} +2 -2
  87. package/build/esm/{index-5f6a4ac5.js → index-59ca7653.js} +1 -1
  88. package/build/esm/{index-0a228082.js → index-5a9f88f0.js} +2 -2
  89. package/build/esm/{index-535cd182.js → index-5ae4cdea.js} +51 -51
  90. package/build/esm/{index-5975f19d.js → index-5b496c19.js} +97 -97
  91. package/build/esm/{index-56c6f2bd.js → index-5b4d85e8.js} +1 -1
  92. package/build/esm/{index-3b2472e1.js → index-5baff04c.js} +20 -20
  93. package/build/esm/{index-48ce4347.js → index-5bc74dd3.js} +6 -6
  94. package/build/esm/{index-2ae1db4d.js → index-5c75f7b2.js} +17 -17
  95. package/build/esm/{index-6b3c80b5.js → index-5dcff4cf.js} +4 -4
  96. package/build/esm/{index-fc62aeed.js → index-5e2683fb.js} +1 -1
  97. package/build/esm/{index-afcd5389.js → index-5e86bbf0.js} +4 -4
  98. package/build/esm/{index-ef98e401.js → index-5f20ce7b.js} +1 -1
  99. package/build/esm/{index-37c4d805.js → index-61597210.js} +1 -1
  100. package/build/esm/{index-bf57119b.js → index-69968cc4.js} +1 -1
  101. package/build/esm/{index-ed88e6c1.js → index-69e959bb.js} +1 -1
  102. package/build/esm/{index-1a7e08cc.js → index-6c13b2b2.js} +1 -1
  103. package/build/esm/{index-50cbd094.js → index-6cff6d72.js} +1 -1
  104. package/build/esm/{index-3164a4b3.js → index-6d20b948.js} +1 -1
  105. package/build/esm/{index-07a75238.js → index-6deae99a.js} +4 -4
  106. package/build/esm/{index-aea5d4ca.js → index-6e1dc624.js} +3 -3
  107. package/build/esm/{index-09ee69cf.js → index-6ea99198.js} +19 -19
  108. package/build/esm/{index-b1fcbc1f.js → index-6eed046a.js} +5 -5
  109. package/build/esm/{index-86593412.js → index-6f3fb22e.js} +1 -1
  110. package/build/esm/{index-15f3a1f4.js → index-705ea1d5.js} +1 -1
  111. package/build/esm/{index-e880ecac.js → index-7271c44c.js} +1 -1
  112. package/build/esm/{index-78b87bf2.js → index-740f20ae.js} +4 -4
  113. package/build/esm/{index-c51c5be5.js → index-74a0aa15.js} +5 -5
  114. package/build/esm/{index-2837faaa.js → index-77052f4b.js} +5 -5
  115. package/build/esm/{index-eb03f43d.js → index-770ede4c.js} +2 -2
  116. package/build/esm/{index-9ef5489e.js → index-77261089.js} +1 -1
  117. package/build/esm/{index-1c3b5956.js → index-7ed87ca0.js} +2 -2
  118. package/build/esm/{index-7265f20e.js → index-80448082.js} +1 -1
  119. package/build/esm/{index-9c01fe8b.js → index-80753c98.js} +1 -1
  120. package/build/esm/{index-29f90804.js → index-81e9783b.js} +46 -46
  121. package/build/esm/{index-e25da5fa.js → index-8289176f.js} +7 -7
  122. package/build/esm/{index-1bedce12.js → index-8391f27a.js} +4 -4
  123. package/build/esm/{index-b2ab8c0a.js → index-83c23ab9.js} +1 -1
  124. package/build/esm/{index-15552518.js → index-84ce48f8.js} +1 -1
  125. package/build/esm/{index-283c167c.js → index-863d3b15.js} +2 -2
  126. package/build/esm/{index-7aeb22aa.js → index-871a4330.js} +1 -1
  127. package/build/esm/{index-ad6f09e7.js → index-87a51818.js} +1 -1
  128. package/build/esm/{index-7cc3a6f1.js → index-88b306e8.js} +1 -1
  129. package/build/esm/{index-59a12f5e.js → index-8b13e7c9.js} +38 -38
  130. package/build/esm/{index-7e8aa4c3.js → index-8bd66815.js} +1 -1
  131. package/build/esm/{index-5c4e1c36.js → index-8c0e3497.js} +1 -1
  132. package/build/esm/{index-2ae244e5.js → index-8e851da3.js} +1 -1
  133. package/build/esm/{index-acabc484.js → index-911f5456.js} +1 -1
  134. package/build/esm/{index-9c72298f.js → index-91baef41.js} +47 -47
  135. package/build/esm/{index-ae490956.js → index-922113cb.js} +9 -9
  136. package/build/esm/{index-4fdfda21.js → index-93d9bd55.js} +1 -1
  137. package/build/esm/{index-bf29d7d5.js → index-94b0e713.js} +65 -65
  138. package/build/esm/{index-93bf505e.js → index-94cdde8c.js} +49 -49
  139. package/build/esm/{index-5063e717.js → index-961882e8.js} +1 -1
  140. package/build/esm/{index-440e828e.js → index-964e3304.js} +1 -1
  141. package/build/esm/{index-f82087b3.js → index-9737b292.js} +1 -1
  142. package/build/esm/{index-a930f81a.js → index-97b1603f.js} +1 -1
  143. package/build/esm/{index-64e3cc1f.js → index-97c4bd09.js} +1 -1
  144. package/build/esm/{index-771a95df.js → index-987178ab.js} +63 -63
  145. package/build/esm/{index-a3ba93fc.js → index-992f1d33.js} +1 -1
  146. package/build/esm/{index-30f66d4a.js → index-9a698b63.js} +1 -1
  147. package/build/esm/{index-c0830016.js → index-9add3a05.js} +4 -4
  148. package/build/esm/{index-362e7dfa.js → index-9b7b4b10.js} +3 -3
  149. package/build/esm/{index-19175d36.js → index-9d8df78a.js} +2 -2
  150. package/build/esm/{index-53329e1a.js → index-9e4ac5ac.js} +3 -3
  151. package/build/esm/{index-cccca537.js → index-a000081a.js} +1 -1
  152. package/build/esm/{index-50be2c82.js → index-a5aa1594.js} +1 -1
  153. package/build/esm/{index-37ba0c26.js → index-a65cdccc.js} +1 -1
  154. package/build/esm/{index-a502cdf7.js → index-a870720e.js} +3 -3
  155. package/build/esm/{index-dd666896.js → index-a8945e40.js} +4 -4
  156. package/build/esm/{index-664a72e6.js → index-a92e9c2c.js} +6 -6
  157. package/build/esm/{index-2b3f1b92.js → index-a940afaf.js} +3 -3
  158. package/build/esm/{index-6ee0f649.js → index-aa076f3b.js} +3 -3
  159. package/build/esm/{index-b2633f27.js → index-ad386f15.js} +3 -3
  160. package/build/esm/{index-3079668c.js → index-ae061fc5.js} +1 -1
  161. package/build/esm/{index-c593b290.js → index-ae2138c0.js} +1 -1
  162. package/build/esm/{index-5cd9a48a.js → index-aea09907.js} +1 -1
  163. package/build/esm/{index-658ad4b4.js → index-af5699f7.js} +1 -1
  164. package/build/esm/{index-9b9c293f.js → index-af5e75c4.js} +1 -1
  165. package/build/esm/{index-cf04ba81.js → index-b0dfe6bd.js} +2 -2
  166. package/build/esm/{index-120e17bb.js → index-b27e4182.js} +1 -1
  167. package/build/esm/{index-bb576285.js → index-b2b50fda.js} +1 -1
  168. package/build/esm/{index-fd4db1ef.js → index-b315ed29.js} +4 -4
  169. package/build/esm/{index-fd77a0c4.js → index-b456d94f.js} +1 -1
  170. package/build/esm/{index-239ab1ef.js → index-b634f818.js} +3 -3
  171. package/build/esm/{index-0e9a2b67.js → index-b7148f94.js} +75 -75
  172. package/build/esm/{index-683bfabb.js → index-b7d28dcb.js} +2 -2
  173. package/build/esm/{index-2c38b6dd.js → index-b8a509e0.js} +1 -1
  174. package/build/esm/{index-7bb99e83.js → index-b8e8f49e.js} +1 -1
  175. package/build/esm/{index-b953d319.js → index-ba0ad7c8.js} +1 -1
  176. package/build/esm/{index-a6f58129.js → index-baf904a0.js} +1 -1
  177. package/build/esm/{index-f3eb4af8.js → index-bb2ffb4f.js} +1 -1
  178. package/build/esm/{index-c38df73e.js → index-bd7c71bd.js} +2 -2
  179. package/build/esm/{index-3a60ae73.js → index-be9cb38b.js} +3 -3
  180. package/build/esm/{index-05439eb3.js → index-bfd7a7fb.js} +1 -1
  181. package/build/esm/{index-0f8382b5.js → index-c01ea6bd.js} +2 -2
  182. package/build/esm/{index-45ea3f85.js → index-c113d810.js} +3 -3
  183. package/build/esm/{index-14603cce.js → index-c171609c.js} +1 -1
  184. package/build/esm/{index-ab3979cf.js → index-c20075b9.js} +63 -63
  185. package/build/esm/{index-41b2b328.js → index-c2028138.js} +7 -7
  186. package/build/esm/{index-2320bfe7.js → index-c42479e2.js} +1 -1
  187. package/build/esm/{index-70c82715.js → index-c72ead98.js} +4 -4
  188. package/build/esm/{index-af099824.js → index-c761281e.js} +2 -2
  189. package/build/esm/{index-b85c2805.js → index-c8ae03a9.js} +5 -5
  190. package/build/esm/{index-51f5b2a6.js → index-c9798d58.js} +9 -9
  191. package/build/esm/{index-ee341073.js → index-cc05128b.js} +3 -3
  192. package/build/esm/{index-0d5a9b9a.js → index-cdfd8560.js} +1 -1
  193. package/build/esm/{index-6de13157.js → index-d2211b26.js} +61 -61
  194. package/build/esm/{index-6d3a9d38.js → index-d3aa5722.js} +1 -1
  195. package/build/esm/{index-dc79b970.js → index-d41a4852.js} +3 -3
  196. package/build/esm/{index-aa14673e.js → index-d48ccd83.js} +4 -2
  197. package/build/esm/{index-34b2b30d.js → index-d63e6bbd.js} +1 -1
  198. package/build/esm/{index-e4394a1c.js → index-d6e3c6d1.js} +2 -2
  199. package/build/esm/{index-6e3653ba.js → index-d754e2a4.js} +2 -2
  200. package/build/esm/{index-f1b7de6b.js → index-d8bc5eae.js} +1 -1
  201. package/build/esm/{index-09aa361b.js → index-d990e618.js} +1 -1
  202. package/build/esm/{index-a26e393d.js → index-da09e21b.js} +4 -4
  203. package/build/esm/{index-fbd496db.js → index-db60246b.js} +19 -19
  204. package/build/esm/{index-f07dce60.js → index-db791e89.js} +1 -1
  205. package/build/esm/{index-c1231e6e.js → index-dc534940.js} +2 -2
  206. package/build/esm/{index-e865694a.js → index-dd01d479.js} +3 -3
  207. package/build/esm/{index-711d09c4.js → index-e11b073d.js} +2 -2
  208. package/build/esm/{index-6d2714bc.js → index-e1a6d990.js} +2 -2
  209. package/build/esm/{index-b126c006.js → index-e54623d9.js} +1 -1
  210. package/build/esm/{index-9748d63d.js → index-e5e735ad.js} +1 -1
  211. package/build/esm/{index-d787e530.js → index-e784b41f.js} +59 -59
  212. package/build/esm/{index-de17e601.js → index-e80a7ea5.js} +2 -2
  213. package/build/esm/{index-8a7345a4.js → index-eb6b34e8.js} +1 -1
  214. package/build/esm/{index-06962f90.js → index-ee0c2a1b.js} +1 -1
  215. package/build/esm/{index-31e900f0.js → index-ee8ebd0b.js} +20 -20
  216. package/build/esm/{index-108adf9f.js → index-eec4c002.js} +1 -1
  217. package/build/esm/{index-02f39769.js → index-f10fafdd.js} +1 -1
  218. package/build/esm/{index-c8d2b700.js → index-f14bceab.js} +1 -1
  219. package/build/esm/{index-f968a2a0.js → index-f1aa4c65.js} +15 -15
  220. package/build/esm/{index-dba524f0.js → index-f1ea389d.js} +6 -6
  221. package/build/esm/{index-a39e71e2.js → index-f374438c.js} +8 -8
  222. package/build/esm/{index-0aacf233.js → index-f3748330.js} +2 -2
  223. package/build/esm/{index-2d43f24a.js → index-f395a6c1.js} +1 -1
  224. package/build/esm/{index-c6671dd0.js → index-f6ce1c9e.js} +1 -1
  225. package/build/esm/{index-691ba910.js → index-f9420c4b.js} +1 -1
  226. package/build/esm/{index-47bc1464.js → index-fa64fd1c.js} +2 -2
  227. package/build/esm/{index-e5a5e939.js → index-faeb4b7c.js} +2 -2
  228. package/build/esm/{index-b88cd338.js → index-fb98fe7c.js} +1 -1
  229. package/build/esm/{index-901af0c4.js → index-fbd85c58.js} +2 -2
  230. package/build/esm/{index-60712740.js → index-fdf544f7.js} +2 -2
  231. package/build/esm/{index-c56e345b.js → index-fe3f3a93.js} +20 -20
  232. package/build/esm/index.js +1 -1
  233. package/build/esm/{index.module-6c47efe0.js → index.module-08d4b503.js} +1 -1
  234. package/build/esm/{index.module-0e134d8e.js → index.module-165dd6d2.js} +1 -1
  235. package/build/esm/{index.module-7d6012ea.js → index.module-165fe737.js} +1 -1
  236. package/build/esm/{index.module-d9ef96c6.js → index.module-547b7d67.js} +1 -1
  237. package/build/esm/{index.module-2f2f4797.js → index.module-54a780a9.js} +1 -1
  238. package/build/esm/{index.module-c825d30f.js → index.module-5563f437.js} +1 -1
  239. package/build/esm/{index.module-256213a1.js → index.module-59811c1a.js} +1 -1
  240. package/build/esm/{index.module-44f09268.js → index.module-7f906be2.js} +1 -1
  241. package/build/esm/{index.module-35cee447.js → index.module-82fbd846.js} +1 -1
  242. package/build/esm/{index.module-b07520b7.js → index.module-8abd07e7.js} +1 -1
  243. package/build/esm/{index.module-dfd5f5b5.js → index.module-a5a878a8.js} +1 -1
  244. package/build/esm/{index.module-f87a578c.js → index.module-c776de93.js} +1 -1
  245. package/build/esm/react-json-viewer-cfddb212.js +4 -0
  246. package/build/types/web-planner-react/src/components/Action/Basket/serious/index.d.ts.map +1 -1
  247. package/build/types/web-planner-react/src/components/Product/ContentItemWrapper/index.d.ts.map +1 -1
  248. package/build/types/web-planner-react/src/components/Product/Product/catalog/Components/ArticleOverview/JsonViewer/index.d.ts +1 -1
  249. package/build/types/web-planner-react/src/components/Product/Product/catalog/Components/ArticleOverview/JsonViewer/index.d.ts.map +1 -1
  250. package/build/types/web-planner-react/src/components/Product/Product/catalog/Components/PartListAnalyzer/index.d.ts +1 -1
  251. package/build/types/web-planner-react/src/components/Product/Product/catalog/Components/PartListAnalyzer/index.d.ts.map +1 -1
  252. package/build/types/web-planner-react/src/components/Settings/SettingsScroller/SettingsItem/ItemPalette/ProductList/index.d.ts.map +1 -1
  253. package/build/types/web-planner-react/src/model/States/UIState/Product/index.d.ts.map +1 -1
  254. package/build/umd/2537.diva-web-planner-react.umd.min.js +1 -1
  255. package/build/umd/2795.diva-web-planner-react.umd.min.js +1 -1
  256. package/build/umd/3695.diva-web-planner-react.umd.min.js +1 -1
  257. package/build/umd/3925.diva-web-planner-react.umd.min.js +1 -1
  258. package/build/umd/4759.diva-web-planner-react.umd.min.js +1 -1
  259. package/build/umd/5020.diva-web-planner-react.umd.min.js +1 -1
  260. package/build/umd/6617.diva-web-planner-react.umd.min.js +1 -1
  261. package/build/umd/7830.diva-web-planner-react.umd.min.js +1 -1
  262. package/build/umd/9620.diva-web-planner-react.umd.min.js +1 -1
  263. package/build/umd/9874.diva-web-planner-react.umd.min.js +1 -1
  264. package/build/umd/diva-web-planner-react.umd.min.js +1 -1
  265. package/build/umd/report.html +1 -1
  266. package/package.json +6 -6
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 4759.diva-web-planner-react.umd.min.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[4759,2304,8670],{59165:(e,n,t)=>{t.d(n,{_l:()=>i,gc:()=>JsonView});var a=t(87363);const isDate=e=>!!e&&e instanceof Date;function quoteString(e,n){return void 0===n&&(n=!1),!e||n?`"${e}"`:e}function ExpandableObject(e){let{field:n,value:t,data:r,lastElement:l,openBracket:i,closeBracket:o,level:s,style:d,shouldExpandNode:c,clickToExpandNode:u,outerRef:m}=e;const g=(0,a.useRef)(!1),[p,x,b]=function useBool(e){const[n,t]=(0,a.useState)(e());return[n,()=>t((e=>!e)),t]}((()=>c(s,t,n))),f=(0,a.useRef)(null);(0,a.useEffect)((()=>{g.current?b(c(s,t,n)):g.current=!0}),[c]);const h=p?d.collapseIcon:d.expandIcon,v=p?"collapse JSON":"expand JSON",j=(0,a.useId)(),y=s+1,N=r.length-1,onKeyDown=e=>{if("ArrowRight"===e.key||"ArrowLeft"===e.key)e.preventDefault(),b("ArrowRight"===e.key);else if("ArrowUp"===e.key||"ArrowDown"===e.key){e.preventDefault();const n="ArrowUp"===e.key?-1:1;if(!m.current)return;const t=m.current.querySelectorAll("[role=button]");let a=-1;for(let e=0;e<t.length;e++)if(0===t[e].tabIndex){a=e;break}if(a<0)return;const r=(a+n+t.length)%t.length;t[a].tabIndex=-1,t[r].tabIndex=0,t[r].focus()}},onClick=()=>{var e;x();const n=f.current;if(!n)return;const t=null===(e=m.current)||void 0===e?void 0:e.querySelector('[role=button][tabindex="0"]');t&&(t.tabIndex=-1),n.tabIndex=0,n.focus()};return(0,a.createElement)("div",{className:d.basicChildStyle,role:"treeitem","aria-expanded":p,"aria-selected":void 0},(0,a.createElement)("span",{className:h,onClick,onKeyDown,role:"button","aria-label":v,"aria-expanded":p,"aria-controls":p?j:void 0,ref:f,tabIndex:0===s?0:-1}),(n||""===n)&&(u?(0,a.createElement)("span",{className:d.clickableLabel,onClick,onKeyDown},quoteString(n,d.quotesForFieldNames),":"):(0,a.createElement)("span",{className:d.label},quoteString(n,d.quotesForFieldNames),":")),(0,a.createElement)("span",{className:d.punctuation},i),p?(0,a.createElement)("ul",{id:j,role:"group"},r.map(((e,n)=>(0,a.createElement)(DataRender,{key:e[0]||n,field:e[0],value:e[1],style:d,lastElement:n===N,level:y,shouldExpandNode:c,clickToExpandNode:u,outerRef:m})))):(0,a.createElement)("span",{className:d.collapsedContent,onClick,onKeyDown}),(0,a.createElement)("span",{className:d.punctuation},o),!l&&(0,a.createElement)("span",{className:d.punctuation},","))}function EmptyObject(e){let{field:n,openBracket:t,closeBracket:r,lastElement:l,style:i}=e;return(0,a.createElement)("div",{className:i.basicChildStyle,role:"treeitem","aria-selected":void 0},(n||""===n)&&(0,a.createElement)("span",{className:i.label},quoteString(n,i.quotesForFieldNames),":"),(0,a.createElement)("span",{className:i.punctuation},t),(0,a.createElement)("span",{className:i.punctuation},r),!l&&(0,a.createElement)("span",{className:i.punctuation},","))}function JsonObject(e){let{field:n,value:t,style:a,lastElement:r,shouldExpandNode:l,clickToExpandNode:i,level:o,outerRef:s}=e;return 0===Object.keys(t).length?EmptyObject({field:n,openBracket:"{",closeBracket:"}",lastElement:r,style:a}):ExpandableObject({field:n,value:t,lastElement:r||!1,level:o,openBracket:"{",closeBracket:"}",style:a,shouldExpandNode:l,clickToExpandNode:i,data:Object.keys(t).map((e=>[e,t[e]])),outerRef:s})}function JsonArray(e){let{field:n,value:t,style:a,lastElement:r,level:l,shouldExpandNode:i,clickToExpandNode:o,outerRef:s}=e;return 0===t.length?EmptyObject({field:n,openBracket:"[",closeBracket:"]",lastElement:r,style:a}):ExpandableObject({field:n,value:t,lastElement:r||!1,level:l,openBracket:"[",closeBracket:"]",style:a,shouldExpandNode:i,clickToExpandNode:o,data:t.map((e=>[void 0,e])),outerRef:s})}function JsonPrimitiveValue(e){let n,{field:t,value:r,style:l,lastElement:i}=e,o=l.otherValue;var s;return null===r?(n="null",o=l.nullValue):void 0===r?(n="undefined",o=l.undefinedValue):"string"==typeof(s=r)||s instanceof String?(n=quoteString(r,!l.noQuotesForStringValues),o=l.stringValue):(e=>"boolean"==typeof e||e instanceof Boolean)(r)?(n=r?"true":"false",o=l.booleanValue):(e=>"number"==typeof e||e instanceof Number)(r)?(n=r.toString(),o=l.numberValue):(e=>"bigint"==typeof e||e instanceof BigInt)(r)?(n=`${r.toString()}n`,o=l.numberValue):n=isDate(r)?r.toISOString():r.toString(),(0,a.createElement)("div",{className:l.basicChildStyle,role:"treeitem","aria-selected":void 0},(t||""===t)&&(0,a.createElement)("span",{className:l.label},quoteString(t,l.quotesForFieldNames),":"),(0,a.createElement)("span",{className:o},n),!i&&(0,a.createElement)("span",{className:l.punctuation},","))}function DataRender(e){const n=e.value;return t=n,Array.isArray(t)?(0,a.createElement)(JsonArray,Object.assign({},e)):(e=>e instanceof Object&&null!==e)(n)&&!isDate(n)?(0,a.createElement)(JsonObject,Object.assign({},e)):(0,a.createElement)(JsonPrimitiveValue,Object.assign({},e));var t}var r="_2bkNM";const l={container:"_2IvMF _GzYRV",basicChildStyle:r,label:"_1MGIk",clickableLabel:"_2YKJg _1MGIk _1MFti",nullValue:"_2T6PJ",undefinedValue:"_1Gho6",stringValue:"_vGjyY",booleanValue:"_3zQKs",numberValue:"_1bQdo",otherValue:"_1xvuR",punctuation:"_3uHL6 _3eOF8",collapseIcon:"_oLqym _f10Tu _1MFti _1LId0",expandIcon:"_2AXVT _f10Tu _1MFti _1UmXx",collapsedContent:"_2KJWg _1pNG9 _1MFti",noQuotesForStringValues:!1,quotesForFieldNames:!1},i={container:"_11RoI _GzYRV",basicChildStyle:r,label:"_2bSDX",clickableLabel:"_1RQEj _2bSDX _1MFti",nullValue:"_LaAZe",undefinedValue:"_GTKgm",stringValue:"_Chy1W",booleanValue:"_2vRm-",numberValue:"_2bveF",otherValue:"_1prJR",punctuation:"_gsbQL _3eOF8",collapseIcon:"_3QHg2 _f10Tu _1MFti _1LId0",expandIcon:"_17H2C _f10Tu _1MFti _1UmXx",collapsedContent:"_3fDAz _1pNG9 _1MFti",noQuotesForStringValues:!1,quotesForFieldNames:!1},allExpanded=()=>!0,JsonView=e=>{let{data:n,style:t=l,shouldExpandNode:r=allExpanded,clickToExpandNode:i=!1,...o}=e;const s=(0,a.useRef)(null);return(0,a.createElement)("div",Object.assign({"aria-label":"JSON view"},o,{className:t.container,ref:s,role:"tree"}),(0,a.createElement)(DataRender,{value:n,style:t,lastElement:!0,level:0,shouldExpandNode:r,clickToExpandNode:i,outerRef:s}))}},23695:(e,n,t)=>{t.r(n),t.d(n,{default:()=>m});var a=t(72874),r=(t(87363),t(9420)),l=t(92349),i=t(65515),o=t.n(i),s=t(59165),d=(t(39374),t(32919)),c=t(47514),u=["json","isExpanded","collapsed"];const m=(0,r.Pi)((function JsonViewer(e){var n=e.json,t=e.isExpanded,r=(e.collapsed,(0,a.Z)(e,u),(0,d.NP)());return(0,c.jsx)(c.Fragment,{children:(0,c.jsx)("div",{className:o()(l.YS,t?l.rp:void 0),style:{zIndex:9999},children:(0,c.jsx)(s.gc,{data:n,style:s._l},r.settingsState.configChanged)})})}))},2304:(e,n,t)=>{t.r(n),t.d(n,{default:()=>y});t(87363);var a=t(9420),r=t(93379),l=t.n(r),i=t(7795),o=t.n(i),s=t(90569),d=t.n(s),c=t(3565),u=t.n(c),m=t(19216),g=t.n(m),p=t(44589),x=t.n(p),b=t(43501),f={};f.styleTagTransform=x(),f.setAttributes=u(),f.insert=d().bind(null,"head"),f.domAPI=o(),f.insertStyleElement=g();l()(b.ZP,f);b.ZP&&b.ZP.locals&&b.ZP.locals;var h=t(32919),v=t(88683),j=t(47514);const y=(0,a.Pi)((function Price(){var e,n,t=(0,h.NP)(),a=t.divaWebPlanner.getDivaArticles();if(!a)return(0,j.jsx)(j.Fragment,{});var r=null!==(e=a[t.settingsState.getSelectedBasketIds[0]])&&void 0!==e?e:a[Object.keys(a)[0]],l=null==r?void 0:r.getConfigPriceData(r.getVariantBasketData());return void 0===l?(0,j.jsx)(j.Fragment,{}):(0,j.jsxs)("div",{className:b.wZ,children:[(0,j.jsx)("a",{children:"Configurations Preise:"}),(0,j.jsx)("br",{}),l.AdditionalPrices.map((function(e){return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("p",{className:b.SY,children:e.Title}),(0,j.jsx)("a",{className:b.F2,children:v.DivaUtils.formatPrice(e.Price)}),(0,j.jsx)("br",{})]})})),(0,j.jsx)("hr",{}),null===(n=l.BasePrices)||void 0===n?void 0:n.map((function(e){return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)("a",{children:["Basispreis: ",e.BasePriceTitle]}),(0,j.jsx)("a",{className:b.F2,children:e.BasePrice?v.DivaUtils.formatPrice(e.BasePrice):"nicht Definiert"}),(0,j.jsx)("br",{})]})})),(0,j.jsx)("hr",{}),(0,j.jsx)("a",{children:"Berechneter Preis: "}),(0,j.jsx)("a",{className:b.F2,children:v.DivaUtils.formatPrice(r.calcPrice())}),(0,j.jsx)("hr",{}),r.hasPartlistArticle&&(0,j.jsx)(j.Fragment,{children:"Katalog hat Stücklisten Artikel! genaue Preise sind dort Sichtbar"})]})}))},44294:(e,n,t)=>{t.r(n),t.d(n,{default:()=>y});var a=t(88291),r=(t(87363),t(9420)),l=t(93379),i=t.n(l),o=t(7795),s=t.n(o),d=t(90569),c=t.n(d),u=t(3565),m=t.n(u),g=t(19216),p=t.n(g),x=t(44589),b=t.n(x),f=t(39252),h={};h.styleTagTransform=b(),h.setAttributes=m(),h.insert=c().bind(null,"head"),h.domAPI=s(),h.insertStyleElement=p();i()(f.ZP,h);f.ZP&&f.ZP.locals&&f.ZP.locals;var v=t(32919),j=t(47514);const y=(0,r.Pi)((function ProduktDetails(e){Object.assign({},((0,a.Z)(e),e));var n,t=(0,v.NP)(),r=t.divaWebPlanner.getDivaArticles();if(!r)return(0,j.jsx)(j.Fragment,{});var l=null!==(n=r[t.settingsState.getSelectedBasketIds[0]])&&void 0!==n?n:r[Object.keys(r)[0]];return(0,j.jsxs)("div",{className:f.ee,children:[(0,j.jsx)("a",{children:"ArtNr:"}),(0,j.jsx)("a",{className:f.t$,children:l.configArticleCodex}),(0,j.jsx)("br",{}),l.configArticleCodex!=l.articleCodex&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("a",{children:"ArtCodex:"}),(0,j.jsx)("a",{className:f.t$,children:l.articleCodex})]}),(0,j.jsx)("hr",{}),(0,j.jsx)("a",{children:"Name:"}),(0,j.jsx)("a",{className:f.t$,children:l.catalogArticleName}),(0,j.jsx)("hr",{}),(0,j.jsx)("a",{children:"Maße:"}),(0,j.jsx)("a",{className:f.t$,children:l.actSizeText}),(0,j.jsx)("hr",{}),(0,j.jsx)("a",{children:"Bestell-Nr:"}),(0,j.jsx)("a",{className:f.t$,children:l.retailArticleNr||l.typeNr}),(0,j.jsx)("hr",{}),(0,j.jsx)("a",{children:"Modell:"}),(0,j.jsx)("a",{className:f.t$,children:l.CatalogData.catalogName+" ("+l.catalogCodex+")"}),(0,j.jsx)("hr",{})]})}))},72176:(e,n,t)=>{t.r(n),t.d(n,{default:()=>I});var a=t(84658),r=t(72874),l=t(50747),i=t.n(l),o=(t(87363),t(88683)),s=t(32919),d=t(9420),c=t(93379),u=t.n(c),m=t(7795),g=t.n(m),p=t(90569),x=t.n(p),b=t(3565),f=t.n(b),h=t(19216),v=t.n(h),j=t(44589),y=t.n(j),N=t(63238),_={};_.styleTagTransform=y(),_.setAttributes=f(),_.insert=x().bind(null,"head"),_.domAPI=g(),_.insertStyleElement=v();u()(N.ZP,_);N.ZP&&N.ZP.locals&&N.ZP.locals;var P=t(65515),k=t.n(P),E=t(47514),D=["tabGroupOption","basketId"];const I=(0,d.Pi)((function TabGroupOptions(e){var n,t,l,d=e.tabGroupOption,c=e.basketId,u=((0,r.Z)(e,D),(0,s.NP)()),m=u.divaWebPlanner.getDivaArticles(),g=null==m?void 0:m[c],p=null==g||null===(n=g.getArticleOptionState)||void 0===n?void 0:n.call(g,d.codex),x=Object.values(d.configSteps)[0].posNr;if(void 0===p)return(0,E.jsx)(E.Fragment,{});var b=null===(t=p.val)||void 0===t?void 0:t.image;b=b?null==g?void 0:g.CatalogData.getCatImageURL(b,"_low"):void 0;var f=function(){var e=(0,a.Z)(i().mark((function _callee(){return i().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return u.configuratorStructureHandler.setActStepByPosNrFromSummary(x),u.updateConfiguratorState(!0),e.next=4,o.DivaUtils.Sleep(100);case 4:u.paletteViewHandler.scrollToConfigStepByPosNr(x,!0);case 5:case"end":return e.stop()}}),_callee)})));return function clickNavigation(){return e.apply(this,arguments)}}();return(0,E.jsx)("div",{children:(0,E.jsxs)("div",{onClick:f,className:N.b9,children:[(0,E.jsxs)("span",{children:[(0,E.jsx)("div",{children:p.optionName+" ("+p.optionCodex.replace("OPT","")+")"}),(0,E.jsx)("div",{children:p.valName+" ("+(null===(l=p.valCodex)||void 0===l?void 0:l.replace("OPV",""))+")"})]}),(0,E.jsx)("span",{className:N.Bf,children:null!=b&&(0,E.jsx)("img",{src:b,className:N._C})}),(0,E.jsx)("span",{className:k()(N.To,N.E9),children:!(!p.usedCalcPrice&&!p.calcPrice)&&o.DivaUtils.formatPrice(p.usedCalcPrice||p.calcPrice)}),(0,E.jsx)("span",{className:k()(N.Bf,N.E9),children:p.headerPosVariationType}),(0,E.jsx)("span",{className:k()(N.lv,N.II,N.E9,p.isDefined?N.ec:N.El)})]})})}))},18670:(e,n,t)=>{t.r(n),t.d(n,{default:()=>N});var a=t(72874),r=(t(87363),t(93379)),l=t.n(r),i=t(7795),o=t.n(i),s=t(90569),d=t.n(s),c=t(3565),u=t.n(c),m=t(19216),g=t.n(m),p=t(44589),x=t.n(p),b=t(54386),f={};f.styleTagTransform=x(),f.setAttributes=u(),f.insert=d().bind(null,"head"),f.domAPI=o(),f.insertStyleElement=g();l()(b.ZP,f);b.ZP&&b.ZP.locals&&b.ZP.locals;var h=t(32919),v=t(9420),j=t(47514),y=["tabGroup"];const N=(0,v.Pi)((function TabGroups(e){var n=e.tabGroup,t=((0,a.Z)(e,y),(0,h.NP)()),r=t.tabGroupState.curTabGroup;return(0,j.jsx)("div",{onClick:function onClick(){t.tabGroupState.navigateToTabgroupByPosNr(n.posNr)},children:(0,j.jsx)("table",{className:b.Kz,children:(0,j.jsx)("tbody",{children:(0,j.jsx)("tr",{children:(0,j.jsx)("th",{className:n.title===(null==r?void 0:r.title)?b.pA:void 0,children:n.title})})})})})}))},24759:(e,n,t)=>{t.r(n),t.d(n,{default:()=>A});var a=t(80248),r=t(88291),l=(t(87363),t(93379)),i=t.n(l),o=t(7795),s=t.n(o),d=t(90569),c=t.n(d),u=t(3565),m=t.n(u),g=t(19216),p=t.n(g),x=t(44589),b=t.n(x),f=t(19830),h={};h.styleTagTransform=b(),h.setAttributes=m(),h.insert=c().bind(null,"head"),h.domAPI=s(),h.insertStyleElement=p();i()(f.ZP,h);f.ZP&&f.ZP.locals&&f.ZP.locals;var v=t(51203),j=t(32919),y=t(18670),N=t(72176),_=t(9420),P=t(44294),k=t(57446),E=t.n(k),D=t(2304),I=t(65515),w=t.n(I),O=t(23695),S=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const A=(0,_.Pi)((function OptionTree(e){var n,t,a,l,i=Object.assign({},((0,r.Z)(e),e)),o=(0,j.NP)(),s=o.tabGroupState.allTabGroups,d=o.divaWebPlanner.getDivaArticles();if(!d)return(0,S.jsx)(S.Fragment,{});var c=o.divaWebPlanner.getHiddenOptions(),u=null!==(n=d[o.settingsState.getSelectedBasketIds[0]])&&void 0!==n?n:d[Object.keys(d)[0]],m=Object.values(s),g=Object.values(null!==(t=null==c?void 0:c.tabGroups)&&void 0!==t?t:{}),p=!1;m=m.filter((function(e){return"OPTION"==e.type}));var x={open:!0,easing:"ease-in",transitionTime:200};u||(p=!0);var b=null===(a=d[Object.keys(d)[0]])||void 0===a||null===(l=a.getPlannerConfigData)||void 0===l?void 0:l.call(a,{}).config;return(0,S.jsxs)("div",_objectSpread(_objectSpread({},i),{},{className:w()(v.ec,v.NF,i.className),children:[(0,S.jsx)("a",{className:f.zO,children:"Options Übersicht"}),(0,S.jsx)(E(),_objectSpread(_objectSpread({trigger:(0,S.jsx)("div",{className:f.Ux,children:"Produktdetails"})},x),{},{triggerDisabled:p,children:!p&&(0,S.jsx)(P.default,{})})),(0,S.jsx)(E(),_objectSpread(_objectSpread({trigger:(0,S.jsx)("div",{className:f.Ux,children:"Preise"})},x),{},{triggerDisabled:p,children:(0,S.jsx)(D.default,{})})),(0,S.jsx)(E(),_objectSpread(_objectSpread({trigger:(0,S.jsx)("div",{className:f.Ux,children:"Optionsbaum"})},x),{},{triggerDisabled:p,children:(0,S.jsx)("div",{className:f.Jr,children:m.map((function(e){return(0,S.jsxs)("div",{children:[(0,S.jsx)(y.default,{tabGroup:e}),(0,S.jsx)("div",{children:Object.values(e.options).map((function(e){return(0,S.jsx)(N.default,{tabGroupOption:e,basketId:u.basketId},e.codex)}))})]},e.key)}))})})),(0,S.jsx)(E(),_objectSpread(_objectSpread({trigger:(0,S.jsx)("div",{className:f.Ux,children:"Versteckte Optionen"})},x),{},{triggerDisabled:p,children:(0,S.jsx)("div",{className:f.Jr,children:g.map((function(e){return(0,S.jsxs)("div",{children:[(0,S.jsx)(y.default,{tabGroup:e}),(0,S.jsx)("div",{children:Object.values(e.options).map((function(e){return(0,S.jsx)(N.default,{tabGroupOption:e,basketId:u.basketId},e.codex)}))})]},e.key)}))})})),(0,S.jsx)(E(),_objectSpread(_objectSpread({trigger:(0,S.jsx)("div",{className:f.Ux,children:"3D MAT"})},x),{},{triggerDisabled:p,children:b&&(0,S.jsx)(O.default,{isExpanded:!0,collapsed:5,json:b})}))]}))}))},43501:(e,n,t)=>{t.d(n,{F2:()=>s,SY:()=>d,ZP:()=>c,wZ:()=>o});var a=t(8081),r=t.n(a),l=t(23645),i=t.n(l)()(r());i.push([e.id,".index-module--un1Y6 {\n padding-top: 0px;\n width: 90%;\n margin-left: 4%;\n height: 100%;\n background-color: white;\n padding-left: 5px;\n padding-right: 5px;\n overflow: auto;\n}\n.index-module--gO0bA {\n float: right;\n}\n.index-module--sy7z4 {\n max-width: 400px;\n margin: 0;\n margin: initial;\n display: inline;\n}\n",""]);var o="index-module--un1Y6",s="index-module--gO0bA",d="index-module--sy7z4";const c=i},39252:(e,n,t)=>{t.d(n,{ZP:()=>d,ee:()=>o,t$:()=>s});var a=t(8081),r=t.n(a),l=t(23645),i=t.n(l)()(r());i.push([e.id,".index-module--nHwhq {\n padding-top: 15px;\n width: 90%;\n margin-left: 4%;\n height: 100%;\n background-color: white;\n padding-left: 5px;\n padding-right: 5px;\n overflow: auto;\n}\n.index-module--bZ29w {\n float: right;\n}\n",""]);var o="index-module--nHwhq",s="index-module--bZ29w";const d=i},63238:(e,n,t)=>{t.d(n,{Bf:()=>b,E9:()=>N,El:()=>j,II:()=>f,To:()=>x,ZP:()=>_,_C:()=>y,b9:()=>p,ec:()=>v,lv:()=>h});var a=t(8081),r=t.n(a),l=t(23645),i=t.n(l),o=t(61667),s=t.n(o),d=new URL(t(29409),t.b),c=new URL(t(56957),t.b),u=i()(r()),m=s()(d),g=s()(c);u.push([e.id,".index-module--r60cm {\n display: flex;\n gap: 10px;\n text-align: left;\n border-bottom: 1px solid black;\n margin-bottom: 10px;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n\n.index-module--r60cm th:hover:last-child {\n cursor: pointer;\n}\n.index-module--r60cm:nth-last-child(-n + 2) {\n margin-top: 12px;\n}\n\n.index-module--r60cm span {\n flex-basis: 100%;\n}\n.index-module--r60cm .index-module--lh4es {\n flex-basis: 15%;\n}\n.index-module--r60cm .index-module--qxxm5 {\n flex-basis: 20%;\n font-size: 12px;\n}\n.index-module--r60cm .index-module--K4JtC {\n flex-basis: 4%;\n}\n.index-module--r60cm .index-module--H6wez {\n flex-basis: 7.65%;\n}\n.index-module--TODYJ {\n height: 25px;\n background-repeat: no-repeat;\n cursor: pointer;\n background-position: 80% 50%;\n}\n.index-module--ATrFa {\n background-image: url("+m+");\n}\n\n.index-module--aRYUy {\n background-image: url("+g+");\n}\n.index-module--MO7gF {\n width: 45px;\n height: 45px;\n}\n.index-module--eEMYf {\n margin-top: 12px;\n}\n",""]);var p="index-module--r60cm",x="index-module--qxxm5",b="index-module--K4JtC",f="index-module--H6wez",h="index-module--TODYJ",v="index-module--ATrFa",j="index-module--aRYUy",y="index-module--MO7gF",N="index-module--eEMYf";const _=u},54386:(e,n,t)=>{t.d(n,{Kz:()=>o,ZP:()=>d,pA:()=>s});var a=t(8081),r=t.n(a),l=t(23645),i=t.n(l)()(r());i.push([e.id,".index-module--Z3W1q {\n font-size: 20px;\n font-weight: 300;\n}\n\n.index-module--yLOW8 {\n border-collapse: collapse;\n font-size: 0.9em;\n font-family: sans-serif;\n min-width: 400px;\n width: 100%;\n background: var(--thirdColor);\n color: black;\n text-align: left;\n transition: background-color 0.3s;\n border-radius: 5px;\n}\n.index-module--yLOW8 th {\n width: 25%;\n padding: 6px 10px;\n font-weight: inherit;\n}\n.index-module--xorsR {\n background-color: var(--primaryColor);\n transition: background-color 0.3s;\n border-radius: 5px;\n color: #fff;\n}\n.index-module--kDIDD {\n background-color: white;\n}\n",""]);var o="index-module--yLOW8",s="index-module--xorsR";const d=i},19830:(e,n,t)=>{t.d(n,{Jr:()=>d,Ux:()=>s,ZP:()=>c,zO:()=>o});var a=t(8081),r=t.n(a),l=t(23645),i=t.n(l)()(r());i.push([e.id,".index-module--W1Qeb {\n font-size: 22px;\n padding: 0px 0px;\n padding: 10px 0;\n background-color: var(--primaryColor);\n border-bottom: 1px solid;\n width: 100%;\n text-align: center;\n margin-left: 0px;\n color: white;\n font-weight: 600;\n}\n.index-module--QYrgg {\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n text-align: center;\n background-color: #bbbbbb;\n color: black;\n border-radius: 5px;\n margin: 5% 1% 1% 1%;\n transition: background-color 0.3s;\n padding: 1% 0%;\n cursor: pointer;\n}\n.index-module--QYrgg:hover {\n background-color: var(--primaryColor);\n color: white;\n}\n.index-module--UADcb {\n width: 90%;\n margin-left: 4%;\n background-color: white;\n}\n",""]);var o="index-module--W1Qeb",s="index-module--QYrgg",d="index-module--UADcb";const c=i},9917:(e,n,t)=>{t.d(n,{Z:()=>o});var a=t(8081),r=t.n(a),l=t(23645),i=t.n(l)()(r());i.push([e.id,"/* base styles */\n\n._GzYRV {\n line-height: 1.2;\n white-space: pre-wrap;\n white-space: -moz-pre-wrap;\n white-space: -pre-wrap;\n white-space: -o-pre-wrap;\n word-wrap: break-word;\n}\n\n._3eOF8 {\n margin-right: 5px;\n font-weight: bold;\n}\n\n._3eOF8 + ._3eOF8 {\n margin-left: -5px;\n}\n\n._1MFti {\n cursor: pointer;\n}\n\n._f10Tu {\n font-size: 1.2em;\n margin-right: 5px;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n._1UmXx::after {\n content: '\\25B8';\n}\n\n._1LId0::after {\n content: '\\25BE';\n}\n\n._1pNG9 {\n margin-right: 5px;\n}\n\n._1pNG9::after {\n content: '...';\n font-size: 0.8em;\n}\n\n._2IvMF {\n background: #eee;\n}\n\n._2bkNM {\n margin: 0 10px;\n padding: 0;\n}\n\n._2bkNM > ul {\n margin: 0;\n padding: 0;\n}\n\n/* default light style */\n._1MGIk {\n font-weight: 600;\n margin-right: 5px;\n color: #000000;\n}\n\n._2YKJg {\n}\n\n._3uHL6 {\n color: #000000;\n}\n\n._2T6PJ {\n color: #df113a;\n}\n\n._1Gho6 {\n color: #df113a;\n}\n\n._vGjyY {\n color: rgb(42, 63, 60);\n}\n\n._1bQdo {\n color: #0b75f5;\n}\n\n._3zQKs {\n color: rgb(70, 144, 56);\n}\n\n._1xvuR {\n color: #43413d;\n}\n\n._oLqym {\n color: #000000;\n}\n\n._2AXVT {\n color: #000000;\n}\n\n._2KJWg {\n color: #000000;\n}\n\n/* default dark style */\n._11RoI {\n background: rgb(0, 43, 54);\n}\n\n._17H2C {\n color: rgb(253, 246, 227);\n}\n\n._3QHg2 {\n color: rgb(253, 246, 227);\n}\n\n._3fDAz {\n color: rgb(253, 246, 227);\n}\n\n._2bSDX {\n font-weight: bolder;\n margin-right: 5px;\n color: rgb(253, 246, 227);\n}\n\n._1RQEj {\n}\n\n._gsbQL {\n color: rgb(253, 246, 227);\n}\n\n._LaAZe {\n color: rgb(129, 181, 172);\n}\n\n._GTKgm {\n color: rgb(129, 181, 172);\n}\n\n._Chy1W {\n color: rgb(203, 75, 22);\n}\n\n._2bveF {\n color: rgb(211, 54, 130);\n}\n\n._2vRm- {\n color: rgb(174, 129, 255);\n}\n\n._1prJR {\n color: rgb(38, 139, 210);\n}\n",""]);const o=i},39374:(e,n,t)=>{var a=t(93379),r=t.n(a),l=t(7795),i=t.n(l),o=t(90569),s=t.n(o),d=t(3565),c=t.n(d),u=t(19216),m=t.n(u),g=t(44589),p=t.n(g),x=t(9917),b={};b.styleTagTransform=p(),b.setAttributes=c(),b.insert=s().bind(null,"head"),b.domAPI=i(),b.insertStyleElement=m();r()(x.Z,b),x.Z&&x.Z.locals&&x.Z.locals},29409:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjRweCIgZmlsbD0iIzAwMDAwMCI+PHBhdGggZD0iTTAgMGgyNHYyNEgwVjB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTEyIDJDNi40OCAyIDIgNi40OCAyIDEyczQuNDggMTAgMTAgMTAgMTAtNC40OCAxMC0xMFMxNy41MiAyIDEyIDJ6bTAgMThjLTQuNDEgMC04LTMuNTktOC04czMuNTktOCA4LTggOCAzLjU5IDggOC0zLjU5IDgtOCA4em00LjU5LTEyLjQyTDEwIDE0LjE3bC0yLjU5LTIuNThMNiAxM2w0IDQgOC04eiIvPjwvc3ZnPg=="},56957:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjRweCIgZmlsbD0iIzAwMDAwMCI+PHBhdGggZD0iTTAgMGgyNHYyNEgwVjB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTE5IDE5SDVWNWg3VjNINWMtMS4xMSAwLTIgLjktMiAydjE0YzAgMS4xLjg5IDIgMiAyaDE0YzEuMSAwIDItLjkgMi0ydi03aC0ydjd6TTE0IDN2MmgzLjU5bC05LjgzIDkuODMgMS40MSAxLjQxTDE5IDYuNDFWMTBoMlYzaC03eiIvPjwvc3ZnPg=="}}]);
2
+ "use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[4759,2304,8670],{59165:(e,n,t)=>{t.d(n,{_l:()=>i,gc:()=>JsonView});var a=t(87363);const isDate=e=>!!e&&e instanceof Date;function quoteString(e,n){return void 0===n&&(n=!1),!e||n?`"${e}"`:e}function ExpandableObject(e){let{field:n,value:t,data:r,lastElement:l,openBracket:i,closeBracket:o,level:s,style:d,shouldExpandNode:c,clickToExpandNode:u,outerRef:m}=e;const g=(0,a.useRef)(!1),[p,x,b]=function useBool(e){const[n,t]=(0,a.useState)(e());return[n,()=>t((e=>!e)),t]}((()=>c(s,t,n))),f=(0,a.useRef)(null);(0,a.useEffect)((()=>{g.current?b(c(s,t,n)):g.current=!0}),[c]);const h=p?d.collapseIcon:d.expandIcon,v=p?"collapse JSON":"expand JSON",j=(0,a.useId)(),y=s+1,N=r.length-1,onKeyDown=e=>{if("ArrowRight"===e.key||"ArrowLeft"===e.key)e.preventDefault(),b("ArrowRight"===e.key);else if("ArrowUp"===e.key||"ArrowDown"===e.key){e.preventDefault();const n="ArrowUp"===e.key?-1:1;if(!m.current)return;const t=m.current.querySelectorAll("[role=button]");let a=-1;for(let e=0;e<t.length;e++)if(0===t[e].tabIndex){a=e;break}if(a<0)return;const r=(a+n+t.length)%t.length;t[a].tabIndex=-1,t[r].tabIndex=0,t[r].focus()}},onClick=()=>{var e;x();const n=f.current;if(!n)return;const t=null===(e=m.current)||void 0===e?void 0:e.querySelector('[role=button][tabindex="0"]');t&&(t.tabIndex=-1),n.tabIndex=0,n.focus()};return(0,a.createElement)("div",{className:d.basicChildStyle,role:"treeitem","aria-expanded":p,"aria-selected":void 0},(0,a.createElement)("span",{className:h,onClick,onKeyDown,role:"button","aria-label":v,"aria-expanded":p,"aria-controls":p?j:void 0,ref:f,tabIndex:0===s?0:-1}),(n||""===n)&&(u?(0,a.createElement)("span",{className:d.clickableLabel,onClick,onKeyDown},quoteString(n,d.quotesForFieldNames),":"):(0,a.createElement)("span",{className:d.label},quoteString(n,d.quotesForFieldNames),":")),(0,a.createElement)("span",{className:d.punctuation},i),p?(0,a.createElement)("ul",{id:j,role:"group"},r.map(((e,n)=>(0,a.createElement)(DataRender,{key:e[0]||n,field:e[0],value:e[1],style:d,lastElement:n===N,level:y,shouldExpandNode:c,clickToExpandNode:u,outerRef:m})))):(0,a.createElement)("span",{className:d.collapsedContent,onClick,onKeyDown}),(0,a.createElement)("span",{className:d.punctuation},o),!l&&(0,a.createElement)("span",{className:d.punctuation},","))}function EmptyObject(e){let{field:n,openBracket:t,closeBracket:r,lastElement:l,style:i}=e;return(0,a.createElement)("div",{className:i.basicChildStyle,role:"treeitem","aria-selected":void 0},(n||""===n)&&(0,a.createElement)("span",{className:i.label},quoteString(n,i.quotesForFieldNames),":"),(0,a.createElement)("span",{className:i.punctuation},t),(0,a.createElement)("span",{className:i.punctuation},r),!l&&(0,a.createElement)("span",{className:i.punctuation},","))}function JsonObject(e){let{field:n,value:t,style:a,lastElement:r,shouldExpandNode:l,clickToExpandNode:i,level:o,outerRef:s}=e;return 0===Object.keys(t).length?EmptyObject({field:n,openBracket:"{",closeBracket:"}",lastElement:r,style:a}):ExpandableObject({field:n,value:t,lastElement:r||!1,level:o,openBracket:"{",closeBracket:"}",style:a,shouldExpandNode:l,clickToExpandNode:i,data:Object.keys(t).map((e=>[e,t[e]])),outerRef:s})}function JsonArray(e){let{field:n,value:t,style:a,lastElement:r,level:l,shouldExpandNode:i,clickToExpandNode:o,outerRef:s}=e;return 0===t.length?EmptyObject({field:n,openBracket:"[",closeBracket:"]",lastElement:r,style:a}):ExpandableObject({field:n,value:t,lastElement:r||!1,level:l,openBracket:"[",closeBracket:"]",style:a,shouldExpandNode:i,clickToExpandNode:o,data:t.map((e=>[void 0,e])),outerRef:s})}function JsonPrimitiveValue(e){let n,{field:t,value:r,style:l,lastElement:i}=e,o=l.otherValue;var s;return null===r?(n="null",o=l.nullValue):void 0===r?(n="undefined",o=l.undefinedValue):"string"==typeof(s=r)||s instanceof String?(n=quoteString(r,!l.noQuotesForStringValues),o=l.stringValue):(e=>"boolean"==typeof e||e instanceof Boolean)(r)?(n=r?"true":"false",o=l.booleanValue):(e=>"number"==typeof e||e instanceof Number)(r)?(n=r.toString(),o=l.numberValue):(e=>"bigint"==typeof e||e instanceof BigInt)(r)?(n=`${r.toString()}n`,o=l.numberValue):n=isDate(r)?r.toISOString():r.toString(),(0,a.createElement)("div",{className:l.basicChildStyle,role:"treeitem","aria-selected":void 0},(t||""===t)&&(0,a.createElement)("span",{className:l.label},quoteString(t,l.quotesForFieldNames),":"),(0,a.createElement)("span",{className:o},n),!i&&(0,a.createElement)("span",{className:l.punctuation},","))}function DataRender(e){const n=e.value;return t=n,Array.isArray(t)?(0,a.createElement)(JsonArray,Object.assign({},e)):(e=>e instanceof Object&&null!==e)(n)&&!isDate(n)?(0,a.createElement)(JsonObject,Object.assign({},e)):(0,a.createElement)(JsonPrimitiveValue,Object.assign({},e));var t}var r="_2bkNM";const l={container:"_2IvMF _GzYRV",basicChildStyle:r,label:"_1MGIk",clickableLabel:"_2YKJg _1MGIk _1MFti",nullValue:"_2T6PJ",undefinedValue:"_1Gho6",stringValue:"_vGjyY",booleanValue:"_3zQKs",numberValue:"_1bQdo",otherValue:"_1xvuR",punctuation:"_3uHL6 _3eOF8",collapseIcon:"_oLqym _f10Tu _1MFti _1LId0",expandIcon:"_2AXVT _f10Tu _1MFti _1UmXx",collapsedContent:"_2KJWg _1pNG9 _1MFti",noQuotesForStringValues:!1,quotesForFieldNames:!1},i={container:"_11RoI _GzYRV",basicChildStyle:r,label:"_2bSDX",clickableLabel:"_1RQEj _2bSDX _1MFti",nullValue:"_LaAZe",undefinedValue:"_GTKgm",stringValue:"_Chy1W",booleanValue:"_2vRm-",numberValue:"_2bveF",otherValue:"_1prJR",punctuation:"_gsbQL _3eOF8",collapseIcon:"_3QHg2 _f10Tu _1MFti _1LId0",expandIcon:"_17H2C _f10Tu _1MFti _1UmXx",collapsedContent:"_3fDAz _1pNG9 _1MFti",noQuotesForStringValues:!1,quotesForFieldNames:!1},allExpanded=()=>!0,JsonView=e=>{let{data:n,style:t=l,shouldExpandNode:r=allExpanded,clickToExpandNode:i=!1,...o}=e;const s=(0,a.useRef)(null);return(0,a.createElement)("div",Object.assign({"aria-label":"JSON view"},o,{className:t.container,ref:s,role:"tree"}),(0,a.createElement)(DataRender,{value:n,style:t,lastElement:!0,level:0,shouldExpandNode:r,clickToExpandNode:i,outerRef:s}))}},23695:(e,n,t)=>{t.r(n),t.d(n,{default:()=>m});var a=t(72874),r=(t(87363),t(9420)),l=t(92349),i=t(65515),o=t.n(i),s=t(59165),d=(t(76839),t(32919)),c=t(47514),u=["json","isExpanded","collapsed"];const m=(0,r.Pi)((function JsonViewer(e){var n=e.json,t=e.isExpanded,r=(e.collapsed,(0,a.Z)(e,u),(0,d.NP)());return(0,c.jsx)(c.Fragment,{children:(0,c.jsx)("div",{className:o()(l.YS,t?l.rp:void 0),style:{zIndex:9999},children:(0,c.jsx)(s.gc,{data:n,style:s._l},r.settingsState.configChanged)})})}))},2304:(e,n,t)=>{t.r(n),t.d(n,{default:()=>y});t(87363);var a=t(9420),r=t(93379),l=t.n(r),i=t(7795),o=t.n(i),s=t(90569),d=t.n(s),c=t(3565),u=t.n(c),m=t(19216),g=t.n(m),p=t(44589),x=t.n(p),b=t(43501),f={};f.styleTagTransform=x(),f.setAttributes=u(),f.insert=d().bind(null,"head"),f.domAPI=o(),f.insertStyleElement=g();l()(b.ZP,f);b.ZP&&b.ZP.locals&&b.ZP.locals;var h=t(32919),v=t(88683),j=t(47514);const y=(0,a.Pi)((function Price(){var e,n,t=(0,h.NP)(),a=t.divaWebPlanner.getDivaArticles();if(!a)return(0,j.jsx)(j.Fragment,{});var r=null!==(e=a[t.settingsState.getSelectedBasketIds[0]])&&void 0!==e?e:a[Object.keys(a)[0]],l=null==r?void 0:r.getConfigPriceData(r.getVariantBasketData());return void 0===l?(0,j.jsx)(j.Fragment,{}):(0,j.jsxs)("div",{className:b.wZ,children:[(0,j.jsx)("a",{children:"Configurations Preise:"}),(0,j.jsx)("br",{}),l.AdditionalPrices.map((function(e){return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("p",{className:b.SY,children:e.Title}),(0,j.jsx)("a",{className:b.F2,children:v.DivaUtils.formatPrice(e.Price)}),(0,j.jsx)("br",{})]})})),(0,j.jsx)("hr",{}),null===(n=l.BasePrices)||void 0===n?void 0:n.map((function(e){return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)("a",{children:["Basispreis: ",e.BasePriceTitle]}),(0,j.jsx)("a",{className:b.F2,children:e.BasePrice?v.DivaUtils.formatPrice(e.BasePrice):"nicht Definiert"}),(0,j.jsx)("br",{})]})})),(0,j.jsx)("hr",{}),(0,j.jsx)("a",{children:"Berechneter Preis: "}),(0,j.jsx)("a",{className:b.F2,children:v.DivaUtils.formatPrice(r.calcPrice())}),(0,j.jsx)("hr",{}),r.hasPartlistArticle&&(0,j.jsx)(j.Fragment,{children:"Katalog hat Stücklisten Artikel! genaue Preise sind dort Sichtbar"})]})}))},44294:(e,n,t)=>{t.r(n),t.d(n,{default:()=>y});var a=t(88291),r=(t(87363),t(9420)),l=t(93379),i=t.n(l),o=t(7795),s=t.n(o),d=t(90569),c=t.n(d),u=t(3565),m=t.n(u),g=t(19216),p=t.n(g),x=t(44589),b=t.n(x),f=t(39252),h={};h.styleTagTransform=b(),h.setAttributes=m(),h.insert=c().bind(null,"head"),h.domAPI=s(),h.insertStyleElement=p();i()(f.ZP,h);f.ZP&&f.ZP.locals&&f.ZP.locals;var v=t(32919),j=t(47514);const y=(0,r.Pi)((function ProduktDetails(e){Object.assign({},((0,a.Z)(e),e));var n,t=(0,v.NP)(),r=t.divaWebPlanner.getDivaArticles();if(!r)return(0,j.jsx)(j.Fragment,{});var l=null!==(n=r[t.settingsState.getSelectedBasketIds[0]])&&void 0!==n?n:r[Object.keys(r)[0]];return(0,j.jsxs)("div",{className:f.ee,children:[(0,j.jsx)("a",{children:"ArtNr:"}),(0,j.jsx)("a",{className:f.t$,children:l.configArticleCodex}),(0,j.jsx)("br",{}),l.configArticleCodex!=l.articleCodex&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("a",{children:"ArtCodex:"}),(0,j.jsx)("a",{className:f.t$,children:l.articleCodex})]}),(0,j.jsx)("hr",{}),(0,j.jsx)("a",{children:"Name:"}),(0,j.jsx)("a",{className:f.t$,children:l.catalogArticleName}),(0,j.jsx)("hr",{}),(0,j.jsx)("a",{children:"Maße:"}),(0,j.jsx)("a",{className:f.t$,children:l.actSizeText}),(0,j.jsx)("hr",{}),(0,j.jsx)("a",{children:"Bestell-Nr:"}),(0,j.jsx)("a",{className:f.t$,children:l.retailArticleNr||l.typeNr}),(0,j.jsx)("hr",{}),(0,j.jsx)("a",{children:"Modell:"}),(0,j.jsx)("a",{className:f.t$,children:l.CatalogData.catalogName+" ("+l.catalogCodex+")"}),(0,j.jsx)("hr",{})]})}))},72176:(e,n,t)=>{t.r(n),t.d(n,{default:()=>I});var a=t(84658),r=t(72874),l=t(50747),i=t.n(l),o=(t(87363),t(88683)),s=t(32919),d=t(9420),c=t(93379),u=t.n(c),m=t(7795),g=t.n(m),p=t(90569),x=t.n(p),b=t(3565),f=t.n(b),h=t(19216),v=t.n(h),j=t(44589),y=t.n(j),N=t(63238),_={};_.styleTagTransform=y(),_.setAttributes=f(),_.insert=x().bind(null,"head"),_.domAPI=g(),_.insertStyleElement=v();u()(N.ZP,_);N.ZP&&N.ZP.locals&&N.ZP.locals;var P=t(65515),k=t.n(P),E=t(47514),D=["tabGroupOption","basketId"];const I=(0,d.Pi)((function TabGroupOptions(e){var n,t,l,d=e.tabGroupOption,c=e.basketId,u=((0,r.Z)(e,D),(0,s.NP)()),m=u.divaWebPlanner.getDivaArticles(),g=null==m?void 0:m[c],p=null==g||null===(n=g.getArticleOptionState)||void 0===n?void 0:n.call(g,d.codex),x=Object.values(d.configSteps)[0].posNr;if(void 0===p)return(0,E.jsx)(E.Fragment,{});var b=null===(t=p.val)||void 0===t?void 0:t.image;b=b?null==g?void 0:g.CatalogData.getCatImageURL(b,"_low"):void 0;var f=function(){var e=(0,a.Z)(i().mark((function _callee(){return i().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return u.configuratorStructureHandler.setActStepByPosNrFromSummary(x),u.updateConfiguratorState(!0),e.next=4,o.DivaUtils.Sleep(100);case 4:u.paletteViewHandler.scrollToConfigStepByPosNr(x,!0);case 5:case"end":return e.stop()}}),_callee)})));return function clickNavigation(){return e.apply(this,arguments)}}();return(0,E.jsx)("div",{children:(0,E.jsxs)("div",{onClick:f,className:N.b9,children:[(0,E.jsxs)("span",{children:[(0,E.jsx)("div",{children:p.optionName+" ("+p.optionCodex.replace("OPT","")+")"}),(0,E.jsx)("div",{children:p.valName+" ("+(null===(l=p.valCodex)||void 0===l?void 0:l.replace("OPV",""))+")"})]}),(0,E.jsx)("span",{className:N.Bf,children:null!=b&&(0,E.jsx)("img",{src:b,className:N._C})}),(0,E.jsx)("span",{className:k()(N.To,N.E9),children:!(!p.usedCalcPrice&&!p.calcPrice)&&o.DivaUtils.formatPrice(p.usedCalcPrice||p.calcPrice)}),(0,E.jsx)("span",{className:k()(N.Bf,N.E9),children:p.headerPosVariationType}),(0,E.jsx)("span",{className:k()(N.lv,N.II,N.E9,p.isDefined?N.ec:N.El)})]})})}))},18670:(e,n,t)=>{t.r(n),t.d(n,{default:()=>N});var a=t(72874),r=(t(87363),t(93379)),l=t.n(r),i=t(7795),o=t.n(i),s=t(90569),d=t.n(s),c=t(3565),u=t.n(c),m=t(19216),g=t.n(m),p=t(44589),x=t.n(p),b=t(54386),f={};f.styleTagTransform=x(),f.setAttributes=u(),f.insert=d().bind(null,"head"),f.domAPI=o(),f.insertStyleElement=g();l()(b.ZP,f);b.ZP&&b.ZP.locals&&b.ZP.locals;var h=t(32919),v=t(9420),j=t(47514),y=["tabGroup"];const N=(0,v.Pi)((function TabGroups(e){var n=e.tabGroup,t=((0,a.Z)(e,y),(0,h.NP)()),r=t.tabGroupState.curTabGroup;return(0,j.jsx)("div",{onClick:function onClick(){t.tabGroupState.navigateToTabgroupByPosNr(n.posNr)},children:(0,j.jsx)("table",{className:b.Kz,children:(0,j.jsx)("tbody",{children:(0,j.jsx)("tr",{children:(0,j.jsx)("th",{className:n.title===(null==r?void 0:r.title)?b.pA:void 0,children:n.title})})})})})}))},24759:(e,n,t)=>{t.r(n),t.d(n,{default:()=>A});var a=t(80248),r=t(88291),l=(t(87363),t(93379)),i=t.n(l),o=t(7795),s=t.n(o),d=t(90569),c=t.n(d),u=t(3565),m=t.n(u),g=t(19216),p=t.n(g),x=t(44589),b=t.n(x),f=t(19830),h={};h.styleTagTransform=b(),h.setAttributes=m(),h.insert=c().bind(null,"head"),h.domAPI=s(),h.insertStyleElement=p();i()(f.ZP,h);f.ZP&&f.ZP.locals&&f.ZP.locals;var v=t(51203),j=t(32919),y=t(18670),N=t(72176),_=t(9420),P=t(44294),k=t(57446),E=t.n(k),D=t(2304),I=t(65515),w=t.n(I),O=t(23695),S=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const A=(0,_.Pi)((function OptionTree(e){var n,t,a,l,i=Object.assign({},((0,r.Z)(e),e)),o=(0,j.NP)(),s=o.tabGroupState.allTabGroups,d=o.divaWebPlanner.getDivaArticles();if(!d)return(0,S.jsx)(S.Fragment,{});var c=o.divaWebPlanner.getHiddenOptions(),u=null!==(n=d[o.settingsState.getSelectedBasketIds[0]])&&void 0!==n?n:d[Object.keys(d)[0]],m=Object.values(s),g=Object.values(null!==(t=null==c?void 0:c.tabGroups)&&void 0!==t?t:{}),p=!1;m=m.filter((function(e){return"OPTION"==e.type}));var x={open:!0,easing:"ease-in",transitionTime:200};u||(p=!0);var b=null===(a=d[Object.keys(d)[0]])||void 0===a||null===(l=a.getPlannerConfigData)||void 0===l?void 0:l.call(a,{}).config;return(0,S.jsxs)("div",_objectSpread(_objectSpread({},i),{},{className:w()(v.ec,v.NF,i.className),children:[(0,S.jsx)("a",{className:f.zO,children:"Options Übersicht"}),(0,S.jsx)(E(),_objectSpread(_objectSpread({trigger:(0,S.jsx)("div",{className:f.Ux,children:"Produktdetails"})},x),{},{triggerDisabled:p,children:!p&&(0,S.jsx)(P.default,{})})),(0,S.jsx)(E(),_objectSpread(_objectSpread({trigger:(0,S.jsx)("div",{className:f.Ux,children:"Preise"})},x),{},{triggerDisabled:p,children:(0,S.jsx)(D.default,{})})),(0,S.jsx)(E(),_objectSpread(_objectSpread({trigger:(0,S.jsx)("div",{className:f.Ux,children:"Optionsbaum"})},x),{},{triggerDisabled:p,children:(0,S.jsx)("div",{className:f.Jr,children:m.map((function(e){return(0,S.jsxs)("div",{children:[(0,S.jsx)(y.default,{tabGroup:e}),(0,S.jsx)("div",{children:Object.values(e.options).map((function(e){return(0,S.jsx)(N.default,{tabGroupOption:e,basketId:u.basketId},e.codex)}))})]},e.key)}))})})),(0,S.jsx)(E(),_objectSpread(_objectSpread({trigger:(0,S.jsx)("div",{className:f.Ux,children:"Versteckte Optionen"})},x),{},{triggerDisabled:p,children:(0,S.jsx)("div",{className:f.Jr,children:g.map((function(e){return(0,S.jsxs)("div",{children:[(0,S.jsx)(y.default,{tabGroup:e}),(0,S.jsx)("div",{children:Object.values(e.options).map((function(e){return(0,S.jsx)(N.default,{tabGroupOption:e,basketId:u.basketId},e.codex)}))})]},e.key)}))})})),(0,S.jsx)(E(),_objectSpread(_objectSpread({trigger:(0,S.jsx)("div",{className:f.Ux,children:"3D MAT"})},x),{},{triggerDisabled:p,children:b&&(0,S.jsx)(O.default,{isExpanded:!0,collapsed:5,json:b})}))]}))}))},43501:(e,n,t)=>{t.d(n,{F2:()=>s,SY:()=>d,ZP:()=>c,wZ:()=>o});var a=t(8081),r=t.n(a),l=t(23645),i=t.n(l)()(r());i.push([e.id,".index-module--un1Y6 {\n padding-top: 0px;\n width: 90%;\n margin-left: 4%;\n height: 100%;\n background-color: white;\n padding-left: 5px;\n padding-right: 5px;\n overflow: auto;\n}\n.index-module--gO0bA {\n float: right;\n}\n.index-module--sy7z4 {\n max-width: 400px;\n margin: 0;\n margin: initial;\n display: inline;\n}\n",""]);var o="index-module--un1Y6",s="index-module--gO0bA",d="index-module--sy7z4";const c=i},39252:(e,n,t)=>{t.d(n,{ZP:()=>d,ee:()=>o,t$:()=>s});var a=t(8081),r=t.n(a),l=t(23645),i=t.n(l)()(r());i.push([e.id,".index-module--nHwhq {\n padding-top: 15px;\n width: 90%;\n margin-left: 4%;\n height: 100%;\n background-color: white;\n padding-left: 5px;\n padding-right: 5px;\n overflow: auto;\n}\n.index-module--bZ29w {\n float: right;\n}\n",""]);var o="index-module--nHwhq",s="index-module--bZ29w";const d=i},63238:(e,n,t)=>{t.d(n,{Bf:()=>b,E9:()=>N,El:()=>j,II:()=>f,To:()=>x,ZP:()=>_,_C:()=>y,b9:()=>p,ec:()=>v,lv:()=>h});var a=t(8081),r=t.n(a),l=t(23645),i=t.n(l),o=t(61667),s=t.n(o),d=new URL(t(29409),t.b),c=new URL(t(56957),t.b),u=i()(r()),m=s()(d),g=s()(c);u.push([e.id,".index-module--r60cm {\n display: flex;\n gap: 10px;\n text-align: left;\n border-bottom: 1px solid black;\n margin-bottom: 10px;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n\n.index-module--r60cm th:hover:last-child {\n cursor: pointer;\n}\n.index-module--r60cm:nth-last-child(-n + 2) {\n margin-top: 12px;\n}\n\n.index-module--r60cm span {\n flex-basis: 100%;\n}\n.index-module--r60cm .index-module--lh4es {\n flex-basis: 15%;\n}\n.index-module--r60cm .index-module--qxxm5 {\n flex-basis: 20%;\n font-size: 12px;\n}\n.index-module--r60cm .index-module--K4JtC {\n flex-basis: 4%;\n}\n.index-module--r60cm .index-module--H6wez {\n flex-basis: 7.65%;\n}\n.index-module--TODYJ {\n height: 25px;\n background-repeat: no-repeat;\n cursor: pointer;\n background-position: 80% 50%;\n}\n.index-module--ATrFa {\n background-image: url("+m+");\n}\n\n.index-module--aRYUy {\n background-image: url("+g+");\n}\n.index-module--MO7gF {\n width: 45px;\n height: 45px;\n}\n.index-module--eEMYf {\n margin-top: 12px;\n}\n",""]);var p="index-module--r60cm",x="index-module--qxxm5",b="index-module--K4JtC",f="index-module--H6wez",h="index-module--TODYJ",v="index-module--ATrFa",j="index-module--aRYUy",y="index-module--MO7gF",N="index-module--eEMYf";const _=u},54386:(e,n,t)=>{t.d(n,{Kz:()=>o,ZP:()=>d,pA:()=>s});var a=t(8081),r=t.n(a),l=t(23645),i=t.n(l)()(r());i.push([e.id,".index-module--Z3W1q {\n font-size: 20px;\n font-weight: 300;\n}\n\n.index-module--yLOW8 {\n border-collapse: collapse;\n font-size: 0.9em;\n font-family: sans-serif;\n min-width: 400px;\n width: 100%;\n background: var(--thirdColor);\n color: black;\n text-align: left;\n transition: background-color 0.3s;\n border-radius: 5px;\n}\n.index-module--yLOW8 th {\n width: 25%;\n padding: 6px 10px;\n font-weight: inherit;\n}\n.index-module--xorsR {\n background-color: var(--primaryColor);\n transition: background-color 0.3s;\n border-radius: 5px;\n color: #fff;\n}\n.index-module--kDIDD {\n background-color: white;\n}\n",""]);var o="index-module--yLOW8",s="index-module--xorsR";const d=i},19830:(e,n,t)=>{t.d(n,{Jr:()=>d,Ux:()=>s,ZP:()=>c,zO:()=>o});var a=t(8081),r=t.n(a),l=t(23645),i=t.n(l)()(r());i.push([e.id,".index-module--W1Qeb {\n font-size: 22px;\n padding: 0px 0px;\n padding: 10px 0;\n background-color: var(--primaryColor);\n border-bottom: 1px solid;\n width: 100%;\n text-align: center;\n margin-left: 0px;\n color: white;\n font-weight: 600;\n}\n.index-module--QYrgg {\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n text-align: center;\n background-color: #bbbbbb;\n color: black;\n border-radius: 5px;\n margin: 5% 1% 1% 1%;\n transition: background-color 0.3s;\n padding: 1% 0%;\n cursor: pointer;\n}\n.index-module--QYrgg:hover {\n background-color: var(--primaryColor);\n color: white;\n}\n.index-module--UADcb {\n width: 90%;\n margin-left: 4%;\n background-color: white;\n}\n",""]);var o="index-module--W1Qeb",s="index-module--QYrgg",d="index-module--UADcb";const c=i},72035:(e,n,t)=>{t.d(n,{Z:()=>o});var a=t(8081),r=t.n(a),l=t(23645),i=t.n(l)()(r());i.push([e.id,"/* base styles */\n\n._GzYRV {\n line-height: 1.2;\n white-space: pre-wrap;\n white-space: -moz-pre-wrap;\n white-space: -pre-wrap;\n white-space: -o-pre-wrap;\n word-wrap: break-word;\n}\n\n._3eOF8 {\n margin-right: 5px;\n font-weight: bold;\n}\n\n._3eOF8 + ._3eOF8 {\n margin-left: -5px;\n}\n\n._1MFti {\n cursor: pointer;\n}\n\n._f10Tu {\n font-size: 1.2em;\n margin-right: 5px;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n._1UmXx::after {\n content: '\\25B8';\n}\n\n._1LId0::after {\n content: '\\25BE';\n}\n\n._1pNG9 {\n margin-right: 5px;\n}\n\n._1pNG9::after {\n content: '...';\n font-size: 0.8em;\n}\n\n._2IvMF {\n background: #eee;\n}\n\n._2bkNM {\n margin: 0 10px;\n padding: 0;\n}\n\n._2bkNM > ul {\n margin: 0;\n padding: 0;\n}\n\n/* default light style */\n._1MGIk {\n font-weight: 600;\n margin-right: 5px;\n color: #000000;\n}\n\n._2YKJg {\n}\n\n._3uHL6 {\n color: #000000;\n}\n\n._2T6PJ {\n color: #df113a;\n}\n\n._1Gho6 {\n color: #df113a;\n}\n\n._vGjyY {\n color: rgb(42, 63, 60);\n}\n\n._1bQdo {\n color: #0b75f5;\n}\n\n._3zQKs {\n color: rgb(70, 144, 56);\n}\n\n._1xvuR {\n color: #43413d;\n}\n\n._oLqym {\n color: #000000;\n}\n\n._2AXVT {\n color: #000000;\n}\n\n._2KJWg {\n color: #000000;\n}\n\n/* default dark style */\n._11RoI {\n background: rgb(0, 43, 54);\n}\n\n._17H2C {\n color: rgb(253, 246, 227);\n}\n\n._3QHg2 {\n color: rgb(253, 246, 227);\n}\n\n._3fDAz {\n color: rgb(253, 246, 227);\n}\n\n._2bSDX {\n font-weight: bolder;\n margin-right: 5px;\n color: rgb(253, 246, 227);\n}\n\n._1RQEj {\n}\n\n._gsbQL {\n color: rgb(253, 246, 227);\n}\n\n._LaAZe {\n color: rgb(129, 181, 172);\n}\n\n._GTKgm {\n color: rgb(129, 181, 172);\n}\n\n._Chy1W {\n color: rgb(203, 75, 22);\n}\n\n._2bveF {\n color: rgb(211, 54, 130);\n}\n\n._2vRm- {\n color: rgb(174, 129, 255);\n}\n\n._1prJR {\n color: rgb(38, 139, 210);\n}\n",""]);const o=i},76839:(e,n,t)=>{var a=t(93379),r=t.n(a),l=t(7795),i=t.n(l),o=t(90569),s=t.n(o),d=t(3565),c=t.n(d),u=t(19216),m=t.n(u),g=t(44589),p=t.n(g),x=t(72035),b={};b.styleTagTransform=p(),b.setAttributes=c(),b.insert=s().bind(null,"head"),b.domAPI=i(),b.insertStyleElement=m();r()(x.Z,b),x.Z&&x.Z.locals&&x.Z.locals},29409:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjRweCIgZmlsbD0iIzAwMDAwMCI+PHBhdGggZD0iTTAgMGgyNHYyNEgwVjB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTEyIDJDNi40OCAyIDIgNi40OCAyIDEyczQuNDggMTAgMTAgMTAgMTAtNC40OCAxMC0xMFMxNy41MiAyIDEyIDJ6bTAgMThjLTQuNDEgMC04LTMuNTktOC04czMuNTktOCA4LTggOCAzLjU5IDggOC0zLjU5IDgtOCA4em00LjU5LTEyLjQyTDEwIDE0LjE3bC0yLjU5LTIuNThMNiAxM2w0IDQgOC04eiIvPjwvc3ZnPg=="},56957:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjRweCIgZmlsbD0iIzAwMDAwMCI+PHBhdGggZD0iTTAgMGgyNHYyNEgwVjB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTE5IDE5SDVWNWg3VjNINWMtMS4xMSAwLTIgLjktMiAydjE0YzAgMS4xLjg5IDIgMiAyaDE0YzEuMSAwIDItLjkgMi0ydi03aC0ydjd6TTE0IDN2MmgzLjU5bC05LjgzIDkuODMgMS40MSAxLjQxTDE5IDYuNDFWMTBoMlYzaC03eiIvPjwvc3ZnPg=="}}]);
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 5020.diva-web-planner-react.umd.min.js.LICENSE.txt */
2
- (self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[5020],{59165:(e,n,t)=>{"use strict";t.d(n,{_l:()=>a,gc:()=>JsonView});var r=t(87363);const isDate=e=>!!e&&e instanceof Date;function quoteString(e,n){return void 0===n&&(n=!1),!e||n?`"${e}"`:e}function ExpandableObject(e){let{field:n,value:t,data:o,lastElement:l,openBracket:a,closeBracket:s,level:i,style:c,shouldExpandNode:d,clickToExpandNode:u,outerRef:p}=e;const m=(0,r.useRef)(!1),[f,b,g]=function useBool(e){const[n,t]=(0,r.useState)(e());return[n,()=>t((e=>!e)),t]}((()=>d(i,t,n))),h=(0,r.useRef)(null);(0,r.useEffect)((()=>{m.current?g(d(i,t,n)):m.current=!0}),[d]);const x=f?c.collapseIcon:c.expandIcon,v=f?"collapse JSON":"expand JSON",y=(0,r.useId)(),_=i+1,N=o.length-1,onKeyDown=e=>{if("ArrowRight"===e.key||"ArrowLeft"===e.key)e.preventDefault(),g("ArrowRight"===e.key);else if("ArrowUp"===e.key||"ArrowDown"===e.key){e.preventDefault();const n="ArrowUp"===e.key?-1:1;if(!p.current)return;const t=p.current.querySelectorAll("[role=button]");let r=-1;for(let e=0;e<t.length;e++)if(0===t[e].tabIndex){r=e;break}if(r<0)return;const o=(r+n+t.length)%t.length;t[r].tabIndex=-1,t[o].tabIndex=0,t[o].focus()}},onClick=()=>{var e;b();const n=h.current;if(!n)return;const t=null===(e=p.current)||void 0===e?void 0:e.querySelector('[role=button][tabindex="0"]');t&&(t.tabIndex=-1),n.tabIndex=0,n.focus()};return(0,r.createElement)("div",{className:c.basicChildStyle,role:"treeitem","aria-expanded":f,"aria-selected":void 0},(0,r.createElement)("span",{className:x,onClick,onKeyDown,role:"button","aria-label":v,"aria-expanded":f,"aria-controls":f?y:void 0,ref:h,tabIndex:0===i?0:-1}),(n||""===n)&&(u?(0,r.createElement)("span",{className:c.clickableLabel,onClick,onKeyDown},quoteString(n,c.quotesForFieldNames),":"):(0,r.createElement)("span",{className:c.label},quoteString(n,c.quotesForFieldNames),":")),(0,r.createElement)("span",{className:c.punctuation},a),f?(0,r.createElement)("ul",{id:y,role:"group"},o.map(((e,n)=>(0,r.createElement)(DataRender,{key:e[0]||n,field:e[0],value:e[1],style:c,lastElement:n===N,level:_,shouldExpandNode:d,clickToExpandNode:u,outerRef:p})))):(0,r.createElement)("span",{className:c.collapsedContent,onClick,onKeyDown}),(0,r.createElement)("span",{className:c.punctuation},s),!l&&(0,r.createElement)("span",{className:c.punctuation},","))}function EmptyObject(e){let{field:n,openBracket:t,closeBracket:o,lastElement:l,style:a}=e;return(0,r.createElement)("div",{className:a.basicChildStyle,role:"treeitem","aria-selected":void 0},(n||""===n)&&(0,r.createElement)("span",{className:a.label},quoteString(n,a.quotesForFieldNames),":"),(0,r.createElement)("span",{className:a.punctuation},t),(0,r.createElement)("span",{className:a.punctuation},o),!l&&(0,r.createElement)("span",{className:a.punctuation},","))}function JsonObject(e){let{field:n,value:t,style:r,lastElement:o,shouldExpandNode:l,clickToExpandNode:a,level:s,outerRef:i}=e;return 0===Object.keys(t).length?EmptyObject({field:n,openBracket:"{",closeBracket:"}",lastElement:o,style:r}):ExpandableObject({field:n,value:t,lastElement:o||!1,level:s,openBracket:"{",closeBracket:"}",style:r,shouldExpandNode:l,clickToExpandNode:a,data:Object.keys(t).map((e=>[e,t[e]])),outerRef:i})}function JsonArray(e){let{field:n,value:t,style:r,lastElement:o,level:l,shouldExpandNode:a,clickToExpandNode:s,outerRef:i}=e;return 0===t.length?EmptyObject({field:n,openBracket:"[",closeBracket:"]",lastElement:o,style:r}):ExpandableObject({field:n,value:t,lastElement:o||!1,level:l,openBracket:"[",closeBracket:"]",style:r,shouldExpandNode:a,clickToExpandNode:s,data:t.map((e=>[void 0,e])),outerRef:i})}function JsonPrimitiveValue(e){let n,{field:t,value:o,style:l,lastElement:a}=e,s=l.otherValue;var i;return null===o?(n="null",s=l.nullValue):void 0===o?(n="undefined",s=l.undefinedValue):"string"==typeof(i=o)||i instanceof String?(n=quoteString(o,!l.noQuotesForStringValues),s=l.stringValue):(e=>"boolean"==typeof e||e instanceof Boolean)(o)?(n=o?"true":"false",s=l.booleanValue):(e=>"number"==typeof e||e instanceof Number)(o)?(n=o.toString(),s=l.numberValue):(e=>"bigint"==typeof e||e instanceof BigInt)(o)?(n=`${o.toString()}n`,s=l.numberValue):n=isDate(o)?o.toISOString():o.toString(),(0,r.createElement)("div",{className:l.basicChildStyle,role:"treeitem","aria-selected":void 0},(t||""===t)&&(0,r.createElement)("span",{className:l.label},quoteString(t,l.quotesForFieldNames),":"),(0,r.createElement)("span",{className:s},n),!a&&(0,r.createElement)("span",{className:l.punctuation},","))}function DataRender(e){const n=e.value;return t=n,Array.isArray(t)?(0,r.createElement)(JsonArray,Object.assign({},e)):(e=>e instanceof Object&&null!==e)(n)&&!isDate(n)?(0,r.createElement)(JsonObject,Object.assign({},e)):(0,r.createElement)(JsonPrimitiveValue,Object.assign({},e));var t}var o="_2bkNM";const l={container:"_2IvMF _GzYRV",basicChildStyle:o,label:"_1MGIk",clickableLabel:"_2YKJg _1MGIk _1MFti",nullValue:"_2T6PJ",undefinedValue:"_1Gho6",stringValue:"_vGjyY",booleanValue:"_3zQKs",numberValue:"_1bQdo",otherValue:"_1xvuR",punctuation:"_3uHL6 _3eOF8",collapseIcon:"_oLqym _f10Tu _1MFti _1LId0",expandIcon:"_2AXVT _f10Tu _1MFti _1UmXx",collapsedContent:"_2KJWg _1pNG9 _1MFti",noQuotesForStringValues:!1,quotesForFieldNames:!1},a={container:"_11RoI _GzYRV",basicChildStyle:o,label:"_2bSDX",clickableLabel:"_1RQEj _2bSDX _1MFti",nullValue:"_LaAZe",undefinedValue:"_GTKgm",stringValue:"_Chy1W",booleanValue:"_2vRm-",numberValue:"_2bveF",otherValue:"_1prJR",punctuation:"_gsbQL _3eOF8",collapseIcon:"_3QHg2 _f10Tu _1MFti _1LId0",expandIcon:"_17H2C _f10Tu _1MFti _1UmXx",collapsedContent:"_3fDAz _1pNG9 _1MFti",noQuotesForStringValues:!1,quotesForFieldNames:!1},allExpanded=()=>!0,JsonView=e=>{let{data:n,style:t=l,shouldExpandNode:o=allExpanded,clickToExpandNode:a=!1,...s}=e;const i=(0,r.useRef)(null);return(0,r.createElement)("div",Object.assign({"aria-label":"JSON view"},s,{className:t.container,ref:i,role:"tree"}),(0,r.createElement)(DataRender,{value:n,style:t,lastElement:!0,level:0,shouldExpandNode:o,clickToExpandNode:a,outerRef:i}))}},45020:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>I});var r=t(80248),o=t(84658),l=t(34988),a=t(88291),s=t(50747),i=t.n(s),c=t(87363),d=t(51203),u=t(93379),p=t.n(u),m=t(7795),f=t.n(m),b=t(90569),g=t.n(b),h=t(3565),x=t.n(h),v=t(19216),y=t.n(v),_=t(44589),N=t.n(_),E=t(34127),w={};w.styleTagTransform=N(),w.setAttributes=x(),w.insert=g().bind(null,"head"),w.domAPI=f(),w.insertStyleElement=y();p()(E.ZP,w);E.ZP&&E.ZP.locals&&E.ZP.locals;var k=t(32919),j=t(9420),S=t(65515),O=t.n(S),F=t(88683),P=t(59165),A=(t(39374),t(47514));function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var R=function getPartlistArticles(e,n){var t,r=null===(t=e.catalogArticle.partlistArticlesRules)||void 0===t?void 0:t[0].PartListPos;if(!r)return[];for(var o=function _loop(){var t=r[l],o=e.decisions.find((function(e){return Number(e.Number)===Number(t.PartListPosDecisionsAndPosCounts[0].DecisionNumber)}));n.push({codex:t.ItemRefArticles[0].ArticleCodex,doc:null==o?void 0:o.DOC})},l=0;l<r.length;l++)o();return n};const I=(0,j.Pi)((function PartListAnalyzer(e){var n=Object.assign({},((0,a.Z)(e),e)),t=(0,k.NP)(),r=t.divaWebPlanner.getDivaArticles(),s=(0,c.useState)(!1),u=(0,l.Z)(s,2),p=u[0],m=u[1];(0,c.useEffect)((function(){var e=function(){var e=(0,o.Z)(i().mark((function _callee(){return i().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,F.DivaUtils.Sleep(1e3);case 2:m(!p);case 3:case"end":return e.stop()}}),_callee)})));return function asyncFunct(){return e.apply(this,arguments)}}();e()}),[t.tabGroupState.allTabGroups]);var f=[];for(var b in r)f=R(r[b],f);return(0,A.jsxs)("div",_objectSpread(_objectSpread({},n),{},{className:O()(n.className,E.fm,t.uiState.configSettingsIsExpanded?d.NF:void 0),style:{zIndex:800},children:[(0,A.jsx)("a",{className:E.Fs,children:"Stücklisten Übersicht"}),(0,A.jsx)("div",{children:(0,A.jsxs)("table",{className:E.Kz,children:[(0,A.jsx)("thead",{children:(0,A.jsxs)("tr",{className:E.$Q,children:[(0,A.jsx)("th",{children:"codex"}),(0,A.jsx)("th",{children:"decision"})]})}),(0,A.jsx)("tbody",{children:Object.values(f).map((function(e,n){return(0,A.jsxs)("tr",{className:E.$Q,children:[(0,A.jsxs)("th",{children:[" ",e.codex]}),(0,A.jsx)("th",{children:(0,A.jsx)(P.gc,{data:e.dec},t.settingsState.configChanged)})]},n)}))})]})})]}))}))},34127:(e,n,t)=>{"use strict";t.d(n,{$Q:()=>i,Fs:()=>d,Kz:()=>s,ZP:()=>u,fm:()=>c});var r=t(8081),o=t.n(r),l=t(23645),a=t.n(l)()(o());a.push([e.id,".index-module--Qj9rL {\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #ffffff;\n border-collapse: collapse;\n border-width: 0px;\n border-color: #e7eaf8;\n border-style: solid;\n color: #000000;\n font-weight: normal;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n overflow-y: auto;\n top: 73px;\n}\n.index-module--Qj9rL thead {\n font-weight: bold !important;\n}\n.index-module--Qj9rL thead {\n border-bottom: 1px solid;\n /* min-width: 20px; */\n background-color: var(--thirdColor);\n font-size: 16px;\n padding-top: 1%;\n color: white;\n}\n.index-module--Y7hZi {\n text-align: left;\n}\n.index-module--Y7hZi:first-child {\n height: 20px;\n}\n.index-module--Y7hZi th:nth-child(1) {\n width: 40%;\n border-bottom: 1px solid;\n}\n.index-module--Y7hZi th {\n border-bottom: 1px solid;\n padding-right: 10px;\n margin-bottom: 1%;\n font-weight: normal;\n}\n.index-module--Y7hZi th:last-child {\n font-size: 12px;\n}\n.index-module--i3Qix {\n overflow: auto;\n left: 50px;\n}\n.index-module--ZOsGH {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n position: absolute;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n}\n",""]);var s="index-module--Qj9rL",i="index-module--Y7hZi",c="index-module--i3Qix",d="index-module--ZOsGH";const u=a},89965:(e,n,t)=>{"use strict";t.d(n,{NF:()=>i,ZP:()=>d,ec:()=>s,pb:()=>c});var r=t(8081),o=t.n(r),l=t(23645),a=t.n(l)()(o());a.push([e.id,".index-module--NA4Nc {\n position: absolute;\n margin-left: 50px;\n height: 92%;\n background-color: var(--settingsBackgroundColor);\n padding-left: 5px;\n overflow: auto;\n display: flex;\n flex-direction: column;\n box-shadow: inset 0px 4px 40px 1px rgba(0, 0, 0, 0.1);\n border-right: 2px solid;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n.index-module--zxgl3 {\n width: calc(25.5%) !important;\n}\n.index-module--zxgl3 {\n background-color: white;\n}\n.index-module--WGNyK {\n z-index: 590;\n background-color: rgba(250, 250, 250, 0.5);\n width: calc(63% - 50px);\n /*width: calc(69% - 50px); pfister*/\n}\n",""]);var s="index-module--NA4Nc",i="index-module--zxgl3",c="index-module--WGNyK";const d=a},9917:(e,n,t)=>{"use strict";t.d(n,{Z:()=>s});var r=t(8081),o=t.n(r),l=t(23645),a=t.n(l)()(o());a.push([e.id,"/* base styles */\n\n._GzYRV {\n line-height: 1.2;\n white-space: pre-wrap;\n white-space: -moz-pre-wrap;\n white-space: -pre-wrap;\n white-space: -o-pre-wrap;\n word-wrap: break-word;\n}\n\n._3eOF8 {\n margin-right: 5px;\n font-weight: bold;\n}\n\n._3eOF8 + ._3eOF8 {\n margin-left: -5px;\n}\n\n._1MFti {\n cursor: pointer;\n}\n\n._f10Tu {\n font-size: 1.2em;\n margin-right: 5px;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n._1UmXx::after {\n content: '\\25B8';\n}\n\n._1LId0::after {\n content: '\\25BE';\n}\n\n._1pNG9 {\n margin-right: 5px;\n}\n\n._1pNG9::after {\n content: '...';\n font-size: 0.8em;\n}\n\n._2IvMF {\n background: #eee;\n}\n\n._2bkNM {\n margin: 0 10px;\n padding: 0;\n}\n\n._2bkNM > ul {\n margin: 0;\n padding: 0;\n}\n\n/* default light style */\n._1MGIk {\n font-weight: 600;\n margin-right: 5px;\n color: #000000;\n}\n\n._2YKJg {\n}\n\n._3uHL6 {\n color: #000000;\n}\n\n._2T6PJ {\n color: #df113a;\n}\n\n._1Gho6 {\n color: #df113a;\n}\n\n._vGjyY {\n color: rgb(42, 63, 60);\n}\n\n._1bQdo {\n color: #0b75f5;\n}\n\n._3zQKs {\n color: rgb(70, 144, 56);\n}\n\n._1xvuR {\n color: #43413d;\n}\n\n._oLqym {\n color: #000000;\n}\n\n._2AXVT {\n color: #000000;\n}\n\n._2KJWg {\n color: #000000;\n}\n\n/* default dark style */\n._11RoI {\n background: rgb(0, 43, 54);\n}\n\n._17H2C {\n color: rgb(253, 246, 227);\n}\n\n._3QHg2 {\n color: rgb(253, 246, 227);\n}\n\n._3fDAz {\n color: rgb(253, 246, 227);\n}\n\n._2bSDX {\n font-weight: bolder;\n margin-right: 5px;\n color: rgb(253, 246, 227);\n}\n\n._1RQEj {\n}\n\n._gsbQL {\n color: rgb(253, 246, 227);\n}\n\n._LaAZe {\n color: rgb(129, 181, 172);\n}\n\n._GTKgm {\n color: rgb(129, 181, 172);\n}\n\n._Chy1W {\n color: rgb(203, 75, 22);\n}\n\n._2bveF {\n color: rgb(211, 54, 130);\n}\n\n._2vRm- {\n color: rgb(174, 129, 255);\n}\n\n._1prJR {\n color: rgb(38, 139, 210);\n}\n",""]);const s=a},51203:(e,n,t)=>{"use strict";t.d(n,{NF:()=>b.NF,ec:()=>b.ec,pb:()=>b.pb});var r=t(93379),o=t.n(r),l=t(7795),a=t.n(l),s=t(90569),i=t.n(s),c=t(3565),d=t.n(c),u=t(19216),p=t.n(u),m=t(44589),f=t.n(m),b=t(89965),g={};g.styleTagTransform=f(),g.setAttributes=d(),g.insert=i().bind(null,"head"),g.domAPI=a(),g.insertStyleElement=p();o()(b.ZP,g),b.ZP&&b.ZP.locals&&b.ZP.locals},39374:(e,n,t)=>{"use strict";var r=t(93379),o=t.n(r),l=t(7795),a=t.n(l),s=t(90569),i=t.n(s),c=t(3565),d=t.n(c),u=t(19216),p=t.n(u),m=t(44589),f=t.n(m),b=t(9917),g={};g.styleTagTransform=f(),g.setAttributes=d(),g.insert=i().bind(null,"head"),g.domAPI=a(),g.insertStyleElement=p();o()(b.Z,g),b.Z&&b.Z.locals&&b.Z.locals},65515:(e,n)=>{var t;!function(){"use strict";var r={}.hasOwnProperty;function classNames(){for(var e="",n=0;n<arguments.length;n++){var t=arguments[n];t&&(e=appendClass(e,parseValue(t)))}return e}function parseValue(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return classNames.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var n="";for(var t in e)r.call(e,t)&&e[t]&&(n=appendClass(n,t));return n}function appendClass(e,n){return n?e?e+" "+n:e+n:e}e.exports?(classNames.default=classNames,e.exports=classNames):void 0===(t=function(){return classNames}.apply(n,[]))||(e.exports=t)}()},88291:(e,n,t)=>{"use strict";function _objectDestructuringEmpty(e){if(null==e)throw new TypeError("Cannot destructure "+e)}t.d(n,{Z:()=>_objectDestructuringEmpty})}}]);
2
+ (self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[5020],{59165:(e,n,t)=>{"use strict";t.d(n,{_l:()=>a,gc:()=>JsonView});var r=t(87363);const isDate=e=>!!e&&e instanceof Date;function quoteString(e,n){return void 0===n&&(n=!1),!e||n?`"${e}"`:e}function ExpandableObject(e){let{field:n,value:t,data:o,lastElement:l,openBracket:a,closeBracket:s,level:i,style:c,shouldExpandNode:d,clickToExpandNode:u,outerRef:p}=e;const m=(0,r.useRef)(!1),[f,b,g]=function useBool(e){const[n,t]=(0,r.useState)(e());return[n,()=>t((e=>!e)),t]}((()=>d(i,t,n))),h=(0,r.useRef)(null);(0,r.useEffect)((()=>{m.current?g(d(i,t,n)):m.current=!0}),[d]);const x=f?c.collapseIcon:c.expandIcon,v=f?"collapse JSON":"expand JSON",y=(0,r.useId)(),_=i+1,N=o.length-1,onKeyDown=e=>{if("ArrowRight"===e.key||"ArrowLeft"===e.key)e.preventDefault(),g("ArrowRight"===e.key);else if("ArrowUp"===e.key||"ArrowDown"===e.key){e.preventDefault();const n="ArrowUp"===e.key?-1:1;if(!p.current)return;const t=p.current.querySelectorAll("[role=button]");let r=-1;for(let e=0;e<t.length;e++)if(0===t[e].tabIndex){r=e;break}if(r<0)return;const o=(r+n+t.length)%t.length;t[r].tabIndex=-1,t[o].tabIndex=0,t[o].focus()}},onClick=()=>{var e;b();const n=h.current;if(!n)return;const t=null===(e=p.current)||void 0===e?void 0:e.querySelector('[role=button][tabindex="0"]');t&&(t.tabIndex=-1),n.tabIndex=0,n.focus()};return(0,r.createElement)("div",{className:c.basicChildStyle,role:"treeitem","aria-expanded":f,"aria-selected":void 0},(0,r.createElement)("span",{className:x,onClick,onKeyDown,role:"button","aria-label":v,"aria-expanded":f,"aria-controls":f?y:void 0,ref:h,tabIndex:0===i?0:-1}),(n||""===n)&&(u?(0,r.createElement)("span",{className:c.clickableLabel,onClick,onKeyDown},quoteString(n,c.quotesForFieldNames),":"):(0,r.createElement)("span",{className:c.label},quoteString(n,c.quotesForFieldNames),":")),(0,r.createElement)("span",{className:c.punctuation},a),f?(0,r.createElement)("ul",{id:y,role:"group"},o.map(((e,n)=>(0,r.createElement)(DataRender,{key:e[0]||n,field:e[0],value:e[1],style:c,lastElement:n===N,level:_,shouldExpandNode:d,clickToExpandNode:u,outerRef:p})))):(0,r.createElement)("span",{className:c.collapsedContent,onClick,onKeyDown}),(0,r.createElement)("span",{className:c.punctuation},s),!l&&(0,r.createElement)("span",{className:c.punctuation},","))}function EmptyObject(e){let{field:n,openBracket:t,closeBracket:o,lastElement:l,style:a}=e;return(0,r.createElement)("div",{className:a.basicChildStyle,role:"treeitem","aria-selected":void 0},(n||""===n)&&(0,r.createElement)("span",{className:a.label},quoteString(n,a.quotesForFieldNames),":"),(0,r.createElement)("span",{className:a.punctuation},t),(0,r.createElement)("span",{className:a.punctuation},o),!l&&(0,r.createElement)("span",{className:a.punctuation},","))}function JsonObject(e){let{field:n,value:t,style:r,lastElement:o,shouldExpandNode:l,clickToExpandNode:a,level:s,outerRef:i}=e;return 0===Object.keys(t).length?EmptyObject({field:n,openBracket:"{",closeBracket:"}",lastElement:o,style:r}):ExpandableObject({field:n,value:t,lastElement:o||!1,level:s,openBracket:"{",closeBracket:"}",style:r,shouldExpandNode:l,clickToExpandNode:a,data:Object.keys(t).map((e=>[e,t[e]])),outerRef:i})}function JsonArray(e){let{field:n,value:t,style:r,lastElement:o,level:l,shouldExpandNode:a,clickToExpandNode:s,outerRef:i}=e;return 0===t.length?EmptyObject({field:n,openBracket:"[",closeBracket:"]",lastElement:o,style:r}):ExpandableObject({field:n,value:t,lastElement:o||!1,level:l,openBracket:"[",closeBracket:"]",style:r,shouldExpandNode:a,clickToExpandNode:s,data:t.map((e=>[void 0,e])),outerRef:i})}function JsonPrimitiveValue(e){let n,{field:t,value:o,style:l,lastElement:a}=e,s=l.otherValue;var i;return null===o?(n="null",s=l.nullValue):void 0===o?(n="undefined",s=l.undefinedValue):"string"==typeof(i=o)||i instanceof String?(n=quoteString(o,!l.noQuotesForStringValues),s=l.stringValue):(e=>"boolean"==typeof e||e instanceof Boolean)(o)?(n=o?"true":"false",s=l.booleanValue):(e=>"number"==typeof e||e instanceof Number)(o)?(n=o.toString(),s=l.numberValue):(e=>"bigint"==typeof e||e instanceof BigInt)(o)?(n=`${o.toString()}n`,s=l.numberValue):n=isDate(o)?o.toISOString():o.toString(),(0,r.createElement)("div",{className:l.basicChildStyle,role:"treeitem","aria-selected":void 0},(t||""===t)&&(0,r.createElement)("span",{className:l.label},quoteString(t,l.quotesForFieldNames),":"),(0,r.createElement)("span",{className:s},n),!a&&(0,r.createElement)("span",{className:l.punctuation},","))}function DataRender(e){const n=e.value;return t=n,Array.isArray(t)?(0,r.createElement)(JsonArray,Object.assign({},e)):(e=>e instanceof Object&&null!==e)(n)&&!isDate(n)?(0,r.createElement)(JsonObject,Object.assign({},e)):(0,r.createElement)(JsonPrimitiveValue,Object.assign({},e));var t}var o="_2bkNM";const l={container:"_2IvMF _GzYRV",basicChildStyle:o,label:"_1MGIk",clickableLabel:"_2YKJg _1MGIk _1MFti",nullValue:"_2T6PJ",undefinedValue:"_1Gho6",stringValue:"_vGjyY",booleanValue:"_3zQKs",numberValue:"_1bQdo",otherValue:"_1xvuR",punctuation:"_3uHL6 _3eOF8",collapseIcon:"_oLqym _f10Tu _1MFti _1LId0",expandIcon:"_2AXVT _f10Tu _1MFti _1UmXx",collapsedContent:"_2KJWg _1pNG9 _1MFti",noQuotesForStringValues:!1,quotesForFieldNames:!1},a={container:"_11RoI _GzYRV",basicChildStyle:o,label:"_2bSDX",clickableLabel:"_1RQEj _2bSDX _1MFti",nullValue:"_LaAZe",undefinedValue:"_GTKgm",stringValue:"_Chy1W",booleanValue:"_2vRm-",numberValue:"_2bveF",otherValue:"_1prJR",punctuation:"_gsbQL _3eOF8",collapseIcon:"_3QHg2 _f10Tu _1MFti _1LId0",expandIcon:"_17H2C _f10Tu _1MFti _1UmXx",collapsedContent:"_3fDAz _1pNG9 _1MFti",noQuotesForStringValues:!1,quotesForFieldNames:!1},allExpanded=()=>!0,JsonView=e=>{let{data:n,style:t=l,shouldExpandNode:o=allExpanded,clickToExpandNode:a=!1,...s}=e;const i=(0,r.useRef)(null);return(0,r.createElement)("div",Object.assign({"aria-label":"JSON view"},s,{className:t.container,ref:i,role:"tree"}),(0,r.createElement)(DataRender,{value:n,style:t,lastElement:!0,level:0,shouldExpandNode:o,clickToExpandNode:a,outerRef:i}))}},45020:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>I});var r=t(80248),o=t(84658),l=t(34988),a=t(88291),s=t(50747),i=t.n(s),c=t(87363),d=t(51203),u=t(93379),p=t.n(u),m=t(7795),f=t.n(m),b=t(90569),g=t.n(b),h=t(3565),x=t.n(h),v=t(19216),y=t.n(v),_=t(44589),N=t.n(_),E=t(34127),w={};w.styleTagTransform=N(),w.setAttributes=x(),w.insert=g().bind(null,"head"),w.domAPI=f(),w.insertStyleElement=y();p()(E.ZP,w);E.ZP&&E.ZP.locals&&E.ZP.locals;var k=t(32919),j=t(9420),S=t(65515),O=t.n(S),F=t(88683),P=t(59165),A=(t(76839),t(47514));function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var R=function getPartlistArticles(e,n){var t,r=null===(t=e.catalogArticle.partlistArticlesRules)||void 0===t?void 0:t[0].PartListPos;if(!r)return[];for(var o=function _loop(){var t=r[l],o=e.decisions.find((function(e){return Number(e.Number)===Number(t.PartListPosDecisionsAndPosCounts[0].DecisionNumber)}));n.push({codex:t.ItemRefArticles[0].ArticleCodex,doc:null==o?void 0:o.DOC})},l=0;l<r.length;l++)o();return n};const I=(0,j.Pi)((function PartListAnalyzer(e){var n=Object.assign({},((0,a.Z)(e),e)),t=(0,k.NP)(),r=t.divaWebPlanner.getDivaArticles(),s=(0,c.useState)(!1),u=(0,l.Z)(s,2),p=u[0],m=u[1];(0,c.useEffect)((function(){var e=function(){var e=(0,o.Z)(i().mark((function _callee(){return i().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,F.DivaUtils.Sleep(1e3);case 2:m(!p);case 3:case"end":return e.stop()}}),_callee)})));return function asyncFunct(){return e.apply(this,arguments)}}();e()}),[t.tabGroupState.allTabGroups]);var f=[];for(var b in r)f=R(r[b],f);return(0,A.jsxs)("div",_objectSpread(_objectSpread({},n),{},{className:O()(n.className,E.fm,t.uiState.configSettingsIsExpanded?d.NF:void 0),style:{zIndex:800},children:[(0,A.jsx)("a",{className:E.Fs,children:"Stücklisten Übersicht"}),(0,A.jsx)("div",{children:(0,A.jsxs)("table",{className:E.Kz,children:[(0,A.jsx)("thead",{children:(0,A.jsxs)("tr",{className:E.$Q,children:[(0,A.jsx)("th",{children:"codex"}),(0,A.jsx)("th",{children:"decision"})]})}),(0,A.jsx)("tbody",{children:Object.values(f).map((function(e,n){return(0,A.jsxs)("tr",{className:E.$Q,children:[(0,A.jsxs)("th",{children:[" ",e.codex]}),(0,A.jsx)("th",{children:(0,A.jsx)(P.gc,{data:e.dec},t.settingsState.configChanged)})]},n)}))})]})})]}))}))},34127:(e,n,t)=>{"use strict";t.d(n,{$Q:()=>i,Fs:()=>d,Kz:()=>s,ZP:()=>u,fm:()=>c});var r=t(8081),o=t.n(r),l=t(23645),a=t.n(l)()(o());a.push([e.id,".index-module--Qj9rL {\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #ffffff;\n border-collapse: collapse;\n border-width: 0px;\n border-color: #e7eaf8;\n border-style: solid;\n color: #000000;\n font-weight: normal;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n overflow-y: auto;\n top: 73px;\n}\n.index-module--Qj9rL thead {\n font-weight: bold !important;\n}\n.index-module--Qj9rL thead {\n border-bottom: 1px solid;\n /* min-width: 20px; */\n background-color: var(--thirdColor);\n font-size: 16px;\n padding-top: 1%;\n color: white;\n}\n.index-module--Y7hZi {\n text-align: left;\n}\n.index-module--Y7hZi:first-child {\n height: 20px;\n}\n.index-module--Y7hZi th:nth-child(1) {\n width: 40%;\n border-bottom: 1px solid;\n}\n.index-module--Y7hZi th {\n border-bottom: 1px solid;\n padding-right: 10px;\n margin-bottom: 1%;\n font-weight: normal;\n}\n.index-module--Y7hZi th:last-child {\n font-size: 12px;\n}\n.index-module--i3Qix {\n overflow: auto;\n left: 50px;\n}\n.index-module--ZOsGH {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n position: absolute;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n}\n",""]);var s="index-module--Qj9rL",i="index-module--Y7hZi",c="index-module--i3Qix",d="index-module--ZOsGH";const u=a},89965:(e,n,t)=>{"use strict";t.d(n,{NF:()=>i,ZP:()=>d,ec:()=>s,pb:()=>c});var r=t(8081),o=t.n(r),l=t(23645),a=t.n(l)()(o());a.push([e.id,".index-module--NA4Nc {\n position: absolute;\n margin-left: 50px;\n height: 92%;\n background-color: var(--settingsBackgroundColor);\n padding-left: 5px;\n overflow: auto;\n display: flex;\n flex-direction: column;\n box-shadow: inset 0px 4px 40px 1px rgba(0, 0, 0, 0.1);\n border-right: 2px solid;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n.index-module--zxgl3 {\n width: calc(25.5%) !important;\n}\n.index-module--zxgl3 {\n background-color: white;\n}\n.index-module--WGNyK {\n z-index: 590;\n background-color: rgba(250, 250, 250, 0.5);\n width: calc(63% - 50px);\n /*width: calc(69% - 50px); pfister*/\n}\n",""]);var s="index-module--NA4Nc",i="index-module--zxgl3",c="index-module--WGNyK";const d=a},72035:(e,n,t)=>{"use strict";t.d(n,{Z:()=>s});var r=t(8081),o=t.n(r),l=t(23645),a=t.n(l)()(o());a.push([e.id,"/* base styles */\n\n._GzYRV {\n line-height: 1.2;\n white-space: pre-wrap;\n white-space: -moz-pre-wrap;\n white-space: -pre-wrap;\n white-space: -o-pre-wrap;\n word-wrap: break-word;\n}\n\n._3eOF8 {\n margin-right: 5px;\n font-weight: bold;\n}\n\n._3eOF8 + ._3eOF8 {\n margin-left: -5px;\n}\n\n._1MFti {\n cursor: pointer;\n}\n\n._f10Tu {\n font-size: 1.2em;\n margin-right: 5px;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n._1UmXx::after {\n content: '\\25B8';\n}\n\n._1LId0::after {\n content: '\\25BE';\n}\n\n._1pNG9 {\n margin-right: 5px;\n}\n\n._1pNG9::after {\n content: '...';\n font-size: 0.8em;\n}\n\n._2IvMF {\n background: #eee;\n}\n\n._2bkNM {\n margin: 0 10px;\n padding: 0;\n}\n\n._2bkNM > ul {\n margin: 0;\n padding: 0;\n}\n\n/* default light style */\n._1MGIk {\n font-weight: 600;\n margin-right: 5px;\n color: #000000;\n}\n\n._2YKJg {\n}\n\n._3uHL6 {\n color: #000000;\n}\n\n._2T6PJ {\n color: #df113a;\n}\n\n._1Gho6 {\n color: #df113a;\n}\n\n._vGjyY {\n color: rgb(42, 63, 60);\n}\n\n._1bQdo {\n color: #0b75f5;\n}\n\n._3zQKs {\n color: rgb(70, 144, 56);\n}\n\n._1xvuR {\n color: #43413d;\n}\n\n._oLqym {\n color: #000000;\n}\n\n._2AXVT {\n color: #000000;\n}\n\n._2KJWg {\n color: #000000;\n}\n\n/* default dark style */\n._11RoI {\n background: rgb(0, 43, 54);\n}\n\n._17H2C {\n color: rgb(253, 246, 227);\n}\n\n._3QHg2 {\n color: rgb(253, 246, 227);\n}\n\n._3fDAz {\n color: rgb(253, 246, 227);\n}\n\n._2bSDX {\n font-weight: bolder;\n margin-right: 5px;\n color: rgb(253, 246, 227);\n}\n\n._1RQEj {\n}\n\n._gsbQL {\n color: rgb(253, 246, 227);\n}\n\n._LaAZe {\n color: rgb(129, 181, 172);\n}\n\n._GTKgm {\n color: rgb(129, 181, 172);\n}\n\n._Chy1W {\n color: rgb(203, 75, 22);\n}\n\n._2bveF {\n color: rgb(211, 54, 130);\n}\n\n._2vRm- {\n color: rgb(174, 129, 255);\n}\n\n._1prJR {\n color: rgb(38, 139, 210);\n}\n",""]);const s=a},51203:(e,n,t)=>{"use strict";t.d(n,{NF:()=>b.NF,ec:()=>b.ec,pb:()=>b.pb});var r=t(93379),o=t.n(r),l=t(7795),a=t.n(l),s=t(90569),i=t.n(s),c=t(3565),d=t.n(c),u=t(19216),p=t.n(u),m=t(44589),f=t.n(m),b=t(89965),g={};g.styleTagTransform=f(),g.setAttributes=d(),g.insert=i().bind(null,"head"),g.domAPI=a(),g.insertStyleElement=p();o()(b.ZP,g),b.ZP&&b.ZP.locals&&b.ZP.locals},76839:(e,n,t)=>{"use strict";var r=t(93379),o=t.n(r),l=t(7795),a=t.n(l),s=t(90569),i=t.n(s),c=t(3565),d=t.n(c),u=t(19216),p=t.n(u),m=t(44589),f=t.n(m),b=t(72035),g={};g.styleTagTransform=f(),g.setAttributes=d(),g.insert=i().bind(null,"head"),g.domAPI=a(),g.insertStyleElement=p();o()(b.Z,g),b.Z&&b.Z.locals&&b.Z.locals},65515:(e,n)=>{var t;!function(){"use strict";var r={}.hasOwnProperty;function classNames(){for(var e="",n=0;n<arguments.length;n++){var t=arguments[n];t&&(e=appendClass(e,parseValue(t)))}return e}function parseValue(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return classNames.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var n="";for(var t in e)r.call(e,t)&&e[t]&&(n=appendClass(n,t));return n}function appendClass(e,n){return n?e?e+" "+n:e+n:e}e.exports?(classNames.default=classNames,e.exports=classNames):void 0===(t=function(){return classNames}.apply(n,[]))||(e.exports=t)}()},88291:(e,n,t)=>{"use strict";function _objectDestructuringEmpty(e){if(null==e)throw new TypeError("Cannot destructure "+e)}t.d(n,{Z:()=>_objectDestructuringEmpty})}}]);
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 6617.diva-web-planner-react.umd.min.js.LICENSE.txt */
2
- (self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[6617,59,9119],{56617:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>D});var a=t(84658),o=t(34988),i=t(50747),r=t.n(i),l=t(65515),s=t.n(l),d=t(9420),c=t(87363),u=t(88683),x=t(32919),g=t(93379),m=t.n(g),p=t(7795),v=t.n(p),f=t(90569),N=t.n(f),C=t(3565),b=t.n(C),h=t(19216),k=t.n(h),M=t(44589),I=t.n(M),A=t(56052),w={};w.styleTagTransform=I(),w.setAttributes=b(),w.insert=N().bind(null,"head"),w.domAPI=v(),w.insertStyleElement=k();m()(A.ZP,w);A.ZP&&A.ZP.locals&&A.ZP.locals;var y=t(47514),S=(0,u.getLogger)("Planner","BasketActionSerious");const D=(0,d.Pi)((function BasketActionSerious(e){var n=e.saveIsDisabled,t=e.sendEmailIsDisabled,i=e.onSave,l=(0,x.NP)(),d=(0,u.useTranslation)().t,g=(0,c.useState)(!1),m=(0,o.Z)(g,2),p=m[0],v=m[1],f=(0,u.useDivaCore)().actions,N=f.userHasPermission,C=f.openSnackBar,b=function(){var e=(0,a.Z)(r().mark((function _callee(e){var a,o,s,c;return r().wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:r.t0=e,r.next="email"===r.t0?3:"save"===r.t0?8:13;break;case 3:if(n||t){r.next=7;break}return i(),r.next=7,l.actionButtonState.onClickAddToBasket("onSendEmail");case 7:return r.abrupt("break",13);case 8:if(n){r.next=12;break}return i(),r.next=12,l.actionButtonState.onClickAddToBasket();case 12:return r.abrupt("break",13);case 13:if(!l.getViewConfig().showPdfQR){r.next=22;break}if("boolean"!=typeof l.getViewConfig().showPdfQR){r.next=18;break}l.divaWebPlanner.getBasket().PDFDocumentURL?C({type:"big",qrCode:l.divaWebPlanner.getBasket().PDFDocumentURL,message:d("basket.checkout.pdfqr"),autoHideDuration:null!==(a=l.getViewConfig().pdfQRAutoHideDuration)&&void 0!==a?a:12e4,clickable:!0}):S.warn("Basket is missing a pdf, no QR-Code displayed"),r.next=22;break;case 18:return r.next=20,null===(o=l.divaWebPlanner.actSet())||void 0===o?void 0:o.api.createBasketReport(l.divaWebPlanner.getBasket(),l.getViewConfig().showPdfQR,l.getViewConfig().savePdfQR);case 20:(s=r.sent)?C({type:"big",qrCode:s,message:d("basket.checkout.pdfqr"),autoHideDuration:null!==(c=l.getViewConfig().pdfQRAutoHideDuration)&&void 0!==c?c:12e4,clickable:!0}):S.warn("Could not generate PDF, no QR-Code displayed");case 22:case"end":return r.stop()}}),_callee)})));return function onClickSave(n){return e.apply(this,arguments)}}();return(0,y.jsxs)("div",{className:A.nC,children:[(0,y.jsxs)("div",{className:s()(A.LI,A.SH,n?A.jO:void 0),onClick:function onClick(){n||v(!p)},children:[(0,y.jsx)("div",{className:s()(A.O7,A.qv,A.Nd)}),(0,y.jsxs)("div",{className:s()(A.O7),children:[" ",d("configurator.ADD_TO_BASKET")]}),(0,y.jsxs)("div",{className:s()(p?A.bA:void 0,A.v),children:[(0,y.jsxs)("div",{className:A.$Q,onClick:function onClick(){return b("save")},id:"wcConfigurator-action-tobasket",children:[(0,y.jsx)("div",{className:s()(A.O7,A.qv,A.Nd)}),(0,y.jsxs)("div",{className:s()(A.O7),children:[" ",d("configurator.ADD_TO_BASKET")]})]}),(0,y.jsxs)("div",{className:s()(A.$Q,t?A.jO:void 0),onClick:function onClick(){return b("email")},children:[(0,y.jsx)("div",{className:s()(A.O7,A.qv,A.hZ)}),(0,y.jsxs)("div",{className:s()(A.O7),children:[" ",d("configurator.SendToClient")]})]})]})]}),(0,y.jsxs)("div",{onClick:function onClickReset(){var e;null===(e=l.actions)||void 0===e||e.openModal({title:d("modals.reset"),accept:!0,reject:!0,text:d("modals.are_you_sure_to_reset"),callback:function callback(e){e&&l.productState.onClickReset()}})},className:s()(A.LI,A.nN),children:[(0,y.jsx)("div",{className:s()(A.O7,A.qv),children:(0,y.jsx)("svg",{width:"26",height:"22",viewBox:"0 0 3400 3400",xmlns:"http://www.w3.org/2000/svg",children:(0,y.jsx)("path",{className:A.e2,transform:"scale(1,-1) translate(450,-2600)",strokeWidth:"1",d:"M935 2061l-114 277q135 45 279 57v-300q-85 -9 -165 -34zM1435 2069q-71 19 -135 26v300q131 -11 251 -48zM615 1884l-211 212q119 105 260 176l114 -276q-87 -47 -163 -112zM1737 1921q-43 32 -89 59l115 279q99 -53 187 -125zM2007 -3l-148 204l-6 -4 q-146 -95 -321 -145t-332 -51q-172 0 -331.5 43t-291 120.5t-240 188t-182.5 242.5t-114.5 287t-40.5 318q0 225 80 429.5t224 367.5l212 -212q-103 -120 -159.5 -270t-56.5 -314q0 -123 32 -239.5t90 -215t140.5 -181.5t181.5 -141t216 -90.5t240 -31.5q146 0 256.5 34 t226.5 109l-151 212q-8 11 -8 20q0 20 29 19h683q17 0 27.5 -10t10.5 -25q0 -6 -3 -13l-220 -644q-7 -22 -22 -22q-12 0 -22 15zM1964 1673q-20 32 -43 64l213 213q61 -75 109 -161zM2085 1400q-4 0 -10 27l279 126q4 -14 8.5 -35.5t8 -41t6.5 -37.5t6 -28.5t5 -10.5h-303z "})})}),(0,y.jsxs)("div",{className:s()(A.O7),children:[" ",d("configurator.ConfigReset")]})]}),N("favorites_lueck")&&(0,y.jsxs)("div",{onClick:function onClickFavorites(){var e,n;null===(e=l.actions)||void 0===e||e.openModal({title:d("modals.favorite"),accept:!0,reject:!0,text:d("modals.are_you_sure_favorite"),callback:(n=(0,a.Z)(r().mark((function _callee2(e){var n;return r().wrap((function _callee2$(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=5;break}return i(),t.next=4,l.actionButtonState.onClickAddToBasket("onSaveProduct");case 4:null===(n=l.actions)||void 0===n||n.openModal({title:d("modals.favorite"),accept:!0,text:d("modals.favorites_saved")});case 5:case"end":return t.stop()}}),_callee2)}))),function callback(e){return n.apply(this,arguments)})})},className:s()(A.LI,A.nN),children:[(0,y.jsx)("div",{className:s()(A.O7,A.qv),children:(0,y.jsx)("svg",{width:"26",height:"22",viewBox:"0 0 3400 3400",xmlns:"http://www.w3.org/2000/svg",children:(0,y.jsx)("path",{className:A.e2,transform:"scale(1,-1) translate(450,-2600)",strokeWidth:"1",d:"M2491 1500l-765 -541l291 -885l-768 551l-764 -554l291 883l-776 546h958l294 900h3l292 -900h944zM484 68h-3l4 3z"})})}),(0,y.jsxs)("div",{className:s()(A.O7),children:[" ",d("configurator.Favorites")]})]})]})}))},56052:(e,n,t)=>{"use strict";t.d(n,{$Q:()=>N,LI:()=>C,Nd:()=>A,O7:()=>M,SH:()=>b,ZP:()=>y,bA:()=>v,e2:()=>I,hZ:()=>w,jO:()=>h,nC:()=>m,nN:()=>k,qv:()=>f,v:()=>p});var a=t(8081),o=t.n(a),i=t(23645),r=t.n(i),l=t(61667),s=t.n(l),d=new URL(t(32889),t.b),c=new URL(t(17195),t.b),u=r()(o()),x=s()(d),g=s()(c);u.push([e.id,".index-module--BLUm6 {\n display: flex;\n flex-direction: row;\n margin-left: 16px;\n}\n\n.index-module--HfQcx {\n border: 1px solid #cacaca;\n border-radius: 4px;\n position: absolute;\n bottom: 105%;\n left: 0;\n right: -5px;\n padding: 0.84em 1em;\n color: #000;\n color: initial;\n display: none;\n flex-direction: column;\n}\n\n.index-module--HfQcx.index-module--zBXSm {\n display: flex;\n}\n\n.index-module--HfQcx .index-module--JygIB {\n filter: brightness(0.1);\n}\n.index-module--HfQcx .index-module--GkVFm:hover {\n color: var(--primaryColor);\n}\n\n.index-module--am5Wh {\n position: relative;\n font-weight: 100;\n border-radius: 32px;\n transition: background-color 0.25s ease-out, color 0.25s ease-out;\n font-size: 0.9rem;\n line-height: 18px;\n text-align: center;\n cursor: pointer;\n box-sizing: border-box;\n display: inline-block;\n vertical-align: middle;\n margin: 0 0.5rem 1rem 0;\n padding: 0.85em 1em;\n -webkit-appearance: none;\n border: 1px solid transparent;\n}\n\n.index-module--xqWc8 {\n background-color: var(--primaryColor);\n color: #fefefe;\n}\n\n.index-module--qJM2I {\n opacity: 0.25;\n cursor: not-allowed;\n}\n\n.index-module--xqWc8:hover {\n filter: brightness(0.9);\n}\n\n.index-module--kWTPM {\n background-color: transparent;\n border-color: var(--primaryColor);\n color: var(--primaryColor);\n padding: 0.85em 1em 0.85em 0.25em;\n}\n\n.index-module--kWTPM:hover {\n fill: #202020 !important;\n}\n\n.index-module--kWTPM:hover {\n border-color: #202020;\n color: #202020;\n}\n\n.index-module--fTcws {\n float: left;\n}\n.index-module--kWTPM .index-module--fTcws {\n padding-left: 0.5em;\n}\n\n.index-module--GkVFm {\n margin: 0.5em 0;\n}\n\n.index-module--JygIB {\n background-repeat: no-repeat;\n background-position: center center;\n background-size: contain;\n width: 20px;\n height: 20px;\n}\n.index-module--nUotN {\n fill: var(--primaryColor);\n transition: fill 0.25s ease-out, color 0.25s ease-out;\n}\n\n.index-module--kWTPM:hover .index-module--nUotN {\n fill: black;\n}\n\n.index-module--b4Lgf {\n background-image: url("+x+");\n}\n.index-module--Y3R7R {\n background-image: url("+g+");\n}\n\n.index-module--aWiJp path {\n background-color: var(--primaryColor);\n}\n",""]);var m="index-module--BLUm6",p="index-module--HfQcx",v="index-module--zBXSm",f="index-module--JygIB",N="index-module--GkVFm",C="index-module--am5Wh",b="index-module--xqWc8",h="index-module--qJM2I",k="index-module--kWTPM",M="index-module--fTcws",I="index-module--nUotN",A="index-module--b4Lgf",w="index-module--Y3R7R";const y=u},61667:e=>{"use strict";e.exports=function(e,n){return n||(n={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),n.hash&&(e+=n.hash),/["'() \t\n]|(%20)/.test(e)||n.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},32889:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIHZpZXdCb3g9IjAgMCAzNDAwIDM0MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGgKICAgIGZpbGw9IndoaXRlIgogICAgdHJhbnNmb3JtPSJzY2FsZSgxLC0xKSB0cmFuc2xhdGUoNDUwLC0yNjAwKSIKICAgIHN0cm9rZVdpZHRoPSIxIgogICAgZD0iTTc4MyAyNTVsLTMyNSAzMjVsLTcwIDcwbC0zOTEgMzkxcS0xNCAxNSAtMTQgMzUuNXQxNCAzNS41bDMyNSAzMjVxMTQgMTQgMzUgMTR0MzUgLTE0bDM5MSAtMzkxcTE1IC0xNSAzNS41IC0xNXQzNS41IDE1bDEwNDkgMTA0OXExNSAxNSAzNS41IDE1dDM1LjUgLTE1bDMyNyAtMzIycTE1IC0xNSAxNSAtMzVxMCAtMjEgLTE1IC0zNWwtMTQ0NyAtMTQ0OHEtMTUgLTE0IC0zNS41IC0xNHQtMzUuNSAxNHoiCiAgICAgLz4KPC9zdmc+"},17195:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIHZpZXdCb3g9IjAgMCAzNDAwIDM0MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGgKICAgIGZpbGw9IndoaXRlIgogICAgdHJhbnNmb3JtPSJzY2FsZSgxLC0xKSB0cmFuc2xhdGUoNDUwLC0yNjAwKSIKICAgIHN0cm9rZVdpZHRoPSIxIgpkPSJNOTIxIDg5cS00MyAtNTQgLTc1IC01NHEtMjIgMCAtMzQgMjUuNXQtMTIgNzIuNXY3NjdoLTcwOHEtOTEgMCAtOTEgMzFxMCAyNiA2MyA2NWwyMDYzIDEyNzhxNDIgMjYgNzkgMjZxNDIgMCA2OCAtMzJ0MjYgLTg4di0xODAwcTAgLTU3IC0yNi41IC04OS41dC02OS41IC0zMi41cS0zNyAwIC03OCAyNWwtNzEyIDQyNXpNMTAwMCA0ODBsMTE4NiAxNzAwbC0xMTg2IC0xMzAwdi00MDB6Ii8+Cjwvc3ZnPg=="},65515:(e,n)=>{var t;!function(){"use strict";var a={}.hasOwnProperty;function classNames(){for(var e="",n=0;n<arguments.length;n++){var t=arguments[n];t&&(e=appendClass(e,parseValue(t)))}return e}function parseValue(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return classNames.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var n="";for(var t in e)a.call(e,t)&&e[t]&&(n=appendClass(n,t));return n}function appendClass(e,n){return n?e?e+" "+n:e+n:e}e.exports?(classNames.default=classNames,e.exports=classNames):void 0===(t=function(){return classNames}.apply(n,[]))||(e.exports=t)}()}}]);
2
+ (self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[6617,59,9119],{56617:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>z});var a=t(84658),o=t(34988),i=t(50747),r=t.n(i),l=t(65515),s=t.n(l),d=t(9420),c=t(87363),u=t(88683),x=t(32919),g=t(93379),m=t.n(g),p=t(7795),v=t.n(p),f=t(90569),N=t.n(f),C=t(3565),b=t.n(C),h=t(19216),k=t.n(h),M=t(44589),I=t.n(M),A=t(56052),w={};w.styleTagTransform=I(),w.setAttributes=b(),w.insert=N().bind(null,"head"),w.domAPI=v(),w.insertStyleElement=k();m()(A.ZP,w);A.ZP&&A.ZP.locals&&A.ZP.locals;var y=t(47514),S=(0,u.getLogger)("Planner","BasketActionSerious");const z=(0,d.Pi)((function BasketActionSerious(e){var n=e.saveIsDisabled,t=e.sendEmailIsDisabled,i=e.onSave,l=(0,x.NP)(),d=(0,u.useTranslation)().t,g=(0,c.useState)(!1),m=(0,o.Z)(g,2),p=m[0],v=m[1],f=(0,u.useDivaCore)().actions,N=f.userHasPermission,C=f.openSnackBar,b=function(){var e=(0,a.Z)(r().mark((function _callee(e){var a,o,s,c;return r().wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:r.t0=e,r.next="email"===r.t0?3:"save"===r.t0?8:13;break;case 3:if(n||t){r.next=7;break}return i(),r.next=7,l.actionButtonState.onClickAddToBasket("onSendEmail");case 7:return r.abrupt("break",13);case 8:if(n){r.next=12;break}return i(),r.next=12,l.actionButtonState.onClickAddToBasket();case 12:return r.abrupt("break",13);case 13:if(!l.getViewConfig().showPdfQR){r.next=22;break}if("boolean"!=typeof l.getViewConfig().showPdfQR){r.next=18;break}l.divaWebPlanner.getBasket().PDFDocumentURL?C({type:"big",qrCode:l.divaWebPlanner.getBasket().PDFDocumentURL,message:d("basket.checkout.pdfqr"),autoHideDuration:null!==(a=l.getViewConfig().pdfQRAutoHideDuration)&&void 0!==a?a:12e4,clickable:!0,qrCodeSize:312}):S.warn("Basket is missing a pdf, no QR-Code displayed"),r.next=22;break;case 18:return r.next=20,null===(o=l.divaWebPlanner.actSet())||void 0===o?void 0:o.api.createBasketReport(l.divaWebPlanner.getBasket(),l.getViewConfig().showPdfQR,l.getViewConfig().savePdfQR);case 20:(s=r.sent)?C({type:"big",qrCode:s,qrCodeSize:312,message:d("basket.checkout.pdfqr"),autoHideDuration:null!==(c=l.getViewConfig().pdfQRAutoHideDuration)&&void 0!==c?c:12e4,clickable:!0}):S.warn("Could not generate PDF, no QR-Code displayed");case 22:case"end":return r.stop()}}),_callee)})));return function onClickSave(n){return e.apply(this,arguments)}}();return(0,y.jsxs)("div",{className:A.nC,children:[(0,y.jsxs)("div",{className:s()(A.LI,A.SH,n?A.jO:void 0),onClick:function onClick(){n||v(!p)},children:[(0,y.jsx)("div",{className:s()(A.O7,A.qv,A.Nd)}),(0,y.jsxs)("div",{className:s()(A.O7),children:[" ",d("configurator.ADD_TO_BASKET")]}),(0,y.jsxs)("div",{className:s()(p?A.bA:void 0,A.v),children:[(0,y.jsxs)("div",{className:A.$Q,onClick:function onClick(){return b("save")},id:"wcConfigurator-action-tobasket",children:[(0,y.jsx)("div",{className:s()(A.O7,A.qv,A.Nd)}),(0,y.jsxs)("div",{className:s()(A.O7),children:[" ",d("configurator.ADD_TO_BASKET")]})]}),(0,y.jsxs)("div",{className:s()(A.$Q,t?A.jO:void 0),onClick:function onClick(){return b("email")},children:[(0,y.jsx)("div",{className:s()(A.O7,A.qv,A.hZ)}),(0,y.jsxs)("div",{className:s()(A.O7),children:[" ",d("configurator.SendToClient")]})]})]})]}),(0,y.jsxs)("div",{onClick:function onClickReset(){var e;null===(e=l.actions)||void 0===e||e.openModal({title:d("modals.reset"),accept:!0,reject:!0,text:d("modals.are_you_sure_to_reset"),callback:function callback(e){e&&l.productState.onClickReset()}})},className:s()(A.LI,A.nN),children:[(0,y.jsx)("div",{className:s()(A.O7,A.qv),children:(0,y.jsx)("svg",{width:"26",height:"22",viewBox:"0 0 3400 3400",xmlns:"http://www.w3.org/2000/svg",children:(0,y.jsx)("path",{className:A.e2,transform:"scale(1,-1) translate(450,-2600)",strokeWidth:"1",d:"M935 2061l-114 277q135 45 279 57v-300q-85 -9 -165 -34zM1435 2069q-71 19 -135 26v300q131 -11 251 -48zM615 1884l-211 212q119 105 260 176l114 -276q-87 -47 -163 -112zM1737 1921q-43 32 -89 59l115 279q99 -53 187 -125zM2007 -3l-148 204l-6 -4 q-146 -95 -321 -145t-332 -51q-172 0 -331.5 43t-291 120.5t-240 188t-182.5 242.5t-114.5 287t-40.5 318q0 225 80 429.5t224 367.5l212 -212q-103 -120 -159.5 -270t-56.5 -314q0 -123 32 -239.5t90 -215t140.5 -181.5t181.5 -141t216 -90.5t240 -31.5q146 0 256.5 34 t226.5 109l-151 212q-8 11 -8 20q0 20 29 19h683q17 0 27.5 -10t10.5 -25q0 -6 -3 -13l-220 -644q-7 -22 -22 -22q-12 0 -22 15zM1964 1673q-20 32 -43 64l213 213q61 -75 109 -161zM2085 1400q-4 0 -10 27l279 126q4 -14 8.5 -35.5t8 -41t6.5 -37.5t6 -28.5t5 -10.5h-303z "})})}),(0,y.jsxs)("div",{className:s()(A.O7),children:[" ",d("configurator.ConfigReset")]})]}),N("favorites_lueck")&&(0,y.jsxs)("div",{onClick:function onClickFavorites(){var e,n;null===(e=l.actions)||void 0===e||e.openModal({title:d("modals.favorite"),accept:!0,reject:!0,text:d("modals.are_you_sure_favorite"),callback:(n=(0,a.Z)(r().mark((function _callee2(e){var n;return r().wrap((function _callee2$(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=5;break}return i(),t.next=4,l.actionButtonState.onClickAddToBasket("onSaveProduct");case 4:null===(n=l.actions)||void 0===n||n.openModal({title:d("modals.favorite"),accept:!0,text:d("modals.favorites_saved")});case 5:case"end":return t.stop()}}),_callee2)}))),function callback(e){return n.apply(this,arguments)})})},className:s()(A.LI,A.nN),children:[(0,y.jsx)("div",{className:s()(A.O7,A.qv),children:(0,y.jsx)("svg",{width:"26",height:"22",viewBox:"0 0 3400 3400",xmlns:"http://www.w3.org/2000/svg",children:(0,y.jsx)("path",{className:A.e2,transform:"scale(1,-1) translate(450,-2600)",strokeWidth:"1",d:"M2491 1500l-765 -541l291 -885l-768 551l-764 -554l291 883l-776 546h958l294 900h3l292 -900h944zM484 68h-3l4 3z"})})}),(0,y.jsxs)("div",{className:s()(A.O7),children:[" ",d("configurator.Favorites")]})]})]})}))},56052:(e,n,t)=>{"use strict";t.d(n,{$Q:()=>N,LI:()=>C,Nd:()=>A,O7:()=>M,SH:()=>b,ZP:()=>y,bA:()=>v,e2:()=>I,hZ:()=>w,jO:()=>h,nC:()=>m,nN:()=>k,qv:()=>f,v:()=>p});var a=t(8081),o=t.n(a),i=t(23645),r=t.n(i),l=t(61667),s=t.n(l),d=new URL(t(32889),t.b),c=new URL(t(17195),t.b),u=r()(o()),x=s()(d),g=s()(c);u.push([e.id,".index-module--BLUm6 {\n display: flex;\n flex-direction: row;\n margin-left: 16px;\n}\n\n.index-module--HfQcx {\n border: 1px solid #cacaca;\n border-radius: 4px;\n position: absolute;\n bottom: 105%;\n left: 0;\n right: -5px;\n padding: 0.84em 1em;\n color: #000;\n color: initial;\n display: none;\n flex-direction: column;\n}\n\n.index-module--HfQcx.index-module--zBXSm {\n display: flex;\n}\n\n.index-module--HfQcx .index-module--JygIB {\n filter: brightness(0.1);\n}\n.index-module--HfQcx .index-module--GkVFm:hover {\n color: var(--primaryColor);\n}\n\n.index-module--am5Wh {\n position: relative;\n font-weight: 100;\n border-radius: 32px;\n transition: background-color 0.25s ease-out, color 0.25s ease-out;\n font-size: 0.9rem;\n line-height: 18px;\n text-align: center;\n cursor: pointer;\n box-sizing: border-box;\n display: inline-block;\n vertical-align: middle;\n margin: 0 0.5rem 1rem 0;\n padding: 0.85em 1em;\n -webkit-appearance: none;\n border: 1px solid transparent;\n}\n\n.index-module--xqWc8 {\n background-color: var(--primaryColor);\n color: #fefefe;\n}\n\n.index-module--qJM2I {\n opacity: 0.25;\n cursor: not-allowed;\n}\n\n.index-module--xqWc8:hover {\n filter: brightness(0.9);\n}\n\n.index-module--kWTPM {\n background-color: transparent;\n border-color: var(--primaryColor);\n color: var(--primaryColor);\n padding: 0.85em 1em 0.85em 0.25em;\n}\n\n.index-module--kWTPM:hover {\n fill: #202020 !important;\n}\n\n.index-module--kWTPM:hover {\n border-color: #202020;\n color: #202020;\n}\n\n.index-module--fTcws {\n float: left;\n}\n.index-module--kWTPM .index-module--fTcws {\n padding-left: 0.5em;\n}\n\n.index-module--GkVFm {\n margin: 0.5em 0;\n}\n\n.index-module--JygIB {\n background-repeat: no-repeat;\n background-position: center center;\n background-size: contain;\n width: 20px;\n height: 20px;\n}\n.index-module--nUotN {\n fill: var(--primaryColor);\n transition: fill 0.25s ease-out, color 0.25s ease-out;\n}\n\n.index-module--kWTPM:hover .index-module--nUotN {\n fill: black;\n}\n\n.index-module--b4Lgf {\n background-image: url("+x+");\n}\n.index-module--Y3R7R {\n background-image: url("+g+");\n}\n\n.index-module--aWiJp path {\n background-color: var(--primaryColor);\n}\n",""]);var m="index-module--BLUm6",p="index-module--HfQcx",v="index-module--zBXSm",f="index-module--JygIB",N="index-module--GkVFm",C="index-module--am5Wh",b="index-module--xqWc8",h="index-module--qJM2I",k="index-module--kWTPM",M="index-module--fTcws",I="index-module--nUotN",A="index-module--b4Lgf",w="index-module--Y3R7R";const y=u},61667:e=>{"use strict";e.exports=function(e,n){return n||(n={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),n.hash&&(e+=n.hash),/["'() \t\n]|(%20)/.test(e)||n.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},32889:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIHZpZXdCb3g9IjAgMCAzNDAwIDM0MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGgKICAgIGZpbGw9IndoaXRlIgogICAgdHJhbnNmb3JtPSJzY2FsZSgxLC0xKSB0cmFuc2xhdGUoNDUwLC0yNjAwKSIKICAgIHN0cm9rZVdpZHRoPSIxIgogICAgZD0iTTc4MyAyNTVsLTMyNSAzMjVsLTcwIDcwbC0zOTEgMzkxcS0xNCAxNSAtMTQgMzUuNXQxNCAzNS41bDMyNSAzMjVxMTQgMTQgMzUgMTR0MzUgLTE0bDM5MSAtMzkxcTE1IC0xNSAzNS41IC0xNXQzNS41IDE1bDEwNDkgMTA0OXExNSAxNSAzNS41IDE1dDM1LjUgLTE1bDMyNyAtMzIycTE1IC0xNSAxNSAtMzVxMCAtMjEgLTE1IC0zNWwtMTQ0NyAtMTQ0OHEtMTUgLTE0IC0zNS41IC0xNHQtMzUuNSAxNHoiCiAgICAgLz4KPC9zdmc+"},17195:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIHZpZXdCb3g9IjAgMCAzNDAwIDM0MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGgKICAgIGZpbGw9IndoaXRlIgogICAgdHJhbnNmb3JtPSJzY2FsZSgxLC0xKSB0cmFuc2xhdGUoNDUwLC0yNjAwKSIKICAgIHN0cm9rZVdpZHRoPSIxIgpkPSJNOTIxIDg5cS00MyAtNTQgLTc1IC01NHEtMjIgMCAtMzQgMjUuNXQtMTIgNzIuNXY3NjdoLTcwOHEtOTEgMCAtOTEgMzFxMCAyNiA2MyA2NWwyMDYzIDEyNzhxNDIgMjYgNzkgMjZxNDIgMCA2OCAtMzJ0MjYgLTg4di0xODAwcTAgLTU3IC0yNi41IC04OS41dC02OS41IC0zMi41cS0zNyAwIC03OCAyNWwtNzEyIDQyNXpNMTAwMCA0ODBsMTE4NiAxNzAwbC0xMTg2IC0xMzAwdi00MDB6Ii8+Cjwvc3ZnPg=="},65515:(e,n)=>{var t;!function(){"use strict";var a={}.hasOwnProperty;function classNames(){for(var e="",n=0;n<arguments.length;n++){var t=arguments[n];t&&(e=appendClass(e,parseValue(t)))}return e}function parseValue(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return classNames.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var n="";for(var t in e)a.call(e,t)&&e[t]&&(n=appendClass(n,t));return n}function appendClass(e,n){return n?e?e+" "+n:e+n:e}e.exports?(classNames.default=classNames,e.exports=classNames):void 0===(t=function(){return classNames}.apply(n,[]))||(e.exports=t)}()}}]);
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 7830.diva-web-planner-react.umd.min.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[7830],{56617:(e,n,i)=>{i.r(n),i.d(n,{default:()=>K});var t=i(84658),d=i(34988),o=i(50747),l=i.n(o),r=i(65515),u=i.n(r),x=i(9420),a=i(87363),c=i(88683),p=i(32919),s=i(93379),m=i.n(s),b=i(7795),C=i.n(b),h=i(90569),y=i.n(h),v=i(3565),k=i.n(v),g=i(19216),f=i.n(g),O=i(44589),N=i.n(O),E=i(56052),B={};B.styleTagTransform=N(),B.setAttributes=k(),B.insert=y().bind(null,"head"),B.domAPI=C(),B.insertStyleElement=f();m()(E.ZP,B);E.ZP&&E.ZP.locals&&E.ZP.locals;var H=i(47514),X=(0,c.getLogger)("Planner","BasketActionSerious");const K=(0,x.Pi)((function BasketActionSerious(e){var n=e.saveIsDisabled,i=e.sendEmailIsDisabled,o=e.onSave,r=(0,p.NP)(),x=(0,c.useTranslation)().t,s=(0,a.useState)(!1),m=(0,d.Z)(s,2),b=m[0],C=m[1],h=(0,c.useDivaCore)().actions,y=h.userHasPermission,v=h.openSnackBar,k=function(){var e=(0,t.Z)(l().mark((function _callee(e){var t,d,u,a;return l().wrap((function _callee$(l){for(;;)switch(l.prev=l.next){case 0:l.t0=e,l.next="email"===l.t0?3:"save"===l.t0?8:13;break;case 3:if(n||i){l.next=7;break}return o(),l.next=7,r.actionButtonState.onClickAddToBasket("onSendEmail");case 7:return l.abrupt("break",13);case 8:if(n){l.next=12;break}return o(),l.next=12,r.actionButtonState.onClickAddToBasket();case 12:return l.abrupt("break",13);case 13:if(!r.getViewConfig().showPdfQR){l.next=22;break}if("boolean"!=typeof r.getViewConfig().showPdfQR){l.next=18;break}r.divaWebPlanner.getBasket().PDFDocumentURL?v({type:"big",qrCode:r.divaWebPlanner.getBasket().PDFDocumentURL,message:x("basket.checkout.pdfqr"),autoHideDuration:null!==(t=r.getViewConfig().pdfQRAutoHideDuration)&&void 0!==t?t:12e4,clickable:!0}):X.warn("Basket is missing a pdf, no QR-Code displayed"),l.next=22;break;case 18:return l.next=20,null===(d=r.divaWebPlanner.actSet())||void 0===d?void 0:d.api.createBasketReport(r.divaWebPlanner.getBasket(),r.getViewConfig().showPdfQR,r.getViewConfig().savePdfQR);case 20:(u=l.sent)?v({type:"big",qrCode:u,message:x("basket.checkout.pdfqr"),autoHideDuration:null!==(a=r.getViewConfig().pdfQRAutoHideDuration)&&void 0!==a?a:12e4,clickable:!0}):X.warn("Could not generate PDF, no QR-Code displayed");case 22:case"end":return l.stop()}}),_callee)})));return function onClickSave(n){return e.apply(this,arguments)}}();return(0,H.jsxs)("div",{className:E.nC,children:[(0,H.jsxs)("div",{className:u()(E.LI,E.SH,n?E.jO:void 0),onClick:function onClick(){n||C(!b)},children:[(0,H.jsx)("div",{className:u()(E.O7,E.qv,E.Nd)}),(0,H.jsxs)("div",{className:u()(E.O7),children:[" ",x("configurator.ADD_TO_BASKET")]}),(0,H.jsxs)("div",{className:u()(b?E.bA:void 0,E.v),children:[(0,H.jsxs)("div",{className:E.$Q,onClick:function onClick(){return k("save")},id:"wcConfigurator-action-tobasket",children:[(0,H.jsx)("div",{className:u()(E.O7,E.qv,E.Nd)}),(0,H.jsxs)("div",{className:u()(E.O7),children:[" ",x("configurator.ADD_TO_BASKET")]})]}),(0,H.jsxs)("div",{className:u()(E.$Q,i?E.jO:void 0),onClick:function onClick(){return k("email")},children:[(0,H.jsx)("div",{className:u()(E.O7,E.qv,E.hZ)}),(0,H.jsxs)("div",{className:u()(E.O7),children:[" ",x("configurator.SendToClient")]})]})]})]}),(0,H.jsxs)("div",{onClick:function onClickReset(){var e;null===(e=r.actions)||void 0===e||e.openModal({title:x("modals.reset"),accept:!0,reject:!0,text:x("modals.are_you_sure_to_reset"),callback:function callback(e){e&&r.productState.onClickReset()}})},className:u()(E.LI,E.nN),children:[(0,H.jsx)("div",{className:u()(E.O7,E.qv),children:(0,H.jsx)("svg",{width:"26",height:"22",viewBox:"0 0 3400 3400",xmlns:"http://www.w3.org/2000/svg",children:(0,H.jsx)("path",{className:E.e2,transform:"scale(1,-1) translate(450,-2600)",strokeWidth:"1",d:"M935 2061l-114 277q135 45 279 57v-300q-85 -9 -165 -34zM1435 2069q-71 19 -135 26v300q131 -11 251 -48zM615 1884l-211 212q119 105 260 176l114 -276q-87 -47 -163 -112zM1737 1921q-43 32 -89 59l115 279q99 -53 187 -125zM2007 -3l-148 204l-6 -4 q-146 -95 -321 -145t-332 -51q-172 0 -331.5 43t-291 120.5t-240 188t-182.5 242.5t-114.5 287t-40.5 318q0 225 80 429.5t224 367.5l212 -212q-103 -120 -159.5 -270t-56.5 -314q0 -123 32 -239.5t90 -215t140.5 -181.5t181.5 -141t216 -90.5t240 -31.5q146 0 256.5 34 t226.5 109l-151 212q-8 11 -8 20q0 20 29 19h683q17 0 27.5 -10t10.5 -25q0 -6 -3 -13l-220 -644q-7 -22 -22 -22q-12 0 -22 15zM1964 1673q-20 32 -43 64l213 213q61 -75 109 -161zM2085 1400q-4 0 -10 27l279 126q4 -14 8.5 -35.5t8 -41t6.5 -37.5t6 -28.5t5 -10.5h-303z "})})}),(0,H.jsxs)("div",{className:u()(E.O7),children:[" ",x("configurator.ConfigReset")]})]}),y("favorites_lueck")&&(0,H.jsxs)("div",{onClick:function onClickFavorites(){var e,n;null===(e=r.actions)||void 0===e||e.openModal({title:x("modals.favorite"),accept:!0,reject:!0,text:x("modals.are_you_sure_favorite"),callback:(n=(0,t.Z)(l().mark((function _callee2(e){var n;return l().wrap((function _callee2$(i){for(;;)switch(i.prev=i.next){case 0:if(!e){i.next=5;break}return o(),i.next=4,r.actionButtonState.onClickAddToBasket("onSaveProduct");case 4:null===(n=r.actions)||void 0===n||n.openModal({title:x("modals.favorite"),accept:!0,text:x("modals.favorites_saved")});case 5:case"end":return i.stop()}}),_callee2)}))),function callback(e){return n.apply(this,arguments)})})},className:u()(E.LI,E.nN),children:[(0,H.jsx)("div",{className:u()(E.O7,E.qv),children:(0,H.jsx)("svg",{width:"26",height:"22",viewBox:"0 0 3400 3400",xmlns:"http://www.w3.org/2000/svg",children:(0,H.jsx)("path",{className:E.e2,transform:"scale(1,-1) translate(450,-2600)",strokeWidth:"1",d:"M2491 1500l-765 -541l291 -885l-768 551l-764 -554l291 883l-776 546h958l294 900h3l292 -900h944zM484 68h-3l4 3z"})})}),(0,H.jsxs)("div",{className:u()(E.O7),children:[" ",x("configurator.Favorites")]})]})]})}))},27830:(e,n,i)=>{i.r(n),i.d(n,{default:()=>I});var t=i(80248),d=i(34988),o=i(65515),l=i.n(o),r=i(69639),u=i(87363),x=i(10304),a=i(56617),c=i(32919),p=i(93379),s=i.n(p),m=i(7795),b=i.n(m),C=i(90569),h=i.n(C),y=i(3565),v=i.n(y),k=i(19216),g=i.n(k),f=i(44589),O=i.n(f),N=i(69370),E={};E.styleTagTransform=O(),E.setAttributes=v(),E.insert=h().bind(null,"head"),E.domAPI=b(),E.insertStyleElement=g();s()(N.ZP,E);N.ZP&&N.ZP.locals&&N.ZP.locals;var B=i(9420),H=i(88683),X=i(47514);function ownKeys(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.push.apply(i,t)}return i}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(i),!0).forEach((function(n){(0,t.Z)(e,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))}))}return e}var K=["configurationName","buildService","sellingAdvisor","toProduct","specInformations","firstName","lastName","email","phoneNumber","street","nr","postalCode","location","country"],j=["simple","simple","email","phoneNumber","simple","simple","simple","simple"];const I=(0,B.Pi)((function CheckOutForm(e){var n,i,o,p,s,m,b,C,h,y,v,k,g,f,O,E,B,I,S,w,A,D,M,P,T,z,_,Z,q,R,W,L,Q=(0,c.NP)(),U=Q.divaWebPlanner.getBasketData(),V=(0,u.useState)(!1),G=(0,d.Z)(V,2),J=G[0],F=G[1],$=(0,u.useState)(!1),Y=(0,d.Z)($,2),ee=Y[0],ne=Y[1],ie=(0,u.useState)(""),te=(0,d.Z)(ie,2),de=te[0],oe=te[1];function regexCheck(e,n){switch(e){case"simple":return n.length>0;case"email":var i=H.DivaUtils.validateEmail(n);return ne(i),i;case"phoneNumber":return!!(/^[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\s\./0-9]*$/.test(n)&&n.length>0);case"number":return!!(/^[0-9]*$/.test(n)&&n.length>0);case"letters":return!!(/^[\u00C0-\u017Fa-zA-Z'][\u00C0-\u017Fa-zA-Z-' ]+[\u00C0-\u017Fa-zA-Z']?$/.test(n)&&n.length>0)}return!1}function InputCheck(e,n,i){ae(_objectSpread(_objectSpread({},xe),{},(0,t.Z)({},e,n))),me(_objectSpread(_objectSpread({},se),{},"buildService"!==e?(0,t.Z)({},e,regexCheck(i,n)):(0,t.Z)({},e,!0)))}var le=(0,H.useTranslation)().t;(0,u.useEffect)((function(){var e,n=null===(e=Q.divaWebPlanner)||void 0===e?void 0:e.getDivaArticles();if(n){var i=!1,t="",d="";for(var o in n){var l,r,u,x,a=n[o];if(t||(t=null!==(l=null===(r=a.getArticleOptionState("OPTBR"))||void 0===r?void 0:r.name)&&void 0!==l?l:""),d||(d=null!==(u=null===(x=a.getArticleOptionState("OPTLAE"))||void 0===x?void 0:x.name)&&void 0!==u?u:""),a.partlistArticles)for(var c in a.partlistArticles){var p;("Kopfteil"==a.partlistArticles[c].tabGroupOption||null!==(p=a.partlistArticles[c].tabGroupOption)&&void 0!==p&&p.includes("BE_KT"))&&(i=a.partlistArticles[c].name+" - ")}}oe((i||"")+t.replace(" cm","")+" X "+d)}}),[Q.settingsState.configChanged]);var re=(0,u.useState)({configurationName:null!==(n=U.ProductSetName)&&void 0!==n?n:"",buildService:null!==(i=null===(o=U.Client)||void 0===o?void 0:o.delivery)&&void 0!==i?i:!(null===(p=U.OrderSets)||void 0===p||!p.find((function(e){return e.OrderLines.find((function(e){var n;return!("JA"!=(null===(n=e.VariantBasketDatas)||void 0===n||null===(n=n.find((function(e){return"SERVICE"===e.OPT})))||void 0===n?void 0:n.OPV))}))}))),sellingAdvisor:null!==(s=U.Salesperson)&&void 0!==s?s:"".concat((null===(m=Q.configState.currentUser)||void 0===m?void 0:m.name)||""," ").concat((null===(b=Q.configState.currentUser)||void 0===b?void 0:b.familyName)||"").trim(),toProduct:null!==(C=U.ClientRemark)&&void 0!==C?C:"",firstName:null!==(h=null===(y=U.Client)||void 0===y?void 0:y.firstName)&&void 0!==h?h:"",preferredContact:null!==(v=null===(k=U.Client)||void 0===k?void 0:k.preferredContact)&&void 0!==v?v:"email",lastName:null!==(g=null===(f=U.Client)||void 0===f?void 0:f.lastName)&&void 0!==g?g:"",email:null!==(O=null===(E=U.Client)||void 0===E?void 0:E.email)&&void 0!==O?O:"",phoneNumber:null!==(B=null===(I=U.Client)||void 0===I?void 0:I.phone)&&void 0!==B?B:"",street:null!==(S=null===(w=U.Client)||void 0===w?void 0:w.address)&&void 0!==S?S:"",nr:null!==(A=null===(D=U.Client)||void 0===D?void 0:D.addressNr)&&void 0!==A?A:"",postalCode:null!==(M=null===(P=U.Client)||void 0===P?void 0:P.cap)&&void 0!==M?M:"",location:null!==(T=null===(z=U.Client)||void 0===z?void 0:z.city)&&void 0!==T?T:"",country:null!==(_=null===(Z=U.Client)||void 0===Z?void 0:Z.countryCode)&&void 0!==_?_:"Deutschland",dateofdelivery:null!==(q=null===(R=U.Client)||void 0===R||null===(R=R.clientPreferedDeliveryDate)||void 0===R?void 0:R.toString())&&void 0!==q?q:"",specInformations:null!==(W=null===(L=U.Client)||void 0===L?void 0:L.deliveryNotes)&&void 0!==W?W:""}),ue=(0,d.Z)(re,2),xe=ue[0],ae=ue[1],ce=(0,u.useState)((function(){for(var e=[!1,!1,!1,!1,!1,!1,!1,!1],n=["firstName","lastName","email","phoneNumber","street","nr","postalCode","location"],i=0;i<e.length;i++)e[i]=regexCheck(j[i],xe[n[i]]);return{firstName:e[0],lastName:e[1],email:e[2],phoneNumber:e[3],street:e[4],nr:e[5],postalCode:e[6],location:e[7]}})),pe=(0,d.Z)(ce,2),se=pe[0],me=pe[1];return(0,u.useEffect)((function(){"true"===xe.buildService.toString()?Object.values(se).some((function(e){return!1===e}))?F(!1):F(!0):se.firstName&&se.lastName?F(!0):F(!1)})),(0,X.jsxs)("div",{className:N.gN,children:[(0,X.jsxs)("div",{className:N.rr,children:[(0,X.jsxs)("div",{children:[(0,X.jsx)("a",{className:N.Se,children:le("archive.header.productsetname")}),(0,X.jsx)("input",{placeholder:de,className:l()(N.x8),onChange:function onChange(e){return InputCheck(K[0],e.target.value,"simple")},value:xe.configurationName}),(0,X.jsx)("a",{className:N.Se,children:le("checkout.build_service_title")}),(0,X.jsxs)("div",{className:l()(N.ZN,N._6),children:[(0,X.jsx)(r.default,{onChange:function onChange(e){var n=!xe.buildService;Q.paletteViewHandler.changeOnCheckoutConfig({OPTSERVICE:"OPV"+(n?"JA":"NEIN")}),ae(_objectSpread(_objectSpread({},xe),{},{buildService:n}))},state:xe.buildService,on:le("ja"),off:le("nein")}),(0,X.jsx)("a",{className:N.e5,children:le("checkout.build_service_text")})]}),(0,X.jsx)("a",{className:l()(N.Se),children:le("checkout.additional_info")}),(0,X.jsxs)("div",{className:N.jw,children:[(0,X.jsx)("a",{children:le("checkout.selling_advisor")}),(0,X.jsx)("input",{onChange:function onChange(e){return InputCheck(K[2],e.target.value,"simple")},value:xe.sellingAdvisor})]}),(0,X.jsx)("a",{children:le("checkout.to_product")}),(0,X.jsx)("textarea",{onChange:function onChange(e){return InputCheck(K[3],e.target.value,"simple")},value:xe.toProduct}),xe.buildService&&(0,X.jsxs)("div",{children:[(0,X.jsx)("a",{children:le("checkout.spec_informations")}),(0,X.jsx)("textarea",{onChange:function onChange(e){return InputCheck(K[4],e.target.value,"simple")},value:xe.specInformations})]})]}),(0,X.jsxs)("div",{children:[(0,X.jsx)("a",{className:N.Se,children:le("checkout.client_info")}),(0,X.jsx)("div",{className:N.di}),(0,X.jsxs)("div",{className:l()(N._6,N.jw),children:[(0,X.jsxs)("div",{className:N.di,children:[(0,X.jsxs)("a",{children:[le("basket.clientData.form.name"),"*"]}),(0,X.jsx)("input",{onChange:function onChange(e){return InputCheck(K[5],e.target.value,j[0])},value:xe.firstName}),(0,X.jsx)("a",{className:l()(N.X_,se.firstName?N.Cp:N.$Z),children:" "+le("checkout.required")})]}),(0,X.jsxs)("div",{className:N.di,children:[(0,X.jsxs)("a",{children:[le("basket.clientData.form.surname"),"*"]}),(0,X.jsx)("input",{onChange:function onChange(e){return InputCheck(K[6],e.target.value,j[1])},value:xe.lastName}),(0,X.jsx)("a",{className:l()(N.X_,se.lastName?N.Cp:N.$Z),children:" "+le("checkout.required")})]})]}),(0,X.jsxs)("div",{className:N.jw,children:[(0,X.jsxs)("a",{children:[le("basket.clientData.form.email"),xe.buildService?"*":""]}),(0,X.jsx)("input",{onChange:function onChange(e){return InputCheck(K[7],e.target.value,j[2])},value:xe.email}),(0,X.jsx)("a",{className:l()(N.X_,xe.buildService&&!se.email?N.$Z:N.Cp),children:" "+le("checkout.required")})]}),(0,X.jsxs)("div",{className:N.jw,children:[(0,X.jsxs)("a",{children:[le("basket.clientData.form.phone"),xe.buildService?"*":""]}),(0,X.jsx)("input",{onChange:function onChange(e){return InputCheck(K[8],e.target.value,j[3])},value:xe.phoneNumber}),(0,X.jsx)("a",{className:l()(N.X_,xe.buildService&&!se.phoneNumber?N.$Z:N.Cp),children:" "+le("checkout.required")})]}),xe.buildService&&(0,X.jsx)("a",{className:l()(N.Se,N.Iw),children:le("checkout.delivery_address")}),(0,X.jsxs)("div",{className:l()(N._6,N.jw),children:[(0,X.jsxs)("div",{className:N.gT,children:[(0,X.jsxs)("a",{children:[le("basket.clientData.form.address"),xe.buildService?"*":""]}),(0,X.jsx)("input",{className:N.gT,onChange:function onChange(e){return InputCheck(K[9],e.target.value,j[4])},value:xe.street}),(0,X.jsx)("a",{className:l()(N.X_,xe.buildService&&!se.street?N.$Z:N.Cp),children:" "+le("checkout.required")})]}),(0,X.jsxs)("div",{className:N.nr,children:[(0,X.jsxs)("a",{children:[le("basket.clientData.form.addressNr"),xe.buildService?"*":""]}),(0,X.jsx)("input",{className:N.nr,onChange:function onChange(e){return InputCheck(K[10],e.target.value,j[5])},value:xe.nr}),(0,X.jsx)("a",{className:l()(N.X_,xe.buildService&&!se.nr?N.$Z:N.Cp),children:" "+le("checkout.required")})]})]}),(0,X.jsxs)("div",{className:l()(N._6,N.jw),children:[(0,X.jsxs)("div",{className:N.di,children:[(0,X.jsxs)("a",{children:[le("basket.clientData.form.cap"),xe.buildService?"*":""]}),(0,X.jsx)("input",{onChange:function onChange(e){return InputCheck(K[11],e.target.value,j[6])},value:xe.postalCode}),(0,X.jsx)("a",{className:l()(N.X_,xe.buildService&&!se.postalCode?N.$Z:N.Cp),children:" "+le("checkout.required")})]}),(0,X.jsxs)("div",{className:N.di,children:[(0,X.jsxs)("a",{children:[le("basket.clientData.form.city"),xe.buildService?"*":""]}),(0,X.jsx)("input",{onChange:function onChange(e){return InputCheck(K[12],e.target.value,j[7])},value:xe.location}),(0,X.jsx)("a",{className:l()(N.X_,xe.buildService&&!se.location?N.$Z:N.Cp),children:" "+le("checkout.required")})]})]}),(0,X.jsxs)("a",{children:[le("basket.clientData.form.countryCode"),xe.buildService?"*":""]}),(0,X.jsx)(x.Z,{menuClassName:N.Kh,value:xe.country,options:["Deutschland","Österreich","Schweiz","Luxemburg","Belgien","Niederlande","Tschechien","Kasachstan"],onChange:function onChange(e){return InputCheck(K[13],e.value,"simple")}})]})]}),(0,X.jsx)("div",{className:N.IH,children:(0,X.jsx)(a.default,{onSave:function saveValues(e){var n;U.Client||(U.Client={}),U.ProductSetName=""!==xe.configurationName?xe.configurationName:de,U.SetName=de,xe&&(U.Client.firstName=xe.firstName,U.Client.preferredContact=xe.preferredContact,U.Client.lastName=xe.lastName,U.Client.email=xe.email,U.Client.phone=xe.phoneNumber,U.Client.address=xe.street,U.Client.addressNr=xe.nr,U.Client.cap=xe.postalCode,U.Client.city=xe.location,U.Client.countryCode=xe.country,U.Client.clientPreferedDeliveryDate=xe.dateofdelivery?new Date(xe.dateofdelivery):void 0,U.Client.deliveryNotes=xe.specInformations,U.Client.delivery=xe.buildService),U.ClientRemark=xe.toProduct,U.SalespersonOverwrite=xe.sellingAdvisor,U.SalespersonEmail=(null===(n=Q.configState.currentUser)||void 0===n?void 0:n.mainEmail)||"",e&&(U.SendIWOBasket=!0,U.OrderStatus="SEND")},saveIsDisabled:!J,sendEmailIsDisabled:!ee})})]})}))},56052:(e,n,i)=>{i.d(n,{$Q:()=>y,LI:()=>v,Nd:()=>E,O7:()=>O,SH:()=>k,ZP:()=>H,bA:()=>C,e2:()=>N,hZ:()=>B,jO:()=>g,nC:()=>m,nN:()=>f,qv:()=>h,v:()=>b});var t=i(8081),d=i.n(t),o=i(23645),l=i.n(o),r=i(61667),u=i.n(r),x=new URL(i(32889),i.b),a=new URL(i(17195),i.b),c=l()(d()),p=u()(x),s=u()(a);c.push([e.id,".index-module--BLUm6 {\n display: flex;\n flex-direction: row;\n margin-left: 16px;\n}\n\n.index-module--HfQcx {\n border: 1px solid #cacaca;\n border-radius: 4px;\n position: absolute;\n bottom: 105%;\n left: 0;\n right: -5px;\n padding: 0.84em 1em;\n color: #000;\n color: initial;\n display: none;\n flex-direction: column;\n}\n\n.index-module--HfQcx.index-module--zBXSm {\n display: flex;\n}\n\n.index-module--HfQcx .index-module--JygIB {\n filter: brightness(0.1);\n}\n.index-module--HfQcx .index-module--GkVFm:hover {\n color: var(--primaryColor);\n}\n\n.index-module--am5Wh {\n position: relative;\n font-weight: 100;\n border-radius: 32px;\n transition: background-color 0.25s ease-out, color 0.25s ease-out;\n font-size: 0.9rem;\n line-height: 18px;\n text-align: center;\n cursor: pointer;\n box-sizing: border-box;\n display: inline-block;\n vertical-align: middle;\n margin: 0 0.5rem 1rem 0;\n padding: 0.85em 1em;\n -webkit-appearance: none;\n border: 1px solid transparent;\n}\n\n.index-module--xqWc8 {\n background-color: var(--primaryColor);\n color: #fefefe;\n}\n\n.index-module--qJM2I {\n opacity: 0.25;\n cursor: not-allowed;\n}\n\n.index-module--xqWc8:hover {\n filter: brightness(0.9);\n}\n\n.index-module--kWTPM {\n background-color: transparent;\n border-color: var(--primaryColor);\n color: var(--primaryColor);\n padding: 0.85em 1em 0.85em 0.25em;\n}\n\n.index-module--kWTPM:hover {\n fill: #202020 !important;\n}\n\n.index-module--kWTPM:hover {\n border-color: #202020;\n color: #202020;\n}\n\n.index-module--fTcws {\n float: left;\n}\n.index-module--kWTPM .index-module--fTcws {\n padding-left: 0.5em;\n}\n\n.index-module--GkVFm {\n margin: 0.5em 0;\n}\n\n.index-module--JygIB {\n background-repeat: no-repeat;\n background-position: center center;\n background-size: contain;\n width: 20px;\n height: 20px;\n}\n.index-module--nUotN {\n fill: var(--primaryColor);\n transition: fill 0.25s ease-out, color 0.25s ease-out;\n}\n\n.index-module--kWTPM:hover .index-module--nUotN {\n fill: black;\n}\n\n.index-module--b4Lgf {\n background-image: url("+p+");\n}\n.index-module--Y3R7R {\n background-image: url("+s+");\n}\n\n.index-module--aWiJp path {\n background-color: var(--primaryColor);\n}\n",""]);var m="index-module--BLUm6",b="index-module--HfQcx",C="index-module--zBXSm",h="index-module--JygIB",y="index-module--GkVFm",v="index-module--am5Wh",k="index-module--xqWc8",g="index-module--qJM2I",f="index-module--kWTPM",O="index-module--fTcws",N="index-module--nUotN",E="index-module--b4Lgf",B="index-module--Y3R7R";const H=c},69370:(e,n,i)=>{i.d(n,{$Z:()=>u,Cp:()=>x,IH:()=>m,Iw:()=>O,Kh:()=>g,Se:()=>a,X_:()=>b,ZN:()=>y,ZP:()=>N,_6:()=>p,di:()=>s,e5:()=>f,gN:()=>r,gT:()=>v,jw:()=>h,nr:()=>k,rr:()=>c,x8:()=>C});var t=i(8081),d=i.n(t),o=i(23645),l=i.n(o)()(d());l.push([e.id,"/* form */\n.index-module--r0bx6 {\n top: 100%;\n position: absolute;\n width: 100%;\n}\n.index-module--OE81C {\n display: flex !important;\n}\n.index-module--JzaPK {\n display: none !important;\n}\n\n.index-module--r0bx6 a {\n display: flex;\n color: black;\n cursor: default;\n}\n.index-module--r0bx6 a:hover {\n display: flex;\n color: black;\n cursor: default;\n}\n.index-module--r0bx6 .index-module--_1nxR {\n color: var(--primaryColor);\n font-size: 150%;\n font-weight: 300;\n padding-bottom: 3.7%;\n padding-top: 4%;\n text-align: left;\n}\n.index-module--r0bx6 .index-module--_1nxR:hover {\n color: var(--primaryColor);\n font-size: 150%;\n font-weight: 300;\n padding-bottom: 3.7%;\n padding-top: 4%;\n text-align: left;\n}\n.index-module--NIxyW {\n display: flex;\n gap: 50px;\n padding: 0 50px;\n}\n.index-module--NIxyW > * {\n flex-basis: 100%;\n}\n\n.index-module--Xs4Gf {\n display: flex;\n flex-direction: row;\n align-items: top;\n flex-basis: 100%;\n gap: 3%;\n}\n.index-module--rYbV7 {\n display: flex;\n flex-direction: column;\n align-items: top;\n flex-basis: 100%;\n}\n.index-module--yN7Qk {\n margin-top: 7%;\n margin-left: 1%;\n}\n.index-module--NIxyW .index-module--Kj_nd {\n color: var(--primaryColor);\n font-size: 80%;\n padding-bottom: 2%;\n padding-right: 38%;\n}\n.index-module--NIxyW .index-module--Kj_nd:hover {\n color: var(--primaryColor);\n font-size: 80%;\n padding-bottom: 2%;\n padding-right: 38%;\n}\n.index-module--I5O4a {\n margin-top: 20px;\n}\n.index-module--r0bx6 input[type='checkbox'],.index-module--r0bx6 input[type='Checkbox'],.index-module--r0bx6 input[type='cHeckbox'],.index-module--r0bx6 input[type='CHeckbox'],.index-module--r0bx6 input[type='chEckbox'],.index-module--r0bx6 input[type='ChEckbox'],.index-module--r0bx6 input[type='cHEckbox'],.index-module--r0bx6 input[type='CHEckbox'],.index-module--r0bx6 input[type='cheCkbox'],.index-module--r0bx6 input[type='CheCkbox'],.index-module--r0bx6 input[type='cHeCkbox'],.index-module--r0bx6 input[type='CHeCkbox'],.index-module--r0bx6 input[type='chECkbox'],.index-module--r0bx6 input[type='ChECkbox'],.index-module--r0bx6 input[type='cHECkbox'],.index-module--r0bx6 input[type='CHECkbox'],.index-module--r0bx6 input[type='checKbox'],.index-module--r0bx6 input[type='ChecKbox'],.index-module--r0bx6 input[type='cHecKbox'],.index-module--r0bx6 input[type='CHecKbox'],.index-module--r0bx6 input[type='chEcKbox'],.index-module--r0bx6 input[type='ChEcKbox'],.index-module--r0bx6 input[type='cHEcKbox'],.index-module--r0bx6 input[type='CHEcKbox'],.index-module--r0bx6 input[type='cheCKbox'],.index-module--r0bx6 input[type='CheCKbox'],.index-module--r0bx6 input[type='cHeCKbox'],.index-module--r0bx6 input[type='CHeCKbox'],.index-module--r0bx6 input[type='chECKbox'],.index-module--r0bx6 input[type='ChECKbox'],.index-module--r0bx6 input[type='cHECKbox'],.index-module--r0bx6 input[type='CHECKbox'],.index-module--r0bx6 input[type='checkBox'],.index-module--r0bx6 input[type='CheckBox'],.index-module--r0bx6 input[type='cHeckBox'],.index-module--r0bx6 input[type='CHeckBox'],.index-module--r0bx6 input[type='chEckBox'],.index-module--r0bx6 input[type='ChEckBox'],.index-module--r0bx6 input[type='cHEckBox'],.index-module--r0bx6 input[type='CHEckBox'],.index-module--r0bx6 input[type='cheCkBox'],.index-module--r0bx6 input[type='CheCkBox'],.index-module--r0bx6 input[type='cHeCkBox'],.index-module--r0bx6 input[type='CHeCkBox'],.index-module--r0bx6 input[type='chECkBox'],.index-module--r0bx6 input[type='ChECkBox'],.index-module--r0bx6 input[type='cHECkBox'],.index-module--r0bx6 input[type='CHECkBox'],.index-module--r0bx6 input[type='checKBox'],.index-module--r0bx6 input[type='ChecKBox'],.index-module--r0bx6 input[type='cHecKBox'],.index-module--r0bx6 input[type='CHecKBox'],.index-module--r0bx6 input[type='chEcKBox'],.index-module--r0bx6 input[type='ChEcKBox'],.index-module--r0bx6 input[type='cHEcKBox'],.index-module--r0bx6 input[type='CHEcKBox'],.index-module--r0bx6 input[type='cheCKBox'],.index-module--r0bx6 input[type='CheCKBox'],.index-module--r0bx6 input[type='cHeCKBox'],.index-module--r0bx6 input[type='CHeCKBox'],.index-module--r0bx6 input[type='chECKBox'],.index-module--r0bx6 input[type='ChECKBox'],.index-module--r0bx6 input[type='cHECKBox'],.index-module--r0bx6 input[type='CHECKBox'],.index-module--r0bx6 input[type='checkbOx'],.index-module--r0bx6 input[type='CheckbOx'],.index-module--r0bx6 input[type='cHeckbOx'],.index-module--r0bx6 input[type='CHeckbOx'],.index-module--r0bx6 input[type='chEckbOx'],.index-module--r0bx6 input[type='ChEckbOx'],.index-module--r0bx6 input[type='cHEckbOx'],.index-module--r0bx6 input[type='CHEckbOx'],.index-module--r0bx6 input[type='cheCkbOx'],.index-module--r0bx6 input[type='CheCkbOx'],.index-module--r0bx6 input[type='cHeCkbOx'],.index-module--r0bx6 input[type='CHeCkbOx'],.index-module--r0bx6 input[type='chECkbOx'],.index-module--r0bx6 input[type='ChECkbOx'],.index-module--r0bx6 input[type='cHECkbOx'],.index-module--r0bx6 input[type='CHECkbOx'],.index-module--r0bx6 input[type='checKbOx'],.index-module--r0bx6 input[type='ChecKbOx'],.index-module--r0bx6 input[type='cHecKbOx'],.index-module--r0bx6 input[type='CHecKbOx'],.index-module--r0bx6 input[type='chEcKbOx'],.index-module--r0bx6 input[type='ChEcKbOx'],.index-module--r0bx6 input[type='cHEcKbOx'],.index-module--r0bx6 input[type='CHEcKbOx'],.index-module--r0bx6 input[type='cheCKbOx'],.index-module--r0bx6 input[type='CheCKbOx'],.index-module--r0bx6 input[type='cHeCKbOx'],.index-module--r0bx6 input[type='CHeCKbOx'],.index-module--r0bx6 input[type='chECKbOx'],.index-module--r0bx6 input[type='ChECKbOx'],.index-module--r0bx6 input[type='cHECKbOx'],.index-module--r0bx6 input[type='CHECKbOx'],.index-module--r0bx6 input[type='checkBOx'],.index-module--r0bx6 input[type='CheckBOx'],.index-module--r0bx6 input[type='cHeckBOx'],.index-module--r0bx6 input[type='CHeckBOx'],.index-module--r0bx6 input[type='chEckBOx'],.index-module--r0bx6 input[type='ChEckBOx'],.index-module--r0bx6 input[type='cHEckBOx'],.index-module--r0bx6 input[type='CHEckBOx'],.index-module--r0bx6 input[type='cheCkBOx'],.index-module--r0bx6 input[type='CheCkBOx'],.index-module--r0bx6 input[type='cHeCkBOx'],.index-module--r0bx6 input[type='CHeCkBOx'],.index-module--r0bx6 input[type='chECkBOx'],.index-module--r0bx6 input[type='ChECkBOx'],.index-module--r0bx6 input[type='cHECkBOx'],.index-module--r0bx6 input[type='CHECkBOx'],.index-module--r0bx6 input[type='checKBOx'],.index-module--r0bx6 input[type='ChecKBOx'],.index-module--r0bx6 input[type='cHecKBOx'],.index-module--r0bx6 input[type='CHecKBOx'],.index-module--r0bx6 input[type='chEcKBOx'],.index-module--r0bx6 input[type='ChEcKBOx'],.index-module--r0bx6 input[type='cHEcKBOx'],.index-module--r0bx6 input[type='CHEcKBOx'],.index-module--r0bx6 input[type='cheCKBOx'],.index-module--r0bx6 input[type='CheCKBOx'],.index-module--r0bx6 input[type='cHeCKBOx'],.index-module--r0bx6 input[type='CHeCKBOx'],.index-module--r0bx6 input[type='chECKBOx'],.index-module--r0bx6 input[type='ChECKBOx'],.index-module--r0bx6 input[type='cHECKBOx'],.index-module--r0bx6 input[type='CHECKBOx'],.index-module--r0bx6 input[type='checkboX'],.index-module--r0bx6 input[type='CheckboX'],.index-module--r0bx6 input[type='cHeckboX'],.index-module--r0bx6 input[type='CHeckboX'],.index-module--r0bx6 input[type='chEckboX'],.index-module--r0bx6 input[type='ChEckboX'],.index-module--r0bx6 input[type='cHEckboX'],.index-module--r0bx6 input[type='CHEckboX'],.index-module--r0bx6 input[type='cheCkboX'],.index-module--r0bx6 input[type='CheCkboX'],.index-module--r0bx6 input[type='cHeCkboX'],.index-module--r0bx6 input[type='CHeCkboX'],.index-module--r0bx6 input[type='chECkboX'],.index-module--r0bx6 input[type='ChECkboX'],.index-module--r0bx6 input[type='cHECkboX'],.index-module--r0bx6 input[type='CHECkboX'],.index-module--r0bx6 input[type='checKboX'],.index-module--r0bx6 input[type='ChecKboX'],.index-module--r0bx6 input[type='cHecKboX'],.index-module--r0bx6 input[type='CHecKboX'],.index-module--r0bx6 input[type='chEcKboX'],.index-module--r0bx6 input[type='ChEcKboX'],.index-module--r0bx6 input[type='cHEcKboX'],.index-module--r0bx6 input[type='CHEcKboX'],.index-module--r0bx6 input[type='cheCKboX'],.index-module--r0bx6 input[type='CheCKboX'],.index-module--r0bx6 input[type='cHeCKboX'],.index-module--r0bx6 input[type='CHeCKboX'],.index-module--r0bx6 input[type='chECKboX'],.index-module--r0bx6 input[type='ChECKboX'],.index-module--r0bx6 input[type='cHECKboX'],.index-module--r0bx6 input[type='CHECKboX'],.index-module--r0bx6 input[type='checkBoX'],.index-module--r0bx6 input[type='CheckBoX'],.index-module--r0bx6 input[type='cHeckBoX'],.index-module--r0bx6 input[type='CHeckBoX'],.index-module--r0bx6 input[type='chEckBoX'],.index-module--r0bx6 input[type='ChEckBoX'],.index-module--r0bx6 input[type='cHEckBoX'],.index-module--r0bx6 input[type='CHEckBoX'],.index-module--r0bx6 input[type='cheCkBoX'],.index-module--r0bx6 input[type='CheCkBoX'],.index-module--r0bx6 input[type='cHeCkBoX'],.index-module--r0bx6 input[type='CHeCkBoX'],.index-module--r0bx6 input[type='chECkBoX'],.index-module--r0bx6 input[type='ChECkBoX'],.index-module--r0bx6 input[type='cHECkBoX'],.index-module--r0bx6 input[type='CHECkBoX'],.index-module--r0bx6 input[type='checKBoX'],.index-module--r0bx6 input[type='ChecKBoX'],.index-module--r0bx6 input[type='cHecKBoX'],.index-module--r0bx6 input[type='CHecKBoX'],.index-module--r0bx6 input[type='chEcKBoX'],.index-module--r0bx6 input[type='ChEcKBoX'],.index-module--r0bx6 input[type='cHEcKBoX'],.index-module--r0bx6 input[type='CHEcKBoX'],.index-module--r0bx6 input[type='cheCKBoX'],.index-module--r0bx6 input[type='CheCKBoX'],.index-module--r0bx6 input[type='cHeCKBoX'],.index-module--r0bx6 input[type='CHeCKBoX'],.index-module--r0bx6 input[type='chECKBoX'],.index-module--r0bx6 input[type='ChECKBoX'],.index-module--r0bx6 input[type='cHECKBoX'],.index-module--r0bx6 input[type='CHECKBoX'],.index-module--r0bx6 input[type='checkbOX'],.index-module--r0bx6 input[type='CheckbOX'],.index-module--r0bx6 input[type='cHeckbOX'],.index-module--r0bx6 input[type='CHeckbOX'],.index-module--r0bx6 input[type='chEckbOX'],.index-module--r0bx6 input[type='ChEckbOX'],.index-module--r0bx6 input[type='cHEckbOX'],.index-module--r0bx6 input[type='CHEckbOX'],.index-module--r0bx6 input[type='cheCkbOX'],.index-module--r0bx6 input[type='CheCkbOX'],.index-module--r0bx6 input[type='cHeCkbOX'],.index-module--r0bx6 input[type='CHeCkbOX'],.index-module--r0bx6 input[type='chECkbOX'],.index-module--r0bx6 input[type='ChECkbOX'],.index-module--r0bx6 input[type='cHECkbOX'],.index-module--r0bx6 input[type='CHECkbOX'],.index-module--r0bx6 input[type='checKbOX'],.index-module--r0bx6 input[type='ChecKbOX'],.index-module--r0bx6 input[type='cHecKbOX'],.index-module--r0bx6 input[type='CHecKbOX'],.index-module--r0bx6 input[type='chEcKbOX'],.index-module--r0bx6 input[type='ChEcKbOX'],.index-module--r0bx6 input[type='cHEcKbOX'],.index-module--r0bx6 input[type='CHEcKbOX'],.index-module--r0bx6 input[type='cheCKbOX'],.index-module--r0bx6 input[type='CheCKbOX'],.index-module--r0bx6 input[type='cHeCKbOX'],.index-module--r0bx6 input[type='CHeCKbOX'],.index-module--r0bx6 input[type='chECKbOX'],.index-module--r0bx6 input[type='ChECKbOX'],.index-module--r0bx6 input[type='cHECKbOX'],.index-module--r0bx6 input[type='CHECKbOX'],.index-module--r0bx6 input[type='checkBOX'],.index-module--r0bx6 input[type='CheckBOX'],.index-module--r0bx6 input[type='cHeckBOX'],.index-module--r0bx6 input[type='CHeckBOX'],.index-module--r0bx6 input[type='chEckBOX'],.index-module--r0bx6 input[type='ChEckBOX'],.index-module--r0bx6 input[type='cHEckBOX'],.index-module--r0bx6 input[type='CHEckBOX'],.index-module--r0bx6 input[type='cheCkBOX'],.index-module--r0bx6 input[type='CheCkBOX'],.index-module--r0bx6 input[type='cHeCkBOX'],.index-module--r0bx6 input[type='CHeCkBOX'],.index-module--r0bx6 input[type='chECkBOX'],.index-module--r0bx6 input[type='ChECkBOX'],.index-module--r0bx6 input[type='cHECkBOX'],.index-module--r0bx6 input[type='CHECkBOX'],.index-module--r0bx6 input[type='checKBOX'],.index-module--r0bx6 input[type='ChecKBOX'],.index-module--r0bx6 input[type='cHecKBOX'],.index-module--r0bx6 input[type='CHecKBOX'],.index-module--r0bx6 input[type='chEcKBOX'],.index-module--r0bx6 input[type='ChEcKBOX'],.index-module--r0bx6 input[type='cHEcKBOX'],.index-module--r0bx6 input[type='CHEcKBOX'],.index-module--r0bx6 input[type='cheCKBOX'],.index-module--r0bx6 input[type='CheCKBOX'],.index-module--r0bx6 input[type='cHeCKBOX'],.index-module--r0bx6 input[type='CHeCKBOX'],.index-module--r0bx6 input[type='chECKBOX'],.index-module--r0bx6 input[type='ChECKBOX'],.index-module--r0bx6 input[type='cHECKBOX'],.index-module--r0bx6 input[type='CHECKBOX'] {\n margin-bottom: 18px;\n}\n.index-module--YnLS3 {\n min-height: 86px;\n}\n.index-module--XXGGR {\n margin-top: 5px;\n}\n.index-module--NIxyW input,\n.index-module--NIxyW textarea {\n box-sizing: border-box !important;\n}\n.index-module--NIxyW input,\n.index-module--NIxyW textarea {\n height: 40px;\n width: 100%;\n display: block;\n box-sizing: border-box;\n padding: 0.5rem;\n border: 1px solid #cacaca;\n border-radius: 4px;\n background-color: #fefefe;\n box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);\n font-family: inherit;\n font-size: 1rem;\n font-weight: 100;\n color: #0a0a0a;\n transition: box-shadow 0.5s, border-color 0.25s ease-in-out;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.index-module--ThUOB {\n flex: 1 1 90%;\n}\n.index-module--Igmhd {\n flex: 1 1 10%;\n}\n.index-module--r0bx6 .index-module--deJ_k {\n max-height: 150px;\n}\n.index-module--xE_Th {\n margin: auto 0px;\n}\n.index-module--XIt2b {\n margin-bottom: 1.8%;\n}\n.index-module--NIxyW textarea {\n height: 87px !important;\n}\n.index-module--NIxyW textarea {\n margin-bottom: 2.5%;\n width: 100%;\n resize: vertical;\n}\n.index-module--r0bx6 div {\n outline: none !important;\n box-shadow: none !important;\n}\n",""]);var r="index-module--r0bx6",u="index-module--OE81C",x="index-module--JzaPK",a="index-module--_1nxR",c="index-module--NIxyW",p="index-module--Xs4Gf",s="index-module--rYbV7",m="index-module--yN7Qk",b="index-module--Kj_nd",C="index-module--I5O4a",h="index-module--YnLS3",y="index-module--XXGGR",v="index-module--ThUOB",k="index-module--Igmhd",g="index-module--deJ_k",f="index-module--xE_Th",O="index-module--XIt2b";const N=l},32889:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIHZpZXdCb3g9IjAgMCAzNDAwIDM0MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGgKICAgIGZpbGw9IndoaXRlIgogICAgdHJhbnNmb3JtPSJzY2FsZSgxLC0xKSB0cmFuc2xhdGUoNDUwLC0yNjAwKSIKICAgIHN0cm9rZVdpZHRoPSIxIgogICAgZD0iTTc4MyAyNTVsLTMyNSAzMjVsLTcwIDcwbC0zOTEgMzkxcS0xNCAxNSAtMTQgMzUuNXQxNCAzNS41bDMyNSAzMjVxMTQgMTQgMzUgMTR0MzUgLTE0bDM5MSAtMzkxcTE1IC0xNSAzNS41IC0xNXQzNS41IDE1bDEwNDkgMTA0OXExNSAxNSAzNS41IDE1dDM1LjUgLTE1bDMyNyAtMzIycTE1IC0xNSAxNSAtMzVxMCAtMjEgLTE1IC0zNWwtMTQ0NyAtMTQ0OHEtMTUgLTE0IC0zNS41IC0xNHQtMzUuNSAxNHoiCiAgICAgLz4KPC9zdmc+"},17195:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIHZpZXdCb3g9IjAgMCAzNDAwIDM0MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGgKICAgIGZpbGw9IndoaXRlIgogICAgdHJhbnNmb3JtPSJzY2FsZSgxLC0xKSB0cmFuc2xhdGUoNDUwLC0yNjAwKSIKICAgIHN0cm9rZVdpZHRoPSIxIgpkPSJNOTIxIDg5cS00MyAtNTQgLTc1IC01NHEtMjIgMCAtMzQgMjUuNXQtMTIgNzIuNXY3NjdoLTcwOHEtOTEgMCAtOTEgMzFxMCAyNiA2MyA2NWwyMDYzIDEyNzhxNDIgMjYgNzkgMjZxNDIgMCA2OCAtMzJ0MjYgLTg4di0xODAwcTAgLTU3IC0yNi41IC04OS41dC02OS41IC0zMi41cS0zNyAwIC03OCAyNWwtNzEyIDQyNXpNMTAwMCA0ODBsMTE4NiAxNzAwbC0xMTg2IC0xMzAwdi00MDB6Ii8+Cjwvc3ZnPg=="}}]);
2
+ "use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[7830],{56617:(e,n,i)=>{i.r(n),i.d(n,{default:()=>K});var t=i(84658),d=i(34988),o=i(50747),l=i.n(o),r=i(65515),u=i.n(r),x=i(9420),a=i(87363),c=i(88683),p=i(32919),s=i(93379),m=i.n(s),b=i(7795),C=i.n(b),h=i(90569),y=i.n(h),v=i(3565),k=i.n(v),g=i(19216),f=i.n(g),O=i(44589),N=i.n(O),E=i(56052),B={};B.styleTagTransform=N(),B.setAttributes=k(),B.insert=y().bind(null,"head"),B.domAPI=C(),B.insertStyleElement=f();m()(E.ZP,B);E.ZP&&E.ZP.locals&&E.ZP.locals;var H=i(47514),X=(0,c.getLogger)("Planner","BasketActionSerious");const K=(0,x.Pi)((function BasketActionSerious(e){var n=e.saveIsDisabled,i=e.sendEmailIsDisabled,o=e.onSave,r=(0,p.NP)(),x=(0,c.useTranslation)().t,s=(0,a.useState)(!1),m=(0,d.Z)(s,2),b=m[0],C=m[1],h=(0,c.useDivaCore)().actions,y=h.userHasPermission,v=h.openSnackBar,k=function(){var e=(0,t.Z)(l().mark((function _callee(e){var t,d,u,a;return l().wrap((function _callee$(l){for(;;)switch(l.prev=l.next){case 0:l.t0=e,l.next="email"===l.t0?3:"save"===l.t0?8:13;break;case 3:if(n||i){l.next=7;break}return o(),l.next=7,r.actionButtonState.onClickAddToBasket("onSendEmail");case 7:return l.abrupt("break",13);case 8:if(n){l.next=12;break}return o(),l.next=12,r.actionButtonState.onClickAddToBasket();case 12:return l.abrupt("break",13);case 13:if(!r.getViewConfig().showPdfQR){l.next=22;break}if("boolean"!=typeof r.getViewConfig().showPdfQR){l.next=18;break}r.divaWebPlanner.getBasket().PDFDocumentURL?v({type:"big",qrCode:r.divaWebPlanner.getBasket().PDFDocumentURL,message:x("basket.checkout.pdfqr"),autoHideDuration:null!==(t=r.getViewConfig().pdfQRAutoHideDuration)&&void 0!==t?t:12e4,clickable:!0,qrCodeSize:312}):X.warn("Basket is missing a pdf, no QR-Code displayed"),l.next=22;break;case 18:return l.next=20,null===(d=r.divaWebPlanner.actSet())||void 0===d?void 0:d.api.createBasketReport(r.divaWebPlanner.getBasket(),r.getViewConfig().showPdfQR,r.getViewConfig().savePdfQR);case 20:(u=l.sent)?v({type:"big",qrCode:u,qrCodeSize:312,message:x("basket.checkout.pdfqr"),autoHideDuration:null!==(a=r.getViewConfig().pdfQRAutoHideDuration)&&void 0!==a?a:12e4,clickable:!0}):X.warn("Could not generate PDF, no QR-Code displayed");case 22:case"end":return l.stop()}}),_callee)})));return function onClickSave(n){return e.apply(this,arguments)}}();return(0,H.jsxs)("div",{className:E.nC,children:[(0,H.jsxs)("div",{className:u()(E.LI,E.SH,n?E.jO:void 0),onClick:function onClick(){n||C(!b)},children:[(0,H.jsx)("div",{className:u()(E.O7,E.qv,E.Nd)}),(0,H.jsxs)("div",{className:u()(E.O7),children:[" ",x("configurator.ADD_TO_BASKET")]}),(0,H.jsxs)("div",{className:u()(b?E.bA:void 0,E.v),children:[(0,H.jsxs)("div",{className:E.$Q,onClick:function onClick(){return k("save")},id:"wcConfigurator-action-tobasket",children:[(0,H.jsx)("div",{className:u()(E.O7,E.qv,E.Nd)}),(0,H.jsxs)("div",{className:u()(E.O7),children:[" ",x("configurator.ADD_TO_BASKET")]})]}),(0,H.jsxs)("div",{className:u()(E.$Q,i?E.jO:void 0),onClick:function onClick(){return k("email")},children:[(0,H.jsx)("div",{className:u()(E.O7,E.qv,E.hZ)}),(0,H.jsxs)("div",{className:u()(E.O7),children:[" ",x("configurator.SendToClient")]})]})]})]}),(0,H.jsxs)("div",{onClick:function onClickReset(){var e;null===(e=r.actions)||void 0===e||e.openModal({title:x("modals.reset"),accept:!0,reject:!0,text:x("modals.are_you_sure_to_reset"),callback:function callback(e){e&&r.productState.onClickReset()}})},className:u()(E.LI,E.nN),children:[(0,H.jsx)("div",{className:u()(E.O7,E.qv),children:(0,H.jsx)("svg",{width:"26",height:"22",viewBox:"0 0 3400 3400",xmlns:"http://www.w3.org/2000/svg",children:(0,H.jsx)("path",{className:E.e2,transform:"scale(1,-1) translate(450,-2600)",strokeWidth:"1",d:"M935 2061l-114 277q135 45 279 57v-300q-85 -9 -165 -34zM1435 2069q-71 19 -135 26v300q131 -11 251 -48zM615 1884l-211 212q119 105 260 176l114 -276q-87 -47 -163 -112zM1737 1921q-43 32 -89 59l115 279q99 -53 187 -125zM2007 -3l-148 204l-6 -4 q-146 -95 -321 -145t-332 -51q-172 0 -331.5 43t-291 120.5t-240 188t-182.5 242.5t-114.5 287t-40.5 318q0 225 80 429.5t224 367.5l212 -212q-103 -120 -159.5 -270t-56.5 -314q0 -123 32 -239.5t90 -215t140.5 -181.5t181.5 -141t216 -90.5t240 -31.5q146 0 256.5 34 t226.5 109l-151 212q-8 11 -8 20q0 20 29 19h683q17 0 27.5 -10t10.5 -25q0 -6 -3 -13l-220 -644q-7 -22 -22 -22q-12 0 -22 15zM1964 1673q-20 32 -43 64l213 213q61 -75 109 -161zM2085 1400q-4 0 -10 27l279 126q4 -14 8.5 -35.5t8 -41t6.5 -37.5t6 -28.5t5 -10.5h-303z "})})}),(0,H.jsxs)("div",{className:u()(E.O7),children:[" ",x("configurator.ConfigReset")]})]}),y("favorites_lueck")&&(0,H.jsxs)("div",{onClick:function onClickFavorites(){var e,n;null===(e=r.actions)||void 0===e||e.openModal({title:x("modals.favorite"),accept:!0,reject:!0,text:x("modals.are_you_sure_favorite"),callback:(n=(0,t.Z)(l().mark((function _callee2(e){var n;return l().wrap((function _callee2$(i){for(;;)switch(i.prev=i.next){case 0:if(!e){i.next=5;break}return o(),i.next=4,r.actionButtonState.onClickAddToBasket("onSaveProduct");case 4:null===(n=r.actions)||void 0===n||n.openModal({title:x("modals.favorite"),accept:!0,text:x("modals.favorites_saved")});case 5:case"end":return i.stop()}}),_callee2)}))),function callback(e){return n.apply(this,arguments)})})},className:u()(E.LI,E.nN),children:[(0,H.jsx)("div",{className:u()(E.O7,E.qv),children:(0,H.jsx)("svg",{width:"26",height:"22",viewBox:"0 0 3400 3400",xmlns:"http://www.w3.org/2000/svg",children:(0,H.jsx)("path",{className:E.e2,transform:"scale(1,-1) translate(450,-2600)",strokeWidth:"1",d:"M2491 1500l-765 -541l291 -885l-768 551l-764 -554l291 883l-776 546h958l294 900h3l292 -900h944zM484 68h-3l4 3z"})})}),(0,H.jsxs)("div",{className:u()(E.O7),children:[" ",x("configurator.Favorites")]})]})]})}))},27830:(e,n,i)=>{i.r(n),i.d(n,{default:()=>S});var t=i(80248),d=i(34988),o=i(65515),l=i.n(o),r=i(69639),u=i(87363),x=i(10304),a=i(56617),c=i(32919),p=i(93379),s=i.n(p),m=i(7795),b=i.n(m),C=i(90569),h=i.n(C),y=i(3565),v=i.n(y),k=i(19216),g=i.n(k),f=i(44589),O=i.n(f),N=i(69370),E={};E.styleTagTransform=O(),E.setAttributes=v(),E.insert=h().bind(null,"head"),E.domAPI=b(),E.insertStyleElement=g();s()(N.ZP,E);N.ZP&&N.ZP.locals&&N.ZP.locals;var B=i(9420),H=i(88683),X=i(47514);function ownKeys(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.push.apply(i,t)}return i}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(i),!0).forEach((function(n){(0,t.Z)(e,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))}))}return e}var K=["configurationName","buildService","sellingAdvisor","toProduct","specInformations","firstName","lastName","email","phoneNumber","street","nr","postalCode","location","country"],j=["simple","simple","email","phoneNumber","simple","simple","simple","simple"];const S=(0,B.Pi)((function CheckOutForm(e){var n,i,o,p,s,m,b,C,h,y,v,k,g,f,O,E,B,S,I,w,A,D,M,P,z,T,_,Z,q,R,W,L,Q=(0,c.NP)(),U=Q.divaWebPlanner.getBasketData(),V=(0,u.useState)(!1),G=(0,d.Z)(V,2),J=G[0],F=G[1],$=(0,u.useState)(!1),Y=(0,d.Z)($,2),ee=Y[0],ne=Y[1],ie=(0,u.useState)(""),te=(0,d.Z)(ie,2),de=te[0],oe=te[1];function regexCheck(e,n){switch(e){case"simple":return n.length>0;case"email":var i=H.DivaUtils.validateEmail(n);return ne(i),i;case"phoneNumber":return!!(/^[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\s\./0-9]*$/.test(n)&&n.length>0);case"number":return!!(/^[0-9]*$/.test(n)&&n.length>0);case"letters":return!!(/^[\u00C0-\u017Fa-zA-Z'][\u00C0-\u017Fa-zA-Z-' ]+[\u00C0-\u017Fa-zA-Z']?$/.test(n)&&n.length>0)}return!1}function InputCheck(e,n,i){ae(_objectSpread(_objectSpread({},xe),{},(0,t.Z)({},e,n))),me(_objectSpread(_objectSpread({},se),{},"buildService"!==e?(0,t.Z)({},e,regexCheck(i,n)):(0,t.Z)({},e,!0)))}var le=(0,H.useTranslation)().t;(0,u.useEffect)((function(){var e,n=null===(e=Q.divaWebPlanner)||void 0===e?void 0:e.getDivaArticles();if(n){var i=!1,t="",d="";for(var o in n){var l,r,u,x,a=n[o];if(t||(t=null!==(l=null===(r=a.getArticleOptionState("OPTBR"))||void 0===r?void 0:r.name)&&void 0!==l?l:""),d||(d=null!==(u=null===(x=a.getArticleOptionState("OPTLAE"))||void 0===x?void 0:x.name)&&void 0!==u?u:""),a.partlistArticles)for(var c in a.partlistArticles){var p;("Kopfteil"==a.partlistArticles[c].tabGroupOption||null!==(p=a.partlistArticles[c].tabGroupOption)&&void 0!==p&&p.includes("BE_KT"))&&(i=a.partlistArticles[c].name+" - ")}}oe((i||"")+t.replace(" cm","")+" X "+d)}}),[Q.settingsState.configChanged]);var re=(0,u.useState)({configurationName:null!==(n=U.ProductSetName)&&void 0!==n?n:"",buildService:null!==(i=null===(o=U.Client)||void 0===o?void 0:o.delivery)&&void 0!==i?i:!(null===(p=U.OrderSets)||void 0===p||!p.find((function(e){return e.OrderLines.find((function(e){var n;return!("JA"!=(null===(n=e.VariantBasketDatas)||void 0===n||null===(n=n.find((function(e){return"SERVICE"===e.OPT})))||void 0===n?void 0:n.OPV))}))}))),sellingAdvisor:null!==(s=U.Salesperson)&&void 0!==s?s:"".concat((null===(m=Q.configState.currentUser)||void 0===m?void 0:m.name)||""," ").concat((null===(b=Q.configState.currentUser)||void 0===b?void 0:b.familyName)||"").trim(),toProduct:null!==(C=U.ClientRemark)&&void 0!==C?C:"",firstName:null!==(h=null===(y=U.Client)||void 0===y?void 0:y.firstName)&&void 0!==h?h:"",preferredContact:null!==(v=null===(k=U.Client)||void 0===k?void 0:k.preferredContact)&&void 0!==v?v:"email",lastName:null!==(g=null===(f=U.Client)||void 0===f?void 0:f.lastName)&&void 0!==g?g:"",email:null!==(O=null===(E=U.Client)||void 0===E?void 0:E.email)&&void 0!==O?O:"",phoneNumber:null!==(B=null===(S=U.Client)||void 0===S?void 0:S.phone)&&void 0!==B?B:"",street:null!==(I=null===(w=U.Client)||void 0===w?void 0:w.address)&&void 0!==I?I:"",nr:null!==(A=null===(D=U.Client)||void 0===D?void 0:D.addressNr)&&void 0!==A?A:"",postalCode:null!==(M=null===(P=U.Client)||void 0===P?void 0:P.cap)&&void 0!==M?M:"",location:null!==(z=null===(T=U.Client)||void 0===T?void 0:T.city)&&void 0!==z?z:"",country:null!==(_=null===(Z=U.Client)||void 0===Z?void 0:Z.countryCode)&&void 0!==_?_:"Deutschland",dateofdelivery:null!==(q=null===(R=U.Client)||void 0===R||null===(R=R.clientPreferedDeliveryDate)||void 0===R?void 0:R.toString())&&void 0!==q?q:"",specInformations:null!==(W=null===(L=U.Client)||void 0===L?void 0:L.deliveryNotes)&&void 0!==W?W:""}),ue=(0,d.Z)(re,2),xe=ue[0],ae=ue[1],ce=(0,u.useState)((function(){for(var e=[!1,!1,!1,!1,!1,!1,!1,!1],n=["firstName","lastName","email","phoneNumber","street","nr","postalCode","location"],i=0;i<e.length;i++)e[i]=regexCheck(j[i],xe[n[i]]);return{firstName:e[0],lastName:e[1],email:e[2],phoneNumber:e[3],street:e[4],nr:e[5],postalCode:e[6],location:e[7]}})),pe=(0,d.Z)(ce,2),se=pe[0],me=pe[1];return(0,u.useEffect)((function(){"true"===xe.buildService.toString()?Object.values(se).some((function(e){return!1===e}))?F(!1):F(!0):se.firstName&&se.lastName?F(!0):F(!1)})),(0,X.jsxs)("div",{className:N.gN,children:[(0,X.jsxs)("div",{className:N.rr,children:[(0,X.jsxs)("div",{children:[(0,X.jsx)("a",{className:N.Se,children:le("archive.header.productsetname")}),(0,X.jsx)("input",{placeholder:de,className:l()(N.x8),onChange:function onChange(e){return InputCheck(K[0],e.target.value,"simple")},value:xe.configurationName}),(0,X.jsx)("a",{className:N.Se,children:le("checkout.build_service_title")}),(0,X.jsxs)("div",{className:l()(N.ZN,N._6),children:[(0,X.jsx)(r.default,{onChange:function onChange(e){var n=!xe.buildService;Q.paletteViewHandler.changeOnCheckoutConfig({OPTSERVICE:"OPV"+(n?"JA":"NEIN")}),ae(_objectSpread(_objectSpread({},xe),{},{buildService:n}))},state:xe.buildService,on:le("ja"),off:le("nein")}),(0,X.jsx)("a",{className:N.e5,children:le("checkout.build_service_text")})]}),(0,X.jsx)("a",{className:l()(N.Se),children:le("checkout.additional_info")}),(0,X.jsxs)("div",{className:N.jw,children:[(0,X.jsx)("a",{children:le("checkout.selling_advisor")}),(0,X.jsx)("input",{onChange:function onChange(e){return InputCheck(K[2],e.target.value,"simple")},value:xe.sellingAdvisor})]}),(0,X.jsx)("a",{children:le("checkout.to_product")}),(0,X.jsx)("textarea",{onChange:function onChange(e){return InputCheck(K[3],e.target.value,"simple")},value:xe.toProduct}),xe.buildService&&(0,X.jsxs)("div",{children:[(0,X.jsx)("a",{children:le("checkout.spec_informations")}),(0,X.jsx)("textarea",{onChange:function onChange(e){return InputCheck(K[4],e.target.value,"simple")},value:xe.specInformations})]})]}),(0,X.jsxs)("div",{children:[(0,X.jsx)("a",{className:N.Se,children:le("checkout.client_info")}),(0,X.jsx)("div",{className:N.di}),(0,X.jsxs)("div",{className:l()(N._6,N.jw),children:[(0,X.jsxs)("div",{className:N.di,children:[(0,X.jsxs)("a",{children:[le("basket.clientData.form.name"),"*"]}),(0,X.jsx)("input",{onChange:function onChange(e){return InputCheck(K[5],e.target.value,j[0])},value:xe.firstName}),(0,X.jsx)("a",{className:l()(N.X_,se.firstName?N.Cp:N.$Z),children:" "+le("checkout.required")})]}),(0,X.jsxs)("div",{className:N.di,children:[(0,X.jsxs)("a",{children:[le("basket.clientData.form.surname"),"*"]}),(0,X.jsx)("input",{onChange:function onChange(e){return InputCheck(K[6],e.target.value,j[1])},value:xe.lastName}),(0,X.jsx)("a",{className:l()(N.X_,se.lastName?N.Cp:N.$Z),children:" "+le("checkout.required")})]})]}),(0,X.jsxs)("div",{className:N.jw,children:[(0,X.jsxs)("a",{children:[le("basket.clientData.form.email"),xe.buildService?"*":""]}),(0,X.jsx)("input",{onChange:function onChange(e){return InputCheck(K[7],e.target.value,j[2])},value:xe.email}),(0,X.jsx)("a",{className:l()(N.X_,xe.buildService&&!se.email?N.$Z:N.Cp),children:" "+le("checkout.required")})]}),(0,X.jsxs)("div",{className:N.jw,children:[(0,X.jsxs)("a",{children:[le("basket.clientData.form.phone"),xe.buildService?"*":""]}),(0,X.jsx)("input",{onChange:function onChange(e){return InputCheck(K[8],e.target.value,j[3])},value:xe.phoneNumber}),(0,X.jsx)("a",{className:l()(N.X_,xe.buildService&&!se.phoneNumber?N.$Z:N.Cp),children:" "+le("checkout.required")})]}),xe.buildService&&(0,X.jsx)("a",{className:l()(N.Se,N.Iw),children:le("checkout.delivery_address")}),(0,X.jsxs)("div",{className:l()(N._6,N.jw),children:[(0,X.jsxs)("div",{className:N.gT,children:[(0,X.jsxs)("a",{children:[le("basket.clientData.form.address"),xe.buildService?"*":""]}),(0,X.jsx)("input",{className:N.gT,onChange:function onChange(e){return InputCheck(K[9],e.target.value,j[4])},value:xe.street}),(0,X.jsx)("a",{className:l()(N.X_,xe.buildService&&!se.street?N.$Z:N.Cp),children:" "+le("checkout.required")})]}),(0,X.jsxs)("div",{className:N.nr,children:[(0,X.jsxs)("a",{children:[le("basket.clientData.form.addressNr"),xe.buildService?"*":""]}),(0,X.jsx)("input",{className:N.nr,onChange:function onChange(e){return InputCheck(K[10],e.target.value,j[5])},value:xe.nr}),(0,X.jsx)("a",{className:l()(N.X_,xe.buildService&&!se.nr?N.$Z:N.Cp),children:" "+le("checkout.required")})]})]}),(0,X.jsxs)("div",{className:l()(N._6,N.jw),children:[(0,X.jsxs)("div",{className:N.di,children:[(0,X.jsxs)("a",{children:[le("basket.clientData.form.cap"),xe.buildService?"*":""]}),(0,X.jsx)("input",{onChange:function onChange(e){return InputCheck(K[11],e.target.value,j[6])},value:xe.postalCode}),(0,X.jsx)("a",{className:l()(N.X_,xe.buildService&&!se.postalCode?N.$Z:N.Cp),children:" "+le("checkout.required")})]}),(0,X.jsxs)("div",{className:N.di,children:[(0,X.jsxs)("a",{children:[le("basket.clientData.form.city"),xe.buildService?"*":""]}),(0,X.jsx)("input",{onChange:function onChange(e){return InputCheck(K[12],e.target.value,j[7])},value:xe.location}),(0,X.jsx)("a",{className:l()(N.X_,xe.buildService&&!se.location?N.$Z:N.Cp),children:" "+le("checkout.required")})]})]}),(0,X.jsxs)("a",{children:[le("basket.clientData.form.countryCode"),xe.buildService?"*":""]}),(0,X.jsx)(x.Z,{menuClassName:N.Kh,value:xe.country,options:["Deutschland","Österreich","Schweiz","Luxemburg","Belgien","Niederlande","Tschechien","Kasachstan"],onChange:function onChange(e){return InputCheck(K[13],e.value,"simple")}})]})]}),(0,X.jsx)("div",{className:N.IH,children:(0,X.jsx)(a.default,{onSave:function saveValues(e){var n;U.Client||(U.Client={}),U.ProductSetName=""!==xe.configurationName?xe.configurationName:de,U.SetName=de,xe&&(U.Client.firstName=xe.firstName,U.Client.preferredContact=xe.preferredContact,U.Client.lastName=xe.lastName,U.Client.email=xe.email,U.Client.phone=xe.phoneNumber,U.Client.address=xe.street,U.Client.addressNr=xe.nr,U.Client.cap=xe.postalCode,U.Client.city=xe.location,U.Client.countryCode=xe.country,U.Client.clientPreferedDeliveryDate=xe.dateofdelivery?new Date(xe.dateofdelivery):void 0,U.Client.deliveryNotes=xe.specInformations,U.Client.delivery=xe.buildService),U.ClientRemark=xe.toProduct,U.SalespersonOverwrite=xe.sellingAdvisor,U.SalespersonEmail=(null===(n=Q.configState.currentUser)||void 0===n?void 0:n.mainEmail)||"",e&&(U.SendIWOBasket=!0,U.OrderStatus="SEND")},saveIsDisabled:!J,sendEmailIsDisabled:!ee})})]})}))},56052:(e,n,i)=>{i.d(n,{$Q:()=>y,LI:()=>v,Nd:()=>E,O7:()=>O,SH:()=>k,ZP:()=>H,bA:()=>C,e2:()=>N,hZ:()=>B,jO:()=>g,nC:()=>m,nN:()=>f,qv:()=>h,v:()=>b});var t=i(8081),d=i.n(t),o=i(23645),l=i.n(o),r=i(61667),u=i.n(r),x=new URL(i(32889),i.b),a=new URL(i(17195),i.b),c=l()(d()),p=u()(x),s=u()(a);c.push([e.id,".index-module--BLUm6 {\n display: flex;\n flex-direction: row;\n margin-left: 16px;\n}\n\n.index-module--HfQcx {\n border: 1px solid #cacaca;\n border-radius: 4px;\n position: absolute;\n bottom: 105%;\n left: 0;\n right: -5px;\n padding: 0.84em 1em;\n color: #000;\n color: initial;\n display: none;\n flex-direction: column;\n}\n\n.index-module--HfQcx.index-module--zBXSm {\n display: flex;\n}\n\n.index-module--HfQcx .index-module--JygIB {\n filter: brightness(0.1);\n}\n.index-module--HfQcx .index-module--GkVFm:hover {\n color: var(--primaryColor);\n}\n\n.index-module--am5Wh {\n position: relative;\n font-weight: 100;\n border-radius: 32px;\n transition: background-color 0.25s ease-out, color 0.25s ease-out;\n font-size: 0.9rem;\n line-height: 18px;\n text-align: center;\n cursor: pointer;\n box-sizing: border-box;\n display: inline-block;\n vertical-align: middle;\n margin: 0 0.5rem 1rem 0;\n padding: 0.85em 1em;\n -webkit-appearance: none;\n border: 1px solid transparent;\n}\n\n.index-module--xqWc8 {\n background-color: var(--primaryColor);\n color: #fefefe;\n}\n\n.index-module--qJM2I {\n opacity: 0.25;\n cursor: not-allowed;\n}\n\n.index-module--xqWc8:hover {\n filter: brightness(0.9);\n}\n\n.index-module--kWTPM {\n background-color: transparent;\n border-color: var(--primaryColor);\n color: var(--primaryColor);\n padding: 0.85em 1em 0.85em 0.25em;\n}\n\n.index-module--kWTPM:hover {\n fill: #202020 !important;\n}\n\n.index-module--kWTPM:hover {\n border-color: #202020;\n color: #202020;\n}\n\n.index-module--fTcws {\n float: left;\n}\n.index-module--kWTPM .index-module--fTcws {\n padding-left: 0.5em;\n}\n\n.index-module--GkVFm {\n margin: 0.5em 0;\n}\n\n.index-module--JygIB {\n background-repeat: no-repeat;\n background-position: center center;\n background-size: contain;\n width: 20px;\n height: 20px;\n}\n.index-module--nUotN {\n fill: var(--primaryColor);\n transition: fill 0.25s ease-out, color 0.25s ease-out;\n}\n\n.index-module--kWTPM:hover .index-module--nUotN {\n fill: black;\n}\n\n.index-module--b4Lgf {\n background-image: url("+p+");\n}\n.index-module--Y3R7R {\n background-image: url("+s+");\n}\n\n.index-module--aWiJp path {\n background-color: var(--primaryColor);\n}\n",""]);var m="index-module--BLUm6",b="index-module--HfQcx",C="index-module--zBXSm",h="index-module--JygIB",y="index-module--GkVFm",v="index-module--am5Wh",k="index-module--xqWc8",g="index-module--qJM2I",f="index-module--kWTPM",O="index-module--fTcws",N="index-module--nUotN",E="index-module--b4Lgf",B="index-module--Y3R7R";const H=c},69370:(e,n,i)=>{i.d(n,{$Z:()=>u,Cp:()=>x,IH:()=>m,Iw:()=>O,Kh:()=>g,Se:()=>a,X_:()=>b,ZN:()=>y,ZP:()=>N,_6:()=>p,di:()=>s,e5:()=>f,gN:()=>r,gT:()=>v,jw:()=>h,nr:()=>k,rr:()=>c,x8:()=>C});var t=i(8081),d=i.n(t),o=i(23645),l=i.n(o)()(d());l.push([e.id,"/* form */\n.index-module--r0bx6 {\n top: 100%;\n position: absolute;\n width: 100%;\n}\n.index-module--OE81C {\n display: flex !important;\n}\n.index-module--JzaPK {\n display: none !important;\n}\n\n.index-module--r0bx6 a {\n display: flex;\n color: black;\n cursor: default;\n}\n.index-module--r0bx6 a:hover {\n display: flex;\n color: black;\n cursor: default;\n}\n.index-module--r0bx6 .index-module--_1nxR {\n color: var(--primaryColor);\n font-size: 150%;\n font-weight: 300;\n padding-bottom: 3.7%;\n padding-top: 4%;\n text-align: left;\n}\n.index-module--r0bx6 .index-module--_1nxR:hover {\n color: var(--primaryColor);\n font-size: 150%;\n font-weight: 300;\n padding-bottom: 3.7%;\n padding-top: 4%;\n text-align: left;\n}\n.index-module--NIxyW {\n display: flex;\n gap: 50px;\n padding: 0 50px;\n}\n.index-module--NIxyW > * {\n flex-basis: 100%;\n}\n\n.index-module--Xs4Gf {\n display: flex;\n flex-direction: row;\n align-items: top;\n flex-basis: 100%;\n gap: 3%;\n}\n.index-module--rYbV7 {\n display: flex;\n flex-direction: column;\n align-items: top;\n flex-basis: 100%;\n}\n.index-module--yN7Qk {\n margin-top: 7%;\n margin-left: 1%;\n}\n.index-module--NIxyW .index-module--Kj_nd {\n color: var(--primaryColor);\n font-size: 80%;\n padding-bottom: 2%;\n padding-right: 38%;\n}\n.index-module--NIxyW .index-module--Kj_nd:hover {\n color: var(--primaryColor);\n font-size: 80%;\n padding-bottom: 2%;\n padding-right: 38%;\n}\n.index-module--I5O4a {\n margin-top: 20px;\n}\n.index-module--r0bx6 input[type='checkbox'],.index-module--r0bx6 input[type='Checkbox'],.index-module--r0bx6 input[type='cHeckbox'],.index-module--r0bx6 input[type='CHeckbox'],.index-module--r0bx6 input[type='chEckbox'],.index-module--r0bx6 input[type='ChEckbox'],.index-module--r0bx6 input[type='cHEckbox'],.index-module--r0bx6 input[type='CHEckbox'],.index-module--r0bx6 input[type='cheCkbox'],.index-module--r0bx6 input[type='CheCkbox'],.index-module--r0bx6 input[type='cHeCkbox'],.index-module--r0bx6 input[type='CHeCkbox'],.index-module--r0bx6 input[type='chECkbox'],.index-module--r0bx6 input[type='ChECkbox'],.index-module--r0bx6 input[type='cHECkbox'],.index-module--r0bx6 input[type='CHECkbox'],.index-module--r0bx6 input[type='checKbox'],.index-module--r0bx6 input[type='ChecKbox'],.index-module--r0bx6 input[type='cHecKbox'],.index-module--r0bx6 input[type='CHecKbox'],.index-module--r0bx6 input[type='chEcKbox'],.index-module--r0bx6 input[type='ChEcKbox'],.index-module--r0bx6 input[type='cHEcKbox'],.index-module--r0bx6 input[type='CHEcKbox'],.index-module--r0bx6 input[type='cheCKbox'],.index-module--r0bx6 input[type='CheCKbox'],.index-module--r0bx6 input[type='cHeCKbox'],.index-module--r0bx6 input[type='CHeCKbox'],.index-module--r0bx6 input[type='chECKbox'],.index-module--r0bx6 input[type='ChECKbox'],.index-module--r0bx6 input[type='cHECKbox'],.index-module--r0bx6 input[type='CHECKbox'],.index-module--r0bx6 input[type='checkBox'],.index-module--r0bx6 input[type='CheckBox'],.index-module--r0bx6 input[type='cHeckBox'],.index-module--r0bx6 input[type='CHeckBox'],.index-module--r0bx6 input[type='chEckBox'],.index-module--r0bx6 input[type='ChEckBox'],.index-module--r0bx6 input[type='cHEckBox'],.index-module--r0bx6 input[type='CHEckBox'],.index-module--r0bx6 input[type='cheCkBox'],.index-module--r0bx6 input[type='CheCkBox'],.index-module--r0bx6 input[type='cHeCkBox'],.index-module--r0bx6 input[type='CHeCkBox'],.index-module--r0bx6 input[type='chECkBox'],.index-module--r0bx6 input[type='ChECkBox'],.index-module--r0bx6 input[type='cHECkBox'],.index-module--r0bx6 input[type='CHECkBox'],.index-module--r0bx6 input[type='checKBox'],.index-module--r0bx6 input[type='ChecKBox'],.index-module--r0bx6 input[type='cHecKBox'],.index-module--r0bx6 input[type='CHecKBox'],.index-module--r0bx6 input[type='chEcKBox'],.index-module--r0bx6 input[type='ChEcKBox'],.index-module--r0bx6 input[type='cHEcKBox'],.index-module--r0bx6 input[type='CHEcKBox'],.index-module--r0bx6 input[type='cheCKBox'],.index-module--r0bx6 input[type='CheCKBox'],.index-module--r0bx6 input[type='cHeCKBox'],.index-module--r0bx6 input[type='CHeCKBox'],.index-module--r0bx6 input[type='chECKBox'],.index-module--r0bx6 input[type='ChECKBox'],.index-module--r0bx6 input[type='cHECKBox'],.index-module--r0bx6 input[type='CHECKBox'],.index-module--r0bx6 input[type='checkbOx'],.index-module--r0bx6 input[type='CheckbOx'],.index-module--r0bx6 input[type='cHeckbOx'],.index-module--r0bx6 input[type='CHeckbOx'],.index-module--r0bx6 input[type='chEckbOx'],.index-module--r0bx6 input[type='ChEckbOx'],.index-module--r0bx6 input[type='cHEckbOx'],.index-module--r0bx6 input[type='CHEckbOx'],.index-module--r0bx6 input[type='cheCkbOx'],.index-module--r0bx6 input[type='CheCkbOx'],.index-module--r0bx6 input[type='cHeCkbOx'],.index-module--r0bx6 input[type='CHeCkbOx'],.index-module--r0bx6 input[type='chECkbOx'],.index-module--r0bx6 input[type='ChECkbOx'],.index-module--r0bx6 input[type='cHECkbOx'],.index-module--r0bx6 input[type='CHECkbOx'],.index-module--r0bx6 input[type='checKbOx'],.index-module--r0bx6 input[type='ChecKbOx'],.index-module--r0bx6 input[type='cHecKbOx'],.index-module--r0bx6 input[type='CHecKbOx'],.index-module--r0bx6 input[type='chEcKbOx'],.index-module--r0bx6 input[type='ChEcKbOx'],.index-module--r0bx6 input[type='cHEcKbOx'],.index-module--r0bx6 input[type='CHEcKbOx'],.index-module--r0bx6 input[type='cheCKbOx'],.index-module--r0bx6 input[type='CheCKbOx'],.index-module--r0bx6 input[type='cHeCKbOx'],.index-module--r0bx6 input[type='CHeCKbOx'],.index-module--r0bx6 input[type='chECKbOx'],.index-module--r0bx6 input[type='ChECKbOx'],.index-module--r0bx6 input[type='cHECKbOx'],.index-module--r0bx6 input[type='CHECKbOx'],.index-module--r0bx6 input[type='checkBOx'],.index-module--r0bx6 input[type='CheckBOx'],.index-module--r0bx6 input[type='cHeckBOx'],.index-module--r0bx6 input[type='CHeckBOx'],.index-module--r0bx6 input[type='chEckBOx'],.index-module--r0bx6 input[type='ChEckBOx'],.index-module--r0bx6 input[type='cHEckBOx'],.index-module--r0bx6 input[type='CHEckBOx'],.index-module--r0bx6 input[type='cheCkBOx'],.index-module--r0bx6 input[type='CheCkBOx'],.index-module--r0bx6 input[type='cHeCkBOx'],.index-module--r0bx6 input[type='CHeCkBOx'],.index-module--r0bx6 input[type='chECkBOx'],.index-module--r0bx6 input[type='ChECkBOx'],.index-module--r0bx6 input[type='cHECkBOx'],.index-module--r0bx6 input[type='CHECkBOx'],.index-module--r0bx6 input[type='checKBOx'],.index-module--r0bx6 input[type='ChecKBOx'],.index-module--r0bx6 input[type='cHecKBOx'],.index-module--r0bx6 input[type='CHecKBOx'],.index-module--r0bx6 input[type='chEcKBOx'],.index-module--r0bx6 input[type='ChEcKBOx'],.index-module--r0bx6 input[type='cHEcKBOx'],.index-module--r0bx6 input[type='CHEcKBOx'],.index-module--r0bx6 input[type='cheCKBOx'],.index-module--r0bx6 input[type='CheCKBOx'],.index-module--r0bx6 input[type='cHeCKBOx'],.index-module--r0bx6 input[type='CHeCKBOx'],.index-module--r0bx6 input[type='chECKBOx'],.index-module--r0bx6 input[type='ChECKBOx'],.index-module--r0bx6 input[type='cHECKBOx'],.index-module--r0bx6 input[type='CHECKBOx'],.index-module--r0bx6 input[type='checkboX'],.index-module--r0bx6 input[type='CheckboX'],.index-module--r0bx6 input[type='cHeckboX'],.index-module--r0bx6 input[type='CHeckboX'],.index-module--r0bx6 input[type='chEckboX'],.index-module--r0bx6 input[type='ChEckboX'],.index-module--r0bx6 input[type='cHEckboX'],.index-module--r0bx6 input[type='CHEckboX'],.index-module--r0bx6 input[type='cheCkboX'],.index-module--r0bx6 input[type='CheCkboX'],.index-module--r0bx6 input[type='cHeCkboX'],.index-module--r0bx6 input[type='CHeCkboX'],.index-module--r0bx6 input[type='chECkboX'],.index-module--r0bx6 input[type='ChECkboX'],.index-module--r0bx6 input[type='cHECkboX'],.index-module--r0bx6 input[type='CHECkboX'],.index-module--r0bx6 input[type='checKboX'],.index-module--r0bx6 input[type='ChecKboX'],.index-module--r0bx6 input[type='cHecKboX'],.index-module--r0bx6 input[type='CHecKboX'],.index-module--r0bx6 input[type='chEcKboX'],.index-module--r0bx6 input[type='ChEcKboX'],.index-module--r0bx6 input[type='cHEcKboX'],.index-module--r0bx6 input[type='CHEcKboX'],.index-module--r0bx6 input[type='cheCKboX'],.index-module--r0bx6 input[type='CheCKboX'],.index-module--r0bx6 input[type='cHeCKboX'],.index-module--r0bx6 input[type='CHeCKboX'],.index-module--r0bx6 input[type='chECKboX'],.index-module--r0bx6 input[type='ChECKboX'],.index-module--r0bx6 input[type='cHECKboX'],.index-module--r0bx6 input[type='CHECKboX'],.index-module--r0bx6 input[type='checkBoX'],.index-module--r0bx6 input[type='CheckBoX'],.index-module--r0bx6 input[type='cHeckBoX'],.index-module--r0bx6 input[type='CHeckBoX'],.index-module--r0bx6 input[type='chEckBoX'],.index-module--r0bx6 input[type='ChEckBoX'],.index-module--r0bx6 input[type='cHEckBoX'],.index-module--r0bx6 input[type='CHEckBoX'],.index-module--r0bx6 input[type='cheCkBoX'],.index-module--r0bx6 input[type='CheCkBoX'],.index-module--r0bx6 input[type='cHeCkBoX'],.index-module--r0bx6 input[type='CHeCkBoX'],.index-module--r0bx6 input[type='chECkBoX'],.index-module--r0bx6 input[type='ChECkBoX'],.index-module--r0bx6 input[type='cHECkBoX'],.index-module--r0bx6 input[type='CHECkBoX'],.index-module--r0bx6 input[type='checKBoX'],.index-module--r0bx6 input[type='ChecKBoX'],.index-module--r0bx6 input[type='cHecKBoX'],.index-module--r0bx6 input[type='CHecKBoX'],.index-module--r0bx6 input[type='chEcKBoX'],.index-module--r0bx6 input[type='ChEcKBoX'],.index-module--r0bx6 input[type='cHEcKBoX'],.index-module--r0bx6 input[type='CHEcKBoX'],.index-module--r0bx6 input[type='cheCKBoX'],.index-module--r0bx6 input[type='CheCKBoX'],.index-module--r0bx6 input[type='cHeCKBoX'],.index-module--r0bx6 input[type='CHeCKBoX'],.index-module--r0bx6 input[type='chECKBoX'],.index-module--r0bx6 input[type='ChECKBoX'],.index-module--r0bx6 input[type='cHECKBoX'],.index-module--r0bx6 input[type='CHECKBoX'],.index-module--r0bx6 input[type='checkbOX'],.index-module--r0bx6 input[type='CheckbOX'],.index-module--r0bx6 input[type='cHeckbOX'],.index-module--r0bx6 input[type='CHeckbOX'],.index-module--r0bx6 input[type='chEckbOX'],.index-module--r0bx6 input[type='ChEckbOX'],.index-module--r0bx6 input[type='cHEckbOX'],.index-module--r0bx6 input[type='CHEckbOX'],.index-module--r0bx6 input[type='cheCkbOX'],.index-module--r0bx6 input[type='CheCkbOX'],.index-module--r0bx6 input[type='cHeCkbOX'],.index-module--r0bx6 input[type='CHeCkbOX'],.index-module--r0bx6 input[type='chECkbOX'],.index-module--r0bx6 input[type='ChECkbOX'],.index-module--r0bx6 input[type='cHECkbOX'],.index-module--r0bx6 input[type='CHECkbOX'],.index-module--r0bx6 input[type='checKbOX'],.index-module--r0bx6 input[type='ChecKbOX'],.index-module--r0bx6 input[type='cHecKbOX'],.index-module--r0bx6 input[type='CHecKbOX'],.index-module--r0bx6 input[type='chEcKbOX'],.index-module--r0bx6 input[type='ChEcKbOX'],.index-module--r0bx6 input[type='cHEcKbOX'],.index-module--r0bx6 input[type='CHEcKbOX'],.index-module--r0bx6 input[type='cheCKbOX'],.index-module--r0bx6 input[type='CheCKbOX'],.index-module--r0bx6 input[type='cHeCKbOX'],.index-module--r0bx6 input[type='CHeCKbOX'],.index-module--r0bx6 input[type='chECKbOX'],.index-module--r0bx6 input[type='ChECKbOX'],.index-module--r0bx6 input[type='cHECKbOX'],.index-module--r0bx6 input[type='CHECKbOX'],.index-module--r0bx6 input[type='checkBOX'],.index-module--r0bx6 input[type='CheckBOX'],.index-module--r0bx6 input[type='cHeckBOX'],.index-module--r0bx6 input[type='CHeckBOX'],.index-module--r0bx6 input[type='chEckBOX'],.index-module--r0bx6 input[type='ChEckBOX'],.index-module--r0bx6 input[type='cHEckBOX'],.index-module--r0bx6 input[type='CHEckBOX'],.index-module--r0bx6 input[type='cheCkBOX'],.index-module--r0bx6 input[type='CheCkBOX'],.index-module--r0bx6 input[type='cHeCkBOX'],.index-module--r0bx6 input[type='CHeCkBOX'],.index-module--r0bx6 input[type='chECkBOX'],.index-module--r0bx6 input[type='ChECkBOX'],.index-module--r0bx6 input[type='cHECkBOX'],.index-module--r0bx6 input[type='CHECkBOX'],.index-module--r0bx6 input[type='checKBOX'],.index-module--r0bx6 input[type='ChecKBOX'],.index-module--r0bx6 input[type='cHecKBOX'],.index-module--r0bx6 input[type='CHecKBOX'],.index-module--r0bx6 input[type='chEcKBOX'],.index-module--r0bx6 input[type='ChEcKBOX'],.index-module--r0bx6 input[type='cHEcKBOX'],.index-module--r0bx6 input[type='CHEcKBOX'],.index-module--r0bx6 input[type='cheCKBOX'],.index-module--r0bx6 input[type='CheCKBOX'],.index-module--r0bx6 input[type='cHeCKBOX'],.index-module--r0bx6 input[type='CHeCKBOX'],.index-module--r0bx6 input[type='chECKBOX'],.index-module--r0bx6 input[type='ChECKBOX'],.index-module--r0bx6 input[type='cHECKBOX'],.index-module--r0bx6 input[type='CHECKBOX'] {\n margin-bottom: 18px;\n}\n.index-module--YnLS3 {\n min-height: 86px;\n}\n.index-module--XXGGR {\n margin-top: 5px;\n}\n.index-module--NIxyW input,\n.index-module--NIxyW textarea {\n box-sizing: border-box !important;\n}\n.index-module--NIxyW input,\n.index-module--NIxyW textarea {\n height: 40px;\n width: 100%;\n display: block;\n box-sizing: border-box;\n padding: 0.5rem;\n border: 1px solid #cacaca;\n border-radius: 4px;\n background-color: #fefefe;\n box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);\n font-family: inherit;\n font-size: 1rem;\n font-weight: 100;\n color: #0a0a0a;\n transition: box-shadow 0.5s, border-color 0.25s ease-in-out;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.index-module--ThUOB {\n flex: 1 1 90%;\n}\n.index-module--Igmhd {\n flex: 1 1 10%;\n}\n.index-module--r0bx6 .index-module--deJ_k {\n max-height: 150px;\n}\n.index-module--xE_Th {\n margin: auto 0px;\n}\n.index-module--XIt2b {\n margin-bottom: 1.8%;\n}\n.index-module--NIxyW textarea {\n height: 87px !important;\n}\n.index-module--NIxyW textarea {\n margin-bottom: 2.5%;\n width: 100%;\n resize: vertical;\n}\n.index-module--r0bx6 div {\n outline: none !important;\n box-shadow: none !important;\n}\n",""]);var r="index-module--r0bx6",u="index-module--OE81C",x="index-module--JzaPK",a="index-module--_1nxR",c="index-module--NIxyW",p="index-module--Xs4Gf",s="index-module--rYbV7",m="index-module--yN7Qk",b="index-module--Kj_nd",C="index-module--I5O4a",h="index-module--YnLS3",y="index-module--XXGGR",v="index-module--ThUOB",k="index-module--Igmhd",g="index-module--deJ_k",f="index-module--xE_Th",O="index-module--XIt2b";const N=l},32889:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIHZpZXdCb3g9IjAgMCAzNDAwIDM0MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGgKICAgIGZpbGw9IndoaXRlIgogICAgdHJhbnNmb3JtPSJzY2FsZSgxLC0xKSB0cmFuc2xhdGUoNDUwLC0yNjAwKSIKICAgIHN0cm9rZVdpZHRoPSIxIgogICAgZD0iTTc4MyAyNTVsLTMyNSAzMjVsLTcwIDcwbC0zOTEgMzkxcS0xNCAxNSAtMTQgMzUuNXQxNCAzNS41bDMyNSAzMjVxMTQgMTQgMzUgMTR0MzUgLTE0bDM5MSAtMzkxcTE1IC0xNSAzNS41IC0xNXQzNS41IDE1bDEwNDkgMTA0OXExNSAxNSAzNS41IDE1dDM1LjUgLTE1bDMyNyAtMzIycTE1IC0xNSAxNSAtMzVxMCAtMjEgLTE1IC0zNWwtMTQ0NyAtMTQ0OHEtMTUgLTE0IC0zNS41IC0xNHQtMzUuNSAxNHoiCiAgICAgLz4KPC9zdmc+"},17195:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIHZpZXdCb3g9IjAgMCAzNDAwIDM0MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGgKICAgIGZpbGw9IndoaXRlIgogICAgdHJhbnNmb3JtPSJzY2FsZSgxLC0xKSB0cmFuc2xhdGUoNDUwLC0yNjAwKSIKICAgIHN0cm9rZVdpZHRoPSIxIgpkPSJNOTIxIDg5cS00MyAtNTQgLTc1IC01NHEtMjIgMCAtMzQgMjUuNXQtMTIgNzIuNXY3NjdoLTcwOHEtOTEgMCAtOTEgMzFxMCAyNiA2MyA2NWwyMDYzIDEyNzhxNDIgMjYgNzkgMjZxNDIgMCA2OCAtMzJ0MjYgLTg4di0xODAwcTAgLTU3IC0yNi41IC04OS41dC02OS41IC0zMi41cS0zNyAwIC03OCAyNWwtNzEyIDQyNXpNMTAwMCA0ODBsMTE4NiAxNzAwbC0xMTg2IC0xMzAwdi00MDB6Ii8+Cjwvc3ZnPg=="}}]);