@crystaldesign/diva-web-planner-react 26.12.0-beta.10 → 26.12.0-beta.11
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.
- package/build/esm/{Planner2DGrid-e99182a0.js → Planner2DGrid-c8024888.js} +1 -1
- package/build/esm/{Planner3DImage-c61ba1ab.js → Planner3DImage-34cee8ca.js} +1 -1
- package/build/esm/{UnlockCard-9ff0eebf.js → UnlockCard-e16edfcf.js} +1 -1
- package/build/esm/{index-d5e03e08.js → index-003951fa.js} +2 -2
- package/build/esm/{index-ea38eb4a.js → index-03263a2f.js} +1 -1
- package/build/esm/{index-094f2e89.js → index-03ab5c05.js} +16 -9
- package/build/esm/{index-043fa467.js → index-055a8a26.js} +18 -18
- package/build/esm/{index-66ba9d35.js → index-0580559d.js} +73 -73
- package/build/esm/{index-065d93f5.js → index-0582a5b0.js} +1 -1
- package/build/esm/{index-ecdcca31.js → index-05a82c11.js} +2 -2
- package/build/esm/{index-3517493b.js → index-0ab8662b.js} +5 -5
- package/build/esm/{index-1449fd64.js → index-0c03fab5.js} +3 -3
- package/build/esm/{index-17dea8c7.js → index-0c3af8af.js} +2 -2
- package/build/esm/{index-29f119b9.js → index-0ebce915.js} +21 -21
- package/build/esm/{index-c83c49d0.js → index-0faabdb4.js} +3 -3
- package/build/esm/{index-e9cf89f6.js → index-11920c3d.js} +1 -1
- package/build/esm/{index-c537aeb8.js → index-132e7cf7.js} +1 -1
- package/build/esm/{index-0acd19c8.js → index-1384f64f.js} +25 -25
- package/build/esm/{index-e8d84997.js → index-13a6ebeb.js} +1 -1
- package/build/esm/{index-4544f7ff.js → index-13f7b78f.js} +1 -1
- package/build/esm/{index-b4ea5a8c.js → index-13f7fd72.js} +1 -1
- package/build/esm/{index-b0a0af75.js → index-1529d6fa.js} +2 -2
- package/build/esm/{index-363cfc5f.js → index-1554c700.js} +5 -5
- package/build/esm/{index-f82a3ee3.js → index-16328624.js} +2 -2
- package/build/esm/{index-c63e8a77.js → index-16800d90.js} +1 -1
- package/build/esm/{index-c1189a25.js → index-1763a50d.js} +3 -3
- package/build/esm/{index-29e35479.js → index-18c42414.js} +1 -1
- package/build/esm/{index-8a05554e.js → index-19cca920.js} +1 -1
- package/build/esm/{index-c33c21d2.js → index-1e5c2cb7.js} +1 -1
- package/build/esm/{index-11348168.js → index-20ab4f14.js} +65 -65
- package/build/esm/{index-6325932f.js → index-21e408c0.js} +1 -1
- package/build/esm/{index-93587324.js → index-221cd77c.js} +1 -1
- package/build/esm/{index-f207868d.js → index-2336f654.js} +2 -2
- package/build/esm/{index-be2d48e9.js → index-24690ebd.js} +5 -5
- package/build/esm/{index-f8a8db87.js → index-24a889b1.js} +68 -68
- package/build/esm/{index-1a33b687.js → index-251eeaa3.js} +70 -70
- package/build/esm/{index-6de49de8.js → index-2549bcd7.js} +1 -1
- package/build/esm/{index-c703601b.js → index-2549bf98.js} +8 -8
- package/build/esm/{index-06950b6c.js → index-26110202.js} +1 -1
- package/build/esm/{index-c4295b52.js → index-262f4b64.js} +1 -1
- package/build/esm/{index-57a5dc02.js → index-275547ad.js} +3 -3
- package/build/esm/{index-6de7da71.js → index-276df608.js} +1 -1
- package/build/esm/{index-2cc2783e.js → index-2862e89a.js} +1 -1
- package/build/esm/{index-2ee3c2e0.js → index-29f2f93e.js} +2 -2
- package/build/esm/{index-6aa87f5b.js → index-2a9f85ac.js} +1 -1
- package/build/esm/{index-abb182e7.js → index-2d792763.js} +1 -1
- package/build/esm/{index-0e4ed9dc.js → index-31d7ffbf.js} +1 -1
- package/build/esm/{index-4c837c89.js → index-320e9bf8.js} +1 -1
- package/build/esm/{index-92e4f51b.js → index-32518a2c.js} +1 -1
- package/build/esm/{index-722e7b25.js → index-32bbbce0.js} +1 -1
- package/build/esm/{index-2d800b17.js → index-32f3f72d.js} +1 -1
- package/build/esm/{index-87a82811.js → index-33a6bc0c.js} +1 -1
- package/build/esm/{index-03fe8a29.js → index-34a737df.js} +3 -3
- package/build/esm/{index-4ba86610.js → index-39c01de4.js} +1 -1
- package/build/esm/{index-24f24c70.js → index-3aea6dbd.js} +2 -2
- package/build/esm/{index-1b5e4e00.js → index-3aef3d37.js} +5 -5
- package/build/esm/{index-60f19556.js → index-3e49c5b2.js} +1 -1
- package/build/esm/{index-744c8b1d.js → index-41a2b509.js} +1 -1
- package/build/esm/{index-cd504d3a.js → index-42455434.js} +1 -1
- package/build/esm/{index-4f5669e0.js → index-42cd5a08.js} +1 -1
- package/build/esm/{index-839e1a2e.js → index-42fd12d5.js} +1 -1
- package/build/esm/{index-db75d170.js → index-4575ae56.js} +1 -1
- package/build/esm/{index-846d3b2e.js → index-46baf9a0.js} +2 -2
- package/build/esm/{index-d2280354.js → index-47b1274f.js} +19 -19
- package/build/esm/{index-4129afa9.js → index-48d22cc9.js} +1 -1
- package/build/esm/{index-774955de.js → index-4a7674df.js} +1 -1
- package/build/esm/{index-a110562a.js → index-4b40cc75.js} +68 -68
- package/build/esm/{index-d92f1321.js → index-4e93fbd9.js} +101 -101
- package/build/esm/{index-527a8285.js → index-4f293b2d.js} +65 -65
- package/build/esm/{index-1cbab4be.js → index-4fb1a4b5.js} +1 -1
- package/build/esm/{index-f1c7c22f.js → index-51ca2075.js} +3 -3
- package/build/esm/{index-b2b8a4d4.js → index-53951ab4.js} +1 -1
- package/build/esm/{index-30e38af9.js → index-57a32fdf.js} +84 -84
- package/build/esm/{index-b8a038a3.js → index-589bc4aa.js} +3 -3
- package/build/esm/{index-2c79a801.js → index-58ecedc1.js} +1 -1
- package/build/esm/{index-56ee74ee.js → index-5a708c64.js} +1 -1
- package/build/esm/{index-83dd1e3f.js → index-5abca4b3.js} +3 -3
- package/build/esm/{index-b586a7c1.js → index-5beae7ea.js} +71 -71
- package/build/esm/{index-2b40a94d.js → index-5c8fe0d4.js} +66 -66
- package/build/esm/{index-39bc17bc.js → index-5dab1d53.js} +1 -1
- package/build/esm/{index-cd7cb0b3.js → index-5e56554f.js} +1 -1
- package/build/esm/{index-20ea2541.js → index-5f104ff5.js} +1 -1
- package/build/esm/{index-6e52c2a0.js → index-613c4755.js} +1 -1
- package/build/esm/{index-20b71f87.js → index-6513b585.js} +87 -87
- package/build/esm/{index-73a02b49.js → index-67970d64.js} +18 -18
- package/build/esm/{index-1814e1b4.js → index-67e117de.js} +66 -66
- package/build/esm/{index-4aecf0b5.js → index-67e5ff01.js} +1 -1
- package/build/esm/{index-bdcc107d.js → index-69393b23.js} +1 -1
- package/build/esm/{index-af8daff0.js → index-6a1a3d4c.js} +1 -1
- package/build/esm/{index-4c3c7dff.js → index-6bc51839.js} +2 -2
- package/build/esm/{index-05bb7a58.js → index-6c8d4364.js} +3 -3
- package/build/esm/{index-b60938ba.js → index-6cd6c717.js} +4 -4
- package/build/esm/{index-f957e1de.js → index-7060fed7.js} +3 -3
- package/build/esm/{index-c62f9b9b.js → index-70813307.js} +17 -17
- package/build/esm/{index-f49c6f94.js → index-73c26d6c.js} +1 -1
- package/build/esm/{index-0164c366.js → index-73e109f9.js} +1 -1
- package/build/esm/{index-1681f407.js → index-73fde759.js} +1 -1
- package/build/esm/{index-20c296c7.js → index-75874348.js} +8 -8
- package/build/esm/{index-b0d03bad.js → index-75af53e2.js} +225 -225
- package/build/esm/{index-b5477581.js → index-75bceec4.js} +15 -15
- package/build/esm/{index-2508bf92.js → index-762c1183.js} +1 -1
- package/build/esm/{index-953a83b2.js → index-7803f9ee.js} +1 -1
- package/build/esm/{index-d3cd1877.js → index-7920b50d.js} +3 -3
- package/build/esm/{index-4d0b1512.js → index-79274448.js} +1 -1
- package/build/esm/{index-07de143a.js → index-79a3b86e.js} +1 -1
- package/build/esm/{index-42c7ce7b.js → index-7aa9def5.js} +8 -8
- package/build/esm/{index-b761514a.js → index-7f2b9798.js} +3 -3
- package/build/esm/{index-e4477682.js → index-8001739e.js} +76 -76
- package/build/esm/{index-4ff08db2.js → index-8006e037.js} +5 -5
- package/build/esm/{index-48b13348.js → index-80dede83.js} +1 -1
- package/build/esm/{index-b9b24ca2.js → index-811e43af.js} +1 -1
- package/build/esm/{index-2203a212.js → index-8202c8ca.js} +2 -2
- package/build/esm/{index-d918255a.js → index-8328d1f5.js} +1 -1
- package/build/esm/{index-13ce08b0.js → index-840614c4.js} +1 -1
- package/build/esm/{index-e0b456eb.js → index-854fd684.js} +2 -2
- package/build/esm/{index-5126adc2.js → index-85a7cf97.js} +1 -1
- package/build/esm/{index-bb3ce1c9.js → index-8610154f.js} +1 -1
- package/build/esm/{index-2fa481ee.js → index-88e666de.js} +5 -5
- package/build/esm/{index-13ec74cf.js → index-892c80c5.js} +2 -2
- package/build/esm/{index-84f541db.js → index-8a0b7a44.js} +2 -2
- package/build/esm/{index-f33bfdb3.js → index-8bf12ffd.js} +5 -5
- package/build/esm/{index-f86276e0.js → index-8e91f223.js} +1 -1
- package/build/esm/{index-781198de.js → index-91d3539a.js} +1 -1
- package/build/esm/{index-2dce500f.js → index-91fe0f7d.js} +1 -1
- package/build/esm/{index-c9ac0d9f.js → index-92e61c75.js} +4 -4
- package/build/esm/{index-3af6f9df.js → index-957a8723.js} +1 -1
- package/build/esm/{index-2a87a614.js → index-95baf64d.js} +1 -1
- package/build/esm/{index-be64ad81.js → index-96560e6b.js} +6 -6
- package/build/esm/{index-d202dfe4.js → index-96a71449.js} +1 -1
- package/build/esm/{index-5b47151e.js → index-96e03587.js} +1 -1
- package/build/esm/{index-5af3e4dc.js → index-96ec88dc.js} +1 -1
- package/build/esm/{index-3b33913e.js → index-97cf36e9.js} +2 -2
- package/build/esm/{index-1775dc3a.js → index-9861bcce.js} +1 -1
- package/build/esm/{index-cd75f47b.js → index-9c6aba95.js} +5 -5
- package/build/esm/{index-0aa64e17.js → index-9cec682b.js} +1 -1
- package/build/esm/{index-ac3da71e.js → index-9d30115a.js} +1 -1
- package/build/esm/{index-c962c307.js → index-9f0c3d23.js} +90 -90
- package/build/esm/{index-b3853f2d.js → index-9f508501.js} +67 -67
- package/build/esm/{index-366bc68e.js → index-9fded69e.js} +5 -5
- package/build/esm/{index-702d7120.js → index-a040e827.js} +7 -7
- package/build/esm/{index-5ff38fbe.js → index-a1c7a1d3.js} +1 -1
- package/build/esm/{index-cedc42bf.js → index-a1ef0dfb.js} +2 -2
- package/build/esm/{index-f92acdcf.js → index-a341cd3a.js} +20 -20
- package/build/esm/{index-f5c4bedd.js → index-a3450e3a.js} +2 -2
- package/build/esm/{index-c06452d6.js → index-a66ab615.js} +2 -2
- package/build/esm/{index-653461ab.js → index-a68fe318.js} +2 -2
- package/build/esm/{index-5aba40de.js → index-a6ec4a1f.js} +2 -2
- package/build/esm/{index-2b72f423.js → index-a739b0f2.js} +2 -2
- package/build/esm/{index-92157f2b.js → index-aa401a12.js} +3 -3
- package/build/esm/{index-8bc885bc.js → index-aa6e8a23.js} +1 -1
- package/build/esm/{index-df400f0e.js → index-ab505301.js} +1 -1
- package/build/esm/{index-bb19240e.js → index-aba6d5e9.js} +1 -1
- package/build/esm/{index-fc685be4.js → index-af928ea8.js} +5 -5
- package/build/esm/{index-9eb3d512.js → index-b08f2b7f.js} +1 -1
- package/build/esm/{index-cf374e76.js → index-b2b97dfe.js} +4 -4
- package/build/esm/{index-c3c3c09a.js → index-b4777a19.js} +6 -6
- package/build/esm/{index-7e7ba266.js → index-b4e7738a.js} +70 -70
- package/build/esm/{index-e1146a1b.js → index-b5009b84.js} +2 -2
- package/build/esm/{index-d8ad49bc.js → index-b53393d8.js} +1 -1
- package/build/esm/{index-80c26f63.js → index-b6389639.js} +1 -1
- package/build/esm/{index-c280748f.js → index-b6e00ed6.js} +1 -1
- package/build/esm/{index-ffb978c2.js → index-b708f612.js} +2 -2
- package/build/esm/{index-16df4bb2.js → index-b7543403.js} +1 -1
- package/build/esm/{index-190d3b8c.js → index-b78a6353.js} +1 -1
- package/build/esm/{index-7f630300.js → index-b8e9ff6d.js} +18 -18
- package/build/esm/{index-77fba75e.js → index-b9012458.js} +18 -18
- package/build/esm/{index-787a9ea7.js → index-b90d18b4.js} +1 -1
- package/build/esm/{index-a586fbbf.js → index-b964143f.js} +1 -1
- package/build/esm/{index-b16d65cb.js → index-b9b4c003.js} +1 -1
- package/build/esm/{index-55eb71ef.js → index-b9b89034.js} +1 -1
- package/build/esm/{index-f7b2791c.js → index-baf041d3.js} +5 -5
- package/build/esm/{index-8c05e1c5.js → index-bb2246cb.js} +1 -1
- package/build/esm/{index-a91608fb.js → index-bb8d14d4.js} +3 -3
- package/build/esm/{index-8dbb417d.js → index-bbf523d0.js} +2 -2
- package/build/esm/{index-ec88bc28.js → index-beb2b74e.js} +1 -1
- package/build/esm/{index-c38ea7fb.js → index-bf0b002f.js} +1 -1
- package/build/esm/{index-23030907.js → index-c14f9ef7.js} +1 -1
- package/build/esm/{index-2bbfbf39.js → index-c1e3e1fe.js} +1 -1
- package/build/esm/{index-ffd57834.js → index-c33f8e24.js} +22 -22
- package/build/esm/{index-222d7adb.js → index-c3c02da7.js} +100 -100
- package/build/esm/{index-64fd89c1.js → index-c3e3df98.js} +2 -2
- package/build/esm/{index-9ab0ae6e.js → index-c4d78040.js} +1 -1
- package/build/esm/{index-a56d5f98.js → index-c602ffb7.js} +1 -1
- package/build/esm/{index-94b713bb.js → index-c81aaf13.js} +2 -2
- package/build/esm/{index-b92aebc6.js → index-c9332a54.js} +1 -1
- package/build/esm/{index-ad22e4ac.js → index-ca89a8da.js} +90 -90
- package/build/esm/{index-6dc8dda5.js → index-cab24e84.js} +7 -7
- package/build/esm/{index-be2b8018.js → index-cab77d4f.js} +1 -1
- package/build/esm/{index-b27dc3d7.js → index-cafa2d40.js} +1 -1
- package/build/esm/{index-520127c2.js → index-cb25dc4d.js} +3 -3
- package/build/esm/{index-a1de1670.js → index-cb9a8f38.js} +89 -89
- package/build/esm/{index-63bf6cb7.js → index-cbce0fcb.js} +1 -1
- package/build/esm/{index-0c3bd608.js → index-cbe9c4c3.js} +1 -1
- package/build/esm/{index-b7668afa.js → index-ce14845f.js} +3 -3
- package/build/esm/{index-71250ac1.js → index-d2595b89.js} +3 -3
- package/build/esm/{index-c619c2df.js → index-d4aa226c.js} +1 -1
- package/build/esm/{index-32a8d6e7.js → index-d4bcc587.js} +2 -2
- package/build/esm/{index-77935813.js → index-d65ec308.js} +1 -1
- package/build/esm/{index-2292012d.js → index-d701c36f.js} +91 -91
- package/build/esm/{index-2b3b884a.js → index-d91ca04f.js} +1 -1
- package/build/esm/{index-aac9f20a.js → index-db0c7fba.js} +2 -2
- package/build/esm/{index-0ecfbc7e.js → index-df07e8aa.js} +1 -1
- package/build/esm/{index-88008c4f.js → index-e0bcd982.js} +1 -1
- package/build/esm/{index-adbc274c.js → index-e26eedb9.js} +2 -2
- package/build/esm/{index-7209e131.js → index-e2a815cf.js} +5 -5
- package/build/esm/{index-fc760987.js → index-e3eea865.js} +73 -73
- package/build/esm/{index-67047b14.js → index-e4d55efe.js} +2 -2
- package/build/esm/{index-4c0c3f60.js → index-e608a5e2.js} +5 -5
- package/build/esm/{index-fbb27769.js → index-e761e524.js} +1 -1
- package/build/esm/{index-1a93a428.js → index-e7a4bd5e.js} +1 -1
- package/build/esm/{index-531da725.js → index-e95a546e.js} +4 -4
- package/build/esm/{index-2ef6d13f.js → index-e98d2aea.js} +1 -1
- package/build/esm/{index-a4d4a69f.js → index-eb0b9a15.js} +1 -1
- package/build/esm/{index-87afcd27.js → index-ef0bcef6.js} +69 -69
- package/build/esm/{index-685067ba.js → index-f01d879f.js} +1 -1
- package/build/esm/{index-c3cc5141.js → index-f3695af2.js} +2 -2
- package/build/esm/{index-e15211d1.js → index-f3bd1829.js} +2 -2
- package/build/esm/{index-169525f2.js → index-f6c144f9.js} +4 -4
- package/build/esm/{index-81532bf5.js → index-f6c6fd2e.js} +1 -1
- package/build/esm/{index-97c19259.js → index-f73bb67b.js} +3 -3
- package/build/esm/{index-0445770e.js → index-f77d061c.js} +1 -1
- package/build/esm/{index-0b66f856.js → index-fdea9a63.js} +85 -85
- package/build/esm/{index-87c3d6da.js → index-fed037b8.js} +13 -13
- package/build/esm/index.js +1 -1
- package/build/esm/{index.module-17210c67.js → index.module-32ad47fc.js} +1 -1
- package/build/esm/{index.module-81bad49f.js → index.module-3ad97b39.js} +1 -1
- package/build/esm/{index.module-bcb5f9bf.js → index.module-493adbb8.js} +1 -1
- package/build/esm/{index.module-6cdd67cd.js → index.module-77ded21e.js} +1 -1
- package/build/esm/{index.module-af6bc627.js → index.module-957613f1.js} +1 -1
- package/build/esm/{index.module-6d3195fe.js → index.module-d8002147.js} +1 -1
- package/build/esm/{index.module-e6711517.js → index.module-f254faa0.js} +1 -1
- package/build/esm/{index.module-fea597e2.js → index.module-f93f4059.js} +1 -1
- package/build/esm/{useCustomDimensions-64966f25.js → useCustomDimensions-521bee5f.js} +1 -1
- package/build/esm/{ussIsSticky-eaa4e987.js → ussIsSticky-9d34bed7.js} +1 -1
- package/build/types/web-planner-react/src/components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/MultiToggle/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/tests/MultiToggle.contentItem.test.d.ts +2 -0
- package/build/types/web-planner-react/src/tests/MultiToggle.contentItem.test.d.ts.map +1 -0
- package/build/umd/3019.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/631.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/report.html +1 -1
- package/package.json +10 -10
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 3019.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[3019,2105,8073,3125,5573,8566,2610,9638],{70883:(e,n,t)=>{t.r(n),t.d(n,{default:()=>N});var i=t(34988),r=t(9420),o=t(87363),d=t(37707),l=t(74635),a=t(93379),s=t.n(a),c=t(7795),u=t.n(c),p=t(90569),m=t.n(p),x=t(3565),f=t.n(x),g=t(19216),h=t.n(g),v=t(44589),w=t.n(v),b=t(83301),y={};y.styleTagTransform=w(),y.setAttributes=f(),y.insert=m().bind(null,"head"),y.domAPI=u(),y.insertStyleElement=h();s()(b.ZP,y);b.ZP&&b.ZP.locals&&b.ZP.locals;var P=t(37486),j=t(65515),O=t.n(j),S=t(75327),k=t(47514);const N=(0,r.Pi)((function HorizantalGroup(e){var n=e.item,t=e.PaletteComponent,r=n.groups.flatMap((function(e){return e.items})),a=(0,o.useState)(null),s=(0,i.Z)(a,2),c=s[0],u=s[1],p=(0,o.useRef)(0),m=(0,S.NP)(),x=function navigateToOnClick(e){var n=0!==e?e-1:e;p.current=n,null==c||c.slideTo(n)};return(0,o.useEffect)((function(){c&&c.slideTo(p.current,0)}),[c]),(0,o.useEffect)((function(){var e=r.findIndex((function(e){var n;return e.basketId==(null===(n=m.settingsState.addElementSelected)||void 0===n?void 0:n.basketId)}));-1!==e&&x(e)}),[m.settingsState.addElementSelected]),(0,k.jsx)("div",{className:O()(b.tx,b.Ey),id:n.id.toString(),children:(0,k.jsx)(d.tq,{onSwiper:u,resizeObserver:!0,modules:[l.W_],slidesPerView:"auto",style:{width:"fit-content"},spaceBetween:8,scrollbar:!0,slideToClickedSlide:!0,wrapperClass:"no-swiping",children:r.map((function(e,i){return(0,k.jsx)(d.o5,{onClick:function onClick(e){x(i),e.stopPropagation()},children:(0,k.jsx)(t,{paletteType:n.type,paletteId:n.id,item:e},(0,P.getKey)(e))},i)}))})})}))},32105:(e,n,t)=>{t.r(n),t.d(n,{default:()=>d});var i=t(80248),r=(t(87363),t(2765)),o=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}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,i.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 d=function SettingsPaletteGroup(e){return(0,o.jsx)(r.ZP,_objectSpread(_objectSpread({},e),{},{componentName:"Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup"}))}},14581:(e,n,t)=>{t.r(n),t.d(n,{default:()=>O});var i=t(75327),r=t(9420),o=(t(87363),t(70883)),d=t(4903),l=t(93379),a=t.n(l),s=t(7795),c=t.n(s),u=t(90569),p=t.n(u),m=t(3565),x=t.n(m),f=t(19216),g=t.n(f),h=t(44589),v=t.n(h),w=t(53946),b={};b.styleTagTransform=v(),b.setAttributes=x(),b.insert=p().bind(null,"head"),b.domAPI=c(),b.insertStyleElement=g();a()(w.ZP,b);w.ZP&&w.ZP.locals&&w.ZP.locals;var y=t(65515),P=t.n(y),j=t(47514);const O=(0,r.Pi)((function ArticleOverviewWrapper(e){var n=(0,i.NP)(),t=n.settingsState.itemPalettes.get(1);if(!t)return(0,j.jsx)(j.Fragment,{});var r=d.default[t.type];return 1==t.groups.flatMap((function(e){return e.items})).length?(0,j.jsx)(j.Fragment,{}):(0,j.jsx)("div",{className:P()(w.YS,n.uiState.isMobilePortrait?w.ai:void 0,n.uiState.isMobilePortrait&&n.uiState.isTablet?w.Mq:void 0),children:(0,j.jsx)("div",{className:w.u7,children:(0,j.jsx)(o.default,{item:t,PaletteComponent:r})})})}))},68073:(e,n,t)=>{t.r(n),t.d(n,{default:()=>j});var i=t(9420),r=t(75327),o=t(93379),d=t.n(o),l=t(7795),a=t.n(l),s=t(90569),c=t.n(s),u=t(3565),p=t.n(u),m=t(19216),x=t.n(m),f=t(44589),g=t.n(f),h=t(11309),v={};v.styleTagTransform=g(),v.setAttributes=p(),v.insert=c().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=x();d()(h.ZP,v);h.ZP&&h.ZP.locals&&h.ZP.locals;t(87363);var w=t(65515),b=t.n(w),y=t(88683),P=t(47514);const j=(0,i.Pi)((function ReplaceSwitch(e){var n=(0,r.NP)(),t=(0,y.useTranslation)().t;return(0,P.jsxs)("div",{className:b()(h.YS),children:[(0,P.jsx)("div",{onClick:function onClick(){return n.paletteViewHandler.setPlannerReplaceMode(!1,!0)},className:b()(h.LI,n.settingsState.plannerReplaceMode?void 0:h.pA),id:"configurator_plan_tab",children:t("configurator.plan")}),(0,P.jsx)("div",{onClick:function onClick(){n.settingsState.plannerReplaceModeAvailable&&n.paletteViewHandler.setPlannerReplaceMode(!0,!0)},className:b()(h.LI,n.settingsState.plannerReplaceMode?h.pA:void 0,n.settingsState.plannerReplaceModeAvailable?void 0:h.JU),id:"configurator_replace_tab",children:t("configurator.replace")})]})}))},53125:(e,n,t)=>{t.r(n),t.d(n,{default:()=>d});var i=t(80248),r=(t(87363),t(2765)),o=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}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,i.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 d=function ItemVariant(e){return(0,o.jsx)(r.ZP,_objectSpread(_objectSpread({},e),{},{componentName:"Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText"}))}},35573:(e,n,t)=>{t.r(n),t.d(n,{default:()=>_});var i=t(84658),r=t(80248),o=t(34988),d=t(50747),l=t.n(d),a=t(87363),s=t(65515),c=t.n(s),u=t(93379),p=t.n(u),m=t(7795),x=t.n(m),f=t(90569),g=t.n(f),h=t(3565),v=t.n(h),w=t(19216),b=t.n(w),y=t(44589),P=t.n(y),j=t(18135),O={};O.styleTagTransform=P(),O.setAttributes=v(),O.insert=g().bind(null,"head"),O.domAPI=x(),O.insertStyleElement=b();p()(j.ZP,O);j.ZP&&j.ZP.locals&&j.ZP.locals;var S=t(75327),k=t(9420),N=t(74133),R=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}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}const _=(0,k.Pi)((function TextBox(e){var n,t,d=e.item,s=e.paletteId,u=e.style,p=(0,S.NP)(),m=(0,a.useRef)(null),x=d.groups[0].items,f=(0,a.useState)(x[0].freeTextLang),g=(0,o.Z)(f,2),h=g[0],v=g[1],w=function(){var e=(0,i.Z)(l().mark((function _callee(e,n){return l().wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:p.paletteViewHandler.onFreeTextLangChanged(e,n,x[0],s);case 1:case"end":return t.stop()}}),_callee)})));return function updateLangLogic(n,t){return e.apply(this,arguments)}}(),b=null!==(n=p.getViewConfig().languagesForInput)&&void 0!==n?n:[];return(0,R.jsxs)("div",{className:j.O7,ref:function ref(e){return d.htmlRef=e},style:u,children:[(0,R.jsx)("div",{className:c()(j.eR,j.TN,j.t$),children:(0,R.jsx)(N.default,{item:d,isInScroller:!0,isSettingsHeader:!1})}),(0,R.jsx)("div",{className:c()(j.eR,j.F2),children:b.length?(0,R.jsx)(R.Fragment,{children:b.map((function(e){return(0,R.jsxs)("div",{className:j.t,children:[(0,R.jsx)("div",{className:j.kA,children:e}),(0,R.jsx)("input",{className:j.q_,onChange:function onChange(n){return function handleLangTextChange(e,n){m.current&&clearTimeout(m.current),m.current=setTimeout((function(){return w(e,n)}),500),v(_objectSpread(_objectSpread({},h),{},(0,r.Z)({},e,n)))}(e,n.target.value)},type:"text",value:null==h?void 0:h[e]})]},e)}))}):(0,R.jsx)("div",{children:(0,R.jsx)("input",{className:j.q_,onChange:function handleChange(e){x[0]&&(x[0].freeText=e.target.value,p.paletteViewHandler.clickedOnConfigPalette(x[0],"inputbox",s))},type:"text",value:null!==(t=x[0])&&void 0!==t&&t.freeText?x[0].freeText:""})})})]})}))},8812:(e,n,t)=>{t.r(n),t.d(n,{default:()=>O});var i=t(34988),r=t(87363),o=t(93379),d=t.n(o),l=t(7795),a=t.n(l),s=t(90569),c=t.n(s),u=t(3565),p=t.n(u),m=t(19216),x=t.n(m),f=t(44589),g=t.n(f),h=t(60636),v={};v.styleTagTransform=g(),v.setAttributes=p(),v.insert=c().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=x();d()(h.ZP,v);h.ZP&&h.ZP.locals&&h.ZP.locals;var w=t(65515),b=t.n(w),y=t(9420),P=t(21801),j=t(47514);const O=(0,y.Pi)((function MultiToggleSwitch(e){var n=e.values,t=e.items,o=(0,i.Z)(e.state,2),d=o[0],l=o[1],a=e.round,s=100/n.length,c=(0,r.useState)([]),u=(0,i.Z)(c,2),p=u[0],m=u[1];return(0,r.useEffect)((function(){n.some((function(e){return!e.endsWith("cm")}))?m(n):m(n.map((function(e,t){return e.replace("cm","")+(t==n.length-1?"cm":"")})))}),[n]),(0,j.jsx)("div",{className:h.YS,style:{borderRadius:a?"100px":void 0},children:(0,j.jsxs)("div",{className:h.No,children:[p.map((function(e,n){var i;return(0,j.jsx)("div",{style:{width:s+"%"},children:(0,j.jsxs)("label",{onClick:function onClick(){return l(n)},className:b()(h.F2,d===n&&h.pA),children:[e,(null===(i=t[n])||void 0===i?void 0:i.contentItemId)&&(0,j.jsx)(P.default,{item:t[n],style:{top:-4}},t[n].codex)]})},n)})),(0,j.jsx)("div",{className:h.wb,style:{left:d/n.length*100+"%",width:s+"%",borderRadius:a?"100px":void 0}})]})})}))},90631:(e,n,t)=>{t.r(n),t.d(n,{default:()=>k});var i=t(34988),r=t(87363),o=t(9420),d=t(75327),l=t(8812),a=t(93379),s=t.n(a),c=t(7795),u=t.n(c),p=t(90569),m=t.n(p),x=t(3565),f=t.n(x),g=t(19216),h=t.n(g),v=t(44589),w=t.n(v),b=t(7182),y={};y.styleTagTransform=w(),y.setAttributes=f(),y.insert=m().bind(null,"head"),y.domAPI=u(),y.insertStyleElement=h();s()(b.ZP,y);b.ZP&&b.ZP.locals&&b.ZP.locals;var P=t(65515),j=t.n(P),O=t(21801),S=t(47514);const k=(0,o.Pi)((function MultiToggleComponent(e){var n,t=e.item,o=e.style,a=e.round,s=e.paletteId,c=(0,d.NP)(),u=(0,r.useState)([]),p=(0,i.Z)(u,2),m=p[0],x=p[1],f=(0,r.useState)([]),g=(0,i.Z)(f,2),h=g[0],v=g[1],w=(0,r.useState)(),y=(0,i.Z)(w,2),P=y[0],k=y[1],N=(0,r.useState)(!1),R=(0,i.Z)(N,2),_=R[0],I=R[1];(0,r.useEffect)((function(){var e=t.groups.flatMap((function(e){return e.items})),n=e.every((function(e){return e.text.endsWith("cm")}));x(e),I(n),v(e.map((function(e){return n?e.text.replace("cm",""):e.text}))),k(e.findIndex((function(e){return e.sel})))}),[t]);return 0===m.length?(0,S.jsx)(S.Fragment,{}):(0,S.jsxs)("div",{className:b.O7,ref:function ref(e){return t.htmlRef=e},style:o,children:[(0,S.jsxs)("div",{className:j()(b.eR,b.TN),children:[t.name+(_?" (cm)":""),(null===(n=t.selectedElements)||void 0===n?void 0:n[0].contentItemId)&&(0,S.jsx)(O.default,{item:t.selectedElements[0],style:{position:"relative"}},t.selectedElements[0].codex)]}),(0,S.jsx)("div",{className:j()(b.eR,b.ZN),children:(0,S.jsx)(l.default,{items:m,values:h,state:[P,function onChangeValue(e){k(e);var n=m[e];n&&c.paletteViewHandler.clickedOnConfigPalette(n,void 0,s)}],round:a})})]})}))},68686:(e,n,t)=>{t.r(n),t.d(n,{default:()=>k});var i=t(34988),r=t(87363),o=t(9420),d=t(75327),l=t(65515),a=t.n(l),s=t(93379),c=t.n(s),u=t(7795),p=t.n(u),m=t(90569),x=t.n(m),f=t(3565),g=t.n(f),h=t(19216),v=t.n(h),w=t(44589),b=t.n(w),y=t(23623),P={};P.styleTagTransform=b(),P.setAttributes=g(),P.insert=x().bind(null,"head"),P.domAPI=p(),P.insertStyleElement=v();c()(y.ZP,P);y.ZP&&y.ZP.locals&&y.ZP.locals;var j=t(21801),O=t(91087),S=t(47514);const k=(0,o.Pi)((function Radio(e){var n=e.item,t=e.style,o=e.paletteId,l=e.displayMode,s=e.hidePricePreview,c=(0,d.NP)(),u=(0,r.useState)([]),p=(0,i.Z)(u,2),m=p[0],x=p[1],f=(0,r.useState)(),g=(0,i.Z)(f,2),h=g[0],v=g[1],w=(0,r.useState)(l||"boxed"),b=(0,i.Z)(w,2),P=b[0],k=(b[1],(0,r.useState)(!1)),N=(0,i.Z)(k,2),R=N[0],_=N[1];(0,r.useEffect)((function(){var e=n.groups.flatMap((function(e){return e.items})),t=e.every((function(e){return e.text.endsWith("cm")}));x(e),_(t),v(e.findIndex((function(e){return e.sel})))}),[n]);var I=function onChangeValue(e){v(e);var n=m[e];n&&c.paletteViewHandler.clickedOnConfigPalette(n,void 0,o)};if(0===m.length)return(0,S.jsx)(S.Fragment,{});var C=function getLabelText(e){return R?e.text.replace("cm",""):e.text};return(0,S.jsxs)("div",{className:y.YS,ref:function ref(e){return n.htmlRef=e},style:t,children:[(0,S.jsx)("div",{className:y.TN,children:n.name+(R?" (cm)":"")}),"boxed"===P?function renderBoxed(){return(0,S.jsx)("div",{className:y.UH,children:m.map((function(e,n){return(0,S.jsxs)("div",{className:a()(y.dm,h===n&&y.hv),onClick:function onClick(){return I(n)},children:[(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:C(e)}}),e.contentItemId&&(0,S.jsx)(j.default,{item:e},e.codex),!s&&void 0!==e.pricePreviewPromise&&(0,S.jsx)(O.default,{asyncPricePreview:e.pricePreviewPromise,sel:e.sel})]},n)}))})}():function renderList(){return(0,S.jsx)("div",{className:y.Lc,children:m.map((function(e,n){return(0,S.jsxs)("div",{className:y.vd,onClick:function onClick(){return I(n)},children:[(0,S.jsx)("div",{className:a()(y.w5,h===n&&y.hv),children:(0,S.jsx)("div",{className:a()(y.gB,h===n&&y.hv)})}),(0,S.jsx)("div",{className:a()(y.PS,h===n&&y.hv),dangerouslySetInnerHTML:{__html:C(e)}}),e.contentItemId&&(0,S.jsx)(j.default,{item:e},e.codex),!s&&void 0!==e.pricePreviewPromise&&(0,S.jsx)(O.default,{asyncPricePreview:e.pricePreviewPromise,sel:e.sel})]},n)}))})}()]})}))},28566:(e,n,t)=>{t.r(n),t.d(n,{default:()=>k});var i=t(34988),r=t(87363),o=t(9420),d=t(75327),l=t(96935),a=t(74133),s=t(93379),c=t.n(s),u=t(7795),p=t.n(u),m=t(90569),x=t.n(m),f=t(3565),g=t.n(f),h=t(19216),v=t.n(h),w=t(44589),b=t.n(w),y=t(74219),P={};P.styleTagTransform=b(),P.setAttributes=g(),P.insert=x().bind(null,"head"),P.domAPI=p(),P.insertStyleElement=v();c()(y.ZP,P);y.ZP&&y.ZP.locals&&y.ZP.locals;var j=t(65515),O=t.n(j),S=t(47514);const k=(0,o.Pi)((function SliderComponent(e){var n=e.item,t=e.style,o=e.paletteId,s=(0,d.NP)(),c=(0,r.useState)({}),u=(0,i.Z)(c,2),p=u[0],m=u[1],x=(0,r.useState)([]),f=(0,i.Z)(x,2),g=f[0],h=f[1],v=(0,r.useState)(),w=(0,i.Z)(v,2),b=w[0],P=w[1],j=function onChangeComplete(e){void 0!==(null!=e?e:b)&&s.paletteViewHandler.clickedOnConfigPalette(g[null!=e?e:b],void 0,o)};return(0,r.useEffect)((function(){var e=n.groups.flatMap((function(e){return e.items}));h(e),P(e.findIndex((function(e){return e.sel}))),m(e.reduce((function(e,n,t){return e[t]=n.text,e}),{}))}),[n]),0===g.length?(0,S.jsx)(S.Fragment,{}):(0,S.jsxs)("div",{style:t,className:O()(y.YS,"no-swiping"),children:[(0,S.jsx)(a.default,{isInScroller:!0,isSettingsHeader:!1,item:n}),(0,S.jsx)("div",{className:y.sL,children:(0,S.jsx)(l.Z,{marks:p,trackStyle:{backgroundColor:"#e9e9e9"},value:b,onChange:function onChange(e){Array.isArray(e)&&(e=e[0]),P(e),j(e)},onChangeComplete:j,min:Number(Object.keys(p)[0]),max:Number(Object.keys(p)[Object.keys(p).length-1])})})]})}))},2610:(e,n,t)=>{t.r(n),t.d(n,{default:()=>N});var i=t(88683),r=t(75327),o=t(87363),d=t(9420),l=t(20638),a=t(65515),s=t.n(a),c=t(93379),u=t.n(c),p=t(7795),m=t.n(p),x=t(90569),f=t.n(x),g=t(3565),h=t.n(g),v=t(19216),w=t.n(v),b=t(44589),y=t.n(b),P=t(77113),j={};j.styleTagTransform=y(),j.setAttributes=h(),j.insert=f().bind(null,"head"),j.domAPI=m(),j.insertStyleElement=w();u()(P.ZP,j);P.ZP&&P.ZP.locals&&P.ZP.locals;var O=t(74133),S=t(47514),k=function getSkeletons(e,n){var t=0;e>n&&(t=e-n);var i=[];if(t)for(var r=t-1;r>=0;r--)i.push(e-r);return i};const N=(0,d.Pi)((function PromotedProducts(e){var n,t,d,a=e.item,c=(0,i.useDivaCore)(),u=c.actions.openComponent,p=c.handler.productHandler,m=c.state,x=m.organization,f=m.hidePrices,g=(0,r.NP)(),h=g.settingsState,v=g.getViewConfig().productsConfig,w=(0,o.useRef)(!1),b=(0,o.useRef)(!1),y=(0,o.useCallback)((function(e){g.uiState.isLogicLoading||null!=h.promotedOptimisticProductId||w.current||(w.current=!0,b.current=!1,h.setPromotedOptimisticProductId(e),u({type:"DIVA_WEBPLANNER",parameters:{productId:e},internal:{forceReload:"1",keepCache:"1"}}))}),[u,h,g.uiState]),j=null!==(n=g.configState.productId)&&void 0!==n?n:!g.configState.divaNr&&g.divaWebPlanner.getStartProductId(),N=null!==(t=h.promotedOptimisticProductId)&&void 0!==t?t:j;(0,o.useEffect)((function(){w.current&&(g.uiState.isLogicLoading?b.current=!0:b.current&&(w.current=!1,b.current=!1,h.setPromotedOptimisticProductId(null)))}),[h,g.uiState.isLogicLoading]),(0,o.useEffect)((function(){h.setPromotedOptimisticProductId(null)}),[x._id,h]);var R=null===(d=g.divaWebPlanner.getCatalogData())||void 0===d?void 0:d.catalogCodex;(0,o.useEffect)((function(){var e;g.uiState.isLogicLoading||h.loadPromotedProducts(p,x._id,R,null===(e=g.divaWebPlanner)||void 0===e?void 0:e.getCurPlannerType(),v)}),[x._id,g.uiState.isLogicLoading,R]);var _=h.promotedGroups,I=null!=v&&v.maxCount&&v.showSkeletions?k(v.maxCount,_.length):[],C=g.uiState.isLogicLoading||null!=h.promotedOptimisticProductId||w.current;return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(O.default,{isInScroller:!1,isSettingsHeader:!0,item:a}),(0,S.jsxs)("div",{className:s()(P.Ry,C?P.Z_:void 0),"aria-disabled":C,children:[_.map((function(e,n){var t;return(0,S.jsx)(l.p,{settings:{contentBoxProps:{type:"ProductGallery",products:e.items,groupVariantsByField:["dc_color","dc_mainColor"],onClick:y,imageWrapperStyle:{aspectRatio:"unset"},wrapperStyle:e.items.find((function(e){return e._id==N}))?{border:"1px solid var(--diva-theme-palette-primary-main)",borderRadius:"5px"}:void 0,imageStyle:{aspectRatio:"14.5 / 10",objectFit:"scale-down",objectPosition:"bottom"},hidePrices:null!==(t=f||g.getViewConfig().promotedHidePrices)&&void 0!==t&&t}}},e._id)})),I.map((function(e){return(0,S.jsx)("div",{className:P.F1,children:(0,S.jsx)("div",{children:e})},e)}))]})]})}))},59638:(e,n,t)=>{t.r(n),t.d(n,{default:()=>g});var i=t(84658),r=t(34988),o=t(50747),d=t.n(o),l=t(9420),a=t(87363),s=t(37707),c=t(74635),u=t(75327),p=t(88683),m=t(44353),x=t(44874),f=t(47514);const g=(0,l.Pi)((function StyleConsultant(e){e.item;var n,t,o,l,g,h,v,w,b,y,P,j,O,S,k=(0,p.useTranslation)().t,N=(0,u.NP)(),R=N.aiState,_=(0,a.useState)(!1),I=(0,r.Z)(_,2),C=I[0],D=I[1],A=(0,a.useState)(null),T=(0,r.Z)(A,2),E=T[0],G=T[1],Z=(0,a.useState)(!1),L=(0,r.Z)(Z,2),z=L[0],M=L[1];if(null===(n=N.getViewConfig())||void 0===n||!n.showStyleConsultant||null===(t=R.enrichedAiRoomRenderings())||void 0===t||!t.length)return(0,f.jsx)("div",{className:m.nC,children:(0,f.jsx)("p",{className:m.tS,children:k("configurator.roomRendering.noStylesAvailable","Keine Stilwelten verfügbar.")})});var F=R.enrichedAiRoomRenderings(),B=null!==(o=F.find((function(e){return e.key===R.selectedRoom})))&&void 0!==o?o:F[0],K=R.usageBudget,V=null!==(l=null==K?void 0:K.remaining)&&void 0!==l?l:0,H=null!==(g=null===(h=N.settingsState.organizationAISettings)||void 0===h?void 0:h.leadRewardBonus)&&void 0!==g?g:0,W=(null!==(v=null===(w=N.getViewConfig())||void 0===w?void 0:w.aiPromptExamples)&&void 0!==v?v:[]).map((function(e){return k(e)})),U=R.generatedImageHistory,Y=null===(b=R.aiGenerationErrors[null!==(y=null==B?void 0:B.key)&&void 0!==y?y:""])||void 0===b?void 0:b[R.setHash],X=U.some((function(e){return e.key===(null==B?void 0:B.key)&&e.hash===R.setHash&&(e.customPrompt||"")===(R.customPromptInput||"")}));return(0,a.useEffect)((function(){M(!1)}),[U.length]),(0,f.jsxs)("div",{className:m.nC,children:[(0,f.jsx)("h1",{className:m.Se,children:k("configurator.inspiration.headline")}),U.length>0?(0,f.jsxs)("div",{className:m.YO,children:[(0,f.jsx)("h4",{className:m.fU,children:k("configurator.inspiration.sceneHistory")}),(0,f.jsx)("div",{className:m._g,children:(0,f.jsxs)(s.tq,{modules:[c.W_],spaceBetween:8,slidesPerView:"auto",navigation:!0,wrapperClass:"no-swiping",resizeObserver:!0,children:[(0,f.jsx)(s.o5,{onClick:function onClick(){R.isAnyGenerationInProgress&&R.focusLoadingSlide()},children:(0,f.jsxs)("div",{className:"".concat(m.X4," ").concat(z||R.isLoadingSlideActive?m.tj:""),children:[z&&null!=B&&B.image?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("img",{src:B.image,alt:B.name,className:m.p5}),B.name&&(0,f.jsx)("span",{className:m.cM,children:B.name})]}):(0,f.jsx)("span",{className:m.tg,children:"✨"}),R.isAnyGenerationInProgress&&(0,f.jsx)("div",{className:m.lH,children:(0,f.jsx)("span",{className:m.fF})})]})},"placeholder"),U.map((function(e,n){var t,i,r=null===(t=F.find((function(n){return n.key===e.key})))||void 0===t?void 0:t.name,o=!z&&!R.isLoadingSlideActive&&(null===(i=R.currentlyVisibleRoom)||void 0===i?void 0:i.src)===e.src;return(0,f.jsx)(s.o5,{onClick:function onClick(){M(!1),R.useAiGeneratedRoom(e.key,e.hash,!1,e.src)},children:(0,f.jsxs)("div",{className:"".concat(m.bx," ").concat(o?m.Yh:""),children:[(0,f.jsx)("img",{src:e.src}),r&&(0,f.jsx)("span",{className:m.cM,children:r})]})},"".concat(e.key,"-").concat(e.hash,"-").concat(n))}))]})})]}):(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("p",{className:m.mY,children:k("configurator.inspiration.subheadline")}),(0,f.jsxs)("div",{className:m.Mt,children:[(0,f.jsx)("img",{src:null==B?void 0:B.image,alt:null==B?void 0:B.name,className:m.aH}),B&&(0,f.jsxs)("div",{className:m.sG,children:[(0,f.jsx)("h3",{className:m.cU,children:B.name}),!!B.description&&(0,f.jsx)("p",{className:m.Nz,children:B.description})]})]})]}),(0,f.jsx)("div",{className:m.Xf,children:(0,f.jsx)("div",{className:m.is,children:(0,f.jsx)(s.tq,{modules:[c.W_],spaceBetween:10,slidesPerView:"auto",navigation:!0,wrapperClass:"no-swiping",resizeObserver:!0,onSwiper:G,children:F.map((function(e,n){return(0,f.jsx)(s.o5,{children:(0,f.jsxs)("button",{type:"button",className:"".concat(m.ch," ").concat(R.selectedRoom===e.key?m.w:""),onClick:function onClick(){R.setSelectedRoom(e.key),M(!0),null==E||E.slideTo(n)},disabled:R.isAnyGenerationInProgress,title:e.name,children:[(0,f.jsx)("img",{src:e.image,alt:e.name,className:m.Te}),(0,f.jsx)("span",{className:m.lr,children:e.name})]})},e.key)}))})})}),(0,f.jsx)("div",{className:m.RF,children:V>0&&!C?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("button",{type:"button",className:m.N1,onClick:function onClick(){return B&&R.handleGenerate(B.key,!0)},disabled:!B||R.isAnyGenerationInProgress||null!==(P=null==K?void 0:K.isLimitReached)&&void 0!==P&&P||X,children:[(0,f.jsx)("span",{children:X?k("configurator.inspiration.generated"):R.isAnyGenerationInProgress?k("configurator.inspiration.generating"):k(Y?"configurator.inspiration.retry":"configurator.inspiration.generate")}),!X&&!R.isAnyGenerationInProgress&&(0,f.jsx)("span",{className:m.L_,children:k("configurator.inspiration.generateTime","(ca. 20 Sek.)")})]}),Y&&(0,f.jsx)("p",{className:m.N3,children:k(Y,k("configurator.roomRendering.aiGenerationError.imageSafety"===Y?"configurator.inspiration.imageSafetyError":"configurator.roomRendering.aiGenerationError.resourceExhausted"===Y?"configurator.inspiration.resourceExhaustedError":"configurator.inspiration.unknownError"))}),(0,f.jsx)("p",{className:m.fh,children:1===V?k("configurator.inspiration.remainingOne"):k("configurator.inspiration.remaining",{scenesRemaining:V})})]}):(0,f.jsx)(x.default,{budgetTotal:null!==(j=null==K?void 0:K.total)&&void 0!==j?j:3,leadBonus:H,leadKeyActive:null!==(O=null==K?void 0:K.leadKeyActive)&&void 0!==O&&O,onSubmit:function(){var e=(0,i.Z)(d().mark((function _callee(e){var n;return d().wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:return D(!0),t.next=3,R.createLeadKey(e);case 3:return n=t.sent,t.abrupt("return",null!=n?n:{success:!1});case 5:case"end":return t.stop()}}),_callee)})));return function(n){return e.apply(this,arguments)}}(),onSuccess:function onSuccess(){return D(!1)}})}),V>0&&!C&&(0,f.jsxs)("div",{className:m.a9,children:[(0,f.jsx)("p",{className:m.fQ,children:k("configurator.inspiration.customPromptToggle","Optional: Bild personalisieren")}),(0,f.jsx)("input",{type:"text",className:m.pl,value:null!==(S=R.customPromptInput)&&void 0!==S?S:"",onChange:function onChange(e){return R.setCustomPromptInput(e.target.value)},placeholder:k("configurator.inspiration.customPlaceholder")}),W.length>0&&(0,f.jsx)("div",{className:m.fZ,children:(0,f.jsx)(s.tq,{spaceBetween:8,slidesPerView:"auto",wrapperClass:"no-swiping",resizeObserver:!0,children:W.map((function(e){return(0,f.jsx)(s.o5,{children:(0,f.jsx)("button",{type:"button",className:m.HM,onClick:function onClick(){return R.setCustomPromptInput(e)},children:e})},e)}))})})]}),(0,f.jsx)("button",{type:"button",className:m.MZ,onClick:function onClick(){var e=N.tabGroupState.firstVisibleConfigStep;e&&N.navigateToConfigStep(e.key)},children:k("configurator.inspiration.tryVariant")})]})}))},78717:(e,n,t)=>{t.r(n),t.d(n,{default:()=>x});t(87363);var i=t(65515),r=t.n(i),o=t(550),d=t(75327),l=t(85092),a=t(88683),s=t(21801),c=t(91087),u=t(19456),p=t(47514),m=(0,a.getLogger)("Planner","ToggleName");const x=function ToggleName(e){var n,t,i,a=e.item,x=e.paletteId,f=e.style,g=(0,d.NP)(),h=a.groups[0].items;if(!h)return(0,p.jsx)(p.Fragment,{});for(var v=0;v<h.length;v++){var w,b;null!==(w=h[v].codex)&&void 0!==w&&w.startsWith("OPVNEIN")&&(i=h[v]),null!==(b=h[v].codex)&&void 0!==b&&b.startsWith("OPVJA")&&(t=h[v])}if(!(i&&t||(2==h.length&&(i=h[0],t=h[1]),i&&t)))return m.warn("Achtung! Bei der Option: "+h[0].op+" gibt es keine eindeutige werte für JA und NEIN","WC_0011"),a.isVisited=!0,(0,p.jsx)(p.Fragment,{});var y=0==i.sel,P=null!==(n=a.selectedElements)&&void 0!==n&&n[0].contentItemId?a.selectedElements[0]:a.optionContentItemId?{contentItemId:a.optionContentItemId,codex:a.configStepKey}:void 0;return(0,p.jsxs)("div",{className:o.O7,ref:function ref(e){return a.htmlRef=e},style:f,children:[(0,p.jsxs)("div",{className:r()(o.Fl,o.TN,o.u2),onClick:function onClick(){g.paletteViewHandler.clickedOnConfigPalette(i,void 0,x)},children:[void 0!==i.pricePreviewPromise&&(0,p.jsx)(c.default,{asyncPricePreview:i.pricePreviewPromise,sel:i.sel}),(0,p.jsx)("div",{className:y?void 0:o.pA,dangerouslySetInnerHTML:{__html:i.text}})]}),(0,p.jsx)("div",{className:r()(o.Fl,o.ZN),children:(0,p.jsx)(l.default,{onChange:function onChange(){g.paletteViewHandler.clickedOnConfigPalette(i.sel?t:i,void 0,x)},val:a,alwaysActiveColor:!0,state:y})}),(0,p.jsxs)("div",{className:r()(o.Fl,o.TN,o.u2),onClick:function onClick(){g.paletteViewHandler.clickedOnConfigPalette(t,void 0,x)},children:[void 0!==t.pricePreviewPromise&&(0,p.jsx)(c.default,{asyncPricePreview:t.pricePreviewPromise,sel:t.sel}),void 0!==t.checkForReversingChanges&&(0,p.jsx)(u.default,{item:t,paletteId:x}),(0,p.jsx)("div",{className:y?o.pA:void 0,dangerouslySetInnerHTML:{__html:t.text}})]}),P&&(0,p.jsx)(s.default,{item:P,style:{position:"relative"}},a.configStepKey)]})}},88584:(e,n,t)=>{t.r(n),t.d(n,{default:()=>g});t(87363);var i=t(65515),r=t.n(i),o=t(550),d=t(75327),l=t(85092),a=t(9420),s=t(88683),c=t(69369),u=t(21801),p=t(91087),m=t(19456),x=t(47514),f=(0,s.getLogger)("Planner","ToggleOption");const g=(0,a.Pi)((function ToggleOption(e){var n,t,i,a=e.item,s=e.paletteId,g=e.style,h=(0,d.NP)(),v=a.groups[0].items;if(!v)return(0,x.jsx)(x.Fragment,{});for(var w=0;w<v.length;w++){var b,y;null!==(b=v[w].codex)&&void 0!==b&&b.startsWith("OPVNEIN")&&(i=v[w]),null!==(y=v[w].codex)&&void 0!==y&&y.startsWith("OPVJA")&&(t=v[w])}if(!(i&&t||(2==v.length&&(i=v[0],t=v[1]),i&&t)))return f.error(new c.GE("Achtung! Bei der Option: "+v[0].op+" gibt es keine eindeutige werte für JA und NEIN",{code:"WC_0011"})),a.isVisited=!0,(0,x.jsx)(x.Fragment,{});var P=null!==(n=a.selectedElements)&&void 0!==n&&n[0].contentItemId?a.selectedElements[0]:a.optionContentItemId?{contentItemId:a.optionContentItemId,codex:a.configStepKey}:void 0;return(0,x.jsxs)("div",{className:o.O7,ref:function ref(e){return a.htmlRef=e},style:g,children:[(0,x.jsx)("div",{className:r()(o.eR,o.TN),children:a.name}),(0,x.jsxs)("div",{className:r()(o.eR,o.ZN),children:[void 0!==i.pricePreviewPromise&&(0,x.jsx)(p.default,{asyncPricePreview:i.pricePreviewPromise,sel:i.sel,pos:"left"}),(0,x.jsx)(l.default,{onChange:function onChange(){h.paletteViewHandler.clickedOnConfigPalette(i.sel?t:i,void 0,s)},val:a,state:0==i.sel,off:i.text,on:t.text}),void 0!==t.pricePreviewPromise&&(0,x.jsx)(p.default,{asyncPricePreview:t.pricePreviewPromise,sel:t.sel,pos:"right"}),void 0!==t.checkForReversingChanges&&(0,x.jsx)(m.default,{item:t,paletteId:s})]}),P&&(0,x.jsx)(u.default,{item:P,style:{bottom:"calc(50% - 10px)",right:"20px"}},a.configStepKey)]})}))},86663:(e,n,t)=>{t.r(n),t.d(n,{default:()=>_});var i=t(80248),r=t(87363),o=t(93379),d=t.n(o),l=t(7795),a=t.n(l),s=t(90569),c=t.n(s),u=t(3565),p=t.n(u),m=t(19216),x=t.n(m),f=t(44589),g=t.n(f),h=t(98404),v={};v.styleTagTransform=g(),v.setAttributes=p(),v.insert=c().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=x();d()(h.ZP,v);h.ZP&&h.ZP.locals&&h.ZP.locals;var w=t(65515),b=t.n(w),y=t(11994),P=t(74133),j=t(68073),O=t(9420),S=t(75327),k=t(14581),N=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}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,i.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=(0,r.lazy)((function(){return Promise.all([t.e(7853),t.e(6343)]).then(t.bind(t,66343))}));const _=(0,O.Pi)((function ItemWrapper(e){var n,t=e.item,i=e.style,o=e.children,d=e.zIndexBase,l=(0,S.NP)(),a=t.isHeader?(0,N.jsx)(N.Fragment,{}):(0,N.jsx)(P.default,{isInScroller:!0,isSettingsHeader:!1,item:t}),s=t.type.startsWith("ART"),c=s&&l.settingsState.planner2Dot0Active;return(0,N.jsxs)("div",{className:b()(h.fM,{wcFilterVisible:t.filterVisible}),ref:function ref(e){return t.htmlRef=e},id:t.configStepKey,style:_objectSpread(_objectSpread({},i),{},{zIndex:(null!=d?d:0)+Math.round(100/(t.id+1))}),children:[!c&&a,(0,N.jsx)(y.default,{stepInfo:t.info}),!(null===(n=t.conceptFilter)||void 0===n||!n.length)&&(0,N.jsx)(r.Suspense,{fallback:(0,N.jsx)(N.Fragment,{}),children:(0,N.jsx)(R,{additionalGroupFilter:t.conceptFilter,paletteId:t.id})}),c&&(0,N.jsx)(k.default,{}),t.description&&(0,N.jsx)("div",{className:h.WL,dangerouslySetInnerHTML:{__html:t.description}}),s&&!c&&l.settingsState.doShowReplaceMode&&(!l.paletteViewHandler.plannerItems.DoShowAdditionalPlannerElements||2==t.id)&&(0,N.jsx)(j.default,{}),c&&a,o]})}))},37486:(e,n,t)=>{t.r(n),t.d(n,{default:()=>T,getKey:()=>A});var i=t(80248),r=t(34988),o=t(87363),d=t.n(o),l=t(9420),a=t(86468),s=t(35573),c=t(53125),u=t(32105),p=t(3985),m=t(88584),x=t(75327),f=t(31210),g=t(2610),h=t(59638),v=t(78717),w=t(4903),b=t(86663),y=t(28566),P=t(90631),j=t(68686),O=t(88683);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}var S=function useGridVariables(e){var n=(0,x.NP)(),t=(0,O.useDivaCore)().state.dimensions,r=(0,o.useMemo)((function(){var t,r,o,d,l,a,s=null!==(t=n.uiState.ViewConfig.settingsSizes)&&void 0!==t?t:{},c=null!==(r=null===(o=n.settingsState.settingsScrollerElement)||void 0===o?void 0:o.getBoundingClientRect().width)&&void 0!==r?r:0,u=null!==(d=null==s?void 0:s.gapDefault)&&void 0!==d?d:"10px",p=null!==(l=null==s?void 0:s.sizeDefault)&&void 0!==l?l:"300px",m=void 0;if(["SUMMARY_ARTICLES","SUMMARY_OPTIONTREE","VARIANTS"].includes(e.type))p="calc(100% - 20px)";else if(["GAL_GROUP_DROPDOWN","GAL_BIG"].includes(e.type))p="100px";else if("ACC"==e.type)s.sizeAccessoires&&(p=s.sizeAccessoires);else if("ACC_CONFIG"==e.type)p="100%";else if("RANGE"==e.type)p="100%";else if("GAL"==e.type){var x,f;p=null!==(x=null==s?void 0:s.sizeGallery)&&void 0!==x?x:"80px",u=null!==(f=null==s?void 0:s.gapGallery)&&void 0!==f?f:"10px"}else"PLANNERSWITCH"===e.type?p="170px":"SMALL"===e.type&&n.getIsInMobileView()&&"jungle"==(null===(a=n.uiState.templateConfigKeys)||void 0===a?void 0:a.ItemDefault)?p="120px":"VERY_SMALL"===e.type?p="48%":"GAL_TEXT_2"==e.type?p=c>700||c>550?"120px":c>400?"90px":"70px":"GAL_TEXT"==e.type||"SHELFPLANNER"===e.type&&n.productState.shelfPlannerRTV?p=c>700||c>550?"100px":c>400||!n.uiState.isInMobileView?"90px":"80px":"GAL_BIG_TEXT_2"==e.type?p=c>700?"190px":c>550?"170px":c>400?"145px":"130px":"GAL_BIG_TEXT"==e.type?p=c>700||c>550?"120px":c>400?"110px":"100px":["GAL_SMALL_TEXT_2","PLANNER_2.0","ART_2"].includes(e.type)?(p=c>700?"105px":c>550?"95px":c>400?"80px":"70px",u="8px"):"GAL_SMALL_TEXT"==e.type?(p=c>700?"75px":c>550?"70px":c>400?"55px":"50px",u="6px"):"GAL_VERY_SMALL_TEXT"==e.type?(p="60px",u="6px"):e.type.startsWith("GAL_SMALL")&&(p="60px");return["GAL_SMALL_GROUP_DROPDOWN","TOGGLE","TOGGLE_NAME","DROPDOWN_IMAGE","DROPDOWN_TEXT"].includes(e.type)&&(m="20px"),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,i.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}({"--gridSize":p,"--gridGap":u},m?{"--infoIconSize":m}:{})}),[e,n.uiState.ViewConfig.settingsSizes,n.settingsState.settingsScrollerElement,t]);return r},k=t(36709),N=t(32699),R=t(47514);function SettingsItem_ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function SettingsItem_objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?SettingsItem_ownKeys(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):SettingsItem_ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var _=d().lazy((function(){return Promise.all([t.e(9944),t.e(7442)]).then(t.bind(t,67442))})),I=d().lazy((function(){return Promise.all([t.e(2976),t.e(1270)]).then(t.bind(t,21270))})),C=d().lazy((function(){return Promise.all([t.e(1849),t.e(3142)]).then(t.bind(t,33142))})),D=["SHELFPLANNER","PLANNER_2.0","CHECKOUT","PRODUCTS","PROMOTED","STYLE_CONSULTANT","DOOR_PLANNER","SUMMARY","SUMMARY_OPTIONTREE","SUMMARY_ARTICLES","VARIANTS"],A=function getKey(e){var n,t,i,r;return e.isTabGroup?e.tabgroupName+e.title:null!==(n=null!==(t=null!==(i=null!==(r=e.basketId)&&void 0!==r?r:e.codex)&&void 0!==i?i:e.key)&&void 0!==t?t:e.articleCodex)&&void 0!==n?n:e.title};const T=(0,l.Pi)((function SettingsPaletteItem(e){var n,t=e.item,i=e.zIndexBase,d=(0,x.NP)(),l=(0,N.me)(),O=S(t),T=w.default[t.type];if(void 0===T)throw new Error("component type: '"+t.type+"' not implemented");var E=(0,o.useState)([]),G=(0,r.Z)(E,2),Z=G[0],L=G[1],z=(0,o.useState)([]),M=(0,r.Z)(z,2),F=M[0],B=M[1];(0,o.useEffect)((function(){var e=t.groups.map((function(e){return SettingsItem_objectSpread(SettingsItem_objectSpread({},e),{},{items:t.currentItemsFilter&&"PLANNERSWITCH"!==t.type?e.items.filter((0,a.ZP)(t.currentItemsFilter)):e.items})})),n=e.filter((function(e){return e.items.length>0}));n.length>0&&(e=n),L(n),B(e)}),[t,d.settingsState.itemPalettes]);var K=1===Z.length&&"none"===Z[0].name,V=t.type.startsWith("SUMMARY")?"":p.pw;if(!t.visible)return(0,R.jsx)(R.Fragment,{});if(d.wysiwygDebugState.wysiwygInspectView&&!D.includes(t.type)){var H=l.InspectModeTables;return H?(0,R.jsx)(H,{item:t}):(0,R.jsx)(N.oF,{name:"InspectModeTables"})}switch(t.type){case"TOGGLE":return(0,R.jsx)(m.default,{style:O,item:t,paletteId:t.id});case"TOGGLE_NAME":return(0,R.jsx)(v.default,{style:O,item:t,paletteId:t.id});case"TEXTBOX":return(0,R.jsx)(s.default,{style:O,item:t,paletteId:t.id});case"DROPDOWN_TEXT":case"DROPDOWN_IMAGE":return(0,R.jsx)(c.default,{style:O,item:t,paletteId:t.id});case"NUMBER":return(0,R.jsx)(T,{paletteId:t.id,item:null===(n=t.groups[0])||void 0===n||null===(n=n.items)||void 0===n?void 0:n[0]},t.id+t.configStepKey);case"SLIDER":return(0,R.jsx)(y.default,{style:O,item:t,paletteId:t.id});case"MULTI_TOGGLE":case"MULTI_TOGGLE_ROUND":return(0,R.jsx)(P.default,{style:O,item:t,paletteId:t.id,round:"MULTI_TOGGLE_ROUND"===t.type});case"RADIO":case"RADIO_LIST":return(0,R.jsx)(j.default,{style:O,item:t,paletteId:t.id,displayMode:"RADIO"===t.type?"boxed":"list"});case"SHELFPLANNER":return(0,R.jsx)(o.Suspense,{fallback:(0,R.jsx)(R.Fragment,{}),children:(0,R.jsx)(_,{filteredGroups:Z,item:t,id:t.id,style:O},t.id)});case"PLANNER_2.0":return(0,R.jsx)(R.Fragment,{});case"CHECKOUT":return(0,R.jsx)(k.default,{},t.id);case"PRODUCTS":return(0,R.jsx)(C,{item:t});case"PROMOTED":return(0,R.jsx)(g.default,{item:t});case"STYLE_CONSULTANT":return(0,R.jsx)(h.default,{item:t});case"DOOR_PLANNER":return(0,R.jsx)(o.Suspense,{fallback:(0,R.jsx)(R.Fragment,{}),children:(0,R.jsx)(I,{item:t})});case"GAL_GROUP_DROPDOWN":case"GAL_SMALL_GROUP_DROPDOWN":var W=(0,R.jsx)(f.default,{item:t,PaletteComponent:T,filteredGroups:F,id:t.id,showSearchBar:"GAL_GROUP_DROPDOWN"==t.type,contentInnerClassName:V},t.configStepKey);return(0,R.jsx)(b.default,{style:O,item:t,children:W,zIndexBase:i});default:var U;return U=K?(0,R.jsx)("div",{className:V,children:Z.map((function(e){return e.items.map((function(e,n){return(0,R.jsx)(T,{paletteType:t.type,paletteId:t.id,item:e},A(e))}))}))}):(0,R.jsx)(u.default,{groups:Z,contentInnerClassName:V,itemPalette:t,PaletteComponent:T}),(0,R.jsx)(b.default,{style:O,item:t,children:U,zIndexBase:i})}}))},83301:(e,n,t)=>{t.d(n,{Ey:()=>m,ZP:()=>x,tx:()=>p});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o),l=t(61667),a=t.n(l),s=new URL(t(64197),t.b),c=d()(r()),u=a()(s);c.push([e.id,".index-module--DtwRe.index-module--PGk_O {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n margin: 4px;\n}\n\n/*navigation*/\n\n.index-module--DtwRe.index-module--PGk_O .swiper-slide {\n width: auto;\n width: initial;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-slide:first-child {\n width: auto;\n width: initial;\n margin-left: 46px;\n}\n\n.index-module--DtwRe.index-module--PGk_O .swiper-slide:hover {\n z-index: 1000;\n}\n\n.index-module--DtwRe.index-module--PGk_O .swiper-button-prev,\n.index-module--DtwRe.index-module--PGk_O .swiper-button-next {\n position: absolute;\n top: 50%;\n top: var(--swiper-navigation-top-offset, 50%);\n width: calc(var(--swiper-navigation-size) / 44 * 27);\n height: var(--swiper-navigation-size);\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--swiper-theme-color);\n color: var(--swiper-navigation-color, var(--swiper-theme-color));\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-prev.swiper-button-disabled,\n.index-module--DtwRe.index-module--PGk_O .swiper-button-next.swiper-button-disabled {\n opacity: 0.35;\n cursor: auto;\n pointer-events: none;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-prev.swiper-button-hidden,\n.index-module--DtwRe.index-module--PGk_O .swiper-button-next.swiper-button-hidden {\n opacity: 0;\n cursor: auto;\n pointer-events: none;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-navigation-disabled .swiper-button-prev,\n.index-module--DtwRe.index-module--PGk_O .swiper-navigation-disabled .swiper-button-next {\n display: none !important;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-prev svg,\n.index-module--DtwRe.index-module--PGk_O .swiper-button-next svg {\n width: 100%;\n height: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n transform-origin: center;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-rtl .swiper-button-prev svg,\n.index-module--DtwRe.index-module--PGk_O .swiper-rtl .swiper-button-next svg {\n transform: rotate(180deg);\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-prev,\n.index-module--DtwRe.index-module--PGk_O .swiper-rtl .swiper-button-next {\n left: 10px;\n left: var(--swiper-navigation-sides-offset, 10px);\n right: auto;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-next,\n.index-module--DtwRe.index-module--PGk_O .swiper-rtl .swiper-button-prev {\n right: 10px;\n right: var(--swiper-navigation-sides-offset, 10px);\n left: auto;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-lock {\n display: none;\n}\n/* Navigation font start */\n.index-module--DtwRe.index-module--PGk_O .swiper-button-prev:after,\n.index-module--DtwRe.index-module--PGk_O .swiper-button-next:after {\n text-transform: none !important;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-prev:after,\n.index-module--DtwRe.index-module--PGk_O .swiper-button-next:after {\n font-family: swiper-icons;\n font-size: var(--swiper-navigation-size);\n letter-spacing: 0;\n font-feature-settings: ;\n font-variant: normal;\n font-variant: initial;\n line-height: 1;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-prev:after,\n.index-module--DtwRe.index-module--PGk_O .swiper-rtl .swiper-button-next:after {\n content: 'prev';\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-next,\n.index-module--DtwRe.index-module--PGk_O .swiper-rtl .swiper-button-prev {\n right: 10px;\n right: var(--swiper-navigation-sides-offset, 10px);\n left: auto;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-next:after,\n.index-module--DtwRe.index-module--PGk_O .swiper-rtl .swiper-button-prev:after {\n content: 'next';\n}\n/* Navigation font end */\n\n/*swiper min css*/\n\n@font-face {\n font-family: swiper-icons;\n src: url("+u+');\n font-weight: 400;\n font-style: normal;\n}\n\n.index-module--DtwRe.index-module--PGk_O .swiper {\n position: relative;\n overflow: hidden;\n list-style: none;\n padding: 0;\n z-index: 1;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-vertical.swiper {\n width: 100%;\n}\n\n.index-module--DtwRe.index-module--PGk_O .swiper-vertical > .swiper-wrapper {\n flex-direction: column;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1;\n display: flex;\n align-items: center;\n transition-property: transform;\n box-sizing: content-box;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-android .swiper-slide,\n.index-module--DtwRe.index-module--PGk_O .swiper-wrapper {\n transform: translate3d(0px, 0, 0);\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-pointer-events {\n touch-action: pan-y;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-pointer-events.swiper-vertical {\n touch-action: pan-x;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-slide {\n flex-shrink: 0;\n height: 100%;\n position: relative;\n transition-property: transform;\n}\n\n.index-module--DtwRe.index-module--PGk_O .swiper-vertical .swiper-slide {\n height: auto;\n}\n\n.index-module--DtwRe.index-module--PGk_O .swiper-slide-invisible-blank {\n visibility: hidden;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-autoheight,\n.index-module--DtwRe.index-module--PGk_O .swiper-autoheight .swiper-slide {\n height: auto;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-autoheight .swiper-wrapper {\n align-items: flex-start;\n transition-property: transform, height;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-backface-hidden .swiper-slide {\n transform: translateZ(0);\n backface-visibility: hidden;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-horizontal.swiper-css-mode > .swiper-wrapper {\n scroll-snap-type: x mandatory;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-vertical.swiper-css-mode > .swiper-wrapper {\n scroll-snap-type: y mandatory;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-centered > .swiper-wrapper::before {\n content: \'\';\n flex-shrink: 0;\n order: 9999;\n}\n[dir="ltr"] .index-module--DtwRe.index-module--PGk_O .swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {\n margin-left: var(--swiper-centered-offset-before);\n}\n[dir="rtl"] .index-module--DtwRe.index-module--PGk_O .swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {\n margin-right: var(--swiper-centered-offset-before);\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-centered.swiper-horizontal > .swiper-wrapper::before {\n height: 100%;\n min-height: 1px;\n width: var(--swiper-centered-offset-after);\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-centered.swiper-vertical > .swiper-wrapper > .swiper-slide:first-child {\n margin-top: var(--swiper-centered-offset-before);\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-centered.swiper-vertical > .swiper-wrapper::before {\n width: 100%;\n min-width: 1px;\n height: var(--swiper-centered-offset-after);\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-centered > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: center center;\n}\n',""]);var p="index-module--DtwRe",m="index-module--PGk_O";const x=c},53946:(e,n,t)=>{t.d(n,{Mq:()=>s,YS:()=>l,ZP:()=>u,ai:()=>a,u7:()=>c});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--GKAfY {\n position: sticky;\n top: 0px;\n z-index: 1500;\n display: flex;\n justify-content: space-around;\n gap: 16px;\n width: 100%;\n height: 148px;\n pointer-events: none;\n}\n\n.index-module--GKAfY.index-module--KrBev:not(.index-module--ivdRZ) {\n top: 14px;\n height: 108px;\n}\n\n.index-module--GKAfY.index-module--ivdRZ {\n top: 26px;\n}\n\n.index-module--bxQaE {\n background: var(--settingsBackgroundColor);\n pointer-events: auto;\n width: 100%;\n height: -moz-fit-content;\n height: fit-content;\n}\n",""]);var l="index-module--GKAfY",a="index-module--KrBev",s="index-module--ivdRZ",c="index-module--bxQaE";const u=d},11309:(e,n,t)=>{t.d(n,{JU:()=>c,LI:()=>a,YS:()=>l,ZP:()=>u,pA:()=>s});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--RNSdL {\n position: sticky;\n top: -1px;\n z-index: 500;\n display: flex;\n justify-content: space-around;\n gap: 16px;\n background-color: var(--settingsBackgroundColor);\n padding: 6px;\n}\n\n.index-module--BZXkK {\n transition: color 0.3s ease, border 0.3s ease;\n cursor: pointer;\n text-wrap: nowrap;\n white-space: nowrap;\n position: relative;\n flex-grow: 1;\n text-align: center;\n padding-top: 4px;\n padding-bottom: 4px;\n font-size: 18px;\n}\n\n.index-module--BZXkK:hover,\n.index-module--WUQm2 {\n border: none;\n color: var(--diva-theme-palette-primary-main);\n}\n\n.index-module--BZXkK::after {\n content: '';\n position: absolute;\n width: 0px;\n left: 50%;\n transition: all ease-in-out 0.2s;\n bottom: 0;\n height: 1px;\n background-color: var(--diva-theme-palette-primary-main);\n}\n\n.index-module--BZXkK.index-module--WUQm2::after {\n height: 2px;\n}\n\n.index-module--BZXkK:hover::after,\n.index-module--WUQm2::after {\n width: 100%;\n left: 0;\n}\n.index-module--f88nM.index-module--BZXkK:hover::after {\n width: 0px;\n left: 0;\n}\n\n.index-module--f88nM.index-module--BZXkK::after {\n background-color: lightgray;\n}\n\n.index-module--f88nM.index-module--BZXkK {\n color: grey;\n cursor: not-allowed;\n}\n",""]);var l="index-module--RNSdL",a="index-module--BZXkK",s="index-module--WUQm2",c="index-module--f88nM";const u=d},18135:(e,n,t)=>{t.d(n,{F2:()=>u,O7:()=>a,TN:()=>s,ZP:()=>f,eR:()=>p,kA:()=>x,q_:()=>l,t:()=>m,t$:()=>c});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--DhmpB {\n border-radius: var(--globalBorderRadius);\n background: white;\n position: relative;\n display: flex;\n width: 100%;\n z-index: 100;\n transition: all 0.15s ease;\n}\n\n.index-module--DhmpB:hover {\n box-shadow: 0px 1px 4px rgba(68, 49, 49, 0.15);\n z-index: 200;\n transition: 0.15s ease;\n}\n.index-module--DhmpB:active {\n box-shadow: 0px 1px 4px rgba(68, 49, 49, 0.6);\n z-index: 200;\n transition: 0.15s ease;\n}\n\n.index-module--BRYpa {\n width: 100%;\n padding: 12px 20px;\n margin: 8px 0;\n display: inline-block;\n border: 1px solid #ccc;\n border-radius: 4px;\n box-sizing: border-box;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode .index-module--DhmpB {\n background-color: #374c86;\n color: #fff;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode .index-module--BRYpa {\n background-color: #2c3c6b;\n border-color: rgba(255, 255, 255, 0.2);\n color: #fff;\n}\n\n.index-module--VyzqQ {\n width: 100%;\n height: -moz-fit-content;\n height: fit-content;\n position: relative;\n display: flex;\n padding-bottom: 4px;\n padding-top: 4px;\n}\n\n.index-module--KQkM7 {\n display: flex;\n}\n.index-module--bKCuD {\n width: 40%;\n}\n.index-module--FSuK_ {\n width: 60%;\n}\n\n.index-module--pc3yf {\n margin: 8px;\n white-space: nowrap;\n}\n\n.index-module--laiEH {\n display: flex;\n}\n.index-module--HL0mI {\n width: 50px;\n line-height: 60px;\n}\n",""]);var l="index-module--BRYpa",a="index-module--VyzqQ",s="index-module--KQkM7",c="index-module--bKCuD",u="index-module--FSuK_",p="index-module--pc3yf",m="index-module--laiEH",x="index-module--HL0mI";const f=d},60636:(e,n,t)=>{t.d(n,{F2:()=>c,No:()=>a,YS:()=>l,ZP:()=>p,pA:()=>u,wb:()=>s});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--V0pQW {\n height: 36px;\n width: 100%;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: #eaeaea;\n border-radius: 6px;\n}\n.index-module--zHWrU {\n height: calc(100% - 6px);\n width: calc(100% - 6px);\n border-radius: 3px;\n box-sizing: content-box;\n box-sizing: initial;\n position: relative;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.index-module--rSXQZ {\n display: block;\n position: absolute;\n z-index: 1;\n height: 30px;\n background-color: #fff;\n border-radius: 3px;\n transition: left 0.25s ease-out;\n}\n\n.index-module--Ublpe {\n position: relative;\n display: flex;\n gap: 4px;\n justify-content: center;\n align-items: center;\n z-index: 2;\n line-height: 22px;\n height: 20px;\n width: calc(100% - 8px);\n padding: 6px;\n font-size: 14px;\n color: rgba(0, 0, 0, 0.6);\n text-align: center;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n transition:\n color 0.2s ease-out,\n font-weight 0.2s ease-out;\n}\n\n.index-module--jEYkH {\n font-weight: 300;\n color: #000;\n}\n",""]);var l="index-module--V0pQW",a="index-module--zHWrU",s="index-module--rSXQZ",c="index-module--Ublpe",u="index-module--jEYkH";const p=d},7182:(e,n,t)=>{t.d(n,{O7:()=>l,TN:()=>s,ZN:()=>c,ZP:()=>u,eR:()=>a});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--zbUn_ {\n display: flex;\n justify-content: center;\n flex-direction: column;\n margin-bottom: 24px;\n}\n.index-module--NgTfo {\n width: calc(100% - 64px);\n padding: 8px 32px;\n}\n\n.index-module--j9Vsg {\n width: 100%;\n height: -moz-fit-content;\n height: fit-content;\n position: relative;\n display: flex;\n padding-bottom: 4px;\n align-items: center;\n justify-content: space-between;\n padding-top: 4px;\n margin-bottom: 10px;\n gap: 12px;\n}\n.index-module--oMpID {\n width: 70%;\n}\n.index-module--oMpID:first-child {\n width: 30%;\n margin: 10px 0px;\n position: relative;\n display: flex;\n gap: 8px;\n}\n\n.index-module--CG0qP {\n flex-grow: 1;\n height: 58px;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n min-width: 33%;\n}\n\n.index-module--F6wCX {\n text-align: left;\n margin-left: 0;\n margin-left: initial;\n cursor: pointer;\n}\n\n.index-module--mALKQ {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n",""]);var l="index-module--j9Vsg",a="index-module--oMpID",s="index-module--F6wCX",c="index-module--mALKQ";const u=d},23623:(e,n,t)=>{t.d(n,{Lc:()=>p,PS:()=>g,TN:()=>a,UH:()=>s,YS:()=>l,ZP:()=>h,dm:()=>c,gB:()=>f,hv:()=>u,vd:()=>m,w5:()=>x});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--ptxMZ {\n display: flex;\n flex-direction: column;\n margin-bottom: 24px;\n width: 100%;\n}\n\n.index-module--X1DVu {\n font-weight: bold;\n font-size: 16px;\n margin-bottom: 16px;\n text-align: left;\n color: var(--secondaryColor);\n}\n\n/* Boxed Mode */\n.index-module--KIReo {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n}\n\n.index-module--eoa3S {\n position: relative;\n border: 1px solid #e0e0e0;\n border: 1px solid var(--optionItemBorderColor, #e0e0e0);\n border-radius: var(--globalBorderRadius);\n padding: 12px 24px;\n cursor: pointer;\n flex: 1;\n min-width: 120px;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: all 0.2s ease-in-out;\n background-color: #fff;\n}\n\n.index-module--eoa3S.index-module--HoaxU {\n border-color: var(--primaryColor);\n color: var(--primaryColor);\n}\n\n/* List Mode */\n.index-module--qUNzP {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n\n.index-module--WgT0o {\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer;\n gap: 12px;\n}\n\n.index-module--yqUyo {\n width: 24px;\n height: 24px;\n border: 2px solid #e0e0e0;\n border: 2px solid var(--optionItemBorderColor, #e0e0e0);\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: border-color 0.2s ease-in-out;\n}\n\n.index-module--yqUyo.index-module--HoaxU {\n border-color: var(--primaryColor);\n}\n\n.index-module--FeZni {\n width: 12px;\n height: 12px;\n background-color: var(--primaryColor);\n border-radius: 50%;\n opacity: 0;\n transition: opacity 0.2s ease-in-out;\n}\n\n.index-module--FeZni.index-module--HoaxU {\n opacity: 1;\n}\n\n.index-module--q1nJs {\n font-size: 16px;\n color: var(--secondaryColor);\n}\n\n.index-module--q1nJs.index-module--HoaxU {\n color: var(--primaryColor);\n}\n\n/* Helper to toggle between modes for demo */\n.index-module--eyrXD {\n font-size: 10px;\n color: #999;\n cursor: pointer;\n margin-top: 8px;\n text-decoration: underline;\n align-self: flex-start;\n}",""]);var l="index-module--ptxMZ",a="index-module--X1DVu",s="index-module--KIReo",c="index-module--eoa3S",u="index-module--HoaxU",p="index-module--qUNzP",m="index-module--WgT0o",x="index-module--yqUyo",f="index-module--FeZni",g="index-module--q1nJs";const h=d},74219:(e,n,t)=>{t.d(n,{YS:()=>l,ZP:()=>s,sL:()=>a});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--vkNxi {\n display: flex;\n justify-content: center;\n flex-direction: column;\n margin-bottom: 24px;\n}\n\n.index-module--cmtxo {\n width: calc(100% - 64px);\n padding: 0px 32px;\n}\n\n.index-module--cmtxo .rc-slider {\n position: relative;\n width: 100%;\n height: 14px;\n padding: 5px 0;\n border-radius: 6px;\n touch-action: none;\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.index-module--cmtxo .rc-slider * {\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.index-module--cmtxo .rc-slider-rail {\n position: absolute;\n width: 100%;\n height: 4px;\n background-color: #e9e9e9;\n border-radius: 6px;\n}\n.index-module--cmtxo .rc-slider-track,\n.index-module--cmtxo .rc-slider-tracks {\n position: absolute;\n height: 4px;\n background-color: #abe2fb;\n border-radius: 6px;\n}\n.index-module--cmtxo .rc-slider-track-draggable {\n z-index: 1;\n box-sizing: content-box;\n background-clip: content-box;\n border-top: 5px solid rgba(0, 0, 0, 0);\n border-bottom: 5px solid rgba(0, 0, 0, 0);\n transform: translateY(-5px);\n}\n.index-module--cmtxo .rc-slider-handle {\n position: absolute;\n z-index: 1;\n width: 14px;\n height: 14px;\n margin-top: -5px;\n background-color: #fff;\n border: solid 2px #96dbfa;\n border-radius: 50%;\n cursor: pointer;\n cursor: grab;\n opacity: 0.8;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n touch-action: pan-x;\n}\n.index-module--cmtxo .rc-slider-handle-dragging.rc-slider-handle-dragging.rc-slider-handle-dragging {\n border-color: #57c5f7;\n box-shadow: 0 0 0 5px #96dbfa;\n}\n.index-module--cmtxo .rc-slider-handle-dragging.rc-slider-handle-dragging.rc-slider-handle-dragging-delete {\n opacity: 0;\n}\n.index-module--cmtxo .rc-slider-handle:focus {\n outline: none;\n box-shadow: none;\n}\n.index-module--cmtxo .rc-slider-handle.focus-visible {\n border-color: #2db7f5;\n box-shadow: 0 0 0 3px #96dbfa;\n}\n.index-module--cmtxo .rc-slider-handle:focus-visible {\n border-color: #2db7f5;\n box-shadow: 0 0 0 3px #96dbfa;\n}\n.index-module--cmtxo .rc-slider-handle-click-focused:focus {\n border-color: #96dbfa;\n box-shadow: none;\n box-shadow: initial;\n}\n.index-module--cmtxo .rc-slider-handle:hover {\n border-color: #57c5f7;\n}\n.index-module--cmtxo .rc-slider-handle:active {\n border-color: #57c5f7;\n box-shadow: 0 0 5px #57c5f7;\n cursor: grabbing;\n}\n.index-module--cmtxo .rc-slider-mark {\n position: absolute;\n top: 18px;\n left: 0;\n width: 100%;\n font-size: 12px;\n}\n.index-module--cmtxo .rc-slider-mark-text {\n position: absolute;\n display: inline-block;\n color: #999;\n text-align: center;\n vertical-align: middle;\n cursor: pointer;\n}\n.index-module--cmtxo .rc-slider-mark-text-active {\n color: #666;\n}\n.index-module--cmtxo .rc-slider-step {\n position: absolute;\n width: 100%;\n height: 4px;\n background: transparent;\n}\n.index-module--cmtxo .rc-slider-dot {\n position: absolute;\n bottom: -2px;\n width: 8px;\n height: 8px;\n vertical-align: middle;\n background-color: #fff;\n border: 2px solid #e9e9e9;\n border-radius: 50%;\n cursor: pointer;\n}\n.index-module--cmtxo .rc-slider-dot-active {\n border-color: #96dbfa;\n}\n.index-module--cmtxo .rc-slider-dot-reverse {\n margin-right: -4px;\n}\n.index-module--cmtxo .rc-slider-disabled {\n background-color: #e9e9e9;\n}\n.index-module--cmtxo .rc-slider-disabled .rc-slider-track {\n background-color: #ccc;\n}\n.index-module--cmtxo .rc-slider-disabled .rc-slider-handle,\n.index-module--cmtxo .rc-slider-disabled .rc-slider-dot {\n background-color: #fff;\n border-color: #ccc;\n box-shadow: none;\n cursor: not-allowed;\n}\n.index-module--cmtxo .rc-slider-disabled .rc-slider-mark-text,\n.index-module--cmtxo .rc-slider-disabled .rc-slider-dot {\n cursor: not-allowed !important;\n}\n.index-module--cmtxo .rc-slider-vertical {\n width: 14px;\n height: 100%;\n padding: 0 5px;\n}\n.index-module--cmtxo .rc-slider-vertical .rc-slider-rail {\n width: 4px;\n height: 100%;\n}\n.index-module--cmtxo .rc-slider-vertical .rc-slider-track {\n bottom: 0;\n left: 5px;\n width: 4px;\n}\n.index-module--cmtxo .rc-slider-vertical .rc-slider-track-draggable {\n border-top: 0;\n border-right: 5px solid rgba(0, 0, 0, 0);\n border-bottom: 0;\n border-left: 5px solid rgba(0, 0, 0, 0);\n transform: translateX(-5px);\n}\n.index-module--cmtxo .rc-slider-vertical .rc-slider-handle {\n position: absolute;\n z-index: 1;\n margin-top: 0;\n margin-left: -5px;\n touch-action: pan-y;\n}\n.index-module--cmtxo .rc-slider-vertical .rc-slider-mark {\n top: 0;\n left: 18px;\n height: 100%;\n}\n.index-module--cmtxo .rc-slider-vertical .rc-slider-step {\n width: 4px;\n height: 100%;\n}\n.index-module--cmtxo .rc-slider-vertical .rc-slider-dot {\n margin-left: -2px;\n}\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-enter,\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-appear {\n display: block !important;\n}\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-enter,\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-appear {\n animation-duration: 0.3s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-leave {\n display: block !important;\n}\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-leave {\n animation-duration: 0.3s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-enter.rc-slider-tooltip-zoom-down-enter-active,\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-appear.rc-slider-tooltip-zoom-down-appear-active {\n animation-name: rcSliderTooltipZoomDownIn;\n animation-play-state: running;\n}\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-leave.rc-slider-tooltip-zoom-down-leave-active {\n animation-name: rcSliderTooltipZoomDownOut;\n animation-play-state: running;\n}\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-enter,\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-appear {\n transform: scale(0, 0);\n animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n}\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-leave {\n animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n}\n@keyframes index-module--xw4LC {\n 0% {\n transform: scale(0, 0);\n transform-origin: 50% 100%;\n opacity: 0;\n }\n 100% {\n transform: scale(1, 1);\n transform-origin: 50% 100%;\n }\n}\n@keyframes index-module--bzXCO {\n 0% {\n transform: scale(1, 1);\n transform-origin: 50% 100%;\n }\n 100% {\n transform: scale(0, 0);\n transform-origin: 50% 100%;\n opacity: 0;\n }\n}\n.index-module--cmtxo .rc-slider-tooltip {\n position: absolute;\n top: -9999px;\n left: -9999px;\n visibility: visible;\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.index-module--cmtxo .rc-slider-tooltip * {\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.index-module--cmtxo .rc-slider-tooltip-hidden {\n display: none;\n}\n.index-module--cmtxo .rc-slider-tooltip-placement-top {\n padding: 4px 0 8px 0;\n}\n.index-module--cmtxo .rc-slider-tooltip-inner {\n min-width: 24px;\n height: 24px;\n padding: 6px 2px;\n color: #fff;\n font-size: 12px;\n line-height: 1;\n text-align: center;\n text-decoration: none;\n background-color: #6c6c6c;\n border-radius: 6px;\n box-shadow: 0 0 4px #d9d9d9;\n}\n.index-module--cmtxo .rc-slider-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.index-module--cmtxo .rc-slider-tooltip-placement-top .rc-slider-tooltip-arrow {\n bottom: 4px;\n left: 50%;\n margin-left: -4px;\n border-width: 4px 4px 0;\n border-top-color: #6c6c6c;\n}\n",""]);var l="index-module--vkNxi",a="index-module--cmtxo";const s=d},77113:(e,n,t)=>{t.d(n,{F1:()=>s,Ry:()=>l,ZP:()=>c,Z_:()=>a});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--x75w5 {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));\n grid-auto-rows: min-content;\n grid-gap: 10px;\n height: 100%;\n padding-top: 16px;\n padding-bottom: 16px;\n}\n\n.index-module--FSQ5B {\n pointer-events: none;\n}\n\n.mobile .index-module--x75w5 {\n grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));\n}\n\n.index-module--tgKwN {\n width: 100%;\n aspect-ratio: 1 / 1;\n color: var(--primaryColor);\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 22px;\n box-shadow: rgba(0, 0, 0,0.1) 0px 0px 16px 0px;\n}\n",""]);var l="index-module--x75w5",a="index-module--FSQ5B",s="index-module--tgKwN";const c=d},43078:(e,n,t)=>{t.d(n,{Fl:()=>s,O7:()=>l,TN:()=>c,ZN:()=>u,ZP:()=>x,eR:()=>a,pA:()=>m,u2:()=>p});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--v5pSs {\n width: 100%;\n height: -moz-fit-content;\n height: fit-content;\n position: relative;\n display: flex;\n padding-bottom: 4px;\n align-items: center;\n justify-content: space-between;\n padding-top: 4px;\n}\n.index-module--WNi5H {\n width: 50%;\n margin: 10px 15px;\n position: relative;\n}\n\n.index-module--L1EGw {\n flex-grow: 1;\n height: 58px;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n min-width: 33%;\n}\n\n.index-module--BYNhM {\n text-align: left;\n margin-left: 0;\n margin-left: initial;\n cursor: pointer;\n}\n\n.index-module--NNRCj {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.index-module--z1OwD {\n text-align: center;\n}\n\n.index-module--PkMF3 {\n font-weight: 300;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode .index-module--BYNhM,\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode .index-module--z1OwD {\n color: #fff;\n}\n",""]);var l="index-module--v5pSs",a="index-module--WNi5H",s="index-module--L1EGw",c="index-module--BYNhM",u="index-module--NNRCj",p="index-module--z1OwD",m="index-module--PkMF3";const x=d},98404:(e,n,t)=>{t.d(n,{WL:()=>a,ZP:()=>s,fM:()=>l});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--hCQUB {\n width: 100%;\n margin-bottom: 24px;\n position: relative;\n}\n\n.index-module--DBy7L {\n font-size: 14px;\n font-weight: 300;\n line-height: 1.5;\n color: var(--diva-theme-palette-text-secondary);\n margin: 0 0 12px;\n}\n",""]);var l="index-module--hCQUB",a="index-module--DBy7L";const s=d},70410:(e,n,t)=>{t.d(n,{ZP:()=>a,pw:()=>l});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--ThELN {\n overflow: visible !important;\n}\n\n.index-module--ThELN {\n height: auto;\n transition: none 0s ease 0s;\n}\n\n.index-module--anx5T {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(var(--gridSize), 1fr));\n grid-auto-rows: min-content;\n grid-gap: var(--gridGap);\n margin-top: var(--gridGap);\n}\n",""]);var l="index-module--anx5T";const a=d},550:(e,n,t)=>{t.d(n,{Fl:()=>f.Fl,O7:()=>f.O7,TN:()=>f.TN,ZN:()=>f.ZN,eR:()=>f.eR,pA:()=>f.pA,u2:()=>f.u2});var i=t(93379),r=t.n(i),o=t(7795),d=t.n(o),l=t(90569),a=t.n(l),s=t(3565),c=t.n(s),u=t(19216),p=t.n(u),m=t(44589),x=t.n(m),f=t(43078),g={};g.styleTagTransform=x(),g.setAttributes=c(),g.insert=a().bind(null,"head"),g.domAPI=d(),g.insertStyleElement=p();r()(f.ZP,g),f.ZP&&f.ZP.locals&&f.ZP.locals},3985:(e,n,t)=>{t.d(n,{pw:()=>f.pw});var i=t(93379),r=t.n(i),o=t(7795),d=t.n(o),l=t(90569),a=t.n(l),s=t(3565),c=t.n(s),u=t(19216),p=t.n(u),m=t(44589),x=t.n(m),f=t(70410),g={};g.styleTagTransform=x(),g.setAttributes=c(),g.insert=a().bind(null,"head"),g.domAPI=d(),g.insertStyleElement=p();r()(f.ZP,g),f.ZP&&f.ZP.locals&&f.ZP.locals}}]);
|
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[3019,2105,8073,3125,5573,8566,2610,9638],{70883:(e,n,t)=>{t.r(n),t.d(n,{default:()=>N});var i=t(34988),r=t(9420),o=t(87363),d=t(37707),l=t(74635),a=t(93379),s=t.n(a),c=t(7795),u=t.n(c),p=t(90569),m=t.n(p),x=t(3565),f=t.n(x),g=t(19216),h=t.n(g),v=t(44589),w=t.n(v),b=t(83301),y={};y.styleTagTransform=w(),y.setAttributes=f(),y.insert=m().bind(null,"head"),y.domAPI=u(),y.insertStyleElement=h();s()(b.ZP,y);b.ZP&&b.ZP.locals&&b.ZP.locals;var P=t(37486),j=t(65515),O=t.n(j),S=t(75327),k=t(47514);const N=(0,r.Pi)((function HorizantalGroup(e){var n=e.item,t=e.PaletteComponent,r=n.groups.flatMap((function(e){return e.items})),a=(0,o.useState)(null),s=(0,i.Z)(a,2),c=s[0],u=s[1],p=(0,o.useRef)(0),m=(0,S.NP)(),x=function navigateToOnClick(e){var n=0!==e?e-1:e;p.current=n,null==c||c.slideTo(n)};return(0,o.useEffect)((function(){c&&c.slideTo(p.current,0)}),[c]),(0,o.useEffect)((function(){var e=r.findIndex((function(e){var n;return e.basketId==(null===(n=m.settingsState.addElementSelected)||void 0===n?void 0:n.basketId)}));-1!==e&&x(e)}),[m.settingsState.addElementSelected]),(0,k.jsx)("div",{className:O()(b.tx,b.Ey),id:n.id.toString(),children:(0,k.jsx)(d.tq,{onSwiper:u,resizeObserver:!0,modules:[l.W_],slidesPerView:"auto",style:{width:"fit-content"},spaceBetween:8,scrollbar:!0,slideToClickedSlide:!0,wrapperClass:"no-swiping",children:r.map((function(e,i){return(0,k.jsx)(d.o5,{onClick:function onClick(e){x(i),e.stopPropagation()},children:(0,k.jsx)(t,{paletteType:n.type,paletteId:n.id,item:e},(0,P.getKey)(e))},i)}))})})}))},32105:(e,n,t)=>{t.r(n),t.d(n,{default:()=>d});var i=t(80248),r=(t(87363),t(2765)),o=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}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,i.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 d=function SettingsPaletteGroup(e){return(0,o.jsx)(r.ZP,_objectSpread(_objectSpread({},e),{},{componentName:"Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup"}))}},14581:(e,n,t)=>{t.r(n),t.d(n,{default:()=>O});var i=t(75327),r=t(9420),o=(t(87363),t(70883)),d=t(4903),l=t(93379),a=t.n(l),s=t(7795),c=t.n(s),u=t(90569),p=t.n(u),m=t(3565),x=t.n(m),f=t(19216),g=t.n(f),h=t(44589),v=t.n(h),w=t(53946),b={};b.styleTagTransform=v(),b.setAttributes=x(),b.insert=p().bind(null,"head"),b.domAPI=c(),b.insertStyleElement=g();a()(w.ZP,b);w.ZP&&w.ZP.locals&&w.ZP.locals;var y=t(65515),P=t.n(y),j=t(47514);const O=(0,r.Pi)((function ArticleOverviewWrapper(e){var n=(0,i.NP)(),t=n.settingsState.itemPalettes.get(1);if(!t)return(0,j.jsx)(j.Fragment,{});var r=d.default[t.type];return 1==t.groups.flatMap((function(e){return e.items})).length?(0,j.jsx)(j.Fragment,{}):(0,j.jsx)("div",{className:P()(w.YS,n.uiState.isMobilePortrait?w.ai:void 0,n.uiState.isMobilePortrait&&n.uiState.isTablet?w.Mq:void 0),children:(0,j.jsx)("div",{className:w.u7,children:(0,j.jsx)(o.default,{item:t,PaletteComponent:r})})})}))},68073:(e,n,t)=>{t.r(n),t.d(n,{default:()=>j});var i=t(9420),r=t(75327),o=t(93379),d=t.n(o),l=t(7795),a=t.n(l),s=t(90569),c=t.n(s),u=t(3565),p=t.n(u),m=t(19216),x=t.n(m),f=t(44589),g=t.n(f),h=t(11309),v={};v.styleTagTransform=g(),v.setAttributes=p(),v.insert=c().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=x();d()(h.ZP,v);h.ZP&&h.ZP.locals&&h.ZP.locals;t(87363);var w=t(65515),b=t.n(w),y=t(88683),P=t(47514);const j=(0,i.Pi)((function ReplaceSwitch(e){var n=(0,r.NP)(),t=(0,y.useTranslation)().t;return(0,P.jsxs)("div",{className:b()(h.YS),children:[(0,P.jsx)("div",{onClick:function onClick(){return n.paletteViewHandler.setPlannerReplaceMode(!1,!0)},className:b()(h.LI,n.settingsState.plannerReplaceMode?void 0:h.pA),id:"configurator_plan_tab",children:t("configurator.plan")}),(0,P.jsx)("div",{onClick:function onClick(){n.settingsState.plannerReplaceModeAvailable&&n.paletteViewHandler.setPlannerReplaceMode(!0,!0)},className:b()(h.LI,n.settingsState.plannerReplaceMode?h.pA:void 0,n.settingsState.plannerReplaceModeAvailable?void 0:h.JU),id:"configurator_replace_tab",children:t("configurator.replace")})]})}))},53125:(e,n,t)=>{t.r(n),t.d(n,{default:()=>d});var i=t(80248),r=(t(87363),t(2765)),o=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}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,i.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 d=function ItemVariant(e){return(0,o.jsx)(r.ZP,_objectSpread(_objectSpread({},e),{},{componentName:"Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText"}))}},35573:(e,n,t)=>{t.r(n),t.d(n,{default:()=>_});var i=t(84658),r=t(80248),o=t(34988),d=t(50747),l=t.n(d),a=t(87363),s=t(65515),c=t.n(s),u=t(93379),p=t.n(u),m=t(7795),x=t.n(m),f=t(90569),g=t.n(f),h=t(3565),v=t.n(h),w=t(19216),b=t.n(w),y=t(44589),P=t.n(y),j=t(18135),O={};O.styleTagTransform=P(),O.setAttributes=v(),O.insert=g().bind(null,"head"),O.domAPI=x(),O.insertStyleElement=b();p()(j.ZP,O);j.ZP&&j.ZP.locals&&j.ZP.locals;var S=t(75327),k=t(9420),N=t(74133),R=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}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}const _=(0,k.Pi)((function TextBox(e){var n,t,d=e.item,s=e.paletteId,u=e.style,p=(0,S.NP)(),m=(0,a.useRef)(null),x=d.groups[0].items,f=(0,a.useState)(x[0].freeTextLang),g=(0,o.Z)(f,2),h=g[0],v=g[1],w=function(){var e=(0,i.Z)(l().mark((function _callee(e,n){return l().wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:p.paletteViewHandler.onFreeTextLangChanged(e,n,x[0],s);case 1:case"end":return t.stop()}}),_callee)})));return function updateLangLogic(n,t){return e.apply(this,arguments)}}(),b=null!==(n=p.getViewConfig().languagesForInput)&&void 0!==n?n:[];return(0,R.jsxs)("div",{className:j.O7,ref:function ref(e){return d.htmlRef=e},style:u,children:[(0,R.jsx)("div",{className:c()(j.eR,j.TN,j.t$),children:(0,R.jsx)(N.default,{item:d,isInScroller:!0,isSettingsHeader:!1})}),(0,R.jsx)("div",{className:c()(j.eR,j.F2),children:b.length?(0,R.jsx)(R.Fragment,{children:b.map((function(e){return(0,R.jsxs)("div",{className:j.t,children:[(0,R.jsx)("div",{className:j.kA,children:e}),(0,R.jsx)("input",{className:j.q_,onChange:function onChange(n){return function handleLangTextChange(e,n){m.current&&clearTimeout(m.current),m.current=setTimeout((function(){return w(e,n)}),500),v(_objectSpread(_objectSpread({},h),{},(0,r.Z)({},e,n)))}(e,n.target.value)},type:"text",value:null==h?void 0:h[e]})]},e)}))}):(0,R.jsx)("div",{children:(0,R.jsx)("input",{className:j.q_,onChange:function handleChange(e){x[0]&&(x[0].freeText=e.target.value,p.paletteViewHandler.clickedOnConfigPalette(x[0],"inputbox",s))},type:"text",value:null!==(t=x[0])&&void 0!==t&&t.freeText?x[0].freeText:""})})})]})}))},8812:(e,n,t)=>{t.r(n),t.d(n,{default:()=>O});var i=t(34988),r=t(87363),o=t(93379),d=t.n(o),l=t(7795),a=t.n(l),s=t(90569),c=t.n(s),u=t(3565),p=t.n(u),m=t(19216),x=t.n(m),f=t(44589),g=t.n(f),h=t(60636),v={};v.styleTagTransform=g(),v.setAttributes=p(),v.insert=c().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=x();d()(h.ZP,v);h.ZP&&h.ZP.locals&&h.ZP.locals;var w=t(65515),b=t.n(w),y=t(9420),P=t(21801),j=t(47514);const O=(0,y.Pi)((function MultiToggleSwitch(e){var n=e.values,t=e.items,o=(0,i.Z)(e.state,2),d=o[0],l=o[1],a=e.round,s=100/n.length,c=(0,r.useState)([]),u=(0,i.Z)(c,2),p=u[0],m=u[1];return(0,r.useEffect)((function(){n.some((function(e){return!e.endsWith("cm")}))?m(n):m(n.map((function(e,t){return e.replace("cm","")+(t==n.length-1?"cm":"")})))}),[n]),(0,j.jsx)("div",{className:h.YS,style:{borderRadius:a?"100px":void 0},children:(0,j.jsxs)("div",{className:h.No,children:[p.map((function(e,n){var i;return(0,j.jsx)("div",{style:{width:s+"%"},children:(0,j.jsxs)("label",{onClick:function onClick(){return l(n)},className:b()(h.F2,d===n&&h.pA),children:[e,(null===(i=t[n])||void 0===i?void 0:i.contentItemId)&&(0,j.jsx)(P.default,{item:t[n],style:{top:-4}},t[n].codex)]})},n)})),(0,j.jsx)("div",{className:h.wb,style:{left:d/n.length*100+"%",width:s+"%",borderRadius:a?"100px":void 0}})]})})}))},90631:(e,n,t)=>{t.r(n),t.d(n,{default:()=>k});var i=t(34988),r=t(87363),o=t(9420),d=t(75327),l=t(8812),a=t(93379),s=t.n(a),c=t(7795),u=t.n(c),p=t(90569),m=t.n(p),x=t(3565),f=t.n(x),g=t(19216),h=t.n(g),v=t(44589),w=t.n(v),b=t(7182),y={};y.styleTagTransform=w(),y.setAttributes=f(),y.insert=m().bind(null,"head"),y.domAPI=u(),y.insertStyleElement=h();s()(b.ZP,y);b.ZP&&b.ZP.locals&&b.ZP.locals;var P=t(65515),j=t.n(P),O=t(21801),S=t(47514);const k=(0,o.Pi)((function MultiToggleComponent(e){var n=e.item,t=e.style,o=e.round,a=e.paletteId,s=(0,d.NP)(),c=(0,r.useState)([]),u=(0,i.Z)(c,2),p=u[0],m=u[1],x=(0,r.useState)([]),f=(0,i.Z)(x,2),g=f[0],h=f[1],v=(0,r.useState)(),w=(0,i.Z)(v,2),y=w[0],P=w[1],k=(0,r.useState)(!1),N=(0,i.Z)(k,2),R=N[0],_=N[1];(0,r.useEffect)((function(){var e=n.groups.flatMap((function(e){return e.items})),t=e.every((function(e){return e.text.endsWith("cm")}));m(e),_(t),h(e.map((function(e){return t?e.text.replace("cm",""):e.text}))),P(e.findIndex((function(e){return e.sel})))}),[n]);return 0===p.length?(0,S.jsx)(S.Fragment,{}):(0,S.jsxs)("div",{className:b.O7,ref:function ref(e){return n.htmlRef=e},style:t,children:[(0,S.jsxs)("div",{className:j()(b.eR,b.TN),children:[(0,S.jsx)("span",{className:b.Xf,children:n.name+(R?" (cm)":"")}),n.optionContentItemId&&(0,S.jsx)(O.default,{item:{contentItemId:n.optionContentItemId,codex:n.configStepKey},style:{position:"relative",flexShrink:0}},n.configStepKey)]}),(0,S.jsx)("div",{className:j()(b.eR,b.ZN),children:(0,S.jsx)(l.default,{items:p,values:g,state:[y,function onChangeValue(e){P(e);var n=p[e];n&&s.paletteViewHandler.clickedOnConfigPalette(n,void 0,a)}],round:o})})]})}))},68686:(e,n,t)=>{t.r(n),t.d(n,{default:()=>k});var i=t(34988),r=t(87363),o=t(9420),d=t(75327),l=t(65515),a=t.n(l),s=t(93379),c=t.n(s),u=t(7795),p=t.n(u),m=t(90569),x=t.n(m),f=t(3565),g=t.n(f),h=t(19216),v=t.n(h),w=t(44589),b=t.n(w),y=t(23623),P={};P.styleTagTransform=b(),P.setAttributes=g(),P.insert=x().bind(null,"head"),P.domAPI=p(),P.insertStyleElement=v();c()(y.ZP,P);y.ZP&&y.ZP.locals&&y.ZP.locals;var j=t(21801),O=t(91087),S=t(47514);const k=(0,o.Pi)((function Radio(e){var n=e.item,t=e.style,o=e.paletteId,l=e.displayMode,s=e.hidePricePreview,c=(0,d.NP)(),u=(0,r.useState)([]),p=(0,i.Z)(u,2),m=p[0],x=p[1],f=(0,r.useState)(),g=(0,i.Z)(f,2),h=g[0],v=g[1],w=(0,r.useState)(l||"boxed"),b=(0,i.Z)(w,2),P=b[0],k=(b[1],(0,r.useState)(!1)),N=(0,i.Z)(k,2),R=N[0],_=N[1];(0,r.useEffect)((function(){var e=n.groups.flatMap((function(e){return e.items})),t=e.every((function(e){return e.text.endsWith("cm")}));x(e),_(t),v(e.findIndex((function(e){return e.sel})))}),[n]);var I=function onChangeValue(e){v(e);var n=m[e];n&&c.paletteViewHandler.clickedOnConfigPalette(n,void 0,o)};if(0===m.length)return(0,S.jsx)(S.Fragment,{});var C=function getLabelText(e){return R?e.text.replace("cm",""):e.text};return(0,S.jsxs)("div",{className:y.YS,ref:function ref(e){return n.htmlRef=e},style:t,children:[(0,S.jsx)("div",{className:y.TN,children:n.name+(R?" (cm)":"")}),"boxed"===P?function renderBoxed(){return(0,S.jsx)("div",{className:y.UH,children:m.map((function(e,n){return(0,S.jsxs)("div",{className:a()(y.dm,h===n&&y.hv),onClick:function onClick(){return I(n)},children:[(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:C(e)}}),e.contentItemId&&(0,S.jsx)(j.default,{item:e},e.codex),!s&&void 0!==e.pricePreviewPromise&&(0,S.jsx)(O.default,{asyncPricePreview:e.pricePreviewPromise,sel:e.sel})]},n)}))})}():function renderList(){return(0,S.jsx)("div",{className:y.Lc,children:m.map((function(e,n){return(0,S.jsxs)("div",{className:y.vd,onClick:function onClick(){return I(n)},children:[(0,S.jsx)("div",{className:a()(y.w5,h===n&&y.hv),children:(0,S.jsx)("div",{className:a()(y.gB,h===n&&y.hv)})}),(0,S.jsx)("div",{className:a()(y.PS,h===n&&y.hv),dangerouslySetInnerHTML:{__html:C(e)}}),e.contentItemId&&(0,S.jsx)(j.default,{item:e},e.codex),!s&&void 0!==e.pricePreviewPromise&&(0,S.jsx)(O.default,{asyncPricePreview:e.pricePreviewPromise,sel:e.sel})]},n)}))})}()]})}))},28566:(e,n,t)=>{t.r(n),t.d(n,{default:()=>k});var i=t(34988),r=t(87363),o=t(9420),d=t(75327),l=t(96935),a=t(74133),s=t(93379),c=t.n(s),u=t(7795),p=t.n(u),m=t(90569),x=t.n(m),f=t(3565),g=t.n(f),h=t(19216),v=t.n(h),w=t(44589),b=t.n(w),y=t(74219),P={};P.styleTagTransform=b(),P.setAttributes=g(),P.insert=x().bind(null,"head"),P.domAPI=p(),P.insertStyleElement=v();c()(y.ZP,P);y.ZP&&y.ZP.locals&&y.ZP.locals;var j=t(65515),O=t.n(j),S=t(47514);const k=(0,o.Pi)((function SliderComponent(e){var n=e.item,t=e.style,o=e.paletteId,s=(0,d.NP)(),c=(0,r.useState)({}),u=(0,i.Z)(c,2),p=u[0],m=u[1],x=(0,r.useState)([]),f=(0,i.Z)(x,2),g=f[0],h=f[1],v=(0,r.useState)(),w=(0,i.Z)(v,2),b=w[0],P=w[1],j=function onChangeComplete(e){void 0!==(null!=e?e:b)&&s.paletteViewHandler.clickedOnConfigPalette(g[null!=e?e:b],void 0,o)};return(0,r.useEffect)((function(){var e=n.groups.flatMap((function(e){return e.items}));h(e),P(e.findIndex((function(e){return e.sel}))),m(e.reduce((function(e,n,t){return e[t]=n.text,e}),{}))}),[n]),0===g.length?(0,S.jsx)(S.Fragment,{}):(0,S.jsxs)("div",{style:t,className:O()(y.YS,"no-swiping"),children:[(0,S.jsx)(a.default,{isInScroller:!0,isSettingsHeader:!1,item:n}),(0,S.jsx)("div",{className:y.sL,children:(0,S.jsx)(l.Z,{marks:p,trackStyle:{backgroundColor:"#e9e9e9"},value:b,onChange:function onChange(e){Array.isArray(e)&&(e=e[0]),P(e),j(e)},onChangeComplete:j,min:Number(Object.keys(p)[0]),max:Number(Object.keys(p)[Object.keys(p).length-1])})})]})}))},2610:(e,n,t)=>{t.r(n),t.d(n,{default:()=>N});var i=t(88683),r=t(75327),o=t(87363),d=t(9420),l=t(20638),a=t(65515),s=t.n(a),c=t(93379),u=t.n(c),p=t(7795),m=t.n(p),x=t(90569),f=t.n(x),g=t(3565),h=t.n(g),v=t(19216),w=t.n(v),b=t(44589),y=t.n(b),P=t(77113),j={};j.styleTagTransform=y(),j.setAttributes=h(),j.insert=f().bind(null,"head"),j.domAPI=m(),j.insertStyleElement=w();u()(P.ZP,j);P.ZP&&P.ZP.locals&&P.ZP.locals;var O=t(74133),S=t(47514),k=function getSkeletons(e,n){var t=0;e>n&&(t=e-n);var i=[];if(t)for(var r=t-1;r>=0;r--)i.push(e-r);return i};const N=(0,d.Pi)((function PromotedProducts(e){var n,t,d,a=e.item,c=(0,i.useDivaCore)(),u=c.actions.openComponent,p=c.handler.productHandler,m=c.state,x=m.organization,f=m.hidePrices,g=(0,r.NP)(),h=g.settingsState,v=g.getViewConfig().productsConfig,w=(0,o.useRef)(!1),b=(0,o.useRef)(!1),y=(0,o.useCallback)((function(e){g.uiState.isLogicLoading||null!=h.promotedOptimisticProductId||w.current||(w.current=!0,b.current=!1,h.setPromotedOptimisticProductId(e),u({type:"DIVA_WEBPLANNER",parameters:{productId:e},internal:{forceReload:"1",keepCache:"1"}}))}),[u,h,g.uiState]),j=null!==(n=g.configState.productId)&&void 0!==n?n:!g.configState.divaNr&&g.divaWebPlanner.getStartProductId(),N=null!==(t=h.promotedOptimisticProductId)&&void 0!==t?t:j;(0,o.useEffect)((function(){w.current&&(g.uiState.isLogicLoading?b.current=!0:b.current&&(w.current=!1,b.current=!1,h.setPromotedOptimisticProductId(null)))}),[h,g.uiState.isLogicLoading]),(0,o.useEffect)((function(){h.setPromotedOptimisticProductId(null)}),[x._id,h]);var R=null===(d=g.divaWebPlanner.getCatalogData())||void 0===d?void 0:d.catalogCodex;(0,o.useEffect)((function(){var e;g.uiState.isLogicLoading||h.loadPromotedProducts(p,x._id,R,null===(e=g.divaWebPlanner)||void 0===e?void 0:e.getCurPlannerType(),v)}),[x._id,g.uiState.isLogicLoading,R]);var _=h.promotedGroups,I=null!=v&&v.maxCount&&v.showSkeletions?k(v.maxCount,_.length):[],C=g.uiState.isLogicLoading||null!=h.promotedOptimisticProductId||w.current;return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(O.default,{isInScroller:!1,isSettingsHeader:!0,item:a}),(0,S.jsxs)("div",{className:s()(P.Ry,C?P.Z_:void 0),"aria-disabled":C,children:[_.map((function(e,n){var t;return(0,S.jsx)(l.p,{settings:{contentBoxProps:{type:"ProductGallery",products:e.items,groupVariantsByField:["dc_color","dc_mainColor"],onClick:y,imageWrapperStyle:{aspectRatio:"unset"},wrapperStyle:e.items.find((function(e){return e._id==N}))?{border:"1px solid var(--diva-theme-palette-primary-main)",borderRadius:"5px"}:void 0,imageStyle:{aspectRatio:"14.5 / 10",objectFit:"scale-down",objectPosition:"bottom"},hidePrices:null!==(t=f||g.getViewConfig().promotedHidePrices)&&void 0!==t&&t}}},e._id)})),I.map((function(e){return(0,S.jsx)("div",{className:P.F1,children:(0,S.jsx)("div",{children:e})},e)}))]})]})}))},59638:(e,n,t)=>{t.r(n),t.d(n,{default:()=>g});var i=t(84658),r=t(34988),o=t(50747),d=t.n(o),l=t(9420),a=t(87363),s=t(37707),c=t(74635),u=t(75327),p=t(88683),m=t(44353),x=t(44874),f=t(47514);const g=(0,l.Pi)((function StyleConsultant(e){e.item;var n,t,o,l,g,h,v,w,b,y,P,j,O,S,k=(0,p.useTranslation)().t,N=(0,u.NP)(),R=N.aiState,_=(0,a.useState)(!1),I=(0,r.Z)(_,2),C=I[0],D=I[1],A=(0,a.useState)(null),T=(0,r.Z)(A,2),G=T[0],E=T[1],Z=(0,a.useState)(!1),L=(0,r.Z)(Z,2),z=L[0],M=L[1];if(null===(n=N.getViewConfig())||void 0===n||!n.showStyleConsultant||null===(t=R.enrichedAiRoomRenderings())||void 0===t||!t.length)return(0,f.jsx)("div",{className:m.nC,children:(0,f.jsx)("p",{className:m.tS,children:k("configurator.roomRendering.noStylesAvailable","Keine Stilwelten verfügbar.")})});var F=R.enrichedAiRoomRenderings(),K=null!==(o=F.find((function(e){return e.key===R.selectedRoom})))&&void 0!==o?o:F[0],B=R.usageBudget,H=null!==(l=null==B?void 0:B.remaining)&&void 0!==l?l:0,V=null!==(g=null===(h=N.settingsState.organizationAISettings)||void 0===h?void 0:h.leadRewardBonus)&&void 0!==g?g:0,W=(null!==(v=null===(w=N.getViewConfig())||void 0===w?void 0:w.aiPromptExamples)&&void 0!==v?v:[]).map((function(e){return k(e)})),U=R.generatedImageHistory,Y=null===(b=R.aiGenerationErrors[null!==(y=null==K?void 0:K.key)&&void 0!==y?y:""])||void 0===b?void 0:b[R.setHash],X=U.some((function(e){return e.key===(null==K?void 0:K.key)&&e.hash===R.setHash&&(e.customPrompt||"")===(R.customPromptInput||"")}));return(0,a.useEffect)((function(){M(!1)}),[U.length]),(0,f.jsxs)("div",{className:m.nC,children:[(0,f.jsx)("h1",{className:m.Se,children:k("configurator.inspiration.headline")}),U.length>0?(0,f.jsxs)("div",{className:m.YO,children:[(0,f.jsx)("h4",{className:m.fU,children:k("configurator.inspiration.sceneHistory")}),(0,f.jsx)("div",{className:m._g,children:(0,f.jsxs)(s.tq,{modules:[c.W_],spaceBetween:8,slidesPerView:"auto",navigation:!0,wrapperClass:"no-swiping",resizeObserver:!0,children:[(0,f.jsx)(s.o5,{onClick:function onClick(){R.isAnyGenerationInProgress&&R.focusLoadingSlide()},children:(0,f.jsxs)("div",{className:"".concat(m.X4," ").concat(z||R.isLoadingSlideActive?m.tj:""),children:[z&&null!=K&&K.image?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("img",{src:K.image,alt:K.name,className:m.p5}),K.name&&(0,f.jsx)("span",{className:m.cM,children:K.name})]}):(0,f.jsx)("span",{className:m.tg,children:"✨"}),R.isAnyGenerationInProgress&&(0,f.jsx)("div",{className:m.lH,children:(0,f.jsx)("span",{className:m.fF})})]})},"placeholder"),U.map((function(e,n){var t,i,r=null===(t=F.find((function(n){return n.key===e.key})))||void 0===t?void 0:t.name,o=!z&&!R.isLoadingSlideActive&&(null===(i=R.currentlyVisibleRoom)||void 0===i?void 0:i.src)===e.src;return(0,f.jsx)(s.o5,{onClick:function onClick(){M(!1),R.useAiGeneratedRoom(e.key,e.hash,!1,e.src)},children:(0,f.jsxs)("div",{className:"".concat(m.bx," ").concat(o?m.Yh:""),children:[(0,f.jsx)("img",{src:e.src}),r&&(0,f.jsx)("span",{className:m.cM,children:r})]})},"".concat(e.key,"-").concat(e.hash,"-").concat(n))}))]})})]}):(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("p",{className:m.mY,children:k("configurator.inspiration.subheadline")}),(0,f.jsxs)("div",{className:m.Mt,children:[(0,f.jsx)("img",{src:null==K?void 0:K.image,alt:null==K?void 0:K.name,className:m.aH}),K&&(0,f.jsxs)("div",{className:m.sG,children:[(0,f.jsx)("h3",{className:m.cU,children:K.name}),!!K.description&&(0,f.jsx)("p",{className:m.Nz,children:K.description})]})]})]}),(0,f.jsx)("div",{className:m.Xf,children:(0,f.jsx)("div",{className:m.is,children:(0,f.jsx)(s.tq,{modules:[c.W_],spaceBetween:10,slidesPerView:"auto",navigation:!0,wrapperClass:"no-swiping",resizeObserver:!0,onSwiper:E,children:F.map((function(e,n){return(0,f.jsx)(s.o5,{children:(0,f.jsxs)("button",{type:"button",className:"".concat(m.ch," ").concat(R.selectedRoom===e.key?m.w:""),onClick:function onClick(){R.setSelectedRoom(e.key),M(!0),null==G||G.slideTo(n)},disabled:R.isAnyGenerationInProgress,title:e.name,children:[(0,f.jsx)("img",{src:e.image,alt:e.name,className:m.Te}),(0,f.jsx)("span",{className:m.lr,children:e.name})]})},e.key)}))})})}),(0,f.jsx)("div",{className:m.RF,children:H>0&&!C?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("button",{type:"button",className:m.N1,onClick:function onClick(){return K&&R.handleGenerate(K.key,!0)},disabled:!K||R.isAnyGenerationInProgress||null!==(P=null==B?void 0:B.isLimitReached)&&void 0!==P&&P||X,children:[(0,f.jsx)("span",{children:X?k("configurator.inspiration.generated"):R.isAnyGenerationInProgress?k("configurator.inspiration.generating"):k(Y?"configurator.inspiration.retry":"configurator.inspiration.generate")}),!X&&!R.isAnyGenerationInProgress&&(0,f.jsx)("span",{className:m.L_,children:k("configurator.inspiration.generateTime","(ca. 20 Sek.)")})]}),Y&&(0,f.jsx)("p",{className:m.N3,children:k(Y,k("configurator.roomRendering.aiGenerationError.imageSafety"===Y?"configurator.inspiration.imageSafetyError":"configurator.roomRendering.aiGenerationError.resourceExhausted"===Y?"configurator.inspiration.resourceExhaustedError":"configurator.inspiration.unknownError"))}),(0,f.jsx)("p",{className:m.fh,children:1===H?k("configurator.inspiration.remainingOne"):k("configurator.inspiration.remaining",{scenesRemaining:H})})]}):(0,f.jsx)(x.default,{budgetTotal:null!==(j=null==B?void 0:B.total)&&void 0!==j?j:3,leadBonus:V,leadKeyActive:null!==(O=null==B?void 0:B.leadKeyActive)&&void 0!==O&&O,onSubmit:function(){var e=(0,i.Z)(d().mark((function _callee(e){var n;return d().wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:return D(!0),t.next=3,R.createLeadKey(e);case 3:return n=t.sent,t.abrupt("return",null!=n?n:{success:!1});case 5:case"end":return t.stop()}}),_callee)})));return function(n){return e.apply(this,arguments)}}(),onSuccess:function onSuccess(){return D(!1)}})}),H>0&&!C&&(0,f.jsxs)("div",{className:m.a9,children:[(0,f.jsx)("p",{className:m.fQ,children:k("configurator.inspiration.customPromptToggle","Optional: Bild personalisieren")}),(0,f.jsx)("input",{type:"text",className:m.pl,value:null!==(S=R.customPromptInput)&&void 0!==S?S:"",onChange:function onChange(e){return R.setCustomPromptInput(e.target.value)},placeholder:k("configurator.inspiration.customPlaceholder")}),W.length>0&&(0,f.jsx)("div",{className:m.fZ,children:(0,f.jsx)(s.tq,{spaceBetween:8,slidesPerView:"auto",wrapperClass:"no-swiping",resizeObserver:!0,children:W.map((function(e){return(0,f.jsx)(s.o5,{children:(0,f.jsx)("button",{type:"button",className:m.HM,onClick:function onClick(){return R.setCustomPromptInput(e)},children:e})},e)}))})})]}),(0,f.jsx)("button",{type:"button",className:m.MZ,onClick:function onClick(){var e=N.tabGroupState.firstVisibleConfigStep;e&&N.navigateToConfigStep(e.key)},children:k("configurator.inspiration.tryVariant")})]})}))},78717:(e,n,t)=>{t.r(n),t.d(n,{default:()=>x});t(87363);var i=t(65515),r=t.n(i),o=t(550),d=t(75327),l=t(85092),a=t(88683),s=t(21801),c=t(91087),u=t(19456),p=t(47514),m=(0,a.getLogger)("Planner","ToggleName");const x=function ToggleName(e){var n,t,i,a=e.item,x=e.paletteId,f=e.style,g=(0,d.NP)(),h=a.groups[0].items;if(!h)return(0,p.jsx)(p.Fragment,{});for(var v=0;v<h.length;v++){var w,b;null!==(w=h[v].codex)&&void 0!==w&&w.startsWith("OPVNEIN")&&(i=h[v]),null!==(b=h[v].codex)&&void 0!==b&&b.startsWith("OPVJA")&&(t=h[v])}if(!(i&&t||(2==h.length&&(i=h[0],t=h[1]),i&&t)))return m.warn("Achtung! Bei der Option: "+h[0].op+" gibt es keine eindeutige werte für JA und NEIN","WC_0011"),a.isVisited=!0,(0,p.jsx)(p.Fragment,{});var y=0==i.sel,P=null!==(n=a.selectedElements)&&void 0!==n&&n[0].contentItemId?a.selectedElements[0]:a.optionContentItemId?{contentItemId:a.optionContentItemId,codex:a.configStepKey}:void 0;return(0,p.jsxs)("div",{className:o.O7,ref:function ref(e){return a.htmlRef=e},style:f,children:[(0,p.jsxs)("div",{className:r()(o.Fl,o.TN,o.u2),onClick:function onClick(){g.paletteViewHandler.clickedOnConfigPalette(i,void 0,x)},children:[void 0!==i.pricePreviewPromise&&(0,p.jsx)(c.default,{asyncPricePreview:i.pricePreviewPromise,sel:i.sel}),(0,p.jsx)("div",{className:y?void 0:o.pA,dangerouslySetInnerHTML:{__html:i.text}})]}),(0,p.jsx)("div",{className:r()(o.Fl,o.ZN),children:(0,p.jsx)(l.default,{onChange:function onChange(){g.paletteViewHandler.clickedOnConfigPalette(i.sel?t:i,void 0,x)},val:a,alwaysActiveColor:!0,state:y})}),(0,p.jsxs)("div",{className:r()(o.Fl,o.TN,o.u2),onClick:function onClick(){g.paletteViewHandler.clickedOnConfigPalette(t,void 0,x)},children:[void 0!==t.pricePreviewPromise&&(0,p.jsx)(c.default,{asyncPricePreview:t.pricePreviewPromise,sel:t.sel}),void 0!==t.checkForReversingChanges&&(0,p.jsx)(u.default,{item:t,paletteId:x}),(0,p.jsx)("div",{className:y?o.pA:void 0,dangerouslySetInnerHTML:{__html:t.text}})]}),P&&(0,p.jsx)(s.default,{item:P,style:{position:"relative"}},a.configStepKey)]})}},88584:(e,n,t)=>{t.r(n),t.d(n,{default:()=>g});t(87363);var i=t(65515),r=t.n(i),o=t(550),d=t(75327),l=t(85092),a=t(9420),s=t(88683),c=t(69369),u=t(21801),p=t(91087),m=t(19456),x=t(47514),f=(0,s.getLogger)("Planner","ToggleOption");const g=(0,a.Pi)((function ToggleOption(e){var n,t,i,a=e.item,s=e.paletteId,g=e.style,h=(0,d.NP)(),v=a.groups[0].items;if(!v)return(0,x.jsx)(x.Fragment,{});for(var w=0;w<v.length;w++){var b,y;null!==(b=v[w].codex)&&void 0!==b&&b.startsWith("OPVNEIN")&&(i=v[w]),null!==(y=v[w].codex)&&void 0!==y&&y.startsWith("OPVJA")&&(t=v[w])}if(!(i&&t||(2==v.length&&(i=v[0],t=v[1]),i&&t)))return f.error(new c.GE("Achtung! Bei der Option: "+v[0].op+" gibt es keine eindeutige werte für JA und NEIN",{code:"WC_0011"})),a.isVisited=!0,(0,x.jsx)(x.Fragment,{});var P=null!==(n=a.selectedElements)&&void 0!==n&&n[0].contentItemId?a.selectedElements[0]:a.optionContentItemId?{contentItemId:a.optionContentItemId,codex:a.configStepKey}:void 0;return(0,x.jsxs)("div",{className:o.O7,ref:function ref(e){return a.htmlRef=e},style:g,children:[(0,x.jsx)("div",{className:r()(o.eR,o.TN),children:a.name}),(0,x.jsxs)("div",{className:r()(o.eR,o.ZN),children:[void 0!==i.pricePreviewPromise&&(0,x.jsx)(p.default,{asyncPricePreview:i.pricePreviewPromise,sel:i.sel,pos:"left"}),(0,x.jsx)(l.default,{onChange:function onChange(){h.paletteViewHandler.clickedOnConfigPalette(i.sel?t:i,void 0,s)},val:a,state:0==i.sel,off:i.text,on:t.text}),void 0!==t.pricePreviewPromise&&(0,x.jsx)(p.default,{asyncPricePreview:t.pricePreviewPromise,sel:t.sel,pos:"right"}),void 0!==t.checkForReversingChanges&&(0,x.jsx)(m.default,{item:t,paletteId:s})]}),P&&(0,x.jsx)(u.default,{item:P,style:{bottom:"calc(50% - 10px)",right:"20px"}},a.configStepKey)]})}))},86663:(e,n,t)=>{t.r(n),t.d(n,{default:()=>_});var i=t(80248),r=t(87363),o=t(93379),d=t.n(o),l=t(7795),a=t.n(l),s=t(90569),c=t.n(s),u=t(3565),p=t.n(u),m=t(19216),x=t.n(m),f=t(44589),g=t.n(f),h=t(98404),v={};v.styleTagTransform=g(),v.setAttributes=p(),v.insert=c().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=x();d()(h.ZP,v);h.ZP&&h.ZP.locals&&h.ZP.locals;var w=t(65515),b=t.n(w),y=t(11994),P=t(74133),j=t(68073),O=t(9420),S=t(75327),k=t(14581),N=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}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,i.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=(0,r.lazy)((function(){return Promise.all([t.e(7853),t.e(6343)]).then(t.bind(t,66343))}));const _=(0,O.Pi)((function ItemWrapper(e){var n,t=e.item,i=e.style,o=e.children,d=e.zIndexBase,l=(0,S.NP)(),a=t.isHeader?(0,N.jsx)(N.Fragment,{}):(0,N.jsx)(P.default,{isInScroller:!0,isSettingsHeader:!1,item:t}),s=t.type.startsWith("ART"),c=s&&l.settingsState.planner2Dot0Active;return(0,N.jsxs)("div",{className:b()(h.fM,{wcFilterVisible:t.filterVisible}),ref:function ref(e){return t.htmlRef=e},id:t.configStepKey,style:_objectSpread(_objectSpread({},i),{},{zIndex:(null!=d?d:0)+Math.round(100/(t.id+1))}),children:[!c&&a,(0,N.jsx)(y.default,{stepInfo:t.info}),!(null===(n=t.conceptFilter)||void 0===n||!n.length)&&(0,N.jsx)(r.Suspense,{fallback:(0,N.jsx)(N.Fragment,{}),children:(0,N.jsx)(R,{additionalGroupFilter:t.conceptFilter,paletteId:t.id})}),c&&(0,N.jsx)(k.default,{}),t.description&&(0,N.jsx)("div",{className:h.WL,dangerouslySetInnerHTML:{__html:t.description}}),s&&!c&&l.settingsState.doShowReplaceMode&&(!l.paletteViewHandler.plannerItems.DoShowAdditionalPlannerElements||2==t.id)&&(0,N.jsx)(j.default,{}),c&&a,o]})}))},37486:(e,n,t)=>{t.r(n),t.d(n,{default:()=>T,getKey:()=>A});var i=t(80248),r=t(34988),o=t(87363),d=t.n(o),l=t(9420),a=t(86468),s=t(35573),c=t(53125),u=t(32105),p=t(3985),m=t(88584),x=t(75327),f=t(31210),g=t(2610),h=t(59638),v=t(78717),w=t(4903),b=t(86663),y=t(28566),P=t(90631),j=t(68686),O=t(88683);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}var S=function useGridVariables(e){var n=(0,x.NP)(),t=(0,O.useDivaCore)().state.dimensions,r=(0,o.useMemo)((function(){var t,r,o,d,l,a,s=null!==(t=n.uiState.ViewConfig.settingsSizes)&&void 0!==t?t:{},c=null!==(r=null===(o=n.settingsState.settingsScrollerElement)||void 0===o?void 0:o.getBoundingClientRect().width)&&void 0!==r?r:0,u=null!==(d=null==s?void 0:s.gapDefault)&&void 0!==d?d:"10px",p=null!==(l=null==s?void 0:s.sizeDefault)&&void 0!==l?l:"300px",m=void 0;if(["SUMMARY_ARTICLES","SUMMARY_OPTIONTREE","VARIANTS"].includes(e.type))p="calc(100% - 20px)";else if(["GAL_GROUP_DROPDOWN","GAL_BIG"].includes(e.type))p="100px";else if("ACC"==e.type)s.sizeAccessoires&&(p=s.sizeAccessoires);else if("ACC_CONFIG"==e.type)p="100%";else if("RANGE"==e.type)p="100%";else if("GAL"==e.type){var x,f;p=null!==(x=null==s?void 0:s.sizeGallery)&&void 0!==x?x:"80px",u=null!==(f=null==s?void 0:s.gapGallery)&&void 0!==f?f:"10px"}else"PLANNERSWITCH"===e.type?p="170px":"SMALL"===e.type&&n.getIsInMobileView()&&"jungle"==(null===(a=n.uiState.templateConfigKeys)||void 0===a?void 0:a.ItemDefault)?p="120px":"VERY_SMALL"===e.type?p="48%":"GAL_TEXT_2"==e.type?p=c>700||c>550?"120px":c>400?"90px":"70px":"GAL_TEXT"==e.type||"SHELFPLANNER"===e.type&&n.productState.shelfPlannerRTV?p=c>700||c>550?"100px":c>400||!n.uiState.isInMobileView?"90px":"80px":"GAL_BIG_TEXT_2"==e.type?p=c>700?"190px":c>550?"170px":c>400?"145px":"130px":"GAL_BIG_TEXT"==e.type?p=c>700||c>550?"120px":c>400?"110px":"100px":["GAL_SMALL_TEXT_2","PLANNER_2.0","ART_2"].includes(e.type)?(p=c>700?"105px":c>550?"95px":c>400?"80px":"70px",u="8px"):"GAL_SMALL_TEXT"==e.type?(p=c>700?"75px":c>550?"70px":c>400?"55px":"50px",u="6px"):"GAL_VERY_SMALL_TEXT"==e.type?(p="60px",u="6px"):e.type.startsWith("GAL_SMALL")&&(p="60px");return["GAL_SMALL_GROUP_DROPDOWN","TOGGLE","TOGGLE_NAME","DROPDOWN_IMAGE","DROPDOWN_TEXT"].includes(e.type)&&(m="20px"),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,i.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}({"--gridSize":p,"--gridGap":u},m?{"--infoIconSize":m}:{})}),[e,n.uiState.ViewConfig.settingsSizes,n.settingsState.settingsScrollerElement,t]);return r},k=t(36709),N=t(32699),R=t(47514);function SettingsItem_ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function SettingsItem_objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?SettingsItem_ownKeys(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):SettingsItem_ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var _=d().lazy((function(){return Promise.all([t.e(9944),t.e(7442)]).then(t.bind(t,67442))})),I=d().lazy((function(){return Promise.all([t.e(2976),t.e(1270)]).then(t.bind(t,21270))})),C=d().lazy((function(){return Promise.all([t.e(1849),t.e(3142)]).then(t.bind(t,33142))})),D=["SHELFPLANNER","PLANNER_2.0","CHECKOUT","PRODUCTS","PROMOTED","STYLE_CONSULTANT","DOOR_PLANNER","SUMMARY","SUMMARY_OPTIONTREE","SUMMARY_ARTICLES","VARIANTS"],A=function getKey(e){var n,t,i,r;return e.isTabGroup?e.tabgroupName+e.title:null!==(n=null!==(t=null!==(i=null!==(r=e.basketId)&&void 0!==r?r:e.codex)&&void 0!==i?i:e.key)&&void 0!==t?t:e.articleCodex)&&void 0!==n?n:e.title};const T=(0,l.Pi)((function SettingsPaletteItem(e){var n,t=e.item,i=e.zIndexBase,d=(0,x.NP)(),l=(0,N.me)(),O=S(t),T=w.default[t.type];if(void 0===T)throw new Error("component type: '"+t.type+"' not implemented");var G=(0,o.useState)([]),E=(0,r.Z)(G,2),Z=E[0],L=E[1],z=(0,o.useState)([]),M=(0,r.Z)(z,2),F=M[0],K=M[1];(0,o.useEffect)((function(){var e=t.groups.map((function(e){return SettingsItem_objectSpread(SettingsItem_objectSpread({},e),{},{items:t.currentItemsFilter&&"PLANNERSWITCH"!==t.type?e.items.filter((0,a.ZP)(t.currentItemsFilter)):e.items})})),n=e.filter((function(e){return e.items.length>0}));n.length>0&&(e=n),L(n),K(e)}),[t,d.settingsState.itemPalettes]);var B=1===Z.length&&"none"===Z[0].name,H=t.type.startsWith("SUMMARY")?"":p.pw;if(!t.visible)return(0,R.jsx)(R.Fragment,{});if(d.wysiwygDebugState.wysiwygInspectView&&!D.includes(t.type)){var V=l.InspectModeTables;return V?(0,R.jsx)(V,{item:t}):(0,R.jsx)(N.oF,{name:"InspectModeTables"})}switch(t.type){case"TOGGLE":return(0,R.jsx)(m.default,{style:O,item:t,paletteId:t.id});case"TOGGLE_NAME":return(0,R.jsx)(v.default,{style:O,item:t,paletteId:t.id});case"TEXTBOX":return(0,R.jsx)(s.default,{style:O,item:t,paletteId:t.id});case"DROPDOWN_TEXT":case"DROPDOWN_IMAGE":return(0,R.jsx)(c.default,{style:O,item:t,paletteId:t.id});case"NUMBER":return(0,R.jsx)(T,{paletteId:t.id,item:null===(n=t.groups[0])||void 0===n||null===(n=n.items)||void 0===n?void 0:n[0]},t.id+t.configStepKey);case"SLIDER":return(0,R.jsx)(y.default,{style:O,item:t,paletteId:t.id});case"MULTI_TOGGLE":case"MULTI_TOGGLE_ROUND":return(0,R.jsx)(P.default,{style:O,item:t,paletteId:t.id,round:"MULTI_TOGGLE_ROUND"===t.type});case"RADIO":case"RADIO_LIST":return(0,R.jsx)(j.default,{style:O,item:t,paletteId:t.id,displayMode:"RADIO"===t.type?"boxed":"list"});case"SHELFPLANNER":return(0,R.jsx)(o.Suspense,{fallback:(0,R.jsx)(R.Fragment,{}),children:(0,R.jsx)(_,{filteredGroups:Z,item:t,id:t.id,style:O},t.id)});case"PLANNER_2.0":return(0,R.jsx)(R.Fragment,{});case"CHECKOUT":return(0,R.jsx)(k.default,{},t.id);case"PRODUCTS":return(0,R.jsx)(C,{item:t});case"PROMOTED":return(0,R.jsx)(g.default,{item:t});case"STYLE_CONSULTANT":return(0,R.jsx)(h.default,{item:t});case"DOOR_PLANNER":return(0,R.jsx)(o.Suspense,{fallback:(0,R.jsx)(R.Fragment,{}),children:(0,R.jsx)(I,{item:t})});case"GAL_GROUP_DROPDOWN":case"GAL_SMALL_GROUP_DROPDOWN":var W=(0,R.jsx)(f.default,{item:t,PaletteComponent:T,filteredGroups:F,id:t.id,showSearchBar:"GAL_GROUP_DROPDOWN"==t.type,contentInnerClassName:H},t.configStepKey);return(0,R.jsx)(b.default,{style:O,item:t,children:W,zIndexBase:i});default:var U;return U=B?(0,R.jsx)("div",{className:H,children:Z.map((function(e){return e.items.map((function(e,n){return(0,R.jsx)(T,{paletteType:t.type,paletteId:t.id,item:e},A(e))}))}))}):(0,R.jsx)(u.default,{groups:Z,contentInnerClassName:H,itemPalette:t,PaletteComponent:T}),(0,R.jsx)(b.default,{style:O,item:t,children:U,zIndexBase:i})}}))},83301:(e,n,t)=>{t.d(n,{Ey:()=>m,ZP:()=>x,tx:()=>p});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o),l=t(61667),a=t.n(l),s=new URL(t(64197),t.b),c=d()(r()),u=a()(s);c.push([e.id,".index-module--DtwRe.index-module--PGk_O {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n margin: 4px;\n}\n\n/*navigation*/\n\n.index-module--DtwRe.index-module--PGk_O .swiper-slide {\n width: auto;\n width: initial;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-slide:first-child {\n width: auto;\n width: initial;\n margin-left: 46px;\n}\n\n.index-module--DtwRe.index-module--PGk_O .swiper-slide:hover {\n z-index: 1000;\n}\n\n.index-module--DtwRe.index-module--PGk_O .swiper-button-prev,\n.index-module--DtwRe.index-module--PGk_O .swiper-button-next {\n position: absolute;\n top: 50%;\n top: var(--swiper-navigation-top-offset, 50%);\n width: calc(var(--swiper-navigation-size) / 44 * 27);\n height: var(--swiper-navigation-size);\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--swiper-theme-color);\n color: var(--swiper-navigation-color, var(--swiper-theme-color));\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-prev.swiper-button-disabled,\n.index-module--DtwRe.index-module--PGk_O .swiper-button-next.swiper-button-disabled {\n opacity: 0.35;\n cursor: auto;\n pointer-events: none;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-prev.swiper-button-hidden,\n.index-module--DtwRe.index-module--PGk_O .swiper-button-next.swiper-button-hidden {\n opacity: 0;\n cursor: auto;\n pointer-events: none;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-navigation-disabled .swiper-button-prev,\n.index-module--DtwRe.index-module--PGk_O .swiper-navigation-disabled .swiper-button-next {\n display: none !important;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-prev svg,\n.index-module--DtwRe.index-module--PGk_O .swiper-button-next svg {\n width: 100%;\n height: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n transform-origin: center;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-rtl .swiper-button-prev svg,\n.index-module--DtwRe.index-module--PGk_O .swiper-rtl .swiper-button-next svg {\n transform: rotate(180deg);\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-prev,\n.index-module--DtwRe.index-module--PGk_O .swiper-rtl .swiper-button-next {\n left: 10px;\n left: var(--swiper-navigation-sides-offset, 10px);\n right: auto;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-next,\n.index-module--DtwRe.index-module--PGk_O .swiper-rtl .swiper-button-prev {\n right: 10px;\n right: var(--swiper-navigation-sides-offset, 10px);\n left: auto;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-lock {\n display: none;\n}\n/* Navigation font start */\n.index-module--DtwRe.index-module--PGk_O .swiper-button-prev:after,\n.index-module--DtwRe.index-module--PGk_O .swiper-button-next:after {\n text-transform: none !important;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-prev:after,\n.index-module--DtwRe.index-module--PGk_O .swiper-button-next:after {\n font-family: swiper-icons;\n font-size: var(--swiper-navigation-size);\n letter-spacing: 0;\n font-feature-settings: ;\n font-variant: normal;\n font-variant: initial;\n line-height: 1;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-prev:after,\n.index-module--DtwRe.index-module--PGk_O .swiper-rtl .swiper-button-next:after {\n content: 'prev';\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-next,\n.index-module--DtwRe.index-module--PGk_O .swiper-rtl .swiper-button-prev {\n right: 10px;\n right: var(--swiper-navigation-sides-offset, 10px);\n left: auto;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-button-next:after,\n.index-module--DtwRe.index-module--PGk_O .swiper-rtl .swiper-button-prev:after {\n content: 'next';\n}\n/* Navigation font end */\n\n/*swiper min css*/\n\n@font-face {\n font-family: swiper-icons;\n src: url("+u+');\n font-weight: 400;\n font-style: normal;\n}\n\n.index-module--DtwRe.index-module--PGk_O .swiper {\n position: relative;\n overflow: hidden;\n list-style: none;\n padding: 0;\n z-index: 1;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-vertical.swiper {\n width: 100%;\n}\n\n.index-module--DtwRe.index-module--PGk_O .swiper-vertical > .swiper-wrapper {\n flex-direction: column;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1;\n display: flex;\n align-items: center;\n transition-property: transform;\n box-sizing: content-box;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-android .swiper-slide,\n.index-module--DtwRe.index-module--PGk_O .swiper-wrapper {\n transform: translate3d(0px, 0, 0);\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-pointer-events {\n touch-action: pan-y;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-pointer-events.swiper-vertical {\n touch-action: pan-x;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-slide {\n flex-shrink: 0;\n height: 100%;\n position: relative;\n transition-property: transform;\n}\n\n.index-module--DtwRe.index-module--PGk_O .swiper-vertical .swiper-slide {\n height: auto;\n}\n\n.index-module--DtwRe.index-module--PGk_O .swiper-slide-invisible-blank {\n visibility: hidden;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-autoheight,\n.index-module--DtwRe.index-module--PGk_O .swiper-autoheight .swiper-slide {\n height: auto;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-autoheight .swiper-wrapper {\n align-items: flex-start;\n transition-property: transform, height;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-backface-hidden .swiper-slide {\n transform: translateZ(0);\n backface-visibility: hidden;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-horizontal.swiper-css-mode > .swiper-wrapper {\n scroll-snap-type: x mandatory;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-vertical.swiper-css-mode > .swiper-wrapper {\n scroll-snap-type: y mandatory;\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-centered > .swiper-wrapper::before {\n content: \'\';\n flex-shrink: 0;\n order: 9999;\n}\n[dir="ltr"] .index-module--DtwRe.index-module--PGk_O .swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {\n margin-left: var(--swiper-centered-offset-before);\n}\n[dir="rtl"] .index-module--DtwRe.index-module--PGk_O .swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {\n margin-right: var(--swiper-centered-offset-before);\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-centered.swiper-horizontal > .swiper-wrapper::before {\n height: 100%;\n min-height: 1px;\n width: var(--swiper-centered-offset-after);\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-centered.swiper-vertical > .swiper-wrapper > .swiper-slide:first-child {\n margin-top: var(--swiper-centered-offset-before);\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-centered.swiper-vertical > .swiper-wrapper::before {\n width: 100%;\n min-width: 1px;\n height: var(--swiper-centered-offset-after);\n}\n.index-module--DtwRe.index-module--PGk_O .swiper-centered > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: center center;\n}\n',""]);var p="index-module--DtwRe",m="index-module--PGk_O";const x=c},53946:(e,n,t)=>{t.d(n,{Mq:()=>s,YS:()=>l,ZP:()=>u,ai:()=>a,u7:()=>c});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--GKAfY {\n position: sticky;\n top: 0px;\n z-index: 1500;\n display: flex;\n justify-content: space-around;\n gap: 16px;\n width: 100%;\n height: 148px;\n pointer-events: none;\n}\n\n.index-module--GKAfY.index-module--KrBev:not(.index-module--ivdRZ) {\n top: 14px;\n height: 108px;\n}\n\n.index-module--GKAfY.index-module--ivdRZ {\n top: 26px;\n}\n\n.index-module--bxQaE {\n background: var(--settingsBackgroundColor);\n pointer-events: auto;\n width: 100%;\n height: -moz-fit-content;\n height: fit-content;\n}\n",""]);var l="index-module--GKAfY",a="index-module--KrBev",s="index-module--ivdRZ",c="index-module--bxQaE";const u=d},11309:(e,n,t)=>{t.d(n,{JU:()=>c,LI:()=>a,YS:()=>l,ZP:()=>u,pA:()=>s});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--RNSdL {\n position: sticky;\n top: -1px;\n z-index: 500;\n display: flex;\n justify-content: space-around;\n gap: 16px;\n background-color: var(--settingsBackgroundColor);\n padding: 6px;\n}\n\n.index-module--BZXkK {\n transition: color 0.3s ease, border 0.3s ease;\n cursor: pointer;\n text-wrap: nowrap;\n white-space: nowrap;\n position: relative;\n flex-grow: 1;\n text-align: center;\n padding-top: 4px;\n padding-bottom: 4px;\n font-size: 18px;\n}\n\n.index-module--BZXkK:hover,\n.index-module--WUQm2 {\n border: none;\n color: var(--diva-theme-palette-primary-main);\n}\n\n.index-module--BZXkK::after {\n content: '';\n position: absolute;\n width: 0px;\n left: 50%;\n transition: all ease-in-out 0.2s;\n bottom: 0;\n height: 1px;\n background-color: var(--diva-theme-palette-primary-main);\n}\n\n.index-module--BZXkK.index-module--WUQm2::after {\n height: 2px;\n}\n\n.index-module--BZXkK:hover::after,\n.index-module--WUQm2::after {\n width: 100%;\n left: 0;\n}\n.index-module--f88nM.index-module--BZXkK:hover::after {\n width: 0px;\n left: 0;\n}\n\n.index-module--f88nM.index-module--BZXkK::after {\n background-color: lightgray;\n}\n\n.index-module--f88nM.index-module--BZXkK {\n color: grey;\n cursor: not-allowed;\n}\n",""]);var l="index-module--RNSdL",a="index-module--BZXkK",s="index-module--WUQm2",c="index-module--f88nM";const u=d},18135:(e,n,t)=>{t.d(n,{F2:()=>u,O7:()=>a,TN:()=>s,ZP:()=>f,eR:()=>p,kA:()=>x,q_:()=>l,t:()=>m,t$:()=>c});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--DhmpB {\n border-radius: var(--globalBorderRadius);\n background: white;\n position: relative;\n display: flex;\n width: 100%;\n z-index: 100;\n transition: all 0.15s ease;\n}\n\n.index-module--DhmpB:hover {\n box-shadow: 0px 1px 4px rgba(68, 49, 49, 0.15);\n z-index: 200;\n transition: 0.15s ease;\n}\n.index-module--DhmpB:active {\n box-shadow: 0px 1px 4px rgba(68, 49, 49, 0.6);\n z-index: 200;\n transition: 0.15s ease;\n}\n\n.index-module--BRYpa {\n width: 100%;\n padding: 12px 20px;\n margin: 8px 0;\n display: inline-block;\n border: 1px solid #ccc;\n border-radius: 4px;\n box-sizing: border-box;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode .index-module--DhmpB {\n background-color: #374c86;\n color: #fff;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode .index-module--BRYpa {\n background-color: #2c3c6b;\n border-color: rgba(255, 255, 255, 0.2);\n color: #fff;\n}\n\n.index-module--VyzqQ {\n width: 100%;\n height: -moz-fit-content;\n height: fit-content;\n position: relative;\n display: flex;\n padding-bottom: 4px;\n padding-top: 4px;\n}\n\n.index-module--KQkM7 {\n display: flex;\n}\n.index-module--bKCuD {\n width: 40%;\n}\n.index-module--FSuK_ {\n width: 60%;\n}\n\n.index-module--pc3yf {\n margin: 8px;\n white-space: nowrap;\n}\n\n.index-module--laiEH {\n display: flex;\n}\n.index-module--HL0mI {\n width: 50px;\n line-height: 60px;\n}\n",""]);var l="index-module--BRYpa",a="index-module--VyzqQ",s="index-module--KQkM7",c="index-module--bKCuD",u="index-module--FSuK_",p="index-module--pc3yf",m="index-module--laiEH",x="index-module--HL0mI";const f=d},60636:(e,n,t)=>{t.d(n,{F2:()=>c,No:()=>a,YS:()=>l,ZP:()=>p,pA:()=>u,wb:()=>s});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--V0pQW {\n height: 36px;\n width: 100%;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: #eaeaea;\n border-radius: 6px;\n}\n.index-module--zHWrU {\n height: calc(100% - 6px);\n width: calc(100% - 6px);\n border-radius: 3px;\n box-sizing: content-box;\n box-sizing: initial;\n position: relative;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.index-module--rSXQZ {\n display: block;\n position: absolute;\n z-index: 1;\n height: 30px;\n background-color: #fff;\n border-radius: 3px;\n transition: left 0.25s ease-out;\n}\n\n.index-module--Ublpe {\n position: relative;\n display: flex;\n gap: 4px;\n justify-content: center;\n align-items: center;\n z-index: 2;\n line-height: 22px;\n height: 20px;\n width: calc(100% - 8px);\n padding: 6px;\n font-size: 14px;\n color: rgba(0, 0, 0, 0.6);\n text-align: center;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n transition:\n color 0.2s ease-out,\n font-weight 0.2s ease-out;\n}\n\n.index-module--jEYkH {\n font-weight: 300;\n color: #000;\n}\n",""]);var l="index-module--V0pQW",a="index-module--zHWrU",s="index-module--rSXQZ",c="index-module--Ublpe",u="index-module--jEYkH";const p=d},7182:(e,n,t)=>{t.d(n,{O7:()=>l,TN:()=>c,Xf:()=>s,ZN:()=>u,ZP:()=>p,eR:()=>a});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--zbUn_ {\n display: flex;\n justify-content: center;\n flex-direction: column;\n margin-bottom: 24px;\n}\n.index-module--NgTfo {\n width: calc(100% - 64px);\n padding: 8px 32px;\n}\n\n.index-module--j9Vsg {\n width: 100%;\n height: -moz-fit-content;\n height: fit-content;\n position: relative;\n display: flex;\n padding-bottom: 4px;\n align-items: center;\n justify-content: space-between;\n padding-top: 4px;\n margin-bottom: 10px;\n gap: 12px;\n}\n.index-module--oMpID {\n width: 65%;\n}\n.index-module--oMpID:first-child {\n width: 35%;\n margin: 10px 0px;\n position: relative;\n display: flex;\n gap: 8px;\n}\n\n.index-module--CG0qP {\n flex-grow: 1;\n height: 58px;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n min-width: 33%;\n}\n\n/* The title column has a fixed width, so the name must shrink instead of pushing the info icon onto the toggle. */\n.index-module--HRorI {\n min-width: 0;\n word-wrap: anywhere;\n}\n\n.index-module--F6wCX {\n text-align: left;\n margin-left: 0;\n margin-left: initial;\n cursor: pointer;\n}\n\n.index-module--mALKQ {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n",""]);var l="index-module--j9Vsg",a="index-module--oMpID",s="index-module--HRorI",c="index-module--F6wCX",u="index-module--mALKQ";const p=d},23623:(e,n,t)=>{t.d(n,{Lc:()=>p,PS:()=>g,TN:()=>a,UH:()=>s,YS:()=>l,ZP:()=>h,dm:()=>c,gB:()=>f,hv:()=>u,vd:()=>m,w5:()=>x});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--ptxMZ {\n display: flex;\n flex-direction: column;\n margin-bottom: 24px;\n width: 100%;\n}\n\n.index-module--X1DVu {\n font-weight: bold;\n font-size: 16px;\n margin-bottom: 16px;\n text-align: left;\n color: var(--secondaryColor);\n}\n\n/* Boxed Mode */\n.index-module--KIReo {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n}\n\n.index-module--eoa3S {\n position: relative;\n border: 1px solid #e0e0e0;\n border: 1px solid var(--optionItemBorderColor, #e0e0e0);\n border-radius: var(--globalBorderRadius);\n padding: 12px 24px;\n cursor: pointer;\n flex: 1;\n min-width: 120px;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: all 0.2s ease-in-out;\n background-color: #fff;\n}\n\n.index-module--eoa3S.index-module--HoaxU {\n border-color: var(--primaryColor);\n color: var(--primaryColor);\n}\n\n/* List Mode */\n.index-module--qUNzP {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n\n.index-module--WgT0o {\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer;\n gap: 12px;\n}\n\n.index-module--yqUyo {\n width: 24px;\n height: 24px;\n border: 2px solid #e0e0e0;\n border: 2px solid var(--optionItemBorderColor, #e0e0e0);\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: border-color 0.2s ease-in-out;\n}\n\n.index-module--yqUyo.index-module--HoaxU {\n border-color: var(--primaryColor);\n}\n\n.index-module--FeZni {\n width: 12px;\n height: 12px;\n background-color: var(--primaryColor);\n border-radius: 50%;\n opacity: 0;\n transition: opacity 0.2s ease-in-out;\n}\n\n.index-module--FeZni.index-module--HoaxU {\n opacity: 1;\n}\n\n.index-module--q1nJs {\n font-size: 16px;\n color: var(--secondaryColor);\n}\n\n.index-module--q1nJs.index-module--HoaxU {\n color: var(--primaryColor);\n}\n\n/* Helper to toggle between modes for demo */\n.index-module--eyrXD {\n font-size: 10px;\n color: #999;\n cursor: pointer;\n margin-top: 8px;\n text-decoration: underline;\n align-self: flex-start;\n}",""]);var l="index-module--ptxMZ",a="index-module--X1DVu",s="index-module--KIReo",c="index-module--eoa3S",u="index-module--HoaxU",p="index-module--qUNzP",m="index-module--WgT0o",x="index-module--yqUyo",f="index-module--FeZni",g="index-module--q1nJs";const h=d},74219:(e,n,t)=>{t.d(n,{YS:()=>l,ZP:()=>s,sL:()=>a});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--vkNxi {\n display: flex;\n justify-content: center;\n flex-direction: column;\n margin-bottom: 24px;\n}\n\n.index-module--cmtxo {\n width: calc(100% - 64px);\n padding: 0px 32px;\n}\n\n.index-module--cmtxo .rc-slider {\n position: relative;\n width: 100%;\n height: 14px;\n padding: 5px 0;\n border-radius: 6px;\n touch-action: none;\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.index-module--cmtxo .rc-slider * {\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.index-module--cmtxo .rc-slider-rail {\n position: absolute;\n width: 100%;\n height: 4px;\n background-color: #e9e9e9;\n border-radius: 6px;\n}\n.index-module--cmtxo .rc-slider-track,\n.index-module--cmtxo .rc-slider-tracks {\n position: absolute;\n height: 4px;\n background-color: #abe2fb;\n border-radius: 6px;\n}\n.index-module--cmtxo .rc-slider-track-draggable {\n z-index: 1;\n box-sizing: content-box;\n background-clip: content-box;\n border-top: 5px solid rgba(0, 0, 0, 0);\n border-bottom: 5px solid rgba(0, 0, 0, 0);\n transform: translateY(-5px);\n}\n.index-module--cmtxo .rc-slider-handle {\n position: absolute;\n z-index: 1;\n width: 14px;\n height: 14px;\n margin-top: -5px;\n background-color: #fff;\n border: solid 2px #96dbfa;\n border-radius: 50%;\n cursor: pointer;\n cursor: grab;\n opacity: 0.8;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n touch-action: pan-x;\n}\n.index-module--cmtxo .rc-slider-handle-dragging.rc-slider-handle-dragging.rc-slider-handle-dragging {\n border-color: #57c5f7;\n box-shadow: 0 0 0 5px #96dbfa;\n}\n.index-module--cmtxo .rc-slider-handle-dragging.rc-slider-handle-dragging.rc-slider-handle-dragging-delete {\n opacity: 0;\n}\n.index-module--cmtxo .rc-slider-handle:focus {\n outline: none;\n box-shadow: none;\n}\n.index-module--cmtxo .rc-slider-handle.focus-visible {\n border-color: #2db7f5;\n box-shadow: 0 0 0 3px #96dbfa;\n}\n.index-module--cmtxo .rc-slider-handle:focus-visible {\n border-color: #2db7f5;\n box-shadow: 0 0 0 3px #96dbfa;\n}\n.index-module--cmtxo .rc-slider-handle-click-focused:focus {\n border-color: #96dbfa;\n box-shadow: none;\n box-shadow: initial;\n}\n.index-module--cmtxo .rc-slider-handle:hover {\n border-color: #57c5f7;\n}\n.index-module--cmtxo .rc-slider-handle:active {\n border-color: #57c5f7;\n box-shadow: 0 0 5px #57c5f7;\n cursor: grabbing;\n}\n.index-module--cmtxo .rc-slider-mark {\n position: absolute;\n top: 18px;\n left: 0;\n width: 100%;\n font-size: 12px;\n}\n.index-module--cmtxo .rc-slider-mark-text {\n position: absolute;\n display: inline-block;\n color: #999;\n text-align: center;\n vertical-align: middle;\n cursor: pointer;\n}\n.index-module--cmtxo .rc-slider-mark-text-active {\n color: #666;\n}\n.index-module--cmtxo .rc-slider-step {\n position: absolute;\n width: 100%;\n height: 4px;\n background: transparent;\n}\n.index-module--cmtxo .rc-slider-dot {\n position: absolute;\n bottom: -2px;\n width: 8px;\n height: 8px;\n vertical-align: middle;\n background-color: #fff;\n border: 2px solid #e9e9e9;\n border-radius: 50%;\n cursor: pointer;\n}\n.index-module--cmtxo .rc-slider-dot-active {\n border-color: #96dbfa;\n}\n.index-module--cmtxo .rc-slider-dot-reverse {\n margin-right: -4px;\n}\n.index-module--cmtxo .rc-slider-disabled {\n background-color: #e9e9e9;\n}\n.index-module--cmtxo .rc-slider-disabled .rc-slider-track {\n background-color: #ccc;\n}\n.index-module--cmtxo .rc-slider-disabled .rc-slider-handle,\n.index-module--cmtxo .rc-slider-disabled .rc-slider-dot {\n background-color: #fff;\n border-color: #ccc;\n box-shadow: none;\n cursor: not-allowed;\n}\n.index-module--cmtxo .rc-slider-disabled .rc-slider-mark-text,\n.index-module--cmtxo .rc-slider-disabled .rc-slider-dot {\n cursor: not-allowed !important;\n}\n.index-module--cmtxo .rc-slider-vertical {\n width: 14px;\n height: 100%;\n padding: 0 5px;\n}\n.index-module--cmtxo .rc-slider-vertical .rc-slider-rail {\n width: 4px;\n height: 100%;\n}\n.index-module--cmtxo .rc-slider-vertical .rc-slider-track {\n bottom: 0;\n left: 5px;\n width: 4px;\n}\n.index-module--cmtxo .rc-slider-vertical .rc-slider-track-draggable {\n border-top: 0;\n border-right: 5px solid rgba(0, 0, 0, 0);\n border-bottom: 0;\n border-left: 5px solid rgba(0, 0, 0, 0);\n transform: translateX(-5px);\n}\n.index-module--cmtxo .rc-slider-vertical .rc-slider-handle {\n position: absolute;\n z-index: 1;\n margin-top: 0;\n margin-left: -5px;\n touch-action: pan-y;\n}\n.index-module--cmtxo .rc-slider-vertical .rc-slider-mark {\n top: 0;\n left: 18px;\n height: 100%;\n}\n.index-module--cmtxo .rc-slider-vertical .rc-slider-step {\n width: 4px;\n height: 100%;\n}\n.index-module--cmtxo .rc-slider-vertical .rc-slider-dot {\n margin-left: -2px;\n}\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-enter,\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-appear {\n display: block !important;\n}\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-enter,\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-appear {\n animation-duration: 0.3s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-leave {\n display: block !important;\n}\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-leave {\n animation-duration: 0.3s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-enter.rc-slider-tooltip-zoom-down-enter-active,\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-appear.rc-slider-tooltip-zoom-down-appear-active {\n animation-name: rcSliderTooltipZoomDownIn;\n animation-play-state: running;\n}\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-leave.rc-slider-tooltip-zoom-down-leave-active {\n animation-name: rcSliderTooltipZoomDownOut;\n animation-play-state: running;\n}\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-enter,\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-appear {\n transform: scale(0, 0);\n animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n}\n.index-module--cmtxo .rc-slider-tooltip-zoom-down-leave {\n animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n}\n@keyframes index-module--xw4LC {\n 0% {\n transform: scale(0, 0);\n transform-origin: 50% 100%;\n opacity: 0;\n }\n 100% {\n transform: scale(1, 1);\n transform-origin: 50% 100%;\n }\n}\n@keyframes index-module--bzXCO {\n 0% {\n transform: scale(1, 1);\n transform-origin: 50% 100%;\n }\n 100% {\n transform: scale(0, 0);\n transform-origin: 50% 100%;\n opacity: 0;\n }\n}\n.index-module--cmtxo .rc-slider-tooltip {\n position: absolute;\n top: -9999px;\n left: -9999px;\n visibility: visible;\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.index-module--cmtxo .rc-slider-tooltip * {\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.index-module--cmtxo .rc-slider-tooltip-hidden {\n display: none;\n}\n.index-module--cmtxo .rc-slider-tooltip-placement-top {\n padding: 4px 0 8px 0;\n}\n.index-module--cmtxo .rc-slider-tooltip-inner {\n min-width: 24px;\n height: 24px;\n padding: 6px 2px;\n color: #fff;\n font-size: 12px;\n line-height: 1;\n text-align: center;\n text-decoration: none;\n background-color: #6c6c6c;\n border-radius: 6px;\n box-shadow: 0 0 4px #d9d9d9;\n}\n.index-module--cmtxo .rc-slider-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.index-module--cmtxo .rc-slider-tooltip-placement-top .rc-slider-tooltip-arrow {\n bottom: 4px;\n left: 50%;\n margin-left: -4px;\n border-width: 4px 4px 0;\n border-top-color: #6c6c6c;\n}\n",""]);var l="index-module--vkNxi",a="index-module--cmtxo";const s=d},77113:(e,n,t)=>{t.d(n,{F1:()=>s,Ry:()=>l,ZP:()=>c,Z_:()=>a});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--x75w5 {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));\n grid-auto-rows: min-content;\n grid-gap: 10px;\n height: 100%;\n padding-top: 16px;\n padding-bottom: 16px;\n}\n\n.index-module--FSQ5B {\n pointer-events: none;\n}\n\n.mobile .index-module--x75w5 {\n grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));\n}\n\n.index-module--tgKwN {\n width: 100%;\n aspect-ratio: 1 / 1;\n color: var(--primaryColor);\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 22px;\n box-shadow: rgba(0, 0, 0,0.1) 0px 0px 16px 0px;\n}\n",""]);var l="index-module--x75w5",a="index-module--FSQ5B",s="index-module--tgKwN";const c=d},43078:(e,n,t)=>{t.d(n,{Fl:()=>s,O7:()=>l,TN:()=>c,ZN:()=>u,ZP:()=>x,eR:()=>a,pA:()=>m,u2:()=>p});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--v5pSs {\n width: 100%;\n height: -moz-fit-content;\n height: fit-content;\n position: relative;\n display: flex;\n padding-bottom: 4px;\n align-items: center;\n justify-content: space-between;\n padding-top: 4px;\n}\n.index-module--WNi5H {\n width: 50%;\n margin: 10px 15px;\n position: relative;\n}\n\n.index-module--L1EGw {\n flex-grow: 1;\n height: 58px;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n min-width: 33%;\n}\n\n.index-module--BYNhM {\n text-align: left;\n margin-left: 0;\n margin-left: initial;\n cursor: pointer;\n}\n\n.index-module--NNRCj {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.index-module--z1OwD {\n text-align: center;\n}\n\n.index-module--PkMF3 {\n font-weight: 300;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode .index-module--BYNhM,\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode .index-module--z1OwD {\n color: #fff;\n}\n",""]);var l="index-module--v5pSs",a="index-module--WNi5H",s="index-module--L1EGw",c="index-module--BYNhM",u="index-module--NNRCj",p="index-module--z1OwD",m="index-module--PkMF3";const x=d},98404:(e,n,t)=>{t.d(n,{WL:()=>a,ZP:()=>s,fM:()=>l});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--hCQUB {\n width: 100%;\n margin-bottom: 24px;\n position: relative;\n}\n\n.index-module--DBy7L {\n font-size: 14px;\n font-weight: 300;\n line-height: 1.5;\n color: var(--diva-theme-palette-text-secondary);\n margin: 0 0 12px;\n}\n",""]);var l="index-module--hCQUB",a="index-module--DBy7L";const s=d},70410:(e,n,t)=>{t.d(n,{ZP:()=>a,pw:()=>l});var i=t(8081),r=t.n(i),o=t(23645),d=t.n(o)()(r());d.push([e.id,".index-module--ThELN {\n overflow: visible !important;\n}\n\n.index-module--ThELN {\n height: auto;\n transition: none 0s ease 0s;\n}\n\n.index-module--anx5T {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(var(--gridSize), 1fr));\n grid-auto-rows: min-content;\n grid-gap: var(--gridGap);\n margin-top: var(--gridGap);\n}\n",""]);var l="index-module--anx5T";const a=d},550:(e,n,t)=>{t.d(n,{Fl:()=>f.Fl,O7:()=>f.O7,TN:()=>f.TN,ZN:()=>f.ZN,eR:()=>f.eR,pA:()=>f.pA,u2:()=>f.u2});var i=t(93379),r=t.n(i),o=t(7795),d=t.n(o),l=t(90569),a=t.n(l),s=t(3565),c=t.n(s),u=t(19216),p=t.n(u),m=t(44589),x=t.n(m),f=t(43078),g={};g.styleTagTransform=x(),g.setAttributes=c(),g.insert=a().bind(null,"head"),g.domAPI=d(),g.insertStyleElement=p();r()(f.ZP,g),f.ZP&&f.ZP.locals&&f.ZP.locals},3985:(e,n,t)=>{t.d(n,{pw:()=>f.pw});var i=t(93379),r=t.n(i),o=t(7795),d=t.n(o),l=t(90569),a=t.n(l),s=t(3565),c=t.n(s),u=t(19216),p=t.n(u),m=t(44589),x=t.n(m),f=t(70410),g={};g.styleTagTransform=x(),g.setAttributes=c(),g.insert=a().bind(null,"head"),g.domAPI=d(),g.insertStyleElement=p();r()(f.ZP,g),f.ZP&&f.ZP.locals&&f.ZP.locals}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 631.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[631,1801,8812],{21801:(n,e,t)=>{t.r(e),t.d(e,{default:()=>Z});var i=t(34988),l=t(93379),o=t.n(l),d=t(7795),s=t.n(d),a=t(90569),r=t.n(a),c=t(3565),u=t.n(c),x=t(19216),C=t.n(x),m=t(44589),p=t.n(m),f=t(23240),h={};h.styleTagTransform=p(),h.setAttributes=u(),h.insert=r().bind(null,"head"),h.domAPI=s(),h.insertStyleElement=C();o()(f.ZP,h);f.ZP&&f.ZP.locals&&f.ZP.locals;var g=t(87363),v=t(75327),w=t(65515),j=t.n(w),b=t(9420),y=t(47514);const Z=(0,b.Pi)((function InfoIcon(n){var e,t,l,o=n.item,d=n.style,s=(0,v.NP)(),a=o.contentItemId,r=null!==(e=null!==(t=null!==(l=o.codex)&&void 0!==l?l:o.articleCodex)&&void 0!==t?t:o.title)&&void 0!==e?e:o.key,c=(0,g.useState)(!1),u=(0,i.Z)(c,2),x=u[0],C=u[1],m=o.sel||x;if((0,g.useEffect)((function(){var n=s.settingsState.contentItemVisible&&s.settingsState.contentItemId==a&&r==s.settingsState.clickedFrom;!n&&x&&C(!1),n&&!x&&C(!0)}),[s.settingsState.contentItemVisible,s.settingsState.contentItemId,s.settingsState.clickedFrom]),!o)throw new Error("item for infoIcon not defined");return function showIcon(){var n;return!o.op||null===(n=s.uiState.ViewConfig.infoIconSettings)||void 0===n||!n.onlyShowSelectedOPV||m}()?(0,y.jsx)("div",{className:f.um,onClick:function onClick(n){s.settingsState.onClickContentItemId(a,r),C(s.settingsState.contentItemVisible&&s.settingsState.contentItemId==a),n.stopPropagation()},style:d,children:(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:j()(f.hv,m?void 0:f.al,x?f.FJ:void 0),children:(0,y.jsxs)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,y.jsx)("rect",{x:"1",y:"1",width:"18",height:"18",rx:"9",fill:"#fff"}),(0,y.jsx)("path",{className:f.Oq,d:"M10.0003 14.75C10.2129 14.75 10.391 14.6781 10.5345 14.5343C10.6782 14.3906 10.75 14.2125 10.75 14V9.75C10.75 9.5375 10.6781 9.35933 10.5343 9.2155C10.3904 9.07183 10.2122 9 9.99975 9C9.78708 9 9.609 9.07183 9.4655 9.2155C9.32183 9.35933 9.25 9.5375 9.25 9.75V14C9.25 14.2125 9.32192 14.3906 9.46575 14.5343C9.60958 14.6781 9.78775 14.75 10.0003 14.75ZM10 7.2885C10.2288 7.2885 10.4207 7.21108 10.5755 7.05625C10.7303 6.90142 10.8077 6.70958 10.8077 6.48075C10.8077 6.25192 10.7303 6.06008 10.5755 5.90525C10.4207 5.75058 10.2288 5.67325 10 5.67325C9.77117 5.67325 9.57933 5.75058 9.4245 5.90525C9.26967 6.06008 9.19225 6.25192 9.19225 6.48075C9.19225 6.70958 9.26967 6.90142 9.4245 7.05625C9.57933 7.21108 9.77117 7.2885 10 7.2885ZM10.0017 19.5C8.68775 19.5 7.45267 19.2507 6.2965 18.752C5.14033 18.2533 4.13467 17.5766 3.2795 16.7218C2.42433 15.8669 1.74725 14.8617 1.24825 13.706C0.749417 12.5503 0.5 11.3156 0.5 10.0017C0.5 8.68775 0.749333 7.45267 1.248 6.2965C1.74667 5.14033 2.42342 4.13467 3.27825 3.2795C4.13308 2.42433 5.13833 1.74725 6.294 1.24825C7.44967 0.749417 8.68442 0.5 9.99825 0.5C11.3123 0.5 12.5473 0.749333 13.7035 1.248C14.8597 1.74667 15.8653 2.42342 16.7205 3.27825C17.5757 4.13308 18.2528 5.13833 18.7518 6.294C19.2506 7.44967 19.5 8.68442 19.5 9.99825C19.5 11.3123 19.2507 12.5473 18.752 13.7035C18.2533 14.8597 17.5766 15.8653 16.7218 16.7205C15.8669 17.5757 14.8617 18.2528 13.706 18.7518C12.5503 19.2506 11.3156 19.5 10.0017 19.5Z",fill:"#fff"}),(0,y.jsx)("path",{className:f.fL,d:"M10.0003 14.75C10.2129 14.75 10.391 14.6781 10.5345 14.5343C10.6782 14.3906 10.75 14.2125 10.75 14V9.75C10.75 9.5375 10.6781 9.35933 10.5343 9.2155C10.3904 9.07183 10.2122 9 9.99975 9C9.78708 9 9.609 9.07183 9.4655 9.2155C9.32183 9.35933 9.25 9.5375 9.25 9.75V14C9.25 14.2125 9.32192 14.3906 9.46575 14.5343C9.60958 14.6781 9.78775 14.75 10.0003 14.75ZM10 7.2885C10.2288 7.2885 10.4207 7.21108 10.5755 7.05625C10.7303 6.90142 10.8077 6.70958 10.8077 6.48075C10.8077 6.25192 10.7303 6.06008 10.5755 5.90525C10.4207 5.75058 10.2288 5.67325 10 5.67325C9.77117 5.67325 9.57933 5.75058 9.4245 5.90525C9.26967 6.06008 9.19225 6.25192 9.19225 6.48075C9.19225 6.70958 9.26967 6.90142 9.4245 7.05625C9.57933 7.21108 9.77117 7.2885 10 7.2885ZM10.0017 19.5C8.68775 19.5 7.45267 19.2507 6.2965 18.752C5.14033 18.2533 4.13467 17.5766 3.2795 16.7218C2.42433 15.8669 1.74725 14.8617 1.24825 13.706C0.749417 12.5503 0.5 11.3156 0.5 10.0017C0.5 8.68775 0.749333 7.45267 1.248 6.2965C1.74667 5.14033 2.42342 4.13467 3.27825 3.2795C4.13308 2.42433 5.13833 1.74725 6.294 1.24825C7.44967 0.749417 8.68442 0.5 9.99825 0.5C11.3123 0.5 12.5473 0.749333 13.7035 1.248C14.8597 1.74667 15.8653 2.42342 16.7205 3.27825C17.5757 4.13308 18.2528 5.13833 18.7518 6.294C19.2506 7.44967 19.5 8.68442 19.5 9.99825C19.5 11.3123 19.2507 12.5473 18.752 13.7035C18.2533 14.8597 17.5766 15.8653 16.7218 16.7205C15.8669 17.5757 14.8617 18.2528 13.706 18.7518C12.5503 19.2506 11.3156 19.5 10.0017 19.5ZM10 18C12.2333 18 14.125 17.225 15.675 15.675C17.225 14.125 18 12.2333 18 10C18 7.76667 17.225 5.875 15.675 4.325C14.125 2.775 12.2333 2 10 2C7.76667 2 5.875 2.775 4.325 4.325C2.775 5.875 2 7.76667 2 10C2 12.2333 2.775 14.125 4.325 15.675C5.875 17.225 7.76667 18 10 18Z",fill:"#4F4F4F"})]})}),(0,y.jsx)("div",{className:j()(f.dA,m?f.al:void 0),children:(0,y.jsxs)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,y.jsx)("rect",{x:"1",y:"1",width:"18",height:"18",rx:"9",fill:"#fff"}),(0,y.jsx)("path",{d:"M10.0003 14.75C10.2129 14.75 10.391 14.6781 10.5345 14.5343C10.6782 14.3906 10.75 14.2125 10.75 14V9.75C10.75 9.5375 10.6781 9.35933 10.5343 9.2155C10.3904 9.07183 10.2122 9 9.99975 9C9.78708 9 9.609 9.07183 9.4655 9.2155C9.32183 9.35933 9.25 9.5375 9.25 9.75V14C9.25 14.2125 9.32192 14.3906 9.46575 14.5343C9.60958 14.6781 9.78775 14.75 10.0003 14.75ZM10 7.2885C10.2288 7.2885 10.4207 7.21108 10.5755 7.05625C10.7303 6.90142 10.8077 6.70958 10.8077 6.48075C10.8077 6.25192 10.7303 6.06008 10.5755 5.90525C10.4207 5.75058 10.2288 5.67325 10 5.67325C9.77117 5.67325 9.57933 5.75058 9.4245 5.90525C9.26967 6.06008 9.19225 6.25192 9.19225 6.48075C9.19225 6.70958 9.26967 6.90142 9.4245 7.05625C9.57933 7.21108 9.77117 7.2885 10 7.2885ZM10.0017 19.5C8.68775 19.5 7.45267 19.2507 6.2965 18.752C5.14033 18.2533 4.13467 17.5766 3.2795 16.7218C2.42433 15.8669 1.74725 14.8617 1.24825 13.706C0.749417 12.5503 0.5 11.3156 0.5 10.0017C0.5 8.68775 0.749333 7.45267 1.248 6.2965C1.74667 5.14033 2.42342 4.13467 3.27825 3.2795C4.13308 2.42433 5.13833 1.74725 6.294 1.24825C7.44967 0.749417 8.68442 0.5 9.99825 0.5C11.3123 0.5 12.5473 0.749333 13.7035 1.248C14.8597 1.74667 15.8653 2.42342 16.7205 3.27825C17.5757 4.13308 18.2528 5.13833 18.7518 6.294C19.2506 7.44967 19.5 8.68442 19.5 9.99825C19.5 11.3123 19.2507 12.5473 18.752 13.7035C18.2533 14.8597 17.5766 15.8653 16.7218 16.7205C15.8669 17.5757 14.8617 18.2528 13.706 18.7518C12.5503 19.2506 11.3156 19.5 10.0017 19.5ZM10 18C12.2333 18 14.125 17.225 15.675 15.675C17.225 14.125 18 12.2333 18 10C18 7.76667 17.225 5.875 15.675 4.325C14.125 2.775 12.2333 2 10 2C7.76667 2 5.875 2.775 4.325 4.325C2.775 5.875 2 7.76667 2 10C2 12.2333 2.775 14.125 4.325 15.675C5.875 17.225 7.76667 18 10 18Z",fill:"#4F4F4F"})]})})]})}):(0,y.jsx)(y.Fragment,{})}))},8812:(n,e,t)=>{t.r(e),t.d(e,{default:()=>Z});var i=t(34988),l=t(87363),o=t(93379),d=t.n(o),s=t(7795),a=t.n(s),r=t(90569),c=t.n(r),u=t(3565),x=t.n(u),C=t(19216),m=t.n(C),p=t(44589),f=t.n(p),h=t(60636),g={};g.styleTagTransform=f(),g.setAttributes=x(),g.insert=c().bind(null,"head"),g.domAPI=a(),g.insertStyleElement=m();d()(h.ZP,g);h.ZP&&h.ZP.locals&&h.ZP.locals;var v=t(65515),w=t.n(v),j=t(9420),b=t(21801),y=t(47514);const Z=(0,j.Pi)((function MultiToggleSwitch(n){var e=n.values,t=n.items,o=(0,i.Z)(n.state,2),d=o[0],s=o[1],a=n.round,r=100/e.length,c=(0,l.useState)([]),u=(0,i.Z)(c,2),x=u[0],C=u[1];return(0,l.useEffect)((function(){e.some((function(n){return!n.endsWith("cm")}))?C(e):C(e.map((function(n,t){return n.replace("cm","")+(t==e.length-1?"cm":"")})))}),[e]),(0,y.jsx)("div",{className:h.YS,style:{borderRadius:a?"100px":void 0},children:(0,y.jsxs)("div",{className:h.No,children:[x.map((function(n,e){var i;return(0,y.jsx)("div",{style:{width:r+"%"},children:(0,y.jsxs)("label",{onClick:function onClick(){return s(e)},className:w()(h.F2,d===e&&h.pA),children:[n,(null===(i=t[e])||void 0===i?void 0:i.contentItemId)&&(0,y.jsx)(b.default,{item:t[e],style:{top:-4}},t[e].codex)]})},e)})),(0,y.jsx)("div",{className:h.wb,style:{left:d/e.length*100+"%",width:r+"%",borderRadius:a?"100px":void 0}})]})})}))},90631:(n,e,t)=>{t.r(e),t.d(e,{default:()=>S});var i=t(34988),l=t(87363),o=t(9420),d=t(75327),s=t(8812),a=t(93379),r=t.n(a),c=t(7795),u=t.n(c),x=t(90569),C=t.n(x),m=t(3565),p=t.n(m),f=t(19216),h=t.n(f),g=t(44589),v=t.n(g),w=t(7182),j={};j.styleTagTransform=v(),j.setAttributes=p(),j.insert=C().bind(null,"head"),j.domAPI=u(),j.insertStyleElement=h();r()(w.ZP,j);w.ZP&&w.ZP.locals&&w.ZP.locals;var b=t(65515),y=t.n(b),Z=t(21801),I=t(47514);const S=(0,o.Pi)((function MultiToggleComponent(n){var e,t=n.item,o=n.style,a=n.round,r=n.paletteId,c=(0,d.NP)(),u=(0,l.useState)([]),x=(0,i.Z)(u,2),C=x[0],m=x[1],p=(0,l.useState)([]),f=(0,i.Z)(p,2),h=f[0],g=f[1],v=(0,l.useState)(),j=(0,i.Z)(v,2),b=j[0],S=j[1],P=(0,l.useState)(!1),N=(0,i.Z)(P,2),F=N[0],k=N[1];(0,l.useEffect)((function(){var n=t.groups.flatMap((function(n){return n.items})),e=n.every((function(n){return n.text.endsWith("cm")}));m(n),k(e),g(n.map((function(n){return e?n.text.replace("cm",""):n.text}))),S(n.findIndex((function(n){return n.sel})))}),[t]);return 0===C.length?(0,I.jsx)(I.Fragment,{}):(0,I.jsxs)("div",{className:w.O7,ref:function ref(n){return t.htmlRef=n},style:o,children:[(0,I.jsxs)("div",{className:y()(w.eR,w.TN),children:[t.name+(F?" (cm)":""),(null===(e=t.selectedElements)||void 0===e?void 0:e[0].contentItemId)&&(0,I.jsx)(Z.default,{item:t.selectedElements[0],style:{position:"relative"}},t.selectedElements[0].codex)]}),(0,I.jsx)("div",{className:y()(w.eR,w.ZN),children:(0,I.jsx)(s.default,{items:C,values:h,state:[b,function onChangeValue(n){S(n);var e=C[n];e&&c.paletteViewHandler.clickedOnConfigPalette(e,void 0,r)}],round:a})})]})}))},23240:(n,e,t)=>{t.d(e,{FJ:()=>u,Oq:()=>c,ZP:()=>m,al:()=>C,dA:()=>r,fL:()=>x,hv:()=>a,um:()=>s});var i=t(8081),l=t.n(i),o=t(23645),d=t.n(o)()(l());d.push([n.id,".index-module--CjCgr {\n position: absolute;\n bottom: 0px;\n right: 0px;\n cursor: pointer;\n}\n.index-module--C9QBx,\n.index-module--a2wqn {\n position: absolute;\n opacity: 1;\n transition: 0.3s opacity ease;\n z-index: 20;\n}\n.index-module--C9QBx rect,\n.index-module--a2wqn rect,\n.index-module--C9QBx path,\n.index-module--a2wqn path {\n transition: 0.3s fill ease;\n}\n\n.index-module--CjCgr svg {\n transition: 0.3s filter ease;\n}\n\n.index-module--CjCgr,\n.index-module--CjCgr svg {\n width: 20px;\n width: var(--infoIconSize, 20px);\n height: 20px;\n height: var(--infoIconSize, 20px);\n transition:\n 0.3s width ease,\n 0.3s height ease;\n}\n\n.index-module--C9QBx:hover .index-module--fLFjU,\n.index-module--nTN4r .index-module--fLFjU {\n fill: var(--diva-theme-palette-primary-main);\n}\n.index-module--C9QBx:hover .index-module--FaRqp,\n.index-module--nTN4r .index-module--FaRqp {\n fill: transparent;\n}\n\n.index-module--C9QBx:hover svg,\n.index-module--a2wqn:hover svg {\n filter: drop-shadow(3px 3px 3px #bbb);\n}\n\n.index-module--a2wqn:hover path {\n fill: var(--diva-theme-palette-primary-main);\n}\n.index-module--oBSZj {\n opacity: 0;\n z-index: 10;\n}\n",""]);var s="index-module--CjCgr",a="index-module--C9QBx",r="index-module--a2wqn",c="index-module--fLFjU",u="index-module--nTN4r",x="index-module--FaRqp",C="index-module--oBSZj";const m=d},60636:(n,e,t)=>{t.d(e,{F2:()=>c,No:()=>a,YS:()=>s,ZP:()=>x,pA:()=>u,wb:()=>r});var i=t(8081),l=t.n(i),o=t(23645),d=t.n(o)()(l());d.push([n.id,".index-module--V0pQW {\n height: 36px;\n width: 100%;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: #eaeaea;\n border-radius: 6px;\n}\n.index-module--zHWrU {\n height: calc(100% - 6px);\n width: calc(100% - 6px);\n border-radius: 3px;\n box-sizing: content-box;\n box-sizing: initial;\n position: relative;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.index-module--rSXQZ {\n display: block;\n position: absolute;\n z-index: 1;\n height: 30px;\n background-color: #fff;\n border-radius: 3px;\n transition: left 0.25s ease-out;\n}\n\n.index-module--Ublpe {\n position: relative;\n display: flex;\n gap: 4px;\n justify-content: center;\n align-items: center;\n z-index: 2;\n line-height: 22px;\n height: 20px;\n width: calc(100% - 8px);\n padding: 6px;\n font-size: 14px;\n color: rgba(0, 0, 0, 0.6);\n text-align: center;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n transition:\n color 0.2s ease-out,\n font-weight 0.2s ease-out;\n}\n\n.index-module--jEYkH {\n font-weight: 300;\n color: #000;\n}\n",""]);var s="index-module--V0pQW",a="index-module--zHWrU",r="index-module--rSXQZ",c="index-module--Ublpe",u="index-module--jEYkH";const x=d},7182:(n,e,t)=>{t.d(e,{O7:()=>s,TN:()=>r,ZN:()=>c,ZP:()=>u,eR:()=>a});var i=t(8081),l=t.n(i),o=t(23645),d=t.n(o)()(l());d.push([n.id,".index-module--zbUn_ {\n display: flex;\n justify-content: center;\n flex-direction: column;\n margin-bottom: 24px;\n}\n.index-module--NgTfo {\n width: calc(100% - 64px);\n padding: 8px 32px;\n}\n\n.index-module--j9Vsg {\n width: 100%;\n height: -moz-fit-content;\n height: fit-content;\n position: relative;\n display: flex;\n padding-bottom: 4px;\n align-items: center;\n justify-content: space-between;\n padding-top: 4px;\n margin-bottom: 10px;\n gap: 12px;\n}\n.index-module--oMpID {\n width: 70%;\n}\n.index-module--oMpID:first-child {\n width: 30%;\n margin: 10px 0px;\n position: relative;\n display: flex;\n gap: 8px;\n}\n\n.index-module--CG0qP {\n flex-grow: 1;\n height: 58px;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n min-width: 33%;\n}\n\n.index-module--F6wCX {\n text-align: left;\n margin-left: 0;\n margin-left: initial;\n cursor: pointer;\n}\n\n.index-module--mALKQ {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n",""]);var s="index-module--j9Vsg",a="index-module--oMpID",r="index-module--F6wCX",c="index-module--mALKQ";const u=d}}]);
|
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[631,1801,8812],{21801:(n,e,t)=>{t.r(e),t.d(e,{default:()=>Z});var i=t(34988),o=t(93379),l=t.n(o),d=t(7795),s=t.n(d),a=t(90569),r=t.n(a),c=t(3565),u=t.n(c),x=t(19216),C=t.n(x),m=t(44589),p=t.n(m),f=t(23240),h={};h.styleTagTransform=p(),h.setAttributes=u(),h.insert=r().bind(null,"head"),h.domAPI=s(),h.insertStyleElement=C();l()(f.ZP,h);f.ZP&&f.ZP.locals&&f.ZP.locals;var g=t(87363),v=t(75327),w=t(65515),j=t.n(w),y=t(9420),b=t(47514);const Z=(0,y.Pi)((function InfoIcon(n){var e,t,o,l=n.item,d=n.style,s=(0,v.NP)(),a=l.contentItemId,r=null!==(e=null!==(t=null!==(o=l.codex)&&void 0!==o?o:l.articleCodex)&&void 0!==t?t:l.title)&&void 0!==e?e:l.key,c=(0,g.useState)(!1),u=(0,i.Z)(c,2),x=u[0],C=u[1],m=l.sel||x;if((0,g.useEffect)((function(){var n=s.settingsState.contentItemVisible&&s.settingsState.contentItemId==a&&r==s.settingsState.clickedFrom;!n&&x&&C(!1),n&&!x&&C(!0)}),[s.settingsState.contentItemVisible,s.settingsState.contentItemId,s.settingsState.clickedFrom]),!l)throw new Error("item for infoIcon not defined");return function showIcon(){var n;return!l.op||null===(n=s.uiState.ViewConfig.infoIconSettings)||void 0===n||!n.onlyShowSelectedOPV||m}()?(0,b.jsx)("div",{className:f.um,onClick:function onClick(n){s.settingsState.onClickContentItemId(a,r),C(s.settingsState.contentItemVisible&&s.settingsState.contentItemId==a),n.stopPropagation()},style:d,children:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{className:j()(f.hv,m?void 0:f.al,x?f.FJ:void 0),children:(0,b.jsxs)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,b.jsx)("rect",{x:"1",y:"1",width:"18",height:"18",rx:"9",fill:"#fff"}),(0,b.jsx)("path",{className:f.Oq,d:"M10.0003 14.75C10.2129 14.75 10.391 14.6781 10.5345 14.5343C10.6782 14.3906 10.75 14.2125 10.75 14V9.75C10.75 9.5375 10.6781 9.35933 10.5343 9.2155C10.3904 9.07183 10.2122 9 9.99975 9C9.78708 9 9.609 9.07183 9.4655 9.2155C9.32183 9.35933 9.25 9.5375 9.25 9.75V14C9.25 14.2125 9.32192 14.3906 9.46575 14.5343C9.60958 14.6781 9.78775 14.75 10.0003 14.75ZM10 7.2885C10.2288 7.2885 10.4207 7.21108 10.5755 7.05625C10.7303 6.90142 10.8077 6.70958 10.8077 6.48075C10.8077 6.25192 10.7303 6.06008 10.5755 5.90525C10.4207 5.75058 10.2288 5.67325 10 5.67325C9.77117 5.67325 9.57933 5.75058 9.4245 5.90525C9.26967 6.06008 9.19225 6.25192 9.19225 6.48075C9.19225 6.70958 9.26967 6.90142 9.4245 7.05625C9.57933 7.21108 9.77117 7.2885 10 7.2885ZM10.0017 19.5C8.68775 19.5 7.45267 19.2507 6.2965 18.752C5.14033 18.2533 4.13467 17.5766 3.2795 16.7218C2.42433 15.8669 1.74725 14.8617 1.24825 13.706C0.749417 12.5503 0.5 11.3156 0.5 10.0017C0.5 8.68775 0.749333 7.45267 1.248 6.2965C1.74667 5.14033 2.42342 4.13467 3.27825 3.2795C4.13308 2.42433 5.13833 1.74725 6.294 1.24825C7.44967 0.749417 8.68442 0.5 9.99825 0.5C11.3123 0.5 12.5473 0.749333 13.7035 1.248C14.8597 1.74667 15.8653 2.42342 16.7205 3.27825C17.5757 4.13308 18.2528 5.13833 18.7518 6.294C19.2506 7.44967 19.5 8.68442 19.5 9.99825C19.5 11.3123 19.2507 12.5473 18.752 13.7035C18.2533 14.8597 17.5766 15.8653 16.7218 16.7205C15.8669 17.5757 14.8617 18.2528 13.706 18.7518C12.5503 19.2506 11.3156 19.5 10.0017 19.5Z",fill:"#fff"}),(0,b.jsx)("path",{className:f.fL,d:"M10.0003 14.75C10.2129 14.75 10.391 14.6781 10.5345 14.5343C10.6782 14.3906 10.75 14.2125 10.75 14V9.75C10.75 9.5375 10.6781 9.35933 10.5343 9.2155C10.3904 9.07183 10.2122 9 9.99975 9C9.78708 9 9.609 9.07183 9.4655 9.2155C9.32183 9.35933 9.25 9.5375 9.25 9.75V14C9.25 14.2125 9.32192 14.3906 9.46575 14.5343C9.60958 14.6781 9.78775 14.75 10.0003 14.75ZM10 7.2885C10.2288 7.2885 10.4207 7.21108 10.5755 7.05625C10.7303 6.90142 10.8077 6.70958 10.8077 6.48075C10.8077 6.25192 10.7303 6.06008 10.5755 5.90525C10.4207 5.75058 10.2288 5.67325 10 5.67325C9.77117 5.67325 9.57933 5.75058 9.4245 5.90525C9.26967 6.06008 9.19225 6.25192 9.19225 6.48075C9.19225 6.70958 9.26967 6.90142 9.4245 7.05625C9.57933 7.21108 9.77117 7.2885 10 7.2885ZM10.0017 19.5C8.68775 19.5 7.45267 19.2507 6.2965 18.752C5.14033 18.2533 4.13467 17.5766 3.2795 16.7218C2.42433 15.8669 1.74725 14.8617 1.24825 13.706C0.749417 12.5503 0.5 11.3156 0.5 10.0017C0.5 8.68775 0.749333 7.45267 1.248 6.2965C1.74667 5.14033 2.42342 4.13467 3.27825 3.2795C4.13308 2.42433 5.13833 1.74725 6.294 1.24825C7.44967 0.749417 8.68442 0.5 9.99825 0.5C11.3123 0.5 12.5473 0.749333 13.7035 1.248C14.8597 1.74667 15.8653 2.42342 16.7205 3.27825C17.5757 4.13308 18.2528 5.13833 18.7518 6.294C19.2506 7.44967 19.5 8.68442 19.5 9.99825C19.5 11.3123 19.2507 12.5473 18.752 13.7035C18.2533 14.8597 17.5766 15.8653 16.7218 16.7205C15.8669 17.5757 14.8617 18.2528 13.706 18.7518C12.5503 19.2506 11.3156 19.5 10.0017 19.5ZM10 18C12.2333 18 14.125 17.225 15.675 15.675C17.225 14.125 18 12.2333 18 10C18 7.76667 17.225 5.875 15.675 4.325C14.125 2.775 12.2333 2 10 2C7.76667 2 5.875 2.775 4.325 4.325C2.775 5.875 2 7.76667 2 10C2 12.2333 2.775 14.125 4.325 15.675C5.875 17.225 7.76667 18 10 18Z",fill:"#4F4F4F"})]})}),(0,b.jsx)("div",{className:j()(f.dA,m?f.al:void 0),children:(0,b.jsxs)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,b.jsx)("rect",{x:"1",y:"1",width:"18",height:"18",rx:"9",fill:"#fff"}),(0,b.jsx)("path",{d:"M10.0003 14.75C10.2129 14.75 10.391 14.6781 10.5345 14.5343C10.6782 14.3906 10.75 14.2125 10.75 14V9.75C10.75 9.5375 10.6781 9.35933 10.5343 9.2155C10.3904 9.07183 10.2122 9 9.99975 9C9.78708 9 9.609 9.07183 9.4655 9.2155C9.32183 9.35933 9.25 9.5375 9.25 9.75V14C9.25 14.2125 9.32192 14.3906 9.46575 14.5343C9.60958 14.6781 9.78775 14.75 10.0003 14.75ZM10 7.2885C10.2288 7.2885 10.4207 7.21108 10.5755 7.05625C10.7303 6.90142 10.8077 6.70958 10.8077 6.48075C10.8077 6.25192 10.7303 6.06008 10.5755 5.90525C10.4207 5.75058 10.2288 5.67325 10 5.67325C9.77117 5.67325 9.57933 5.75058 9.4245 5.90525C9.26967 6.06008 9.19225 6.25192 9.19225 6.48075C9.19225 6.70958 9.26967 6.90142 9.4245 7.05625C9.57933 7.21108 9.77117 7.2885 10 7.2885ZM10.0017 19.5C8.68775 19.5 7.45267 19.2507 6.2965 18.752C5.14033 18.2533 4.13467 17.5766 3.2795 16.7218C2.42433 15.8669 1.74725 14.8617 1.24825 13.706C0.749417 12.5503 0.5 11.3156 0.5 10.0017C0.5 8.68775 0.749333 7.45267 1.248 6.2965C1.74667 5.14033 2.42342 4.13467 3.27825 3.2795C4.13308 2.42433 5.13833 1.74725 6.294 1.24825C7.44967 0.749417 8.68442 0.5 9.99825 0.5C11.3123 0.5 12.5473 0.749333 13.7035 1.248C14.8597 1.74667 15.8653 2.42342 16.7205 3.27825C17.5757 4.13308 18.2528 5.13833 18.7518 6.294C19.2506 7.44967 19.5 8.68442 19.5 9.99825C19.5 11.3123 19.2507 12.5473 18.752 13.7035C18.2533 14.8597 17.5766 15.8653 16.7218 16.7205C15.8669 17.5757 14.8617 18.2528 13.706 18.7518C12.5503 19.2506 11.3156 19.5 10.0017 19.5ZM10 18C12.2333 18 14.125 17.225 15.675 15.675C17.225 14.125 18 12.2333 18 10C18 7.76667 17.225 5.875 15.675 4.325C14.125 2.775 12.2333 2 10 2C7.76667 2 5.875 2.775 4.325 4.325C2.775 5.875 2 7.76667 2 10C2 12.2333 2.775 14.125 4.325 15.675C5.875 17.225 7.76667 18 10 18Z",fill:"#4F4F4F"})]})})]})}):(0,b.jsx)(b.Fragment,{})}))},8812:(n,e,t)=>{t.r(e),t.d(e,{default:()=>Z});var i=t(34988),o=t(87363),l=t(93379),d=t.n(l),s=t(7795),a=t.n(s),r=t(90569),c=t.n(r),u=t(3565),x=t.n(u),C=t(19216),m=t.n(C),p=t(44589),f=t.n(p),h=t(60636),g={};g.styleTagTransform=f(),g.setAttributes=x(),g.insert=c().bind(null,"head"),g.domAPI=a(),g.insertStyleElement=m();d()(h.ZP,g);h.ZP&&h.ZP.locals&&h.ZP.locals;var v=t(65515),w=t.n(v),j=t(9420),y=t(21801),b=t(47514);const Z=(0,j.Pi)((function MultiToggleSwitch(n){var e=n.values,t=n.items,l=(0,i.Z)(n.state,2),d=l[0],s=l[1],a=n.round,r=100/e.length,c=(0,o.useState)([]),u=(0,i.Z)(c,2),x=u[0],C=u[1];return(0,o.useEffect)((function(){e.some((function(n){return!n.endsWith("cm")}))?C(e):C(e.map((function(n,t){return n.replace("cm","")+(t==e.length-1?"cm":"")})))}),[e]),(0,b.jsx)("div",{className:h.YS,style:{borderRadius:a?"100px":void 0},children:(0,b.jsxs)("div",{className:h.No,children:[x.map((function(n,e){var i;return(0,b.jsx)("div",{style:{width:r+"%"},children:(0,b.jsxs)("label",{onClick:function onClick(){return s(e)},className:w()(h.F2,d===e&&h.pA),children:[n,(null===(i=t[e])||void 0===i?void 0:i.contentItemId)&&(0,b.jsx)(y.default,{item:t[e],style:{top:-4}},t[e].codex)]})},e)})),(0,b.jsx)("div",{className:h.wb,style:{left:d/e.length*100+"%",width:r+"%",borderRadius:a?"100px":void 0}})]})})}))},90631:(n,e,t)=>{t.r(e),t.d(e,{default:()=>S});var i=t(34988),o=t(87363),l=t(9420),d=t(75327),s=t(8812),a=t(93379),r=t.n(a),c=t(7795),u=t.n(c),x=t(90569),C=t.n(x),m=t(3565),p=t.n(m),f=t(19216),h=t.n(f),g=t(44589),v=t.n(g),w=t(7182),j={};j.styleTagTransform=v(),j.setAttributes=p(),j.insert=C().bind(null,"head"),j.domAPI=u(),j.insertStyleElement=h();r()(w.ZP,j);w.ZP&&w.ZP.locals&&w.ZP.locals;var y=t(65515),b=t.n(y),Z=t(21801),I=t(47514);const S=(0,l.Pi)((function MultiToggleComponent(n){var e=n.item,t=n.style,l=n.round,a=n.paletteId,r=(0,d.NP)(),c=(0,o.useState)([]),u=(0,i.Z)(c,2),x=u[0],C=u[1],m=(0,o.useState)([]),p=(0,i.Z)(m,2),f=p[0],h=p[1],g=(0,o.useState)(),v=(0,i.Z)(g,2),j=v[0],y=v[1],S=(0,o.useState)(!1),P=(0,i.Z)(S,2),N=P[0],F=P[1];(0,o.useEffect)((function(){var n=e.groups.flatMap((function(n){return n.items})),t=n.every((function(n){return n.text.endsWith("cm")}));C(n),F(t),h(n.map((function(n){return t?n.text.replace("cm",""):n.text}))),y(n.findIndex((function(n){return n.sel})))}),[e]);return 0===x.length?(0,I.jsx)(I.Fragment,{}):(0,I.jsxs)("div",{className:w.O7,ref:function ref(n){return e.htmlRef=n},style:t,children:[(0,I.jsxs)("div",{className:b()(w.eR,w.TN),children:[(0,I.jsx)("span",{className:w.Xf,children:e.name+(N?" (cm)":"")}),e.optionContentItemId&&(0,I.jsx)(Z.default,{item:{contentItemId:e.optionContentItemId,codex:e.configStepKey},style:{position:"relative",flexShrink:0}},e.configStepKey)]}),(0,I.jsx)("div",{className:b()(w.eR,w.ZN),children:(0,I.jsx)(s.default,{items:x,values:f,state:[j,function onChangeValue(n){y(n);var e=x[n];e&&r.paletteViewHandler.clickedOnConfigPalette(e,void 0,a)}],round:l})})]})}))},23240:(n,e,t)=>{t.d(e,{FJ:()=>u,Oq:()=>c,ZP:()=>m,al:()=>C,dA:()=>r,fL:()=>x,hv:()=>a,um:()=>s});var i=t(8081),o=t.n(i),l=t(23645),d=t.n(l)()(o());d.push([n.id,".index-module--CjCgr {\n position: absolute;\n bottom: 0px;\n right: 0px;\n cursor: pointer;\n}\n.index-module--C9QBx,\n.index-module--a2wqn {\n position: absolute;\n opacity: 1;\n transition: 0.3s opacity ease;\n z-index: 20;\n}\n.index-module--C9QBx rect,\n.index-module--a2wqn rect,\n.index-module--C9QBx path,\n.index-module--a2wqn path {\n transition: 0.3s fill ease;\n}\n\n.index-module--CjCgr svg {\n transition: 0.3s filter ease;\n}\n\n.index-module--CjCgr,\n.index-module--CjCgr svg {\n width: 20px;\n width: var(--infoIconSize, 20px);\n height: 20px;\n height: var(--infoIconSize, 20px);\n transition:\n 0.3s width ease,\n 0.3s height ease;\n}\n\n.index-module--C9QBx:hover .index-module--fLFjU,\n.index-module--nTN4r .index-module--fLFjU {\n fill: var(--diva-theme-palette-primary-main);\n}\n.index-module--C9QBx:hover .index-module--FaRqp,\n.index-module--nTN4r .index-module--FaRqp {\n fill: transparent;\n}\n\n.index-module--C9QBx:hover svg,\n.index-module--a2wqn:hover svg {\n filter: drop-shadow(3px 3px 3px #bbb);\n}\n\n.index-module--a2wqn:hover path {\n fill: var(--diva-theme-palette-primary-main);\n}\n.index-module--oBSZj {\n opacity: 0;\n z-index: 10;\n}\n",""]);var s="index-module--CjCgr",a="index-module--C9QBx",r="index-module--a2wqn",c="index-module--fLFjU",u="index-module--nTN4r",x="index-module--FaRqp",C="index-module--oBSZj";const m=d},60636:(n,e,t)=>{t.d(e,{F2:()=>c,No:()=>a,YS:()=>s,ZP:()=>x,pA:()=>u,wb:()=>r});var i=t(8081),o=t.n(i),l=t(23645),d=t.n(l)()(o());d.push([n.id,".index-module--V0pQW {\n height: 36px;\n width: 100%;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: #eaeaea;\n border-radius: 6px;\n}\n.index-module--zHWrU {\n height: calc(100% - 6px);\n width: calc(100% - 6px);\n border-radius: 3px;\n box-sizing: content-box;\n box-sizing: initial;\n position: relative;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.index-module--rSXQZ {\n display: block;\n position: absolute;\n z-index: 1;\n height: 30px;\n background-color: #fff;\n border-radius: 3px;\n transition: left 0.25s ease-out;\n}\n\n.index-module--Ublpe {\n position: relative;\n display: flex;\n gap: 4px;\n justify-content: center;\n align-items: center;\n z-index: 2;\n line-height: 22px;\n height: 20px;\n width: calc(100% - 8px);\n padding: 6px;\n font-size: 14px;\n color: rgba(0, 0, 0, 0.6);\n text-align: center;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n transition:\n color 0.2s ease-out,\n font-weight 0.2s ease-out;\n}\n\n.index-module--jEYkH {\n font-weight: 300;\n color: #000;\n}\n",""]);var s="index-module--V0pQW",a="index-module--zHWrU",r="index-module--rSXQZ",c="index-module--Ublpe",u="index-module--jEYkH";const x=d},7182:(n,e,t)=>{t.d(e,{O7:()=>s,TN:()=>c,Xf:()=>r,ZN:()=>u,ZP:()=>x,eR:()=>a});var i=t(8081),o=t.n(i),l=t(23645),d=t.n(l)()(o());d.push([n.id,".index-module--zbUn_ {\n display: flex;\n justify-content: center;\n flex-direction: column;\n margin-bottom: 24px;\n}\n.index-module--NgTfo {\n width: calc(100% - 64px);\n padding: 8px 32px;\n}\n\n.index-module--j9Vsg {\n width: 100%;\n height: -moz-fit-content;\n height: fit-content;\n position: relative;\n display: flex;\n padding-bottom: 4px;\n align-items: center;\n justify-content: space-between;\n padding-top: 4px;\n margin-bottom: 10px;\n gap: 12px;\n}\n.index-module--oMpID {\n width: 65%;\n}\n.index-module--oMpID:first-child {\n width: 35%;\n margin: 10px 0px;\n position: relative;\n display: flex;\n gap: 8px;\n}\n\n.index-module--CG0qP {\n flex-grow: 1;\n height: 58px;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n min-width: 33%;\n}\n\n/* The title column has a fixed width, so the name must shrink instead of pushing the info icon onto the toggle. */\n.index-module--HRorI {\n min-width: 0;\n word-wrap: anywhere;\n}\n\n.index-module--F6wCX {\n text-align: left;\n margin-left: 0;\n margin-left: initial;\n cursor: pointer;\n}\n\n.index-module--mALKQ {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n",""]);var s="index-module--j9Vsg",a="index-module--oMpID",r="index-module--HRorI",c="index-module--F6wCX",u="index-module--mALKQ";const x=d}}]);
|