@billgangcom/theme-lib 1.17.2 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builder.cjs.js +2 -2
- package/dist/builder.es.js +256 -256
- package/package.json +1 -1
package/dist/builder.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";@import"https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap";._icon_bsuj2_1 path{fill:var(--icon-fill)}._hoverable_bsuj2_5{cursor:pointer}._rotated_bsuj2_9{transform:rotate(180deg)}._button_3jsln_1{padding:10px 16px;border-radius:12px;cursor:pointer;font-size:16px}._button_3jsln_1:disabled{opacity:.7;cursor:auto}._primary_3jsln_13{color:#fff;background-color:#ff3f19}._secondary_3jsln_18{color:#757575;background-color:#f8f8f8}._content_3jsln_23{display:flex;align-items:center;gap:4px}._wrapper_wp7u5_1{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%}._label_wp7u5_9{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._input_wp7u5_17{width:100%;background-color:var(--background-color);border-radius:12px;padding:7px 11px;font-size:16px;line-height:24px;border:1px solid var(--background-color)}._input_wp7u5_17::placeholder{color:#c2c2c2}._input_wp7u5_17:disabled{background-color:var(--background-color);opacity:.7}._required_wp7u5_36{border:1px solid #ff3f19}._paddingless_wp7u5_40{padding:0}._content_wp7u5_44{display:flex;align-items:center;gap:8px}._borderless_wp7u5_50{border-radius:0;border:none}._wrapper_1v1ye_1{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%}._label_1v1ye_9{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._select_1v1ye_17{width:100%;background-color:var(--background-color);border-radius:12px;padding:10px 12px;font-size:14px;line-height:20px;display:flex;align-items:center;justify-content:space-between;cursor:pointer}._icon_1v1ye_30{transition:.2s}._rotate_1v1ye_34{transform:rotate(180deg)}._content_1v1ye_38{position:relative}._options_1v1ye_42{position:absolute;top:45px;width:100%;background-color:var(--background-color);border-radius:12px;font-size:14px;line-height:20px;display:flex;flex-direction:column;max-height:200px;z-index:10;overflow-y:scroll;cursor:pointer}._option_1v1ye_42{padding:10px 12px;border-radius:12px}._option_1v1ye_42:hover{background-color:#e6e6e6}._addon_1v1ye_66{display:flex;align-items:center;gap:6px}._wrapper_3w2ni_1{display:flex;width:fit-content;gap:8px;align-items:center;border-radius:12px;line-height:20px;color:#252525;font-size:14px;font-weight:400}._switch_3w2ni_13{width:40px;height:24px;background-color:#ccc;border-radius:25px;display:flex;align-items:center;padding:2px;cursor:pointer;transition:background-color .2s}._switch_3w2ni_13._active_3w2ni_24{background:#ff3f19}._switch_3w2ni_13 ._toggle_3w2ni_27{width:14px;height:14px;background-color:#fff;border-radius:16px;transition:transform .2s;transform:translate(2px)}._switch_3w2ni_13._active_3w2ni_24 ._toggle_3w2ni_27{transform:translate(18px)}._background_3w2ni_39{background-color:#f8f8f8}._padding_3w2ni_43{padding:8px}._wrapper_1inu5_1{border:var(--default-border);width:fit-content;height:fit-content;max-height:500px;max-width:500px;min-width:300px;padding:10px;left:10px;top:10px;position:absolute;z-index:1000;background-color:#fff;display:flex;border-radius:8px;justify-content:center;align-items:center;overflow:hidden}._blocks_1op3c_1{display:flex;align-items:center;gap:8px}._block_1op3c_1{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_1op3c_18{border:1px solid #ff3f19}._applyButton_1cqw4_2{flex:0 1 50%;font-weight:400}._cancelButton_1cqw4_7{background-color:#f8f8f8;color:var(--accent-color)}._content_1cqw4_12{display:flex;flex-direction:column;width:100%}._label_1cqw4_18{padding:8px 12px;border-radius:8px;display:flex;align-items:center;position:relative;gap:8px;width:100%;background-color:var(--background-color);cursor:pointer}._colorValue_1cqw4_30{width:20px;height:20px;padding:2.5px;border-radius:2px}._modal_1cqw4_37{left:15px;width:288px;overflow-y:auto;z-index:100000000;position:fixed;background-color:#fff;border-radius:12px;padding:10px;border:1px solid #e6e6e6;height:400px;display:flex;flex-direction:column;gap:10px;font-size:16px;line-height:24px;font-weight:700}._colorMap_1cqw4_56{position:relative;width:100%;height:300px;cursor:pointer;border-radius:4px}._indicator_1cqw4_64{position:absolute;width:20px;height:20px;border:4px solid white;border-radius:50%;pointer-events:none}._hueSlider_1cqw4_73{width:80%;left:30px;height:8px;position:absolute;bottom:80px;background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red,red);border-radius:5px}input[type=range]{-webkit-appearance:none;height:8px;outline:none;border-radius:5px;position:relative;display:flex;justify-content:center}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border:5px solid #fff;border-radius:50%;cursor:pointer}._slider_1cqw4_102{width:100%;cursor:pointer}._buttons_1cqw4_107{display:flex;gap:5px;width:100%}._name_1cqw4_113{line-height:20px;padding:0 4px 4px}._secondary_1cqw4_118{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._input_1cqw4_126{line-height:20px;font-size:14px;font-weight:400}._modal_1qb2a_1{position:fixed;top:0;left:0;right:0;bottom:0;background:#2525253d;z-index:100000;display:flex;padding:20px;justify-content:center;align-items:center;overflow:hidden}._wrapper_1qvfi_1{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%;position:relative}._label_1qvfi_10{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._textarea_1qvfi_18{width:100%;background-color:var(--background-color);border-radius:12px;padding:8px 12px;font-size:16px;line-height:24px;resize:none;min-height:80px}._textarea_1qvfi_18::placeholder{color:#c2c2c2}._length_1qvfi_33{position:absolute;bottom:12px;right:12px;color:#c2c2c2;line-height:20px}._wrapper_1fcne_2{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%}._label_1fcne_10{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._options_1fcne_18{display:flex;gap:20px}._radioLabel_1fcne_23{display:flex;align-items:center;cursor:pointer;position:relative}._radio_1fcne_23{position:absolute;opacity:0;cursor:pointer}._custom_1fcne_36{height:20px;width:20px;border-radius:50%;border:1px solid #e6e6e6;display:inline-block;margin-right:8px;position:relative}._radio_1fcne_23:checked+._custom_1fcne_36{border-color:#ff3f19;background:#ffeae5}._custom_1fcne_36:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:8px;height:8px;border-radius:50%;background-color:#e53e3e;opacity:0}._radio_1fcne_23:checked+._custom_1fcne_36:after{opacity:1}._option_1fcne_18{font-size:16px;line-height:24px;font-weight:400}._tip_pl6k0_1{display:flex;align-items:center;padding:8px;border-radius:12px;gap:8px}._text_pl6k0_9{flex:1 1 auto;line-height:20px;font-size:14px}._warning_pl6k0_15{background:#faf8e6;color:#c1972a}._error_pl6k0_20{background:#ffc3b7;color:#ff3f19}._hide_pl6k0_25{display:none}._customCheckbox_1b69m_1{display:inline-block;cursor:pointer;position:relative}._checkboxBox_1b69m_7{display:inline-block;width:20px;height:20px;border:1px solid #e6e6e6;border-radius:6px;position:relative}._checkboxBox_1b69m_7._checked_1b69m_16{background:#ffeae5;border:1px solid #ff3f19}._icon_1b69m_21{position:absolute;top:3px;left:3px}._loader_wrwsz_1{border:4px solid rgba(0,0,0,.1);border-left-color:#f8f8f8;border-radius:50%;width:40px;height:40px;animation:_spin_wrwsz_1 1s linear infinite}@keyframes _spin_wrwsz_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._wrapper_tm686_2{display:flex;flex-direction:column;gap:6px;width:100%}._label_tm686_9{color:#757575;font-weight:400;font-size:14px;line-height:20px}._icon_tm686_16{padding:4px;background-color:#fff;border:1px solid #f0f0f0;display:flex;justify-content:center;align-items:center;border-radius:6px}._text_tm686_26{font-weight:400;font-size:16px;line-height:24px;color:#ff3f19}._content_tm686_33{display:flex;align-items:center;gap:6px;cursor:pointer;background-color:#f8f8f8;border-radius:12px;padding:6px 8px}._modal_tm686_43{background-color:#f8f8f8;border:1px solid #f0f0f0;border-radius:16px;width:100%;max-width:640px}._top_tm686_51{padding:16px 24px;display:flex;align-items:center;justify-content:space-between}._title_tm686_58{color:#252525;font-weight:400;font-size:18px;line-height:24px}._modalContent_tm686_65{padding:16px 24px;border-top-left-radius:16px;border-top-right-radius:16px;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;background-color:#fff}._images_tm686_74{display:grid;grid-template-columns:repeat(3,1fr);align-items:center;gap:10px;overflow-y:scroll;max-height:390px}._add_tm686_83{display:flex;flex-direction:column;gap:8px;padding:43px 16px;border:1px dashed #e6e6e6;justify-content:center;align-items:center;border-radius:16px;aspect-ratio:1/1}._description_tm686_95{text-align:center;color:#252525;font-size:14px;line-height:20px}._description_tm686_95 span:last-child{padding-top:4px}._bottom_tm686_105{display:flex;justify-content:end;align-items:center;width:100%;background-color:#fff;border-bottom-left-radius:16px;border-bottom-right-radius:16px;padding:16px 24px 12px;gap:6px}._cancel_tm686_117{background-color:var(--background-color);color:var(--accent-color)}._highlight_tm686_122{color:#ff3f19;cursor:pointer}._accent_tm686_127{color:var(--accent-color)}._image_tm686_74{position:relative;padding:43px 16px;border:1px solid #e6e6e6;justify-content:center;align-items:center;border-radius:16px;aspect-ratio:1/1}._selected_tm686_141{border:1px solid #ff3f19}._checkbox_tm686_145{position:absolute;top:12px;left:12px}._loading_tm686_151{position:relative;padding:43px 16px;border:1px solid #e6e6e6;background-color:#f8f8f8;justify-content:center;align-items:center;display:flex;border-radius:16px;aspect-ratio:1/1}._spinner_tm686_163{width:24px;height:24px;border:2px solid #ff3f19;border-top-color:#f8f8f8;border-radius:50%;animation:_spin_tm686_163 1s linear infinite}@keyframes _spin_tm686_163{to{transform:rotate(360deg)}}*{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}*{padding:0;margin:0;border:0}*,*:before,*:after{box-sizing:border-box}:focus,:active{outline:none}a:focus,a:active{outline:none}nav,footer,header,aside{display:block}html,body{width:100%;line-height:1;font-size:16px;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%}input,button,textarea{font-family:inherit}input::-ms-clear{display:none}button{background-color:transparent;cursor:pointer}button::-moz-focus-inner{padding:0;border:0}a,a:visited,a:hover{text-decoration:none}ul li{list-style:none}img{vertical-align:top}h1,h2,h3,h4,h5,h6,a{font-size:inherit}a{color:inherit}*{-webkit-tap-highlight-color:transparent}input{border:none;background:none;outline:none;padding:0}input[type=color]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:40px;height:40px;border:none;background:transparent}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}*{-ms-overflow-style:none;scrollbar-width:none}* ::-webkit-scrollbar{display:none}:root{--default-border: 1px solid #f0f0f0;--accent-color: #757575;--main-color: #252525;--background-color: #f8f8f8}body,html{background-color:#fff;font-family:Archivo,sans-serif;max-height:100dvh;overflow:hidden}._wrapper_dbban_1{height:100%;overflow-y:scroll;display:flex;flex-direction:column}._main_dbban_8{flex:1 1 auto}._loading_dbban_12{width:100%;height:100%;display:flex;justify-content:center;align-items:center}._buttons_1gn8m_1{display:flex;align-items:center;gap:16px}._button_1gn8m_1{cursor:pointer;padding:10px}._devices_hxl12_1{display:flex;gap:4px;background:var(--background-color);padding:4px;border-radius:16px}._device_hxl12_1{padding:6px 8px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:12px;border:1px solid var(--background-color)}._device_hxl12_1:hover{border:var(--default-border);box-shadow:0 0 1px #dfdfdf}._active_hxl12_23{background-color:#fff}._active_hxl12_23:hover{border:1px solid var(--background-color);box-shadow:none}._header_zvaam_1{width:100%;padding:11px 22px;line-height:20px;border-bottom:var(--default-border);display:flex;align-items:center;justify-content:space-between;gap:24px}._left_zvaam_12,._right_zvaam_13{display:flex;align-items:center;gap:24px}._preview_vijvm_2{display:flex;align-items:center;gap:4px;color:var(--accent-color);line-height:20px;padding:10px 16px;cursor:pointer;border:1px solid #fff;border-radius:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._preview_vijvm_2:hover{border:var(--default-border);box-shadow:0 0 1px #dfdfdf}._active_vijvm_22{background-color:var(--background-color)}._active_vijvm_22:hover{border:1px solid #fff;box-shadow:none}._settings_q79q3_1{display:flex;gap:20px;align-items:center;color:var(--accent-color)}._language_1mbvp_1{display:flex;align-items:center;gap:4px;background-color:var(--background-color);padding:10px 12px;border-radius:12px;cursor:pointer}._text_1mbvp_11{padding-right:4px;color:var(--main-color)}._pages_sf7rl_1{position:relative}._default_sf7rl_5{display:flex;align-items:center;gap:4px;padding:10px 12px;background-color:var(--background-color);border-radius:8px;cursor:pointer;position:relative}._text_sf7rl_16{padding-right:4px;color:var(--main-color);flex:1 1 auto}._modal_sf7rl_22{position:absolute;top:45px;width:320px;left:0;z-index:5000;background-color:#fff;border:1px solid #e6e6e6;border-radius:8px;padding:8px 12px;display:flex;flex-direction:column}._page_sf7rl_1{display:flex;align-items:center;gap:8px;padding:12px 8px;border-radius:8px;cursor:pointer}._hoverable_sf7rl_45{background-color:var(--background-color)}._separator_sf7rl_49{border-bottom:1px solid #f0f0f0}._button_sf7rl_53{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:start;gap:8px;padding:16px 8px 12px;transition:.2s}._button_sf7rl_53:hover{background-color:var(--background-color)}._items_sf7rl_67{max-height:400px;overflow-y:scroll;height:100%}._zoom_a77cn_1{display:flex;align-items:center;gap:4px;background-color:var(--background-color);padding:10px 12px;border-radius:12px;cursor:pointer}._theme_3wxbf_1{display:flex;align-items:center;gap:4px;padding:9px 12px;background:#e5fadd;color:#338b13;border-radius:100px}._exit_2ce42_1{border-bottom:var(--default-border);display:flex;gap:8px;align-items:center;padding:22px;cursor:pointer}._text_2ce42_10{color:#252525;line-height:20px}._navbar_2ac63_1{width:100px;border-right:var(--default-border)}._main_2ac63_6{display:flex;flex-direction:column;gap:8px;padding:16px 12px}._block_2ac63_13{display:flex;align-items:center;flex-direction:column;gap:4px;color:var(--accent-color);line-height:20px;padding:12px 24px;cursor:pointer;border:1px solid #fff;border-radius:16px}._block_2ac63_13:hover{border:var(--default-border);box-shadow:0 0 1px #dfdfdf}._active_2ac63_30{background-color:var(--background-color);color:#252525}._active_2ac63_30:hover{border:1px solid #fff;box-shadow:none}._preview_1q4f5_1{width:100%;background-color:var(--background-color);padding:16px 32px 0;position:relative;z-index:500}._main_1q4f5_9{width:100%;display:flex;flex-direction:column;overflow-y:auto;height:calc(100vh - 85px);position:relative;z-index:1}._content_1q4f5_19{background-color:#fff;border:var(--default-border);border-bottom:none;height:100%}._loading_1q4f5_26{width:100%;height:100%;display:flex;justify-content:center;align-items:center}._loader_1q4f5_34{border:4px solid rgba(0,0,0,.1);border-left-color:#fff;border-radius:50%;width:40px;height:40px;animation:_spin_1q4f5_1 1s linear infinite}@keyframes _spin_1q4f5_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._header_1t64j_1{display:flex;width:100%;padding:18px;justify-content:center;border:var(--default-border);background-color:#fff;border-top-left-radius:16px;border-top-right-radius:16px;border-bottom:none;z-index:5}._circles_1t64j_14{left:28px;top:28px;position:absolute;display:flex;align-items:center;gap:8px}._circle_1t64j_14{width:12px;height:12px;border-radius:50%;border:.5px solid #e6e6e6}._red_1t64j_30{background:#ff5f57}._green_1t64j_34{background:#28c840}._yellow_1t64j_38{background:#febc2e}._input_1t64j_42{background-color:var(--background-color);padding:6px 8px;display:flex;max-width:480px;width:100%;border-radius:6px}._main_1t64j_51{flex:1 1 auto;display:flex;align-items:center;justify-content:center;gap:4px}._text_1t64j_59{font-weight:600;font-size:12px;line-height:16px;margin:0 0 0 4px}._content_1plo6_1{width:100%;height:100%;display:flex;flex-direction:column}._main_1plo6_8{flex:1 0 auto}._block_1plo6_12{position:relative;cursor:pointer;border-left:1px solid #e6e6e6;border-right:1px solid #e6e6e6}._active_1plo6_19{border:2px solid #ff3f19}._name_1plo6_23{z-index:10;position:absolute;top:-28px;left:-2px;border-top-left-radius:8px;border-top-right-radius:8px;color:#fff;background:#ff3f19;padding:4px 12px;line-height:20px;text-align:center}._empty_1plo6_37{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center}._icon_1plo6_48{width:64px;height:64px;background-color:var(--background-color);display:flex;border-radius:50%;justify-content:center;align-items:center;margin:0 0 8px}._title_1plo6_59{font-weight:700;font-size:24px;line-height:32px}._text_1plo6_65{font-size:16px;line-height:24px;color:var(--accent-color)}._sections_1plo6_71{padding:0 20px;margin:20px 0 0;display:flex;flex-wrap:wrap;justify-content:center;gap:24px}._section_1plo6_71{cursor:pointer;display:flex;gap:10px;max-width:288px;width:100%;align-items:center;justify-content:space-between;padding:24px;background-color:var(--background-color);border-radius:24px;color:var(--accent-color)}._sidebar_1f3hk_1{position:absolute;display:flex;height:fit-content();flex-direction:column;right:10px;z-index:20;padding:10px;cursor:auto}._content_1f3hk_12{height:100%;border:1px solid #e6e6e6;border-radius:8px;background-color:#fff;padding:8px;max-width:60px;width:100%}._button_1f3hk_22{display:flex;align-items:center;border-radius:8px;padding:8px;transition:.2s background-color}._moveButton_1f3hk_30:hover{background-color:var(--background-color)}._border_1f3hk_34{border-bottom:var(--default-border)}._deleteButton_1f3hk_38:hover{background-color:#dd6363;color:#fff}._results_f488n_1{display:flex;flex-direction:column;padding:8px;gap:20px}._name_f488n_8{color:var(--main-color);font-weight:600;font-size:16px;line-height:24px}._product_f488n_15{display:flex;align-items:center;justify-content:space-between;cursor:pointer}._search_1s0qp_1{background:var(--background-color);padding:8px 12px;display:flex;align-items:center;border-radius:12px;width:100%;gap:10px;margin:8px 0}._input_1s0qp_12{width:100%;font-size:16px;line-height:24px;color:#252525}._input_1s0qp_12::placeholder{color:#c2c2c2}._sidebar_96mlz_1{max-width:320px;width:100%;padding:16px;border-right:var(--default-border);height:calc(100vh - 60px);position:relative}._title_96mlz_10{color:var(--main-color);font-weight:700;font-size:20px;line-height:24px;padding-bottom:8px}._active_96mlz_18{display:flex;align-items:center;gap:8px}._layers_62wod_1{display:flex;flex-direction:column;position:relative;height:100%}._block_62wod_8{position:relative;display:flex;align-items:center;gap:4px;font-size:16px;line-height:24px;padding:8px 12px;border-radius:8px;cursor:pointer}._block_62wod_8:hover{background-color:var(--background-color)}._dragging_62wod_23{box-shadow:0 2.1px 4.36px #00000004;box-shadow:0 5.3px 10.22px #00000005;border:var(--default-border);box-shadow:0 10.81px 19.93px #00000006;cursor:grabbing}._active_62wod_31{background:#ffeae5}._add_62wod_35{z-index:2;position:absolute;display:flex;justify-content:center;align-items:center;bottom:0;left:0;border-bottom:2px solid #ff3f19;width:100%}._button_62wod_47{position:relative;display:flex;justify-content:center;align-items:center;top:12px;background-color:#ff3f19;width:24px;height:24px;border-radius:50%;padding:4px}._empty_62wod_60{display:flex;flex-direction:column;justify-content:center;height:100%;width:100%;align-items:center;text-align:center;gap:4px;color:var(--accent-color)}._title_62wod_72{font-size:16px;line-height:24px;font-weight:700;color:var(--accent-color)}._icon_62wod_79{margin:0 0 12px}._text_62wod_83{font-size:16px;font-weight:400;line-height:24px}._highlight_62wod_89{color:#ff3f19;cursor:pointer}._block_1d6lb_1{position:relative;display:flex;align-items:center;gap:4px;font-size:16px;line-height:24px;padding:8px 12px;border-radius:8px;cursor:pointer}._block_1d6lb_1:hover{background-color:var(--background-color)}._theme_1xj36_1{display:flex;flex-direction:column}._block_1xj36_6{justify-content:start;display:flex;align-items:center;gap:8px;width:100%;padding:16px 8px;cursor:pointer;border-radius:8px}._block_1xj36_6:hover{background-color:var(--background-color)}._name_1xj36_20{flex:1 1 auto}._back_y3z55_1{display:flex;align-items:center;gap:8px;padding-bottom:8px}._render_y3z55_8{display:flex;flex-direction:column;gap:8px;height:100%;transition:.2s transform;position:absolute;top:0;left:0;padding:16px;width:100%;background:#fff;z-index:501}._open_y3z55_23{animation:.2s _open_y3z55_23 forwards}@keyframes _open_y3z55_23{0%{transform:translate(320px);z-index:1}99%{z-index:1}to{z-index:5000;transform:translate(0)}}@keyframes _close_y3z55_50{0%{z-index:1;transform:translate(0)}to{z-index:1;transform:translate(320px)}}._close_y3z55_50{animation:.2s _close_y3z55_50 forwards}._clicked_y3z55_54{opacity:0}._title_y3z55_58{color:var(--main-color);font-weight:700;font-size:20px;line-height:24px;flex:1 1 auto}._button_y3z55_66{align-self:center;flex:1}._loading_y3z55_71{flex:1 1 auto}._settings_y3z55_75{flex:1 1 100%;overflow-y:scroll;overflow-x:hidden}._deleteButton_y3z55_81{display:flex;align-items:center;border-radius:8px;padding:8px;transition:.2s background-color}._deleteButton_y3z55_81:hover{background-color:#dd6363;color:#fff}._settings_1r85j_1{display:flex;flex-direction:column;gap:8px;height:100%;transition:.2s transform;position:absolute;top:0;left:0;padding:16px;width:100%;background:#fff;z-index:3}._open_1r85j_16{transform:translate(0)}._close_1r85j_20{transform:translate(320px)}._header_1r85j_24{display:flex;align-items:center;gap:8px}._title_1r85j_30{font-weight:700;font-size:20px;line-height:24px;flex:1 1 auto}._addButton_1r85j_37{color:#ff3f19;display:flex;align-items:center;gap:4px;cursor:pointer}._wrapper_n1a7x_1{overflow-y:scroll}._category_n1a7x_5{display:flex;flex-direction:column}._categoryTitle_n1a7x_10{font-weight:600;font-size:16px;line-height:24px}._color_n1a7x_16{display:flex;flex-direction:column}._color_n1a7x_16:not(:last-child){border-bottom:1px solid #f0f0f0}._content_n1a7x_24{padding:12px 0;gap:8px;display:flex;align-items:center;flex:1 1 auto}._preview_n1a7x_32{width:39px;height:39px;flex:0 0 39px;padding:5px;border-radius:50%;border:1px solid #e6e6e6}._wrapper_kb55x_2{overflow-y:scroll}._category_kb55x_6{display:flex;flex-direction:column}._categoryTitle_kb55x_11{font-weight:600;font-size:16px;line-height:24px}._color_kb55x_17{gap:8px;display:flex;flex-direction:column}._name_kb55x_23{line-height:20px;padding:0 4px 4px}._content_kb55x_28{display:flex;flex-direction:column;width:100%}._label_kb55x_34{padding:8px 12px;border-radius:12px;display:flex;align-items:center;gap:5px;width:100%;background-color:var(--background-color);cursor:pointer}._input_kb55x_45[type=color]{width:20px;height:20px;padding:1px}._input_kb55x_45{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:100%;border:none;padding:0;cursor:pointer;border-radius:50%}._input_kb55x_45::-webkit-color-swatch{border-radius:50%;border:none}._input_kb55x_45::-webkit-color-swatch-wrapper{padding:0;border-radius:50%}._title_kb55x_71{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._field_kb55x_79{display:flex;flex-direction:column;gap:10px;padding:16px 0}._field_kb55x_79:not(:last-child){border-bottom:1px solid #f0f0f0}._alignments_kb55x_89{display:flex;flex-direction:column;gap:10px}._lineField_kb55x_95{display:flex;justify-content:space-between;align-items:center}._style_kb55x_101{flex:1 0 50%;display:flex;flex-direction:column;gap:8px}._header_kb55x_108{display:flex;align-items:center;justify-content:space-between}._wrapper_k9on2_1{overflow-y:scroll}._category_k9on2_5{display:flex;flex-direction:column}._categoryTitle_k9on2_10{font-weight:600;font-size:16px;line-height:24px}._font_k9on2_16{padding:12px 0;gap:8px;display:flex;align-items:center;position:relative;flex:1 1 auto;cursor:pointer}._font_k9on2_16:hover{background-color:#f8f8f8;border-radius:8px}._font_k9on2_16:not(:last-child){border-bottom:var(--default-border)}._font_k9on2_16:not(:last-child):hover{border-bottom:1px solid #f8f8f8}._content_k9on2_36{display:flex;flex-direction:column;width:100%}._icon_k9on2_42{padding:8px;border-radius:8px;background-color:#f8f8f8;display:flex;align-items:center;justify-content:center}._paragraph_k9on2_51{padding:12px}._deleteIcon_k9on2_55{position:absolute;right:10px;width:20px;height:20px}._iconButton_k9on2_62{width:32px;height:32px}._wrapper_94fpv_1{display:flex;flex-direction:column;gap:8px;height:100%;transition:.2s transform;position:absolute;top:0;left:0;padding:16px;width:100%;background:#fff;z-index:5}._open_94fpv_16{transform:translate(0)}._close_94fpv_20{transform:translate(320px)}._header_94fpv_24{display:flex;align-items:center;gap:8px;margin:0 0 10px}._title_94fpv_31{font-weight:700;font-size:20px;line-height:24px}._options_94fpv_37{display:flex;flex-direction:column;gap:10px;flex:1 1 auto}._clicked_94fpv_44{opacity:0}._wrapper_1j33r_1{display:flex;flex-direction:column;gap:8px;height:100%;transition:.2s transform;position:absolute;top:0;left:0;padding:16px;width:100%;background:#fff;z-index:5}._open_1j33r_16{transform:translate(0)}._close_1j33r_20{transform:translate(320px)}._header_1j33r_24{display:flex;align-items:center;gap:8px;margin:0 0 10px}._title_1j33r_31{font-weight:700;font-size:20px;line-height:24px}._options_1j33r_37{display:flex;flex-direction:column;gap:10px;flex:1 1 auto}._clicked_1j33r_44{opacity:0}._label_1j33r_48{font-size:14px;font-weight:400;line-height:20px;color:var(--accent-color)}._alignments_1j33r_55{display:flex;flex-direction:column;gap:10px}._blocks_1j33r_61{display:flex;align-items:center;gap:8px}._alignment_1j33r_55{padding:8px;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_1j33r_75{border:1px solid #ff3f19}._wrapper_jjfwh_1{display:flex;flex-direction:column;gap:20px;background:#fff;max-width:640px;width:100%;padding:16px 24px;border-radius:16px}._header_jjfwh_12{display:flex;justify-content:space-between;align-items:center;font-size:24px;font-weight:700;line-height:32px}._content_jjfwh_21{display:flex;flex-direction:column;gap:10px;overflow-y:scroll;max-height:500px}._buttons_jjfwh_29{display:flex;justify-content:end;gap:12px}._cancel_jjfwh_35{background-color:var(--background-color);color:var(--accent-color)}._label_jjfwh_40,._description_jjfwh_41{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._preview_jjfwh_49{display:flex;flex-direction:column;gap:10px}._block_jjfwh_55{padding:24px;display:flex;flex-direction:column;border:1px solid var(--background-color);border-radius:8px}._slug_jjfwh_63{line-height:20px;color:#ff3f19;margin-bottom:4px}._title_jjfwh_69{font-weight:600;font-size:16px;line-height:24px}._layout_vvs1k_1{width:100%;height:100%;display:flex;position:relative}._main_vvs1k_8{display:flex;flex-direction:column;width:100%;position:relative}._content_vvs1k_15{position:relative;height:100%;display:flex}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--billgang-color-signal-danger: #c12a2a;--billgang-color-brand-default: #ff3f19;--billgang-color-brand-light: #ffeae5;--billgang-color-brand-lighter: rgba(255, 64, 26, .1);--billgang-color-surface-0: #f8f8f8;--billgang-color-surface-100: #ffffff;--billgang-color-surface-200: #c2c2c2;--billgang-color-text-brandDefault: #252525;--billgang-color-text-secondary: #757575;--billgang-color-border-default: #f0f0f0;--billgang-color-border-hover: #e6e6e6;--billgang-color-shadow-0: #dfdfdf;--billgang-color-success-background: #e5fadd;--billgang-color-success-text: #338b13;--billgang-color-warning-background: #faf8e6;--billgang-color-warning-text: #c1972a;--billgang-color-error-background: #fae6e6;--billgang-color-dialog-backdrop: rgba(37, 37, 37, .25);--billgang-color-field-background-default: var( --billgang-color-surface-200 );--billgang-color-field-background-hover: var(--billgang-color-surface-100);--billgang-color-field-background-focus: var(--billgang-color-surface-100);--billgang-color-field-border-default: var(--billgang-color-surface-200);--billgang-color-field-border-hover: var(--billgang-color-surface-200);--billgang-color-field-border-focus: var(--billgang-color-brand-default);--billgang-shadow-0: 0 1px 0 var(--billgang-color-shadow-0);--billgang-shadow-field: 0 0 0 3px var(--billgang-color-brand-light);--billgang-shadow-dialog: 0 10px 20px rgba(0, 0, 0, .05)}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.flex-center{display:flex;align-items:center;justify-content:center}.icon-wrapper{display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:24px;background-color:var(--billgang-color-surface-0)}.\\!visible{visibility:visible!important}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-4{top:1rem;right:1rem;bottom:1rem;left:1rem}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.bottom-10{bottom:2.5rem}.bottom-3{bottom:.75rem}.bottom-\\[60px\\]{bottom:60px}.left-0{left:0}.left-4{left:1rem}.right-0{right:0}.right-3{right:.75rem}.right-6{right:1.5rem}.right-\\[14px\\]{right:14px}.top-0{top:0}.top-6{top:1.5rem}.-z-50{z-index:-50}.z-10{z-index:10}.z-50{z-index:50}.z-\\[1000\\]{z-index:1000}.col-span-1{grid-column:span 1 / span 1}.col-span-2{grid-column:span 2 / span 2}.row-span-2{grid-row:span 2 / span 2}.m-auto{margin:auto}.mx-0{margin-left:0;margin-right:0}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-4{margin-left:1rem;margin-right:1rem}.-mt-2{margin-top:-.5rem}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-\\[6px\\]{margin-left:6px}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-\\[10px\\]{margin-right:10px}.mr-auto{margin-right:auto}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-2\\.5{margin-top:.625rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-\\[1px\\]{margin-top:1px}.mt-\\[2px\\]{margin-top:2px}.mt-auto{margin-top:auto}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.size-12{width:3rem;height:3rem}.size-4{width:1rem;height:1rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-4{height:1rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\\[18px\\]{height:18px}.h-\\[20px\\]{height:20px}.h-\\[21px\\]{height:21px}.h-\\[276px\\]{height:276px}.h-\\[28px\\]{height:28px}.h-\\[38px\\]{height:38px}.h-\\[4px\\]{height:4px}.h-\\[56px\\]{height:56px}.h-\\[5px\\]{height:5px}.h-\\[80\\%\\]{height:80%}.h-\\[92\\%\\]{height:92%}.h-\\[92px\\]{height:92px}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.max-h-8{max-height:2rem}.max-h-\\[230px\\]{max-height:230px}.min-h-\\[300px\\]{min-height:300px}.min-h-\\[96px\\]{min-height:96px}.min-h-svh{min-height:100svh}.w-1{width:.25rem}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-2{width:.5rem}.w-4{width:1rem}.w-40{width:10rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\\[120px\\]{width:120px}.w-\\[160px\\]{width:160px}.w-\\[20px\\]{width:20px}.w-\\[21px\\]{width:21px}.w-\\[256px\\]{width:256px}.w-\\[28px\\]{width:28px}.w-\\[56px\\]{width:56px}.w-\\[5px\\]{width:5px}.w-\\[calc\\(100\\%\\/6\\)\\]{width:calc(100% / 6)}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-12{min-width:3rem}.min-w-4{min-width:1rem}.min-w-8{min-width:2rem}.min-w-\\[120px\\]{min-width:120px}.min-w-\\[18px\\]{min-width:18px}.min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.max-w-\\[100\\%\\]{max-width:100%}.max-w-\\[1120px\\]{max-width:1120px}.max-w-\\[368px\\]{max-width:368px}.max-w-\\[376px\\]{max-width:376px}.max-w-\\[40\\%\\]{max-width:40%}.max-w-\\[456px\\]{max-width:456px}.max-w-\\[480px\\]{max-width:480px}.max-w-\\[65\\%\\]{max-width:65%}.max-w-\\[80\\%\\]{max-width:80%}.max-w-\\[800px\\]{max-width:800px}.max-w-\\[85\\%\\]{max-width:85%}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.flex-grow{flex-grow:1}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1\\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\\[minmax\\(120px\\,auto\\)_minmax\\(0\\,20\\%\\)_repeat\\(4\\,minmax\\(min-content\\,auto\\)\\)\\]{grid-template-columns:minmax(120px,auto) minmax(0,20%) repeat(4,minmax(min-content,auto))}.grid-cols-\\[minmax\\(120px\\,auto\\)_repeat\\(5\\,minmax\\(min-content\\,auto\\)\\)\\]{grid-template-columns:minmax(120px,auto) repeat(5,minmax(min-content,auto))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.\\!items-start{align-items:flex-start!important}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-\\[3px\\]{gap:3px}.gap-\\[6px\\]{gap:6px}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-nowrap{text-wrap:nowrap}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\\[100px\\]{border-radius:100px}.rounded-\\[32px\\]{border-radius:32px}.rounded-\\[50\\%\\]{border-radius:50%}.rounded-\\[6px\\]{border-radius:6px}.rounded-base{border-radius:12px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:16px}.rounded-none{border-radius:0}.rounded-sm{border-radius:8px}.rounded-xl{border-radius:24px}.rounded-t-xl{border-top-left-radius:24px;border-top-right-radius:24px}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-\\[1px\\]{border-width:1px}.border-b,.border-b-\\[1px\\]{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-none{border-style:none}.\\!border-brandDefault{border-color:var(--billgang-color-brand-default)!important}.border-borderDefault{border-color:var(--billgang-color-border-default)}.border-borderHover{border-color:var(--billgang-color-border-hover)}.border-brandDefault{border-color:var(--billgang-color-brand-default)}.border-textPrimary{border-color:var(--billgang-color-text-brandDefault)}.border-transparent{border-color:transparent}.border-x-borderDefault{border-left-color:var(--billgang-color-border-default);border-right-color:var(--billgang-color-border-default)}.border-x-brandDefault{border-left-color:var(--billgang-color-brand-default);border-right-color:var(--billgang-color-brand-default)}.border-x-surface100{border-left-color:var(--billgang-color-surface-100);border-right-color:var(--billgang-color-surface-100)}.border-b-transparent{border-bottom-color:transparent}.border-t-borderDefault{border-top-color:var(--billgang-color-border-default)}.border-t-brandDefault{border-top-color:var(--billgang-color-brand-default)}.border-t-surface100{border-top-color:var(--billgang-color-surface-100)}.\\!bg-surface0{background-color:var(--billgang-color-surface-0)!important}.bg-\\[rgba\\(37\\,37\\,37\\,0\\.24\\)\\]{background-color:#2525253d}.bg-borderDefault{background-color:var(--billgang-color-border-default)}.bg-brandDefault{background-color:var(--billgang-color-brand-default)}.bg-brandLight{background-color:var(--billgang-color-brand-light)}.bg-signalDangerBackground{background-color:var(--billgang-color-error-background)}.bg-successBackground{background-color:var(--billgang-color-success-background)}.bg-surface0{background-color:var(--billgang-color-surface-0)}.bg-surface100{background-color:var(--billgang-color-surface-100)}.bg-surface200{background-color:var(--billgang-color-surface-200)}.bg-textPrimary{background-color:var(--billgang-color-text-brandDefault)}.bg-transparent{background-color:transparent}.bg-warningBackground{background-color:var(--billgang-color-warning-background)}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-cover{background-size:cover}.bg-no-repeat{background-repeat:no-repeat}.fill-brandDefault{fill:var(--billgang-color-brand-default)}.fill-signalDanger{fill:var(--billgang-color-signal-danger)}.fill-surface100{fill:var(--billgang-color-surface-100)}.fill-textPrimary{fill:var(--billgang-color-text-brandDefault)}.fill-textSecondary{fill:var(--billgang-color-text-secondary)}.stroke-borderDefault{stroke:var(--billgang-color-border-default)}.stroke-brandDefault{stroke:var(--billgang-color-brand-default)}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-\\[12px_16px\\]{padding:12px 16px}.p-\\[12px_16px_10px\\]{padding:12px 16px 10px}.p-\\[4px_8px\\]{padding:4px 8px}.p-\\[6px\\]{padding:6px}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-\\[2px\\]{padding-top:2px;padding-bottom:2px}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-9{padding-bottom:2.25rem}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.pl-9{padding-left:2.25rem}.pl-\\[6px\\]{padding-left:6px}.pr-10{padding-right:2.5rem}.pr-4{padding-right:1rem}.pr-6{padding-right:1.5rem}.pt-0{padding-top:0}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.text-base{font-size:16px}.text-lg{font-size:20px}.text-sm{font-size:14px}.text-xl{font-size:24px}.text-xs{font-size:12px}.text-xxl{font-size:32px}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-10{line-height:2.5rem}.text-brandDefault{color:var(--billgang-color-brand-default)}.text-signalDanger{color:var(--billgang-color-signal-danger)}.text-successText{color:var(--billgang-color-success-text)}.text-surface100{color:var(--billgang-color-surface-100)}.text-surface200{color:var(--billgang-color-surface-200)}.text-textPrimary{color:var(--billgang-color-text-brandDefault)}.text-textSecondary{color:var(--billgang-color-text-secondary)}.text-warningText{color:var(--billgang-color-warning-text)}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow-shadow0{--tw-shadow: var(--billgang-shadow-0);--tw-shadow-colored: var(--billgang-shadow-0);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: var(--billgang-color-shadow-0);--tw-shadow: var(--tw-shadow-colored)}.outline{outline-style:solid}.outline-0{outline-width:0px}.outline-2{outline-width:2px}.outline-offset-\\[-1px\\]{outline-offset:-1px}.outline-brandDefault{outline-color:var(--billgang-color-brand-default)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}body{font-family:Archivo,sans-serif;color:var(--billgang-color-text-brandDefault)}html,body,#root{height:100%}.grecaptcha-badge{visibility:hidden}.placeholder\\:text-surface200::-moz-placeholder{color:var(--billgang-color-surface-200)}.placeholder\\:text-surface200::placeholder{color:var(--billgang-color-surface-200)}.first\\:rounded-l-base:first-child{border-top-left-radius:12px;border-bottom-left-radius:12px}.last\\:rounded-r-base:last-child{border-top-right-radius:12px;border-bottom-right-radius:12px}.last\\:border-r-0:last-child{border-right-width:0px}.last-of-type\\:border-none:last-of-type{border-style:none}.last-of-type\\:pb-0:last-of-type{padding-bottom:0}.hover\\:bg-surface100:hover{background-color:var(--billgang-color-surface-100)}.hover\\:text-textPrimary:hover{color:var(--billgang-color-text-brandDefault)}.hover\\:underline:hover{text-decoration-line:underline}.disabled\\:opacity-50:disabled{opacity:.5}@media (min-width: 640px){.sm\\:col-span-2{grid-column:span 2 / span 2}}@media (min-width: 768px){.md\\:bottom-auto{bottom:auto}.md\\:left-1\\/2{left:50%}.md\\:top-1\\/2{top:50%}.md\\:mb-0{margin-bottom:0}.md\\:ml-auto{margin-left:auto}.md\\:mr-4{margin-right:1rem}.md\\:mt-0{margin-top:0}.md\\:mt-5{margin-top:1.25rem}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:h-\\[92px\\]{height:92px}.md\\:h-auto{height:auto}.md\\:h-full{height:100%}.md\\:h-svh{height:100svh}.md\\:max-h-svh{max-height:100svh}.md\\:min-h-\\[92px\\]{min-height:92px}.md\\:w-\\[320px\\]{width:320px}.md\\:w-\\[40\\%\\]{width:40%}.md\\:w-\\[50\\%\\]{width:50%}.md\\:w-\\[640px\\]{width:640px}.md\\:w-\\[720px\\]{width:720px}.md\\:w-auto{width:auto}.md\\:w-fit{width:-moz-fit-content;width:fit-content}.md\\:w-full{width:100%}.md\\:max-w-\\[520px\\]{max-width:520px}.md\\:-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:scale-50{--tw-scale-x: .5;--tw-scale-y: .5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:scale-\\[1\\]{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:flex-row{flex-direction:row}.md\\:flex-col{flex-direction:column}.md\\:flex-col-reverse{flex-direction:column-reverse}.md\\:items-start{align-items:flex-start}.md\\:items-end{align-items:flex-end}.md\\:justify-center{justify-content:center}.md\\:justify-between{justify-content:space-between}.md\\:gap-2{gap:.5rem}.md\\:gap-3{gap:.75rem}.md\\:overflow-auto{overflow:auto}.md\\:rounded-none{border-radius:0}.md\\:rounded-xl{border-radius:24px}.md\\:border-none{border-style:none}.md\\:bg-transparent{background-color:transparent}.md\\:p-10{padding:2.5rem}.md\\:p-4{padding:1rem}.md\\:px-0{padding-left:0;padding-right:0}.md\\:pb-6{padding-bottom:1.5rem}.md\\:pl-4{padding-left:1rem}.md\\:pr-4{padding-right:1rem}.md\\:pt-0{padding-top:0}.md\\:opacity-0{opacity:0}.md\\:opacity-100{opacity:1}}@media (min-width: 1024px){.lg\\:bottom-10{bottom:2.5rem}.lg\\:left-auto{left:auto}.lg\\:right-0{right:0}.lg\\:col-span-1{grid-column:span 1 / span 1}.lg\\:col-span-4{grid-column:span 4 / span 4}.lg\\:mb-0{margin-bottom:0}.lg\\:ml-3{margin-left:.75rem}.lg\\:h-\\[72px\\]{height:72px}.lg\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.lg\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\\:flex-row{flex-direction:row}.lg\\:justify-between{justify-content:space-between}.lg\\:gap-4{gap:1rem}.lg\\:p-6{padding:1.5rem}.lg\\:py-3{padding-top:.75rem;padding-bottom:.75rem}.lg\\:pb-6{padding-bottom:1.5rem}}@media (min-width: 1280px){.xl\\:mt-1{margin-top:.25rem}.xl\\:block{display:block}.xl\\:flex{display:flex}.xl\\:max-w-\\[320px\\]{max-width:320px}.xl\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\\:flex-row{flex-direction:row}.xl\\:rounded-base{border-radius:12px}.xl\\:border-r{border-right-width:1px}.xl\\:border-none{border-style:none}.xl\\:bg-surface0{background-color:var(--billgang-color-surface-0)}.xl\\:p-6{padding:1.5rem}.xl\\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.xl\\:pr-0{padding-right:0}.xl\\:pr-10{padding-right:2.5rem}.xl\\:pr-4{padding-right:1rem}.xl\\:hover\\:bg-surface0:hover{background-color:var(--billgang-color-surface-0)}}._accordion_2tiiw_1{border-radius:24px;overflow:hidden;transition:all .3s ease;background-color:#f8f8f8;padding:24px}._header_2tiiw_9{display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-weight:700}._header_2tiiw_9 ._icon_2tiiw_16{transition:transform .3s ease}._header_2tiiw_9 ._icon_2tiiw_16._open_2tiiw_19{transform:rotate(180deg)}._content_2tiiw_23{overflow:hidden;transition:height .3s ease}._wrapper_1g82c_2{display:flex;flex-direction:column;gap:10px}._alignmentBlock_1g82c_8{padding:10px 0 16px;display:flex;flex-direction:column;gap:6px}._title_1g82c_15{font-weight:700;line-height:24px;font-size:16px;color:#252525}._subtitle_1g82c_22{color:#757575;font-size:14px;line-height:20px;font-weight:400}._alignmentContent_1g82c_29{display:flex;justify-content:space-between;align-items:stretch}._alignments_1g82c_35{border-radius:12px;background:#f8f8f8;display:grid;gap:4px;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);flex:0 0 50%}._alignment_1g82c_8{cursor:pointer;display:flex;height:100%;width:100%;align-items:center;justify-content:center}._circle_1g82c_54{width:6px;height:6px;border-radius:50%;background-color:#c2c2c2}._paddings_1g82c_61{border-radius:12px;display:grid;gap:4px;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr)}._padding_1g82c_61{width:68px;display:flex;align-items:center;gap:4px;background:#f8f8f8;border-radius:12px;padding:10px 8px}._input_1g82c_79{width:100%}._subtitle_2zbxx_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_2zbxx_8,._text_2zbxx_9{padding:10px 0 16px;display:flex;flex-direction:column;border-bottom:1px solid #f0f0f0}._top_2zbxx_16{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_2zbxx_23{display:flex;flex-direction:column;gap:6px}._typeTexts_3zlec_1{display:flex;align-items:center;gap:8px}._block_3zlec_7{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_3zlec_18{border:1px solid #ff3f19}._subtitle_11qr1_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_11qr1_8,._text_11qr1_9,._productsBlock_11qr1_10{padding:10px 0 16px;display:flex;flex-direction:column;gap:12px;width:100%}._productsBlock_11qr1_10{position:relative}._top_11qr1_22{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_11qr1_29{display:flex;flex-direction:column;gap:6px}._typeTexts_11qr1_35{display:flex;align-items:center;gap:8px}._block_11qr1_41{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_11qr1_52{border:1px solid #ff3f19}._products_11qr1_10{width:100%;display:flex;flex-direction:column;gap:8px}._product_11qr1_10{display:flex;align-items:center;gap:8px;width:100%}._button_11qr1_70{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:center;gap:6px;width:100%}._disabled_11qr1_80{color:#757575}._image_11qr1_84{border-radius:8px;border:1px solid #f0f0f0;background-color:#fff;padding:4px}._info_11qr1_91{border-radius:12px;display:flex;gap:4px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:#f8f8f8;padding:8px 12px}._name_11qr1_102{flex:1 1 100%}._buttons_11qr1_106{display:flex;align-items:center;gap:8px}._modal_11qr1_112{position:fixed;background-color:#fff;border:1px solid #f0f0f0;right:-300px;top:0;z-index:10000;max-width:276px;width:100%;padding:16px;border-radius:12px}._modal_11qr1_112 ._top_11qr1_22{display:flex;align-items:center;justify-content:space-between}._link_11qr1_130{display:flex;flex-direction:column;gap:8px}._modalOptions_11qr1_136{display:flex;flex-direction:column;gap:10px}._other_1wtgi_1{display:flex;flex-direction:column;gap:6px}._subtitle_1wtgi_7{color:#757575;font-size:14px;line-height:20px;font-weight:400}._items_1wtgi_14{display:flex;flex-direction:column;gap:8px}._subtitle_41klp_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_41klp_8,._text_41klp_9,._productsBlock_41klp_10,._buttonsBlock_41klp_11{padding:10px 0 16px;display:flex;flex-direction:column}._buttonsBlock_41klp_11{position:relative}._top_41klp_21{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_41klp_28{display:flex;flex-direction:column;gap:6px}._typeTexts_41klp_34{display:flex;align-items:center;gap:8px}._block_41klp_40{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_41klp_51{border:1px solid #ff3f19}._products_41klp_10{width:100%;display:flex;flex-direction:column;gap:8px}._product_41klp_10{display:flex;align-items:center;gap:8px;width:100%}._button_41klp_11{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:center;gap:6px;width:100%}._image_41klp_79{border-radius:8px;border:1px solid #f0f0f0;background-color:#fff;padding:4px}._info_41klp_86{border-radius:12px;display:flex;gap:4px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:#f8f8f8;padding:8px 12px}._name_41klp_97{flex:1 1 100%}._buttons_41klp_11{display:flex;align-items:center;gap:8px}._modal_41klp_107{position:fixed;background-color:#fff;right:-300px;z-index:10000;max-width:276px;width:100%;bottom:20px;padding:16px;border-radius:12px}._modal_41klp_107 ._top_41klp_21{display:flex;align-items:center;justify-content:space-between}._other_41klp_124{display:flex;flex-direction:column;gap:6px}._options_41klp_130{display:flex;flex-direction:column;gap:15px}._subtitle_1y5sw_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_1y5sw_8,._text_1y5sw_9,._productsBlock_1y5sw_10,._buttonsBlock_1y5sw_11{padding:10px 0 16px;display:flex;flex-direction:column;border-bottom:1px solid #f0f0f0}._buttonsBlock_1y5sw_11{position:relative}._top_1y5sw_22{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_1y5sw_29{display:flex;flex-direction:column;gap:6px}._typeTexts_1y5sw_35{display:flex;align-items:center;gap:8px}._block_1y5sw_41{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_1y5sw_52{border:1px solid #ff3f19}._products_1y5sw_10{width:100%;display:flex;flex-direction:column;gap:8px}._product_1y5sw_10{display:flex;align-items:center;gap:8px;width:100%}._button_1y5sw_11{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:center;gap:6px;width:100%}._image_1y5sw_80{border-radius:8px;border:1px solid #f0f0f0;background-color:#fff;padding:4px}._info_1y5sw_87{border-radius:12px;display:flex;gap:4px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:#f8f8f8;padding:8px 12px}._name_1y5sw_98{flex:1 1 100%}._buttons_1y5sw_11{display:flex;align-items:center;gap:8px}._modal_1y5sw_108{position:fixed;background-color:#fff;right:-300px;z-index:10000;max-width:276px;width:100%;bottom:20px;padding:16px;border-radius:12px}._modal_1y5sw_108 ._top_1y5sw_22{display:flex;align-items:center;justify-content:space-between}._other_1y5sw_125{display:flex;flex-direction:column;gap:6px}._options_1y5sw_131{display:flex;flex-direction:column;gap:15px}._wrapper_tn7gb_1{display:flex;flex-direction:column;gap:6px}._subtitle_tn7gb_7{color:#757575;font-size:14px;line-height:20px;font-weight:400}._content_tn7gb_14{display:flex;align-items:center;gap:10px;width:100%}._range_tn7gb_21{position:relative;flex:1}._track_tn7gb_26{position:absolute;width:95%;height:6px;background-color:#f0f0f0;border-radius:9999px;z-index:1}._progress_tn7gb_35{position:absolute;height:6px;width:100%;background-color:#ff3f19;transition:width .2s;border-radius:9999px;z-index:1}._dots_tn7gb_45{position:absolute;display:flex;justify-content:space-between;width:100%}._dot_tn7gb_45{width:14px;height:14px;border-radius:50%;transition:transform .2s;position:relative;top:-4px;left:0;z-index:1}._dot_tn7gb_45._active_tn7gb_62{background-color:#ff3f19;transform:scale(1)}._dot_tn7gb_45:not(._active_tn7gb_62){background-color:#e5e7eb;transform:scale(.9)}._dot_tn7gb_45:hover{transform:scale(1.1)}._input_tn7gb_74{position:absolute;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;cursor:pointer}._input_tn7gb_74::-webkit-slider-thumb,._input_tn7gb_74::-moz-range-thumb{-webkit-appearance:none!important;-moz-appearance:none;appearance:none;width:0;height:0}._countBlock_tn7gb_88{display:flex;align-items:center;gap:10px;padding:8px 12px;background:#f8f8f8;border-radius:12px}._count_tn7gb_88{font-size:16px;font-weight:400;line-height:24px}._controls_tn7gb_103{display:flex;flex-direction:column}._button_tn7gb_108{transition:background-color .2s}._button_tn7gb_108:hover{background-color:#f3f4f6}._button_tn7gb_108:disabled{opacity:.5}._subtitle_1nl8x_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_1nl8x_8,._text_1nl8x_9,._productsBlock_1nl8x_10{padding:10px 0 16px;display:flex;flex-direction:column;gap:12px;width:100%}._productsBlock_1nl8x_10{position:relative}._top_1nl8x_22{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_1nl8x_29{display:flex;flex-direction:column;gap:6px}._typeTexts_1nl8x_35{display:flex;align-items:center;gap:8px}._block_1nl8x_41{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_1nl8x_52{border:1px solid #ff3f19}._products_1nl8x_10{width:100%;display:flex;flex-direction:column;gap:8px}._product_1nl8x_10{display:flex;align-items:center;gap:8px;width:100%}._button_1nl8x_70{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:center;gap:6px;width:100%}._image_1nl8x_80{border-radius:8px;border:1px solid #f0f0f0;background-color:#fff;padding:4px}._info_1nl8x_87{border-radius:12px;display:flex;gap:4px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:#f8f8f8;padding:8px 12px}._name_1nl8x_98{flex:1 1 100%}._buttons_1nl8x_102{display:flex;align-items:center;gap:8px}._modal_1nl8x_108{position:fixed;background-color:#fff;border:1px solid #f0f0f0;right:-300px;top:0;z-index:10000;max-width:276px;width:100%;padding:16px;border-radius:12px}._modal_1nl8x_108 ._top_1nl8x_22{display:flex;align-items:center;justify-content:space-between}._link_1nl8x_126{display:flex;flex-direction:column;gap:8px}._modalOptions_1nl8x_132{display:flex;flex-direction:column;gap:10px}._options_163bj_1{border-radius:16px;border:1px solid #f0f0f0;width:100%;height:fit-content;padding:24px;display:flex;flex-direction:column;gap:20px}._price_163bj_12{display:flex;gap:4px;align-items:flex-start}._oldPrice_163bj_18{font-size:14px;font-weight:400;line-height:20px;text-decoration:line-through;color:#757575}._newPrice_163bj_26{font-size:20px;font-weight:700;line-height:24px;color:#252525}._meta_163bj_33{display:flex;flex-direction:column;gap:10px}._info_163bj_39{display:flex;align-items:center;justify-content:space-between;gap:10px}._infoRight_163bj_46{display:flex;align-items:center;gap:5px}._buttons_163bj_52{display:flex;flex-direction:column;gap:8px;width:100%}._variants_163bj_59{display:flex;flex-direction:column;gap:20px}._variant_163bj_59{display:flex;justify-content:space-between;align-items:center;border-radius:12px;padding:12px 16px;border:2px solid #e6e6e6}._stock_163bj_74{font-size:14px;font-weight:400;line-height:20px;color:#757575}._variantInfo_163bj_81{display:flex;flex-direction:column;gap:4px}._quantity_163bj_87{display:flex;align-items:stretch;gap:10px}._count_163bj_93{flex:1 1 auto;display:flex;justify-content:center;align-items:center;border:1px solid #e6e6e6}._button_163bj_52{background:#f8f8f8;border-radius:50%;padding:8px;display:flex;justify-content:center;align-items:center}._activeVariant_163bj_110{border:2px solid #ff3f19}._chargeTypes_163bj_114{display:flex;gap:5px;padding:4px;background-color:#f8f8f8}._charge_163bj_114{flex:1 1 auto;display:flex;justify-content:center;align-items:center;color:#757575;padding:8px;border-radius:12px}._chargeActive_163bj_131{background-color:#fff;color:#252525}._button_1jgdy_1{display:flex;align-items:center;padding:10px;background-color:#f8f8f8;border-radius:12px;color:#757575;cursor:pointer;position:relative}._login_1jgdy_12{padding:12px 16px}._signUp_1jgdy_16{background-color:#ff3f19;color:#fff}._buttons_1jgdy_21{display:flex;justify-content:flex-end;align-items:center;gap:16px}._modal_1jgdy_28{background-color:#fff;height:100vh;position:absolute;right:0;top:0;bottom:0;align-self:flex-end;justify-self:flex-end;border-top-left-radius:24px;border-bottom-left-radius:24px;width:100%;min-width:300px;max-width:450px}._info_1jgdy_44{display:flex;gap:8px;align-items:center}._top_1jgdy_50{padding:26px 24px;border-bottom:1px solid #f0f0f0;display:flex;align-items:center;justify-content:space-between;gap:8px}._title_1jgdy_59{font-size:20px;font-weight:700;line-height:24px}._clear_1jgdy_65{font-size:14px;font-weight:400;line-height:20px;color:#e6e6e6}._activeClear_1jgdy_72{color:#ff3f19}._count_1jgdy_76{background:#ff3f19;color:#fff;width:100%;height:100%;border-radius:50%;min-width:20px;min-height:20px;display:flex;align-items:center;justify-content:center}._cart_1jgdy_89{height:calc(100% - 76px);width:100%;display:flex;flex-direction:column}._empty_1jgdy_96{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;flex:1 1 auto;gap:4px;color:#757575}._empty_1jgdy_96 div{padding-bottom:16px}._empty_1jgdy_96 span:first-child{font-size:16px;font-weight:700;line-height:24px;text-align:center}._empty_1jgdy_96 span:last-child{font-size:16px;font-weight:400;line-height:24px;text-align:center}._product_1jgdy_122{padding:26px 24px;display:flex;align-items:center;justify-content:space-between}._products_1jgdy_129{display:flex;flex-direction:column;flex:1 1 auto;overflow-y:scroll}._image_1jgdy_136{width:56px;height:56px;border-radius:12px}._productInfo_1jgdy_142{display:flex;gap:12px;align-items:center}._content_1jgdy_148{display:flex;flex-direction:column;gap:4px}._name_1jgdy_154{font-size:16px;font-weight:600;line-height:24px}._price_1jgdy_160{font-size:16px;font-weight:400;line-height:24px}._productButtons_1jgdy_166{display:flex;align-items:center;gap:5px}._productButton_1jgdy_166{display:flex;justify-content:center;align-items:center;border-radius:12px;padding:8px;min-width:36px;min-height:36px;background-color:#f8f8f8}._productCount_1jgdy_183{display:flex;justify-content:center;align-items:center;border-radius:12px;padding:8px;font-size:16px;font-weight:400;line-height:24px;text-align:center;color:#252525;background-color:#f8f8f8}._bottom_1jgdy_197{display:flex;flex-direction:column;gap:10px;width:100%;padding:26px 24px}._subtotal_1jgdy_205{display:flex;align-items:center;justify-content:space-between}._block_1jgdy_211{display:flex;align-items:center;gap:10px}._shoppingCount_1jgdy_217{width:12px;height:12px;border-radius:50%;display:flex;align-items:center;justify-content:center;background-color:#ff3f19;color:#fff;font-size:10px;font-weight:500;line-height:12px;text-align:center;position:absolute;top:8px;right:8px}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import { m as F, n as Y, o as T, p as V, q as M, j as e, L as ye, r as Xe, s as Qe, t as Ke, I as C, w as Ye, c as A, x as J, y as Je, B as K, z as Ze, A as Ce, E as et, F as _e, G as Re, J as G, g as tt, D as nt, H as ot, u as st, d as at, h as ie, i as rt, a as H, b as se, K as Se, S as Ae, P as Pe, N as Ie, O as it, T as lt, R as ct, Q as dt, M as Le, l as ut, U as
|
|
2
|
+
import { m as F, n as Y, o as T, p as V, q as M, j as e, L as ye, r as Xe, s as Qe, t as Ke, I as C, w as Ye, c as A, x as J, y as Je, B as K, z as Ze, A as Ce, E as et, F as _e, G as Re, J as G, g as tt, D as nt, H as ot, u as st, d as at, h as ie, i as rt, a as H, b as se, K as Se, S as Ae, P as Pe, N as Ie, O as it, T as lt, R as ct, Q as dt, M as Le, l as ut, U as fe, V as Be, W as ht, e as pt, X as gt, Y as mt, Z as St, _ as Ct, $ as _t, a0 as ft, a1 as bt, a2 as xt, a3 as wt } from "./root-CL1RHy-a.js";
|
|
3
3
|
import _, { useMemo as Ee } from "react";
|
|
4
|
-
const O = (t) => t ? t.replace(/_/g, " ").split(" ").map((
|
|
4
|
+
const O = (t) => t ? t.replace(/_/g, " ").split(" ").map((o) => o.charAt(0).toUpperCase() + o.slice(1)).join(" and ") : "", kt = [
|
|
5
5
|
{
|
|
6
6
|
icon: "Desktop",
|
|
7
7
|
value: "desktop"
|
|
@@ -43,7 +43,7 @@ const O = (t) => t ? t.replace(/_/g, " ").split(" ").map((n) => n.charAt(0).toUp
|
|
|
43
43
|
"product",
|
|
44
44
|
"ticket",
|
|
45
45
|
"login"
|
|
46
|
-
],
|
|
46
|
+
], be = {
|
|
47
47
|
home: {
|
|
48
48
|
path: "/",
|
|
49
49
|
name: "home",
|
|
@@ -116,14 +116,14 @@ const O = (t) => t ? t.replace(/_/g, " ").split(" ").map((n) => n.charAt(0).toUp
|
|
|
116
116
|
}
|
|
117
117
|
}, Ea = ["Acorn", "Activity", "AddressBook", "AddressBookTabs", "AirTrafficControl", "Airplane", "AirplaneInFlight", "AirplaneLanding", "AirplaneTakeoff", "AirplaneTaxiing", "AirplaneTilt", "Airplay", "Alarm", "Alien", "AlignBottom", "AlignBottomSimple", "AlignCenterHorizontal", "AlignCenterHorizontalSimple", "AlignCenterVertical", "AlignCenterVerticalSimple", "AlignLeft", "AlignLeftSimple", "AlignRight", "AlignRightSimple", "AlignTop", "AlignTopSimple", "AmazonLogo", "Ambulance", "Anchor", "AnchorSimple", "AndroidLogo", "Angle", "AngularLogo", "Aperture", "AppStoreLogo", "AppWindow", "AppleLogo", "ApplePodcastsLogo", "ApproximateEquals", "Archive", "ArchiveBox", "ArchiveTray", "Armchair", "ArrowArcLeft", "ArrowArcRight", "ArrowBendDoubleUpLeft", "ArrowBendDoubleUpRight", "ArrowBendDownLeft", "ArrowBendDownRight", "ArrowBendLeftDown", "ArrowBendLeftUp", "ArrowBendRightDown", "ArrowBendRightUp", "ArrowBendUpLeft", "ArrowBendUpRight", "ArrowCircleDown", "ArrowCircleDownLeft", "ArrowCircleDownRight", "ArrowCircleLeft", "ArrowCircleRight", "ArrowCircleUp", "ArrowCircleUpLeft", "ArrowCircleUpRight", "ArrowClockwise", "ArrowCounterClockwise", "ArrowDown", "ArrowDownLeft", "ArrowDownRight", "ArrowElbowDownLeft", "ArrowElbowDownRight", "ArrowElbowLeft", "ArrowElbowLeftDown", "ArrowElbowLeftUp", "ArrowElbowRight", "ArrowElbowRightDown", "ArrowElbowRightUp", "ArrowElbowUpLeft", "ArrowElbowUpRight", "ArrowFatDown", "ArrowFatLeft", "ArrowFatLineDown", "ArrowFatLineLeft", "ArrowFatLineRight", "ArrowFatLineUp", "ArrowFatLinesDown", "ArrowFatLinesLeft", "ArrowFatLinesRight", "ArrowFatLinesUp", "ArrowFatRight", "ArrowFatUp", "ArrowLeft", "ArrowLineDown", "ArrowLineDownLeft", "ArrowLineDownRight", "ArrowLineLeft", "ArrowLineRight", "ArrowLineUp", "ArrowLineUpLeft", "ArrowLineUpRight", "ArrowRight", "ArrowSquareDown", "ArrowSquareDownLeft", "ArrowSquareDownRight", "ArrowSquareIn", "ArrowSquareLeft", "ArrowSquareOut", "ArrowSquareRight", "ArrowSquareUp", "ArrowSquareUpLeft", "ArrowSquareUpRight", "ArrowUDownLeft", "ArrowUDownRight", "ArrowULeftDown", "ArrowULeftUp", "ArrowURightDown", "ArrowURightUp", "ArrowUUpLeft", "ArrowUUpRight", "ArrowUp", "ArrowUpLeft", "ArrowUpRight", "ArrowsClockwise", "ArrowsCounterClockwise", "ArrowsDownUp", "ArrowsHorizontal", "ArrowsIn", "ArrowsInCardinal", "ArrowsInLineHorizontal", "ArrowsInLineVertical", "ArrowsInSimple", "ArrowsLeftRight", "ArrowsMerge", "ArrowsOut", "ArrowsOutCardinal", "ArrowsOutLineHorizontal", "ArrowsOutLineVertical", "ArrowsOutSimple", "ArrowsSplit", "ArrowsVertical", "Article", "ArticleMedium", "ArticleNyTimes", "Asclepius", "Asterisk", "AsteriskSimple", "At", "Atom", "Avocado", "Axe", "Baby", "BabyCarriage", "Backpack", "Backspace", "Bag", "BagSimple", "Balloon", "Bandaids", "Bank", "Barbell", "Barcode", "Barn", "Barricade", "Baseball", "BaseballCap", "BaseballHelmet", "Basket", "Basketball", "Bathtub", "BatteryCharging", "BatteryChargingVertical", "BatteryEmpty", "BatteryFull", "BatteryHigh", "BatteryLow", "BatteryMedium", "BatteryPlus", "BatteryPlusVertical", "BatteryVerticalEmpty", "BatteryVerticalFull", "BatteryVerticalHigh", "BatteryVerticalLow", "BatteryVerticalMedium", "BatteryWarning", "BatteryWarningVertical", "BeachBall", "Beanie", "Bed", "BeerBottle", "BeerStein", "BehanceLogo", "Bell", "BellRinging", "BellSimple", "BellSimpleRinging", "BellSimpleSlash", "BellSimpleZ", "BellSlash", "BellZ", "Belt", "BezierCurve", "Bicycle", "Binary", "Binoculars", "Biohazard", "Bird", "Blueprint", "Bluetooth", "BluetoothConnected", "BluetoothSlash", "BluetoothX", "Boat", "Bomb", "Bone", "Book", "BookBookmark", "BookOpen", "BookOpenText", "BookOpenUser", "Bookmark", "BookmarkSimple", "Bookmarks", "BookmarksSimple", "Books", "Boot", "Boules", "BoundingBox", "BowlFood", "BowlSteam", "BowlingBall", "BoxArrowDown", "BoxArrowUp", "BoxingGlove", "BracketsAngle", "BracketsCurly", "BracketsRound", "BracketsSquare", "Brain", "Brandy", "Bread", "Bridge", "Briefcase", "BriefcaseMetal", "Broadcast", "Broom", "Browser", "Browsers", "Bug", "BugBeetle", "BugDroid", "Building", "BuildingApartment", "BuildingOffice", "Buildings", "Bulldozer", "Bus", "Butterfly", "CableCar", "Cactus", "Caduceus", "Cake", "Calculator", "Calendar", "CalendarBlank", "CalendarCheck", "CalendarDot", "CalendarDots", "CalendarHeart", "CalendarMinus", "CalendarPlus", "CalendarSlash", "CalendarStar", "CalendarX", "CallBell", "Camera", "CameraPlus", "CameraRotate", "CameraSlash", "Campfire", "Car", "CarBattery", "CarProfile", "CarSimple", "Cardholder", "Cards", "CardsThree", "CaretCircleDoubleDown", "CaretCircleDoubleLeft", "CaretCircleDoubleRight", "CaretCircleDoubleUp", "CaretCircleDown", "CaretCircleLeft", "CaretCircleRight", "CaretCircleUp", "CaretCircleUpDown", "CaretDoubleDown", "CaretDoubleLeft", "CaretDoubleRight", "CaretDoubleUp", "CaretDown", "CaretLeft", "CaretLineDown", "CaretLineLeft", "CaretLineRight", "CaretLineUp", "CaretRight", "CaretUp", "CaretUpDown", "Carrot", "CashRegister", "CassetteTape", "CastleTurret", "Cat", "CellSignalFull", "CellSignalHigh", "CellSignalLow", "CellSignalMedium", "CellSignalNone", "CellSignalSlash", "CellSignalX", "CellTower", "Certificate", "Chair", "Chalkboard", "ChalkboardSimple", "ChalkboardTeacher", "Champagne", "ChargingStation", "ChartBar", "ChartBarHorizontal", "ChartDonut", "ChartLine", "ChartLineDown", "ChartLineUp", "ChartPie", "ChartPieSlice", "ChartPolar", "ChartScatter", "Chat", "ChatCentered", "ChatCenteredDots", "ChatCenteredSlash", "ChatCenteredText", "ChatCircle", "ChatCircleDots", "ChatCircleSlash", "ChatCircleText", "ChatDots", "ChatSlash", "ChatTeardrop", "ChatTeardropDots", "ChatTeardropSlash", "ChatTeardropText", "ChatText", "Chats", "ChatsCircle", "ChatsTeardrop", "Check", "CheckCircle", "CheckFat", "CheckSquare", "CheckSquareOffset", "Checkerboard", "Checks", "Cheers", "Cheese", "ChefHat", "Cherries", "Church", "Cigarette", "CigaretteSlash", "Circle", "CircleDashed", "CircleHalf", "CircleHalfTilt", "CircleNotch", "CircleWavy", "CircleWavyCheck", "CircleWavyQuestion", "CircleWavyWarning", "CirclesFour", "CirclesThree", "CirclesThreePlus", "Circuitry", "City", "Clipboard", "ClipboardText", "Clock", "ClockAfternoon", "ClockClockwise", "ClockCountdown", "ClockCounterClockwise", "ClockUser", "ClosedCaptioning", "Cloud", "CloudArrowDown", "CloudArrowUp", "CloudCheck", "CloudFog", "CloudLightning", "CloudMoon", "CloudRain", "CloudSlash", "CloudSnow", "CloudSun", "CloudWarning", "CloudX", "Clover", "Club", "CoatHanger", "CodaLogo", "Code", "CodeBlock", "CodeSimple", "CodepenLogo", "CodesandboxLogo", "Coffee", "CoffeeBean", "Coin", "CoinVertical", "Coins", "Columns", "ColumnsPlusLeft", "ColumnsPlusRight", "Command", "Compass", "CompassRose", "CompassTool", "ComputerTower", "Confetti", "ContactlessPayment", "Control", "Cookie", "CookingPot", "Copy", "CopySimple", "Copyleft", "Copyright", "CornersIn", "CornersOut", "Couch", "CourtBasketball", "Cow", "CowboyHat", "Cpu", "Crane", "CraneTower", "CreditCard", "Cricket", "Crop", "Cross", "Crosshair", "CrosshairSimple", "Crown", "CrownCross", "CrownSimple", "Cube", "CubeFocus", "CubeTransparent", "CurrencyBtc", "CurrencyCircleDollar", "CurrencyCny", "CurrencyDollar", "CurrencyDollarSimple", "CurrencyEth", "CurrencyEur", "CurrencyGbp", "CurrencyInr", "CurrencyJpy", "CurrencyKrw", "CurrencyKzt", "CurrencyNgn", "CurrencyRub", "Cursor", "CursorClick", "CursorText", "Cylinder", "Database", "Desk", "Desktop", "DesktopTower", "Detective", "DevToLogo", "DeviceMobile", "DeviceMobileCamera", "DeviceMobileSlash", "DeviceMobileSpeaker", "DeviceRotate", "DeviceTablet", "DeviceTabletCamera", "DeviceTabletSpeaker", "Devices", "Diamond", "DiamondsFour", "DiceFive", "DiceFour", "DiceOne", "DiceSix", "DiceThree", "DiceTwo", "Disc", "DiscoBall", "DiscordLogo", "Divide", "Dna", "Dog", "Door", "DoorOpen", "Dot", "DotOutline", "DotsNine", "DotsSix", "DotsSixVertical", "DotsThree", "DotsThreeCircle", "DotsThreeCircleVertical", "DotsThreeOutline", "DotsThreeOutlineVertical", "DotsThreeVertical", "Download", "DownloadSimple", "Dress", "Dresser", "DribbbleLogo", "Drone", "Drop", "DropHalf", "DropHalfBottom", "DropSimple", "DropSlash", "DropboxLogo", "Ear", "EarSlash", "Egg", "EggCrack", "Eject", "EjectSimple", "Elevator", "Empty", "Engine", "Envelope", "EnvelopeOpen", "EnvelopeSimple", "EnvelopeSimpleOpen", "Equalizer", "Equals", "Eraser", "EscalatorDown", "EscalatorUp", "Exam", "ExclamationMark", "Exclude", "ExcludeSquare", "Export", "Eye", "EyeClosed", "EyeSlash", "Eyedropper", "EyedropperSample", "Eyeglasses", "Eyes", "FaceMask", "FacebookLogo", "Factory", "Faders", "FadersHorizontal", "FalloutShelter", "Fan", "Farm", "FastForward", "FastForwardCircle", "Feather", "FediverseLogo", "FigmaLogo", "File", "FileArchive", "FileArrowDown", "FileArrowUp", "FileAudio", "FileC", "FileCSharp", "FileCloud", "FileCode", "FileCpp", "FileCss", "FileCsv", "FileDashed", "FileDoc", "FileDotted", "FileHtml", "FileImage", "FileIni", "FileJpg", "FileJs", "FileJsx", "FileLock", "FileMagnifyingGlass", "FileMd", "FileMinus", "FilePdf", "FilePlus", "FilePng", "FilePpt", "FilePy", "FileRs", "FileSearch", "FileSql", "FileSvg", "FileText", "FileTs", "FileTsx", "FileTxt", "FileVideo", "FileVue", "FileX", "FileXls", "FileZip", "Files", "FilmReel", "FilmScript", "FilmSlate", "FilmStrip", "Fingerprint", "FingerprintSimple", "FinnTheHuman", "Fire", "FireExtinguisher", "FireSimple", "FireTruck", "FirstAid", "FirstAidKit", "Fish", "FishSimple", "Flag", "FlagBanner", "FlagBannerFold", "FlagCheckered", "FlagPennant", "Flame", "Flashlight", "Flask", "FlipHorizontal", "FlipVertical", "FloppyDisk", "FloppyDiskBack", "FlowArrow", "Flower", "FlowerLotus", "FlowerTulip", "FlyingSaucer", "Folder", "FolderDashed", "FolderDotted", "FolderLock", "FolderMinus", "FolderNotch", "FolderNotchMinus", "FolderNotchOpen", "FolderNotchPlus", "FolderOpen", "FolderPlus", "FolderSimple", "FolderSimpleDashed", "FolderSimpleDotted", "FolderSimpleLock", "FolderSimpleMinus", "FolderSimplePlus", "FolderSimpleStar", "FolderSimpleUser", "FolderStar", "FolderUser", "Folders", "Football", "FootballHelmet", "Footprints", "ForkKnife", "FourK", "FrameCorners", "FramerLogo", "Function", "Funnel", "FunnelSimple", "FunnelSimpleX", "FunnelX", "GameController", "Garage", "GasCan", "GasPump", "Gauge", "Gavel", "Gear", "GearFine", "GearSix", "GenderFemale", "GenderIntersex", "GenderMale", "GenderNeuter", "GenderNonbinary", "GenderTransgender", "Ghost", "Gif", "Gift", "GitBranch", "GitCommit", "GitDiff", "GitFork", "GitMerge", "GitPullRequest", "GithubLogo", "GitlabLogo", "GitlabLogoSimple", "Globe", "GlobeHemisphereEast", "GlobeHemisphereWest", "GlobeSimple", "GlobeSimpleX", "GlobeStand", "GlobeX", "Goggles", "Golf", "GoodreadsLogo", "GoogleCardboardLogo", "GoogleChromeLogo", "GoogleDriveLogo", "GoogleLogo", "GooglePhotosLogo", "GooglePlayLogo", "GooglePodcastsLogo", "Gps", "GpsFix", "GpsSlash", "Gradient", "GraduationCap", "Grains", "GrainsSlash", "Graph", "GraphicsCard", "GreaterThan", "GreaterThanOrEqual", "GridFour", "GridNine", "Guitar", "HairDryer", "Hamburger", "Hammer", "Hand", "HandArrowDown", "HandArrowUp", "HandCoins", "HandDeposit", "HandEye", "HandFist", "HandGrabbing", "HandHeart", "HandPalm", "HandPeace", "HandPointing", "HandSoap", "HandSwipeLeft", "HandSwipeRight", "HandTap", "HandWaving", "HandWithdraw", "Handbag", "HandbagSimple", "HandsClapping", "HandsPraying", "Handshake", "HardDrive", "HardDrives", "HardHat", "Hash", "HashStraight", "HeadCircuit", "Headlights", "Headphones", "Headset", "Heart", "HeartBreak", "HeartHalf", "HeartStraight", "HeartStraightBreak", "Heartbeat", "Hexagon", "HighDefinition", "HighHeel", "Highlighter", "HighlighterCircle", "Hockey", "Hoodie", "Horse", "Hospital", "Hourglass", "HourglassHigh", "HourglassLow", "HourglassMedium", "HourglassSimple", "HourglassSimpleHigh", "HourglassSimpleLow", "HourglassSimpleMedium", "House", "HouseLine", "HouseSimple", "Hurricane", "IceCream", "IconBase", "IconContext", "IdentificationBadge", "IdentificationCard", "Image", "ImageBroken", "ImageSquare", "Images", "ImagesSquare", "Infinity", "Info", "InstagramLogo", "Intersect", "IntersectSquare", "IntersectThree", "Intersection", "Invoice", "Island", "Jar", "JarLabel", "Jeep", "Joystick", "Kanban", "Key", "KeyReturn", "Keyboard", "Keyhole", "Knife", "Ladder", "LadderSimple", "Lamp", "LampPendant", "Laptop", "Lasso", "LastfmLogo", "Layout", "Leaf", "Lectern", "Lego", "LegoSmiley", "Lemniscate", "LessThan", "LessThanOrEqual", "LetterCircleH", "LetterCircleP", "LetterCircleV", "Lifebuoy", "Lightbulb", "LightbulbFilament", "Lighthouse", "Lightning", "LightningA", "LightningSlash", "LineSegment", "LineSegments", "LineVertical", "Link", "LinkBreak", "LinkSimple", "LinkSimpleBreak", "LinkSimpleHorizontal", "LinkSimpleHorizontalBreak", "LinkedinLogo", "LinktreeLogo", "LinuxLogo", "List", "ListBullets", "ListChecks", "ListDashes", "ListHeart", "ListMagnifyingGlass", "ListNumbers", "ListPlus", "ListStar", "Lock", "LockKey", "LockKeyOpen", "LockLaminated", "LockLaminatedOpen", "LockOpen", "LockSimple", "LockSimpleOpen", "Lockers", "Log", "MagicWand", "Magnet", "MagnetStraight", "MagnifyingGlass", "MagnifyingGlassMinus", "MagnifyingGlassPlus", "Mailbox", "MapPin", "MapPinArea", "MapPinLine", "MapPinPlus", "MapPinSimple", "MapPinSimpleArea", "MapPinSimpleLine", "MapTrifold", "MarkdownLogo", "MarkerCircle", "Martini", "MaskHappy", "MaskSad", "MastodonLogo", "MathOperations", "MatrixLogo", "Medal", "MedalMilitary", "MediumLogo", "Megaphone", "MegaphoneSimple", "MemberOf", "Memory", "MessengerLogo", "MetaLogo", "Meteor", "Metronome", "Microphone", "MicrophoneSlash", "MicrophoneStage", "Microscope", "MicrosoftExcelLogo", "MicrosoftOutlookLogo", "MicrosoftPowerpointLogo", "MicrosoftTeamsLogo", "MicrosoftWordLogo", "Minus", "MinusCircle", "MinusSquare", "Money", "MoneyWavy", "Monitor", "MonitorArrowUp", "MonitorPlay", "Moon", "MoonStars", "Moped", "MopedFront", "Mosque", "Motorcycle", "Mountains", "Mouse", "MouseLeftClick", "MouseMiddleClick", "MouseRightClick", "MouseScroll", "MouseSimple", "MusicNote", "MusicNoteSimple", "MusicNotes", "MusicNotesMinus", "MusicNotesPlus", "MusicNotesSimple", "NavigationArrow", "Needle", "Network", "NetworkSlash", "NetworkX", "Newspaper", "NewspaperClipping", "NotEquals", "NotMemberOf", "NotSubsetOf", "NotSupersetOf", "Notches", "Note", "NoteBlank", "NotePencil", "Notebook", "Notepad", "Notification", "NotionLogo", "NuclearPlant", "NumberCircleEight", "NumberCircleFive", "NumberCircleFour", "NumberCircleNine", "NumberCircleOne", "NumberCircleSeven", "NumberCircleSix", "NumberCircleThree", "NumberCircleTwo", "NumberCircleZero", "NumberEight", "NumberFive", "NumberFour", "NumberNine", "NumberOne", "NumberSeven", "NumberSix", "NumberSquareEight", "NumberSquareFive", "NumberSquareFour", "NumberSquareNine", "NumberSquareOne", "NumberSquareSeven", "NumberSquareSix", "NumberSquareThree", "NumberSquareTwo", "NumberSquareZero", "NumberThree", "NumberTwo", "NumberZero", "Numpad", "Nut", "NyTimesLogo", "Octagon", "OfficeChair", "Onigiri", "OpenAiLogo", "Option", "Orange", "OrangeSlice", "Oven", "Package", "PaintBrush", "PaintBrushBroad", "PaintBrushHousehold", "PaintBucket", "PaintRoller", "Palette", "Panorama", "Pants", "PaperPlane", "PaperPlaneRight", "PaperPlaneTilt", "Paperclip", "PaperclipHorizontal", "Parachute", "Paragraph", "Parallelogram", "Park", "Password", "Path", "PatreonLogo", "Pause", "PauseCircle", "PawPrint", "PaypalLogo", "Peace", "Pen", "PenNib", "PenNibStraight", "Pencil", "PencilCircle", "PencilLine", "PencilRuler", "PencilSimple", "PencilSimpleLine", "PencilSimpleSlash", "PencilSlash", "Pentagon", "Pentagram", "Pepper", "Percent", "Person", "PersonArmsSpread", "PersonSimple", "PersonSimpleBike", "PersonSimpleCircle", "PersonSimpleHike", "PersonSimpleRun", "PersonSimpleSki", "PersonSimpleSnowboard", "PersonSimpleSwim", "PersonSimpleTaiChi", "PersonSimpleThrow", "PersonSimpleWalk", "Perspective", "Phone", "PhoneCall", "PhoneDisconnect", "PhoneIncoming", "PhoneList", "PhoneOutgoing", "PhonePause", "PhonePlus", "PhoneSlash", "PhoneTransfer", "PhoneX", "PhosphorLogo", "Pi", "PianoKeys", "PicnicTable", "PictureInPicture", "PiggyBank", "Pill", "PingPong", "PintGlass", "PinterestLogo", "Pinwheel", "Pipe", "PipeWrench", "PixLogo", "Pizza", "Placeholder", "Planet", "Plant", "Play", "PlayCircle", "PlayPause", "Playlist", "Plug", "PlugCharging", "Plugs", "PlugsConnected", "Plus", "PlusCircle", "PlusMinus", "PlusSquare", "PokerChip", "PoliceCar", "Polygon", "Popcorn", "Popsicle", "PottedPlant", "Power", "Prescription", "Presentation", "PresentationChart", "Printer", "Prohibit", "ProhibitInset", "ProjectorScreen", "ProjectorScreenChart", "Pulse", "PushPin", "PushPinSimple", "PushPinSimpleSlash", "PushPinSlash", "PuzzlePiece", "QrCode", "Question", "QuestionMark", "Queue", "Quotes", "Rabbit", "Racquet", "Radical", "Radio", "RadioButton", "Radioactive", "Rainbow", "RainbowCloud", "Ranking", "ReadCvLogo", "Receipt", "ReceiptX", "Record", "Rectangle", "RectangleDashed", "Recycle", "RedditLogo", "Repeat", "RepeatOnce", "ReplitLogo", "Resize", "Rewind", "RewindCircle", "RoadHorizon", "Robot", "Rocket", "RocketLaunch", "Rows", "RowsPlusBottom", "RowsPlusTop", "Rss", "RssSimple", "Rug", "Ruler", "SSR", "Sailboat", "Scales", "Scan", "ScanSmiley", "Scissors", "Scooter", "Screencast", "Screwdriver", "Scribble", "ScribbleLoop", "Scroll", "Seal", "SealCheck", "SealPercent", "SealQuestion", "SealWarning", "Seat", "Seatbelt", "SecurityCamera", "Selection", "SelectionAll", "SelectionBackground", "SelectionForeground", "SelectionInverse", "SelectionPlus", "SelectionSlash", "Shapes", "Share", "ShareFat", "ShareNetwork", "Shield", "ShieldCheck", "ShieldCheckered", "ShieldChevron", "ShieldPlus", "ShieldSlash", "ShieldStar", "ShieldWarning", "ShippingContainer", "ShirtFolded", "ShootingStar", "ShoppingBag", "ShoppingBagOpen", "ShoppingCart", "ShoppingCartSimple", "Shovel", "Shower", "Shrimp", "Shuffle", "ShuffleAngular", "ShuffleSimple", "Sidebar", "SidebarSimple", "Sigma", "SignIn", "SignOut", "Signature", "Signpost", "SimCard", "Siren", "SketchLogo", "SkipBack", "SkipBackCircle", "SkipForward", "SkipForwardCircle", "Skull", "SkypeLogo", "SlackLogo", "Sliders", "SlidersHorizontal", "Slideshow", "Smiley", "SmileyAngry", "SmileyBlank", "SmileyMeh", "SmileyMelting", "SmileyNervous", "SmileySad", "SmileySticker", "SmileyWink", "SmileyXEyes", "SnapchatLogo", "Sneaker", "SneakerMove", "Snowflake", "SoccerBall", "Sock", "SolarPanel", "SolarRoof", "SortAscending", "SortDescending", "SoundcloudLogo", "Spade", "Sparkle", "SpeakerHifi", "SpeakerHigh", "SpeakerLow", "SpeakerNone", "SpeakerSimpleHigh", "SpeakerSimpleLow", "SpeakerSimpleNone", "SpeakerSimpleSlash", "SpeakerSimpleX", "SpeakerSlash", "SpeakerX", "Speedometer", "Sphere", "Spinner", "SpinnerBall", "SpinnerGap", "Spiral", "SplitHorizontal", "SplitVertical", "SpotifyLogo", "SprayBottle", "Square", "SquareHalf", "SquareHalfBottom", "SquareLogo", "SquareSplitHorizontal", "SquareSplitVertical", "SquaresFour", "Stack", "StackMinus", "StackOverflowLogo", "StackPlus", "StackSimple", "Stairs", "Stamp", "StandardDefinition", "Star", "StarAndCrescent", "StarFour", "StarHalf", "StarOfDavid", "SteamLogo", "SteeringWheel", "Steps", "Stethoscope", "Sticker", "Stool", "Stop", "StopCircle", "Storefront", "Strategy", "StripeLogo", "Student", "SubsetOf", "SubsetProperOf", "Subtitles", "SubtitlesSlash", "Subtract", "SubtractSquare", "Subway", "Suitcase", "SuitcaseRolling", "SuitcaseSimple", "Sun", "SunDim", "SunHorizon", "Sunglasses", "SupersetOf", "SupersetProperOf", "Swap", "Swatches", "SwimmingPool", "Sword", "Synagogue", "Syringe", "TShirt", "Table", "Tabs", "Tag", "TagChevron", "TagSimple", "Target", "Taxi", "TeaBag", "TelegramLogo", "Television", "TelevisionSimple", "TennisBall", "Tent", "Terminal", "TerminalWindow", "TestTube", "TextAUnderline", "TextAa", "TextAlignCenter", "TextAlignJustify", "TextAlignLeft", "TextAlignRight", "TextB", "TextBolder", "TextColumns", "TextH", "TextHFive", "TextHFour", "TextHOne", "TextHSix", "TextHThree", "TextHTwo", "TextIndent", "TextItalic", "TextOutdent", "TextStrikethrough", "TextSubscript", "TextSuperscript", "TextT", "TextTSlash", "TextUnderline", "Textbox", "Thermometer", "ThermometerCold", "ThermometerHot", "ThermometerSimple", "ThreadsLogo", "ThreeD", "ThumbsDown", "ThumbsUp", "Ticket", "TidalLogo", "TiktokLogo", "Tilde", "Timer", "TipJar", "Tipi", "Tire", "ToggleLeft", "ToggleRight", "Toilet", "ToiletPaper", "Toolbox", "Tooth", "Tornado", "Tote", "ToteSimple", "Towel", "Tractor", "Trademark", "TrademarkRegistered", "TrafficCone", "TrafficSign", "TrafficSignal", "Train", "TrainRegional", "TrainSimple", "Tram", "Translate", "Trash", "TrashSimple", "Tray", "TrayArrowDown", "TrayArrowUp", "TreasureChest", "Tree", "TreeEvergreen", "TreePalm", "TreeStructure", "TreeView", "TrendDown", "TrendUp", "Triangle", "TriangleDashed", "Trolley", "TrolleySuitcase", "Trophy", "Truck", "TruckTrailer", "TumblrLogo", "TwitchLogo", "TwitterLogo", "Umbrella", "UmbrellaSimple", "Union", "Unite", "UniteSquare", "Upload", "UploadSimple", "Usb", "User", "UserCheck", "UserCircle", "UserCircleCheck", "UserCircleDashed", "UserCircleGear", "UserCircleMinus", "UserCirclePlus", "UserFocus", "UserGear", "UserList", "UserMinus", "UserPlus", "UserRectangle", "UserSound", "UserSquare", "UserSwitch", "Users", "UsersFour", "UsersThree", "Van", "Vault", "VectorThree", "VectorTwo", "Vibrate", "Video", "VideoCamera", "VideoCameraSlash", "VideoConference", "Vignette", "VinylRecord", "VirtualReality", "Virus", "Visor", "Voicemail", "Volleyball", "Wall", "Wallet", "Warehouse", "Warning", "WarningCircle", "WarningDiamond", "WarningOctagon", "WashingMachine", "Watch", "WaveSawtooth", "WaveSine", "WaveSquare", "WaveTriangle", "Waveform", "WaveformSlash", "Waves", "Webcam", "WebcamSlash", "WebhooksLogo", "WechatLogo", "WhatsappLogo", "Wheelchair", "WheelchairMotion", "WifiHigh", "WifiLow", "WifiMedium", "WifiNone", "WifiSlash", "WifiX", "Wind", "Windmill", "WindowsLogo", "Wine", "Wrench", "X", "XCircle", "XLogo", "XSquare", "Yarn", "YinYang", "YoutubeLogo"];
|
|
118
118
|
function jt() {
|
|
119
|
-
const t = localStorage.getItem("sellerAccessToken"),
|
|
120
|
-
if (t &&
|
|
121
|
-
return Te(), !!(t &&
|
|
119
|
+
const t = localStorage.getItem("sellerAccessToken"), o = localStorage.getItem("shopId");
|
|
120
|
+
if (t && o)
|
|
121
|
+
return Te(), !!(t && o);
|
|
122
122
|
{
|
|
123
|
-
let
|
|
124
|
-
const s =
|
|
125
|
-
if (Te(), s && i)
|
|
126
|
-
return localStorage.setItem("shopId", s), localStorage.setItem("sellerAccessToken", i), !!(i && s);
|
|
123
|
+
let n = new URLSearchParams(document.location.search);
|
|
124
|
+
const s = n.get("shopId"), i = n.get("sellerAccessToken"), r = n.get("draftId");
|
|
125
|
+
if (Te(), s && i && r)
|
|
126
|
+
return localStorage.setItem("shopId", s), localStorage.setItem("sellerAccessToken", i), localStorage.setItem("draftId", r), !!(i && s && r);
|
|
127
127
|
}
|
|
128
128
|
return !1;
|
|
129
129
|
}
|
|
@@ -131,25 +131,25 @@ const yt = "_wrapper_dbban_1", Bt = "_main_dbban_8", At = "_loading_dbban_12", x
|
|
|
131
131
|
wrapper: yt,
|
|
132
132
|
main: Bt,
|
|
133
133
|
loading: At
|
|
134
|
-
}, Oe = ({ render: t, block:
|
|
135
|
-
const { footer: t } = F(), { settings:
|
|
136
|
-
return t == null ? void 0 : t.renderBlock(
|
|
134
|
+
}, Oe = ({ render: t, block: o }) => t(o), Ue = () => {
|
|
135
|
+
const { footer: t } = F(), { settings: o } = Y(), { pageContext: n } = T();
|
|
136
|
+
return t == null ? void 0 : t.renderBlock(o, n);
|
|
137
137
|
}, Ge = () => {
|
|
138
|
-
const { header: t } = F(), { settings:
|
|
139
|
-
return t == null ? void 0 : t.renderBlock(
|
|
138
|
+
const { header: t } = F(), { settings: o } = Y(), { pageContext: n } = T();
|
|
139
|
+
return t == null ? void 0 : t.renderBlock(o, n);
|
|
140
140
|
}, Pt = ({ pagePath: t }) => {
|
|
141
|
-
const { sourceBlocks:
|
|
141
|
+
const { sourceBlocks: o } = V(), { pageContext: n } = T(), [s, i] = _.useState(!0), [r, a] = _.useState(null), { setThemeSettings: l } = M(), [d, S] = _.useState();
|
|
142
142
|
_.useEffect(() => {
|
|
143
143
|
i(!0), (async () => {
|
|
144
144
|
const { layout: u } = await Xe(encodeURIComponent(t));
|
|
145
145
|
a(u);
|
|
146
|
-
const { settings: c, theme:
|
|
147
|
-
l(
|
|
146
|
+
const { settings: c, theme: f } = await Qe();
|
|
147
|
+
l(f), S(c), i(!1);
|
|
148
148
|
})();
|
|
149
149
|
}, []);
|
|
150
150
|
const h = (g) => {
|
|
151
|
-
const u = new
|
|
152
|
-
return Object.assign(u, g.value), u.renderBlock(d,
|
|
151
|
+
const u = new o[g.name]();
|
|
152
|
+
return Object.assign(u, g.value), u.renderBlock(d, n);
|
|
153
153
|
};
|
|
154
154
|
return /* @__PURE__ */ e.jsxs("div", { className: xe.wrapper, children: [
|
|
155
155
|
/* @__PURE__ */ e.jsx(Ge, {}),
|
|
@@ -197,25 +197,25 @@ const Te = () => {
|
|
|
197
197
|
device: $t,
|
|
198
198
|
active: Ht
|
|
199
199
|
}, Rt = () => {
|
|
200
|
-
const { currentDevice: t, setCurrentDevice:
|
|
201
|
-
return /* @__PURE__ */ e.jsx("div", { className: we.devices, children: kt.map((
|
|
200
|
+
const { currentDevice: t, setCurrentDevice: o } = Ye();
|
|
201
|
+
return /* @__PURE__ */ e.jsx("div", { className: we.devices, children: kt.map((n) => /* @__PURE__ */ e.jsx(
|
|
202
202
|
"div",
|
|
203
203
|
{
|
|
204
204
|
className: A(we.device, {
|
|
205
|
-
[we.active]: t ===
|
|
205
|
+
[we.active]: t === n
|
|
206
206
|
}),
|
|
207
|
-
onClick: () => n
|
|
207
|
+
onClick: () => o(n),
|
|
208
208
|
children: /* @__PURE__ */ e.jsx(
|
|
209
209
|
C,
|
|
210
210
|
{
|
|
211
|
-
name:
|
|
212
|
-
fill: t ===
|
|
211
|
+
name: n.icon,
|
|
212
|
+
fill: t === n ? "#252525" : "#757575",
|
|
213
213
|
width: 20,
|
|
214
214
|
height: 20
|
|
215
215
|
}
|
|
216
216
|
)
|
|
217
217
|
},
|
|
218
|
-
|
|
218
|
+
n.value
|
|
219
219
|
)) });
|
|
220
220
|
}, It = "_header_zvaam_1", Et = "_left_zvaam_12", Ot = "_right_zvaam_13", ue = {
|
|
221
221
|
header: It,
|
|
@@ -225,14 +225,14 @@ const Te = () => {
|
|
|
225
225
|
preview: Ut,
|
|
226
226
|
active: Gt
|
|
227
227
|
}, qt = () => {
|
|
228
|
-
const { onPreview: t, setOnPreview:
|
|
228
|
+
const { onPreview: t, setOnPreview: o } = J();
|
|
229
229
|
return /* @__PURE__ */ e.jsxs(
|
|
230
230
|
"div",
|
|
231
231
|
{
|
|
232
232
|
className: A(ke.preview, {
|
|
233
233
|
[ke.active]: t
|
|
234
234
|
}),
|
|
235
|
-
onClick: () =>
|
|
235
|
+
onClick: () => o(!t),
|
|
236
236
|
children: [
|
|
237
237
|
/* @__PURE__ */ e.jsx(
|
|
238
238
|
C,
|
|
@@ -283,8 +283,8 @@ const Te = () => {
|
|
|
283
283
|
}, sn = () => {
|
|
284
284
|
const {
|
|
285
285
|
currentPage: t,
|
|
286
|
-
setCurrentPage:
|
|
287
|
-
setIsOpenModal:
|
|
286
|
+
setCurrentPage: o,
|
|
287
|
+
setIsOpenModal: n,
|
|
288
288
|
pages: s,
|
|
289
289
|
setIsEdit: i,
|
|
290
290
|
setEditedPage: r,
|
|
@@ -346,7 +346,7 @@ const Te = () => {
|
|
|
346
346
|
onMouseEnter: () => g(u),
|
|
347
347
|
onMouseLeave: () => g(""),
|
|
348
348
|
onClick: () => {
|
|
349
|
-
g(""), i(!1),
|
|
349
|
+
g(""), i(!1), o(u), d(!1);
|
|
350
350
|
},
|
|
351
351
|
children: [
|
|
352
352
|
/* @__PURE__ */ e.jsx(
|
|
@@ -363,8 +363,8 @@ const Te = () => {
|
|
|
363
363
|
{
|
|
364
364
|
name: "Gear",
|
|
365
365
|
fill: "#757575",
|
|
366
|
-
onClick: (
|
|
367
|
-
|
|
366
|
+
onClick: (f) => {
|
|
367
|
+
f.stopPropagation(), i(!0), r(u), n(!0);
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
370
|
),
|
|
@@ -373,8 +373,8 @@ const Te = () => {
|
|
|
373
373
|
{
|
|
374
374
|
name: "Trash",
|
|
375
375
|
fill: "#C12A2A",
|
|
376
|
-
onClick: (
|
|
377
|
-
s[t].path === c.name &&
|
|
376
|
+
onClick: (f) => {
|
|
377
|
+
s[t].path === c.name && o("/"), f.stopPropagation(), a(u), S(c.name), Je(c.path);
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
380
|
)
|
|
@@ -397,7 +397,7 @@ const Te = () => {
|
|
|
397
397
|
{
|
|
398
398
|
className: q.button,
|
|
399
399
|
onClick: (u) => {
|
|
400
|
-
u.stopPropagation(),
|
|
400
|
+
u.stopPropagation(), n(!0);
|
|
401
401
|
},
|
|
402
402
|
size: "l",
|
|
403
403
|
children: [
|
|
@@ -419,11 +419,11 @@ const Te = () => {
|
|
|
419
419
|
}, an = "_zoom_a77cn_1", rn = {
|
|
420
420
|
zoom: an
|
|
421
421
|
}, ln = () => {
|
|
422
|
-
const [t,
|
|
423
|
-
|
|
422
|
+
const [t, o] = _.useState(), n = () => {
|
|
423
|
+
o(Number(Math.round(window.devicePixelRatio * 50).toFixed(0)));
|
|
424
424
|
};
|
|
425
|
-
return _.useEffect(() => (
|
|
426
|
-
window.removeEventListener("resize",
|
|
425
|
+
return _.useEffect(() => (n(), window.addEventListener("resize", n), () => {
|
|
426
|
+
window.removeEventListener("resize", n);
|
|
427
427
|
}), []), /* @__PURE__ */ e.jsxs("div", { className: rn.zoom, children: [
|
|
428
428
|
/* @__PURE__ */ e.jsx(
|
|
429
429
|
C,
|
|
@@ -455,22 +455,22 @@ const Te = () => {
|
|
|
455
455
|
),
|
|
456
456
|
/* @__PURE__ */ e.jsx("div", { children: "Current Theme" })
|
|
457
457
|
] }), pn = () => {
|
|
458
|
-
const { themeSettings: t } = M(), { settings:
|
|
459
|
-
function S(
|
|
458
|
+
const { themeSettings: t } = M(), { settings: o } = Y(), { isOpenSelectModal: n } = T(), [s, i] = _.useState(null), [r, a] = _.useState(!1), { pages: l } = T(), { blocks: d } = F();
|
|
459
|
+
function S(f, k) {
|
|
460
460
|
return k.map(
|
|
461
|
-
(
|
|
462
|
-
).flat().map((
|
|
461
|
+
(b) => Object.values(b.value.blockSettings).filter((N) => N.type === f).map((N) => N.value).flat()
|
|
462
|
+
).flat().map((b) => b.listingId);
|
|
463
463
|
}
|
|
464
|
-
function h(
|
|
465
|
-
return S(
|
|
464
|
+
function h(f, k) {
|
|
465
|
+
return S(f, k).some((b) => b);
|
|
466
466
|
}
|
|
467
|
-
function g(
|
|
468
|
-
const w = S(
|
|
467
|
+
function g(f, k) {
|
|
468
|
+
const w = S(f, k);
|
|
469
469
|
return Array.isArray(w) && w.length > 0 ? Math.max(...w) : 0;
|
|
470
470
|
}
|
|
471
|
-
function u(
|
|
471
|
+
function u(f) {
|
|
472
472
|
if (l) {
|
|
473
|
-
const k = Object.keys(l).find((w) => l[w].name ===
|
|
473
|
+
const k = Object.keys(l).find((w) => l[w].name === f);
|
|
474
474
|
if (k) return l[k];
|
|
475
475
|
}
|
|
476
476
|
return null;
|
|
@@ -480,10 +480,10 @@ const Te = () => {
|
|
|
480
480
|
s && clearTimeout(s);
|
|
481
481
|
else {
|
|
482
482
|
const k = Object.keys(d).map((w) => {
|
|
483
|
-
const
|
|
483
|
+
const b = u(w);
|
|
484
484
|
return {
|
|
485
|
-
name:
|
|
486
|
-
path: (
|
|
485
|
+
name: b ? b.name : w,
|
|
486
|
+
path: (b == null ? void 0 : b.path) || w,
|
|
487
487
|
layout: {
|
|
488
488
|
...d[w]
|
|
489
489
|
},
|
|
@@ -494,29 +494,29 @@ const Te = () => {
|
|
|
494
494
|
neededFaqs: h("Faqs", Object.values(d[w])),
|
|
495
495
|
neededReviewCount: g("ReviewCount", Object.values(d[w])),
|
|
496
496
|
seo: {
|
|
497
|
-
pageTitle:
|
|
498
|
-
pageDescription:
|
|
497
|
+
pageTitle: b && b.seo && b.seo.title ? b.seo.title : "",
|
|
498
|
+
pageDescription: b && b.seo && b.seo.description ? b.seo.description : ""
|
|
499
499
|
}
|
|
500
500
|
};
|
|
501
501
|
});
|
|
502
502
|
Ze("POST", "save", {
|
|
503
503
|
themeSettings: t,
|
|
504
|
-
settings:
|
|
504
|
+
settings: o,
|
|
505
505
|
updatedPages: k
|
|
506
506
|
});
|
|
507
507
|
}
|
|
508
508
|
a(!0);
|
|
509
|
-
const
|
|
509
|
+
const f = setTimeout(() => {
|
|
510
510
|
a(!1);
|
|
511
511
|
}, 2e3);
|
|
512
|
-
i(
|
|
512
|
+
i(f);
|
|
513
513
|
};
|
|
514
514
|
return /* @__PURE__ */ e.jsxs(
|
|
515
515
|
"div",
|
|
516
516
|
{
|
|
517
517
|
className: ue.header,
|
|
518
518
|
style: {
|
|
519
|
-
zIndex:
|
|
519
|
+
zIndex: n ? 5e4 : 50
|
|
520
520
|
},
|
|
521
521
|
children: [
|
|
522
522
|
/* @__PURE__ */ e.jsxs("div", { className: ue.left, children: [
|
|
@@ -545,15 +545,15 @@ const Te = () => {
|
|
|
545
545
|
}
|
|
546
546
|
),
|
|
547
547
|
/* @__PURE__ */ e.jsx("span", { className: Fe.text, children: "Exit" })
|
|
548
|
-
] }), Cn = "_navbar_2ac63_1", _n = "_main_2ac63_6",
|
|
548
|
+
] }), Cn = "_navbar_2ac63_1", _n = "_main_2ac63_6", fn = "_block_2ac63_13", bn = "_active_2ac63_30", he = {
|
|
549
549
|
navbar: Cn,
|
|
550
550
|
main: _n,
|
|
551
|
-
block:
|
|
552
|
-
active:
|
|
551
|
+
block: fn,
|
|
552
|
+
active: bn
|
|
553
553
|
}, xn = () => {
|
|
554
|
-
const { activeBlock: t, setActiveBlock:
|
|
554
|
+
const { activeBlock: t, setActiveBlock: o } = Ce(), { setActiveBlock: n } = V(), { setCurrentBlock: s } = F(), { setActiveBlock: i } = M();
|
|
555
555
|
function r(a) {
|
|
556
|
-
|
|
556
|
+
n(null), o(a), s(null), i(null);
|
|
557
557
|
}
|
|
558
558
|
return /* @__PURE__ */ e.jsxs("div", { className: he.navbar, children: [
|
|
559
559
|
/* @__PURE__ */ e.jsx(Sn, {}),
|
|
@@ -656,7 +656,7 @@ const Te = () => {
|
|
|
656
656
|
border: to,
|
|
657
657
|
deleteButton: no
|
|
658
658
|
}, oo = () => {
|
|
659
|
-
const { activeBlock: t } = J(), { blocks:
|
|
659
|
+
const { activeBlock: t } = J(), { blocks: o, removeBlock: n, moveBlock: s, duplicateBlock: i } = F(), { currentPage: r, pages: a } = T(), l = a && a[r] ? Object.keys(o[a[r].path]) : [], d = l.indexOf(t), S = () => {
|
|
660
660
|
d > 0 && a && s(a[r].path, d, d - 1);
|
|
661
661
|
}, h = () => {
|
|
662
662
|
d < l.length - 1 && a && s(a[r].path, d, d + 1);
|
|
@@ -696,7 +696,7 @@ const Te = () => {
|
|
|
696
696
|
"button",
|
|
697
697
|
{
|
|
698
698
|
onClick: () => {
|
|
699
|
-
a &&
|
|
699
|
+
a && n(a[r].path, t);
|
|
700
700
|
},
|
|
701
701
|
className: A($.button, $.deleteButton),
|
|
702
702
|
children: /* @__PURE__ */ e.jsx(
|
|
@@ -710,10 +710,10 @@ const Te = () => {
|
|
|
710
710
|
)
|
|
711
711
|
] }) });
|
|
712
712
|
}, so = _.memo(() => {
|
|
713
|
-
const { setActiveBlock: t, activeBlock:
|
|
713
|
+
const { setActiveBlock: t, activeBlock: o } = J(), { blocks: n, sourceBlocks: s } = V(), { blocks: i } = F(), { settings: r } = Y(), { currentPage: a, pages: l, setIsOpenSelectModal: d, pageContext: S } = T(), h = _.useRef(o);
|
|
714
714
|
_.useEffect(() => {
|
|
715
|
-
h.current =
|
|
716
|
-
}, [
|
|
715
|
+
h.current = o;
|
|
716
|
+
}, [o]), _.useEffect(() => {
|
|
717
717
|
const c = () => {
|
|
718
718
|
h.current && t(null);
|
|
719
719
|
};
|
|
@@ -722,8 +722,8 @@ const Te = () => {
|
|
|
722
722
|
};
|
|
723
723
|
}, []);
|
|
724
724
|
const g = (c) => {
|
|
725
|
-
const
|
|
726
|
-
return Object.assign(
|
|
725
|
+
const f = new n[c.name]();
|
|
726
|
+
return Object.assign(f, c.value), f.renderBlock(r, S);
|
|
727
727
|
};
|
|
728
728
|
function u(c) {
|
|
729
729
|
if (s)
|
|
@@ -743,12 +743,12 @@ const Te = () => {
|
|
|
743
743
|
{
|
|
744
744
|
onClick: () => t(c),
|
|
745
745
|
className: A(ae.block, {
|
|
746
|
-
[ae.active]:
|
|
746
|
+
[ae.active]: o === c
|
|
747
747
|
}),
|
|
748
748
|
children: [
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
749
|
+
o === c && /* @__PURE__ */ e.jsx("div", { className: ae.name, children: u(i[l[a].path][c].name) }),
|
|
750
|
+
o === c && /* @__PURE__ */ e.jsx(oo, {}),
|
|
751
|
+
n && /* @__PURE__ */ e.jsx(
|
|
752
752
|
Oe,
|
|
753
753
|
{
|
|
754
754
|
render: g,
|
|
@@ -787,17 +787,17 @@ const Te = () => {
|
|
|
787
787
|
}
|
|
788
788
|
)
|
|
789
789
|
] }), qe = () => {
|
|
790
|
-
const { blocks: t, sourceBlocks:
|
|
790
|
+
const { blocks: t, sourceBlocks: o, setActiveBlock: n } = V(), { hideModal: s } = _e();
|
|
791
791
|
function i(l) {
|
|
792
|
-
|
|
792
|
+
n(l), s();
|
|
793
793
|
}
|
|
794
794
|
function r(l) {
|
|
795
|
-
if (
|
|
796
|
-
return new
|
|
795
|
+
if (o)
|
|
796
|
+
return new o[l]().blockSettings.displayName;
|
|
797
797
|
}
|
|
798
798
|
function a(l) {
|
|
799
|
-
if (
|
|
800
|
-
return new
|
|
799
|
+
if (o)
|
|
800
|
+
return new o[l]().blockSettings.isAddable;
|
|
801
801
|
}
|
|
802
802
|
return /* @__PURE__ */ e.jsxs("div", { className: ge.add, children: [
|
|
803
803
|
/* @__PURE__ */ e.jsx(uo, {}),
|
|
@@ -820,8 +820,8 @@ const Te = () => {
|
|
|
820
820
|
}, ho = () => {
|
|
821
821
|
const {
|
|
822
822
|
modalPosition: t,
|
|
823
|
-
color:
|
|
824
|
-
initialColor:
|
|
823
|
+
color: o,
|
|
824
|
+
initialColor: n,
|
|
825
825
|
setShowModal: s,
|
|
826
826
|
hue: i,
|
|
827
827
|
saturation: r,
|
|
@@ -833,7 +833,7 @@ const Te = () => {
|
|
|
833
833
|
setBrightness: g,
|
|
834
834
|
colorChange: u,
|
|
835
835
|
setColor: c,
|
|
836
|
-
update:
|
|
836
|
+
update: f
|
|
837
837
|
} = Re(), k = (m) => {
|
|
838
838
|
const { offsetX: v, offsetY: y } = m.nativeEvent;
|
|
839
839
|
d(!0), N(v, y, m.currentTarget);
|
|
@@ -842,7 +842,7 @@ const Te = () => {
|
|
|
842
842
|
const v = document.querySelector(`.${G.colorMap}`), { left: y, top: x } = v.getBoundingClientRect(), p = m.clientX - y, j = m.clientY - x;
|
|
843
843
|
N(p, j, v);
|
|
844
844
|
}
|
|
845
|
-
},
|
|
845
|
+
}, b = () => {
|
|
846
846
|
d(!1);
|
|
847
847
|
}, N = (m, v, y) => {
|
|
848
848
|
const { width: x, height: p } = y.getBoundingClientRect(), j = Math.max(0, Math.min(m / x * 100, 100)), ce = Math.max(0, Math.min(100 - v / p * 100, 100));
|
|
@@ -862,16 +862,16 @@ const Te = () => {
|
|
|
862
862
|
return L(x, p, j);
|
|
863
863
|
};
|
|
864
864
|
_.useEffect(() => {
|
|
865
|
-
const m = (y) => w(y), v = () =>
|
|
865
|
+
const m = (y) => w(y), v = () => b();
|
|
866
866
|
return l ? (document.addEventListener("mousemove", m), document.addEventListener("mouseup", v)) : (document.removeEventListener("mousemove", m), document.removeEventListener("mouseup", v)), () => {
|
|
867
867
|
document.removeEventListener("mousemove", m), document.removeEventListener("mouseup", v);
|
|
868
868
|
};
|
|
869
869
|
}, [l]);
|
|
870
870
|
function D() {
|
|
871
|
-
|
|
871
|
+
f(o), s(!1);
|
|
872
872
|
}
|
|
873
873
|
function U() {
|
|
874
|
-
s(!1), u(
|
|
874
|
+
s(!1), u(n);
|
|
875
875
|
}
|
|
876
876
|
return /* @__PURE__ */ e.jsxs(
|
|
877
877
|
"div",
|
|
@@ -946,19 +946,19 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
946
946
|
}, po = () => {
|
|
947
947
|
const { onPreview: t } = J(), {
|
|
948
948
|
// hoverBlockId,
|
|
949
|
-
isModalVisible:
|
|
949
|
+
isModalVisible: o
|
|
950
950
|
// isPreviewVisible
|
|
951
951
|
} = _e(), {
|
|
952
952
|
// currentPage,
|
|
953
953
|
// pages,
|
|
954
|
-
pageContext:
|
|
954
|
+
pageContext: n
|
|
955
955
|
} = T(), { showModal: s } = Re(), [i, r] = _.useState(!0);
|
|
956
956
|
return _.useEffect(() => {
|
|
957
|
-
t &&
|
|
957
|
+
t && n.general && setTimeout(() => {
|
|
958
958
|
r(!1);
|
|
959
959
|
}, 100);
|
|
960
|
-
}, [t,
|
|
961
|
-
|
|
960
|
+
}, [t, n]), /* @__PURE__ */ e.jsxs("div", { className: pe.preview, children: [
|
|
961
|
+
o && /* @__PURE__ */ e.jsx(tt, { children: /* @__PURE__ */ e.jsx(qe, {}) }),
|
|
962
962
|
s && /* @__PURE__ */ e.jsx(ho, {}),
|
|
963
963
|
t && /* @__PURE__ */ e.jsxs("div", { className: pe.main, children: [
|
|
964
964
|
/* @__PURE__ */ e.jsx(In, {}),
|
|
@@ -969,11 +969,11 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
969
969
|
sidebar: go,
|
|
970
970
|
title: mo,
|
|
971
971
|
active: So
|
|
972
|
-
}, Co = "_layers_62wod_1", _o = "_block_62wod_8",
|
|
972
|
+
}, Co = "_layers_62wod_1", _o = "_block_62wod_8", fo = "_dragging_62wod_23", bo = "_active_62wod_31", xo = "_add_62wod_35", wo = "_button_62wod_47", ko = "_empty_62wod_60", vo = "_title_62wod_72", jo = "_icon_62wod_79", yo = "_text_62wod_83", Bo = "_highlight_62wod_89", oe = {
|
|
973
973
|
layers: Co,
|
|
974
974
|
block: _o,
|
|
975
|
-
dragging:
|
|
976
|
-
active:
|
|
975
|
+
dragging: fo,
|
|
976
|
+
active: bo,
|
|
977
977
|
add: xo,
|
|
978
978
|
button: wo,
|
|
979
979
|
empty: ko,
|
|
@@ -984,17 +984,17 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
984
984
|
}, Ao = "_block_1d6lb_1", $e = {
|
|
985
985
|
block: Ao
|
|
986
986
|
}, Po = () => {
|
|
987
|
-
const { setCurrentBlock: t } = F(), { activeBlock:
|
|
988
|
-
function
|
|
987
|
+
const { setCurrentBlock: t } = F(), { activeBlock: o } = J();
|
|
988
|
+
function n(s) {
|
|
989
989
|
t(s);
|
|
990
990
|
}
|
|
991
991
|
return /* @__PURE__ */ e.jsxs(
|
|
992
992
|
"div",
|
|
993
993
|
{
|
|
994
994
|
className: A($e.block, {
|
|
995
|
-
[$e.active]:
|
|
995
|
+
[$e.active]: o === "header"
|
|
996
996
|
}),
|
|
997
|
-
onClick: () =>
|
|
997
|
+
onClick: () => n("header"),
|
|
998
998
|
children: [
|
|
999
999
|
/* @__PURE__ */ e.jsx(C, { name: "Cards" }),
|
|
1000
1000
|
/* @__PURE__ */ e.jsx("span", { children: "Header" })
|
|
@@ -1004,9 +1004,9 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1004
1004
|
}, Lo = "_block_1d6lb_1", He = {
|
|
1005
1005
|
block: Lo
|
|
1006
1006
|
}, To = () => {
|
|
1007
|
-
const { activeBlock: t } = J(), { setCurrentBlock:
|
|
1008
|
-
function
|
|
1009
|
-
|
|
1007
|
+
const { activeBlock: t } = J(), { setCurrentBlock: o } = F();
|
|
1008
|
+
function n(s) {
|
|
1009
|
+
o(s);
|
|
1010
1010
|
}
|
|
1011
1011
|
return /* @__PURE__ */ e.jsxs(
|
|
1012
1012
|
"div",
|
|
@@ -1014,14 +1014,14 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1014
1014
|
className: A(He.block, {
|
|
1015
1015
|
[He.active]: t === "footer"
|
|
1016
1016
|
}),
|
|
1017
|
-
onClick: () =>
|
|
1017
|
+
onClick: () => n("footer"),
|
|
1018
1018
|
children: [
|
|
1019
1019
|
/* @__PURE__ */ e.jsx(C, { name: "Cards" }),
|
|
1020
1020
|
/* @__PURE__ */ e.jsx("span", { children: "Footer" })
|
|
1021
1021
|
]
|
|
1022
1022
|
}
|
|
1023
1023
|
);
|
|
1024
|
-
}, No = ({ id: t, name:
|
|
1024
|
+
}, No = ({ id: t, name: o, index: n, moveBlock: s, onClick: i }) => {
|
|
1025
1025
|
const { currentPage: r, pages: a } = T(), { activeBlock: l } = J(), {
|
|
1026
1026
|
showPreview: d,
|
|
1027
1027
|
hidePreview: S,
|
|
@@ -1029,12 +1029,12 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1029
1029
|
hideModal: g,
|
|
1030
1030
|
clearHideTimeout: u,
|
|
1031
1031
|
startHideTimeout: c,
|
|
1032
|
-
hoverBlockId:
|
|
1032
|
+
hoverBlockId: f,
|
|
1033
1033
|
isModalVisible: k
|
|
1034
|
-
} = _e(), { setPositionBlock: w } = F(), [
|
|
1034
|
+
} = _e(), { setPositionBlock: w } = F(), [b, N] = _.useState(!1), P = () => {
|
|
1035
1035
|
k && g(), d(t), N(!0), u();
|
|
1036
1036
|
}, R = (m) => {
|
|
1037
|
-
m.stopPropagation(), S(), h(t), u(), w(
|
|
1037
|
+
m.stopPropagation(), S(), h(t), u(), w(n + 1);
|
|
1038
1038
|
}, L = () => {
|
|
1039
1039
|
k ? c() : (N(!1), S());
|
|
1040
1040
|
};
|
|
@@ -1044,11 +1044,11 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1044
1044
|
const [, B] = st({
|
|
1045
1045
|
accept: "block",
|
|
1046
1046
|
hover(m) {
|
|
1047
|
-
m.index !==
|
|
1047
|
+
m.index !== n && a && (s(a[r].path, m.index, n), m.index = n);
|
|
1048
1048
|
}
|
|
1049
1049
|
}), [{ isDragging: D }, U] = at({
|
|
1050
1050
|
type: "block",
|
|
1051
|
-
item: { id: t, index:
|
|
1051
|
+
item: { id: t, index: n },
|
|
1052
1052
|
collect: (m) => ({
|
|
1053
1053
|
isDragging: m.isDragging()
|
|
1054
1054
|
})
|
|
@@ -1066,8 +1066,8 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1066
1066
|
onMouseLeave: L,
|
|
1067
1067
|
children: [
|
|
1068
1068
|
/* @__PURE__ */ e.jsx(C, { name: "Cards" }),
|
|
1069
|
-
/* @__PURE__ */ e.jsx("span", { children:
|
|
1070
|
-
(
|
|
1069
|
+
/* @__PURE__ */ e.jsx("span", { children: o }),
|
|
1070
|
+
(b || f === t) && !D && /* @__PURE__ */ e.jsx("div", { className: oe.add, children: /* @__PURE__ */ e.jsx(
|
|
1071
1071
|
"button",
|
|
1072
1072
|
{
|
|
1073
1073
|
className: oe.button,
|
|
@@ -1085,9 +1085,9 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1085
1085
|
}
|
|
1086
1086
|
);
|
|
1087
1087
|
}, Fo = () => {
|
|
1088
|
-
const { blocks: t, setCurrentBlock:
|
|
1088
|
+
const { blocks: t, setCurrentBlock: o, moveBlock: n } = F(), { currentPage: s, pages: i } = T(), { setMouseOverModal: r, setHoverBlockId: a } = _e();
|
|
1089
1089
|
function l(h) {
|
|
1090
|
-
|
|
1090
|
+
o(h), r(!1), a(null);
|
|
1091
1091
|
}
|
|
1092
1092
|
const { sourceBlocks: d } = V();
|
|
1093
1093
|
function S(h) {
|
|
@@ -1102,7 +1102,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1102
1102
|
id: h,
|
|
1103
1103
|
name: S(t[i[s].path][h].name),
|
|
1104
1104
|
index: g,
|
|
1105
|
-
moveBlock:
|
|
1105
|
+
moveBlock: n,
|
|
1106
1106
|
onClick: l
|
|
1107
1107
|
},
|
|
1108
1108
|
h
|
|
@@ -1110,8 +1110,8 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1110
1110
|
/* @__PURE__ */ e.jsx(To, {})
|
|
1111
1111
|
] });
|
|
1112
1112
|
}, Do = ({ isHeader: t }) => {
|
|
1113
|
-
const { header:
|
|
1114
|
-
return t ?
|
|
1113
|
+
const { header: o, footer: n } = F(), { pageContext: s } = T();
|
|
1114
|
+
return t ? o == null ? void 0 : o.renderSettings(s) : n == null ? void 0 : n.renderSettings(s);
|
|
1115
1115
|
}, Mo = () => {
|
|
1116
1116
|
const { settings: t } = Y();
|
|
1117
1117
|
return t == null ? void 0 : t.renderSettings();
|
|
@@ -1121,21 +1121,21 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1121
1121
|
name: Ro
|
|
1122
1122
|
}, Io = () => {
|
|
1123
1123
|
const { setActiveBlock: t } = M();
|
|
1124
|
-
function n
|
|
1125
|
-
t(
|
|
1124
|
+
function o(n) {
|
|
1125
|
+
t(n);
|
|
1126
1126
|
}
|
|
1127
|
-
return /* @__PURE__ */ e.jsx("div", { className: ve.theme, children: vt.map((
|
|
1127
|
+
return /* @__PURE__ */ e.jsx("div", { className: ve.theme, children: vt.map((n) => /* @__PURE__ */ e.jsxs(
|
|
1128
1128
|
"div",
|
|
1129
1129
|
{
|
|
1130
|
-
onClick: () => n
|
|
1130
|
+
onClick: () => o(n),
|
|
1131
1131
|
className: A(ve.block),
|
|
1132
1132
|
children: [
|
|
1133
|
-
/* @__PURE__ */ e.jsx(C, { name:
|
|
1134
|
-
/* @__PURE__ */ e.jsx("span", { className: ve.name, children:
|
|
1133
|
+
/* @__PURE__ */ e.jsx(C, { name: n.icon }),
|
|
1134
|
+
/* @__PURE__ */ e.jsx("span", { className: ve.name, children: n.name }),
|
|
1135
1135
|
/* @__PURE__ */ e.jsx(C, { name: "CaretRight" })
|
|
1136
1136
|
]
|
|
1137
1137
|
},
|
|
1138
|
-
|
|
1138
|
+
n.icon
|
|
1139
1139
|
)) });
|
|
1140
1140
|
}, Eo = "_back_y3z55_1", Oo = "_render_y3z55_8", Uo = "_open_y3z55_23", Go = "_close_y3z55_50", qo = "_clicked_y3z55_54", zo = "_title_y3z55_58", Wo = "_button_y3z55_66", Vo = "_loading_y3z55_71", Xo = "_settings_y3z55_75", Qo = "_deleteButton_y3z55_81", z = {
|
|
1141
1141
|
back: Eo,
|
|
@@ -1150,25 +1150,25 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1150
1150
|
deleteButton: Qo
|
|
1151
1151
|
}, Ko = ({ block: t }) => {
|
|
1152
1152
|
if (!t) return null;
|
|
1153
|
-
const { pageContext:
|
|
1154
|
-
return t.renderSettings(
|
|
1153
|
+
const { pageContext: o } = T();
|
|
1154
|
+
return t.renderSettings(o);
|
|
1155
1155
|
}, Yo = (t) => {
|
|
1156
1156
|
var y;
|
|
1157
|
-
const { isAdd:
|
|
1157
|
+
const { isAdd: o } = t, [n, s] = _.useState(!1), { setActiveBlock: i } = Ce(), { sourceBlocks: r, activeBlock: a, setActiveBlock: l, currentInstance: d, setCurrentInstance: S } = V(), {
|
|
1158
1158
|
blocks: h,
|
|
1159
1159
|
addBlock: g,
|
|
1160
1160
|
editBlock: u,
|
|
1161
1161
|
currentBlock: c,
|
|
1162
|
-
setCurrentBlock:
|
|
1162
|
+
setCurrentBlock: f,
|
|
1163
1163
|
removeBlock: k,
|
|
1164
1164
|
setPositionBlock: w,
|
|
1165
|
-
setHeader:
|
|
1165
|
+
setHeader: b,
|
|
1166
1166
|
setFooter: N,
|
|
1167
1167
|
header: P,
|
|
1168
1168
|
footer: R
|
|
1169
1169
|
} = F(), { currentPage: L, pages: B } = T();
|
|
1170
1170
|
function D(x = !1) {
|
|
1171
|
-
if (!
|
|
1171
|
+
if (!o && B && d && !x) {
|
|
1172
1172
|
const p = {
|
|
1173
1173
|
blockSettings: {}
|
|
1174
1174
|
};
|
|
@@ -1179,7 +1179,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1179
1179
|
value: p
|
|
1180
1180
|
});
|
|
1181
1181
|
}
|
|
1182
|
-
l(null),
|
|
1182
|
+
l(null), f(null), setTimeout(() => {
|
|
1183
1183
|
s(!1);
|
|
1184
1184
|
}, 150), S(null);
|
|
1185
1185
|
}
|
|
@@ -1190,7 +1190,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1190
1190
|
}), S(null);
|
|
1191
1191
|
}
|
|
1192
1192
|
function m() {
|
|
1193
|
-
if (
|
|
1193
|
+
if (o)
|
|
1194
1194
|
return new r[a]();
|
|
1195
1195
|
if (B) {
|
|
1196
1196
|
const x = h[B[L].path][c];
|
|
@@ -1204,7 +1204,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1204
1204
|
} else
|
|
1205
1205
|
S(null);
|
|
1206
1206
|
}, [a, c]), _.useEffect(() => {
|
|
1207
|
-
c === "header" &&
|
|
1207
|
+
c === "header" && b(P);
|
|
1208
1208
|
}, [c, P]), _.useEffect(() => {
|
|
1209
1209
|
c === "footer" && N(R);
|
|
1210
1210
|
}, [c, R]);
|
|
@@ -1218,7 +1218,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1218
1218
|
className: A(z.render, {
|
|
1219
1219
|
[z.open]: c || a,
|
|
1220
1220
|
[z.close]: !c && !a,
|
|
1221
|
-
[z.clicked]:
|
|
1221
|
+
[z.clicked]: n
|
|
1222
1222
|
}),
|
|
1223
1223
|
children: [
|
|
1224
1224
|
/* @__PURE__ */ e.jsxs("div", { className: z.back, children: [
|
|
@@ -1231,7 +1231,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1231
1231
|
}
|
|
1232
1232
|
),
|
|
1233
1233
|
/* @__PURE__ */ e.jsx("h3", { className: z.title, children: a && v(a) || B && B[L] && h[B[L].path] && v((y = h[B[L].path][c]) == null ? void 0 : y.name) || c && O(c) || "Loading" }),
|
|
1234
|
-
!
|
|
1234
|
+
!o && B && !["header", "footer"].includes(c) && /* @__PURE__ */ e.jsx(
|
|
1235
1235
|
"button",
|
|
1236
1236
|
{
|
|
1237
1237
|
onClick: () => {
|
|
@@ -1253,7 +1253,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1253
1253
|
c && ["header", "footer"].includes(c) && /* @__PURE__ */ e.jsx(Do, { isHeader: c === "header" }),
|
|
1254
1254
|
!a && !c && /* @__PURE__ */ e.jsx("div", { className: z.loading, children: "Loading" })
|
|
1255
1255
|
] }),
|
|
1256
|
-
|
|
1256
|
+
o && /* @__PURE__ */ e.jsx("div", { className: z.addButton, children: /* @__PURE__ */ e.jsx(
|
|
1257
1257
|
K,
|
|
1258
1258
|
{
|
|
1259
1259
|
style: {
|
|
@@ -1271,7 +1271,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1271
1271
|
value: x
|
|
1272
1272
|
}), w(null);
|
|
1273
1273
|
} else
|
|
1274
|
-
c === "header" ?
|
|
1274
|
+
c === "header" ? b(P) : N(R);
|
|
1275
1275
|
U();
|
|
1276
1276
|
},
|
|
1277
1277
|
children: "Add Section"
|
|
@@ -1295,9 +1295,9 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1295
1295
|
content: ls,
|
|
1296
1296
|
preview: cs
|
|
1297
1297
|
}, ds = () => {
|
|
1298
|
-
const { themeSettings: t, updateColor:
|
|
1299
|
-
async function
|
|
1300
|
-
|
|
1298
|
+
const { themeSettings: t, updateColor: o } = M();
|
|
1299
|
+
async function n(i, r, a) {
|
|
1300
|
+
o(i, r, a);
|
|
1301
1301
|
}
|
|
1302
1302
|
const s = Ee(() => {
|
|
1303
1303
|
const i = {};
|
|
@@ -1333,7 +1333,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1333
1333
|
{
|
|
1334
1334
|
title: O(a),
|
|
1335
1335
|
initialColor: l,
|
|
1336
|
-
onChange: (d) =>
|
|
1336
|
+
onChange: (d) => n(i, a, d)
|
|
1337
1337
|
}
|
|
1338
1338
|
)
|
|
1339
1339
|
] }),
|
|
@@ -1355,7 +1355,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1355
1355
|
},
|
|
1356
1356
|
i
|
|
1357
1357
|
)) });
|
|
1358
|
-
}, us = "_wrapper_kb55x_2", hs = "_category_kb55x_6", ps = "_categoryTitle_kb55x_11", gs = "_color_kb55x_17", ms = "_name_kb55x_23", Ss = "_content_kb55x_28", Cs = "_label_kb55x_34", _s = "_input_kb55x_45",
|
|
1358
|
+
}, us = "_wrapper_kb55x_2", hs = "_category_kb55x_6", ps = "_categoryTitle_kb55x_11", gs = "_color_kb55x_17", ms = "_name_kb55x_23", Ss = "_content_kb55x_28", Cs = "_label_kb55x_34", _s = "_input_kb55x_45", fs = "_title_kb55x_71", bs = "_field_kb55x_79", xs = "_alignments_kb55x_89", ws = "_lineField_kb55x_95", ks = "_style_kb55x_101", vs = "_header_kb55x_108", W = {
|
|
1359
1359
|
wrapper: us,
|
|
1360
1360
|
category: hs,
|
|
1361
1361
|
categoryTitle: ps,
|
|
@@ -1364,26 +1364,26 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1364
1364
|
content: Ss,
|
|
1365
1365
|
label: Cs,
|
|
1366
1366
|
input: _s,
|
|
1367
|
-
title:
|
|
1368
|
-
field:
|
|
1367
|
+
title: fs,
|
|
1368
|
+
field: bs,
|
|
1369
1369
|
alignments: xs,
|
|
1370
1370
|
lineField: ws,
|
|
1371
1371
|
style: ks,
|
|
1372
1372
|
header: vs
|
|
1373
1373
|
}, js = ["left", "center", "right"], ys = ["solid", "dashed"], me = (t) => {
|
|
1374
|
-
const { title:
|
|
1374
|
+
const { title: o, children: n, rightAddon: s } = t;
|
|
1375
1375
|
return /* @__PURE__ */ e.jsxs("div", { className: W.field, children: [
|
|
1376
1376
|
/* @__PURE__ */ e.jsxs("div", { className: W.header, children: [
|
|
1377
|
-
/* @__PURE__ */ e.jsx("h4", { children:
|
|
1377
|
+
/* @__PURE__ */ e.jsx("h4", { children: o }),
|
|
1378
1378
|
s
|
|
1379
1379
|
] }),
|
|
1380
|
-
|
|
1380
|
+
n
|
|
1381
1381
|
] });
|
|
1382
1382
|
}, Bs = () => {
|
|
1383
|
-
const { themeSettings: t, updateInput:
|
|
1384
|
-
|
|
1383
|
+
const { themeSettings: t, updateInput: o } = M(), n = Ee(() => t.inputs, [t]), s = (r, a, l) => {
|
|
1384
|
+
o(r, a, l);
|
|
1385
1385
|
}, i = (r) => (a) => {
|
|
1386
|
-
|
|
1386
|
+
o(r, a, "color");
|
|
1387
1387
|
};
|
|
1388
1388
|
return /* @__PURE__ */ e.jsxs("div", { className: W.wrapper, children: [
|
|
1389
1389
|
/* @__PURE__ */ e.jsxs(me, { title: "General", children: [
|
|
@@ -1391,7 +1391,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1391
1391
|
H,
|
|
1392
1392
|
{
|
|
1393
1393
|
label: "Height (px)",
|
|
1394
|
-
value: String(
|
|
1394
|
+
value: String(n.general.height),
|
|
1395
1395
|
onChange: (r) => s("general", r, "height"),
|
|
1396
1396
|
type: "number",
|
|
1397
1397
|
min: 0
|
|
@@ -1401,7 +1401,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1401
1401
|
H,
|
|
1402
1402
|
{
|
|
1403
1403
|
label: "Style name",
|
|
1404
|
-
value:
|
|
1404
|
+
value: n.general.name,
|
|
1405
1405
|
onChange: (r) => s("general", r, "name")
|
|
1406
1406
|
}
|
|
1407
1407
|
),
|
|
@@ -1410,14 +1410,14 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1410
1410
|
{
|
|
1411
1411
|
label: "Font Size (px)",
|
|
1412
1412
|
onChange: (r) => s("general", r, "size"),
|
|
1413
|
-
value: String(
|
|
1413
|
+
value: String(n.general.size),
|
|
1414
1414
|
options: Se
|
|
1415
1415
|
}
|
|
1416
1416
|
),
|
|
1417
1417
|
/* @__PURE__ */ e.jsx(
|
|
1418
1418
|
ie,
|
|
1419
1419
|
{
|
|
1420
|
-
initialColor: O(
|
|
1420
|
+
initialColor: O(n.general.color),
|
|
1421
1421
|
onChange: i("general"),
|
|
1422
1422
|
title: "Font Color",
|
|
1423
1423
|
labelStyle: "secondary"
|
|
@@ -1432,14 +1432,14 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1432
1432
|
Ae,
|
|
1433
1433
|
{
|
|
1434
1434
|
onChange: (r) => s("field", r, "active"),
|
|
1435
|
-
current:
|
|
1435
|
+
current: n.field.active
|
|
1436
1436
|
}
|
|
1437
1437
|
) }),
|
|
1438
1438
|
children: [
|
|
1439
1439
|
/* @__PURE__ */ e.jsx(
|
|
1440
1440
|
ie,
|
|
1441
1441
|
{
|
|
1442
|
-
initialColor: O(
|
|
1442
|
+
initialColor: O(n.field.color),
|
|
1443
1443
|
onChange: i("field"),
|
|
1444
1444
|
title: "Color",
|
|
1445
1445
|
labelStyle: "secondary"
|
|
@@ -1449,7 +1449,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1449
1449
|
H,
|
|
1450
1450
|
{
|
|
1451
1451
|
label: "Opacity (%)",
|
|
1452
|
-
value: String(
|
|
1452
|
+
value: String(n.field.opacity),
|
|
1453
1453
|
onChange: (r) => s("field", r, "opacity"),
|
|
1454
1454
|
type: "number",
|
|
1455
1455
|
min: 0
|
|
@@ -1466,7 +1466,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1466
1466
|
Ae,
|
|
1467
1467
|
{
|
|
1468
1468
|
onChange: (r) => s("border", r, "active"),
|
|
1469
|
-
current:
|
|
1469
|
+
current: n.border.active
|
|
1470
1470
|
}
|
|
1471
1471
|
) }),
|
|
1472
1472
|
children: [
|
|
@@ -1477,7 +1477,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1477
1477
|
Pe,
|
|
1478
1478
|
{
|
|
1479
1479
|
items: ys,
|
|
1480
|
-
selectedItem:
|
|
1480
|
+
selectedItem: n.border.style,
|
|
1481
1481
|
onSelect: (r) => s("border", r, "style"),
|
|
1482
1482
|
getIconName: (r) => r === "solid" ? "Minus" : "Selection"
|
|
1483
1483
|
}
|
|
@@ -1487,7 +1487,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1487
1487
|
H,
|
|
1488
1488
|
{
|
|
1489
1489
|
label: "Radius (px)",
|
|
1490
|
-
value: String(
|
|
1490
|
+
value: String(n.border.radius),
|
|
1491
1491
|
onChange: (r) => s("border", r, "radius"),
|
|
1492
1492
|
type: "number",
|
|
1493
1493
|
min: 0
|
|
@@ -1498,7 +1498,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1498
1498
|
H,
|
|
1499
1499
|
{
|
|
1500
1500
|
label: "Thickness (px)",
|
|
1501
|
-
value: String(
|
|
1501
|
+
value: String(n.border.thickness),
|
|
1502
1502
|
onChange: (r) => s("border", r, "thickness"),
|
|
1503
1503
|
type: "number",
|
|
1504
1504
|
min: 0
|
|
@@ -1507,7 +1507,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1507
1507
|
/* @__PURE__ */ e.jsx(
|
|
1508
1508
|
ie,
|
|
1509
1509
|
{
|
|
1510
|
-
initialColor: O(
|
|
1510
|
+
initialColor: O(n.border.color),
|
|
1511
1511
|
onChange: i("border"),
|
|
1512
1512
|
title: "Color",
|
|
1513
1513
|
labelStyle: "secondary"
|
|
@@ -1521,7 +1521,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1521
1521
|
H,
|
|
1522
1522
|
{
|
|
1523
1523
|
label: "Line Height (px)",
|
|
1524
|
-
value: String(
|
|
1524
|
+
value: String(n.label.height),
|
|
1525
1525
|
onChange: (r) => s("label", r, "height"),
|
|
1526
1526
|
type: "number",
|
|
1527
1527
|
min: 0
|
|
@@ -1532,14 +1532,14 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1532
1532
|
{
|
|
1533
1533
|
label: "Font Size (px)",
|
|
1534
1534
|
onChange: (r) => s("label", r, "size"),
|
|
1535
|
-
value: String(
|
|
1535
|
+
value: String(n.label.size),
|
|
1536
1536
|
options: Se
|
|
1537
1537
|
}
|
|
1538
1538
|
),
|
|
1539
1539
|
/* @__PURE__ */ e.jsx(
|
|
1540
1540
|
ie,
|
|
1541
1541
|
{
|
|
1542
|
-
initialColor: O(
|
|
1542
|
+
initialColor: O(n.label.color),
|
|
1543
1543
|
onChange: i("label"),
|
|
1544
1544
|
title: "Color",
|
|
1545
1545
|
labelStyle: "secondary"
|
|
@@ -1551,7 +1551,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1551
1551
|
Pe,
|
|
1552
1552
|
{
|
|
1553
1553
|
items: js,
|
|
1554
|
-
selectedItem:
|
|
1554
|
+
selectedItem: n.label.alignment,
|
|
1555
1555
|
onSelect: (r) => s("label", r, "alignment"),
|
|
1556
1556
|
getIconName: (r) => r === "center" ? "AlignCenterHorizontal" : r === "left" ? "AlignLeft" : "AlignRight"
|
|
1557
1557
|
}
|
|
@@ -1570,7 +1570,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1570
1570
|
deleteIcon: Ms,
|
|
1571
1571
|
iconButton: $s
|
|
1572
1572
|
}, Hs = (t) => {
|
|
1573
|
-
const { font:
|
|
1573
|
+
const { font: o, size: n, id: s, category: i } = t, { setActiveFont: r } = M();
|
|
1574
1574
|
return /* @__PURE__ */ e.jsxs(
|
|
1575
1575
|
"div",
|
|
1576
1576
|
{
|
|
@@ -1588,20 +1588,20 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1588
1588
|
),
|
|
1589
1589
|
/* @__PURE__ */ e.jsxs("div", { className: Q.content, children: [
|
|
1590
1590
|
/* @__PURE__ */ e.jsx("h2", { className: Q.categoryTitle, children: O(s) }),
|
|
1591
|
-
/* @__PURE__ */ e.jsx("span", { className: Q.value, children: `${
|
|
1591
|
+
/* @__PURE__ */ e.jsx("span", { className: Q.value, children: `${o}, ${n}px` })
|
|
1592
1592
|
] })
|
|
1593
1593
|
]
|
|
1594
1594
|
}
|
|
1595
1595
|
);
|
|
1596
1596
|
}, Rs = () => {
|
|
1597
|
-
const { themeSettings: t, setActiveFont:
|
|
1597
|
+
const { themeSettings: t, setActiveFont: o, activeBlock: n } = M();
|
|
1598
1598
|
_.useEffect(() => (s(), () => {
|
|
1599
1599
|
s();
|
|
1600
1600
|
}), []);
|
|
1601
1601
|
function s() {
|
|
1602
|
-
|
|
1602
|
+
o(null);
|
|
1603
1603
|
}
|
|
1604
|
-
if (
|
|
1604
|
+
if (n != null && n.name)
|
|
1605
1605
|
return /* @__PURE__ */ e.jsx("div", { className: Q.wrapper, children: Object.entries(t.fonts).map(([i, r]) => /* @__PURE__ */ e.jsxs(
|
|
1606
1606
|
"div",
|
|
1607
1607
|
{
|
|
@@ -1630,20 +1630,20 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1630
1630
|
options: qs,
|
|
1631
1631
|
clicked: zs
|
|
1632
1632
|
}, Ws = () => {
|
|
1633
|
-
const { activeBlock: t, setActiveFont:
|
|
1633
|
+
const { activeBlock: t, setActiveFont: o, activeFont: n, themeSettings: s, updateFont: i } = M(), { fonts: r } = Ie(), [a, l] = _.useState(null);
|
|
1634
1634
|
function d() {
|
|
1635
|
-
|
|
1635
|
+
o(null);
|
|
1636
1636
|
}
|
|
1637
1637
|
function S(g, u) {
|
|
1638
|
-
a &&
|
|
1638
|
+
a && n && i(a, n, u, g);
|
|
1639
1639
|
}
|
|
1640
|
-
const h = _.useMemo(() =>
|
|
1640
|
+
const h = _.useMemo(() => n ? s.fonts.heading[n] ? (l("heading"), s.fonts.heading[n]) : s.fonts.paragraph[n] ? (l("paragraph"), s.fonts.paragraph[n]) : (l(null), null) : null, [n, s]);
|
|
1641
1641
|
return /* @__PURE__ */ e.jsxs(
|
|
1642
1642
|
"div",
|
|
1643
1643
|
{
|
|
1644
1644
|
className: A(ee.wrapper, {
|
|
1645
|
-
[ee.open]: (t == null ? void 0 : t.name) === "Fonts" &&
|
|
1646
|
-
[ee.close]: (t == null ? void 0 : t.name) !== "Fonts" || !
|
|
1645
|
+
[ee.open]: (t == null ? void 0 : t.name) === "Fonts" && n,
|
|
1646
|
+
[ee.close]: (t == null ? void 0 : t.name) !== "Fonts" || !n
|
|
1647
1647
|
}),
|
|
1648
1648
|
children: [
|
|
1649
1649
|
/* @__PURE__ */ e.jsxs(
|
|
@@ -1663,7 +1663,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1663
1663
|
]
|
|
1664
1664
|
}
|
|
1665
1665
|
),
|
|
1666
|
-
|
|
1666
|
+
n && h && /* @__PURE__ */ e.jsxs("div", { className: ee.options, children: [
|
|
1667
1667
|
/* @__PURE__ */ e.jsx(
|
|
1668
1668
|
se,
|
|
1669
1669
|
{
|
|
@@ -1704,14 +1704,14 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1704
1704
|
options: Js,
|
|
1705
1705
|
clicked: Zs
|
|
1706
1706
|
}, ze = () => {
|
|
1707
|
-
const { activeBlock: t, themeSettings:
|
|
1707
|
+
const { activeBlock: t, themeSettings: o, updateBorder: n, setActiveBlock: s } = M();
|
|
1708
1708
|
function i(l, d) {
|
|
1709
|
-
|
|
1709
|
+
n(d, l);
|
|
1710
1710
|
}
|
|
1711
1711
|
function r() {
|
|
1712
1712
|
s(null);
|
|
1713
1713
|
}
|
|
1714
|
-
const a = _.useMemo(() =>
|
|
1714
|
+
const a = _.useMemo(() => o.borders, [o]);
|
|
1715
1715
|
return /* @__PURE__ */ e.jsxs(
|
|
1716
1716
|
"div",
|
|
1717
1717
|
{
|
|
@@ -1770,14 +1770,14 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1770
1770
|
alignment: da,
|
|
1771
1771
|
active: ua
|
|
1772
1772
|
}, ha = ["left", "center", "right"], We = () => {
|
|
1773
|
-
const { activeBlock: t, themeSettings:
|
|
1773
|
+
const { activeBlock: t, themeSettings: o, updateButton: n, setActiveBlock: s } = M();
|
|
1774
1774
|
function i(l, d) {
|
|
1775
|
-
|
|
1775
|
+
n(d, l);
|
|
1776
1776
|
}
|
|
1777
1777
|
function r() {
|
|
1778
1778
|
s(null);
|
|
1779
1779
|
}
|
|
1780
|
-
const a = _.useMemo(() =>
|
|
1780
|
+
const a = _.useMemo(() => o.buttons, [o]);
|
|
1781
1781
|
return /* @__PURE__ */ e.jsxs(
|
|
1782
1782
|
"div",
|
|
1783
1783
|
{
|
|
@@ -1861,16 +1861,16 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1861
1861
|
(t == null ? void 0 : t.name) === "Buttons" && /* @__PURE__ */ e.jsx(We, {})
|
|
1862
1862
|
] });
|
|
1863
1863
|
}, ga = () => {
|
|
1864
|
-
const { activeBlock: t, setActiveBlock:
|
|
1864
|
+
const { activeBlock: t, setActiveBlock: o } = M(), { activeBlock: n } = Ce();
|
|
1865
1865
|
function s() {
|
|
1866
|
-
|
|
1866
|
+
o(null);
|
|
1867
1867
|
}
|
|
1868
1868
|
return /* @__PURE__ */ e.jsxs(
|
|
1869
1869
|
"div",
|
|
1870
1870
|
{
|
|
1871
1871
|
className: A(re.settings, {
|
|
1872
1872
|
[re.open]: t,
|
|
1873
|
-
[re.close]: !t ||
|
|
1873
|
+
[re.close]: !t || n.name !== "Theme"
|
|
1874
1874
|
}),
|
|
1875
1875
|
children: [
|
|
1876
1876
|
/* @__PURE__ */ e.jsxs("div", { className: re.header, children: [
|
|
@@ -1894,8 +1894,8 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1894
1894
|
}
|
|
1895
1895
|
);
|
|
1896
1896
|
}, ma = () => {
|
|
1897
|
-
const { activeBlock: t } = Ce(), { activeBlock:
|
|
1898
|
-
function
|
|
1897
|
+
const { activeBlock: t } = Ce(), { activeBlock: o } = V();
|
|
1898
|
+
function n() {
|
|
1899
1899
|
switch (t.name) {
|
|
1900
1900
|
case "Layers":
|
|
1901
1901
|
return "Layers";
|
|
@@ -1908,20 +1908,20 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1908
1908
|
}
|
|
1909
1909
|
}
|
|
1910
1910
|
return /* @__PURE__ */ e.jsxs("div", { className: Me.sidebar, children: [
|
|
1911
|
-
/* @__PURE__ */ e.jsx("h3", { className: Me.title, children:
|
|
1911
|
+
/* @__PURE__ */ e.jsx("h3", { className: Me.title, children: n() }),
|
|
1912
1912
|
t.name === "Layers" && /* @__PURE__ */ e.jsx(Fo, {}),
|
|
1913
1913
|
t.name === "Add" && /* @__PURE__ */ e.jsx(qe, {}),
|
|
1914
|
-
/* @__PURE__ */ e.jsx(Yo, { isAdd: !!
|
|
1914
|
+
/* @__PURE__ */ e.jsx(Yo, { isAdd: !!o }),
|
|
1915
1915
|
/* @__PURE__ */ e.jsx(ga, {}),
|
|
1916
1916
|
t.name === "Theme" && /* @__PURE__ */ e.jsx(Io, {}),
|
|
1917
1917
|
t.name === "Settings" && /* @__PURE__ */ e.jsx(Mo, {})
|
|
1918
1918
|
] });
|
|
1919
|
-
}, Sa = "_wrapper_jjfwh_1", Ca = "_header_jjfwh_12", _a = "_content_jjfwh_21",
|
|
1919
|
+
}, Sa = "_wrapper_jjfwh_1", Ca = "_header_jjfwh_12", _a = "_content_jjfwh_21", fa = "_buttons_jjfwh_29", ba = "_cancel_jjfwh_35", xa = "_label_jjfwh_40", wa = "_description_jjfwh_41", ka = "_preview_jjfwh_49", va = "_block_jjfwh_55", ja = "_slug_jjfwh_63", ya = "_title_jjfwh_69", E = {
|
|
1920
1920
|
wrapper: Sa,
|
|
1921
1921
|
header: Ca,
|
|
1922
1922
|
content: _a,
|
|
1923
|
-
buttons:
|
|
1924
|
-
cancel:
|
|
1923
|
+
buttons: fa,
|
|
1924
|
+
cancel: ba,
|
|
1925
1925
|
label: xa,
|
|
1926
1926
|
description: wa,
|
|
1927
1927
|
preview: ka,
|
|
@@ -1932,20 +1932,20 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1932
1932
|
var D, U, m, v, y, x;
|
|
1933
1933
|
const {
|
|
1934
1934
|
setIsOpenModal: t,
|
|
1935
|
-
pages:
|
|
1936
|
-
createPage:
|
|
1935
|
+
pages: o,
|
|
1936
|
+
createPage: n,
|
|
1937
1937
|
updatePage: s,
|
|
1938
1938
|
isEdit: i,
|
|
1939
1939
|
setIsEdit: r,
|
|
1940
1940
|
editedPage: a,
|
|
1941
1941
|
setEditedPage: l
|
|
1942
|
-
} = T(), { createPage: d, updatePage: S } = F(), [h, g] = _.useState(a ?
|
|
1943
|
-
a ?
|
|
1944
|
-
), [w,
|
|
1945
|
-
a ?
|
|
1942
|
+
} = T(), { createPage: d, updatePage: S } = F(), [h, g] = _.useState(a ? o && ((D = o[a]) == null ? void 0 : D.path) : ""), [u, c] = _.useState(a ? o && ((U = o[a]) == null ? void 0 : U.name) : ""), [f, k] = _.useState(
|
|
1943
|
+
a ? o && o[a].seo && (((m = o[a]) == null ? void 0 : m.seo.description) || "") : ""
|
|
1944
|
+
), [w, b] = _.useState(
|
|
1945
|
+
a ? o && ((v = o[a]) == null ? void 0 : v.visibility) : "public"
|
|
1946
1946
|
);
|
|
1947
1947
|
function N() {
|
|
1948
|
-
g(""), c(""), k(""),
|
|
1948
|
+
g(""), c(""), k(""), b("public"), r(!1), l(null);
|
|
1949
1949
|
}
|
|
1950
1950
|
function P() {
|
|
1951
1951
|
N(), t(!1);
|
|
@@ -1954,25 +1954,25 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
1954
1954
|
return p[0] === "/" ? p : "/" + p;
|
|
1955
1955
|
}
|
|
1956
1956
|
function L() {
|
|
1957
|
-
|
|
1957
|
+
n({
|
|
1958
1958
|
path: R(h),
|
|
1959
1959
|
name: u || h || "",
|
|
1960
1960
|
icon: "File",
|
|
1961
1961
|
seo: {
|
|
1962
1962
|
title: u || "",
|
|
1963
|
-
description:
|
|
1963
|
+
description: f || ""
|
|
1964
1964
|
},
|
|
1965
1965
|
visibility: w || "public"
|
|
1966
1966
|
}), d(u), P();
|
|
1967
1967
|
}
|
|
1968
1968
|
function B() {
|
|
1969
|
-
|
|
1969
|
+
o && (S(o[a].name || "", u || h || ""), s(a, {
|
|
1970
1970
|
path: R(h),
|
|
1971
1971
|
name: u || h,
|
|
1972
|
-
icon:
|
|
1972
|
+
icon: o[a].icon || "File",
|
|
1973
1973
|
seo: {
|
|
1974
1974
|
title: u || "",
|
|
1975
|
-
description:
|
|
1975
|
+
description: f || ""
|
|
1976
1976
|
},
|
|
1977
1977
|
visibility: w || "public"
|
|
1978
1978
|
})), P();
|
|
@@ -2006,7 +2006,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
2006
2006
|
onChange: (p) => g(p),
|
|
2007
2007
|
value: h,
|
|
2008
2008
|
placeholder: "path-to-page",
|
|
2009
|
-
disabled: !!(a &&
|
|
2009
|
+
disabled: !!(a && o && ((y = o[a]) != null && y.name) && le.includes(o[a].name)),
|
|
2010
2010
|
required: !0,
|
|
2011
2011
|
regex: "^.+$"
|
|
2012
2012
|
}
|
|
@@ -2018,7 +2018,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
2018
2018
|
onChange: (p) => c(p),
|
|
2019
2019
|
value: u,
|
|
2020
2020
|
placeholder: "Contact us",
|
|
2021
|
-
disabled: !!(a &&
|
|
2021
|
+
disabled: !!(a && o && ((x = o[a]) != null && x.name) && le.includes(o[a].name))
|
|
2022
2022
|
}
|
|
2023
2023
|
),
|
|
2024
2024
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2026,7 +2026,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
2026
2026
|
{
|
|
2027
2027
|
label: "Description",
|
|
2028
2028
|
onChange: (p) => k(p),
|
|
2029
|
-
value:
|
|
2029
|
+
value: f,
|
|
2030
2030
|
placeholder: "Contact us at any time of the day or night. You are always welcome",
|
|
2031
2031
|
maxLength: 150
|
|
2032
2032
|
}
|
|
@@ -2046,7 +2046,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
2046
2046
|
label: "Private"
|
|
2047
2047
|
}
|
|
2048
2048
|
],
|
|
2049
|
-
onChange: (p) =>
|
|
2049
|
+
onChange: (p) => b(p)
|
|
2050
2050
|
}
|
|
2051
2051
|
),
|
|
2052
2052
|
/* @__PURE__ */ e.jsxs("div", { className: E.preview, children: [
|
|
@@ -2054,7 +2054,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
2054
2054
|
/* @__PURE__ */ e.jsxs("div", { className: E.block, children: [
|
|
2055
2055
|
/* @__PURE__ */ e.jsx("span", { className: E.slug, children: h || "yoursite.url" }),
|
|
2056
2056
|
/* @__PURE__ */ e.jsx("span", { className: E.title, children: u || "My Blank Page" }),
|
|
2057
|
-
/* @__PURE__ */ e.jsx("span", { className: E.description, children:
|
|
2057
|
+
/* @__PURE__ */ e.jsx("span", { className: E.description, children: f || "It is My Description" })
|
|
2058
2058
|
] })
|
|
2059
2059
|
] })
|
|
2060
2060
|
] }),
|
|
@@ -2084,7 +2084,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
2084
2084
|
main: Pa,
|
|
2085
2085
|
content: La
|
|
2086
2086
|
}, Ta = () => {
|
|
2087
|
-
const { isOpenModal: t, setIsOpenModal:
|
|
2087
|
+
const { isOpenModal: t, setIsOpenModal: o } = T(), { openModal: n, setOpenModal: s } = dt();
|
|
2088
2088
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2089
2089
|
/* @__PURE__ */ e.jsxs("div", { className: je.layout, children: [
|
|
2090
2090
|
/* @__PURE__ */ e.jsx(xn, {}),
|
|
@@ -2096,13 +2096,13 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
|
|
|
2096
2096
|
] })
|
|
2097
2097
|
] })
|
|
2098
2098
|
] }),
|
|
2099
|
-
t && /* @__PURE__ */ e.jsx(Le, { close:
|
|
2100
|
-
|
|
2099
|
+
t && /* @__PURE__ */ e.jsx(Le, { close: o, children: /* @__PURE__ */ e.jsx(Ba, {}) }),
|
|
2100
|
+
n && /* @__PURE__ */ e.jsx(Le, { close: s, children: /* @__PURE__ */ e.jsx(ut, {}) })
|
|
2101
2101
|
] });
|
|
2102
2102
|
};
|
|
2103
|
-
async function ne(t,
|
|
2104
|
-
const
|
|
2105
|
-
return (await
|
|
2103
|
+
async function ne(t, o) {
|
|
2104
|
+
const n = localStorage.getItem("shopId") || void 0, s = `${Be}/${t}/builder/shops/${n}/${o}`, i = localStorage.getItem("sellerAccessToken") || void 0;
|
|
2105
|
+
return (await fe.get(s, {
|
|
2106
2106
|
headers: {
|
|
2107
2107
|
Authorization: `Bearer ${i}`
|
|
2108
2108
|
}
|
|
@@ -2110,7 +2110,7 @@ async function ne(t, n) {
|
|
|
2110
2110
|
}
|
|
2111
2111
|
async function Na() {
|
|
2112
2112
|
try {
|
|
2113
|
-
const [t,
|
|
2113
|
+
const [t, o, n, s, i, r] = await Promise.allSettled([
|
|
2114
2114
|
ne("v1", "general"),
|
|
2115
2115
|
ne("v1", "faqs"),
|
|
2116
2116
|
ne("v1", "listings"),
|
|
@@ -2120,8 +2120,8 @@ async function Na() {
|
|
|
2120
2120
|
]);
|
|
2121
2121
|
return {
|
|
2122
2122
|
general: t,
|
|
2123
|
-
faqs:
|
|
2124
|
-
listings:
|
|
2123
|
+
faqs: o,
|
|
2124
|
+
listings: n,
|
|
2125
2125
|
products: s,
|
|
2126
2126
|
reviews: i,
|
|
2127
2127
|
categories: r
|
|
@@ -2132,7 +2132,7 @@ async function Na() {
|
|
|
2132
2132
|
}
|
|
2133
2133
|
async function Fa() {
|
|
2134
2134
|
try {
|
|
2135
|
-
const { data: t } = await
|
|
2135
|
+
const { data: t } = await fe.get(
|
|
2136
2136
|
`${ht}?key=AIzaSyAEsTbjAPUz_TeuFCq4z4LPK9w_vst0Pfw`
|
|
2137
2137
|
);
|
|
2138
2138
|
return t.items;
|
|
@@ -2143,62 +2143,62 @@ async function Fa() {
|
|
|
2143
2143
|
function Oa() {
|
|
2144
2144
|
const {
|
|
2145
2145
|
editBlock: t,
|
|
2146
|
-
currentBlock:
|
|
2147
|
-
blocks:
|
|
2146
|
+
currentBlock: o,
|
|
2147
|
+
blocks: n,
|
|
2148
2148
|
header: s,
|
|
2149
2149
|
setHeader: i,
|
|
2150
2150
|
footer: r,
|
|
2151
2151
|
setFooter: a
|
|
2152
2152
|
} = F.getState(), { currentPage: l, pages: d } = T.getState(), { currentInstance: S, activeBlock: h } = V.getState();
|
|
2153
2153
|
if (!h && S && d) {
|
|
2154
|
-
|
|
2154
|
+
o === "header" && i(s), o === "footer" && a(r);
|
|
2155
2155
|
const g = {
|
|
2156
2156
|
blockSettings: {}
|
|
2157
2157
|
};
|
|
2158
2158
|
Object.keys(S.blockSettings).filter((u) => !["displayName", "isAddable"].includes(u)).map((u) => {
|
|
2159
2159
|
g.blockSettings[u] = S.blockSettings[u];
|
|
2160
|
-
}), t(d[l].name,
|
|
2161
|
-
name:
|
|
2160
|
+
}), t(d[l].name, o, {
|
|
2161
|
+
name: n[d[l].name][o].name,
|
|
2162
2162
|
value: g
|
|
2163
2163
|
});
|
|
2164
2164
|
}
|
|
2165
2165
|
}
|
|
2166
2166
|
async function Da() {
|
|
2167
|
-
const t = localStorage.getItem("shopId"),
|
|
2168
|
-
return (await
|
|
2167
|
+
const t = localStorage.getItem("shopId"), o = localStorage.getItem("draftId"), n = `${Be}/v2/builder/shops/${t}/drafts/${o}/pages`, s = localStorage.getItem("sellerAccessToken");
|
|
2168
|
+
return (await fe.get(n, {
|
|
2169
2169
|
headers: {
|
|
2170
2170
|
Authorization: `Bearer ${s}`
|
|
2171
2171
|
}
|
|
2172
2172
|
})).data;
|
|
2173
2173
|
}
|
|
2174
2174
|
async function Ma() {
|
|
2175
|
-
const t = localStorage.getItem("shopId") || void 0,
|
|
2176
|
-
return (await
|
|
2175
|
+
const t = localStorage.getItem("shopId") || void 0, o = localStorage.getItem("draftId") || void 0, n = `${Be}/v2/builder/shops/${t}/drafts/${o}/all`, s = localStorage.getItem("sellerAccessToken") || void 0;
|
|
2176
|
+
return (await fe.get(n, {
|
|
2177
2177
|
headers: {
|
|
2178
2178
|
Authorization: `Bearer ${s}`
|
|
2179
2179
|
}
|
|
2180
2180
|
})).data;
|
|
2181
2181
|
}
|
|
2182
2182
|
const $a = (t) => {
|
|
2183
|
-
const { blocks:
|
|
2183
|
+
const { blocks: o, settings: n, header: s, footer: i } = t, { setBlocks: r, setSourceBlocks: a } = V(), { fonts: l, setFonts: d } = Ie(), { setSettings: S } = Y(), { setPageContext: h } = T(), {
|
|
2184
2184
|
setHeader: g,
|
|
2185
2185
|
setFooter: u,
|
|
2186
2186
|
setBlocks: c,
|
|
2187
|
-
blocks:
|
|
2187
|
+
blocks: f,
|
|
2188
2188
|
createPage: k
|
|
2189
|
-
} = F(), { setThemeSettings: w } = M(), { setPages:
|
|
2189
|
+
} = F(), { setThemeSettings: w } = M(), { setPages: b } = T();
|
|
2190
2190
|
function N(P) {
|
|
2191
2191
|
return P[0] === "/" ? P.slice(1) : P;
|
|
2192
2192
|
}
|
|
2193
2193
|
return _.useEffect(() => {
|
|
2194
2194
|
const P = {};
|
|
2195
|
-
Object.keys(
|
|
2196
|
-
P[L] =
|
|
2195
|
+
Object.keys(o).map((L) => {
|
|
2196
|
+
P[L] = o[L];
|
|
2197
2197
|
}), a(P), r(P), g(s), u(i), (async () => {
|
|
2198
2198
|
const { data: L } = await Ma(), { settings: B, themeSettings: D, layers: U } = L;
|
|
2199
2199
|
if (w(D), c(U), Object.keys(B).forEach(
|
|
2200
|
-
(p) =>
|
|
2201
|
-
), S(
|
|
2200
|
+
(p) => n[p] = B[p]
|
|
2201
|
+
), S(n), l.length === 0) {
|
|
2202
2202
|
const p = await Fa();
|
|
2203
2203
|
d([...p.map((j) => j.family)]);
|
|
2204
2204
|
}
|
|
@@ -2218,51 +2218,51 @@ const $a = (t) => {
|
|
|
2218
2218
|
const y = await Da(), x = {};
|
|
2219
2219
|
y.data.length > 0 && y.data.forEach((p) => {
|
|
2220
2220
|
const j = N(p.path);
|
|
2221
|
-
|
|
2221
|
+
f[j] || k(j), p.path === "/" ? x["/"] = {
|
|
2222
2222
|
...p,
|
|
2223
|
-
icon:
|
|
2223
|
+
icon: be.home.icon,
|
|
2224
2224
|
name: "home"
|
|
2225
|
-
} :
|
|
2225
|
+
} : be[j] ? x[j] = {
|
|
2226
2226
|
...p,
|
|
2227
|
-
icon:
|
|
2227
|
+
icon: be[j].icon,
|
|
2228
2228
|
name: j
|
|
2229
2229
|
} : x[j] = {
|
|
2230
2230
|
...p,
|
|
2231
2231
|
icon: "File",
|
|
2232
2232
|
name: j
|
|
2233
2233
|
};
|
|
2234
|
-
}),
|
|
2234
|
+
}), b(x);
|
|
2235
2235
|
})();
|
|
2236
2236
|
}, []), /* @__PURE__ */ e.jsx(Ta, {});
|
|
2237
2237
|
}, Ha = (t) => {
|
|
2238
|
-
const { blocks:
|
|
2238
|
+
const { blocks: o, settings: n, header: s, footer: i } = t, [r, a] = _.useState(!0), l = pt();
|
|
2239
2239
|
return _.useEffect(() => {
|
|
2240
2240
|
a(!0), jt() ? a(!1) : l("/");
|
|
2241
2241
|
}, []), /* @__PURE__ */ e.jsx(e.Fragment, { children: r ? /* @__PURE__ */ e.jsx(ye, {}) : /* @__PURE__ */ e.jsx(
|
|
2242
2242
|
$a,
|
|
2243
2243
|
{
|
|
2244
|
-
blocks:
|
|
2245
|
-
settings:
|
|
2244
|
+
blocks: o,
|
|
2245
|
+
settings: n,
|
|
2246
2246
|
header: s,
|
|
2247
2247
|
footer: i
|
|
2248
2248
|
}
|
|
2249
2249
|
) });
|
|
2250
2250
|
}, Ua = (t) => {
|
|
2251
|
-
const { blocks:
|
|
2251
|
+
const { blocks: o, settings: n, header: s, footer: i } = t, [r, a] = _.useState(null), { setBlocks: l, setSourceBlocks: d } = V(), { setSettings: S } = Y(), { setHeader: h, setFooter: g } = F();
|
|
2252
2252
|
_.useEffect(() => {
|
|
2253
2253
|
if (!r) {
|
|
2254
2254
|
const k = {};
|
|
2255
|
-
Object.keys(
|
|
2256
|
-
k[
|
|
2257
|
-
}), d(k), l(k), h(s), g(i), S(
|
|
2255
|
+
Object.keys(o).map((b) => {
|
|
2256
|
+
k[b] = o[b];
|
|
2257
|
+
}), d(k), l(k), h(s), g(i), S(n);
|
|
2258
2258
|
const w = gt([
|
|
2259
2259
|
{
|
|
2260
2260
|
path: "/admin/builder",
|
|
2261
2261
|
element: /* @__PURE__ */ e.jsx(
|
|
2262
2262
|
Ha,
|
|
2263
2263
|
{
|
|
2264
|
-
blocks:
|
|
2265
|
-
settings:
|
|
2264
|
+
blocks: o,
|
|
2265
|
+
settings: n,
|
|
2266
2266
|
header: s,
|
|
2267
2267
|
footer: i
|
|
2268
2268
|
}
|
|
@@ -2278,11 +2278,11 @@ const $a = (t) => {
|
|
|
2278
2278
|
},
|
|
2279
2279
|
{
|
|
2280
2280
|
path: "/charges/:id",
|
|
2281
|
-
element: /* @__PURE__ */ e.jsx(
|
|
2281
|
+
element: /* @__PURE__ */ e.jsx(ft, {})
|
|
2282
2282
|
},
|
|
2283
2283
|
{
|
|
2284
2284
|
path: "/orders/:id/:accessToken?",
|
|
2285
|
-
element: /* @__PURE__ */ e.jsx(
|
|
2285
|
+
element: /* @__PURE__ */ e.jsx(bt, {})
|
|
2286
2286
|
},
|
|
2287
2287
|
{
|
|
2288
2288
|
path: "/subscriptions/:id/:accessToken?",
|
|
@@ -2300,12 +2300,12 @@ const $a = (t) => {
|
|
|
2300
2300
|
a(w);
|
|
2301
2301
|
}
|
|
2302
2302
|
}, [r]);
|
|
2303
|
-
const u = window.location.hostname.includes("localhost") ? "flagship-theme.pages.dev" : window.location.hostname, c = localStorage.getItem("shopPassword"),
|
|
2303
|
+
const u = window.location.hostname.includes("localhost") ? "flagship-theme.pages.dev" : window.location.hostname, c = localStorage.getItem("shopPassword"), f = localStorage.getItem("shopId") || "";
|
|
2304
2304
|
return /* @__PURE__ */ e.jsx(e.Fragment, { children: r && /* @__PURE__ */ e.jsx(
|
|
2305
2305
|
mt,
|
|
2306
2306
|
{
|
|
2307
2307
|
shopDomain: u,
|
|
2308
|
-
shopId:
|
|
2308
|
+
shopId: f,
|
|
2309
2309
|
shopPassword: c || void 0,
|
|
2310
2310
|
routes: {
|
|
2311
2311
|
Checkout: "/checkout",
|