@billgangcom/theme-lib 1.73.0 → 1.73.2
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 +12 -12
- package/dist/builder.es.js +97 -90
- package/dist/{index-CQeHFwIE.js → index-B_YSX4Gn.js} +3804 -3806
- package/dist/{index-DW2HfUv4.cjs → index-DgLctY_d.cjs} +22 -22
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +2 -2
- package/package.json +1 -1
package/dist/builder.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";*{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}*{-ms-overflow-style:none;scrollbar-width:none}* ::-webkit-scrollbar{display:none}input[type=number]::-webkit-outer-spin-button,input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number],input[type=number]:hover,input[type=number]:focus{-webkit-appearance:none;appearance:none;-moz-appearance:textfield}input:focus{outline:none;border:none}textarea:focus{outline:none;border:none}html,body{touch-action:none}:root{--default-border: 1px solid #f0f0f0;--accent-color: #757575;--main-color: #252525;--background-color: #f8f8f8}#root{width:100%;height:100%}body,html{background-color:#fff;font-family:Geist Variable;max-height:100dvh;overflow:hidden}*{font-family:Geist Variable,sans-serif}#h1{font-size:var(--font-heading-h1-size);font-family:var(--font-heading-h1-family),sans-serif!important;font-weight:var(--font-heading-h1-weight);white-space:pre-line;text-transform:var(--font-heading-h1-case)}#h1-bold{font-size:var(--font-heading-h1-size);font-family:var(--font-heading-h1-family),sans-serif!important;font-weight:var(--font-heading-h1-boldWeight);white-space:pre-line;text-transform:var(--font-heading-h1-case)}#h2-bold{font-size:var(--font-heading-h2-size);font-family:var(--font-heading-h2-family),sans-serif!important;font-weight:var(--font-heading-h2-boldWeight);white-space:pre-line;text-transform:var(--font-heading-h2-case)}#h2{font-weight:var(--font-heading-h2-weight);font-size:var(--font-heading-h2-size);font-family:var(--font-heading-h2-family),sans-serif!important;white-space:pre-line;text-transform:var(--font-heading-h2-case)}#h3{font-size:var(--font-heading-h3-size);font-family:var(--font-heading-h3-family),sans-serif!important;font-weight:var(--font-heading-h3-weight);white-space:pre-line;text-transform:var(--font-heading-h3-case)}#h3-bold{font-size:var(--font-heading-h3-size);font-family:var(--font-heading-h3-family),sans-serif!important;font-weight:var(--font-heading-h3-boldWeight);white-space:pre-line;text-transform:var(--font-heading-h3-case)}#h4-bold{font-size:var(--font-heading-h4-size);font-family:var(--font-heading-h4-family),sans-serif!important;font-weight:var(--font-heading-h4-boldWeight);white-space:pre-line;text-transform:var(--font-heading-h4-case)}#h4{font-size:var(--font-heading-h4-size);font-family:var(--font-heading-h4-family),sans-serif!important;font-weight:var(--font-heading-h4-weight);white-space:pre-line;text-transform:var(--font-heading-h4-case)}#h5{font-size:var(--font-heading-h5-size);font-family:var(--font-heading-h5-family),sans-serif!important;font-weight:var(--font-heading-h5-weight);white-space:pre-line;text-transform:var(--font-heading-h5-case)}#h5-bold{font-size:var(--font-heading-h5-size);font-family:var(--font-heading-h5-family),sans-serif!important;font-weight:var(--font-heading-h5-boldWeight);white-space:pre-line;text-transform:var(--font-heading-h5-case)}#h6{font-size:var(--font-heading-h6-size);font-family:var(--font-heading-h6-family),sans-serif!important;font-weight:var(--font-heading-h6-weight);white-space:pre-line;text-transform:var(--font-heading-h6-case)}#h6-bold{font-size:var(--font-heading-h6-size);font-family:var(--font-heading-h6-family),sans-serif!important;font-weight:var(--font-heading-h6-boldWeight);white-space:pre-line;text-transform:var(--font-heading-h6-case)}#lg-bold{font-size:var(--font-body-lg-size);font-family:var(--font-body-lg-family),sans-serif!important;font-weight:var(--font-body-lg-boldWeight);white-space:pre-line;text-transform:var(--font-body-lg-case)}#lg{font-weight:var(--font-body-lg-weight);font-size:var(--font-body-lg-size);font-family:var(--font-body-lg-family),sans-serif!important;white-space:pre-line;text-transform:var(--font-body-lg-case)}#md-bold{font-size:var(--font-body-md-size);font-family:var(--font-body-md-family),sans-serif!important;font-weight:var(--font-body-md-boldWeight);white-space:pre-line;text-transform:var(--font-body-md-case)}#md{font-weight:var(--font-body-md-weight);font-size:var(--font-body-md-size);font-family:var(--font-body-md-family),sans-serif!important;white-space:pre-line;text-transform:var(--font-body-md-case)}#sm-bold{font-size:var(--font-body-sm-size);font-family:var(--font-body-sm-family),sans-serif!important;font-weight:var(--font-body-sm-boldWeight);white-space:pre-line;text-transform:var(--font-body-sm-case)}#sm{font-weight:var(--font-body-sm-weight);font-size:var(--font-body-sm-size);font-family:var(--font-body-sm-family),sans-serif!important;white-space:pre-line;text-transform:var(--font-body-sm-case)}._icon_bsuj2_1 path{fill:var(--icon-fill)}._hoverable_bsuj2_5{cursor:pointer}._rotated_bsuj2_9{transform:rotate(180deg)}._wrapper_mmfra_1{display:flex;flex-direction:row;gap:8px;width:fit-content;align-items:center;border-radius:12px;line-height:20px;color:var(--main-color);font-size:14px;font-weight:400}._switch_mmfra_14{display:flex;flex-direction:row;gap:0px;width:40px;height:20px;background-color:#ccc;border-radius:16px;align-items:center;padding:2px;cursor:pointer;transition:background-color .2s}._switch_mmfra_14._active_mmfra_27{background:#ff3f19}._switch_mmfra_14 ._toggle_mmfra_30{width:16px;height:16px;background-color:#fff;border-radius:16px;transition:transform .2s;transform:translate(1px)}._switch_mmfra_14._active_mmfra_27 ._toggle_mmfra_30{transform:translate(19px)}._background_mmfra_42{background-color:var(--background-color)}._padding_mmfra_46{padding:8px}._wrapper_187gl_1{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%}._label_187gl_9{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._input_187gl_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);transition:border .3s ease}._input_187gl_17:hover{border:1px solid #f0f0f0}._input_187gl_17::placeholder{color:#c2c2c2}._input_187gl_17:disabled{background-color:var(--background-color);opacity:.7}._input_187gl_17:focus{border:1px solid #ff3f19}._input_187gl_17:focus:hover{border:1px solid #ff3f19}._required_187gl_47,._required_187gl_47:hover{border:1px solid #ff3f19}._paddingless_187gl_54{padding:0}._content_187gl_58{display:flex;flex-direction:row;gap:8px;position:relative;align-items:center}._input_187gl_17._borderless_187gl_66{border-radius:0;border:none}._input_187gl_17._borderless_187gl_66:hover{border:none}._input_187gl_17._borderless_187gl_66:focus{border:none}._rightIcon_187gl_77{position:absolute;top:10px;right:12px}._inputPostfix_187gl_83{position:absolute;right:15px;top:50%;transform:translateY(-50%);color:#757575}._wrapper_1gk74_2{display:flex;flex-direction:column;gap:6px;width:100%}._label_1gk74_9{color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400;flex:1 1 auto}._top_1gk74_17{display:flex;flex-direction:row;gap:8px}._select_1gk74_23{display:flex;align-items:center;justify-content:space-between;width:100%;background-color:var(--background-color);transition:border .3s ease;border-radius:12px;padding:10px 12px;font-size:14px;line-height:20px;cursor:pointer;outline:none;border:1px solid #f0f0f0}._select_1gk74_23:hover{border:1px solid #e0e0e0}._borderFocused_1gk74_42{border:1px solid #c9c9c9}._borderFocused_1gk74_42:hover{border:1px solid #b3b3b3}._input_1gk74_49{width:100px;border:none;outline:none;font-size:16px;background-color:transparent;color:var(--text-color);flex:1 1 auto}._icon_1gk74_59{transition:transform .2s;display:flex}._rotate_1gk74_64{transform:rotate(180deg)}._content_1gk74_68{position:relative}._options_1gk74_72{display:flex;flex-direction:column;gap:10px;position:absolute;top:50px;width:100%;background-color:#fff;border-radius:12px;font-size:16px;line-height:20px;z-index:10;cursor:pointer;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease,max-height .2s linear;max-height:0;padding:5px 6px;border:1px solid #f0f0f0}._filteredOptions_1gk74_93{overflow-y:auto}._open_1gk74_97{opacity:1;visibility:visible;max-height:200px}._option_1gk74_72{padding:5px 6px;border-radius:12px;display:flex;flex-direction:row;gap:8px;align-items:center}._option_1gk74_72:hover,._focused_1gk74_115{background-color:#f8f8f8}._addon_1gk74_119{margin-right:8px;display:flex;align-items:center;justify-content:center}._clear_1gk74_126{margin:0 4px}._value_1gk74_130{flex:1 1 auto}._postfix_1gk74_134{color:#757575}._leftAddon_1gk74_138{display:flex;align-items:center;justify-content:center}._wrapper_1yh21_2{display:flex;flex-direction:column;gap:6px;width:100%}._label_1yh21_9{color:var(--accent-color);font-weight:400;font-size:14px;line-height:20px}._icon_1yh21_16{display:flex;flex-direction:row;gap:0px;padding:4px;background-color:transparent;border:var(--default-border);justify-content:center;align-items:center;border-radius:6px}._text_1yh21_28{font-weight:400;font-size:16px;line-height:24px;color:#ff3f19;text-overflow:ellipsis;flex:1}._content_1yh21_37{display:flex;flex-direction:row;gap:6px;align-items:center;cursor:pointer;background-color:var(--background-color);border-radius:12px;padding:6px 8px}._modal_1yh21_48{background-color:var(--background-color);border:var(--default-border);border-radius:16px;width:100%;max-width:640px}._top_1yh21_56{display:flex;flex-direction:row;gap:0px;padding:16px 24px;align-items:center;justify-content:space-between}._title_1yh21_65{color:var(--main-color);font-weight:400;font-size:18px;line-height:24px}._modalContent_1yh21_72{padding:16px 24px;border-top-left-radius:16px;border-top-right-radius:16px;border-top:var(--default-border);border-bottom:var(--default-border);background-color:#fff}._images_1yh21_81{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;overflow-y:scroll;max-height:390px;align-items:center;justify-content:center}._add_1yh21_91{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;cursor:pointer;transition:background-color .3s ease}._add_1yh21_91:hover{background-color:#f8f8f8}._add_1yh21_91:active{background-color:#f0f0f0}._dragging_1yh21_111{border:1px dashed #ff3f19}._description_1yh21_115{text-align:center;color:var(--main-color);font-size:14px;line-height:20px}._description_1yh21_115 span:last-child{padding-top:4px}._bottom_1yh21_125{display:flex;flex-direction:row;gap:0px;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_1yh21_139{background-color:var(--background-color);color:var(--accent-color)}._highlight_1yh21_144{color:#ff3f19;cursor:pointer}._accent_1yh21_149{color:var(--accent-color)}._image_1yh21_81{position:relative;padding:43px 16px;border:1px solid #e6e6e6;justify-content:center;align-items:center;border-radius:16px;aspect-ratio:1/1;cursor:pointer;transition:border .3s ease;transition:background-color .3s ease}._image_1yh21_81:hover{background-color:#f8f8f8}._selected_1yh21_169{border:1px solid #ff3f19;background-color:#ffeae5}._selected_1yh21_169:hover{background-color:#ffeae5}._checkbox_1yh21_177{position:absolute;top:12px;left:12px}._loading_1yh21_183{display:flex;flex-direction:row;gap:0px;position:relative;padding:43px 16px;border:1px solid #e6e6e6;background-color:var(--background-color);justify-content:center;align-items:center;border-radius:16px;aspect-ratio:1/1}._spinner_1yh21_197{width:24px;height:24px;border:2px solid #ff3f19;border-top-color:var(--background-color);border-radius:50%;animation:_spin_1yh21_197 1s linear infinite}@keyframes _spin_1yh21_197{to{transform:rotate(360deg)}}._tip_1yh21_211{padding:16px 24px}._customCheckbox_w9x8g_1{display:inline-block;cursor:pointer;position:relative}._checkboxBox_w9x8g_7{display:inline-block;width:20px;height:20px;border:1px solid #e6e6e6;border-radius:6px;position:relative;transition:background-color .3s ease}._checkboxBox_w9x8g_7:hover{background-color:#f8f8f8}._checkboxBox_w9x8g_7:active{background-color:#f0f0f0}._checkboxBox_w9x8g_7._checked_w9x8g_23{background:#ffeae5;border:1px solid #ff3f19}._checkboxBox_w9x8g_7._checked_w9x8g_23:hover{background-color:#ffeae5}._icon_w9x8g_31{position:absolute;top:3px;left:3px}._button_1gxoe_1{padding:10px 16px;border-radius:12px;cursor:pointer;font-size:16px;transition:background-color .3s ease}._button_1gxoe_1:disabled{opacity:.7;cursor:auto}._primary_1gxoe_14{color:#fff;background-color:#ff3f19}._primary_1gxoe_14:hover{background-color:#ff2a00}._secondary_1gxoe_22{color:#757575;background-color:#f0f0f0}._secondary_1gxoe_22:hover{background-color:#e6e6e6}._tertiary_1gxoe_30{color:#757575;background-color:#f0f0f0}._tertiary_1gxoe_30:hover{background-color:#e6e6e6}._content_1gxoe_38{display:flex;flex-direction:row;gap:4px;align-items:center}._withoutHover_1gxoe_45:hover{background-color:transparent}._tip_q9ixw_1{display:flex;flex-direction:row;gap:8px;align-items:center;padding:8px;border-radius:12px;width:100%;height:100%}._text_q9ixw_12{flex:1 1 auto;line-height:20px;font-size:14px}._warning_q9ixw_18{background:#faf8e6;color:#c1972a}._error_q9ixw_23{background:#ffc3b7;color:#ff3f19}._success_q9ixw_28{background:#e5fadd;color:#338b13}._hide_q9ixw_33{display:none}._title_1uycf_1{font-weight:500}._subtitle_1uycf_5{color:var(--accent-color);font-size:14px;line-height:20px;font-weight:400}._header_1uycf_12,._text_1uycf_13{display:flex;flex-direction:column;gap:0px;padding:10px 0 16px}._top_1uycf_20{display:flex;flex-direction:row;gap:0px;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_1uycf_29{display:flex;flex-direction:column;gap:6px}._textSettings_1uycf_35{display:flex;flex-direction:row;gap:5px;justify-content:space-between;align-items:center}._typeTexts_1gfda_1{display:flex;flex-direction:row;gap:5px;align-items:center}._block_1gfda_8{display:flex;flex-direction:row;gap:0px;padding:8px;align-items:center;justify-content:center;border:1px solid var(--background-color);background-color:var(--background-color);border-radius:12px;cursor:pointer;transition:.3s background-color ease}._block_1gfda_8:hover{background-color:#f0f0f0}._active_1gfda_25{border:1px solid #ff3f19}._wrapper_34cvp_1{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%;position:relative}._label_34cvp_10{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._textarea_34cvp_18{width:100%;background-color:var(--background-color);border-radius:12px;padding:8px 12px;font-size:16px;line-height:24px;resize:vertical;min-height:200px;max-height:400px;border:1px solid transparent;transition:border .3s ease}._textarea_34cvp_18:hover{border:1px solid #f0f0f0}._textarea_34cvp_18:focus{border:1px solid #ff3f19}._textarea_34cvp_18:focus:hover{border:1px solid #ff3f19}._textarea_34cvp_18::placeholder{color:#c2c2c2}._length_34cvp_46{position:absolute;bottom:12px;right:12px;color:#c2c2c2;line-height:20px}._full_34cvp_54{color:#ff3f19}._alignTexts_xs0ug_1{display:flex;flex-direction:row;gap:0px;background-color:var(--background-color);border-radius:12px;align-items:center}._block_xs0ug_10{display:flex;flex-direction:row;gap:0px;padding:8px;align-items:center;justify-content:center;border:1px solid var(--background-color);background-color:var(--background-color);color:#757575;border-radius:12px;cursor:pointer;transition:.3s background-color ease}._block_xs0ug_10:hover{background-color:#f0f0f0}._active_xs0ug_28{border:1px solid #f0f0f0;background-color:#fff;color:#252525}._title_msd5s_1{font-weight:500}._subtitle_msd5s_5{color:var(--accent-color);font-size:14px;line-height:20px;font-weight:400}._header_msd5s_12,._text_msd5s_13,._productsBlock_msd5s_14{display:flex;flex-direction:column;gap:12px;padding:10px 0 16px;width:100%}._productsBlock_msd5s_14{position:relative}._top_msd5s_26{display:flex;flex-direction:row;gap:0px;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_msd5s_35{display:flex;flex-direction:column;gap:6px}._typeTexts_msd5s_41{display:flex;flex-direction:row;gap:8px;align-items:center}._block_msd5s_48{display:flex;flex-direction:row;gap:0px;padding:8px;align-items:center;justify-content:center;border:1px solid var(--background-color);background-color:var(--background-color);border-radius:12px;cursor:pointer}._active_msd5s_61{border:1px solid #ff3f19}._products_msd5s_14{display:flex;flex-direction:column;gap:8px;width:100%}._product_msd5s_14{display:flex;flex-direction:row;gap:6px;align-items:center;width:100%}._button_msd5s_80{display:flex;flex-direction:row;gap:6px;background:inherit;color:#ff3f19;align-items:center;justify-content:center;width:100%}._disabled_msd5s_91{color:var(--accent-color)}._image_msd5s_95{border-radius:8px;border:var(--default-border);background-color:#fff;padding:4px}._info_msd5s_102{display:flex;flex-direction:row;gap:4px;border-radius:12px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:var(--background-color);padding:8px 12px}._name_msd5s_114{flex:1 1 100%}._buttons_msd5s_118{display:flex;flex-direction:row;gap:0px;align-items:center}._modal_msd5s_125{position:fixed;background-color:#fff;border:var(--default-border);right:-300px;top:0;z-index:10000;max-width:320px;width:100%;border-radius:12px;box-shadow:0 2.1px 4.36px #00000004}._modal_msd5s_125 ._top_msd5s_26{display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:space-between;padding:16px 16px 0}._link_msd5s_146{display:flex;flex-direction:column;gap:8px}._modalOptions_msd5s_152{display:flex;flex-direction:column;gap:10px;max-height:500px;padding:0 16px 16px}._modalOptions_msd5s_152>*:not(:last-child){border-bottom:var(--default-border);padding-bottom:7px}._addButton_msd5s_165{display:flex;flex-direction:row;gap:5px;align-items:center;justify-content:center;width:100%;padding:4px;border-radius:8px;transition:.3s background-color ease}._addButton_msd5s_165:hover{background-color:#f0f0f0}._deleteButton_msd5s_180{display:flex;flex-direction:row;gap:0px;padding:6px;border-radius:8px;transition:.3s background-color ease}._deleteButton_msd5s_180:hover{background-color:#f0f0f0}._closeIcon_msd5s_192{display:flex;flex-direction:row;gap:0px;padding:6px;border-radius:8px;transition:.3s background-color ease;cursor:pointer}._closeIcon_msd5s_192:hover{background-color:#f0f0f0}._other_1a1tk_1{display:flex;flex-direction:column;gap:6px}._subtitle_1a1tk_7{color:var(--accent-color);font-size:14px;line-height:20px;font-weight:400}._items_1a1tk_14{display:flex;flex-direction:row;gap:8px;flex-wrap:wrap}._title_cx65i_1{font-weight:500}._subtitle_cx65i_5{color:var(--accent-color);font-size:14px;line-height:20px;font-weight:400}._header_cx65i_12,._text_cx65i_13,._productsBlock_cx65i_14{display:flex;flex-direction:column;gap:12px;padding:10px 0 16px;width:100%}._productsBlock_cx65i_14{position:relative}._top_cx65i_26{display:flex;flex-direction:row;gap:0px;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_cx65i_35{display:flex;flex-direction:column;gap:6px}._typeTexts_cx65i_41{display:flex;flex-direction:row;gap:8px;align-items:center}._block_cx65i_48{display:flex;flex-direction:row;gap:0px;padding:8px;align-items:center;justify-content:center;border:1px solid var(--background-color);background-color:var(--background-color);border-radius:12px;cursor:pointer}._active_cx65i_61{border:1px solid #ff3f19}._products_cx65i_14{display:flex;flex-direction:column;gap:8px;width:100%}._product_cx65i_14{display:flex;flex-direction:row;gap:6px;align-items:center;width:100%}._button_cx65i_80{display:flex;flex-direction:row;gap:6px;background:inherit;color:#ff3f19;align-items:center;justify-content:center;width:100%}._disabled_cx65i_91{color:var(--accent-color)}._image_cx65i_95{border-radius:8px;border:var(--default-border);background-color:#fff;padding:4px}._info_cx65i_102{display:flex;flex-direction:row;gap:4px;border-radius:12px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:var(--background-color);padding:8px 12px}._name_cx65i_114{flex:1 1 100%}._buttons_cx65i_118{display:flex;flex-direction:row;gap:0px;align-items:center}._modal_cx65i_125{position:fixed;background-color:#fff;border:var(--default-border);right:-300px;top:0;z-index:10000;max-width:276px;width:100%;padding:16px;border-radius:12px;box-shadow:0 2.1px 4.36px #00000004}._modal_cx65i_125 ._top_cx65i_26{display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:space-between}._link_cx65i_146{display:flex;flex-direction:column;gap:8px}._modalOptions_cx65i_152{display:flex;flex-direction:column;gap:10px;overflow-y:auto;max-height:500px}._modalOptions_cx65i_152>*:not(:last-child){border-bottom:var(--default-border);padding-bottom:7px}._addButton_cx65i_165{display:flex;flex-direction:row;gap:5px;align-items:center;justify-content:center;width:100%;padding:4px;border-radius:8px;transition:.3s background-color ease}._addButton_cx65i_165:hover{background-color:#f0f0f0}._deleteButton_cx65i_180{display:flex;flex-direction:row;gap:0px;padding:6px;border-radius:8px;transition:.3s background-color ease}._deleteButton_cx65i_180:hover{background-color:#f0f0f0}._closeIcon_cx65i_192{display:flex;flex-direction:row;gap:0px;padding:6px;border-radius:8px;transition:.3s background-color ease;cursor:pointer}._closeIcon_cx65i_192:hover{background-color:#f0f0f0}._title_hvj8m_1{font-weight:500}._subtitle_hvj8m_5{color:var(--accent-color);font-size:14px;line-height:20px;font-weight:400}._header_hvj8m_12,._text_hvj8m_13,._productsBlock_hvj8m_14,._buttonsBlock_hvj8m_15{display:flex;flex-direction:column;gap:0px;padding:10px 0 16px}._buttonsBlock_hvj8m_15{position:relative}._top_hvj8m_26{display:flex;flex-direction:row;gap:0px;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_hvj8m_35{display:flex;flex-direction:column;gap:6px}._typeTexts_hvj8m_41{display:flex;flex-direction:row;gap:8px;align-items:center}._block_hvj8m_48{display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:center;border:1px solid var(--background-color);background-color:var(--background-color);border-radius:12px;cursor:pointer}._active_hvj8m_60{border:1px solid #ff3f19}._products_hvj8m_14{display:flex;flex-direction:column;gap:8px;width:100%}._product_hvj8m_14{display:flex;flex-direction:row;gap:8px;align-items:center;width:100%}._button_hvj8m_15{display:flex;flex-direction:row;gap:6px;background:inherit;color:#ff3f19;align-items:center;justify-content:center;width:100%}._image_hvj8m_90{border-radius:8px;border:var(--default-border);background-color:#fff;padding:4px}._info_hvj8m_97{display:flex;flex-direction:row;gap:4px;border-radius:12px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:var(--background-color);padding:8px 12px}._name_hvj8m_109{flex:1 1 100%}._buttons_hvj8m_15{display:flex;flex-direction:row;gap:8px;align-items:center}._modal_hvj8m_120{position:fixed;background-color:#fff;right:-300px;z-index:10000;max-width:276px;width:100%;padding:16px;border-radius:12px;border:var(--default-border);box-shadow:0 2.1px 4.36px #00000004}._modal_hvj8m_120 ._top_hvj8m_26{display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:space-between}._other_hvj8m_140{display:flex;flex-direction:column;gap:6px}._options_hvj8m_146{display:flex;flex-direction:column;gap:15px;overflow-y:auto;max-height:500px}._closeIcon_hvj8m_154{display:flex;flex-direction:row;gap:0px;padding:6px;border-radius:8px;transition:.3s background-color ease;cursor:pointer}._closeIcon_hvj8m_154:hover{background-color:#f0f0f0}._wrapper_m18qi_1{display:flex;flex-direction:column;gap:6px}._subtitle_m18qi_7{color:var(--accent-color);font-size:14px;line-height:20px;font-weight:400}._content_m18qi_14{display:flex;flex-direction:row;gap:10px;align-items:center;width:100%}._range_m18qi_22{position:relative;flex:1}._track_m18qi_27{position:absolute;width:95%;height:6px;background-color:#f0f0f0;border-radius:9999px;z-index:1}._progress_m18qi_36{position:absolute;height:6px;width:100%;background-color:#ff3f19;transition:width .2s;border-radius:9999px;z-index:1}._dots_m18qi_46{display:flex;flex-direction:row;gap:0px;position:absolute;justify-content:space-between;width:100%}._dot_m18qi_46{width:14px;height:14px;border-radius:50%;transition:transform .2s;position:relative;top:-4px;left:0;z-index:1}._dot_m18qi_46._active_m18qi_65{background-color:#ff3f19;transform:scale(1)}._dot_m18qi_46:not(._active_m18qi_65){background-color:#e5e7eb;transform:scale(.9)}._dot_m18qi_46:hover{transform:scale(1.1)}._input_m18qi_77{position:absolute;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;cursor:pointer}._input_m18qi_77::-webkit-slider-thumb,._input_m18qi_77::-moz-range-thumb{-webkit-appearance:none!important;-moz-appearance:none;appearance:none;width:0;height:0}._countBlock_m18qi_91{display:flex;flex-direction:row;gap:10px;align-items:center;padding:8px 12px;background:var(--background-color);border-radius:12px}._count_m18qi_91{font-size:16px;font-weight:400;line-height:24px}._controls_m18qi_107{display:flex;flex-direction:column;gap:0px}._button_m18qi_113{transition:background-color .2s}._button_m18qi_113:hover{background-color:#f3f4f6}._button_m18qi_113:disabled{opacity:.5}._title_11jyy_1{font-weight:500}._subtitle_11jyy_5{color:var(--accent-color);font-size:14px;line-height:20px;font-weight:400}._header_11jyy_12,._text_11jyy_13,._productsBlock_11jyy_14{display:flex;flex-direction:column;gap:12px;padding:10px 0 16px;width:100%}._productsBlock_11jyy_14{position:relative}._top_11jyy_26{display:flex;flex-direction:row;gap:0px;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_11jyy_35{display:flex;flex-direction:column;gap:6px}._typeTexts_11jyy_41{display:flex;flex-direction:row;gap:8px;align-items:center}._block_11jyy_48{display:flex;flex-direction:row;gap:0px;padding:8px;align-items:center;justify-content:center;border:1px solid var(--background-color);background-color:var(--background-color);border-radius:12px;cursor:pointer}._active_11jyy_61{border:1px solid #ff3f19}._products_11jyy_14{display:flex;flex-direction:column;gap:8px;width:100%}._product_11jyy_14{display:flex;flex-direction:row;gap:6px;align-items:center;width:100%}._button_11jyy_80{display:flex;flex-direction:row;gap:6px;background:inherit;color:#ff3f19;align-items:center;justify-content:center;width:100%}._image_11jyy_91{border-radius:8px;border:var(--default-border);background-color:#fff;padding:4px}._info_11jyy_98{display:flex;flex-direction:row;gap:4px;border-radius:12px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:var(--background-color);padding:8px 12px}._name_11jyy_110{flex:1 1 100%}._buttons_11jyy_114{display:flex;flex-direction:row;gap:0px;align-items:center}._modal_11jyy_121{position:fixed;background-color:#fff;border:var(--default-border);right:-300px;top:0;z-index:10000;max-width:276px;width:100%;padding:16px;border-radius:12px;box-shadow:0 2.1px 4.36px #00000004}._modal_11jyy_121 ._top_11jyy_26{display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:space-between}._link_11jyy_142{display:flex;flex-direction:column;gap:8px}._modalOptions_11jyy_148{display:flex;flex-direction:column;gap:10px;overflow-y:auto;max-height:500px}._modalOptions_11jyy_148>*:not(:last-child){border-bottom:var(--default-border);padding-bottom:7px}._addButton_11jyy_161{display:flex;flex-direction:row;gap:5px;align-items:center;justify-content:center;width:100%;padding:4px;border-radius:8px;transition:.3s background-color ease}._addButton_11jyy_161:hover{background-color:#f0f0f0}._deleteButton_11jyy_176{display:flex;flex-direction:row;gap:0px;padding:6px;border-radius:8px;transition:.3s background-color ease}._deleteButton_11jyy_176:hover{background-color:#f0f0f0}._closeIcon_11jyy_188{display:flex;flex-direction:row;gap:0px;padding:6px;border-radius:8px;transition:.3s background-color ease;cursor:pointer}._closeIcon_11jyy_188:hover{background-color:#f0f0f0}._wrapper_5w9s8_1{width:100%;padding:20px;text-align:center}._wrapper_235d9_1{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%}._label_235d9_9{width:100%;color:var(--input-label-color);line-height:var(--input-label-height);font-size:var(--input-label-size);text-align:var(--input-label-alignment);font-weight:400}._input_235d9_18{width:100%;font-size:var(--input-size);line-height:var(--input-height);color:var(--input-color)!important}._input_235d9_18::placeholder{color:var(--input-placeholder-color);font-size:var(--input-size);line-height:var(--input-height)}._disabled_235d9_31{background-color:var(--surface-secondary);opacity:.7}._paddingless_235d9_36{padding:0}._content_235d9_40{display:flex;flex-direction:row;gap:8px;position:relative;align-items:center;width:100%;font-size:var(--input-size);height:var(--input-height);color:var(--input-color)!important;height:100%}._contentBorder_235d9_53{border:var(--input-border-thickness) var(--input-border-style) var(--input-border-color);border-radius:var(--input-border-radius)}._contentField_235d9_58{background:var(--input-field-color)}._borderless_235d9_62{border-radius:0;border:none}._rightIcon_235d9_67{position:absolute;top:50%;right:12px;transform:translateY(-50%);display:flex}._leftIcon_235d9_75{position:absolute;top:50%;left:10px;transform:translateY(-50%)}._requiredStar_235d9_82{color:var(--text-action)}._button_3j1b9_1{display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:center;padding:10px 16px;border-radius:var(--button-radius);cursor:pointer;font-size:var(--button-size);height:var(--button-height);transition:background .3s ease}._button_3j1b9_1:disabled{opacity:.7;cursor:auto}._primary_3j1b9_20{color:var(--button-primary-text-color);box-shadow:var(--button-primary-box-shadow);background:var(--button-primary-background);height:var(--button-primary-height);font-size:var(--button-primary-size);border-radius:var(--button-primary-radius);font-family:var(--button-primary-font),sans-serif!important}._primaryHovered_3j1b9_30:hover{background:var(--button-primary-background-hover);color:var(--button-primary-text-color-hover)}._secondary_3j1b9_35{color:var(--button-secondary-text-color);box-shadow:var(--button-secondary-box-shadow);background:var(--button-secondary-background);height:var(--button-secondary-height);font-size:var(--button-secondary-size);border-radius:var(--button-secondary-radius);font-family:var(--button-secondary-font),sans-serif}._secondaryHovered_3j1b9_45:hover{background:var(--button-secondary-background-hover);color:var(--button-secondary-text-color-hover)}._tertiary_3j1b9_50{color:var(--button-tertiary-text-color);box-shadow:var(--button-tertiary-box-shadow);background:var(--button-tertiary-background);height:var(--button-tertiary-height);font-size:var(--button-tertiary-size);border-radius:var(--button-tertiary-radius);font-family:var(--button-tertiary-font),sans-serif!important}._special_3j1b9_60{color:var(--text-action)}._tertiaryHovered_3j1b9_64:hover{background:var(--button-tertiary-background-hover);color:var(--button-tertiary-text-color-hover)}._content_3j1b9_69{display:flex;flex-direction:row;gap:4px;align-items:center;font-family:var(--button-primary-font),sans-serif!important}._modal_1iz94_1{display:flex;flex-direction:row;gap:0px;position:fixed;top:0;left:0;right:0;bottom:0;background:var(--surface-modal);z-index:100000!important;justify-content:center;align-items:center;overflow:hidden}._padding_1iz94_17{padding:5px}._content_1iz94_21{display:flex;flex-direction:row;gap:0px;animation:_fadeIn_1iz94_1 .3s ease-out forwards;width:100%;height:100%;align-items:center;justify-content:center}@keyframes _fadeIn_1iz94_1{0%{transform:scale(.95) translateY(10px);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}._close_1iz94_42{animation:_fadeOut_1iz94_1 .3s ease-out forwards}@keyframes _fadeOut_1iz94_1{0%{transform:scale(1) translateY(0);opacity:1}to{transform:scale(.95) translateY(10px);opacity:0}}._loader_3je9m_1{border:2px solid var(--text-primary);border-left-color:var(--surface-primary);border-radius:50%;width:20px;height:20px;animation:_spin_3je9m_1 1s linear infinite}@keyframes _spin_3je9m_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._container_6vcrl_1{width:100%}._wrapper_6vcrl_5{margin:0 auto;width:100%}._wrapper_oxpf7_1{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%;position:relative}._label_oxpf7_10{width:100%;color:var(--input-label-color);line-height:var(--input-label-height);font-size:var(--input-label-size);text-align:var(--input-label-alignment);font-weight:400}._contentBorder_oxpf7_19{border:var(--input-border-thickness) var(--input-border-style) var(--input-border-color)}._textarea_oxpf7_23{width:100%;border-radius:12px;padding:8px 12px;font-size:var(--input-size);line-height:var(--input-height);resize:none;min-height:80px;color:var(--input-color);background-color:inherit}._contentField_oxpf7_35{background:var(--input-field-color)}._textarea_oxpf7_23::placeholder{color:var(--input-placeholder-color);font-size:var(--input-size);line-height:var(--input-height)}._textarea_oxpf7_23:focus{border:var(--input-border-thickness) var(--input-border-style) var(--input-border-color)}._length_oxpf7_49{position:absolute;bottom:12px;right:12px;color:var(--input-placeholder-color);line-height:20px}._wrapper_ty9h3_2{display:flex;flex-direction:column;gap:6px;width:100%}._label_ty9h3_9{color:var(--text-secondary);line-height:20px;font-size:14px;font-weight:400;flex:1 1 auto}._top_ty9h3_17{display:flex;flex-direction:row;gap:8px}._select_ty9h3_23{display:flex;align-items:center;justify-content:space-between;width:100%;background-color:var(--surface-secondary);transition:border .3s ease;border-radius:var(--border-radius);padding:10px 12px;font-size:14px;line-height:20px;cursor:pointer;outline:none;border:var(--border-thickness) solid var(--border-primary)}._select_ty9h3_23:hover{border:var(--border-thickness) solid var(--border-secondary)}._borderFocused_ty9h3_42,._borderFocused_ty9h3_42:hover{border:var(--border-thickness) solid var(--border-primary)}._input_ty9h3_49{width:100px;border:none;outline:none;font-size:16px;background-color:transparent;color:var(--text-primary);flex:1 1 auto}._icon_ty9h3_59{transition:transform .2s;display:flex}._rotate_ty9h3_64{transform:rotate(180deg)}._content_ty9h3_68{position:relative}._options_ty9h3_72{display:flex;flex-direction:column;gap:10px;position:absolute;top:50px;width:100%;background-color:var(--surface-primary);border-radius:var(--border-radius);font-size:16px;line-height:20px;z-index:10;cursor:pointer;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease,max-height .2s linear;max-height:0;padding:5px 6px;border:var(--border-thickness) solid var(--border-secondary)}._filteredOptions_ty9h3_93{overflow-y:auto}._open_ty9h3_97{opacity:1;visibility:visible;max-height:200px}._option_ty9h3_72{padding:5px 6px;border-radius:12px;display:flex;flex-direction:row;gap:8px;align-items:center}._option_ty9h3_72:hover,._focused_ty9h3_115{background-color:var(--surface-secondary)}._addon_ty9h3_119{margin-right:8px;display:flex;align-items:center;justify-content:center}._clear_ty9h3_126{margin:0 4px}._value_ty9h3_130{flex:1 1 auto;color:var(--text-primary)}._postfix_ty9h3_135{color:var(--text-secondary)}._leftAddon_ty9h3_139{display:flex;align-items:center;justify-content:center}._wrapper_2vleg_1{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%}._label_2vleg_9{width:100%;color:var(--text-secondary);line-height:20px;font-size:14px;font-weight:400}._options_2vleg_17{display:flex;flex-direction:row;gap:20px}._radioLabel_2vleg_23{display:flex;flex-direction:row;gap:0px;align-items:center;cursor:pointer;position:relative}._radio_2vleg_23{position:absolute;opacity:0;cursor:pointer}._custom_2vleg_38{height:20px;width:20px;border-radius:50%;border:1px solid #e6e6e6;display:inline-block;margin-right:8px;position:relative}._radio_2vleg_23:checked+._custom_2vleg_38{border-color:var(--border-action);background:var(--surface-primary)}._custom_2vleg_38:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:8px;height:8px;border-radius:50%;background-color:var(--surface-action1);opacity:0}._radio_2vleg_23:checked+._custom_2vleg_38:after{opacity:1}._option_2vleg_17{font-size:16px;line-height:24px;font-weight:400}._content_eonwv_1{display:flex;flex-direction:column;gap:0px;position:relative;overflow-y:auto;overflow-x:hidden;color:var(--text-primary);background:var(--surface-primary)}._main_eonwv_12{flex:1 0 auto}._block_eonwv_16{position:relative;cursor:pointer;scroll-margin-top:30px}._active_eonwv_22{border:2px solid #ff3f19;position:absolute;top:0;left:0;right:0;bottom:0;z-index:1}._name_eonwv_32{z-index:10;position:absolute;top:-28px;left:0;border-top-left-radius:8px;border-top-right-radius:8px;color:#fff;background:#ff3f19;padding:4px 12px;line-height:20px;font-size:14px;font-weight:400;text-align:center}._empty_eonwv_48{display:flex;flex-direction:column;gap:4px;height:100%;width:100%;align-items:center;justify-content:center;text-align:center}._icon_eonwv_59{display:flex;flex-direction:row;gap:0px;width:64px;height:64px;background-color:var(--background-color);border-radius:50%;justify-content:center;align-items:center;margin:0 0 8px}._title_eonwv_72{font-weight:700;font-size:24px;line-height:32px}._text_eonwv_78{font-size:16px;line-height:24px;color:var(--accent-color)}._sections_eonwv_84{display:flex;flex-direction:row;gap:24px;padding:0 20px;margin:20px 0 0;flex-wrap:wrap;justify-content:center}._section_eonwv_84{display:flex;flex-direction:row;gap:10px;cursor:pointer;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)}._addSection_eonwv_109{position:absolute;left:50%;transform:translate(-50%);bottom:-20px;z-index:10}._addSectionTop_eonwv_117{top:-20px;bottom:auto}._sidebar_xhqpt_1{display:flex;flex-direction:row;gap:0px;position:absolute;height:fit-content();flex-direction:column;right:10px;z-index:20;padding:10px;cursor:auto}._content_xhqpt_14{height:100%;border:1px solid #e6e6e6;border-radius:12px;background-color:#fff;padding:8px;max-width:60px;width:100%}._button_xhqpt_24{display:flex;flex-direction:row;gap:0px;align-items:center;border-radius:8px;padding:8px;transition:.2s background-color}._button_xhqpt_24:disabled{opacity:.7}._button_xhqpt_24:disabled:hover{background-color:transparent}._moveButton_xhqpt_40:hover{background-color:var(--background-color)}._border_xhqpt_44{border-bottom:var(--default-border);margin:2px 0}._deleteButton_xhqpt_49:hover{background-color:#f0f0f0}@font-face{font-family:Geist Variable;src:url(data:font/woff2;base64,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) format("woff2");font-weight:100 900;font-display:swap;font-synthesis:none}._statItem_fzeec_1{display:flex;flex-direction:column;justify-content:space-between;width:100%;border:var(--border-thickness) solid var(--border-secondary);border-radius:var(--border-radius);overflow:hidden}._imageFallback_fzeec_11{display:flex;flex-direction:column;min-height:300px;background-color:var(--surface-primary);padding:1rem;border-radius:var(--border-radius)}._imageFallback_fzeec_11 ._icon_fzeec_19{display:flex;justify-content:center;flex:1}._imageFallback_fzeec_11 ._imageName_fzeec_24{margin-top:auto;font-weight:600}._imageBackground_fzeec_29{min-height:300px;display:flex;flex-direction:column;justify-content:flex-end;background-size:cover;background-repeat:no-repeat;border-radius:var(--border-radius);padding:1rem;color:#fff}._imageBackground_fzeec_29 ._imageName_fzeec_24{font-weight:600}._content_fzeec_44{padding:1rem;height:100%;display:flex;align-items:center}._content_fzeec_44._withChildren_fzeec_50{flex-direction:column;align-items:flex-start;justify-content:space-between}._info_fzeec_56{display:flex;gap:12px}._info_fzeec_56._infoNoImage_fzeec_60{flex-direction:column}@media (min-width: 1024px){._info_fzeec_56._infoNoImage_fzeec_60{flex-direction:row}}._info_fzeec_56 ._iconWrapper_fzeec_68{display:flex;align-items:center;justify-content:center;border-radius:var(--border-radius);background-color:var(--surface-secondary);padding:10px;width:48px;height:48px}._info_fzeec_56 ._text_fzeec_78{display:flex;flex-direction:column;justify-content:center;gap:.25rem}._info_fzeec_56 ._text_fzeec_78 ._title_fzeec_84{font-size:var(--font-size-sm);color:var(--text-secondary)}._info_fzeec_56 ._text_fzeec_78 ._value_fzeec_88{font-size:var(--font-size-lg);color:var(--text-primary);font-weight:700}._emptyImage_fzeec_94{display:flex;align-items:center;justify-content:center;position:relative;min-width:250px;min-height:350px;width:100%;height:100%;object-fit:cover;opacity:.92;background-color:var(--surface-secondary)}._image_fzeec_11{opacity:.6}._imageTitle_fzeec_112{font-size:var(--font-size-lg);color:#fff;font-weight:700}._imageDescription_fzeec_118{color:var(--text-secondary)}._emptyImageText_fzeec_122{position:absolute;max-width:216px;bottom:16px;left:16px;right:16px;display:flex;flex-direction:column;gap:4px}._emptyImageText_fzeec_122 ._title_fzeec_84{font-size:var(--font-size-lg);color:var(--text-primary);font-weight:700}._emptyImageText_fzeec_122 ._description_fzeec_137{color:var(--text-secondary)}._emptyImageText_fzeec_122 ._imageTitle_fzeec_112{color:#fff}._emptyImageText_fzeec_122 ._imageDescription_fzeec_118{color:var(--text-secondary)}._hoverable_fzeec_147{transition:opacity .3s ease;cursor:pointer}._hoverable_fzeec_147:hover{opacity:1}._card_10fve_2{margin-bottom:1rem;display:none;flex-direction:column;align-items:center;width:100%;padding:1rem}@media (min-width: 1280px){._card_10fve_2{display:flex}}._card_10fve_2._mobile_10fve_15{display:none}._email_10fve_19{margin-bottom:.25rem;font-weight:700;color:var(--text-primary)}._balance_10fve_25{padding:.25rem .5rem;font-size:var(--font-size-base);color:var(--surface-action1)}._sidebar_10fve_32{width:100%;padding:1rem}@media (min-width: 1280px){._sidebar_10fve_32{border-right:1px solid var(--border-secondary);padding:1.5rem 1rem 1.5rem 1.5rem;max-width:320px}}._sidebar_10fve_32._mobile_10fve_15{width:100%;padding:1rem}@media (min-width: 1280px){._sidebar_10fve_32._mobile_10fve_15{border-right:none;max-width:100%}}._navList_10fve_56{display:flex;gap:.25rem;overflow-x:auto;flex-direction:row}@media (min-width: 1280px){._navList_10fve_56{flex-direction:column}}._navList_10fve_56._mobile_10fve_15{flex-direction:row}._navItem_10fve_71{display:flex;align-items:center;padding:.75rem .5rem;width:100%;border-bottom:1px solid transparent;cursor:pointer;border-radius:var(--border-radius)}._navItem_10fve_71:hover{background-color:var(--surface-secondary)}._activeNavItem_10fve_84{background-color:var(--surface-secondary);color:var(--text-primary)}._inactiveNavItem_10fve_89{background-color:var(--surface-primary);color:var(--text-secondary);transition:background-color .3s ease-in-out}._inactiveNavItem_10fve_89:hover{background-color:var(--surface-secondary)}._logoutNavItem_10fve_98{color:var(--text-action);white-space:nowrap;transition:background-color .3s ease-in-out}._logoutNavItem_10fve_98:hover{background-color:var(--surface-secondary)}._iconWrapper_10fve_107{margin-right:.5rem;display:flex}._skeleton_10fve_112._mobile_10fve_15{display:none}._balanceContainer_qonmh_1{padding:1.5rem;margin-bottom:1rem;border:var(--border-thickness) solid var(--border-secondary);border-radius:var(--border-radius)}._transactionsHeaderTitle_qonmh_8,._headerTitle_qonmh_12{color:var(--text-primary)}._balanceHeader_qonmh_16{display:flex;gap:.5rem;align-items:flex-end;flex-wrap:wrap}._balanceAmount_qonmh_23{display:flex;flex-direction:column;gap:.5rem;flex:1 0 100%}@media (min-width: 768px){._balanceAmount_qonmh_23{margin-bottom:0;flex:auto}}._balanceAmountTitle_qonmh_36{font-size:var(--font-size-base);color:var(--text-secondary)}._balanceAmountValue_qonmh_41{font-size:var(--font-size-xxl);font-weight:700;color:var(--text-primary)}._balanceActions_qonmh_47{display:flex;gap:.5rem;flex:1 0 100%}._balanceActions_qonmh_47 ._actionButton_qonmh_52{width:100%}@media (min-width: 768px){._balanceActions_qonmh_47{justify-content:flex-end;flex:inherit}}._actionButton_qonmh_52{display:flex;align-items:center;justify-content:center;padding:.5rem 1rem}._transactionDate_qonmh_69{padding:.75rem 1rem;font-size:var(--font-size-sm);color:var(--text-secondary);border-bottom:var(--border-thickness) solid var(--border-secondary)}._transactionItem_qonmh_76{display:flex;align-items:center;padding:.75rem 1rem;justify-content:space-between;gap:10px}._transactionDetails_qonmh_84{display:flex;align-items:center;gap:1rem}._transactionDetails_qonmh_84 ._iconWrapper_qonmh_89{color:var(--text-primary);background-color:var(--surface-secondary);padding:10px;border-radius:var(--border-radius);display:flex;align-items:center;justify-content:center;min-width:40px;height:40px}._transactionDetails_qonmh_84 ._transactionInfo_qonmh_100{display:flex;flex-direction:column;gap:4px}._transactionDetails_qonmh_84 ._transactionInfo_qonmh_100 ._transactionTitle_qonmh_105{color:var(--text-inverted);font-weight:700}._transactionDetails_qonmh_84 ._transactionInfo_qonmh_100 ._transactionId_qonmh_109{font-size:var(--font-size-sm);color:var(--text-secondary);word-break:break-all}._transactionAmount_qonmh_115{font-size:var(--font-size-base);font-weight:700;white-space:nowrap}._transactionAmount_qonmh_115._added_qonmh_120{color:var(--text-success)}._transactionAmount_qonmh_115._removed_qonmh_123{color:var(--text-primary)}._noItemsBlock_qonmh_127{margin-top:1rem;border:none;display:flex;align-items:center;justify-content:center;height:50vh}._pagination_qonmh_136{margin-top:1rem;display:flex;justify-content:center}._modal_qonmh_142{background-color:var(--surface-primary);border-radius:var(--border-radius);max-width:600px}._modal_qonmh_142 ._header_qonmh_12{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:var(--border-thickness) solid var(--border-secondary)}._modal_qonmh_142 ._form_qonmh_154{padding:24px;display:flex;flex-direction:column;gap:16px}._modal_qonmh_142 ._label_qonmh_160{display:flex;flex-direction:column;gap:4px}._modal_qonmh_142 ._formInput_qonmh_165 input{padding-left:2rem}._modal_qonmh_142 ._formInput_qonmh_165 ._icon_qonmh_89{position:absolute;left:1rem;color:var(--text-secondary)}._modal_qonmh_142 ._bonusBlock_qonmh_173{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;color:var(--surface-action1);margin-top:-5px;width:fit-content;background:var(--surface-secondary);border-radius:var(--border-radius)}._modal_qonmh_142 ._bonusBlock_qonmh_173 ._icon_qonmh_89{flex-shrink:0}._modal_qonmh_142 ._gatewayList_qonmh_187{display:grid;gap:1rem;grid-template-columns:repeat(2,1fr);padding-top:1.5rem;border-top:var(--border-thickness) solid var(--border-primary)}._modal_qonmh_142 ._gatewayList_qonmh_187 ._gatewayButton_qonmh_194{padding:1rem;border-radius:var(--border-radius);border:var(--border-thickness) solid var(--border-primary);display:flex;flex-direction:column;align-items:center;cursor:pointer;color:var(--text-primary)}._modal_qonmh_142 ._gatewayList_qonmh_187 ._gatewayButton_qonmh_194._selected_qonmh_204{border-color:var(--surface-action1)}._modal_qonmh_142 ._gatewayList_qonmh_187 ._gatewayButton_qonmh_194 img{height:1.5rem;margin-bottom:1rem}._modal_qonmh_142 ._gatewayList_qonmh_187 ._gatewayButton_qonmh_194 ._gatewayName_qonmh_211{font-size:var(--font-size-sm)}._modal_qonmh_142 ._error_qonmh_214{color:var(--surface-action1);margin:.5rem 0 1rem;font-size:var(--font-size-sm)}._modal_qonmh_142 ._submitButton_qonmh_219{width:100%;padding:.75rem;text-align:center}._modal_qonmh_142 ._infoBlock_qonmh_224{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background-color:var(--surface-primary);border-radius:var(--border-primary);font-size:var(--font-size-xs);color:var(--text-secondary)}._modal_qonmh_142 ._infoBlock_qonmh_224:first-child{flex:1 1 100%}._addBalanceButton_qonmh_238{display:flex;gap:5px;align-items:center}@media (max-width: 768px){._addBalanceButton_qonmh_238{flex:1 0 auto}}._iconBlock_qonmh_249{display:flex;align-items:center;justify-content:center;height:100%;flex:1 0 auto}._gatewayIcon_qonmh_257{object-fit:contain}._modalPayment_qonmh_261{display:flex;padding:24px;flex-direction:column;align-items:center;gap:16px}._title_qonmh_269{color:var(--text-primary);text-align:center}._description_qonmh_274{color:var(--text-secondary);text-align:center}._loaderContainer_qonmh_279{display:flex;justify-content:center;align-items:center;height:100%;width:100%}._transactionsContainer_qonmh_287{border:var(--border-thickness) solid var(--border-secondary);border-radius:var(--border-radius)}._transactionsHeader_qonmh_8{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-left:8px;margin-bottom:16px}._transactionsContent_qonmh_301{height:55vh;overflow-y:scroll}._home_20unt_1{display:flex;flex-direction:column;gap:20px;width:100%}@media (min-width: 1024px){._home_20unt_1{padding-bottom:1.5rem}}._content_20unt_13{display:grid;gap:24px;grid-template-columns:repeat(4,1fr)}@media (max-width: 1024px){._content_20unt_13{grid-template-columns:repeat(2,1fr)}}@media (max-width: 524px){._content_20unt_13{grid-template-columns:repeat(1,1fr)}}._content_20unt_13._tablet_20unt_28{grid-template-columns:repeat(2,1fr)}._content_20unt_13._mobile_20unt_31{grid-template-columns:repeat(1,1fr)}._statContainer_20unt_35{display:grid;grid-template-columns:1fr;gap:.5rem;width:100%}@media (min-width: 1024px){._statContainer_20unt_35{gap:1rem}}._text_20unt_47{font-size:.75rem;color:var(--text-secondary);display:flex;align-items:center}._text_20unt_47 ._iconWrapper_20unt_53{margin:0 .25rem}._loader_20unt_57{display:flex;justify-content:center;align-items:center;width:100%;height:100%}._title_20unt_65{color:var(--text-primary)}._container_caax0_1{display:grid;gap:1rem}@media (min-width: 1024px){._container_caax0_1{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1280px){._container_caax0_1{grid-template-columns:repeat(3,1fr)}}._container_caax0_1._tablet_caax0_15{grid-template-columns:repeat(2,1fr)}._container_caax0_1._mobile_caax0_18{grid-template-columns:repeat(1,1fr)}._progress_caax0_22{margin-top:1rem}._status_caax0_26{margin-top:.75rem;border-radius:var(--border-radius);padding:4px 8px;display:flex;align-items:center;background-color:var(--surface-secondary);color:var(--text-secondary);font-size:14px}._name_caax0_37{font-size:16px;font-weight:700;line-height:24px;color:var(--text-primary)}._completed_caax0_44{color:var(--text-action);background-color:var(--surface-error);gap:5px}._title_caax0_50{margin:1rem 0;font-weight:600;display:flex;align-items:center;gap:8px}._description_caax0_58{text-align:center;margin-bottom:1rem;font-size:.875rem;color:var(--text-secondary)}._button_caax0_65{margin-top:auto;width:100%;display:flex;gap:5px;align-items:center}._achievement_caax0_73{display:flex;flex-direction:column;border:1px solid var(--border-secondary);border-radius:1rem;padding:1.5rem;align-items:center}._progress_caax0_22{position:relative;display:flex;align-items:center;justify-content:center}._progress_caax0_22 svg{transform:rotate(-90deg)}._progressText_caax0_92{position:absolute;font-size:1rem;font-weight:700;color:var(--text-secondary)}._progressTextStart_caax0_99{color:var(--text-action)}._progressBackground_caax0_103{stroke:var(--border-secondary)}._progressForeground_caax0_107{stroke:var(--surface-action1)}._icon_caax0_111{width:24px;height:24px;padding:3px;justify-content:center;align-items:center;display:flex;border-radius:var(--border-radius);background-color:var(--surface-secondary)}._loader_caax0_122{display:flex;justify-content:center;align-items:center;height:100%;width:100%}._appContainer_8shao_1{display:flex;flex-direction:row;width:100%;height:100%;max-width:var(--max-width-store);background-color:var(--surface-primary);margin:0 auto;animation:_slideUp_8shao_1 .3s ease-out}@media (max-width: 1280px){._appContainer_8shao_1{flex-direction:column}}._appContainer_8shao_1._mobile_8shao_16{flex-direction:column}@media (min-width: 1280px){._appContainer_8shao_1._mobile_8shao_16{flex-direction:column}}@keyframes _slideUp_8shao_1{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}._contentContainer_8shao_35{padding:1.5rem 1rem;display:flex;flex-direction:column;width:100%}@media (min-width: 1280px){._contentContainer_8shao_35{padding:1.5rem 2.5rem 1.5rem 1.5rem}}._contentContainer_8shao_35._mobile_8shao_16{flex-direction:column}@media (min-width: 1280px){._contentContainer_8shao_35._mobile_8shao_16{padding:1.5rem 1rem}}._wrapper_10svy_2{display:flex;flex-direction:column}._tableContainer_10svy_7{border:var(--border-thickness) solid var(--border-secondary);border-radius:var(--border-radius);display:flex;flex-direction:column;justify-content:space-between;flex:1;width:100%}._title_10svy_17{font-size:24px;font-weight:600}._ticketsTable_10svy_22{overflow-x:auto;display:grid;grid-template-columns:1fr 2.5fr 1fr 1fr!important}._tableBody_10svy_28{overflow-y:auto;display:flex;flex-direction:column;width:100%;max-height:600px;min-width:750px}._scrollContainer_10svy_38{overflow-x:auto;-webkit-overflow-scrolling:touch}._scrollContainer_10svy_38 ._table_10svy_7{min-width:750px}._tableItem_10svy_46{border-bottom:var(--border-thickness) solid var(--border-secondary)!important}._tableItem_10svy_46:nth-last-child(-n+6){border-bottom:var(--border-thickness) solid var(--border-secondary)!important}._tableLoader_10svy_53{display:flex;justify-content:center;align-items:center;height:100%;width:100%;min-height:600px}._authContainer_1333o_2{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-color:var(--surface-primary)}._authWrapper_1333o_12{max-width:var(--max-width-store);width:100%;margin:0 auto;padding:0 1rem;max-width:480px}._authWrapper_1333o_12._inModal_1333o_19{max-width:100%;margin:0;padding:0}._formHeaderTitle_1333o_26{color:var(--text-primary);font-weight:700;font-size:var(--font-size-xxl);margin-bottom:.25rem}._formHeaderSubtitle_1333o_33{color:var(--text-secondary);margin-bottom:1.5rem}._formLabel_1333o_39{font-size:var(--font-size-sm);color:var(--text-secondary);margin-bottom:24px}._formInput_1333o_46{margin-top:.25rem}._formError_1333o_51{color:var(--surface-action1);margin-bottom:1.25rem}._submitButton_1333o_57{width:100%;flex:1 1 auto}._backButton_1333o_63 ._text_1333o_63{color:var(--text-secondary)}._otpInput_1333o_68{margin-bottom:1.25rem}._otpContainer_1333o_74{display:flex;align-items:center;margin-top:.5rem}._otpSlots_1333o_81{display:flex;width:100%;justify-content:space-between;gap:.375rem}._otpSlot_1333o_81{position:relative;width:5rem;height:5rem;display:flex;align-items:center;justify-content:center;transition:all .3s;border:var(--border-thickness) solid var(--border-primary);border-radius:var(--border-radius)}._otpSlot_1333o_81:hover,._otpSlot_1333o_81:focus-within{border-color:var(--surface-action1);opacity:.8}._otpSlot_1333o_81._active_1333o_104{outline:2px solid var(--surface-action1)}._otpSlotEmpty_1333o_109{color:var(--text-secondary)}._actionRow_1333o_113{display:flex;align-items:center;justify-content:space-between;gap:1rem}._authForm_1333o_120{display:flex;flex-direction:column}._formHeader_1333o_26{display:flex;flex-direction:column;gap:4px}._input_1333o_131{display:flex;flex-direction:column;gap:4px;margin:0 0 24px}._referralBlock_kla2r_2,._skeleton_kla2r_3{flex:0 1 50%;width:100%}@media (max-width: 1024px){._referralBlock_kla2r_2,._skeleton_kla2r_3{flex:1 1 100%}}._referralBlock_kla2r_2._mobile_kla2r_13,._skeleton_kla2r_3._mobile_kla2r_13{flex:1 1 100%}._referralContainer_kla2r_18,._skeleton_kla2r_3{height:100%;border:var(--border-thickness) solid var(--border-secondary);border-radius:var(--border-radius);padding:24px;display:flex;flex-direction:column;gap:12px}._title_kla2r_30{font-size:var(--font-size-xxl);font-weight:700;color:var(--text-primary)}._description_kla2r_36{margin-bottom:1rem;color:var(--text-secondary)}._label_kla2r_41{font-size:var(--font-size-sm);color:var(--text-secondary);margin-bottom:.25rem}._code_kla2r_47{background-color:var(--surface-0);color:var(--text-primary);border:1px solid var(--text-primary);border-radius:var(--border-radius-xl);padding:.75rem;margin-bottom:1rem}._linkContainer_kla2r_56{position:relative}._link_kla2r_56{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._copyButton_kla2r_66{position:absolute;right:0;bottom:15px;background:none;border:none;cursor:pointer;display:flex;align-items:center}._modalContainer_kla2r_77{display:flex;flex-direction:column;gap:24px;max-width:640px;background-color:var(--surface-primary);border-radius:var(--border-radius)}._steps_kla2r_86{display:flex;flex-direction:column;gap:24px}._joinButton_kla2r_92{max-width:200px}._stepItem_kla2r_97{display:flex;font-size:var(--font-size-sm);color:var(--text-secondary)}._iconContainer_kla2r_103{display:flex;flex-direction:column;align-items:center;margin-right:.5rem;margin-bottom:.25rem}._index_kla2r_111{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;background-color:var(--surface-secondary);border-radius:50%;font-weight:700;margin-bottom:.25rem}._bar_kla2r_123{width:.25rem;height:2.375rem;background-color:var(--surface-secondary);border-radius:var(--border-radius-2xl)}._content_kla2r_130{display:flex;flex-direction:column}._caption_kla2r_135{margin-bottom:.25rem;font-weight:700;text-transform:uppercase}._descriptionStep_kla2r_141{line-height:1.5}._label_kla2r_41{font-size:var(--font-size-sm);color:var(--text-secondary)}._error_kla2r_151{color:var(--signal-danger)}._infoBlock_kla2r_155{padding:12px;background-color:var(--surface-secondary);display:flex;border-radius:var(--border-radius);align-items:center;margin-bottom:16px}._infoIcon_kla2r_164{height:20px;width:20px;margin-right:10px;display:flex;justify-content:center;align-items:center}._infoText_kla2r_173{font-size:var(--font-size-sm);color:var(--text-secondary)}._actions_kla2r_178{display:flex;justify-content:flex-end}._cancelButton_kla2r_183{margin-right:.75rem}._referralStats_kla2r_187{flex:0 1 50%;display:grid;grid-template-columns:1fr 1fr;gap:1rem;height:100%;width:100%}@media (max-width: 1024px){._referralStats_kla2r_187{flex:1 1 100%}}._referralStats_kla2r_187._mobile_kla2r_13{flex:1 1 100%}._referralInfo_kla2r_204{display:flex;flex-direction:column;gap:16px}._referralStatsItem_kla2r_210{display:flex;flex-direction:column;gap:10px;border:var(--border-thickness) solid var(--border-secondary);border-radius:var(--border-radius);padding:24px;height:100%}._referralStatsItemValue_kla2r_220{flex:1 1 auto;color:var(--text-primary)}._referralStatsItemLabel_kla2r_225{color:var(--text-secondary)}._referral_kla2r_2{display:flex;align-items:stretch;justify-content:space-between;gap:24px}@media (max-width: 1024px){._referral_kla2r_2{flex-direction:column}}._referral_kla2r_2._mobile_kla2r_13{flex-direction:column}._header_kla2r_244{display:flex;flex-direction:row;gap:24px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border-secondary);padding:24px}._contentModal_kla2r_254{padding:0 24px 24px;display:flex;flex-direction:column;gap:16px}._title_u8oqs_1{margin-top:8px;margin-bottom:16px;margin-left:8px;display:flex;flex-direction:column;gap:5px}._heading_u8oqs_10{font-weight:700;color:var(--text-primary)}._description_u8oqs_15{color:var(--text-secondary)}._noItemsBlock_1yh5m_4{display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1}._noItemsBlockIcon_1yh5m_13{width:1.75rem;height:1.75rem;color:var(--text-secondary);text-align:center}._noItemsBlockTitle_1yh5m_21{font-weight:700;font-size:var(--font-size-h2);color:var(--text-secondary);margin-top:.75rem;margin-bottom:.25rem;text-align:center}._noItemsBlockDescription_1yh5m_31{font-size:var(--font-size-p);color:var(--text-secondary);text-align:center}._ordersTable_2kxse_2{border:var(--border-thickness) solid var(--border-secondary);border-radius:var(--border-radius);display:flex;flex-direction:column;justify-content:space-between}._gatewayItem_2kxse_10{display:flex;align-items:center}._gatewayIcon_2kxse_15{height:1.5rem;margin-right:.25rem}._orderTime_2kxse_20{font-size:var(--font-size-xs);color:var(--text-secondary)}._reviewContainer_2kxse_25{display:flex;align-items:center;justify-content:center}._reviewIcon_2kxse_31{color:var(--brand-default)}._reviewRating_2kxse_35{margin-left:.25rem}._tableLoader_2kxse_39{display:flex;justify-content:center;align-items:center;height:100%;width:100%;min-height:600px}._tableItem_2kxse_48{border-bottom:var(--border-thickness) solid var(--border-secondary)!important}._orderRow_2kxse_52{cursor:pointer;transition:background-color .3s ease;display:flex;width:100%;justify-content:space-between;align-items:center}._orderRow_2kxse_52:hover{background-color:var(--background-secondary)}._table_wb4kd_4{overflow-x:auto;display:grid;grid-template-columns:minmax(120px,auto) repeat(5,minmax(min-content,auto))}._tableItem_wb4kd_11{display:flex;align-items:center;justify-content:flex-start;padding:1rem 1.5rem;border-bottom:var(--border-thickness) solid var(--border-secondary);color:var(--text-primary);gap:4px}._tableItem_wb4kd_11:nth-last-child(-n+6){border-bottom:none}._text_wb4kd_24{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._tableItemTitle_wb4kd_31{font-size:var(--font-size-sm);text-transform:uppercase;color:var(--text-secondary)}._paginationContainer_pt4l5_4{display:flex;gap:.5rem;flex-wrap:wrap}._paginationWithRange_pt4l5_16{display:flex;align-items:flex-start;justify-content:flex-start;flex-direction:column;padding:1rem;margin-top:auto;border-top:var(--border-thickness) solid var(--border-secondary)}@media (min-width: 1024px){._paginationWithRange_pt4l5_16{height:72px;justify-content:space-between;align-items:center;flex-direction:row}}._paginationWithRangeText_pt4l5_33{color:var(--text-secondary);display:flex;justify-content:center;align-items:center;margin-bottom:.5rem}@media (min-width: 1024px){._paginationWithRangeText_pt4l5_33{margin-bottom:0}}._paginationWithRangePagination_pt4l5_45{display:flex;justify-content:center;align-items:center}._statusIndicator_1mzab_4{display:flex;align-items:center;justify-content:start;border-radius:9999px;padding:4px 8px}._statusIndicatorSuccess_1mzab_11{background-color:var(--surface-success);color:var(--text-success)}._statusIndicatorWarning_1mzab_15{background-color:var(--surface-warning);color:var(--text-warning)}._statusIndicatorError_1mzab_19{background-color:var(--surface-error);color:var(--text-error)}._statusIndicatorText_1mzab_23{margin-left:.25rem}._deliveryItem_1g5gg_1{padding:.5rem 1rem;min-width:120px;display:flex;gap:.25rem;justify-content:center;align-items:center;background-color:var(--surface-primary);border-radius:var(--border-radius);cursor:pointer}._deliveryItemText_1g5gg_13{color:var(--text-primary);font-size:var(--font-size-sm)}._paymentMethod_9qeps_2{padding:12px 16px;display:flex;position:relative;justify-content:space-between;flex-direction:column;border:var(--border-thickness) solid var(--border-secondary);border-radius:var(--border-radius);cursor:pointer;transition:border-color .3s ease;background-color:var(--surface-primary);gap:16px}._paymentMethod_9qeps_2._selected_9qeps_15{border-color:var(--surface-action1)}._paymentMethod_9qeps_2._alignColumn_9qeps_18{flex-direction:column-reverse;height:5.75rem;padding:1rem;align-items:flex-start}._paymentMethod_9qeps_2._reversed_9qeps_24{flex-direction:column-reverse;align-items:flex-start}._paymentText_9qeps_29{font-size:var(--font-size-base);flex:1 1 100%;color:var(--text-primary)}._balanceText_9qeps_35{color:var(--text-secondary)}._signInLink_9qeps_39{color:var(--surface-action1);text-decoration:underline;cursor:pointer}._signInLink_9qeps_39:hover{text-decoration:none}._iconContainer_9qeps_48{display:flex;gap:1rem;align-items:center;width:100%}._gatewayLogo_9qeps_55,._poweredByLogo_9qeps_56{width:24px;height:24px}._logo_9qeps_61{width:100%;height:100%;min-width:24px;object-fit:contain}._poweredByLogo_9qeps_56{display:flex;align-items:center;position:absolute;top:12px;right:10px}._container_8fahb_1{padding:16px 0;margin-top:1rem;display:flex;align-items:center;gap:10px}._text_8fahb_9{font-size:var(--font-size-xs);color:var(--text-secondary)}._link_8fahb_14{color:var(--text-link);display:inline-block}._link_8fahb_14:hover{text-decoration:underline}._securedBySsl_12tku_2{padding:16px 0;margin-top:1rem;display:flex;align-items:center;gap:10px}._text_12tku_10{font-size:var(--font-size-xs);color:var(--text-secondary)}._bottomSheet_odxb1_1{height:100%;display:flex;flex-direction:column;padding:16px 24px}._title_odxb1_8,._contentTitle_odxb1_12,._contentText_odxb1_16,._discordMessageTitle_odxb1_20{color:var(--text-primary)}._content_odxb1_12{flex:1}._content_odxb1_12 ._section_odxb1_27{display:flex;align-items:center;justify-content:space-between}._content_odxb1_12 ._section_odxb1_27 ._copyButton_odxb1_32{color:var(--text-secondary);display:flex;gap:.25rem}._content_odxb1_12 ._scrollableBox_odxb1_37{padding:.75rem;margin-top:.5rem;width:100%;height:276px;background-color:var(--surface-secondary);border-radius:var(--border-radius);overflow:auto;scrollbar-width:thin}._content_odxb1_12 ._discordMessage_odxb1_20{padding:.75rem;margin-top:.5rem;width:100%;background-color:var(--surface-secondary);border-radius:var(--border-radius);overflow:auto;scrollbar-width:thin}._buttonGroup_odxb1_57{display:flex;gap:.75rem;justify-content:flex-end;margin-top:2rem}@media (min-width: 768px){._buttonGroup_odxb1_57{width:50%;margin-left:auto}}._buttonGroup_odxb1_57 ._buttonWrapper_odxb1_69{width:fit-content}._modal_odxb1_73{background-color:var(--surface-primary);border-radius:var(--border-radius);max-width:700px;width:100%}._header_odxb1_80{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom:var(--border-thickness) solid var(--border-secondary)}._chargeStatusBlock_7d2a5_4{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:.5rem}._chargeStatusIcon_7d2a5_14{padding:.75rem;border-radius:var(--border-radius);background-color:var(--surface-primary);display:flex;align-items:center;justify-content:center}._chargeStatusTitle_7d2a5_24{font-weight:700;color:var(--text-primary)}._chargeStatusDescription_7d2a5_30{font-size:var(--font-size-sm);color:var(--text-secondary)}._pickUpButton_7d2a5_36{margin-top:.75rem;width:100%;display:flex;align-items:center;justify-content:center;gap:.25rem}._actionButtons_7d2a5_46{display:flex;gap:.5rem;margin-top:.75rem;width:100%}._actionButtons_7d2a5_46 ._actionButton_7d2a5_46{width:100%;display:flex;align-items:center;gap:.25rem}._actionButtons_7d2a5_46 ._actionButton_7d2a5_46 ._buttonText_7d2a5_58{color:var(--text-secondary);margin-left:5px}._trackPaymentContainer_1g5yl_1{position:relative}._trackPaymentBox_1g5yl_5{padding:1rem 1.5rem;background-color:var(--surface-secondary);border-radius:var(--border-radius);position:absolute;width:100%;bottom:60px;z-index:50;transition:all .3s ease-in-out;opacity:0;visibility:hidden}._trackPaymentBoxActive_1g5yl_18{opacity:1;visibility:visible}._trackPaymentHeader_1g5yl_23{padding-bottom:1rem}._trackPaymentTitle_1g5yl_27{font-weight:700;font-size:var(--font-size-lg);color:var(--text-primary)}._trackPaymentTimeline_1g5yl_33{display:flex;flex-direction:column;gap:1rem;max-height:230px;overflow:auto;scrollbar-width:thin}._trackPaymentItem_1g5yl_42{display:flex;flex-direction:column;gap:.5rem}._itemHeader_1g5yl_48{display:flex;justify-content:space-between;font-size:var(--font-size-sm);color:var(--text-secondary)}._itemDate_1g5yl_55{font-weight:700}._itemMessage_1g5yl_59{margin-top:.5rem;color:var(--text-secondary)}._trackPaymentToggle_1g5yl_64{padding:0 1.5rem;height:3rem;display:flex;justify-content:space-between;align-items:center;background-color:var(--surface-secondary);border-radius:var(--border-radius);cursor:pointer}._trackPaymentToggleContent_1g5yl_75{display:flex;align-items:center;gap:.5rem}._trackPaymentToggleText_1g5yl_81{font-size:var(--font-size-sm);color:var(--text-primary)}._wrapper_wjbqf_1{display:grid;grid-template-columns:1fr 2.5fr 1fr 1fr;cursor:pointer;border-bottom:var(--border-thickness) solid var(--border-secondary)!important}._wrapper_wjbqf_1:last-child{border-bottom:none!important}._dateTime_wjbqf_11{color:var(--text-secondary)}._date_wjbqf_11{display:flex;flex-direction:column;gap:.5rem}._tableItem_wjbqf_21{overflow:visible}._status_wjbqf_25{display:flex;align-items:center;gap:.5rem;padding:8px 7px;border-radius:var(--border-radius);background-color:var(--surface-success)}._statusInProgress_wjbqf_34{background-color:var(--surface-secondary)}._statusText_wjbqf_38,._statusIcon_wjbqf_42{color:var(--text-success)}._statusInProgressText_wjbqf_46,._statusInProgressIcon_wjbqf_50{color:var(--text-secondary)}._tableItem_wjbqf_21{border-bottom:none!important}._tableContainer_1g3ca_1{border:var(--border-thickness) solid var(--border-secondary);border-radius:var(--border-radius);display:flex;flex-direction:column;justify-content:space-between}._table_1g3ca_1{overflow-x:auto;display:grid;grid-template-columns:minmax(120px,auto) minmax(0,20%) repeat(4,minmax(min-content,auto))!important}._itemTitle_1g3ca_15{text-align:left}._productInfo_1g3ca_19{display:flex;gap:.5rem;align-items:center;width:100%}._productImage_1g3ca_26{display:flex;justify-content:center;align-items:center;background-color:var(--surface-secondary);border-radius:var(--border-radius);padding:6px}._productName_1g3ca_35{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--text-primary)}._productName_1g3ca_35:hover{text-decoration:underline}._expirationDate_1g3ca_46{font-size:var(--font-size-xs);color:var(--text-secondary)}._overflowItem_1g3ca_51{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._gatewayContainer_1g3ca_57{display:flex;align-items:center}._gatewayImage_1g3ca_62{height:1.5rem;margin-right:.25rem}._dateTime_1g3ca_67{font-size:var(--font-size-xs);color:var(--text-secondary)}._tableLoader_1g3ca_72{display:flex;justify-content:center;align-items:center;height:100%;width:100%;min-height:600px}._tableItem_1g3ca_81{border-bottom:var(--border-thickness) solid var(--border-secondary)!important}._badge_1oac8_1{display:flex;align-items:center;justify-content:flex-start;gap:.25rem;padding:.25rem .5rem;border-radius:var(--border-radius);font-size:var(--font-size-sm);width:fit-content}._active_1oac8_12{color:var(--text-success);background-color:var(--surface-success)}._awaitingPayment_1oac8_17{color:var(--text-warning);background-color:var(--surface-warning)}._cancelled_1oac8_22,._changedGateway_1oac8_27,._expired_1oac8_32{color:var(--text-action);background-color:var(--surface-action1)}._rial_1oac8_37{color:var(--text-secondary);background-color:var(--surface-secondary)}._pastDue_1oac8_42{color:var(--text-action);background-color:var(--surface-action1)}._replaced_1oac8_47{color:var(--text-secondary);background-color:var(--surface-secondary)}._orderStatusBlock_1rc0r_2{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:.5rem}._iconWrapper_1rc0r_11{width:3rem;height:3rem;display:flex;align-items:center;justify-content:center;border-radius:var(--border-radius);background-color:var(--surface-secondary)}._orderStatusTitle_1rc0r_21{font-weight:700;color:var(--text-primary)}._orderStatusDescription_1rc0r_26{font-size:var(--font-size-sm);color:var(--text-secondary)}._actionButtons_1rc0r_31{display:flex;width:100%;gap:.5rem;margin-top:.75rem}._actionButton_1rc0r_31{width:100%}._button_1rc0r_42{display:flex;align-items:center;gap:5px;text-align:center;width:100%}._modal_1rkmj_1{background-color:var(--surface-primary);border-radius:var(--border-radius);max-width:600px}._modalPayment_1rkmj_7{display:flex;padding:24px;flex-direction:column;align-items:center;gap:16px}._title_1rkmj_15{color:var(--text-primary);text-align:center}._description_1rkmj_20{color:var(--text-secondary);text-align:center}._header_2d8xd_1{display:flex;flex-direction:row;gap:24px;width:100%;padding:11px 22px;line-height:20px;border-bottom:var(--default-border);align-items:center;justify-content:space-between}._left_2d8xd_13,._right_2d8xd_14{display:flex;flex-direction:row;gap:24px;align-items:center}._loader_jr7a4_1{border:2px solid rgba(0,0,0,.6);border-left-color:var(--background-color);border-radius:50%;width:20px;height:20px;animation:_spin_jr7a4_1 1s linear infinite}@keyframes _spin_jr7a4_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._buttons_12rs0_1{display:flex;flex-direction:row;gap:5px;align-items:center}._button_12rs0_1{cursor:pointer;padding:10px;border-radius:12px;position:relative;display:flex;transition:background-color .3s ease}._button_12rs0_1:hover{background-color:#f0f0f0}._disabled_12rs0_20{cursor:default}._disabled_12rs0_20:hover{background-color:inherit}._wrapper_f6jyc_1{display:flex;flex-direction:column;gap:0px;height:100dvh;overflow-y:auto;overflow-x:hidden;background:var(--surface-primary);color:var(--text-primary)}._main_f6jyc_12{flex:1 1 auto;width:100vw;animation:_slideUp_f6jyc_1 .3s ease-out}@keyframes _slideUp_f6jyc_1{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}._loading_f6jyc_28{display:flex;flex-direction:row;gap:0px;width:100%;height:100%;justify-content:center;align-items:center}._tooltip_4hruj_1{font-size:12px;line-height:16px;background-color:#252525;color:#fff;padding:4px 8px;text-align:center;border-radius:8px;position:absolute;bottom:-30px;right:50%;transform:translate(50%);z-index:1000000;width:fit-content;text-wrap:nowrap;animation:_fadeIn_4hruj_1 .2s ease forwards;-webkit-user-select:none;user-select:none}@keyframes _fadeIn_4hruj_1{0%{opacity:0}to{opacity:1}}._devices_ls6k9_1{display:flex;flex-direction:row;gap:4px;background:var(--background-color);padding:4px;border-radius:16px}._device_ls6k9_1{display:flex;flex-direction:row;gap:0px;padding:6px 8px;align-items:center;justify-content:center;cursor:pointer;border-radius:12px;border:1px solid var(--background-color);transition:background-color .3s ease;position:relative}._device_ls6k9_1:hover{background-color:#f0f0f0}._active_ls6k9_27,._active_ls6k9_27:hover{background-color:#fff}._preview_1x3m8_2{display:flex;flex-direction:row;gap:4px;position:relative;align-items:center;color:var(--accent-color);line-height:20px;padding:10px 16px;cursor:pointer;border-radius:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._active_1x3m8_19{background-color:var(--background-color);transition:background-color .3s ease}._active_1x3m8_19:hover{background-color:#f0f0f0;box-shadow:none}._settings_u4cv4_1{display:flex;flex-direction:row;gap:20px;align-items:center;color:var(--accent-color)}._pages_167qp_1{position:relative}._default_167qp_5{display:flex;flex-direction:row;gap:4px;align-items:center;padding:10px 12px;background-color:var(--background-color);border-radius:12px;cursor:pointer;position:relative;transition:background-color .3s ease}._default_167qp_5:hover{background-color:#f0f0f0}._text_167qp_21{padding-right:4px;color:var(--main-color);flex:1 1 auto}._modal_167qp_27{display:flex;flex-direction:row;gap:0px;position:absolute;top:45px;width:320px;left:0;z-index:5000;background-color:#fff;border:1px solid #e6e6e6;border-radius:12px;padding:8px 12px;flex-direction:column;opacity:0;visibility:hidden;transition:visibility .3s ease,opacity .3s ease}._open_167qp_46{opacity:1;visibility:visible}._page_167qp_1{display:flex;flex-direction:row;gap:8px;align-items:center;padding:12px 8px;border-radius:12px;cursor:pointer}._hoverable_167qp_61{background-color:var(--background-color)}._separator_167qp_65{border-bottom:var(--default-border);margin:5px 0}._button_167qp_70{display:flex;flex-direction:row;gap:8px;background:inherit;color:#ff3f19;align-items:center;justify-content:start;padding:16px 8px 12px;transition:.2s}._button_167qp_70:hover{background-color:var(--background-color)}._items_167qp_85{max-height:400px;overflow-y:scroll;height:100%}._zoom_fu0hj_1{display:flex;flex-direction:row;gap:4px;align-items:center;background-color:var(--background-color);padding:9px 11px;border-radius:12px;position:relative;cursor:pointer;border:1px solid transparent;transition:border .3s ease}._zoom_fu0hj_1:focus-within{border:1px solid #ff3f19}._theme_1e5wq_1{display:flex;flex-direction:row;gap:4px;align-items:center;padding:2px 9px;background:#e5fadd;color:#338b13;border-radius:100px;text-transform:uppercase}._text_1e5wq_13{font-size:12px;line-height:16px}._exit_ovvox_1{display:flex;flex-direction:row;gap:8px;border-bottom:var(--default-border);align-items:center;padding:16px;cursor:pointer}._text_ovvox_11{color:var(--main-color);line-height:20px}._exitLink_ovvox_16{display:flex;flex-direction:row;gap:8px;cursor:pointer;padding:6px;border-radius:8px;transition:background-color .3s ease}._exitLink_ovvox_16:hover{background-color:var(--background-color)}._navbar_1podc_1{width:100px;border-right:var(--default-border)}._main_1podc_6{display:flex;flex-direction:column;gap:8px;padding:16px 12px}._block_1podc_13{display:flex;flex-direction:column;gap:4px;align-items:center;color:var(--accent-color);line-height:20px;padding:12px 24px;cursor:pointer;border-radius:16px;transition:background-color .3s ease}._block_1podc_13:hover{background-color:var(--background-color)}._active_1podc_29{background-color:var(--background-color);color:var(--main-color)}._active_1podc_29:hover{background-color:var(--background-color)}._preview_gb2ye_1{display:flex;flex-direction:row;gap:0px;max-width:100%;width:100%;background-color:var(--background-color);padding:16px 32px 0;position:relative;align-items:center;justify-content:center;z-index:500}._main_gb2ye_15{display:flex;flex-direction:column;gap:0px;width:100%;position:relative;z-index:1;align-items:center}._content_gb2ye_25{background-color:#fff;border:var(--default-border);border-bottom:none;border-top:none;height:100%;overflow-x:hidden}._loading_gb2ye_34{display:flex;flex-direction:row;gap:0px;width:100%;height:100%;justify-content:center;align-items:center;background-color:#fff;border:var(--default-border);border-bottom:none;border-top:none}._loader_gb2ye_48{border:4px solid rgba(0,0,0,.1);border-left-color:#fff;border-radius:50%;width:40px;height:40px;animation:_spin_gb2ye_1 1s linear infinite}@keyframes _spin_gb2ye_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._previewLoading_gb2ye_65{display:flex;flex-direction:row;gap:0px;width:550px;height:320px;justify-content:center;align-items:center;background-color:#fff;border:var(--default-border);border-radius:10px;transform:translate(20px)}._header_11zku_2{display:flex;flex-direction:row;gap:10px;align-items:center;width:100%;padding:18px;border:var(--default-border);background-color:#fff;border-top-left-radius:16px;border-top-right-radius:16px;z-index:5}._circles_11zku_16{display:flex;flex-direction:row;gap:8px;left:28px;top:28px;align-items:center}._circle_11zku_16{width:12px;height:12px;border-radius:50%;border:.5px solid #e6e6e6}._red_11zku_32{background:#ff5f57}._green_11zku_36{background:#28c840}._yellow_11zku_40{background:#febc2e}._input_11zku_44{display:flex;flex-direction:row;gap:0px;background-color:var(--background-color);padding:8px;width:100%;border-radius:6px;flex:1 1 auto}._main_11zku_55{display:flex;flex-direction:row;gap:4px;flex:1 1 auto;align-items:center}._text_11zku_63{font-weight:400;font-size:12px;line-height:16px;margin:0 0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;display:block}._copy_11zku_75{display:flex;align-items:center}._results_1pahy_1{overflow-y:auto;height:calc(100vh - 180px)}._product_yggw5_1{display:flex;flex-direction:row;gap:8px;align-items:center;cursor:pointer;transition:.3s background-color ease;padding:16px 10px;border-radius:12px}._product_yggw5_1:hover{background-color:#f8f8f8}._name_yggw5_15{color:var(--main-color);font-size:16px;line-height:24px;flex:1 1 auto}._wrapper_1k1cr_1{display:flex;flex-direction:row;gap:0px;width:fit-content;height:fit-content;left:-5px;top:10px;position:absolute;z-index:1000;overflow:hidden}._submodal_1k1cr_14{display:flex;flex-direction:column;gap:5px;left:5px;top:15px;width:fit-content;height:100%;max-height:800px;background-color:#fff;padding:10px;border-radius:10px}._title_1a9kh_14{color:#252525;font-weight:500;font-size:16px;line-height:24px}._label_1a9kh_21{display:flex;flex-direction:row;gap:8px;padding:8px 12px;border-radius:8px;align-items:center;position:relative;width:100%;background-color:var(--background-color);cursor:pointer;border:1px solid transparent;transition:border .3s ease}._label_1a9kh_21:focus-within{border:1px solid #ff3f19}._colorValue_1a9kh_40{width:20px;height:20px;padding:2.5px;border-radius:2px;flex:1 0 auto}._colorMap_1a9kh_48{position:relative;width:100%;height:300px;cursor:pointer;border-radius:4px;flex:1 1 auto}._hueSlider_1a9kh_66{width:80%;left:30px;height:8px;position:absolute;bottom:100px;background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red,red);border-radius:5px}._input_1a9kh_122{line-height:20px;font-size:14px;font-weight:400}._applyButton_1a9kh_2{flex:0 1 50%;font-weight:400}._content_1a9kh_7{display:flex;flex-direction:column;gap:0px;width:100%}._label_1a9kh_21{display:flex;flex-direction:row;gap:8px;padding:8px 12px;border-radius:8px;align-items:center;position:relative;width:100%;background-color:var(--background-color);cursor:pointer}._colorValue_1a9kh_40{width:20px;height:20px;padding:2.5px;border-radius:2px}._modal_1a9kh_160{display:flex;flex-direction:column;gap:10px;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:fit-content;font-size:16px;line-height:24px;font-weight:700}._colorMap_1a9kh_48{position:relative;width:100%;height:300px;cursor:pointer;border-radius:4px}._indicator_1a9kh_57{position:absolute;width:20px;height:20px;border:4px solid white;border-radius:50%;pointer-events:none}input[type=range]{display:flex;flex-direction:row;gap:0px;-webkit-appearance:none;height:8px;outline:none;border-radius:5px;position:relative;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_1a9kh_97{width:100%;cursor:pointer}._buttons_1a9kh_102{display:flex;flex-direction:row;gap:5px;width:100%}._name_1a9kh_109{line-height:20px;padding:0 4px 4px}._secondary_1a9kh_114{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._input_1a9kh_122{line-height:20px;font-size:14px;font-weight:400;width:100%}._alphaSlider_1a9kh_249{width:80%;left:30px;height:8px;position:absolute;bottom:75px;border-radius:5px}._alphaSlider_1a9kh_249 ._alphaBackground_1a9kh_257{position:absolute;top:0;left:0;right:0;bottom:0;border-radius:5px;overflow:hidden;background:repeating-linear-gradient(45deg,#ccc 0,#ccc 10px,#fff 10px,#fff 20px);z-index:0}._alphaSlider_1a9kh_249 ._alphaGradient_1a9kh_268{position:absolute;top:0;left:0;right:0;bottom:0;border-radius:5px;pointer-events:none;z-index:1}._alphaSlider_1a9kh_249 input[type=range]{position:relative;z-index:2;-webkit-appearance:none;background:none;width:100%;height:8px;border-radius:5px;cursor:pointer}._alphaSlider_1a9kh_249 input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border:5px solid #fff;border-radius:50%;cursor:pointer}._chargeTypes_1a9kh_297{display:flex;flex-direction:row;gap:5px;padding:4px;border-radius:16px;background-color:var(--background-color);flex:1 1 auto}._charge_1a9kh_297{display:flex;flex-direction:row;gap:4px;flex:0 1 50%;justify-content:center;align-items:center;color:var(--accent-color);padding:4px;border-radius:12px;font-size:14px;font-weight:400;cursor:pointer;transition:.3s background-color ease}._charge_1a9kh_297:hover{background-color:#f0f0f0}._chargeActive_1a9kh_326{background-color:#fff;color:var(--main-color)}._chargeActive_1a9kh_326:hover{background-color:#fff}._gradient_1a9kh_334{display:flex;flex-direction:row;gap:5px;align-items:center}._color_1a9kh_40{border:1px solid transparent;cursor:pointer;border-radius:8px;width:20px;height:20px;padding:4px;position:relative;z-index:10;border:3px solid #fff;box-shadow:0 0 0 1px #f0f0f0;transition:box-shadow .3s,border-color .3s}._colorActive_1a9kh_355{border:1px solid #ff3f19;border:3px solid #fff;box-shadow:0 0 0 1px #ff3f19;transition:box-shadow .3s,border-color .3s}._gradientWrapper_1a9kh_362{display:flex;flex-direction:column;gap:5px}._subtitle_1a9kh_368{font-size:14px;font-weight:400;color:var(--accent-color);line-height:20px}._colorTypes_1a9kh_375{display:flex;flex-direction:row;gap:8px;line-height:20px;width:100%;padding:4px}._colorType_1a9kh_375{display:flex;flex-direction:row;gap:4px;border-bottom:2px solid transparent;padding:8px 0;cursor:pointer;color:#757575;font-size:14px;font-weight:400;align-items:center;justify-content:center;flex:1 1 50%}._colorTypeActive_1a9kh_399{border-bottom:2px solid #757575;color:#252525}._colorsWrapper_1a9kh_404{padding:10px 0;position:relative;display:flex;flex-direction:row;gap:4px;justify-content:space-between;align-items:center}._colors_1a9kh_404{height:15px;position:absolute;left:5px;right:5px}._sidebar_1xtkj_1{max-width:320px;width:100%;padding:16px;border-right:var(--default-border);height:calc(100vh - 60px);position:relative;min-width:300px}._title_1xtkj_11{color:var(--main-color);font-weight:500;font-size:20px;line-height:24px;padding-bottom:8px}._active_1xtkj_19{display:flex;flex-direction:row;gap:8px;align-items:center}._layers_1jhzw_1{display:flex;flex-direction:column;gap:0px;position:relative;height:100%}._wrapper_1jhzw_9{display:flex;flex-direction:row;gap:5px;align-items:center;width:100%}._draggingWrapper_1jhzw_17{cursor:grabbing}._block_1jhzw_21{display:flex;flex-direction:row;gap:4px;flex:1 1 auto;position:relative;align-items:center;font-size:16px;line-height:24px;padding:8px 12px;border-radius:8px;cursor:pointer}._block_1jhzw_21:hover{background-color:var(--background-color)}._dragging_1jhzw_17{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:move;cursor:grab;cursor:-moz-grab;cursor:-webkit-grab}._draggingWrapper_1jhzw_17{cursor:move;cursor:grab;cursor:-moz-grab;cursor:-webkit-grab}._active_1jhzw_56,._active_1jhzw_56:hover{background:#ffeae5}._add_1jhzw_63{display:flex;flex-direction:row;gap:0px;z-index:2;position:absolute;justify-content:center;align-items:center;bottom:0;left:0;border-bottom:2px solid #ff3f19;width:100%;opacity:0;height:10px}._addTop_1jhzw_79{display:flex;flex-direction:row;gap:0px;z-index:2;position:absolute;justify-content:center;align-items:center;top:-8px;left:0;border-bottom:2px solid #ff3f19;width:100%;opacity:0;height:10px}._visible_1jhzw_95{opacity:1}._button_1jhzw_99{display:flex;flex-direction:row;gap:0px;position:relative;justify-content:center;align-items:center;top:6px;background-color:#ff3f19;width:24px;height:24px;border-radius:50%;padding:4px}._empty_1jhzw_114{display:flex;flex-direction:column;gap:4px;justify-content:center;height:100%;width:100%;align-items:center;text-align:center;color:var(--accent-color)}._title_1jhzw_126{font-size:16px;line-height:24px;font-weight:700;color:var(--accent-color)}._icon_1jhzw_133{margin:0 0 12px}._blockIcon_1jhzw_137{display:flex;flex-direction:row;gap:0px;justify-content:center;align-items:center;width:20px;height:20px}._text_1jhzw_147{font-size:16px;font-weight:400;line-height:24px}._highlight_1jhzw_153{color:#ff3f19;cursor:pointer}._nameBlock_1jhzw_158{flex:1 1 auto}._loader_1jhzw_162{display:flex;flex-direction:row;gap:0px;justify-content:center;align-items:center;height:100%}._actions_1jhzw_171{display:flex;flex-direction:row;gap:5px;gap:10px;align-items:center}._deleteButton_1jhzw_179{display:flex;flex-direction:row;gap:0px;align-items:center;border-radius:8px;padding:8px;transition:.3s background-color}._deleteButton_1jhzw_179:hover{background-color:#f0f0f0}._block_sj4cc_1{display:flex;flex-direction:row;gap:4px;position:relative;align-items:center;font-size:16px;line-height:24px;padding:8px 12px;cursor:pointer;border-radius:8px}._block_sj4cc_1:hover{background-color:var(--background-color)}._title_sj4cc_17{flex:1 1 auto}._actions_sj4cc_21{display:flex;flex-direction:row;gap:8px;align-items:center}._deleteButton_sj4cc_28{display:flex;flex-direction:row;gap:0px;align-items:center;border-radius:8px;padding:8px;transition:.3s background-color}._deleteButton_sj4cc_28:hover{background-color:#f0f0f0}._loader_eyvkk_1{display:flex;flex-direction:row;gap:0px;justify-content:center;align-items:center;height:100%}._theme_a1one_1{display:flex;flex-direction:column;gap:0px;height:100%}._block_a1one_8{display:flex;flex-direction:row;gap:8px;justify-content:start;align-items:center;width:100%;padding:16px 8px;cursor:pointer;border-radius:8px}._block_a1one_8:hover{background-color:var(--background-color)}._name_a1one_23{flex:1 1 auto}._loader_a1one_27{display:flex;flex-direction:row;gap:0px;justify-content:center;align-items:center;height:100%}._back_7e826_1{display:flex;flex-direction:row;gap:8px;align-items:center;padding-bottom:8px}._render_7e826_9{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:50}._open_7e826_24{animation:.2s _open_7e826_24 forwards}@keyframes _open_7e826_24{0%{transform:translate(320px);z-index:1}99%{z-index:1}to{z-index:5000;transform:translate(0)}}@keyframes _close_7e826_51{0%{z-index:1;transform:translate(0)}to{z-index:1;transform:translate(320px)}}._close_7e826_51{animation:.2s _close_7e826_51 forwards}._clicked_7e826_55{opacity:0}._title_7e826_59{color:var(--main-color);font-weight:500;font-size:20px;line-height:24px;flex:1 1 auto}._button_7e826_67{align-self:center;flex:1}._loading_7e826_72{flex:1 1 auto}._settings_7e826_76{flex:1 1 100%;overflow-y:scroll;overflow-x:hidden}._deleteButton_7e826_82{display:flex;flex-direction:row;gap:0px;align-items:center;border-radius:8px;padding:8px;transition:.3s background-color}._deleteButton_7e826_82:hover{background-color:#f0f0f0}._backIcon_7e826_95{transition:.3s background-color;cursor:pointer;padding:8px;border-radius:12px}._backIcon_7e826_95:hover{background-color:#f0f0f0}._wrapper_15ju8_1{display:flex;flex-direction:column;gap:10px;padding-top:15px}._header_15ju8_8{display:flex;flex-direction:row;gap:0px;justify-content:space-between}._title_15ju8_15{font-weight:500;font-size:16px;line-height:24px}._colorWrapper_15ju8_21{display:flex;flex-direction:row;gap:5px;padding:12px 6px;align-items:center;border-radius:12px;cursor:pointer;transition:background-color ease .3s}._colorWrapper_15ju8_21:hover{background-color:#f0f0f0}._name_15ju8_35{color:#252525;flex:1 1 auto}._color_15ju8_21{width:20px;height:20px;border-radius:50%;border:1px solid #e6e6e6}._value_15ju8_47{color:#757575}._length_15ju8_51{cursor:pointer;width:fit-content}._length_15ju8_51:hover{border-bottom:1px solid #757575}._back_1sznl_1{display:flex;flex-direction:row;gap:8px;align-items:center;padding-bottom:8px}._title_1sznl_9{color:var(--main-color);font-weight:500;font-size:20px;line-height:24px;flex:1 1 auto}._deleteButton_1sznl_17{display:flex;flex-direction:row;gap:0px;align-items:center;border-radius:8px;padding:8px;transition:.3s background-color}._deleteButton_1sznl_17:hover{background-color:#f0f0f0}._backIcon_1sznl_30{transition:.3s background-color;cursor:pointer;padding:8px;border-radius:12px}._backIcon_1sznl_30:hover{background-color:#f0f0f0}._header_9rrfr_1{display:flex;flex-direction:row;gap:8px;align-items:center;margin:0 0 10px}._title_9rrfr_9{font-weight:500;font-size:20px;line-height:24px}._backIcon_9rrfr_15{transition:.3s background-color;padding:8px;border-radius:12px;display:flex;cursor:pointer}._backIcon_9rrfr_15:hover{background-color:#f0f0f0}._options_ymds7_1{display:flex;flex-direction:column;gap:10px;flex:1 1 auto}._wrapper_kzokw_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_kzokw_16{transform:translate(0)}._close_kzokw_20{transform:translate(320px)}._options_jo38w_1{display:flex;flex-direction:column;gap:10px;flex:1 1 auto;overflow-y:auto}._alignments_jo38w_9{display:flex;flex-direction:column;gap:10px}._blocks_jo38w_15{display:flex;flex-direction:row;gap:8px;align-items:center}._alignment_jo38w_9{padding:8px;border:1px solid var(--background-color);background-color:var(--background-color);border-radius:12px;cursor:pointer;transition:.3s background-color ease}._alignment_jo38w_9:hover{background-color:#f0f0f0}._active_jo38w_34{border:1px solid #ff3f19}._active_jo38w_34:hover{background-color:transparent}._chargeTypes_jo38w_41{display:flex;flex-direction:row;gap:5px;padding:4px;border-radius:16px;background-color:var(--background-color)}._charge_jo38w_41{display:flex;flex-direction:row;gap:0px;justify-content:center;align-items:center;color:var(--accent-color);padding:8px;border-radius:12px;font-size:14px;font-weight:400;flex:1 1 auto;cursor:pointer;transition:.3s background-color ease}._charge_jo38w_41:hover{background-color:#f0f0f0}._chargeActive_jo38w_69{background-color:#fff;color:var(--main-color)}._chargeActive_jo38w_69:hover{background-color:#fff}._shadowsHeader_jo38w_77{display:flex;flex-direction:column;gap:10px}._sliderContainer_jo38w_83{display:flex;flex-direction:row;gap:10px;align-items:center;justify-content:space-between}._shadowInputs_jo38w_91{display:flex;flex-direction:column;gap:10px;padding:0 0 0 10px;max-height:0;transition:max-height .3s ease,visibility .3s ease,opacity .3s ease;visibility:hidden;opacity:0}._label_jo38w_102{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400;white-space:nowrap}._shadowInputsRow_jo38w_111{display:flex;flex-direction:row;gap:5px;justify-content:space-between;align-items:center}._shadowInputsOpen_jo38w_119{max-height:200px;visibility:visible;opacity:1}._category_hxy9u_1{display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:space-between;padding:16px 8px;border-radius:8px;cursor:pointer;transition:background .3s ease}._category_hxy9u_1:not(:last-child){border-bottom:1px solid #f8f8f8}._category_hxy9u_1:hover{background:#f8f8f8}._categoryTitle_hxy9u_19{font-size:16px;font-weight:400;line-height:24px;text-align:left}._wrapper_ikvjo_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_ikvjo_16{transform:translate(0)}._close_ikvjo_20{transform:translate(320px)}._header_ikvjo_24{display:flex;flex-direction:row;gap:8px;align-items:center;margin:0 0 10px}._title_ikvjo_32{font-weight:500;font-size:20px;line-height:24px}._options_ikvjo_38{display:flex;flex-direction:column;gap:10px;flex:1 1 auto}._clicked_ikvjo_45{opacity:0}._backIcon_ikvjo_49{transition:.3s background-color;cursor:pointer;padding:8px;border-radius:12px}._backIcon_ikvjo_49:hover{background-color:#f0f0f0}._charge_ikvjo_59{display:flex;flex-direction:row;gap:0px;justify-content:center;align-items:center;color:var(--accent-color);padding:8px;border-radius:12px;font-size:14px;font-weight:400;flex:1 1 auto;cursor:pointer;transition:.3s background-color ease}._charge_ikvjo_59:hover{background-color:#f0f0f0}._chargeActive_ikvjo_78{background-color:#fff;color:var(--main-color)}._chargeActive_ikvjo_78:hover{background-color:#fff}._wrapper_mkmxa_1{overflow-y:scroll}._category_mkmxa_5{display:flex;flex-direction:column;gap:0px}._categoryTitle_mkmxa_11{font-weight:600;font-size:16px;line-height:24px}._font_mkmxa_17{display:flex;flex-direction:row;gap:8px;padding:12px 0;align-items:center;position:relative;flex:1 1 auto;cursor:pointer}._font_mkmxa_17:hover{background-color:var(--background-color);border-radius:8px}._content_mkmxa_32{display:flex;flex-direction:column;gap:0px;width:100%}._icon_mkmxa_39{display:flex;flex-direction:row;gap:0px;padding:8px;border-radius:8px;background-color:var(--background-color);align-items:center;justify-content:center}._paragraph_mkmxa_50{padding:12px}._deleteIcon_mkmxa_54{position:absolute;right:10px;width:20px;height:20px}._iconButton_mkmxa_61{width:32px;height:32px}._wrapper_16ym0_2{overflow-y:scroll}._category_16ym0_6{display:flex;flex-direction:column;gap:0px}._categoryTitle_16ym0_12{font-weight:500;font-size:16px;line-height:24px}._color_16ym0_18{display:flex;flex-direction:column;gap:8px}._name_16ym0_24{line-height:20px;padding:0 4px 4px}._content_16ym0_29{display:flex;flex-direction:column;gap:0px;width:100%}._label_16ym0_36{display:flex;flex-direction:row;gap:5px;padding:8px 12px;border-radius:12px;align-items:center;width:100%;background-color:var(--background-color);cursor:pointer}._input_16ym0_48[type=color]{width:20px;height:20px;padding:1px}._input_16ym0_48{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:100%;border:none;padding:0;cursor:pointer;border-radius:50%}._input_16ym0_48::-webkit-color-swatch{border-radius:50%;border:none}._input_16ym0_48::-webkit-color-swatch-wrapper{padding:0;border-radius:50%}._title_16ym0_74{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._field_16ym0_82{display:flex;flex-direction:column;gap:10px;padding:16px 0}._field_16ym0_82:not(:last-child){border-bottom:var(--default-border)}._alignments_16ym0_92{display:flex;flex-direction:column;gap:10px}._lineField_16ym0_98{display:flex;flex-direction:row;gap:0px;justify-content:space-between;align-items:center}._style_16ym0_106{display:flex;flex-direction:column;gap:8px;flex:1 0 50%}._header_16ym0_113{display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:space-between}._blocks_emecf_1{display:flex;flex-direction:row;gap:8px;align-items:center}._block_emecf_1{display:flex;flex-direction:row;gap:0px;padding:8px;align-items:center;justify-content:center;border:1px solid var(--background-color);background-color:var(--background-color);border-radius:12px;cursor:pointer}._active_emecf_21{border:1px solid #ff3f19}._wrapper_1yw63_2{overflow-y:auto;overflow-x:hidden}._category_1yw63_7{display:flex;flex-direction:column;gap:0px}._categoryTitle_1yw63_13{font-weight:600;font-size:16px;line-height:24px;position:sticky;top:0;z-index:10;background:#fff;padding:8px 0}._color_1yw63_24{display:flex;flex-direction:column;gap:0px}._color_1yw63_24:not(:last-child){border-bottom:var(--default-border)}._content_1yw63_33{display:flex;flex-direction:row;gap:8px;padding:12px 0;align-items:center;flex:1 1 auto}._preview_1yw63_42{width:39px;height:39px;flex:0 0 39px;padding:5px;border-radius:50%;border:1px solid #e6e6e6}._container_1yw63_52{position:relative;width:100%;height:144px;border:1px solid #f0f0f0;background-color:#f8f8f8;border-radius:12px}._buttonWrapper_1yw63_62{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;height:144px}._button_1yw63_62{display:flex;align-items:center;padding:10px 16px;background-color:#fff;border:1px solid #e6e6e6;border-radius:12px;gap:4px}._button_1yw63_62._buttonBorder_1yw63_80{border:1px solid #ff3f19}._button_1yw63_62._buttonBackground_1yw63_83{background-color:#ffeae5}._button_1yw63_62 ._text_1yw63_87{font-size:14px;color:#757575;line-height:20px;border:1px solid transparent}._button_1yw63_62 ._text_1yw63_87._textText_1yw63_93{border:1px solid #ff3f19}._icon_1yw63_97{border:1px solid transparent}._icon_1yw63_97._iconIcon_1yw63_100{border:1px solid #ff3f19}._annotation_1yw63_104{position:absolute;display:flex;align-items:center}._annotationText_1yw63_111{top:18px;left:45px}._annotation_1yw63_104 ._label_1yw63_116{padding:2px 4px;font-size:12px;color:#fff;background-color:#ff3f19;border-radius:4px;position:absolute;font-weight:400;line-height:16px}._circle_1yw63_127{width:5px;height:5px;background-color:#ff3f19;border-radius:50%;position:absolute}._annotationText_1yw63_111 ._label_1yw63_116{top:2px;width:65px}._line_1yw63_140{width:28px;height:26.5px;background-color:transparent;position:absolute}._annotationText_1yw63_111 ._line_1yw63_140{top:12px;left:80px;border-right:1px dashed #ff3f19;border-top:1px dashed #ff3f19}._annotationText_1yw63_111 ._circle1_1yw63_154{top:41px;left:105px}._annotationText_1yw63_111 ._circle2_1yw63_159{top:10px;left:73px}._annotationIcon_1yw63_164{top:19px;left:75px}._annotationIcon_1yw63_164 ._label_1yw63_116{top:80px;width:65px;left:52px}._annotationIcon_1yw63_164 ._line_1yw63_140{top:65px;left:12px;border-left:1px dashed #ff3f19;border-bottom:1px dashed #ff3f19}._annotationIcon_1yw63_164 ._circle1_1yw63_154{top:61px;left:10px}._annotationIcon_1yw63_164 ._circle2_1yw63_159{top:88.5px;left:40px}._annotationBorder_1yw63_192{top:15px;left:85px}._annotationBorder_1yw63_192 ._label_1yw63_116{top:0;width:79px;left:19px}._annotationBorder_1yw63_192 ._line1_1yw63_203{top:9px;left:-13px;border-left:1px dashed #ff3f19;border-top:1px dashed #ff3f19}._annotationBorder_1yw63_192 ._line2_1yw63_210{top:9px;right:-129px;border-right:1px dashed #ff3f19;border-top:1px dashed #ff3f19}._annotationBorder_1yw63_192 ._circle1_1yw63_154{top:33px;left:-15px}._annotationBorder_1yw63_192 ._circle2_1yw63_159{top:7px;left:12px}._annotationBorder_1yw63_192 ._circle3_1yw63_227{top:7px;left:100px}._annotationBorder_1yw63_192 ._circle4_1yw63_232{top:33px;left:126px}._annotationSurface_1yw63_237{top:19px;left:75px}._annotationSurface_1yw63_237 ._label_1yw63_116{top:2px;width:85px;left:55px}._annotationSurface_1yw63_237 ._line_1yw63_140{top:12px;left:12px;border-left:1px dashed #ff3f19;border-top:1px dashed #ff3f19}._annotationSurface_1yw63_237 ._circle1_1yw63_154{top:37px;left:10px}._annotationSurface_1yw63_237 ._circle2_1yw63_159{top:10px;left:43px}._loader_1p5lr_1{display:flex;flex-direction:column;gap:0px;align-items:center;justify-content:center;height:100%}._wrapper_no6if_1{display:flex;flex-direction:column;gap:20px;background:#fff;max-width:640px;width:100%;padding:16px 24px;border-radius:16px}._header_no6if_12{display:flex;flex-direction:row;gap:0px;justify-content:space-between;align-items:center;font-size:24px;font-weight:700;line-height:32px}._content_no6if_23{display:flex;flex-direction:column;gap:10px;overflow-y:scroll;max-height:500px;padding:0 5px;scrollbar-width:auto}._content_no6if_23::-webkit-scrollbar{width:5px;display:block}._content_no6if_23::-webkit-scrollbar-track{background:transparent}._content_no6if_23::-webkit-scrollbar-thumb{background:#ff3f19;border-radius:4px}._buttons_no6if_44{display:flex;flex-direction:row;gap:12px;justify-content:end}._label_no6if_51,._description_no6if_52{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._preview_no6if_60{display:flex;flex-direction:column;gap:10px}._block_no6if_66{display:flex;flex-direction:column;gap:0px;padding:24px;border:1px solid var(--background-color);border-radius:8px}._slug_no6if_75{line-height:20px;color:#ff3f19;margin-bottom:4px}._title_no6if_81{font-weight:600;font-size:16px;line-height:24px}._closeIcon_no6if_87{display:flex;flex-direction:row;gap:0px;padding:6px;border-radius:8px;transition:.3s background-color ease;cursor:pointer}._closeIcon_no6if_87:hover{background-color:#f0f0f0}._layout_1pjho_1{display:flex;flex-direction:row;gap:0px;width:100%;height:100%;position:relative}._main_1pjho_10{display:flex;flex-direction:column;gap:0px;width:100%;position:relative}._content_1pjho_18{display:flex;flex-direction:row;gap:0px;position:relative;height:100%}._notifications_1pjho_26{z-index:100000000;position:fixed;bottom:5px;right:5px;display:flex;flex-direction:column;align-items:flex-end;gap:10px}._notification_2jmah_1{max-height:60px;min-height:50px;min-width:500px;max-width:700px;display:flex;flex-direction:row;gap:12px;align-items:center;padding:8px;border-radius:12px;width:fit-content;height:100%}@media (max-width: 768px){._notification_2jmah_1{min-width:300px;max-width:400px}}._text_2jmah_22{flex:1 1 auto}._text_2jmah_22,._timer_2jmah_27{line-height:24px;font-size:16px}._warning_2jmah_32{background:#faf8e6;color:#c1972a}._error_2jmah_37{background:#ffc3b7;color:#ff3f19}._success_2jmah_42{background:#e5fadd;color:#338b13}._hide_2jmah_47{display:none}._modal_1h74q_1{display:flex;flex-direction:column;gap:16px;max-width:500px;min-width:300px;width:100%;background-color:#fff;border-radius:16px;padding:24px;border:var(--default-border)}._title_1h74q_14{font-size:24px;line-height:32px;font-weight:700}._buttons_1h74q_20{display:flex;flex-direction:row;gap:10px;justify-content:flex-end}._modal_270ti_1{display:flex;flex-direction:row;gap:0px;position:fixed;top:0;left:0;right:0;bottom:0;background:#2525253d;z-index:100000!important;justify-content:center;align-items:center;overflow:hidden}._padding_270ti_17{padding:5px}._content_270ti_21{display:flex;flex-direction:row;gap:0px;animation:_fadeIn_270ti_1 .3s ease-out forwards;width:100%;height:100%;align-items:center;justify-content:center}@keyframes _fadeIn_270ti_1{0%{transform:scale(.95) translateY(10px);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}._close_270ti_42{animation:_fadeOut_270ti_1 .3s ease-out forwards}@keyframes _fadeOut_270ti_1{0%{transform:scale(1) translateY(0);opacity:1}to{transform:scale(.95) translateY(10px);opacity:0}}._wrapper_1yd2j_1{display:flex;flex-direction:row;gap:0px;width:100%;height:100%;align-items:center;justify-content:center}._error_1yd2j_11{display:flex;flex-direction:column;gap:10px;background-color:var(--background-color);border:var(--default-border);padding:24px;border-radius:12px}._title_1yd2j_21{font-weight:700;color:#252525;font-size:20px;line-height:24px;padding-bottom:10px}._buttons_1yd2j_29{display:flex;flex-direction:row;gap:5px;align-items:center}._lock_1mxa7_1{padding:24px;background-color:var(--surface-secondary);border-radius:var(--border-radius);display:flex;flex-direction:row;gap:0px;justify-content:center;align-items:center}._wrapper_1mxa7_12{display:flex;flex-direction:row;gap:0px;justify-content:center;align-items:center;height:100vh;width:100%}._content_1mxa7_22{display:flex;flex-direction:column;gap:24px;align-items:center;max-width:456px;width:100%}._info_1mxa7_31{display:flex;flex-direction:column;gap:8px;text-align:center}._buttons_1mxa7_38{display:flex;flex-direction:row;gap:16px;justify-content:space-between;align-items:center;width:100%}._buttons_1mxa7_38 ._button_1mxa7_38{width:100%}._input_1mxa7_50{display:flex;flex-direction:column;gap:4px;width:100%}._error_1mxa7_57{color:var(--text-error)}._notifications_2ywhg_1{z-index:100000000;position:fixed;bottom:5px;right:5px;display:flex;flex-direction:column;gap:10px;align-items:flex-end}._wrapper_rccv2_1{display:flex;flex-direction:row;gap:0px;width:100%;height:100%;align-items:center;justify-content:center}._content_rccv2_11{display:flex;flex-direction:column;gap:10px;background-color:var(--background-color);border:var(--default-border);padding:24px;border-radius:12px}._title_rccv2_21{font-weight:700;color:#252525;font-size:20px;line-height:24px;padding-bottom:10px}@media (min-width: 768px){._checkoutItemsContainer_1kn61_2{padding:2.5rem;height:100vh;display:flex;flex-direction:column;align-items:flex-end;width:100%;padding:2.5rem 2.5rem 1.5rem 1rem}}@media (min-width: 768px){._innerContainer_1kn61_16{max-width:520px;width:100%}}._headerSection_1kn61_22{padding:1rem}@media (min-width: 768px){._headerSection_1kn61_22{width:100%;height:100%;display:flex;flex-direction:column;padding:1rem;padding-left:0}}._headerSection_1kn61_22 ._header_1kn61_22{display:flex;justify-content:space-between;align-items:center;margin-top:1.5rem}._headerSection_1kn61_22 ._header_1kn61_22 h1{font-weight:700;font-size:var(--font-size-lg);color:var(--text-primary)}._productsContainer_1kn61_47{margin-top:1.5rem;display:flex;flex-direction:column;gap:1rem}._couponContainer_1kn61_54{margin-top:1.5rem}._checkoutFooter_1kn61_58{display:none}@media (min-width: 768px){._checkoutFooter_1kn61_58{display:flex}}._checkoutFooter_1dzvc_1{display:flex;align-items:center;justify-content:space-between;height:3.5rem;margin-top:1.5rem}._footerBranding_1dzvc_9{display:flex;align-items:center;gap:.5rem}._footerBranding_1dzvc_9 ._poweredText_1dzvc_14{color:var(--text-secondary);font-size:var(--font-size-sm)}._footerNav_1dzvc_19{list-style:none;display:flex;gap:1.5rem;font-size:var(--font-size-xs);color:var(--text-secondary)}._footerNav_1dzvc_19 li:hover{text-decoration:underline}._checkoutHeader_d2mbf_1{padding:0 1.25rem;width:100%;display:flex;align-items:center;justify-content:space-between;height:3.5rem;border-bottom:1px solid var(--border-primary);background-color:var(--surface-secondary)}@media (min-width: 768px){._checkoutHeader_d2mbf_1{height:auto;background-color:transparent;border:none;padding:0}}._leftContainer_d2mbf_20{display:flex;align-items:center;gap:1.25rem}._backArrow_d2mbf_26{width:1.25rem;height:1.25rem;transform:rotate(-90deg);cursor:pointer;color:var(--text-secondary);transition:color .3s ease}._backArrow_d2mbf_26:hover{color:var(--text-primary)}._logoContainer_d2mbf_38{height:1.25rem;padding-left:1rem;border-left:1px solid var(--border-primary)}._logoContainer_d2mbf_38 ._logo_d2mbf_38{width:100%;height:100%;object-fit:contain}._activeBadge_1yb5i_1{display:flex;align-items:center;background-color:var(--surface-success);color:var(--text-success);border-radius:var(--border-radius);gap:.25rem;padding:.25rem .375rem .25rem 6px;width:fit-content}._activeBadgeText_1yb5i_12{font-size:var(--font-size-sm)}._timerContainer_105jf_2{display:flex;gap:.25rem;align-items:center;padding:.325rem .625rem;background-color:var(--surface-secondary);border-radius:var(--border-radius);color:var(--text-secondary)}._timerText_105jf_12{font-size:var(--font-size-base)}._progressBar_mcabf_4{display:flex;gap:.25rem;align-items:center;font-size:var(--font-size-sm)}._progressBarLabel_mcabf_12{font-size:inherit}._progressBarTrack_mcabf_17{height:4px;width:100%;display:flex;align-items:center;flex:1;background-color:var(--surface-primary);border-radius:100px}._progressBarFill_mcabf_28{height:100%;background-color:var(--text-primary);border-radius:100px;transition:width .3s ease-in-out}._rating_1bpps_4{display:flex;gap:.375rem;cursor:pointer}._rating_1bpps_4._disabled_1bpps_9{cursor:not-allowed}._ratingStar_1bpps_14{justify-content:center;align-items:center;transition:color .3s ease-in-out;color:var(--text-action);width:24px;height:24px}._ratingStar_1bpps_14._inactive_1bpps_22{color:var(--text-secondary)}._inputRange_iv6ow_4{display:flex;flex-direction:column;align-items:center;width:100%;gap:1rem;height:calc(fit-content + 50px)}._inputRangeLabel_iv6ow_14{color:var(--text-secondary);margin-bottom:.5rem;text-align:left;width:100%}._progressBar_iv6ow_22{position:relative;width:100%;height:.25rem;background-color:var(--surface-secondary);border-radius:var(--border-radius)}._progressBarFill_iv6ow_29{position:absolute;top:0;left:0;height:100%;background-color:var(--surface-action1);border-radius:var(--border-radius);transition:all .3s ease-in-out}._stepsContainer_iv6ow_40{position:absolute;display:flex;justify-content:space-between;align-items:center;width:100%;height:100%}._step_iv6ow_40{position:relative;display:flex;align-items:center;justify-content:center;cursor:pointer}._stepDot_iv6ow_57{border-radius:50%;transition:background-color .3s}._stepDot_iv6ow_57._current_iv6ow_61{width:1rem;height:1rem}._stepDot_iv6ow_57._default_iv6ow_65{width:.75rem;height:.75rem}._stepDot_iv6ow_57._active_iv6ow_69{background-color:var(--surface-action1)}._stepDot_iv6ow_57._inactive_iv6ow_72{background-color:var(--surface-disabled)}._tooltip_iv6ow_77{position:absolute;top:1.5rem;transform:translate(-50%);font-size:var(--font-size-sm);color:var(--surface-primary);background-color:var(--text-primary);padding:.25rem .75rem;border-radius:var(--border-radius);display:flex;align-items:center;gap:.25rem}._checkoutPrices_vp75r_1{margin-top:1.5rem;padding:1.25rem;width:100%;display:flex;flex-direction:column;gap:.75rem;background-color:var(--surface-secondary);border-radius:var(--border-radius)}._priceRow_vp75r_12{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.75rem;font-size:var(--font-size-base);color:var(--text-secondary)}._label_vp75r_22{color:var(--text-secondary)}._totalRow_vp75r_26{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.75rem;font-size:var(--font-size-base);font-weight:600;color:var(--text-primary)}._totalLabel_vp75r_37,._totalValue_vp75r_42{font-weight:700;color:var(--text-primary)}._checkoutProduct_1nxq7_1._isOrder_1nxq7_1{padding-bottom:1.5rem;border-bottom:1px solid var(--border-primary)}._checkoutProduct_1nxq7_1._isOrder_1nxq7_1:last-of-type{border-bottom:none;padding-bottom:0}._productDetails_1nxq7_10{display:flex;align-items:center;gap:.75rem}._productImage_1nxq7_16{min-width:3rem;height:3rem;display:flex;align-items:center;justify-content:center;background-color:var(--surface-secondary);border-radius:var(--border-radius);overflow:hidden}._productImage_1nxq7_16._isOrderImage_1nxq7_26{background-color:var(--surface-primary)}._image_1nxq7_30{height:100%;object-fit:contain}._productInfo_1nxq7_35{font-size:var(--font-size-sm);width:100%}._productHeader_1nxq7_40{display:flex;align-items:center;gap:.5rem}._quantityBadge_1nxq7_46{font-size:var(--font-size-sm);color:var(--text-secondary);padding:.25rem;background-color:var(--surface-secondary);border-radius:var(--border-radius);display:flex;align-items:center;justify-content:center}._productDescription_1nxq7_57{color:var(--text-secondary);max-width:100%;padding-top:.5rem;overflow:hidden}._productPrice_1nxq7_64{font-weight:600;font-size:var(--font-size-base);max-width:40%;width:100%;text-align:right;color:var(--text-primary)}._deliveryCategories_1nxq7_73{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem;width:100%}._customerNote_1nxq7_81{padding:.75rem 1rem;margin-top:1rem;background-color:var(--surface-primary);border-radius:var(--border-radius)}._noteHeader_1nxq7_88{display:flex;align-items:center;gap:.5rem}._logoContainer_1nxq7_94{width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;border:1px solid var(--border-primary);border-radius:50%;background-color:var(--surface-secondary);overflow:hidden}._shopName_1nxq7_106{font-weight:500}._noteContent_1nxq7_110{margin-top:.25rem;font-size:var(--font-size-sm);color:var(--text-secondary)}._productName_1nxq7_116{color:var(--text-primary);white-space:nowrap!important}._link_1nxq7_121{color:var(--text-link)}._link_1nxq7_121:hover{text-decoration:underline}._coupon_dkjzv_1{display:flex;flex-direction:column;width:100%}._couponApplied_dkjzv_7{display:flex;align-items:center;gap:1rem;padding:0 1rem;height:3rem;background-color:var(--surface-secondary);border-radius:var(--border-radius)}._discount_dkjzv_17{margin-left:.25rem;font-size:var(--font-size-base);color:var(--text-secondary)}._removeButton_dkjzv_23{margin-left:auto}._removeButtonText_dkjzv_27{color:var(--text-action)}._couponInput_dkjzv_31{display:flex;gap:.75rem;flex-direction:column}._couponInputContainer_dkjzv_37{display:flex;gap:.75rem;align-items:center}._checkoutOperational_6gxie_1{padding:1.5rem 1rem;background-color:var(--surface-secondary);margin-top:2.5rem}@media (min-width: 768px){._checkoutOperational_6gxie_1{margin-top:0;width:100%;padding:2.5rem 1rem 2.5rem 2.5rem;max-height:100vh;overflow:auto}}@media (min-width: 768px){._checkoutOperational_6gxie_1 ._innerContainer_6gxie_17{max-width:520px}}._paymentMethodsSection_6gxie_22{margin-top:2rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border-primary)}._socialConnectSection_6gxie_28{margin-top:1.25rem}._socialConnectSection_6gxie_28 ._socialConnectLabel_6gxie_31{color:var(--text-secondary);font-size:var(--font-size-sm)}._socialConnectSection_6gxie_28 ._socialConnectContent_6gxie_35{margin-top:.25rem}._continueButton_6gxie_39{margin-top:2.5rem;width:100%}._continueButton_6gxie_39 ._button_6gxie_43{width:100%}._checkoutFooter_6gxie_47{margin-top:2.5rem;display:flex}@media (min-width: 768px){._checkoutFooter_6gxie_47{display:none}}._emailLabel_6gxie_57{color:var(--text-secondary);font-size:var(--font-size-sm)}._emailInput_6gxie_62{margin-top:.25rem}._emailCheckbox_6gxie_66{display:flex;align-items:center;gap:.5rem;font-size:var(--font-size-sm);margin-top:.75rem}._text_6gxie_74{color:var(--text-secondary)}._customFields_uhcib_2{display:flex;flex-direction:column;gap:1rem;margin-top:2rem}._checkboxWrapper_uhcib_9{display:flex;align-items:center;gap:.5rem;cursor:pointer}._textareaWrapper_uhcib_16,._inputWrapper_uhcib_17{display:flex;flex-direction:column;gap:.25rem}._label_uhcib_23{color:var(--text-secondary)}._requiredStar_uhcib_27{color:var(--text-action)}._connectedContainer_1rxr8_1{padding:.75rem 1rem;background-color:var(--surface-primary);border-radius:var(--border-radius);display:flex;justify-content:space-between;align-items:center}._userInfo_1rxr8_10{display:flex;align-items:center;gap:.5rem}._avatar_1rxr8_16{width:1.25rem;height:1.25rem;display:flex;align-items:center;justify-content:center;border-radius:50%;overflow:hidden}._avatarImage_1rxr8_26{width:100%;height:100%;object-fit:cover}._connectButton_1rxr8_32{display:flex;align-items:center;justify-content:center;gap:.25rem;width:100%}._connectText_1rxr8_40{color:var(--text-secondary)}._container_1rxr8_44{display:flex;flex-direction:column;gap:.5rem;width:100%}._errorMessage_1rxr8_51{color:var(--color-danger);font-size:.875rem;text-align:center}._paymentMethodsContainer_a3he6_2{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border-default)}@media (min-width: 768px){._paymentMethodsContainer_a3he6_2{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}}._loader_a3he6_16{display:flex;justify-content:center;align-items:center;height:100%;width:100%}._bottomSheet_1x8kc_1{height:100%;display:flex;flex-direction:column;padding:16px 24px}._content_1x8kc_8{flex:1}._content_1x8kc_8 ._description_1x8kc_11{color:var(--text-secondary)}._title_1x8kc_15{color:var(--text-primary)}._buttonGroup_1x8kc_19{display:flex;gap:.75rem;margin-top:2rem}@media (min-width: 768px){._buttonGroup_1x8kc_19{margin-left:auto}}._buttonGroup_1x8kc_19 ._buttonWrapper_1x8kc_29{width:fit-content}._buttonGroup_1x8kc_19 ._fullWidthButton_1x8kc_32{width:100%}._modal_1x8kc_36{background-color:var(--surface-primary);border-radius:var(--border-radius);max-width:600px;width:100%}._header_1x8kc_43{display:flex;justify-content:space-between;align-items:center;border-bottom:var(--border-thickness) solid var(--border-secondary);padding:16px 24px}._modal_14r0b_1{background-color:var(--surface-primary);border-radius:var(--border-radius);padding:16px 24px;max-width:600px;width:100%}._mt1_1t7v2_1{margin-top:.25rem}._pb6_1t7v2_5{padding-bottom:1.5rem}._borderB_1t7v2_9{border-bottom:var(--border-thickness) solid var(--border-secondary)}._notifyBlock_1t7v2_13{padding:.75rem;border-radius:var(--border-radius);background-color:var(--surface-primary);font-size:var(--font-size-xs)}._notifyBlock_1t7v2_13 ._notifyHeader_1t7v2_19{display:flex;align-items:center;gap:.5rem;color:var(--text-primary)}._notifyBlock_1t7v2_13 ._notifyContent_1t7v2_25{color:var(--text-secondary);margin-top:.5rem}._buttonBlock_1t7v2_30{width:100%}._imageBlock_1t7v2_34{width:100%;display:flex;justify-content:center;padding:1rem 0;background-color:var(--surface-primary);border-radius:var(--border-radius)}._imageBlock_1t7v2_34 ._imageContainer_1t7v2_42{width:10rem;height:10rem;border-radius:var(--border-radius);background-color:var(--surface-secondary)}._imageBlock_1t7v2_34 ._imageContainer_1t7v2_42 img{width:100%;height:100%;object-fit:contain}._sectionBlock_1t7v2_54{padding-bottom:1.5rem;border-bottom:1px solid var(--border-primary);display:flex;flex-direction:column;gap:.5rem}._sectionBlock_1t7v2_54 ._sectionTitle_1t7v2_61{color:var(--text-primary)}._sectionBlock_1t7v2_54 ._sectionSubtitle_1t7v2_64{color:var(--text-secondary);font-size:var(--font-size-sm)}._inputContainer_1t7v2_69{display:flex;gap:8px;align-items:center}._bottomSheet_1x4sq_1{height:100%;display:flex;flex-direction:column;padding:16px 24px}._content_1x4sq_8{flex:1}._content_1x4sq_8 ._agreementList_1x4sq_11{display:flex;flex-direction:column;gap:.75rem}._content_1x4sq_8 ._agreementList_1x4sq_11 ._agreementItem_1x4sq_16{display:flex;align-items:center;gap:.5rem;cursor:pointer;color:var(--text-primary)}._content_1x4sq_8 ._warning_1x4sq_23{padding:.75rem 1rem;color:var(--text-secondary);border-radius:.5rem;background-color:var(--surface0);margin-top:1rem}._buttonGroup_1x4sq_31{display:flex;gap:.75rem;margin-top:2rem}@media (min-width: 768px){._buttonGroup_1x4sq_31{margin-left:auto}}._buttonGroup_1x4sq_31 ._buttonWrapper_1x4sq_41{width:fit-content}._buttonGroup_1x4sq_31 ._fullWidthButton_1x4sq_44{width:100%}._modal_1x4sq_48{background-color:var(--surface-primary);border-radius:var(--border-radius);max-width:600px;width:100%}._header_1x4sq_55{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom:var(--border-thickness) solid var(--border-secondary)}._chargeItemsContainer_qmv3w_4{max-width:calc(var(--max-width-store) / 2)}@media (min-width: 768px){._chargeItemsContainer_qmv3w_4{height:calc(100vh - 30px);display:flex;flex-direction:column;align-items:flex-end;width:100%;padding:2.5rem 2.5rem 1.5rem 1rem}}@media (min-width: 768px){._chargeItemsInner_qmv3w_20{width:100%;height:100%}}._productsContainer_qmv3w_27{padding:0 1rem}@media (min-width: 768px){._productsContainer_qmv3w_27{display:flex;flex-direction:column;width:100%;height:100%;padding:0}}._chargeHeader_qmv3w_41{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:1.5rem}._chargeTitle_qmv3w_49{font-weight:700;color:var(--text-primary);font-size:var(--font-size-lg)}._chargeDescription_qmv3w_55{color:var(--text-secondary);font-size:var(--font-size-sm)}._copyButton_qmv3w_61{display:flex;align-items:center;gap:.25rem;min-width:115px;white-space:nowrap}._copyButton_qmv3w_61 ._buttonText_qmv3w_68{color:var(--text-secondary)}._productsList_qmv3w_73{margin-top:1.5rem;display:flex;flex-direction:column;gap:1rem}._trackingContainer_qmv3w_81{margin:1.5rem 0}@media (min-width: 768px){._trackingContainer_qmv3w_81{margin:1.5rem 0 0}}._footerContainer_qmv3w_91{display:none}@media (min-width: 768px){._footerContainer_qmv3w_91{display:flex}}._checkoutOrderMainData_hqf60_1{display:flex;flex-direction:column}._orderDetailRow_hqf60_6{padding:20px 0;width:100%;display:flex;align-items:center;justify-content:space-between;font-size:var(--font-size-base);border-bottom:var(--border-thickness) solid var(--border-primary)}._chargeIdRow_hqf60_16{padding:20px 0;width:100%;display:flex;align-items:center;justify-content:space-between;font-size:var(--font-size-base)}._detailLabel_hqf60_25{color:var(--text-secondary)}._detailValue_hqf60_29{color:var(--text-primary)}._chargeIdContainer_hqf60_33{display:flex;align-items:center;justify-content:flex-end;gap:.625rem;max-width:80%;width:100%}._chargeId_hqf60_16{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:80%;color:var(--text-primary);text-align:right}._copyIcon_hqf60_51{color:var(--text-secondary);cursor:pointer}._copyIcon_hqf60_51:hover{color:var(--text-primary)}._bottomSheet_1yai1_1{height:100%;display:flex;flex-direction:column;padding:16px 24px}._formContainer_1yai1_8{flex:1}._formContainer_1yai1_8 ._formGroup_1yai1_11{margin-top:1rem}._formContainer_1yai1_8 ._formGroup_1yai1_11 ._error_1yai1_14{color:var(--signal-danger)}._buttonGroup_1yai1_18{display:flex;gap:.75rem;margin-top:2rem}@media (min-width: 768px){._buttonGroup_1yai1_18{margin-left:auto}}._buttonGroup_1yai1_18 ._buttonWrapper_1yai1_28{width:fit-content}._buttonGroup_1yai1_18 ._fullWidthButton_1yai1_31{width:100%}._buttonGroup_1yai1_18 ._cancelButton_1yai1_34{color:var(--text-secondary)}._buttonGroup_1yai1_18 ._verifyButton_1yai1_37{color:var(--text-inverted)}._modal_1yai1_41{background-color:var(--surface-primary);border-radius:var(--border-radius);max-width:600px;width:100%}._header_1yai1_48{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom:var(--border-thickness) solid var(--border-secondary)}._container_1opbn_1{padding:1.5rem;margin-top:1rem;background-color:var(--surface-primary);border-radius:var(--border-radius)}._productDetails_1opbn_8{display:flex;gap:.75rem;width:100%}._imageContainer_1opbn_14{min-width:3rem;height:3rem;display:flex;align-items:center;justify-content:center;background-color:var(--surface-secondary);border-radius:var(--border-radius);overflow:hidden}._image_1opbn_14{width:100%;height:100%;object-fit:contain;border-radius:var(--border-radius)}._textContainer_1opbn_32{font-size:var(--font-size-base);width:100%;display:flex;flex-direction:column;gap:4px}._header_1opbn_40{display:flex;align-items:center;gap:.5rem}._title_1opbn_46{font-weight:700;overflow:hidden;text-overflow:ellipsis;max-width:100%}._price_1opbn_53{color:var(--text-secondary)}._badgeContainer_1opbn_57{min-width:fit-content}._description_1opbn_61{margin-top:1rem;color:var(--text-secondary)}._card_69liy_1{width:100%;padding:1rem;cursor:pointer;border-radius:.5rem;display:flex;flex-direction:column;align-items:flex-start}._card_69liy_1 ._price_69liy_10{font-size:1.5rem;font-weight:700;display:flex;align-items:center;gap:.5rem}._card_69liy_1 ._price_69liy_10 ._interval_69liy_17{font-size:1rem;font-weight:400;color:var(--text-secondary)}._card_69liy_1 ._name_69liy_22{font-size:1.25rem;font-weight:500;margin-top:1rem;flex:auto}._card_69liy_1 ._description_69liy_28{margin-top:.25rem;color:var(--text-secondary)}._card_69liy_1 ._currentPlan_69liy_32{width:100%;display:flex;align-items:center;justify-content:center;gap:.5rem;margin-top:1.5rem;padding:.75rem;font-size:.875rem;color:var(--text-action);border:var(--border-thickness) solid var(--border-secondary);border-radius:var(--border-radius)}._card_69liy_1 ._selectButton_69liy_45{width:100%;margin-top:1.5rem;padding:.75rem}._card_69liy_1 ._progressSection_69liy_50{width:100%;margin-top:.75rem}._card_69liy_1 ._progressSection_69liy_50 ._progressLabel_69liy_54{color:var(--text-secondary);font-size:.875rem;margin-top:.5rem}._bottomSheet_69liy_60{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px}._title_69liy_69{font-weight:700;font-size:1.5rem}._description_69liy_28{max-width:800px;color:var(--text-secondary);text-align:center}._typeSelector_69liy_80{max-width:376px;width:100%;display:flex;margin-top:1.5rem;padding:.25rem;border:var(--border-thickness) solid var(--border-secondary);border-radius:var(--border-radius);background-color:var(--surface-secondary)}._typeSelector_69liy_80 ._typeOption_69liy_90{width:100%;text-align:center;cursor:pointer;padding:6px;font-size:.875rem;border-radius:var(--border-radius);transition:all .3s;color:var(--text-secondary)}._typeSelector_69liy_80 ._typeOption_69liy_90._active_69liy_100{background-color:var(--surface-primary);color:var(--text-primary)}._typeSelector_69liy_80 ._typeOption_69liy_90:not(._active_69liy_100):hover{background-color:var(--surface-secondary);color:var(--text-primary)}._typeSelector_69liy_80 ._typeOption_69liy_90 ._saveTag_69liy_108{border:1px solid var(--surface-action1);color:var(--surface-action1);padding:2px 8px;border-radius:.25rem;font-size:.75rem;margin-left:.25rem}._planSelector_69liy_117{padding:.5rem 1.5rem;margin-top:1.5rem;width:100%;display:flex;gap:1rem;border:1px solid var(--border-secondary);border-radius:2rem}._modal_69liy_127{width:100%;height:100%;background-color:var(--surface-primary);border-radius:var(--border-radius);position:absolute;transition:all .3s ease-in-out;display:flex;flex-direction:column;top:0;left:0;bottom:0;right:0;padding:24px}._modal_69liy_127._none_69liy_142{display:none}._modal_69liy_127._active_69liy_100{animation:_fadeIn_69liy_1 .3s ease-in-out forwards}._modal_69liy_127._inactive_69liy_148{animation:_fadeOut_69liy_1 .3s ease-in-out forwards}._modal_69liy_127._notMounted_69liy_151{opacity:0;transform:scale(.95);visibility:hidden}._closeButton_69liy_157{position:absolute;top:10px;right:10px}@keyframes _fadeIn_69liy_1{0%{opacity:0;transform:scale(.95);visibility:hidden}to{opacity:1;transform:scale(1);visibility:visible}}@keyframes _fadeOut_69liy_1{0%{opacity:1;transform:scale(1);visibility:visible}to{opacity:0;transform:scale(.95);visibility:hidden}}._container_nb625_1{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.5rem;border:var(--border-thickness) solid var(--border-secondary);border-radius:var(--border-radius)}._title_nb625_11{font-weight:700;color:var(--text-primary)}._subtitle_nb625_16{color:var(--text-secondary)}._info_nb625_20{display:flex;flex-direction:column;gap:5px}._couponContainer_1sspa_1{display:flex;align-items:center;gap:1rem;padding:1.5rem;border:1px solid var(--border-color-default);border-radius:var(--border-radius-lg)}._iconWrapper_1sspa_10{min-width:3rem;height:3rem;display:flex;align-items:center;justify-content:center;border-radius:var(--border-radius-custom);background-color:var(--success-background);color:var(--success-text)}._details_1sspa_21{width:100%}._title_1sspa_25{font-weight:700}._progress_1sspa_29{margin-top:.5rem;width:100%}._foreverText_1sspa_34{margin-top:.25rem;font-size:var(--font-size-sm);color:var(--text-secondary)}._paymentMethodContainer_1g0da_4{padding:1.5rem;margin-top:1.5rem;display:flex;align-items:center;justify-content:space-between;border:var(--border-thickness) solid var(--border-secondary);border-radius:var(--border-radius)}._paymentMethodTitle_1g0da_15{font-weight:700}._activeMethod_1g0da_20{display:flex;align-items:center;gap:.75rem;margin-top:.25rem}._noMethod_1g0da_28{color:var(--text-secondary)}._buttonText_1g0da_33{color:var(--text-inverted)}._activeMethodPaymentMethod_1g0da_37{border:none;display:flex;flex-direction:row;align-items:center;gap:10px;white-space:nowrap;padding:0}._paymentMethodLogo_1g0da_47{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:var(--border-radius);background-color:var(--surface-secondary)}._paymentMethodNumber_1g0da_57{color:var(--text-secondary)}._method_1g0da_61{display:flex;align-items:center;gap:10px}._paymentMethods_1gev0_1{display:flex;gap:.75rem;justify-content:flex-end;margin-top:2rem}@media (min-width: 768px){._paymentMethods_1gev0_1{width:50%;margin-left:auto}}._modal_1gev0_14{background-color:var(--surface-primary);border-radius:var(--border-radius);display:flex;flex-direction:column;gap:24px;min-width:700px}@media (max-width: 768px){._modal_1gev0_14{min-width:100%}}._header_1gev0_28{padding:16px 24px;border-bottom:var(--border-thickness) solid var(--border-secondary);display:flex;align-items:center;justify-content:space-between;gap:10px}._content_1gev0_37{padding:0 24px 24px;display:flex;flex-direction:column;gap:24px}._subscriptionProductContainer_83ibx_4{padding:1.5rem;width:100%;display:flex;align-items:center;gap:.75rem;border:var(--border-thickness) solid var(--border-secondary);border-radius:var(--border-radius)}._subscriptionProductImage_83ibx_15{min-width:3rem;height:3rem;display:flex;align-items:center;justify-content:center;background-color:var(--surface-secondary);border-radius:var(--border-radius);overflow:hidden}._subscriptionProductImage_83ibx_15 img{width:100%;height:100%;object-fit:contain}._subscriptionProductInfo_83ibx_32{font-size:var(--font-size-base);width:100%;flex:1}._subscriptionProductInfo_83ibx_32 ._name_83ibx_37{font-weight:700}._subscriptionProductInfo_83ibx_32 ._price_83ibx_40{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%}._subscriptionProductCancelButton_83ibx_49{color:var(--text-secondary)}._content_5ctxw_1{padding:16px 24px;height:100%;display:flex;flex-direction:column}._content_5ctxw_1{flex:1}._content_5ctxw_1 ._upgradeOptions_5ctxw_11{width:100%;display:flex;margin-top:1.5rem;padding:.25rem;border:var(--border-thickness) solid var(--border-secondary);border-radius:var(--border-radius);background-color:var(--surface-secondary)}._content_5ctxw_1 ._upgradeOptions_5ctxw_11 ._option_5ctxw_20{width:100%;text-align:center;cursor:pointer;padding:6px;color:var(--text-secondary);font-size:.875rem;border-radius:var(--border-radius);transition:all .3s}._content_5ctxw_1 ._upgradeOptions_5ctxw_11 ._option_5ctxw_20:hover{color:var(--text-primary)}._content_5ctxw_1 ._upgradeOptions_5ctxw_11 ._activeOption_5ctxw_33{background-color:var(--surface-primary);color:var(--text-primary)}._content_5ctxw_1 ._selectedPlan_5ctxw_37{margin-top:1rem;padding:1rem;border:var(--border-thickness) solid var(--border-secondary);border-radius:var(--border-radius);background-color:var(--surface-primary)}._content_5ctxw_1 ._selectedPlan_5ctxw_37 ._planName_5ctxw_44{font-size:1.25rem;font-weight:700}._content_5ctxw_1 ._selectedPlan_5ctxw_37 ._description_5ctxw_48{color:var(--text-secondary)}._content_5ctxw_1 ._selectedPlan_5ctxw_37 ._price_5ctxw_51{margin-top:.5rem;font-weight:600}._content_5ctxw_1 ._summary_5ctxw_55{margin-top:1.5rem;padding:1.25rem;width:100%;display:flex;flex-direction:column;gap:.75rem;border-radius:var(--border-radius);background-color:var(--surface-primary)}._content_5ctxw_1 ._summary_5ctxw_55 ._lineItem_5ctxw_65{display:flex;align-items:center;justify-content:space-between;gap:.75rem;font-size:1rem}._content_5ctxw_1 ._summary_5ctxw_55 ._lineItem_5ctxw_65 ._subtotal_5ctxw_72{color:var(--text-secondary)}._content_5ctxw_1 ._summary_5ctxw_55 ._lineItem_5ctxw_65 ._total_5ctxw_75{font-weight:600}._buttonGroup_5ctxw_79{display:flex;gap:.75rem;padding:16px 24px}._buttonGroup_5ctxw_79 ._buttonWrapper_5ctxw_84{width:fit-content}._modal_5ctxw_88{background-color:var(--surface-primary);border-radius:var(--border-radius);max-width:700px;width:100%}._header_5ctxw_95{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom:var(--border-thickness) solid var(--border-secondary)}._reviewMessage_1t8u4_1{padding:1rem;display:flex;justify-content:space-between;border-radius:var(--border-radius);background-color:var(--surface-secondary);font-weight:700;color:var(--text-primary)}._leaveReviewContainer_1t8u4_11{padding:1rem;display:flex;align-items:center;justify-content:space-between;border-radius:var(--border-radius);background-color:var(--surface-secondary)}._leaveReviewTitle_1t8u4_20{font-size:var(--font-size-base);font-weight:700;color:var(--text-primary)}._bottomSheet_1bcyj_1{height:100%;display:flex;flex-direction:column}._content_1bcyj_7{flex:1}._content_1bcyj_7 ._description_1bcyj_10{color:var(--text-secondary);font-size:.875rem}._content_1bcyj_7 ._textarea_1bcyj_14{margin-top:.5rem}._title_1bcyj_18{color:var(--text-primary)}._buttonGroup_1bcyj_22{display:flex;gap:.75rem;margin-top:2rem;padding:16px 24px}@media (min-width: 768px){._buttonGroup_1bcyj_22{margin-left:auto}}._buttonGroup_1bcyj_22 ._buttonWrapper_1bcyj_33{width:100%}._modal_1bcyj_37{background-color:var(--surface-primary);border-radius:var(--border-radius);max-width:700px;width:100%}._header_1bcyj_44{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom:var(--border-thickness) solid var(--border-secondary)}._content_1bcyj_7{padding:16px 24px}._container_1idhv_1{background-color:var(--surface-primary);border-radius:var(--border-radius);max-width:700px;width:100%}._buttonGroup_1idhv_8{padding-top:16px;display:flex;gap:.75rem;align-items:center;justify-content:flex-end}._buttonGroup_1idhv_8 ._buttonWrapper_1idhv_15{width:fit-content}._header_1idhv_19{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 24px;border-bottom:var(--border-thickness) solid var(--border-secondary)}._content_1idhv_28{padding:16px 24px}._bottomSheet_uw5jb_1{height:100%;display:flex;flex-direction:column}._content_uw5jb_7{flex:1;color:var(--text-secondary)}._content_uw5jb_7 ._radioGroup_uw5jb_11{display:flex;flex-direction:column;gap:.75rem;margin-top:1rem}._content_uw5jb_7 ._radioGroup_uw5jb_11 ._radioOption_uw5jb_17{display:flex;align-items:center;gap:.5rem;cursor:pointer}._content_uw5jb_7 ._radioGroup_uw5jb_11 ._textarea_uw5jb_23{margin-top:1rem}._content_uw5jb_7 ._confirmation_uw5jb_26{text-align:center;margin-top:1.5rem;display:flex;flex-direction:column;align-items:center}._content_uw5jb_7 ._confirmation_uw5jb_26 ._iconWrapper_uw5jb_33{width:3rem;height:3rem;display:flex;align-items:center;justify-content:center;border-radius:var(--border-radius);background-color:var(--surface-secondary)}._content_uw5jb_7 ._confirmation_uw5jb_26 ._title_uw5jb_42{font-weight:600;margin-top:1rem;color:var(--text-primary);font-size:16px}._content_uw5jb_7 ._confirmation_uw5jb_26 ._message_uw5jb_48{margin-top:.5rem;max-width:450px;color:var(--text-secondary)}._buttonGroup_uw5jb_54{display:flex;gap:.75rem;margin-top:2rem}@media (min-width: 768px){._buttonGroup_uw5jb_54{margin-left:auto}}._buttonGroup_uw5jb_54 ._buttonWrapper_uw5jb_64{width:fit-content}._modal_uw5jb_68{display:flex;flex-direction:column;background-color:var(--surface-primary);border-radius:var(--border-radius);max-width:600px;width:100%}._header_uw5jb_77{border-bottom:var(--border-thickness) solid var(--border-secondary);display:flex;justify-content:space-between;align-items:center;padding:16px 24px}._content_uw5jb_7{padding:16px 24px}._checkoutContainer_wkomn_1{background-color:var(--surface-primary);overflow-y:auto;height:100vh}@media (min-width: 768px){._checkoutContainer_wkomn_1{display:flex}}._checkoutItems_wkomn_12,._checkoutOperational_wkomn_16{flex-grow:1}._loaderContainer_wkomn_20{display:flex;align-items:center;justify-content:center;height:100%;width:100%}._chargePageContainer_1a200_1{height:100vh;display:flex;background-color:var(--surface-primary);flex-direction:column;overflow-y:scroll}@media (min-width: 768px){._chargePageContainer_1a200_1{flex-direction:row}}._chargeItems_1a200_14{display:flex;justify-content:flex-end;flex:0 1 50%}@media (max-width: 768px){._chargeItems_1a200_14{display:block}}._mainContent_1a200_25{padding:1rem;flex:0 1 50%;background-color:var(--surface-secondary)}@media (min-width: 768px){._mainContent_1a200_25{width:100%}}._contentWrapper_1a200_36{max-width:calc(var(--max-width-store) / 2);width:100%}._statusBlock_1a200_41{margin-top:1.25rem}._notPaidSection_1a200_45{display:flex;flex-direction:column;gap:1rem;padding-top:1.5rem;border-top:1px solid var(--borderDefault)}._footer_1a200_53{margin-top:2.5rem;display:flex}@media (min-width: 768px){._footer_1a200_53{display:none}}._loaderContainer_1a200_63{display:flex;justify-content:center;align-items:center;height:100vh;width:100vw}._wrapper_1fax2_1{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;width:100%;height:80vh;max-width:var(--max-width-store);padding:50px;margin:0 auto 50px}@media (max-width: 768px){._wrapper_1fax2_1{padding:20px;margin:0 auto 20px}}._title_1fax2_20{font-size:var(--font-size-h4);font-weight:700;line-height:1.5}._container_1fax2_26{display:flex;flex-direction:column;align-items:flex-start;gap:10px;width:100%;height:100%;max-width:900px}._content_1fax2_36{display:flex;flex-direction:column;align-items:center;width:100%;height:100%;background-color:var(--surface-secondary);border-radius:var(--border-radius)}._messages_1fax2_46{display:flex;flex-direction:column;gap:10px;flex:1 1 auto;border-bottom:1px solid var(--border-secondary);padding:26px 32px;width:100%;overflow-y:scroll;min-height:500px}._input_1fax2_58{width:100%;padding:24px;position:relative}._textarea_1fax2_64{width:100%;border-radius:var(--input-border-radius);border:var(--input-border-thickness) solid var(--input-border-color);background-color:var(--input-field-color);color:var(--input-color);padding:10px 100px 10px 10px;overflow-y:auto;resize:none;max-height:150px}._message_1fax2_46{max-width:500px;padding:12px 16px;border-radius:var(--border-radius);background-color:var(--surface-information);color:var(--text-primary);font-size:var(--font-size-p);display:flex;flex-direction:column;gap:10px;text-align:left}._message_1fax2_46 ._messageDate_1fax2_88{font-size:var(--font-size-p);color:var(--text-secondary);width:100%}._myMessage_1fax2_94{align-self:flex-end}._myMessage_1fax2_94 ._messageDate_1fax2_88{text-align:right}._otherMessage_1fax2_101{align-self:flex-start}._otherMessage_1fax2_101 ._messageDate_1fax2_88{text-align:left}._button_1fax2_108{cursor:pointer;color:var(--surface-action1);position:absolute;right:40px;top:50%;transform:translateY(-50%)}._loadingMessage_1fax2_117{position:relative}._subscriptionContainer_1j6ol_1{min-height:100vh;background-color:var(--surface-secondary);display:flex;flex-direction:column;gap:50px}@media (min-width: 768px){._subscriptionContainer_1j6ol_1{flex-direction:row}}@media (min-width: 768px){._leftSection_1j6ol_15{height:100vh;display:flex;flex-direction:column;align-items:flex-end;width:100%;padding:2.5rem 1rem 1.5rem}}@media (min-width: 768px){._content_1j6ol_26{max-width:calc(var(--max-width-store) / 2);width:100%;height:100%}}._mainContent_1j6ol_33{padding:24px 0 8px}._detailsSection_1j6ol_37{padding:1.5rem;background-color:var(--surface-primary);margin-top:2.5rem}@media (min-width: 768px){._detailsSection_1j6ol_37{margin-top:0;width:100%;padding:2.5rem 1rem}}._buttonGroup_1j6ol_50{display:flex;margin-top:1rem;gap:1rem;width:100%}._detailsContent_1j6ol_57{margin-top:1.5rem;display:flex;flex-direction:column;gap:1rem;max-width:calc(var(--max-width-store) / 2);width:100%}._topUpContainer_1pag6_1{flex:1;width:100%;display:flex;align-items:center;justify-content:center}@media (min-width: 768px){._topUpContainer_1pag6_1{display:flex;justify-content:center}}._formWrapper_1pag6_15{display:flex;flex-direction:column;align-items:center;justify-content:center}@media (min-width: 768px){._formWrapper_1pag6_15{max-width:600px;margin-top:1.25rem}}@media (min-width: 768px){._header_1pag6_29{display:none}}._form_1pag6_15{flex:1;padding:1rem}._form_1pag6_15 ._title_1pag6_38{margin-top:1.5rem;font-size:1.125rem;font-weight:700}._form_1pag6_15 ._inputBlock_1pag6_43{margin-top:.625rem}._form_1pag6_15 ._inputBlock_1pag6_43 ._label_1pag6_46{font-size:.875rem;color:var(--text-secondary)}._form_1pag6_15 ._inputBlock_1pag6_43 ._input_1pag6_43{margin-top:.25rem}._form_1pag6_15 ._inputBlock_1pag6_43 ._error_1pag6_53{color:var(--surface-action1);margin-top:.25rem}._form_1pag6_15 ._bonusBlock_1pag6_57{margin-top:1.5rem}._form_1pag6_15 ._paymentMethods_1pag6_60{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;padding-top:1.5rem;margin-top:1.5rem;border-top:var(--border-thickness-custom) solid var(--border-primary)}._form_1pag6_15 ._gatewayError_1pag6_68{margin-bottom:1rem;color:var(--surface-action1)}._form_1pag6_15 ._submitBlock_1pag6_72{margin-top:2.5rem}._form_1pag6_15 ._submitBlock_1pag6_72 ._submitButton_1pag6_75{width:100%}._form_1pag6_15 ._submitBlock_1pag6_72 ._termsBlock_1pag6_78{margin-top:1rem}._footer_1pag6_82{padding:1rem;padding-top:0}@media (min-width: 768px){._footer_1pag6_82{display:none}}._bonusBlock_1pag6_57{font-size:.875rem;color:var(--surface-action1);padding:.5rem .75rem;display:inline-flex;background-color:var(--surface-primary);border-radius:.75rem;margin-top:.75rem}._bonusBlock_1pag6_57 ._icon_1pag6_101{margin-right:.5rem}._wrapper_1pag6_105{display:flex;flex-direction:column;height:100vh;overflow:scroll}._orderPage_1nvve_1{height:100vh;background-color:var(--surface-primary);display:flex;width:100vw;gap:20px;overflow-y:scroll}@media (max-width: 768px){._orderPage_1nvve_1{flex-direction:column}}._leftSection_1nvve_15{flex:0 1 50%}@media (min-width: 768px){._leftSection_1nvve_15{height:100vh;display:flex;flex-direction:column;align-items:flex-end;width:100%;padding:2.5rem 1rem 1.5rem}}@media (max-width: 768px){._leftSection_1nvve_15{flex:1}}@media (min-width: 768px){._content_1nvve_35{max-width:calc(var(--max-width-store) / 2);height:100%;width:100%}}._main_1nvve_42{padding:2rem 1rem;height:100%}@media (min-width: 768px){._main_1nvve_42{padding:0;display:flex;flex-direction:column}}._statusBlock_1nvve_54{margin-top:1rem}._timelineBlock_1nvve_58{margin-top:1.5rem}._footer_1nvve_62{display:none}@media (min-width: 768px){._footer_1nvve_62{display:flex}}._rightSection_1nvve_71{padding:1.5rem;background-color:var(--surface-secondary);flex:0 1 50%}@media (min-width: 768px){._rightSection_1nvve_71{margin-top:0;width:100%;padding:2.5rem 1rem}}._header_1nvve_84{display:flex;justify-content:space-between;align-items:center;margin-top:1.5rem;gap:8px}._productList_1nvve_92{margin-top:1.5rem;display:flex;flex-direction:column;gap:1rem}._mobileFooter_1nvve_99{display:flex}@media (min-width: 768px){._mobileFooter_1nvve_99{display:none}}._loaderContainer_1nvve_108{display:flex;justify-content:center;align-items:center;height:100vh;width:100vw}._orderMainData_1nvve_116{display:flex;flex-direction:column;gap:1rem;flex:1}._prices_1nvve_123{background-color:var(--surface-primary)}._headerTitle_1nvve_127{color:var(--text-primary)}._headerDescription_1nvve_131{color:var(--text-secondary)}._wrapper_kh9z8_2{display:flex;flex-direction:column;gap:10px}._block_kh9z8_8{display:flex;flex-direction:column;gap:6px;height:100%;width:100%}._title_kh9z8_16{font-weight:500;line-height:24px;font-size:16px;color:var(--main-color)}._subtitle_kh9z8_23{color:var(--accent-color);font-size:14px;line-height:20px;font-weight:400}._alignmentContent_kh9z8_30{display:flex;flex-direction:row;gap:5px;justify-content:space-between;align-items:stretch;padding:10px 0 16px}._alignments_kh9z8_39{border-radius:12px;background:var(--background-color);display:grid;gap:4px;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,29.5px);flex:0 0 45%;height:100%;width:100%}._alignment_kh9z8_30{display:flex;flex-direction:row;gap:0px;cursor:pointer;height:100%;width:100%;align-items:center;justify-content:center;transition:background-color .3s ease;border-radius:8px}._circle_kh9z8_64{width:6px;height:6px;border-radius:50%;background-color:#c2c2c2}._paddings_kh9z8_71{border-radius:12px;display:grid;gap:4px;grid-template-columns:repeat(2,80px);grid-template-rows:repeat(2,1fr);width:165px;height:100%}._padding_kh9z8_71{display:flex;flex-direction:row;gap:4px;width:75px;align-items:center;background:var(--background-color);border-radius:12px;padding:10px 8px;border:1px solid transparent;transition:border .3s ease}._padding_kh9z8_71:hover{border:1px solid #f0f0f0}._active_kh9z8_97,._active_kh9z8_97:hover{border:1px solid #ff3f19}._input_kh9z8_104{width:100%}._title_82zux_1{font-weight:500}._subtitle_82zux_5{color:var(--accent-color);font-size:14px;line-height:20px;font-weight:400}._header_82zux_12,._text_82zux_13,._productsBlock_82zux_14{display:flex;flex-direction:column;gap:12px;padding:10px 0 16px;width:100%}._productsBlock_82zux_14{position:relative}._top_82zux_26{display:flex;flex-direction:row;gap:0px;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_82zux_35{display:flex;flex-direction:column;gap:6px}._typeTexts_82zux_41{display:flex;flex-direction:row;gap:8px;align-items:center}._block_82zux_48{display:flex;flex-direction:row;gap:0px;padding:8px;align-items:center;justify-content:center;border:1px solid var(--background-color);background-color:var(--background-color);border-radius:12px;cursor:pointer}._active_82zux_61{border:1px solid #ff3f19}._products_82zux_14{display:flex;flex-direction:column;gap:8px;width:100%}._product_82zux_14{display:flex;flex-direction:row;gap:8px;align-items:center;width:100%}._button_82zux_80{display:flex;flex-direction:row;gap:6px;background:inherit;color:#ff3f19;align-items:center;justify-content:center;width:100%}._disabled_82zux_91{color:var(--accent-color)}._image_82zux_95{border-radius:8px;border:var(--default-border);background-color:#fff;padding:4px}._info_82zux_102{display:flex;flex-direction:row;gap:4px;border-radius:12px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:var(--background-color);padding:8px 12px}._name_82zux_114{flex:1 1 100%}._buttons_82zux_118{display:flex;flex-direction:row;gap:8px;align-items:center}._modal_82zux_125{position:fixed;background-color:#fff;border:var(--default-border);right:-300px;top:0;z-index:10000;max-width:276px;width:100%;padding:16px;border-radius:12px}._modal_82zux_125 ._top_82zux_26{display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:space-between}._link_82zux_145{display:flex;flex-direction:column;gap:8px}._modalOptions_82zux_151{display:flex;flex-direction:column;gap:10px}._addButton_82zux_157{display:flex;flex-direction:row;gap:0px;justify-content:center;width:100%}._addButton_82zux_157{display:flex;flex-direction:row;gap:0px;justify-content:center;width:100%;padding:4px;border-radius:8px;transition:.3s background-color ease}._addButton_82zux_157:hover{background-color:#f0f0f0}._deleteButton_82zux_179{display:flex;flex-direction:row;gap:0px;padding:6px;border-radius:8px;transition:.3s background-color ease}._deleteButton_82zux_179:hover{background-color:#f0f0f0}._title_roi3a_1{font-weight:500}._subtitle_roi3a_5{color:var(--accent-color);font-size:14px;line-height:20px;font-weight:400}._header_roi3a_12,._text_roi3a_13,._productsBlock_roi3a_14{display:flex;flex-direction:column;gap:12px;padding:10px 0 16px;width:100%}._productsBlock_roi3a_14{position:relative}._top_roi3a_26{display:flex;flex-direction:row;gap:0px;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_roi3a_35{display:flex;flex-direction:column;gap:6px}._typeTexts_roi3a_41{display:flex;flex-direction:row;gap:8px;align-items:center}._block_roi3a_48{display:flex;flex-direction:row;gap:0px;padding:8px;align-items:center;justify-content:center;border:1px solid var(--background-color);background-color:var(--background-color);border-radius:12px;cursor:pointer}._active_roi3a_61{border:1px solid #ff3f19}._products_roi3a_14{display:flex;flex-direction:column;gap:8px;width:100%}._product_roi3a_14{display:flex;flex-direction:row;gap:8px;align-items:center;width:100%}._button_roi3a_80{display:flex;flex-direction:row;gap:6px;background:inherit;color:#ff3f19;align-items:center;justify-content:center;width:100%}._disabled_roi3a_91{color:var(--accent-color)}._image_roi3a_95{border-radius:8px;border:var(--default-border);background-color:#fff;padding:4px}._info_roi3a_102{display:flex;flex-direction:row;gap:4px;border-radius:12px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:var(--background-color);padding:8px 12px}._name_roi3a_114{flex:1 1 100%}._buttons_roi3a_118{display:flex;flex-direction:row;gap:4px;align-items:center}._modal_roi3a_125{position:fixed;background-color:#fff;border:var(--default-border);right:-300px;top:0;z-index:10000;max-width:276px;width:100%;border-radius:12px}._modal_roi3a_125 ._top_roi3a_26{display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:space-between;padding:16px 16px 0}._link_roi3a_145{display:flex;flex-direction:column;gap:8px}._modalOptions_roi3a_151{display:flex;flex-direction:column;gap:10px;max-height:500px;padding:0 16px 16px}._modalOptions_roi3a_151>*:not(:last-child){border-bottom:var(--default-border);padding-bottom:7px}._addButton_roi3a_164{display:flex;flex-direction:row;gap:5px;align-items:center;justify-content:center;width:100%;padding:4px;border-radius:8px;transition:.3s background-color ease}._addButton_roi3a_164:hover{background-color:#f0f0f0}._deleteButton_roi3a_179{display:flex;flex-direction:row;gap:0px;padding:6px;border-radius:8px;transition:.3s background-color ease}._deleteButton_roi3a_179:hover{background-color:#f0f0f0}._closeIcon_roi3a_191{display:flex;flex-direction:row;gap:0px;padding:6px;border-radius:8px;transition:.3s background-color ease;cursor:pointer}._closeIcon_roi3a_191:hover{background-color:#f0f0f0}._subtitle_jql1y_1{color:var(--accent-color);font-size:14px;line-height:20px;font-weight:400}._header_jql1y_8,._text_jql1y_9,._productsBlock_jql1y_10,._buttonsBlock_jql1y_11{display:flex;flex-direction:column;gap:0px;padding:10px 0 16px;border-bottom:var(--default-border)}._buttonsBlock_jql1y_11{position:relative}._top_jql1y_23{display:flex;flex-direction:row;gap:0px;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_jql1y_32{display:flex;flex-direction:column;gap:6px}._typeTexts_jql1y_38{display:flex;flex-direction:row;gap:8px;align-items:center}._block_jql1y_45{display:flex;flex-direction:row;gap:0px;padding:8px;align-items:center;justify-content:center;border:1px solid var(--background-color);background-color:var(--background-color);border-radius:12px;cursor:pointer}._active_jql1y_58{border:1px solid #ff3f19}._products_jql1y_10{display:flex;flex-direction:column;gap:8px;width:100%}._product_jql1y_10{display:flex;flex-direction:row;gap:8px;align-items:center;width:100%}._button_jql1y_11{display:flex;flex-direction:row;gap:6px;background:inherit;color:#ff3f19;align-items:center;justify-content:center;width:100%}._image_jql1y_88{border-radius:8px;border:var(--default-border);background-color:#fff;padding:4px}._info_jql1y_95{display:flex;flex-direction:row;gap:4px;border-radius:12px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:var(--background-color);padding:8px 12px}._name_jql1y_107{flex:1 1 100%}._buttons_jql1y_11{display:flex;flex-direction:row;gap:4px;align-items:center}._modal_jql1y_118{position:fixed;background-color:#fff;right:-300px;z-index:10000;max-width:276px;width:100%;bottom:20px;padding:16px;border-radius:12px;border:var(--default-border)}._modal_jql1y_118 ._top_jql1y_23{display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:space-between}._other_jql1y_138{display:flex;flex-direction:column;gap:6px}._options_jql1y_144{display:flex;flex-direction:column;gap:15px}._addButton_jql1y_150{display:flex;flex-direction:row;gap:5px;align-items:center;justify-content:center;width:100%;transition:.3s background-color ease;padding:4px;border-radius:8px}._addButton_jql1y_150:hover{background-color:#f0f0f0}._deleteButton_jql1y_165{display:flex;flex-direction:row;gap:0px;padding:6px;border-radius:8px;transition:.3s background-color ease}._deleteButton_jql1y_165:hover{background-color:#f0f0f0}._options_s4lx3_1{display:flex;flex-direction:column;gap:20px;border-radius:16px;border:var(--border-thickness) solid var(--border-primary);width:100%;height:fit-content;padding:24px;min-width:450px}@media (max-width: 768px){._options_s4lx3_1{min-width:auto}}._price_s4lx3_18{display:flex;flex-direction:row;gap:4px;align-items:flex-start}._oldPrice_s4lx3_25{font-size:14px;font-weight:400;line-height:20px;text-decoration:line-through;color:var(--text-secondary);font-family:inherit}._newPrice_s4lx3_34{font-size:20px;font-weight:700;line-height:24px;color:var(--text-primary);font-family:inherit}._animate_s4lx3_42{animation:_appearAndBounce_s4lx3_1 .5s ease-out}@keyframes _appearAndBounce_s4lx3_1{0%{opacity:0;transform:translateY(20px)}60%{opacity:1;transform:translateY(0)}to{opacity:1;transform:translateY(0)}}._meta_s4lx3_60{display:flex;flex-direction:column;gap:10px}._info_s4lx3_66{display:flex;flex-direction:row;gap:10px;align-items:center;justify-content:space-between;color:var(--text-primary)}._infoRight_s4lx3_75{display:flex;flex-direction:row;gap:5px;align-items:center}._buttons_s4lx3_82{display:flex;flex-direction:column;gap:8px;width:100%}._variants_s4lx3_89{display:flex;flex-direction:column;gap:20px}._variant_s4lx3_89{display:flex;flex-direction:row;gap:10px;justify-content:space-between;align-items:center;border-radius:12px;padding:12px 16px;border:var(--border-thickness) solid var(--border-primary);cursor:pointer}._stock_s4lx3_107{font-size:14px;font-weight:400;line-height:20px;color:var(--text-secondary);white-space:nowrap!important}._variantInfo_s4lx3_115{display:flex;flex-direction:column;gap:4px;color:var(--text-primary)}._quantity_s4lx3_122{display:flex;flex-direction:row;gap:10px;align-items:center}._count_s4lx3_129{display:flex;flex-direction:row;gap:0px;text-align:center;padding:0 10px;width:100%;flex:1 1 auto;justify-content:center;align-items:center;border:var(--border-thickness) solid var(--border-primary);transition:border .3s ease}._count_s4lx3_129:hover{border:var(--border-thickness) solid var(--border-primary)}._focused_s4lx3_146,._focused_s4lx3_146:hover{border:var(--border-thickness) solid var(--border-focus)}._button_s4lx3_82{display:flex;flex-direction:row;gap:0px;border-radius:50%;padding:8px;justify-content:center;align-items:center;transition:background-color .3s ease}._button_s4lx3_82:disabled{opacity:.7}._activeVariant_s4lx3_168{border:var(--border-thickness) solid var(--border-action)}._chargeTypes_s4lx3_172{display:flex;flex-direction:row;gap:5px;padding:4px;border-radius:16px;background-color:var(--surface-secondary)}._charge_s4lx3_172{display:flex;flex-direction:row;gap:0px;flex:1 1 auto;justify-content:center;align-items:center;color:var(--text-primary);padding:8px;border-radius:12px;transition:.3s background-color ease}._charge_s4lx3_172:hover{background-color:var(--surface-action1Hover)}._chargeActive_s4lx3_197{background-color:var(--surface-primary);color:var(--text-primary)}._chargeActive_s4lx3_197:hover{background-color:var(--surface-primary)}._title_s4lx3_205{font-size:16px;font-weight:700;line-height:24px;color:var(--text-primary)}._button_1uy6y_1{display:flex;flex-direction:row;gap:0px;align-items:center;padding:10px;background-color:var(--surface-secondary);border-radius:12px;color:var(--text-secondary);cursor:pointer;position:relative}._login_1uy6y_14{padding:12px 16px}._signUp_1uy6y_18{background-color:var(--surface-action1);color:var(--text-inverted)}._buttons_1uy6y_23{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:16px}._modal_1uy6y_32{background-color:var(--surface-primary);color:var(--text-primary);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;animation:_slide-in-fade_1uy6y_1 .3s ease forwards}@media (max-width: 700px){._modal_1uy6y_32{right:0;left:0;bottom:0;top:auto;height:80vh;width:100%;max-width:100vw;min-width:0;border-radius:24px;animation:_mobile-slide-in-fade_1uy6y_1 .3s ease forwards}._modal_1uy6y_32._closing_1uy6y_65{animation:_mobile-slide-out-fade_1uy6y_1 .3s ease forwards}}._closing_1uy6y_65{animation:_slide-out-fade_1uy6y_1 .3s ease forwards}@keyframes _mobile-slide-in-fade_1uy6y_1{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slide-in-fade_1uy6y_1{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _mobile-slide-out-fade_1uy6y_1{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}@keyframes _slide-out-fade_1uy6y_1{0%{transform:translate(0);opacity:1}to{transform:translate(100%);opacity:0}}._info_1uy6y_114{display:flex;flex-direction:row;gap:8px;align-items:center}._top_1uy6y_121{display:flex;flex-direction:row;padding:26px 24px;border-bottom:var(--border-thickness) solid var(--border-color);align-items:center;justify-content:space-between;gap:8px}._title_1uy6y_132{font-size:20px;font-weight:700;line-height:24px;color:var(--text-primary)}._clear_1uy6y_139{font-size:14px;font-weight:400;line-height:20px;color:var(--text-secondary)}._activeClear_1uy6y_146{color:var(--surface-action1)}._count_1uy6y_150{display:flex;flex-direction:row;gap:0px;background:var(--surface-action1);color:var(--text-primary);width:100%;height:100%;border-radius:50%;min-width:20px;min-height:20px;align-items:center;justify-content:center}._cart_1uy6y_165{display:flex;flex-direction:column;gap:0px;height:calc(100% - 76px);width:100%}._empty_1uy6y_173{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;height:100%;flex:1 1 auto;color:var(--accent-color)}._empty_1uy6y_173 div{padding-bottom:16px}._empty_1uy6y_173 span:first-child{font-size:16px;font-weight:700;line-height:24px;text-align:center}._empty_1uy6y_173 span:last-child{font-size:16px;font-weight:400;line-height:24px;text-align:center}._product_1uy6y_199{display:flex;flex-direction:row;gap:0px;padding:26px 24px;align-items:center;justify-content:space-between}._products_1uy6y_208{display:flex;flex-direction:column;gap:0px;flex:1 1 auto;overflow-y:scroll}._image_1uy6y_216{width:56px;min-width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;background-color:var(--surface-secondary);object-fit:cover}._image_1uy6y_216 img{width:100%;height:100%;object-fit:cover}._productInfo_1uy6y_233{display:flex;flex-direction:row;gap:12px;align-items:center}._content_1uy6y_240{display:flex;flex-direction:column;gap:4px}._name_1uy6y_246{font-size:16px;font-weight:600;line-height:24px}._price_1uy6y_252{font-size:16px;font-weight:400;line-height:24px}._productButtons_1uy6y_258{display:flex;flex-direction:row;gap:5px;align-items:center}._productButton_1uy6y_258{display:flex;flex-direction:row;gap:0px;justify-content:center;align-items:center;border-radius:12px;padding:8px}._productCount_1uy6y_275{display:flex;flex-direction:row;gap:0px;justify-content:center;align-items:center;border-radius:12px;padding:8px;font-size:16px;font-weight:400;line-height:24px;text-align:center;background-color:var(--surface-action1);color:var(--text-primary);width:40px}._bottom_1uy6y_292{display:flex;flex-direction:column;gap:10px;width:100%;padding:26px 24px}._subtotal_1uy6y_300{display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:space-between}._block_1uy6y_308{display:flex;flex-direction:row;gap:10px;align-items:center}._shoppingCount_1uy6y_315{display:flex;flex-direction:row;gap:0px;width:12px;height:12px;border-radius:50%;align-items:center;justify-content:center;background-color:var(--surface-action1);color:var(--text-primary);font-size:10px;font-weight:500;line-height:12px;text-align:center;position:absolute;top:8px;right:8px}._total_1uy6y_335{font-size:20px;font-weight:700;line-height:24px}._link_1uy6y_341{font-size:16px;font-weight:400;line-height:24px;color:var(--text-link)}._userInfo_1uy6y_348{display:flex;flex-direction:row;gap:8px;background-color:var(--surface-secondary);color:var(--text-primary);cursor:pointer;align-items:center;border-radius:16px;padding:10px}._pagesMobileModal_1uy6y_360{background-color:var(--surface-primary);height:100%;position:absolute;right:0;top:0;bottom:0;left:0;width:100%;display:flex;flex-direction:column;gap:20px}._pagesMobileModalContent_1uy6y_374{flex:1 1 100%;overflow-y:auto;padding:16px}._pagesMobileModalHeader_1uy6y_380{display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:space-between;padding:24px;border-bottom:var(--border-thickness) solid var(--border-color)}._pagesMobileModalFooter_1uy6y_390{padding:16px;display:flex;flex-direction:column;gap:5px}._pageLink_1uy6y_397{color:var(--text-primary);cursor:pointer;font-weight:500;font-size:20px;line-height:1.5;width:fit-content}._rightButtons_1uy6y_406{display:flex;flex-direction:row;gap:10px;align-items:center}._delete_1uy6y_413{width:40px;display:flex;align-items:center;justify-content:center}._share_onabp_1{padding:10px;border-radius:12px;cursor:pointer;display:flex}._modal_onabp_8{border-radius:12px;background:var(--surface-primary);width:fit-content;position:relative}@media (max-width: 768px){._modal_onabp_8{width:90vw}}._header_onabp_20{display:flex;flex-direction:row;gap:10px;align-items:center;justify-content:space-between;padding:16px 24px;border-bottom:var(--border-thickness) solid var(--border-secondary)}._socials_onabp_30{display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:space-between;padding:24px 24px 16px}._social_onabp_30,._copy_onabp_40{padding:12px;border-radius:12px;cursor:pointer}._title_onabp_46{font-size:24px;font-weight:700;line-height:32px;color:var(--text-primary)}._copyWrapper_onabp_53{display:flex;flex-direction:row;gap:16px;width:100%;align-items:center;padding:24px}._copyText_onabp_62{flex:1 1 auto;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%}@media (max-width: 768px){._copyText_onabp_62{display:none}}._copyTextMobile_onabp_75{display:none}@media (max-width: 768px){._copyTextMobile_onabp_75{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex:1 1 auto}}@media (max-width: 485px){._copyTextMobile_onabp_75{display:none}}._copyTextMiniMobile_onabp_94{display:none}@media (max-width: 485px){._copyTextMiniMobile_onabp_94{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex:1 1 auto}}._accordion_153d4_1{border-radius:var(--border-radius);overflow:hidden;transition:all .3s ease;background-color:var(--surface-secondary);padding:24px;display:flex;flex-direction:column;gap:0px}._header_153d4_12{display:flex;flex-direction:row;gap:0px;justify-content:space-between;align-items:center;cursor:pointer;font-weight:700}._header_153d4_12 ._icon_153d4_21{transition:transform .3s ease}._header_153d4_12 ._icon_153d4_21._open_153d4_24{transform:rotate(180deg)}._content_153d4_28{overflow:hidden;transition:opacity .2s ease;display:flex;opacity:0;align-items:flex-end}._contentOpen_153d4_36{opacity:1}._contentText_153d4_40{word-wrap:break-word;white-space:normal;overflow-wrap:anywhere;transition:height .3s ease,margin-top .3s ease}._buttonsBlock_1x6xf_1{gap:8px;position:absolute;bottom:16px;display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-content:center;padding:0 10px;width:100%;animation:_slideUp_1x6xf_1 .3s ease}@keyframes _slideUp_1x6xf_1{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}._cartDisabled_1x6xf_25{display:block}._wrapper_27wzz_1{display:flex;align-items:center;gap:12px;margin:0 0 14px}._logo_27wzz_8 img{border-radius:var(--border-radius)}._info_27wzz_12{display:flex;flex-direction:column;gap:4px}._options_18tbu_1{display:flex;flex-direction:column;gap:20px;border-radius:16px;border:var(--default-border);width:100%;height:fit-content;padding:24px}._price_18tbu_12{display:flex;flex-direction:row;gap:4px;align-items:flex-start}._oldPrice_18tbu_19{font-size:14px;font-weight:400;line-height:20px;text-decoration:line-through;color:var(--accent-color);font-family:inherit}._newPrice_18tbu_28{font-size:20px;font-weight:700;line-height:24px;color:var(--main-color);font-family:inherit}._animate_18tbu_36{animation:_appearAndBounce_18tbu_1 .5s ease-out}@keyframes _appearAndBounce_18tbu_1{0%{opacity:0;transform:translateY(20px)}60%{opacity:1;transform:translateY(0)}to{opacity:1;transform:translateY(0)}}._meta_18tbu_54{display:flex;flex-direction:column;gap:10px}._info_18tbu_60{display:flex;flex-direction:row;gap:10px;align-items:center;justify-content:space-between}._infoRight_18tbu_68{display:flex;flex-direction:row;gap:5px;align-items:center}._buttons_18tbu_75{display:flex;flex-direction:column;gap:8px;width:100%}._variants_18tbu_82{display:flex;flex-direction:column;gap:20px}._variant_18tbu_82{display:flex;flex-direction:row;gap:0px;justify-content:space-between;align-items:center;border-radius:12px;padding:12px 16px;border:2px solid #e6e6e6;cursor:pointer}._stock_18tbu_100{font-size:14px;font-weight:400;line-height:20px;color:var(--accent-color);white-space:nowrap!important}._variantInfo_18tbu_108{display:flex;flex-direction:column;gap:4px;color:var(--text-primary)}._quantity_18tbu_115{display:flex;flex-direction:row;gap:10px;align-items:center}._count_18tbu_122{display:flex;flex-direction:row;gap:0px;text-align:center;padding:0 10px;width:100%;flex:1 1 auto;justify-content:center;align-items:center;border:1px solid #e6e6e6;transition:border .3s ease}._count_18tbu_122:hover{border:1px solid #c9c9c9}._focused_18tbu_139,._focused_18tbu_139:hover{border:1px solid #ff3f19}._button_18tbu_75{display:flex;flex-direction:row;gap:0px;background:var(--background-color);border-radius:50%;padding:8px;justify-content:center;align-items:center;transition:background-color .3s ease}._button_18tbu_75:hover{background-color:#e6e6e6}._button_18tbu_75:disabled{opacity:.7}._activeVariant_18tbu_165{border:2px solid #ff3f19}._chargeTypes_18tbu_169{display:flex;flex-direction:row;gap:5px;padding:4px;border-radius:16px;background-color:var(--background-color)}._charge_18tbu_169{display:flex;flex-direction:row;gap:0px;flex:1 1 auto;justify-content:center;align-items:center;color:var(--accent-color);padding:8px;border-radius:12px;transition:.3s background-color ease}._charge_18tbu_169:hover{background-color:#f0f0f0}._chargeActive_18tbu_194{background-color:#fff;color:var(--main-color)}._chargeActive_18tbu_194:hover{background-color:#fff}._title_18tbu_202{font-size:16px;font-weight:700;line-height:24px}._modal_18tbu_208{display:flex;flex-direction:column;gap:32px;background-color:var(--surface-primary);border-radius:var(--border-radius);max-width:600px;max-height:600px;height:fit-content;width:100%;overflow:hidden;padding:16px}@media (max-width: 768px){._modal_18tbu_208{max-width:100%;max-height:100%}}._header_18tbu_228{display:flex;flex-direction:row;gap:10px;justify-content:space-between;align-items:center}._productOptions_18tbu_236{overflow-y:auto}._title_18tbu_202{color:var(--text-primary)}._loading_18tbu_244{height:100%;width:100%;display:flex;align-items:center;justify-content:center;min-height:300px}._contentModal_1ptti_1{max-width:600px;width:100%;background-color:var(--surface-primary);max-height:90vh;padding:24px;border-radius:var(--border-radius);display:flex;flex-direction:column;gap:30px}._modalTop_1ptti_13{display:flex;align-items:center;justify-content:space-between}._loading_1ptti_19{width:100%;height:100%;display:flex;justify-content:center;align-items:center}._modalCards_1ptti_27{overflow-y:auto;width:100%}._modalImage_1ptti_32{border-radius:var(--border-radius);border:var(--border-thickness) solid var(--border-primary)}._card_1ptti_37{display:flex;align-items:center;gap:10px;padding:10px 0;color:var(--text-primary)}._card_1ptti_37:not(:last-child){border-bottom:var(--border-thickness) solid var(--border-secondary)}._cardInfo_1ptti_49{display:flex;flex-direction:column;flex:1 1 auto;gap:4px}._cardButtons_1ptti_56{display:flex;gap:10px;align-items:center}._title_1ptti_62{font-weight:700;font-size:32px;line-height:1.25;color:var(--text-primary)}._blockImage_1ptti_69{display:flex;justify-content:center;align-items:center;background-color:var(--surface-primary);width:64px;height:64px}._short_1ptti_78{color:var(--text-secondary)}._price_1ptti_82{display:inline-flex;gap:4px;align-items:flex-start;color:var(--text-primary)}._oldPrice_1ptti_89{font-size:14px;font-weight:400;line-height:20px;text-decoration:line-through;color:var(--text-secondary);font-family:inherit}._newPrice_1ptti_98{font-size:16px;font-weight:600;line-height:24px;color:var(--text-primary);font-family:inherit}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-DW2HfUv4.cjs"),k=require("react");require("react-dom");const Cl=[{icon:"Desktop",value:"desktop"},{icon:"DeviceTabletCamera",value:"tablet"},{icon:"DeviceMobileCamera",value:"mobile"}];var co=(e=>(e.ICON_LINK="--icon-link",e.ICON_ERROR="--icon-error",e.ICON_ACTION="--icon-action",e.ICON_PRIMARY="--icon-primary",e.ICON_SUCCESS="--icon-success",e.ICON_WARNING="--icon-warning",e.ICON_DISABLED="--icon-disabled",e.ICON_INVERTED="--icon-inverted",e.ICON_TERTIARY="--icon-tertiary",e.ICON_SECONDARY="--icon-secondary",e.ICON_ACTION_HOVER="--icon-actionHover",e.ICON_INFORMATION="--icon-information",e.TEXT_LINK="--text-link",e.TEXT_ERROR="--text-error",e.TEXT_ACTION="--text-action",e.TEXT_PRIMARY="--text-primary",e.TEXT_SUCCESS="--text-success",e.TEXT_WARNING="--text-warning",e.TEXT_DISABLED="--text-disabled",e.TEXT_INVERTED="--text-inverted",e.TEXT_TERTIARY="--text-tertiary",e.TEXT_SECONDARY="--text-secondary",e.TEXT_ACTION_HOVER="--text-actionHover",e.TEXT_INFORMATION="--text-information",e.BORDER_ERROR="--border-error",e.BORDER_FOCUS="--border-focus",e.BORDER_ACTION="--border-action",e.BORDER_PRIMARY="--border-primary",e.BORDER_SUCCESS="--border-success",e.BORDER_WARNING="--border-warning",e.BORDER_DISABLED="--border-disabled",e.BORDER_SECONDARY="--border-secondary",e.BORDER_ACTION_HOVER="--border-actionHover",e.BORDER_INFORMATION="--border-information",e.SURFACE_ERROR="--surface-error",e.SURFACE_MODAL="--surface-modal",e.SURFACE_ACTION1="--surface-action1",e.SURFACE_ACTION2="--surface-action2",e.SURFACE_PRIMARY="--surface-primary",e.SURFACE_SUCCESS="--surface-success",e.SURFACE_WARNING="--surface-warning",e.SURFACE_DISABLED="--surface-disabled",e.SURFACE_SECONDARY="--surface-secondary",e.SURFACE_INFORMATION="--surface-information",e.SURFACE_ACTION1_HOVER="--surface-action1Hover",e.SURFACE_ACTION2_HOVER="--surface-action2Hover",e))(co||{});const dt=[{icon:"PaintBrushBroad",name:"Colors"},{icon:"TextAa",name:"Fonts"},{icon:"CornersOut",name:"Borders"},{icon:"ArrowSquareIn",name:"Buttons"},{icon:"Textbox",name:"Inputs"}],zr=[12,14,16,18,20,24,28,32,40,48].map(e=>String(e)),Sl=["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","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"],yl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M20.25%2015.45V8.55C20.25%206.86984%2020.25%206.02976%2019.923%205.38803C19.6354%204.82354%2019.1765%204.3646%2018.612%204.07698C17.9702%203.75%2017.1302%203.75%2015.45%203.75H8.55C6.86984%203.75%206.02976%203.75%205.38803%204.07698C4.82354%204.3646%204.3646%204.82354%204.07698%205.38803C3.75%206.02976%203.75%206.86984%203.75%208.55V15.45C3.75%2017.1302%203.75%2017.9702%204.07698%2018.612C4.3646%2019.1765%204.82354%2019.6354%205.38803%2019.923C6.02976%2020.25%206.86984%2020.25%208.55%2020.25H15.45C17.1302%2020.25%2017.9702%2020.25%2018.612%2019.923C19.1765%2019.6354%2019.6354%2019.1765%2019.923%2018.612C20.25%2017.9702%2020.25%2017.1302%2020.25%2015.45Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Rl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.0002%2012V20.5M12.0002%2012L4.5%207.78125M12.0002%2012L19.2627%207.91474M20.25%209.11392V14.8861C20.25%2015.9699%2019.6654%2016.9695%2018.7208%2017.5008L13.4708%2020.4539C12.5575%2020.9676%2011.4425%2020.9676%2010.5292%2020.4539L5.27922%2017.5008C4.33459%2016.9695%203.75%2015.9699%203.75%2014.8861V9.11392C3.75%208.0301%204.33459%207.03055%205.27922%206.49919L10.5292%203.54607C11.4425%203.03237%2012.5575%203.03237%2013.4708%203.54607L18.7208%206.4992C19.6654%207.03055%2020.25%208.0301%2020.25%209.11392Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",kl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.25%2020.25H6.75C5.09315%2020.25%203.75%2018.9069%203.75%2017.25V15.75M15.75%2020.25H17.25C18.9069%2020.25%2020.25%2018.9069%2020.25%2017.25V15.75M3.75%208.25V6.75C3.75%205.09315%205.09315%203.75%206.75%203.75H8.25M15.75%203.75H17.25C18.9069%203.75%2020.25%205.09315%2020.25%206.75V8.25M15.25%2010.3571L12%2011.9999M12%2011.9999L8.75%2010.3571M12%2011.9999V15.2856M11.0077%208.28125L9.25772%209.28125C8.63457%209.63733%208.25%2010.3%208.25%2011.0177V12.9822C8.25%2013.6999%208.63457%2014.3626%209.25772%2014.7186L11.0077%2015.7186C11.6226%2016.07%2012.3774%2016.07%2012.9923%2015.7186L14.7423%2014.7186C15.3654%2014.3626%2015.75%2013.6999%2015.75%2012.9822V11.0177C15.75%2010.3%2015.3654%209.63733%2014.7423%209.28125L12.9923%208.28125C12.3774%207.9299%2011.6226%207.9299%2011.0077%208.28125Z'%20stroke='%23252525'%20stroke-width='1.40625'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Al="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.125%203.125H16.875'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.9167%205.625C12.1113%205.625%2011.4583%206.27792%2011.4583%207.08333V12.0833C11.4583%2012.8887%2012.1113%2013.5417%2012.9167%2013.5417C13.7221%2013.5417%2014.375%2012.8887%2014.375%2012.0833V7.08333C14.375%206.27792%2013.7221%205.625%2012.9167%205.625Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.08333%205.625C6.27792%205.625%205.625%206.27792%205.625%207.08333V15.4167C5.625%2016.2221%206.27792%2016.875%207.08333%2016.875C7.88875%2016.875%208.54167%2016.2221%208.54167%2015.4167V7.08333C8.54167%206.27792%207.88875%205.625%207.08333%205.625Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Nl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17.1073%2017.1577C17.1073%2018.8655%2015.7213%2020.25%2014.0116%2020.25C12.3019%2020.25%2010.9159%2018.8655%2010.9159%2017.1577C10.9159%2015.4499%2012.3019%2014.0654%2014.0116%2014.0654C15.7213%2014.0654%2017.1073%2015.4499%2017.1073%2017.1577Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.99145%206.98598L10.4681%2011.5764L3.75%2014.0189L4.99145%206.98598Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3cpath%20d='M14.0106%204.46532C14.1536%203.9321%2014.7017%203.61567%2015.235%203.75841L19.2835%204.842C19.8172%204.98485%2020.1339%205.53345%2019.9908%206.06708L18.9065%2010.1093C18.7635%2010.6425%2018.2154%2010.9589%2017.6821%2010.8162L13.6336%209.73258C13.0999%209.58973%2012.7832%209.04113%2012.9263%208.50749L14.0106%204.46532Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3c/svg%3e",Il="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.25%2014.75H10C10%2014.3358%209.66421%2014%209.25%2014V14.75ZM3.75%2020.25H3V21H3.75V20.25ZM14.75%209.25H15.5C15.5%208.83579%2015.1642%208.5%2014.75%208.5V9.25ZM20.25%2020.25V21H21V20.25H20.25ZM1.75%2019.5C1.33579%2019.5%201%2019.8358%201%2020.25C1%2020.6642%201.33579%2021%201.75%2021V19.5ZM22.25%2021C22.6642%2021%2023%2020.6642%2023%2020.25C23%2019.8358%2022.6642%2019.5%2022.25%2019.5V21ZM5.25%2015.5H9.25V14H5.25V15.5ZM8.5%2014.75V20.25H10V14.75H8.5ZM9.25%2019.5H3.75V21H9.25V19.5ZM4.5%2020.25V16.25H3V20.25H4.5ZM5.25%2014C4.00736%2014%203%2015.0074%203%2016.25H4.5C4.5%2015.8358%204.83579%2015.5%205.25%2015.5V14ZM10.75%2010H14.75V8.5H10.75V10ZM14%209.25V20.25H15.5V9.25H14ZM14.75%2019.5H9.25V21H14.75V19.5ZM10%2020.25V10.75H8.5V20.25H10ZM10.75%208.5C9.50736%208.5%208.5%209.50736%208.5%2010.75H10C10%2010.3358%2010.3358%2010%2010.75%2010V8.5ZM16.25%204.5H18.75V3H16.25V4.5ZM19.5%205.25V20.25H21V5.25H19.5ZM20.25%2019.5H14.75V21H20.25V19.5ZM15.5%2020.25V5.25H14V20.25H15.5ZM18.75%204.5C19.1642%204.5%2019.5%204.83579%2019.5%205.25H21C21%204.00736%2019.9926%203%2018.75%203V4.5ZM16.25%203C15.0074%203%2014%204.00736%2014%205.25H15.5C15.5%204.83579%2015.8358%204.5%2016.25%204.5V3ZM1.75%2021H22.25V19.5H1.75V21Z'%20fill='%23252525'/%3e%3c/svg%3e",wl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%2014.2105L6.84488%2012.0821C7.66137%2011.5378%208.75215%2011.6663%209.41987%2012.3853C10.9123%2013.9926%2012.6426%2015.4538%2015%2015.4538C17.1727%2015.4538%2018.6125%2014.6485%2020%2013.261M6.75%2020.25H17.25C18.9069%2020.25%2020.25%2018.9069%2020.25%2017.25V6.75C20.25%205.09315%2018.9069%203.75%2017.25%203.75H6.75C5.09315%203.75%203.75%205.09315%203.75%206.75V17.25C3.75%2018.9069%205.09315%2020.25%206.75%2020.25ZM17.25%208.75C17.25%209.85457%2016.3546%2010.75%2015.25%2010.75C14.1454%2010.75%2013.25%209.85457%2013.25%208.75C13.25%207.64543%2014.1454%206.75%2015.25%206.75C16.3546%206.75%2017.25%207.64543%2017.25%208.75Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e",jl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17.252%2019.25H6.74803C5.26465%2019.25%204.29985%2017.6884%204.96324%2016.3611L10.2152%205.85345C10.9506%204.38218%2013.0494%204.38218%2013.7848%205.85345L19.0368%2016.3611C19.7001%2017.6884%2018.7354%2019.25%2017.252%2019.25Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3c/svg%3e",Ll="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%202.75V4.5M16.9069%205.09326L15.5962%206.40392M6.40381%2015.5962L5.09315%2016.9069M4.5%2011H2.75M6.40381%206.40381L5.09315%205.09315M14.1323%2020.999L10.5777%2011.3226C10.3542%2010.7143%2010.9552%2010.1281%2011.5577%2010.3666L21.0397%2014.1199C21.4283%2014.2737%2021.4679%2014.8081%2021.1062%2015.0175L17.4231%2017.1498C17.3097%2017.2155%2017.2155%2017.3097%2017.1498%2017.4231L15.0343%2021.0771C14.822%2021.4438%2014.2784%2021.3967%2014.1323%2020.999Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",vl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.38803%2019.923L5.72852%2019.2548H5.72852L5.38803%2019.923ZM4.07698%2018.612L3.40873%2018.9525H3.40873L4.07698%2018.612ZM19.923%2018.612L19.2548%2018.2715V18.2715L19.923%2018.612ZM18.612%2019.923L18.2715%2019.2548H18.2715L18.612%2019.923ZM19.923%205.38803L19.2548%205.72852V5.72852L19.923%205.38803ZM18.612%204.07698L18.9525%203.40873V3.40873L18.612%204.07698ZM4.07698%205.38803L4.74524%205.72852L4.07698%205.38803ZM5.38803%204.07698L5.72852%204.74524L5.38803%204.07698ZM19.5%208.55V15.45H21V8.55H19.5ZM15.45%2019.5H8.55V21H15.45V19.5ZM4.5%2015.45V8.55H3V15.45H4.5ZM8.55%204.5H15.45V3H8.55V4.5ZM8.55%2019.5C7.69755%2019.5%207.10331%2019.4994%206.64068%2019.4616C6.1868%2019.4245%205.92604%2019.3554%205.72852%2019.2548L5.04754%2020.5913C5.49175%2020.8176%205.97189%2020.912%206.51853%2020.9566C7.05641%2021.0006%207.7223%2021%208.55%2021V19.5ZM3%2015.45C3%2016.2777%202.99942%2016.9436%203.04336%2017.4815C3.08803%2018.0281%203.18238%2018.5082%203.40873%2018.9525L4.74524%2018.2715C4.6446%2018.074%204.57546%2017.8132%204.53838%2017.3593C4.50058%2016.8967%204.5%2016.3025%204.5%2015.45H3ZM5.72852%2019.2548C5.30516%2019.039%204.96095%2018.6948%204.74524%2018.2715L3.40873%2018.9525C3.76825%2019.6581%204.34193%2020.2317%205.04754%2020.5913L5.72852%2019.2548ZM19.5%2015.45C19.5%2016.3025%2019.4994%2016.8967%2019.4616%2017.3593C19.4245%2017.8132%2019.3554%2018.074%2019.2548%2018.2715L20.5913%2018.9525C20.8176%2018.5082%2020.912%2018.0281%2020.9566%2017.4815C21.0006%2016.9436%2021%2016.2777%2021%2015.45H19.5ZM15.45%2021C16.2777%2021%2016.9436%2021.0006%2017.4815%2020.9566C18.0281%2020.912%2018.5082%2020.8176%2018.9525%2020.5913L18.2715%2019.2548C18.074%2019.3554%2017.8132%2019.4245%2017.3593%2019.4616C16.8967%2019.4994%2016.3025%2019.5%2015.45%2019.5V21ZM19.2548%2018.2715C19.0391%2018.6948%2018.6948%2019.039%2018.2715%2019.2548L18.9525%2020.5913C19.6581%2020.2317%2020.2318%2019.6581%2020.5913%2018.9525L19.2548%2018.2715ZM21%208.55C21%207.7223%2021.0006%207.05641%2020.9566%206.51853C20.912%205.97189%2020.8176%205.49175%2020.5913%205.04754L19.2548%205.72852C19.3554%205.92604%2019.4245%206.1868%2019.4616%206.64068C19.4994%207.10331%2019.5%207.69755%2019.5%208.55H21ZM15.45%204.5C16.3025%204.5%2016.8967%204.50058%2017.3593%204.53838C17.8132%204.57546%2018.074%204.6446%2018.2715%204.74524L18.9525%203.40873C18.5082%203.18238%2018.0281%203.08803%2017.4815%203.04336C16.9436%202.99942%2016.2777%203%2015.45%203V4.5ZM20.5913%205.04754C20.2318%204.34193%2019.6581%203.76825%2018.9525%203.40873L18.2715%204.74524C18.6948%204.96095%2019.0391%205.30516%2019.2548%205.72852L20.5913%205.04754ZM4.5%208.55C4.5%207.69755%204.50058%207.10331%204.53838%206.64068C4.57546%206.1868%204.6446%205.92604%204.74524%205.72852L3.40873%205.04754C3.18238%205.49175%203.08803%205.97189%203.04336%206.51853C2.99942%207.05641%203%207.7223%203%208.55H4.5ZM8.55%203C7.7223%203%207.05641%202.99942%206.51853%203.04336C5.97189%203.08803%205.49175%203.18238%205.04754%203.40873L5.72852%204.74524C5.92604%204.6446%206.1868%204.57546%206.64068%204.53838C7.10331%204.50058%207.69755%204.5%208.55%204.5V3ZM4.74524%205.72852C4.96095%205.30516%205.30516%204.96095%205.72852%204.74524L5.04754%203.40873C4.34193%203.76825%203.76825%204.34193%203.40873%205.04754L4.74524%205.72852Z'%20fill='%23252525'/%3e%3cpath%20d='M20.25%2015H21V13.5H20.25V15ZM3.75%2013.5H3V15H3.75V13.5ZM3.75%2015H20.25V13.5H3.75V15Z'%20fill='%23252525'/%3e%3c/svg%3e",Pl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.0858%202.32272C11.4533%201.55909%2012.5467%201.55909%2012.9142%202.32272L15.0872%206.83907C15.2351%207.14651%2015.5293%207.35876%2015.8692%207.40319L20.8676%208.05664C21.7134%208.16721%2022.0517%209.20388%2021.4322%209.78704L17.779%2013.2263C17.5295%2013.4612%2017.4167%2013.8058%2017.4795%2014.1417L18.3971%2019.0563C18.5526%2019.8892%2017.6676%2020.5294%2016.9183%2020.1261L12.4825%2017.7385C12.1815%2017.5764%2011.8185%2017.5764%2011.5175%2017.7385L7.08174%2020.1261C6.33244%2020.5294%205.44743%2019.8892%205.60294%2019.0563L6.52054%2014.1417C6.58325%2013.8058%206.47048%2013.4612%206.22097%2013.2263L2.56776%209.78704C1.94833%209.20388%202.28661%208.16721%203.13241%208.05664L8.13078%207.40319C8.47066%207.35876%208.7649%207.14651%208.91282%206.83907L11.0858%202.32272Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Ol="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.25%204.75H5.75C4.09315%204.75%202.75%206.09315%202.75%207.75V8.25M17.75%204.75H18.25C19.9069%204.75%2021.25%206.09315%2021.25%207.75V8.25M21.25%2015.75V16.25C21.25%2017.9069%2019.9069%2019.25%2018.25%2019.25H17.75M6.25%2019.25H5.75C4.09315%2019.25%202.75%2017.9069%202.75%2016.25V15.75'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.75%209.75H16.25'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.75%2014.25H14.25'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Dl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M20.25%2010.75V6.75C20.25%205.09315%2018.9069%203.75%2017.25%203.75H6.75C5.09315%203.75%203.75%205.09315%203.75%206.75V17.25C3.75%2018.9069%205.09315%2020.25%206.75%2020.25H10.75M14.1879%2020.8366L12.0869%2013.0056C11.9372%2012.4478%2012.4478%2011.9372%2013.0056%2012.0869L20.8366%2014.1879C21.2665%2014.3032%2021.3428%2014.8805%2020.9576%2015.1035L17.4231%2017.1498C17.3097%2017.2155%2017.2155%2017.3097%2017.1498%2017.4231L15.1035%2020.9576C14.8805%2021.3428%2014.3032%2021.2665%2014.1879%2020.8366Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Ml="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.125%2016.875H16.875'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.9167%206.45833C12.1113%206.45833%2011.4583%207.11125%2011.4583%207.91667V12.9167C11.4583%2013.7221%2012.1113%2014.375%2012.9167%2014.375C13.7221%2014.375%2014.375%2013.7221%2014.375%2012.9167V7.91667C14.375%207.11125%2013.7221%206.45833%2012.9167%206.45833Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.08333%203.125C6.27792%203.125%205.625%203.77792%205.625%204.58333V12.9167C5.625%2013.7221%206.27792%2014.375%207.08333%2014.375C7.88875%2014.375%208.54167%2013.7221%208.54167%2012.9167V4.58333C8.54167%203.77792%207.88875%203.125%207.08333%203.125Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Bl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.75%2018.25H7.25M3.75%2012H9.25M3.75%205.75H20.25M17%2010.5L18.5%2013.5L21.5%2015L18.5%2016.5L17%2019.5L15.5%2016.5L12.5%2015L15.5%2013.5L17%2010.5Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Fl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.9016%209.48786L10.3899%203.2788C8.39443%201.97623%205.75%203.40798%205.75%205.79094V18.2091C5.75%2020.592%208.39442%2022.0238%2010.3899%2020.7212L19.9016%2014.5121C21.7151%2013.3283%2021.7151%2010.6717%2019.9016%209.48786Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3c/svg%3e",nr={Header:Al,Announcement:Bl,PrimaryHero:Dl,ProductHero:yl,Items:Rl,FeaturedItems:kl,Content:Nl,Stats:Il,ImageGallery:wl,Logos:jl,CTA:Ll,FAQ:vl,Reviews:Pl,ContactUs:Ol,Footer:Ml,Video:Fl},cs={None:"var(--radius-none)",4:"var(--radius-xs)",8:"var(--radius-sm)",12:"var(--radius-md)",16:"var(--radius-lg)",20:"var(--radius-xl)",24:"var(--radius-2xl)"},ds={None:"var(--border-none)",1:"var(--border-sm)",2:"var(--border-md)",4:"var(--border-lg)"},Hl="_header_2d8xd_1",Ul="_left_2d8xd_13",$l="_right_2d8xd_14",br={header:Hl,left:Ul,right:$l},zl="_loader_jr7a4_1",Wl={loader:zl},Vt=()=>s.jsxRuntimeExports.jsx("div",{className:Wl.loader}),ql="_buttons_12rs0_1",Vl="_button_12rs0_1",Yl="_disabled_12rs0_20",On={buttons:ql,button:Vl,disabled:Yl},Gl="_wrapper_f6jyc_1",Xl="_main_f6jyc_12",Ql="_loading_f6jyc_28",hs={wrapper:Gl,main:Xl,loading:Ql},Kl="_wrapper_rccv2_1",Zl="_content_rccv2_11",Jl="_title_rccv2_21",ms={wrapper:Kl,content:Zl,title:Jl},ec=()=>{const e=s.useNavigate();return s.jsxRuntimeExports.jsx("div",{className:ms.wrapper,children:s.jsxRuntimeExports.jsxs("div",{className:ms.content,children:[s.jsxRuntimeExports.jsx("h1",{className:ms.title,children:"Page Not Found"}),s.jsxRuntimeExports.jsx(s.Button,{type:"Primary",onClick:()=>e("/"),children:"Go to Home"})]})})};async function qs(e){const t=s.IS_LOCAL_HOST?localStorage.getItem("fakeDomain"):window.location.hostname,n=`${s.STORE_API_URL}/shops/${t}/general`+(e?`?password=${e}`:"");return(await s.request({method:"get",url:n,withToken:!1})).data}const tc=async()=>{const e=s.IS_LOCAL_HOST?localStorage.getItem("fakeDomain")||"flagship-theme.pages.dev":window.location.hostname,t=`${s.STORE_API_URL}/v2/shops/${e}/settings-theme`;return await s.request({url:t,withToken:!0,method:"get"})},nc=async(e,t)=>{const n=`${s.CASHAPP_API_URL}/v1/${t}/cashapp/link`;return await s.request({url:n,method:"post",body:e,withToken:!1})},ci=e=>{const t=s.IS_LOCAL_HOST?localStorage.getItem("fakeDomain"):window.location.hostname,n=`${s.STORE_API_URL}/shops/${t}/${e}`;return s.request({url:n,withToken:!1,method:"get"})},rc=()=>ci("terms"),sc=()=>ci("refund-policy"),ic=()=>ci("privacy-policy"),ac=async(e,t,n)=>{const r=s.IS_LOCAL_HOST?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${s.SL_API_URL}/v1/reviews/${r}/${t}/${n}`;return await s.request({url:i,method:"post",withToken:!1,body:e})},oc=async e=>{const t=s.IS_LOCAL_HOST?localStorage.getItem("fakeDomain"):window.location.hostname,n=`${s.SL_API_URL}/v1/charges/${t}/${e}`;return await s.request({url:n,method:"get",withToken:!1})},uc=async e=>{const t=s.IS_LOCAL_HOST?localStorage.getItem("fakeDomain"):window.location.hostname,n=`${s.SL_API_URL}/v1/discord/${t}`;return await s.request({url:n,method:"post",body:e,withToken:!1})},lc=async e=>{const t=s.IS_LOCAL_HOST?localStorage.getItem("fakeDomain"):window.location.hostname,n=`${s.SL_API_URL}/v1/discord/${t}/${e.id}?customerEmail=${e.customerEmail}`;return await s.request({url:n,method:"get",withToken:!1})},Oi={"/":"Home","/products":"Products","/reviews":"Reviews","/faqs":"Faqs","/contact":"Contact"},cc=({pagePath:e})=>{const{sourceBlocks:t}=s.useBlocksStore(),[n,r]=k.useState(null),[i,a]=k.useState(!0),[o,u]=k.useState(null),{settings:c}=s.useSettingsStore(),{addProducts:d}=s.useCart(),{pageContext:m}=s.usePagesStore();k.useEffect(()=>{a(!0);const f=async()=>{const p=await s.getDynamicPage(encodeURIComponent(e));if(p){const{data:x}=p;x.seo&&x.seo.pageTitle?document.title=x.seo.pageTitle:Oi[e]?document.title=Oi[e]:x.products.length>0?document.title=`Product | ${x.products[0].name}`:x.fullPosts.length>0&&(document.title=`Post | ${x.fullPosts[0].title}`),u(x.layout);const g=x.listings.filter(b=>b.type==="PRODUCT"||b.type==="GROUP"),C=g&&g.length>0?x.listings:[...m.listings??[],...x.listings];r({...m,products:x.products,reviews:x.reviews,categories:x.categories,faqs:x.faqs,general:x.general,fullPosts:x.fullPosts,posts:x.posts,listings:C}),d(x.products)}a(!1)};m.listings&&f()},[e,m.listings]);const h=f=>{if(!f||!f.name)return s.jsxRuntimeExports.jsx(s.ErrorableBlock,{error:"Block or block.name is undefined."});if(!t||!t[f.name])return s.jsxRuntimeExports.jsx(s.ErrorableBlock,{error:`Block "${f.name}" does not exist in blocks.`});const p=new t[f.name];return f.value&&Object.assign(p,f.value),p.renderBlock(c,n)};return!i&&o===null?s.jsxRuntimeExports.jsx(ec,{}):s.jsxRuntimeExports.jsxs("div",{className:hs.wrapper,children:[s.jsxRuntimeExports.jsx(s.RenderAnnouncement,{}),s.jsxRuntimeExports.jsx(s.RenderHeader,{settings:c,pageContext:n}),!i&&o?s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx("div",{className:hs.main,children:o.order&&o.order.map(f=>s.jsxRuntimeExports.jsx(s.RenderBlock,{block:o.data[f],render:h},f))}),s.jsxRuntimeExports.jsx(s.RenderFooter,{settings:c,pageContext:n})]}):s.jsxRuntimeExports.jsx("div",{className:hs.loading,children:s.jsxRuntimeExports.jsx(s.Loader,{})})]})};function dc(){const e=s.useLocation();return s.jsxRuntimeExports.jsx(cc,{pagePath:e.pathname})}const hc=(e,t)=>{let n=`:root {
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-DgLctY_d.cjs"),k=require("react");require("react-dom");const Cl=[{icon:"Desktop",value:"desktop"},{icon:"DeviceTabletCamera",value:"tablet"},{icon:"DeviceMobileCamera",value:"mobile"}];var co=(e=>(e.ICON_LINK="--icon-link",e.ICON_ERROR="--icon-error",e.ICON_ACTION="--icon-action",e.ICON_PRIMARY="--icon-primary",e.ICON_SUCCESS="--icon-success",e.ICON_WARNING="--icon-warning",e.ICON_DISABLED="--icon-disabled",e.ICON_INVERTED="--icon-inverted",e.ICON_TERTIARY="--icon-tertiary",e.ICON_SECONDARY="--icon-secondary",e.ICON_ACTION_HOVER="--icon-actionHover",e.ICON_INFORMATION="--icon-information",e.TEXT_LINK="--text-link",e.TEXT_ERROR="--text-error",e.TEXT_ACTION="--text-action",e.TEXT_PRIMARY="--text-primary",e.TEXT_SUCCESS="--text-success",e.TEXT_WARNING="--text-warning",e.TEXT_DISABLED="--text-disabled",e.TEXT_INVERTED="--text-inverted",e.TEXT_TERTIARY="--text-tertiary",e.TEXT_SECONDARY="--text-secondary",e.TEXT_ACTION_HOVER="--text-actionHover",e.TEXT_INFORMATION="--text-information",e.BORDER_ERROR="--border-error",e.BORDER_FOCUS="--border-focus",e.BORDER_ACTION="--border-action",e.BORDER_PRIMARY="--border-primary",e.BORDER_SUCCESS="--border-success",e.BORDER_WARNING="--border-warning",e.BORDER_DISABLED="--border-disabled",e.BORDER_SECONDARY="--border-secondary",e.BORDER_ACTION_HOVER="--border-actionHover",e.BORDER_INFORMATION="--border-information",e.SURFACE_ERROR="--surface-error",e.SURFACE_MODAL="--surface-modal",e.SURFACE_ACTION1="--surface-action1",e.SURFACE_ACTION2="--surface-action2",e.SURFACE_PRIMARY="--surface-primary",e.SURFACE_SUCCESS="--surface-success",e.SURFACE_WARNING="--surface-warning",e.SURFACE_DISABLED="--surface-disabled",e.SURFACE_SECONDARY="--surface-secondary",e.SURFACE_INFORMATION="--surface-information",e.SURFACE_ACTION1_HOVER="--surface-action1Hover",e.SURFACE_ACTION2_HOVER="--surface-action2Hover",e))(co||{});const dt=[{icon:"PaintBrushBroad",name:"Colors"},{icon:"TextAa",name:"Fonts"},{icon:"CornersOut",name:"Borders"},{icon:"ArrowSquareIn",name:"Buttons"},{icon:"Textbox",name:"Inputs"}],zr=[12,14,16,18,20,24,28,32,40,48].map(e=>String(e)),Sl=["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","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"],yl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M20.25%2015.45V8.55C20.25%206.86984%2020.25%206.02976%2019.923%205.38803C19.6354%204.82354%2019.1765%204.3646%2018.612%204.07698C17.9702%203.75%2017.1302%203.75%2015.45%203.75H8.55C6.86984%203.75%206.02976%203.75%205.38803%204.07698C4.82354%204.3646%204.3646%204.82354%204.07698%205.38803C3.75%206.02976%203.75%206.86984%203.75%208.55V15.45C3.75%2017.1302%203.75%2017.9702%204.07698%2018.612C4.3646%2019.1765%204.82354%2019.6354%205.38803%2019.923C6.02976%2020.25%206.86984%2020.25%208.55%2020.25H15.45C17.1302%2020.25%2017.9702%2020.25%2018.612%2019.923C19.1765%2019.6354%2019.6354%2019.1765%2019.923%2018.612C20.25%2017.9702%2020.25%2017.1302%2020.25%2015.45Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Rl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.0002%2012V20.5M12.0002%2012L4.5%207.78125M12.0002%2012L19.2627%207.91474M20.25%209.11392V14.8861C20.25%2015.9699%2019.6654%2016.9695%2018.7208%2017.5008L13.4708%2020.4539C12.5575%2020.9676%2011.4425%2020.9676%2010.5292%2020.4539L5.27922%2017.5008C4.33459%2016.9695%203.75%2015.9699%203.75%2014.8861V9.11392C3.75%208.0301%204.33459%207.03055%205.27922%206.49919L10.5292%203.54607C11.4425%203.03237%2012.5575%203.03237%2013.4708%203.54607L18.7208%206.4992C19.6654%207.03055%2020.25%208.0301%2020.25%209.11392Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",kl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.25%2020.25H6.75C5.09315%2020.25%203.75%2018.9069%203.75%2017.25V15.75M15.75%2020.25H17.25C18.9069%2020.25%2020.25%2018.9069%2020.25%2017.25V15.75M3.75%208.25V6.75C3.75%205.09315%205.09315%203.75%206.75%203.75H8.25M15.75%203.75H17.25C18.9069%203.75%2020.25%205.09315%2020.25%206.75V8.25M15.25%2010.3571L12%2011.9999M12%2011.9999L8.75%2010.3571M12%2011.9999V15.2856M11.0077%208.28125L9.25772%209.28125C8.63457%209.63733%208.25%2010.3%208.25%2011.0177V12.9822C8.25%2013.6999%208.63457%2014.3626%209.25772%2014.7186L11.0077%2015.7186C11.6226%2016.07%2012.3774%2016.07%2012.9923%2015.7186L14.7423%2014.7186C15.3654%2014.3626%2015.75%2013.6999%2015.75%2012.9822V11.0177C15.75%2010.3%2015.3654%209.63733%2014.7423%209.28125L12.9923%208.28125C12.3774%207.9299%2011.6226%207.9299%2011.0077%208.28125Z'%20stroke='%23252525'%20stroke-width='1.40625'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Al="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.125%203.125H16.875'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.9167%205.625C12.1113%205.625%2011.4583%206.27792%2011.4583%207.08333V12.0833C11.4583%2012.8887%2012.1113%2013.5417%2012.9167%2013.5417C13.7221%2013.5417%2014.375%2012.8887%2014.375%2012.0833V7.08333C14.375%206.27792%2013.7221%205.625%2012.9167%205.625Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.08333%205.625C6.27792%205.625%205.625%206.27792%205.625%207.08333V15.4167C5.625%2016.2221%206.27792%2016.875%207.08333%2016.875C7.88875%2016.875%208.54167%2016.2221%208.54167%2015.4167V7.08333C8.54167%206.27792%207.88875%205.625%207.08333%205.625Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Il="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17.1073%2017.1577C17.1073%2018.8655%2015.7213%2020.25%2014.0116%2020.25C12.3019%2020.25%2010.9159%2018.8655%2010.9159%2017.1577C10.9159%2015.4499%2012.3019%2014.0654%2014.0116%2014.0654C15.7213%2014.0654%2017.1073%2015.4499%2017.1073%2017.1577Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.99145%206.98598L10.4681%2011.5764L3.75%2014.0189L4.99145%206.98598Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3cpath%20d='M14.0106%204.46532C14.1536%203.9321%2014.7017%203.61567%2015.235%203.75841L19.2835%204.842C19.8172%204.98485%2020.1339%205.53345%2019.9908%206.06708L18.9065%2010.1093C18.7635%2010.6425%2018.2154%2010.9589%2017.6821%2010.8162L13.6336%209.73258C13.0999%209.58973%2012.7832%209.04113%2012.9263%208.50749L14.0106%204.46532Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3c/svg%3e",Nl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.25%2014.75H10C10%2014.3358%209.66421%2014%209.25%2014V14.75ZM3.75%2020.25H3V21H3.75V20.25ZM14.75%209.25H15.5C15.5%208.83579%2015.1642%208.5%2014.75%208.5V9.25ZM20.25%2020.25V21H21V20.25H20.25ZM1.75%2019.5C1.33579%2019.5%201%2019.8358%201%2020.25C1%2020.6642%201.33579%2021%201.75%2021V19.5ZM22.25%2021C22.6642%2021%2023%2020.6642%2023%2020.25C23%2019.8358%2022.6642%2019.5%2022.25%2019.5V21ZM5.25%2015.5H9.25V14H5.25V15.5ZM8.5%2014.75V20.25H10V14.75H8.5ZM9.25%2019.5H3.75V21H9.25V19.5ZM4.5%2020.25V16.25H3V20.25H4.5ZM5.25%2014C4.00736%2014%203%2015.0074%203%2016.25H4.5C4.5%2015.8358%204.83579%2015.5%205.25%2015.5V14ZM10.75%2010H14.75V8.5H10.75V10ZM14%209.25V20.25H15.5V9.25H14ZM14.75%2019.5H9.25V21H14.75V19.5ZM10%2020.25V10.75H8.5V20.25H10ZM10.75%208.5C9.50736%208.5%208.5%209.50736%208.5%2010.75H10C10%2010.3358%2010.3358%2010%2010.75%2010V8.5ZM16.25%204.5H18.75V3H16.25V4.5ZM19.5%205.25V20.25H21V5.25H19.5ZM20.25%2019.5H14.75V21H20.25V19.5ZM15.5%2020.25V5.25H14V20.25H15.5ZM18.75%204.5C19.1642%204.5%2019.5%204.83579%2019.5%205.25H21C21%204.00736%2019.9926%203%2018.75%203V4.5ZM16.25%203C15.0074%203%2014%204.00736%2014%205.25H15.5C15.5%204.83579%2015.8358%204.5%2016.25%204.5V3ZM1.75%2021H22.25V19.5H1.75V21Z'%20fill='%23252525'/%3e%3c/svg%3e",wl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%2014.2105L6.84488%2012.0821C7.66137%2011.5378%208.75215%2011.6663%209.41987%2012.3853C10.9123%2013.9926%2012.6426%2015.4538%2015%2015.4538C17.1727%2015.4538%2018.6125%2014.6485%2020%2013.261M6.75%2020.25H17.25C18.9069%2020.25%2020.25%2018.9069%2020.25%2017.25V6.75C20.25%205.09315%2018.9069%203.75%2017.25%203.75H6.75C5.09315%203.75%203.75%205.09315%203.75%206.75V17.25C3.75%2018.9069%205.09315%2020.25%206.75%2020.25ZM17.25%208.75C17.25%209.85457%2016.3546%2010.75%2015.25%2010.75C14.1454%2010.75%2013.25%209.85457%2013.25%208.75C13.25%207.64543%2014.1454%206.75%2015.25%206.75C16.3546%206.75%2017.25%207.64543%2017.25%208.75Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e",jl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17.252%2019.25H6.74803C5.26465%2019.25%204.29985%2017.6884%204.96324%2016.3611L10.2152%205.85345C10.9506%204.38218%2013.0494%204.38218%2013.7848%205.85345L19.0368%2016.3611C19.7001%2017.6884%2018.7354%2019.25%2017.252%2019.25Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3c/svg%3e",Ll="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%202.75V4.5M16.9069%205.09326L15.5962%206.40392M6.40381%2015.5962L5.09315%2016.9069M4.5%2011H2.75M6.40381%206.40381L5.09315%205.09315M14.1323%2020.999L10.5777%2011.3226C10.3542%2010.7143%2010.9552%2010.1281%2011.5577%2010.3666L21.0397%2014.1199C21.4283%2014.2737%2021.4679%2014.8081%2021.1062%2015.0175L17.4231%2017.1498C17.3097%2017.2155%2017.2155%2017.3097%2017.1498%2017.4231L15.0343%2021.0771C14.822%2021.4438%2014.2784%2021.3967%2014.1323%2020.999Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",vl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.38803%2019.923L5.72852%2019.2548H5.72852L5.38803%2019.923ZM4.07698%2018.612L3.40873%2018.9525H3.40873L4.07698%2018.612ZM19.923%2018.612L19.2548%2018.2715V18.2715L19.923%2018.612ZM18.612%2019.923L18.2715%2019.2548H18.2715L18.612%2019.923ZM19.923%205.38803L19.2548%205.72852V5.72852L19.923%205.38803ZM18.612%204.07698L18.9525%203.40873V3.40873L18.612%204.07698ZM4.07698%205.38803L4.74524%205.72852L4.07698%205.38803ZM5.38803%204.07698L5.72852%204.74524L5.38803%204.07698ZM19.5%208.55V15.45H21V8.55H19.5ZM15.45%2019.5H8.55V21H15.45V19.5ZM4.5%2015.45V8.55H3V15.45H4.5ZM8.55%204.5H15.45V3H8.55V4.5ZM8.55%2019.5C7.69755%2019.5%207.10331%2019.4994%206.64068%2019.4616C6.1868%2019.4245%205.92604%2019.3554%205.72852%2019.2548L5.04754%2020.5913C5.49175%2020.8176%205.97189%2020.912%206.51853%2020.9566C7.05641%2021.0006%207.7223%2021%208.55%2021V19.5ZM3%2015.45C3%2016.2777%202.99942%2016.9436%203.04336%2017.4815C3.08803%2018.0281%203.18238%2018.5082%203.40873%2018.9525L4.74524%2018.2715C4.6446%2018.074%204.57546%2017.8132%204.53838%2017.3593C4.50058%2016.8967%204.5%2016.3025%204.5%2015.45H3ZM5.72852%2019.2548C5.30516%2019.039%204.96095%2018.6948%204.74524%2018.2715L3.40873%2018.9525C3.76825%2019.6581%204.34193%2020.2317%205.04754%2020.5913L5.72852%2019.2548ZM19.5%2015.45C19.5%2016.3025%2019.4994%2016.8967%2019.4616%2017.3593C19.4245%2017.8132%2019.3554%2018.074%2019.2548%2018.2715L20.5913%2018.9525C20.8176%2018.5082%2020.912%2018.0281%2020.9566%2017.4815C21.0006%2016.9436%2021%2016.2777%2021%2015.45H19.5ZM15.45%2021C16.2777%2021%2016.9436%2021.0006%2017.4815%2020.9566C18.0281%2020.912%2018.5082%2020.8176%2018.9525%2020.5913L18.2715%2019.2548C18.074%2019.3554%2017.8132%2019.4245%2017.3593%2019.4616C16.8967%2019.4994%2016.3025%2019.5%2015.45%2019.5V21ZM19.2548%2018.2715C19.0391%2018.6948%2018.6948%2019.039%2018.2715%2019.2548L18.9525%2020.5913C19.6581%2020.2317%2020.2318%2019.6581%2020.5913%2018.9525L19.2548%2018.2715ZM21%208.55C21%207.7223%2021.0006%207.05641%2020.9566%206.51853C20.912%205.97189%2020.8176%205.49175%2020.5913%205.04754L19.2548%205.72852C19.3554%205.92604%2019.4245%206.1868%2019.4616%206.64068C19.4994%207.10331%2019.5%207.69755%2019.5%208.55H21ZM15.45%204.5C16.3025%204.5%2016.8967%204.50058%2017.3593%204.53838C17.8132%204.57546%2018.074%204.6446%2018.2715%204.74524L18.9525%203.40873C18.5082%203.18238%2018.0281%203.08803%2017.4815%203.04336C16.9436%202.99942%2016.2777%203%2015.45%203V4.5ZM20.5913%205.04754C20.2318%204.34193%2019.6581%203.76825%2018.9525%203.40873L18.2715%204.74524C18.6948%204.96095%2019.0391%205.30516%2019.2548%205.72852L20.5913%205.04754ZM4.5%208.55C4.5%207.69755%204.50058%207.10331%204.53838%206.64068C4.57546%206.1868%204.6446%205.92604%204.74524%205.72852L3.40873%205.04754C3.18238%205.49175%203.08803%205.97189%203.04336%206.51853C2.99942%207.05641%203%207.7223%203%208.55H4.5ZM8.55%203C7.7223%203%207.05641%202.99942%206.51853%203.04336C5.97189%203.08803%205.49175%203.18238%205.04754%203.40873L5.72852%204.74524C5.92604%204.6446%206.1868%204.57546%206.64068%204.53838C7.10331%204.50058%207.69755%204.5%208.55%204.5V3ZM4.74524%205.72852C4.96095%205.30516%205.30516%204.96095%205.72852%204.74524L5.04754%203.40873C4.34193%203.76825%203.76825%204.34193%203.40873%205.04754L4.74524%205.72852Z'%20fill='%23252525'/%3e%3cpath%20d='M20.25%2015H21V13.5H20.25V15ZM3.75%2013.5H3V15H3.75V13.5ZM3.75%2015H20.25V13.5H3.75V15Z'%20fill='%23252525'/%3e%3c/svg%3e",Pl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.0858%202.32272C11.4533%201.55909%2012.5467%201.55909%2012.9142%202.32272L15.0872%206.83907C15.2351%207.14651%2015.5293%207.35876%2015.8692%207.40319L20.8676%208.05664C21.7134%208.16721%2022.0517%209.20388%2021.4322%209.78704L17.779%2013.2263C17.5295%2013.4612%2017.4167%2013.8058%2017.4795%2014.1417L18.3971%2019.0563C18.5526%2019.8892%2017.6676%2020.5294%2016.9183%2020.1261L12.4825%2017.7385C12.1815%2017.5764%2011.8185%2017.5764%2011.5175%2017.7385L7.08174%2020.1261C6.33244%2020.5294%205.44743%2019.8892%205.60294%2019.0563L6.52054%2014.1417C6.58325%2013.8058%206.47048%2013.4612%206.22097%2013.2263L2.56776%209.78704C1.94833%209.20388%202.28661%208.16721%203.13241%208.05664L8.13078%207.40319C8.47066%207.35876%208.7649%207.14651%208.91282%206.83907L11.0858%202.32272Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Ol="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.25%204.75H5.75C4.09315%204.75%202.75%206.09315%202.75%207.75V8.25M17.75%204.75H18.25C19.9069%204.75%2021.25%206.09315%2021.25%207.75V8.25M21.25%2015.75V16.25C21.25%2017.9069%2019.9069%2019.25%2018.25%2019.25H17.75M6.25%2019.25H5.75C4.09315%2019.25%202.75%2017.9069%202.75%2016.25V15.75'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.75%209.75H16.25'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.75%2014.25H14.25'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Dl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M20.25%2010.75V6.75C20.25%205.09315%2018.9069%203.75%2017.25%203.75H6.75C5.09315%203.75%203.75%205.09315%203.75%206.75V17.25C3.75%2018.9069%205.09315%2020.25%206.75%2020.25H10.75M14.1879%2020.8366L12.0869%2013.0056C11.9372%2012.4478%2012.4478%2011.9372%2013.0056%2012.0869L20.8366%2014.1879C21.2665%2014.3032%2021.3428%2014.8805%2020.9576%2015.1035L17.4231%2017.1498C17.3097%2017.2155%2017.2155%2017.3097%2017.1498%2017.4231L15.1035%2020.9576C14.8805%2021.3428%2014.3032%2021.2665%2014.1879%2020.8366Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Ml="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.125%2016.875H16.875'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.9167%206.45833C12.1113%206.45833%2011.4583%207.11125%2011.4583%207.91667V12.9167C11.4583%2013.7221%2012.1113%2014.375%2012.9167%2014.375C13.7221%2014.375%2014.375%2013.7221%2014.375%2012.9167V7.91667C14.375%207.11125%2013.7221%206.45833%2012.9167%206.45833Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.08333%203.125C6.27792%203.125%205.625%203.77792%205.625%204.58333V12.9167C5.625%2013.7221%206.27792%2014.375%207.08333%2014.375C7.88875%2014.375%208.54167%2013.7221%208.54167%2012.9167V4.58333C8.54167%203.77792%207.88875%203.125%207.08333%203.125Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Bl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.75%2018.25H7.25M3.75%2012H9.25M3.75%205.75H20.25M17%2010.5L18.5%2013.5L21.5%2015L18.5%2016.5L17%2019.5L15.5%2016.5L12.5%2015L15.5%2013.5L17%2010.5Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Fl="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.9016%209.48786L10.3899%203.2788C8.39443%201.97623%205.75%203.40798%205.75%205.79094V18.2091C5.75%2020.592%208.39442%2022.0238%2010.3899%2020.7212L19.9016%2014.5121C21.7151%2013.3283%2021.7151%2010.6717%2019.9016%209.48786Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3c/svg%3e",nr={Header:Al,Announcement:Bl,PrimaryHero:Dl,ProductHero:yl,Items:Rl,FeaturedItems:kl,Content:Il,Stats:Nl,ImageGallery:wl,Logos:jl,CTA:Ll,FAQ:vl,Reviews:Pl,ContactUs:Ol,Footer:Ml,Video:Fl},cs={None:"var(--radius-none)",4:"var(--radius-xs)",8:"var(--radius-sm)",12:"var(--radius-md)",16:"var(--radius-lg)",20:"var(--radius-xl)",24:"var(--radius-2xl)"},ds={None:"var(--border-none)",1:"var(--border-sm)",2:"var(--border-md)",4:"var(--border-lg)"},Hl="_header_2d8xd_1",Ul="_left_2d8xd_13",$l="_right_2d8xd_14",br={header:Hl,left:Ul,right:$l},zl="_loader_jr7a4_1",Wl={loader:zl},Vt=()=>s.jsxRuntimeExports.jsx("div",{className:Wl.loader}),ql="_buttons_12rs0_1",Vl="_button_12rs0_1",Yl="_disabled_12rs0_20",On={buttons:ql,button:Vl,disabled:Yl},Gl="_wrapper_f6jyc_1",Xl="_main_f6jyc_12",Ql="_loading_f6jyc_28",hs={wrapper:Gl,main:Xl,loading:Ql},Kl="_wrapper_rccv2_1",Zl="_content_rccv2_11",Jl="_title_rccv2_21",ms={wrapper:Kl,content:Zl,title:Jl},ec=()=>{const e=s.useNavigate();return s.jsxRuntimeExports.jsx("div",{className:ms.wrapper,children:s.jsxRuntimeExports.jsxs("div",{className:ms.content,children:[s.jsxRuntimeExports.jsx("h1",{className:ms.title,children:"Page Not Found"}),s.jsxRuntimeExports.jsx(s.Button,{type:"Primary",onClick:()=>e("/"),children:"Go to Home"})]})})};async function qs(e){const t=s.IS_LOCAL_HOST?localStorage.getItem("fakeDomain"):window.location.hostname,n=`${s.STORE_API_URL}/shops/${t}/general`+(e?`?password=${e}`:"");return(await s.request({method:"get",url:n,withToken:!1})).data}const tc=async()=>{const e=s.IS_LOCAL_HOST?localStorage.getItem("fakeDomain")||"flagship-theme.pages.dev":window.location.hostname,t=`${s.STORE_API_URL}/v2/shops/${e}/settings-theme`;return await s.request({url:t,withToken:!0,method:"get"})},nc=async(e,t)=>{const n=`${s.CASHAPP_API_URL}/v1/${t}/cashapp/link`;return await s.request({url:n,method:"post",body:e,withToken:!1})},ci=e=>{const t=s.IS_LOCAL_HOST?localStorage.getItem("fakeDomain"):window.location.hostname,n=`${s.STORE_API_URL}/shops/${t}/${e}`;return s.request({url:n,withToken:!1,method:"get"})},rc=()=>ci("terms"),sc=()=>ci("refund-policy"),ic=()=>ci("privacy-policy"),ac=async(e,t,n)=>{const r=s.IS_LOCAL_HOST?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${s.SL_API_URL}/v1/reviews/${r}/${t}/${n}`;return await s.request({url:i,method:"post",withToken:!1,body:e})},oc=async e=>{const t=s.IS_LOCAL_HOST?localStorage.getItem("fakeDomain"):window.location.hostname,n=`${s.SL_API_URL}/v1/charges/${t}/${e}`;return await s.request({url:n,method:"get",withToken:!1})},uc=async e=>{const t=s.IS_LOCAL_HOST?localStorage.getItem("fakeDomain"):window.location.hostname,n=`${s.SL_API_URL}/v1/discord/${t}`;return await s.request({url:n,method:"post",body:e,withToken:!1})},lc=async e=>{const t=s.IS_LOCAL_HOST?localStorage.getItem("fakeDomain"):window.location.hostname,n=`${s.SL_API_URL}/v1/discord/${t}/${e.id}?customerEmail=${e.customerEmail}`;return await s.request({url:n,method:"get",withToken:!1})},Oi={"/":"Home","/products":"Products","/reviews":"Reviews","/faqs":"Faqs","/contact":"Contact"},cc=({pagePath:e})=>{const{sourceBlocks:t}=s.useBlocksStore(),[n,r]=k.useState(null),[i,a]=k.useState(!0),[o,u]=k.useState(null),{settings:c}=s.useSettingsStore(),{addProducts:d}=s.useCart(),{pageContext:m}=s.usePagesStore();k.useEffect(()=>{a(!0);const f=async()=>{const p=await s.getDynamicPage(encodeURIComponent(e));if(p){const{data:x}=p;x.seo&&x.seo.pageTitle?document.title=x.seo.pageTitle:Oi[e]?document.title=Oi[e]:x.products.length>0?document.title=`Product | ${x.products[0].name}`:x.fullPosts.length>0&&(document.title=`Post | ${x.fullPosts[0].title}`),u(x.layout);const g=x.listings.filter(b=>b.type==="PRODUCT"||b.type==="GROUP"),C=g&&g.length>0?x.listings:[...m.listings??[],...x.listings];r({...m,products:x.products,reviews:x.reviews,categories:x.categories,faqs:x.faqs,general:x.general,fullPosts:x.fullPosts,posts:x.posts,listings:C}),d(x.products)}a(!1)};m.listings&&f()},[e,m.listings]);const h=f=>{if(!f||!f.name)return s.jsxRuntimeExports.jsx(s.ErrorableBlock,{error:"Block or block.name is undefined."});if(!t||!t[f.name])return s.jsxRuntimeExports.jsx(s.ErrorableBlock,{error:`Block "${f.name}" does not exist in blocks.`});const p=new t[f.name];return f.value&&Object.assign(p,f.value),p.renderBlock(c,n)};return!i&&o===null?s.jsxRuntimeExports.jsx(ec,{}):s.jsxRuntimeExports.jsxs("div",{className:hs.wrapper,children:[s.jsxRuntimeExports.jsx(s.RenderAnnouncement,{}),s.jsxRuntimeExports.jsx(s.RenderHeader,{settings:c,pageContext:n}),!i&&o?s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx("div",{className:hs.main,children:o.order&&o.order.map(f=>s.jsxRuntimeExports.jsx(s.RenderBlock,{block:o.data[f],render:h},f))}),s.jsxRuntimeExports.jsx(s.RenderFooter,{settings:c,pageContext:n})]}):s.jsxRuntimeExports.jsx("div",{className:hs.loading,children:s.jsxRuntimeExports.jsx(s.Loader,{})})]})};function dc(){const e=s.useLocation();return s.jsxRuntimeExports.jsx(cc,{pagePath:e.pathname})}const hc=(e,t)=>{let n=`:root {
|
|
3
3
|
`;if(t.blockSettings&&(n+=` --max-width-store: ${t.blockSettings.maxStoreWidth};
|
|
4
4
|
`),e.colors&&Object.entries(e.colors).forEach(([r,i])=>{Object.entries(i).forEach(([a,o])=>{n+=` --${r}-${a}: ${o};
|
|
5
5
|
`})}),e.fonts&&Object.entries(e.fonts.desktop).forEach(([r,i])=>{typeof i=="object"&&Object.entries(i).forEach(([a,o])=>{o&&(n+=` --font-${r}-${a}-family: ${o.font};
|
|
@@ -96,25 +96,25 @@
|
|
|
96
96
|
`,n+=` --border-sm: var(--scale-1);
|
|
97
97
|
`,n+=` --border-md: var(--scale-2);
|
|
98
98
|
`,n+=` --border-lg: var(--scale-4);
|
|
99
|
-
`,n+="}",n},mc=e=>{const t=document.getElementById("dynamic-styles");if(t)t.innerHTML=e;else{const n=document.createElement("style");n.id="dynamic-styles",n.innerHTML=e,document.head.appendChild(n)}},Wr=new Set,pc=e=>{const t=new Map;return Object.entries(e).forEach(([n,r])=>{typeof r=="object"&&Object.entries(r).forEach(([i,a])=>{var o,u;if(a&&a.font){const c=a.font.replace(/\s+/g,"+");t.has(c)||t.set(c,new Set),(o=t.get(c))==null||o.add(a.weight),(u=t.get(c))==null||u.add(a.boldWeight)}})}),t},fc=e=>{const t=new Map;return Object.entries(e).forEach(([n,r])=>{typeof r=="object"&&Object.keys(r).forEach(i=>{var a;if(i==="font"&&r[i]){const o=r[i].replace(/\s+/g,"+");t.has(o)||t.set(o,new Set),(a=t.get(o))==null||a.add("400")}})}),t},xc=e=>{Wr.forEach(t=>{if(!e.has(t)){const n=document.querySelector(`link[data-font="${t}"]`);n&&n.remove(),Wr.delete(t)}})},gc=e=>{const t=new Set;e.forEach((n,r)=>{const i=Array.from(n).join(";"),a=`${r}:wght@${i}`;if(t.add(a),!Wr.has(a)){const o=document.createElement("link");o.rel="stylesheet",o.href=`https://fonts.googleapis.com/css2?family=${a}&display=swap`,o.setAttribute("data-font",a),document.head.appendChild(o),Wr.add(a)}}),xc(t)},Ec=e=>{if(e.fonts){const t=pc(e.fonts.desktop),n=fc(e.buttons),r=new Map(t);n.forEach((i,a)=>{if(r.has(a)){const o=r.get(a);i.forEach(u=>o==null?void 0:o.add(u))}else r.set(a,new Set(i))}),gc(r)}};function bc(){try{const{editBlock:e,currentBlock:t,blocks:n,setHeader:r,setFooter:i,setAnnouncement:a}=s.useLayersStore.getState(),{currentPage:o,pages:u}=s.usePagesStore.getState(),{currentInstance:c,settingsInstance:d}=s.useBlocksStore.getState(),{setSettings:m}=s.useSettingsStore.getState();if(t||m(d),c&&t){if(t==="header")r(c);else if(t==="footer")i(c);else if(t==="announcement")a(c);else if(t==="header"||t==="footer"||t==="announcement")throw new Error(`Missing ${t} data.`)}if(c&&u&&t&&!["header","footer","announcement"].includes(t)){const h={blockSettings:{}};if(!c.blockSettings)throw new Error("currentInstance.blockSettings is undefined.");if(Object.keys(c.blockSettings).filter(f=>!["displayName","isAddable"].includes(f)).forEach(f=>{h.blockSettings[f]=c.blockSettings[f]}),!u[o])throw new Error(`Page "${o}" does not exist.`);if(!n[u[o].path].data||!n[u[o].path].data[t])throw new Error(`Layer or block for page "${u[o].path}" and block "${t}" does not exist.`);e(u[o].path,t,{name:n[u[o].path].data[t].name,value:h})}}catch(e){console.error("Error in hotReload function:",e)}}const _c=()=>{const e=s.useNavigate(),{notifications:t,setNotifications:n}=s.useNotificationStore();return async(r,i,a,o)=>{const u=s.IS_LOCAL_HOST?localStorage.getItem("fakeDomain"):window.location.hostname,c=`${s.SL_API_URL}/v1/public/${u}/tickets`;try{const d=await s.request({method:"post",url:c,body:{title:r,firstMessage:i,email:o,recaptcha:a},withToken:!1});return n([...t,{id:s.v4(),message:"Ticket created successfully. We will contact you by mail",status:"success"}]),e(`/ticket/${d.data.id}/${d.data.accessToken}`),d}catch(d){n([...t,{id:s.v4(),message:`Error: ${d}. Please try again later.`,status:"error"}])}}},Tc=()=>{const{pages:e}=s.usePagesStore(),[t,n]=k.useState(e);return k.useEffect(()=>{n(e)},[e]),t},Cc="_tooltip_4hruj_1",Sc={tooltip:Cc},Tn=e=>{const{text:t}=e,{setShowTooltip:n}=s.useTooltipStore();return k.useEffect(()=>(n(!0),()=>{n(!1)}),[]),s.jsxRuntimeExports.jsx("div",{className:Sc.tooltip,children:t})},yc=()=>{const{undo:e,redo:t,past:n,future:r}=s.useHistoryStore(),[i,a]=k.useState(!1),[o,u]=k.useState(!1),[c,d]=k.useState(!1),[m,h]=k.useState(!1),[f,p]=k.useState(null),{notifications:x,setNotifications:g}=s.useNotificationStore();return k.useEffect(()=>{a(n.length===0)},[n]),k.useEffect(()=>{u(r.length===0)},[r]),s.jsxRuntimeExports.jsxs("div",{className:On.buttons,children:[s.jsxRuntimeExports.jsxs("div",{className:s.clx(On.button,{[On.disabled]:i}),onMouseEnter:()=>{const C=setTimeout(()=>{h(!0),d(!1)},200);p(C)},onMouseLeave:()=>{f&&clearTimeout(f),h(!1),d(!1)},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"ArrowUUpLeft",width:20,height:20,onClick:()=>{i||(e(),g([...x,{id:s.v4(),message:"Changes undone",status:"success"}]))},fill:i?"#757575":"#252525"}),m&&s.jsxRuntimeExports.jsx(Tn,{text:i?"Nothing to undo":"Click to undo changes"})]}),s.jsxRuntimeExports.jsxs("div",{className:s.clx(On.button,{[On.disabled]:o}),onMouseEnter:()=>{const C=setTimeout(()=>{d(!0),h(!1)},200);p(C)},onMouseLeave:()=>{f&&clearTimeout(f),d(!1),h(!1)},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"ArrowUUpRight",width:20,height:20,onClick:()=>{o||(t(),g([...x,{id:s.v4(),message:"Changes redone",status:"success"}]))},fill:o?"#757575":"#252525"}),c&&s.jsxRuntimeExports.jsx(Tn,{text:o?"Nothing to redo":"Click to redo changes"})]})]})},Rc="_devices_ls6k9_1",kc="_device_ls6k9_1",Ac="_active_ls6k9_27",Vs={devices:Rc,device:kc,active:Ac},Nc=()=>s.jsxRuntimeExports.jsx("div",{className:Vs.devices,children:Cl.map(e=>s.jsxRuntimeExports.jsx(Ic,{device:e}))}),Ic=e=>{const{device:t}=e,{currentDevice:n,setCurrentDevice:r}=s.useDeviceStore(),[i,a]=k.useState(!1),[o,u]=k.useState(null);return s.jsxRuntimeExports.jsxs("div",{className:s.clx(Vs.device,{[Vs.active]:n.value===t.value}),onClick:()=>r(t),onMouseEnter:()=>{const c=setTimeout(()=>{a(!0)},200);u(c)},onMouseLeave:()=>{o&&clearTimeout(o),a(!1)},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:t.icon,fill:n.value===t.value?"#252525":"#757575",width:20,height:20}),i&&s.jsxRuntimeExports.jsx(Tn,{text:`Switch to ${t.value} view`})]},t.value)},wc="_preview_1x3m8_2",jc="_active_1x3m8_19",ps={preview:wc,active:jc},Lc=()=>{const{onPreview:e}=s.usePreviewStore(),[t,n]=k.useState(!1),[r,i]=k.useState(null);return s.jsxRuntimeExports.jsxs("a",{href:"/",className:s.clx(ps.preview,{[ps.active]:e}),target:"_blank",onMouseEnter:()=>{const a=setTimeout(()=>{n(!0)},200);i(a)},onMouseLeave:()=>{r&&clearTimeout(r),n(!1)},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"ArrowUpRight",width:20,height:20}),s.jsxRuntimeExports.jsx("span",{className:ps.text,children:"Preview"}),t&&s.jsxRuntimeExports.jsx(Tn,{text:"Open draft theme in new tab"})]})},vc="_settings_u4cv4_1",Pc={settings:vc},Oc="_pages_167qp_1",Dc="_text_167qp_21",Mc="_modal_167qp_27",Bc="_open_167qp_46",Fc="_page_167qp_1",Hc="_hoverable_167qp_61",Uc="_separator_167qp_65",$c="_button_167qp_70",zc="_items_167qp_85",at={pages:Oc,default:"_default_167qp_5",text:Dc,modal:Mc,open:Bc,page:Fc,hoverable:Hc,separator:Uc,button:$c,items:zc},ho=async e=>{const t=localStorage.getItem("shopId")||void 0,n=localStorage.getItem("draftId"),r=`${s.API_URL}/v2/builder/shops/${t}/drafts/${n}/pages/${encodeURIComponent(e)}`;return await s.request({url:r,withToken:!0,method:"delete"})},Wc=()=>{const{currentPage:e,setCurrentPage:t,setIsOpenModal:n,pages:r,setIsEdit:i,setEditedPage:a,deletePage:o,setIsOpenSelectModal:u}=s.usePagesStore(),{deletePage:c,setCurrentBlock:d}=s.useLayersStore(),[m,h]=k.useState(null),{setTitle:f,setDescription:p,setOnConfirm:x}=s.useConfirmationModalStore(),[g,C]=k.useState(!1),b=k.useRef(null);s.useOnClickOutside(b,()=>{g&&C(!1)}),k.useEffect(()=>{g?u(!0):setTimeout(()=>{u(!1)},300)},[g]);const A=y=>y?y.replace(/_/g," ").split(" ").map(P=>P.charAt(0).toUpperCase()+P.slice(1)).join(" "):"";return s.jsxRuntimeExports.jsxs("div",{className:at.pages,ref:b,children:[s.jsxRuntimeExports.jsxs("div",{className:at.default,onClick:y=>{y.stopPropagation(),C(P=>!P)},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:r&&r[e]&&r[e].icon||"File",fill:"#252525",width:20,height:20}),s.jsxRuntimeExports.jsx("span",{className:at.text,children:r&&r[e]&&s.defaultPagePaths.includes(r[e].path)?`${A(r[e].name)} page`:r&&r[e]&&r[e].name}),s.jsxRuntimeExports.jsx("div",{style:{transform:g?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.3s ease",display:"flex"},children:s.jsxRuntimeExports.jsx(s.Icon,{name:"CaretDown",width:20,height:20})})]}),s.jsxRuntimeExports.jsxs("div",{className:s.clx(at.modal,{[at.open]:g}),onClick:y=>y.stopPropagation(),children:[r&&s.jsxRuntimeExports.jsx("div",{className:at.items,children:Object.keys(r).map(y=>{const P=r[y];return s.jsxRuntimeExports.jsxs("div",{className:s.clx(at.page,{[at.hoverable]:m===y}),onMouseEnter:()=>h(y),onMouseLeave:()=>h(null),onClick:()=>{h(null),i(!1),d(null),t(y),C(!1)},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:P.icon,fill:"#252525"}),s.jsxRuntimeExports.jsx("span",{className:at.text,children:s.defaultPagePaths.includes(P.path)?`${A(P.name)} page`:P.name}),m===y&&s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Gear",fill:"#757575",onClick:j=>{j.stopPropagation(),i(!0),a(y),n(!0)}}),!s.defaultPagePaths.includes(P.path)&&s.jsxRuntimeExports.jsx(s.Icon,{name:"Trash",fill:"#C12A2A",onClick:j=>{j.stopPropagation(),f("Delete Page"),p(`Are you sure you want to delete ${P.name||"this"} page? Once you delete this page, any content visible will also be deleted. This is irreversible.`),x(()=>{j.stopPropagation(),r[e].path===P.path&&t(Object.keys(r)[0]),o(y),c(P.name),ho(P.path)})}})]}),r[e]&&r[e].name===P.name&&s.jsxRuntimeExports.jsx(s.Icon,{name:"Check",fill:"#FF3F19"})]},y)})}),s.jsxRuntimeExports.jsx("div",{className:at.separator}),s.jsxRuntimeExports.jsxs(s.Button,{className:at.button,onClick:y=>{y.stopPropagation(),n(!0)},size:"l",children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Plus",fill:"#ff3f19"}),s.jsxRuntimeExports.jsx("span",{children:"Create New Page"})]})]})]})},qc="_zoom_fu0hj_1",Di={zoom:qc},Vc=()=>{const{zoomLevel:e,setZoomLevel:t}=s.usePreviewStore();return s.jsxRuntimeExports.jsxs("label",{htmlFor:"zoom",className:Di.zoom,children:[s.jsxRuntimeExports.jsx("label",{style:{flex:1,display:"flex",alignItems:"center",justifyContent:"center"},htmlFor:"zoom",children:s.jsxRuntimeExports.jsx(s.Icon,{name:"MagnifyingGlassMinus",width:20,height:20})}),s.jsxRuntimeExports.jsx("input",{id:"zoom",type:"number",min:25,max:250,value:(e*100).toFixed(0),onChange:n=>{const r=Number(n.target.value);t(r/100)},className:Di.input}),s.jsxRuntimeExports.jsx("span",{children:"%"})]})},Yc=()=>s.jsxRuntimeExports.jsxs("div",{className:Pc.settings,children:[s.jsxRuntimeExports.jsx(Wc,{}),s.jsxRuntimeExports.jsx(Vc,{})]}),Gc="_theme_1e5wq_1",Xc="_text_1e5wq_13",Mi={theme:Gc,text:Xc},Qc=()=>s.jsxRuntimeExports.jsx("div",{className:Mi.theme,children:s.jsxRuntimeExports.jsx("div",{className:Mi.text,children:"Live Theme"})}),Kc=async(e,t,n)=>{const r=localStorage.getItem("shopId")||void 0,i=localStorage.getItem("draftId"),a=`${s.API_URL}/v2/builder/shops/${r}/drafts/${i}/${t}`;return await s.request({url:a,withToken:!0,method:e,body:n})};function Dn(e,t){try{return t.map(r=>{if(!r.value||!r.value.blockSettings){console.error("block.value or block.value.blockSettings is undefined.");return}return Object.values(r.value.blockSettings).filter(a=>a&&a.type===e).map(a=>{if(a.value===void 0)throw new Error("item.value is undefined.");return a.value}).flat()}).flat().filter(r=>r).map(r=>e==="ListingIds"?r.listingId:r)}catch(n){return console.error("Error in getValues function:",n),[]}}function Zc(e,t,n){return Jc(e,t)?(n.reviews||[]).length*3:0}function Jc(e,t){return t.map(r=>{if(!r.value||!r.value.blockSettings){console.error("block.value or block.value.blockSettings is undefined.");return}return Object.values(r.value.blockSettings).filter(a=>a&&a.type===e).map(a=>{if(a.value===void 0)throw new Error("item.value is undefined.");return a.value}).flat()}).flat().filter(r=>r).length>0}function ed(e,t){if(t){const n=Object.keys(t).find(r=>t[r].path===e);if(n)return t[n]}return null}const td=({setIsLoading:e,isLoading:t})=>{const{themeSettings:n}=s.useThemeSettingsStore(),{settings:r}=s.useSettingsStore(),[i,a]=k.useState(null),[o,u]=k.useState(!1),{setNotifications:c,notifications:d}=s.useNotificationStore(),{header:m,footer:h,announcement:f,blocks:p}=s.useLayersStore(),{pageContext:x}=s.usePagesStore(),{pages:g}=s.usePagesStore(),C=async()=>{if(o)i&&clearTimeout(i);else{e(!0);const A=Object.keys(p).map(j=>{const N=ed(j,g);return p[j]&&p[j].data&&(N!=null&&N.path)?{id:N?N.id:j,name:N?N.name:j,path:N.path,layout:{...p[j]},neededProductIds:[...Dn("ProductId",Object.values(p[j].data))],neededCategoryIds:[...Dn("CategoryId",Object.values(p[j].data))],neededAnnouncementIds:[...Dn("AnnouncementId",Object.values(p[j].data))],neededListingIds:[...Dn("ListingIds",Object.values(p[j].data))],neededFaqIds:[...Dn("FaqsIds",Object.values(p[j].data))],neededReviewCount:Zc("ReviewCount",Object.values(p[j].data),x),seo:{pageTitle:N&&N.seo&&N.seo.pageTitle?N.seo.pageTitle:"",pageDescription:N&&N.seo&&N.seo.pageDescription?N.seo.pageDescription:""},isPrivate:!!(N&&N.visibility==="private")}:null}).filter(j=>j),y={settings:{maxStoreWidth:r==null?void 0:r.blockSettings.maxStoreWidth},header:m,footer:h,announcement:f},{status:P}=await Kc("post","save",{themeSettings:n,settings:y,updatedPages:A});c([...d,{id:s.v4(),message:P===200?"Settings saved":"Error",status:P===200?"success":"error"}]),e(!1)}u(!0);const b=setTimeout(()=>{u(!1)},2e3);a(b)};return s.jsxRuntimeExports.jsx(s.Button,{onClick:C,disabled:t,children:s.jsxRuntimeExports.jsx("span",{style:{userSelect:"none"},children:"Save"})})},nd=()=>{const{isOpenSelectModal:e}=s.usePagesStore(),[t,n]=k.useState(!1),{showTooltip:r}=s.useTooltipStore();return s.jsxRuntimeExports.jsxs("div",{className:br.header,style:{zIndex:e?5e4:r?501:50},children:[s.jsxRuntimeExports.jsxs("div",{className:br.left,children:[s.jsxRuntimeExports.jsx(Nc,{}),s.jsxRuntimeExports.jsx(Lc,{})]}),s.jsxRuntimeExports.jsx("div",{className:br.center,children:s.jsxRuntimeExports.jsx(Yc,{})}),s.jsxRuntimeExports.jsxs("div",{className:br.right,children:[s.jsxRuntimeExports.jsx(Qc,{}),s.jsxRuntimeExports.jsx(yc,{}),s.jsxRuntimeExports.jsx(td,{setIsLoading:n,isLoading:t}),t&&s.jsxRuntimeExports.jsx(Vt,{})]})]})},rd="_exit_ovvox_1",sd="_text_ovvox_11",id="_exitLink_ovvox_16",fs={exit:rd,text:sd,exitLink:id},ad=()=>s.jsxRuntimeExports.jsx("div",{className:fs.exit,children:s.jsxRuntimeExports.jsxs("a",{href:"https://dash.billgang.com/",className:fs.exitLink,children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"SignOut",width:20,height:20}),s.jsxRuntimeExports.jsx("span",{className:fs.text,children:"Exit"})]})}),od="_navbar_1podc_1",ud="_main_1podc_6",ld="_block_1podc_13",cd="_active_1podc_29",_r={navbar:od,main:ud,block:ld,active:cd},dd=()=>{const{activeBlock:e}=s.useNavbarStore(),{setActiveBlock:t}=s.useBlocksStore(),{setCurrentBlock:n}=s.useLayersStore(),{setActiveBlock:r}=s.useThemeSettingsStore(),{setActiveBlock:i}=s.usePreviewStore(),a=s.useNavigate();function o(u){switch(t(null),n(null),r(null),i({id:null,neededScroll:!1}),u.name){case"Layers":a("/admin/builder");break;case"Add":a("/admin/builder/add");break;case"Theme":a("/admin/builder/theme");break;case"Settings":a("/admin/builder/settings");break}}return s.jsxRuntimeExports.jsxs("div",{className:_r.navbar,children:[s.jsxRuntimeExports.jsx(ad,{}),s.jsxRuntimeExports.jsx("div",{className:_r.main,children:s.navbarBlocks.map(u=>s.jsxRuntimeExports.jsxs("div",{className:s.clx(_r.block,{[_r.active]:e.icon===u.icon}),onClick:()=>o(u),children:[s.jsxRuntimeExports.jsx(s.Icon,{name:u.icon,fill:e.icon===u.icon?"#252525":"#757575"}),s.jsxRuntimeExports.jsx("span",{children:u.name})]},u.icon))})]})},hd="_preview_gb2ye_1",md="_main_gb2ye_15",pd="_content_gb2ye_25",fd="_loading_gb2ye_34",xd="_previewLoading_gb2ye_65",Mn={preview:hd,main:md,content:pd,loading:fd,previewLoading:xd},gd="_header_11zku_2",Ed="_circles_11zku_16",bd="_circle_11zku_16",_d="_red_11zku_32",Td="_green_11zku_36",Cd="_yellow_11zku_40",Sd="_input_11zku_44",yd="_main_11zku_55",Rd="_text_11zku_63",kd="_copy_11zku_75",xt={header:gd,circles:Ed,circle:bd,red:_d,green:Td,yellow:Cd,input:Sd,main:yd,text:Rd,copy:kd},Ad=["red","yellow","green"],Nd=()=>{const{currentDevice:e}=s.useDeviceStore(),t=(i,a)=>i.length>a?i.slice(0,a)+"...":i,{notifications:n,setNotifications:r}=s.useNotificationStore();return s.jsxRuntimeExports.jsxs("div",{className:xt.header,children:[s.jsxRuntimeExports.jsx("div",{className:xt.circles,children:Ad.map(i=>s.jsxRuntimeExports.jsx("div",{className:s.clx(xt.circle,{[xt.red]:i==="red",[xt.yellow]:i==="yellow",[xt.green]:i==="green"})},i))}),s.jsxRuntimeExports.jsx("div",{className:xt.input,children:s.jsxRuntimeExports.jsxs("div",{className:xt.main,children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Lock",fill:"#757575",width:15,height:16}),s.jsxRuntimeExports.jsx("span",{className:xt.text,children:e.value==="mobile"?t(window.location.origin,35):e.value==="desktop"?t(window.location.origin,200):t(window.location.origin,100)})]})}),s.jsxRuntimeExports.jsx(s.Button,{type:"Secondary",style:{padding:"8px"},onClick:()=>{navigator.clipboard.writeText(window.location.origin),r([...n,{id:s.v4(),status:"success",message:"Domain copied to clipboard"}])},className:xt.copy,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"Copy",width:20,height:20,fill:"#252525"})})]})},Ct=e=>e?e.replace(/_/g," ").split(" ").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" and "):"",mo=(e,t,n,r,i,a,o)=>{const u=e.currentTarget.getBoundingClientRect(),c=window.innerHeight-u.bottom,d=u.top,m=window.innerWidth-u.right,h=u.left;let f,p;return f=u.bottom+r+window.scrollY,p=u.left,(c<t||c<i)&&(d>=t+o?f=u.top-t-r+window.scrollY:f=window.scrollY+o),f-window.scrollY<o&&(f=window.scrollY+o),(m<n||m<a)&&(h>=n?p=u.right-n:p=(window.innerWidth-n)/2),p<u.right+a&&(p=u.right+a),p<u.right&&p+n>u.left&&f<u.bottom&&f+t>u.top&&(m>=n+a?p=u.right+r+a:c>=t?f=u.bottom+r+window.scrollY:(f=window.scrollY+o,p=(window.innerWidth-n)/2)),{top:f,left:p}},Id="_results_1pahy_1",Bi={results:Id};function wd(e,t){return t?new t[e]().blockSettings.isAddable:!1}function Fi(e,t){return e?Object.keys(e||{}).reduce((n,r)=>(wd(r,t)&&n.push({name:r,displayName:s.getDisplayName(r,t)}),n),[]):[]}const jd="_product_yggw5_1",Ld="_name_yggw5_15",Hi={product:jd,name:Ld},vd=e=>{const{blockId:t,setSearchValue:n}=e,{sourceBlocks:r,setActiveBlock:i}=s.useBlocksStore(),{hideModal:a,hoverBlockId:o,isModalVisible:u,showPreview:c,hidePreview:d,clearHideTimeout:m,startHideTimeout:h,setHoverBlockTopPosition:f}=s.useSubmodalStore();function p(C){n(""),i(C),a("keyBlock")}function x(C,b){const A=window.innerHeight,y=400,P=10;let j=b.clientY-120;j+y>A&&(j=A-y-P),j<P&&(j=P),o||a("keyBlock"),c(C,"keyBlock"),m(),f(j)}function g(){u?h("keyBlock"):d("keyBlock"),f(null)}return s.jsxRuntimeExports.jsxs("div",{className:Hi.product,onClick:()=>p(t),onMouseEnter:C=>x(t,C),onMouseLeave:g,children:[nr[t]?s.jsxRuntimeExports.jsx("img",{src:nr[t]}):s.jsxRuntimeExports.jsx(s.Icon,{name:"Cards"}),s.jsxRuntimeExports.jsx("span",{className:Hi.name,children:s.getDisplayName(t,r)}),s.jsxRuntimeExports.jsx(s.Icon,{name:"CaretRight",width:20,height:20})]},t)},po=()=>{const{blocks:e,sourceBlocks:t}=s.useBlocksStore(),[n,r]=k.useState(""),[i,a]=k.useState([]),o=k.useMemo(()=>Fi(e,t),[e,t]),u=k.useMemo(()=>new s.Fuse(o,{keys:["displayName"],threshold:.4}),[o]);return k.useEffect(()=>{if(n.trim()==="")a(Fi(e,t));else{const c=u.search(n);a(c.map(d=>d.item))}},[n,u]),s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(s.Input,{type:"text",placeholder:"Search for sections",isSearch:!0,onChange:r,value:n,style:{marginBottom:10}}),s.jsxRuntimeExports.jsx("div",{className:Bi.results,children:i.length>0?i.map(c=>s.jsxRuntimeExports.jsx(vd,{blockId:c.name,setSearchValue:r})):s.jsxRuntimeExports.jsx("div",{className:Bi.noResults,children:"No sections found"})})]})},Pd="_wrapper_1k1cr_1",Od="_submodal_1k1cr_14",Ys={wrapper:Pd,submodal:Od},Dd=({children:e,positionTop:t,positionLeft:n})=>{const{keyBlock:r,startHideTimeout:i,clearHideTimeout:a,setMouseOverModal:o}=s.useSubmodalStore();return r?s.jsxRuntimeExports.jsx("div",{className:Ys.wrapper,style:t?{top:t,left:n||void 0}:{},onMouseEnter:()=>{a(),o(!0)},onMouseLeave:()=>{o(!1),i()},children:e}):null},Md=({children:e})=>{const{hoverBlockId:t,startHideTimeout:n,clearHideTimeout:r,setMouseOverModal:i}=s.useSubmodalStore();return t?s.jsxRuntimeExports.jsx("div",{className:s.clx(Ys.wrapper,Ys.submodal),onMouseEnter:()=>{r(),i(!0)},onMouseLeave:()=>{i(!1),n()},children:e}):null},Bd="_applyButton_1a9kh_2",Fd="_content_1a9kh_7",Hd="_title_1a9kh_14",Ud="_label_1a9kh_21",$d="_colorValue_1a9kh_40",zd="_colorMap_1a9kh_48",Wd="_indicator_1a9kh_57",qd="_hueSlider_1a9kh_66",Vd="_slider_1a9kh_97",Yd="_buttons_1a9kh_102",Gd="_name_1a9kh_109",Xd="_secondary_1a9kh_114",Qd="_input_1a9kh_122",Kd="_modal_1a9kh_160",Zd="_alphaSlider_1a9kh_249",Jd="_alphaBackground_1a9kh_257",e0="_alphaGradient_1a9kh_268",t0="_chargeTypes_1a9kh_297",n0="_charge_1a9kh_297",r0="_chargeActive_1a9kh_326",s0="_gradient_1a9kh_334",i0="_color_1a9kh_40",a0="_colorActive_1a9kh_355",o0="_gradientWrapper_1a9kh_362",u0="_subtitle_1a9kh_368",l0="_colorTypes_1a9kh_375",c0="_colorType_1a9kh_375",d0="_colorTypeActive_1a9kh_399",h0="_colorsWrapper_1a9kh_404",m0="_colors_1a9kh_404",ue={applyButton:Bd,content:Fd,title:Hd,label:Ud,colorValue:$d,colorMap:zd,indicator:Wd,hueSlider:qd,slider:Vd,buttons:Yd,name:Gd,secondary:Xd,input:Qd,modal:Kd,alphaSlider:Zd,alphaBackground:Jd,alphaGradient:e0,chargeTypes:t0,charge:n0,chargeActive:r0,gradient:s0,color:i0,colorActive:a0,gradientWrapper:o0,subtitle:u0,colorTypes:l0,colorType:c0,colorTypeActive:d0,colorsWrapper:h0,colors:m0},p0=()=>{const{modalPosition:e,color:t,initialColor:n,setShowModal:r,hue:i,saturation:a,brightness:o,alpha:u,dragging:c,setDragging:d,setHue:m,setSaturation:h,setBrightness:f,setAlpha:p,colorChange:x,setColor:g,update:C,isGradient:b,setIsGradient:A,gradientDirection:y,setGradientDirection:P,hue2:j,saturation2:N,brightness2:q,alpha2:V,setHue2:Q,setSaturation2:w,setBrightness2:$,setAlpha2:M,activeColorIndex:H,setActiveColorIndex:Y,isGradientActive:z}=s.useColorPickerStore(),X=(ae,te,ge)=>{te/=100,ge/=100;const re=Re=>(Re+ae/60)%6,he=Re=>ge*(1-te*Math.max(0,Math.min(re(Re),4-re(Re),1))),oe=Math.round(255*he(5)),xe=Math.round(255*he(3)),fe=Math.round(255*he(1));return{r:oe,g:xe,b:fe}},G=ae=>ae.toString(16).padStart(2,"0"),W=(ae,te,ge,re)=>{const{r:he,g:oe,b:xe}=X(ae,te,ge),fe=Math.round(re/100*255);return`#${G(he)}${G(oe)}${G(xe)}${G(fe)}`},J=(ae,te,ge,re)=>{if(b)if(H===1){m(ae),h(te),f(ge),p(re);const he=W(ae,te,ge,re),oe=W(j,N,q,V),fe=`linear-gradient(${y==="vertical"?"0deg":"90deg"}, ${he} 0%, ${oe} 100%)`;x(fe),g(fe)}else{Q(ae),w(te),$(ge),M(re);const he=W(ae,te,ge,re),oe=W(i,a,o,u),fe=`linear-gradient(${y==="vertical"?"0deg":"90deg"}, ${oe} 0%, ${he} 100%)`;x(fe),g(fe)}else{const he=W(ae,te,ge,re);x(he),g(he)}},S=(ae,te,ge)=>{const{width:re,height:he}=ge.getBoundingClientRect(),oe=Math.max(0,Math.min(ae/re*100,100)),xe=Math.max(0,Math.min(100-te/he*100,100));b?H===1?(h(oe),f(xe),J(i,oe,xe,u)):(w(oe),$(xe),J(j,oe,xe,V)):(h(oe),f(xe),J(i,oe,xe,u))},Ce=ae=>{const{offsetX:te,offsetY:ge}=ae.nativeEvent;d(!0),S(te,ge,ae.currentTarget)},Pe=ae=>{if(c){const te=document.querySelector(`.${ue.colorMap}`),{left:ge,top:re}=te.getBoundingClientRect(),he=ae.clientX-ge,oe=ae.clientY-re;S(he,oe,te)}},R=()=>{d(!1)};k.useEffect(()=>{function ae(re){const he=/linear-gradient\((\d+deg),\s*(#[0-9a-fA-F]{8})\s*0%,\s*(#[0-9a-fA-F]{8})\s*100%\)/,oe=re.match(he);if(oe){const xe=oe[1],fe=oe[2],Re=oe[3];return{angle:xe,col1:fe,col2:Re}}return null}function te(re){const he=parseInt(re.slice(1,3),16),oe=parseInt(re.slice(3,5),16),xe=parseInt(re.slice(5,7),16),fe=parseInt(re.slice(7,9),16)/255*100,{h:Re,s:Dt,b:v}=ge(he,oe,xe);return{h:Re,s:Dt,b:v,a:fe}}function ge(re,he,oe){re/=255,he/=255,oe/=255;const xe=Math.max(re,he,oe),fe=Math.min(re,he,oe);let Re=0;const Dt=xe-fe,v=(xe===0?0:Dt/xe)*100,U=xe*100;if(xe===fe)Re=0;else switch(xe){case re:Re=((he-oe)/Dt+(he<oe?6:0))*60;break;case he:Re=((oe-re)/Dt+2)*60;break;case oe:Re=((re-he)/Dt+4)*60;break}return{h:Re,s:v,b:U}}if(n&&n.startsWith("linear-gradient")){const re=ae(n);if(re){const{angle:he,col1:oe,col2:xe}=re,fe=te(oe),Re=te(xe);A(!0),P(he==="0deg"?"vertical":"horizontal"),m(fe.h),h(fe.s),f(fe.b),p(fe.a),Q(Re.h),w(Re.s),$(Re.b),M(Re.a),Y(1)}}else if(n){const he=function(xe){let fe=xe;return fe.length===7?fe+"ff":fe.length===9?fe:fe.length===4?fe[0]+fe[1].repeat(2)+fe[2].repeat(2)+fe[3].repeat(2)+"ff":"#000000ff"}(n),oe=te(he);A(!1),m(oe.h),h(oe.s),f(oe.b),p(oe.a)}},[n,A,P,m,h,f,p,Q,w,$,M,Y]),k.useEffect(()=>{let ae,te,ge,re;b?H===1?(ae=i,te=a,ge=o,re=u):(ae=j,te=N,ge=q,re=V):(ae=i,te=a,ge=o,re=u),J(ae,te,ge,re)},[b,y,H,i,a,o,u,j,N,q,V]),k.useEffect(()=>{const ae=ge=>Pe(ge),te=()=>R();return c?(document.addEventListener("mousemove",ae),document.addEventListener("mouseup",te)):(document.removeEventListener("mousemove",ae),document.removeEventListener("mouseup",te)),()=>{document.removeEventListener("mousemove",ae),document.removeEventListener("mouseup",te)}},[c,b,y]);function ce(){if(!b)C(t);else{const ae=W(i,a,o,u),te=W(j,N,q,V),re=`linear-gradient(${y==="vertical"?"0deg":"90deg"}, ${ae} 0%, ${te} 100%)`;C(re)}r(!1)}function Ae(){r(!1),x(n)}const ee=b?H===1?i:j:i,De=b?H===1?a:N:a,st=b?H===1?o:q:o,Ot=b?H===1?u:V:u,{r:Rt,g:Gt,b:gr}=X(ee,De,st),ls=`linear-gradient(to right, rgba(${Rt}, ${Gt}, ${gr}, 0), rgba(${Rt}, ${Gt}, ${gr}, 1))`,Er=W(i,a,o,u),Ln=W(j,N,q,V);return s.jsxRuntimeExports.jsxs("div",{className:ue.modal,onClick:ae=>ae.stopPropagation(),style:{top:`${e.top}px`,left:`${e.left}px`},children:[s.jsxRuntimeExports.jsx("h2",{className:ue.title,children:"Color"}),z&&s.jsxRuntimeExports.jsxs("div",{className:ue.colorTypes,children:[s.jsxRuntimeExports.jsxs("div",{className:s.clx(ue.colorType,{[ue.colorTypeActive]:!b}),onClick:()=>A(!1),children:[s.jsxRuntimeExports.jsx("div",{style:{background:"#757575",width:"16px",height:"16px",borderRadius:"50%"}}),"Solid"]}),s.jsxRuntimeExports.jsxs("div",{className:s.clx(ue.colorType,{[ue.colorTypeActive]:b}),onClick:()=>A(!0),children:[s.jsxRuntimeExports.jsx("div",{style:{background:"linear-gradient(to bottom, #757575 0%, #DBDBDB 100%)",width:"16px",height:"16px",borderRadius:"50%"}}),"Linear"]})]}),b&&z&&s.jsxRuntimeExports.jsxs("div",{className:ue.colorsWrapper,children:[s.jsxRuntimeExports.jsx("div",{className:ue.colors,style:{background:`linear-gradient(90deg, ${Er} 0%, ${Ln} 100%)`}}),s.jsxRuntimeExports.jsx("div",{className:s.clx(ue.color,{[ue.colorActive]:H===1}),onClick:()=>Y(1),style:{background:Er}}),s.jsxRuntimeExports.jsx("div",{className:s.clx(ue.color,{[ue.colorActive]:H===2}),onClick:()=>Y(2),style:{background:Ln}})]}),s.jsxRuntimeExports.jsx("div",{className:ue.colorMap,onMouseDown:Ce,style:{background:`
|
|
99
|
+
`,n+="}",n},mc=e=>{const t=document.getElementById("dynamic-styles");if(t)t.innerHTML=e;else{const n=document.createElement("style");n.id="dynamic-styles",n.innerHTML=e,document.head.appendChild(n)}},Wr=new Set,pc=e=>{const t=new Map;return Object.entries(e).forEach(([n,r])=>{typeof r=="object"&&Object.entries(r).forEach(([i,a])=>{var o,u;if(a&&a.font){const c=a.font.replace(/\s+/g,"+");t.has(c)||t.set(c,new Set),(o=t.get(c))==null||o.add(a.weight),(u=t.get(c))==null||u.add(a.boldWeight)}})}),t},fc=e=>{const t=new Map;return Object.entries(e).forEach(([n,r])=>{typeof r=="object"&&Object.keys(r).forEach(i=>{var a;if(i==="font"&&r[i]){const o=r[i].replace(/\s+/g,"+");t.has(o)||t.set(o,new Set),(a=t.get(o))==null||a.add("400")}})}),t},xc=e=>{Wr.forEach(t=>{if(!e.has(t)){const n=document.querySelector(`link[data-font="${t}"]`);n&&n.remove(),Wr.delete(t)}})},gc=e=>{const t=new Set;e.forEach((n,r)=>{const i=Array.from(n).join(";"),a=`${r}:wght@${i}`;if(t.add(a),!Wr.has(a)){const o=document.createElement("link");o.rel="stylesheet",o.href=`https://fonts.googleapis.com/css2?family=${a}&display=swap`,o.setAttribute("data-font",a),document.head.appendChild(o),Wr.add(a)}}),xc(t)},Ec=e=>{if(e.fonts){const t=pc(e.fonts.desktop),n=fc(e.buttons),r=new Map(t);n.forEach((i,a)=>{if(r.has(a)){const o=r.get(a);i.forEach(u=>o==null?void 0:o.add(u))}else r.set(a,new Set(i))}),gc(r)}};function bc(){try{const{editBlock:e,currentBlock:t,blocks:n,setHeader:r,setFooter:i,setAnnouncement:a}=s.useLayersStore.getState(),{currentPage:o,pages:u}=s.usePagesStore.getState(),{currentInstance:c,settingsInstance:d}=s.useBlocksStore.getState(),{setSettings:m}=s.useSettingsStore.getState();if(t||m(d),c&&t){if(t==="header")r(c);else if(t==="footer")i(c);else if(t==="announcement")a(c);else if(t==="header"||t==="footer"||t==="announcement")throw new Error(`Missing ${t} data.`)}if(c&&u&&t&&!["header","footer","announcement"].includes(t)){const h={blockSettings:{}};if(!c.blockSettings)throw new Error("currentInstance.blockSettings is undefined.");if(Object.keys(c.blockSettings).filter(f=>!["displayName","isAddable"].includes(f)).forEach(f=>{h.blockSettings[f]=c.blockSettings[f]}),!u[o])throw new Error(`Page "${o}" does not exist.`);if(!n[u[o].path].data||!n[u[o].path].data[t])throw new Error(`Layer or block for page "${u[o].path}" and block "${t}" does not exist.`);e(u[o].path,t,{name:n[u[o].path].data[t].name,value:h})}}catch(e){console.error("Error in hotReload function:",e)}}const _c=()=>{const e=s.useNavigate(),{notifications:t,setNotifications:n}=s.useNotificationStore();return async(r,i,a,o)=>{const u=s.IS_LOCAL_HOST?localStorage.getItem("fakeDomain"):window.location.hostname,c=`${s.SL_API_URL}/v1/public/${u}/tickets`;try{const d=await s.request({method:"post",url:c,body:{title:r,firstMessage:i,email:o,recaptcha:a},withToken:!1});return n([...t,{id:s.v4(),message:"Ticket created successfully. We will contact you by mail",status:"success"}]),e(`/ticket/${d.data.id}/${d.data.accessToken}`),d}catch(d){n([...t,{id:s.v4(),message:`Error: ${d}. Please try again later.`,status:"error"}])}}},Tc=()=>{const{pages:e}=s.usePagesStore(),[t,n]=k.useState(e);return k.useEffect(()=>{n(e)},[e]),t},Cc="_tooltip_4hruj_1",Sc={tooltip:Cc},Tn=e=>{const{text:t}=e,{setShowTooltip:n}=s.useTooltipStore();return k.useEffect(()=>(n(!0),()=>{n(!1)}),[]),s.jsxRuntimeExports.jsx("div",{className:Sc.tooltip,children:t})},yc=()=>{const{undo:e,redo:t,past:n,future:r}=s.useHistoryStore(),[i,a]=k.useState(!1),[o,u]=k.useState(!1),[c,d]=k.useState(!1),[m,h]=k.useState(!1),[f,p]=k.useState(null),{notifications:x,setNotifications:g}=s.useNotificationStore();return k.useEffect(()=>{a(n.length===0)},[n]),k.useEffect(()=>{u(r.length===0)},[r]),s.jsxRuntimeExports.jsxs("div",{className:On.buttons,children:[s.jsxRuntimeExports.jsxs("div",{className:s.clx(On.button,{[On.disabled]:i}),onMouseEnter:()=>{const C=setTimeout(()=>{h(!0),d(!1)},200);p(C)},onMouseLeave:()=>{f&&clearTimeout(f),h(!1),d(!1)},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"ArrowUUpLeft",width:20,height:20,onClick:()=>{i||(e(),g([...x,{id:s.v4(),message:"Changes undone",status:"success"}]))},fill:i?"#757575":"#252525"}),m&&s.jsxRuntimeExports.jsx(Tn,{text:i?"Nothing to undo":"Click to undo changes"})]}),s.jsxRuntimeExports.jsxs("div",{className:s.clx(On.button,{[On.disabled]:o}),onMouseEnter:()=>{const C=setTimeout(()=>{d(!0),h(!1)},200);p(C)},onMouseLeave:()=>{f&&clearTimeout(f),d(!1),h(!1)},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"ArrowUUpRight",width:20,height:20,onClick:()=>{o||(t(),g([...x,{id:s.v4(),message:"Changes redone",status:"success"}]))},fill:o?"#757575":"#252525"}),c&&s.jsxRuntimeExports.jsx(Tn,{text:o?"Nothing to redo":"Click to redo changes"})]})]})},Rc="_devices_ls6k9_1",kc="_device_ls6k9_1",Ac="_active_ls6k9_27",Vs={devices:Rc,device:kc,active:Ac},Ic=()=>s.jsxRuntimeExports.jsx("div",{className:Vs.devices,children:Cl.map(e=>s.jsxRuntimeExports.jsx(Nc,{device:e}))}),Nc=e=>{const{device:t}=e,{currentDevice:n,setCurrentDevice:r}=s.useDeviceStore(),[i,a]=k.useState(!1),[o,u]=k.useState(null);return s.jsxRuntimeExports.jsxs("div",{className:s.clx(Vs.device,{[Vs.active]:n.value===t.value}),onClick:()=>r(t),onMouseEnter:()=>{const c=setTimeout(()=>{a(!0)},200);u(c)},onMouseLeave:()=>{o&&clearTimeout(o),a(!1)},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:t.icon,fill:n.value===t.value?"#252525":"#757575",width:20,height:20}),i&&s.jsxRuntimeExports.jsx(Tn,{text:`Switch to ${t.value} view`})]},t.value)},wc="_preview_1x3m8_2",jc="_active_1x3m8_19",ps={preview:wc,active:jc},Lc=()=>{const{onPreview:e}=s.usePreviewStore(),[t,n]=k.useState(!1),[r,i]=k.useState(null);return s.jsxRuntimeExports.jsxs("a",{href:"/",className:s.clx(ps.preview,{[ps.active]:e}),target:"_blank",onMouseEnter:()=>{const a=setTimeout(()=>{n(!0)},200);i(a)},onMouseLeave:()=>{r&&clearTimeout(r),n(!1)},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"ArrowUpRight",width:20,height:20}),s.jsxRuntimeExports.jsx("span",{className:ps.text,children:"Preview"}),t&&s.jsxRuntimeExports.jsx(Tn,{text:"Open draft theme in new tab"})]})},vc="_settings_u4cv4_1",Pc={settings:vc},Oc="_pages_167qp_1",Dc="_text_167qp_21",Mc="_modal_167qp_27",Bc="_open_167qp_46",Fc="_page_167qp_1",Hc="_hoverable_167qp_61",Uc="_separator_167qp_65",$c="_button_167qp_70",zc="_items_167qp_85",at={pages:Oc,default:"_default_167qp_5",text:Dc,modal:Mc,open:Bc,page:Fc,hoverable:Hc,separator:Uc,button:$c,items:zc},ho=async e=>{const t=localStorage.getItem("shopId")||void 0,n=localStorage.getItem("draftId"),r=`${s.API_URL}/v2/builder/shops/${t}/drafts/${n}/pages/${encodeURIComponent(e)}`;return await s.request({url:r,withToken:!0,method:"delete"})},Wc=()=>{const{currentPage:e,setCurrentPage:t,setIsOpenModal:n,pages:r,setIsEdit:i,setEditedPage:a,deletePage:o,setIsOpenSelectModal:u}=s.usePagesStore(),{deletePage:c,setCurrentBlock:d}=s.useLayersStore(),[m,h]=k.useState(null),{setTitle:f,setDescription:p,setOnConfirm:x}=s.useConfirmationModalStore(),[g,C]=k.useState(!1),b=k.useRef(null);s.useOnClickOutside(b,()=>{g&&C(!1)}),k.useEffect(()=>{g?u(!0):setTimeout(()=>{u(!1)},300)},[g]);const A=y=>y?y.replace(/_/g," ").split(" ").map(P=>P.charAt(0).toUpperCase()+P.slice(1)).join(" "):"";return s.jsxRuntimeExports.jsxs("div",{className:at.pages,ref:b,children:[s.jsxRuntimeExports.jsxs("div",{className:at.default,onClick:y=>{y.stopPropagation(),C(P=>!P)},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:r&&r[e]&&r[e].icon||"File",fill:"#252525",width:20,height:20}),s.jsxRuntimeExports.jsx("span",{className:at.text,children:r&&r[e]&&s.defaultPagePaths.includes(r[e].path)?`${A(r[e].name)} page`:r&&r[e]&&r[e].name}),s.jsxRuntimeExports.jsx("div",{style:{transform:g?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.3s ease",display:"flex"},children:s.jsxRuntimeExports.jsx(s.Icon,{name:"CaretDown",width:20,height:20})})]}),s.jsxRuntimeExports.jsxs("div",{className:s.clx(at.modal,{[at.open]:g}),onClick:y=>y.stopPropagation(),children:[r&&s.jsxRuntimeExports.jsx("div",{className:at.items,children:Object.keys(r).map(y=>{const P=r[y];return s.jsxRuntimeExports.jsxs("div",{className:s.clx(at.page,{[at.hoverable]:m===y}),onMouseEnter:()=>h(y),onMouseLeave:()=>h(null),onClick:()=>{h(null),i(!1),d(null),t(y),C(!1)},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:P.icon,fill:"#252525"}),s.jsxRuntimeExports.jsx("span",{className:at.text,children:s.defaultPagePaths.includes(P.path)?`${A(P.name)} page`:P.name}),m===y&&s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Gear",fill:"#757575",onClick:j=>{j.stopPropagation(),i(!0),a(y),n(!0)}}),!s.defaultPagePaths.includes(P.path)&&s.jsxRuntimeExports.jsx(s.Icon,{name:"Trash",fill:"#C12A2A",onClick:j=>{j.stopPropagation(),f("Delete Page"),p(`Are you sure you want to delete ${P.name||"this"} page? Once you delete this page, any content visible will also be deleted. This is irreversible.`),x(()=>{j.stopPropagation(),r[e].path===P.path&&t(Object.keys(r)[0]),o(y),c(P.name),ho(P.path)})}})]}),r[e]&&r[e].name===P.name&&s.jsxRuntimeExports.jsx(s.Icon,{name:"Check",fill:"#FF3F19"})]},y)})}),s.jsxRuntimeExports.jsx("div",{className:at.separator}),s.jsxRuntimeExports.jsxs(s.Button,{className:at.button,onClick:y=>{y.stopPropagation(),n(!0)},size:"l",children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Plus",fill:"#ff3f19"}),s.jsxRuntimeExports.jsx("span",{children:"Create New Page"})]})]})]})},qc="_zoom_fu0hj_1",Di={zoom:qc},Vc=()=>{const{zoomLevel:e,setZoomLevel:t}=s.usePreviewStore();return s.jsxRuntimeExports.jsxs("label",{htmlFor:"zoom",className:Di.zoom,children:[s.jsxRuntimeExports.jsx("label",{style:{flex:1,display:"flex",alignItems:"center",justifyContent:"center"},htmlFor:"zoom",children:s.jsxRuntimeExports.jsx(s.Icon,{name:"MagnifyingGlassMinus",width:20,height:20})}),s.jsxRuntimeExports.jsx("input",{id:"zoom",type:"number",min:25,max:250,value:(e*100).toFixed(0),onChange:n=>{const r=Number(n.target.value);t(r/100)},className:Di.input}),s.jsxRuntimeExports.jsx("span",{children:"%"})]})},Yc=()=>s.jsxRuntimeExports.jsxs("div",{className:Pc.settings,children:[s.jsxRuntimeExports.jsx(Wc,{}),s.jsxRuntimeExports.jsx(Vc,{})]}),Gc="_theme_1e5wq_1",Xc="_text_1e5wq_13",Mi={theme:Gc,text:Xc},Qc=()=>s.jsxRuntimeExports.jsx("div",{className:Mi.theme,children:s.jsxRuntimeExports.jsx("div",{className:Mi.text,children:"Live Theme"})}),Kc=async(e,t,n)=>{const r=localStorage.getItem("shopId")||void 0,i=localStorage.getItem("draftId"),a=`${s.API_URL}/v2/builder/shops/${r}/drafts/${i}/${t}`;return await s.request({url:a,withToken:!0,method:e,body:n})};function Dn(e,t){try{return t.map(r=>{if(!r.value||!r.value.blockSettings){console.error("block.value or block.value.blockSettings is undefined.");return}return Object.values(r.value.blockSettings).filter(a=>a&&a.type===e).map(a=>{if(a.value===void 0)throw new Error("item.value is undefined.");return a.value}).flat()}).flat().filter(r=>r).map(r=>e==="ListingIds"?r.listingId:r)}catch(n){return console.error("Error in getValues function:",n),[]}}function Zc(e,t,n){return Jc(e,t)?(n.reviews||[]).length*3:0}function Jc(e,t){return t.map(r=>{if(!r.value||!r.value.blockSettings){console.error("block.value or block.value.blockSettings is undefined.");return}return Object.values(r.value.blockSettings).filter(a=>a&&a.type===e).map(a=>{if(a.value===void 0)throw new Error("item.value is undefined.");return a.value}).flat()}).flat().filter(r=>r).length>0}function ed(e,t){if(t){const n=Object.keys(t).find(r=>t[r].path===e);if(n)return t[n]}return null}const td=({setIsLoading:e,isLoading:t})=>{const{themeSettings:n}=s.useThemeSettingsStore(),{settings:r}=s.useSettingsStore(),[i,a]=k.useState(null),[o,u]=k.useState(!1),{setNotifications:c,notifications:d}=s.useNotificationStore(),{header:m,footer:h,announcement:f,blocks:p}=s.useLayersStore(),{pageContext:x}=s.usePagesStore(),{pages:g}=s.usePagesStore(),C=async()=>{if(o)i&&clearTimeout(i);else{e(!0);const A=Object.keys(p).map(j=>{const I=ed(j,g);return p[j]&&p[j].data&&(I!=null&&I.path)?{id:I?I.id:j,name:I?I.name:j,path:I.path,layout:{...p[j]},neededProductIds:[...Dn("ProductId",Object.values(p[j].data))],neededCategoryIds:[...Dn("CategoryId",Object.values(p[j].data))],neededAnnouncementIds:[...Dn("AnnouncementId",Object.values(p[j].data))],neededListingIds:[...Dn("ListingIds",Object.values(p[j].data))],neededFaqIds:[...Dn("FaqsIds",Object.values(p[j].data))],neededReviewCount:Zc("ReviewCount",Object.values(p[j].data),x),seo:{pageTitle:I&&I.seo&&I.seo.pageTitle?I.seo.pageTitle:"",pageDescription:I&&I.seo&&I.seo.pageDescription?I.seo.pageDescription:""},isPrivate:!!(I&&I.visibility==="private")}:null}).filter(j=>j),y={settings:{maxStoreWidth:r==null?void 0:r.blockSettings.maxStoreWidth},header:m,footer:h,announcement:f},{status:P}=await Kc("post","save",{themeSettings:n,settings:y,updatedPages:A});c([...d,{id:s.v4(),message:P===200?"Settings saved":"Error",status:P===200?"success":"error"}]),e(!1)}u(!0);const b=setTimeout(()=>{u(!1)},2e3);a(b)};return s.jsxRuntimeExports.jsx(s.Button,{onClick:C,disabled:t,children:s.jsxRuntimeExports.jsx("span",{style:{userSelect:"none"},children:"Save"})})},nd=()=>{const{isOpenSelectModal:e}=s.usePagesStore(),[t,n]=k.useState(!1),{showTooltip:r}=s.useTooltipStore();return s.jsxRuntimeExports.jsxs("div",{className:br.header,style:{zIndex:e?5e4:r?501:50},children:[s.jsxRuntimeExports.jsxs("div",{className:br.left,children:[s.jsxRuntimeExports.jsx(Ic,{}),s.jsxRuntimeExports.jsx(Lc,{})]}),s.jsxRuntimeExports.jsx("div",{className:br.center,children:s.jsxRuntimeExports.jsx(Yc,{})}),s.jsxRuntimeExports.jsxs("div",{className:br.right,children:[s.jsxRuntimeExports.jsx(Qc,{}),s.jsxRuntimeExports.jsx(yc,{}),s.jsxRuntimeExports.jsx(td,{setIsLoading:n,isLoading:t}),t&&s.jsxRuntimeExports.jsx(Vt,{})]})]})},rd="_exit_ovvox_1",sd="_text_ovvox_11",id="_exitLink_ovvox_16",fs={exit:rd,text:sd,exitLink:id},ad=()=>s.jsxRuntimeExports.jsx("div",{className:fs.exit,children:s.jsxRuntimeExports.jsxs("a",{href:"https://dash.billgang.com/",className:fs.exitLink,children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"SignOut",width:20,height:20}),s.jsxRuntimeExports.jsx("span",{className:fs.text,children:"Exit"})]})}),od="_navbar_1podc_1",ud="_main_1podc_6",ld="_block_1podc_13",cd="_active_1podc_29",_r={navbar:od,main:ud,block:ld,active:cd},dd=()=>{const{activeBlock:e}=s.useNavbarStore(),{setActiveBlock:t}=s.useBlocksStore(),{setCurrentBlock:n}=s.useLayersStore(),{setActiveBlock:r}=s.useThemeSettingsStore(),{setActiveBlock:i}=s.usePreviewStore(),a=s.useNavigate();function o(u){switch(t(null),n(null),r(null),i({id:null,neededScroll:!1}),u.name){case"Layers":a("/admin/builder");break;case"Add":a("/admin/builder/add");break;case"Theme":a("/admin/builder/theme");break;case"Settings":a("/admin/builder/settings");break}}return s.jsxRuntimeExports.jsxs("div",{className:_r.navbar,children:[s.jsxRuntimeExports.jsx(ad,{}),s.jsxRuntimeExports.jsx("div",{className:_r.main,children:s.navbarBlocks.map(u=>s.jsxRuntimeExports.jsxs("div",{className:s.clx(_r.block,{[_r.active]:e.icon===u.icon}),onClick:()=>o(u),children:[s.jsxRuntimeExports.jsx(s.Icon,{name:u.icon,fill:e.icon===u.icon?"#252525":"#757575"}),s.jsxRuntimeExports.jsx("span",{children:u.name})]},u.icon))})]})},hd="_preview_gb2ye_1",md="_main_gb2ye_15",pd="_content_gb2ye_25",fd="_loading_gb2ye_34",xd="_previewLoading_gb2ye_65",Mn={preview:hd,main:md,content:pd,loading:fd,previewLoading:xd},gd="_header_11zku_2",Ed="_circles_11zku_16",bd="_circle_11zku_16",_d="_red_11zku_32",Td="_green_11zku_36",Cd="_yellow_11zku_40",Sd="_input_11zku_44",yd="_main_11zku_55",Rd="_text_11zku_63",kd="_copy_11zku_75",xt={header:gd,circles:Ed,circle:bd,red:_d,green:Td,yellow:Cd,input:Sd,main:yd,text:Rd,copy:kd},Ad=["red","yellow","green"],Id=()=>{const{currentDevice:e}=s.useDeviceStore(),t=(i,a)=>i.length>a?i.slice(0,a)+"...":i,{notifications:n,setNotifications:r}=s.useNotificationStore();return s.jsxRuntimeExports.jsxs("div",{className:xt.header,children:[s.jsxRuntimeExports.jsx("div",{className:xt.circles,children:Ad.map(i=>s.jsxRuntimeExports.jsx("div",{className:s.clx(xt.circle,{[xt.red]:i==="red",[xt.yellow]:i==="yellow",[xt.green]:i==="green"})},i))}),s.jsxRuntimeExports.jsx("div",{className:xt.input,children:s.jsxRuntimeExports.jsxs("div",{className:xt.main,children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Lock",fill:"#757575",width:15,height:16}),s.jsxRuntimeExports.jsx("span",{className:xt.text,children:e.value==="mobile"?t(window.location.origin,35):e.value==="desktop"?t(window.location.origin,200):t(window.location.origin,100)})]})}),s.jsxRuntimeExports.jsx(s.Button,{type:"Secondary",style:{padding:"8px"},onClick:()=>{navigator.clipboard.writeText(window.location.origin),r([...n,{id:s.v4(),status:"success",message:"Domain copied to clipboard"}])},className:xt.copy,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"Copy",width:20,height:20,fill:"#252525"})})]})},Ct=e=>e?e.replace(/_/g," ").split(" ").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" and "):"",mo=(e,t,n,r,i,a,o)=>{const u=e.currentTarget.getBoundingClientRect(),c=window.innerHeight-u.bottom,d=u.top,m=window.innerWidth-u.right,h=u.left;let f,p;return f=u.bottom+r+window.scrollY,p=u.left,(c<t||c<i)&&(d>=t+o?f=u.top-t-r+window.scrollY:f=window.scrollY+o),f-window.scrollY<o&&(f=window.scrollY+o),(m<n||m<a)&&(h>=n?p=u.right-n:p=(window.innerWidth-n)/2),p<u.right+a&&(p=u.right+a),p<u.right&&p+n>u.left&&f<u.bottom&&f+t>u.top&&(m>=n+a?p=u.right+r+a:c>=t?f=u.bottom+r+window.scrollY:(f=window.scrollY+o,p=(window.innerWidth-n)/2)),{top:f,left:p}},Nd="_results_1pahy_1",Bi={results:Nd};function wd(e,t){return t?new t[e]().blockSettings.isAddable:!1}function Fi(e,t){return e?Object.keys(e||{}).reduce((n,r)=>(wd(r,t)&&n.push({name:r,displayName:s.getDisplayName(r,t)}),n),[]):[]}const jd="_product_yggw5_1",Ld="_name_yggw5_15",Hi={product:jd,name:Ld},vd=e=>{const{blockId:t,setSearchValue:n}=e,{sourceBlocks:r,setActiveBlock:i}=s.useBlocksStore(),{hideModal:a,hoverBlockId:o,isModalVisible:u,showPreview:c,hidePreview:d,clearHideTimeout:m,startHideTimeout:h,setHoverBlockTopPosition:f}=s.useSubmodalStore();function p(C){n(""),i(C),a("keyBlock")}function x(C,b){const A=window.innerHeight,y=400,P=10;let j=b.clientY-120;j+y>A&&(j=A-y-P),j<P&&(j=P),o||a("keyBlock"),c(C,"keyBlock"),m(),f(j)}function g(){u?h("keyBlock"):d("keyBlock"),f(null)}return s.jsxRuntimeExports.jsxs("div",{className:Hi.product,onClick:()=>p(t),onMouseEnter:C=>x(t,C),onMouseLeave:g,children:[nr[t]?s.jsxRuntimeExports.jsx("img",{src:nr[t]}):s.jsxRuntimeExports.jsx(s.Icon,{name:"Cards"}),s.jsxRuntimeExports.jsx("span",{className:Hi.name,children:s.getDisplayName(t,r)}),s.jsxRuntimeExports.jsx(s.Icon,{name:"CaretRight",width:20,height:20})]},t)},po=()=>{const{blocks:e,sourceBlocks:t}=s.useBlocksStore(),[n,r]=k.useState(""),[i,a]=k.useState([]),o=k.useMemo(()=>Fi(e,t),[e,t]),u=k.useMemo(()=>new s.Fuse(o,{keys:["displayName"],threshold:.4}),[o]);return k.useEffect(()=>{if(n.trim()==="")a(Fi(e,t));else{const c=u.search(n);a(c.map(d=>d.item))}},[n,u]),s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(s.Input,{type:"text",placeholder:"Search for sections",isSearch:!0,onChange:r,value:n,style:{marginBottom:10}}),s.jsxRuntimeExports.jsx("div",{className:Bi.results,children:i.length>0?i.map(c=>s.jsxRuntimeExports.jsx(vd,{blockId:c.name,setSearchValue:r})):s.jsxRuntimeExports.jsx("div",{className:Bi.noResults,children:"No sections found"})})]})},Pd="_wrapper_1k1cr_1",Od="_submodal_1k1cr_14",Ys={wrapper:Pd,submodal:Od},Dd=({children:e,positionTop:t,positionLeft:n})=>{const{keyBlock:r,startHideTimeout:i,clearHideTimeout:a,setMouseOverModal:o}=s.useSubmodalStore();return r?s.jsxRuntimeExports.jsx("div",{className:Ys.wrapper,style:t?{top:t,left:n||void 0}:{},onMouseEnter:()=>{a(),o(!0)},onMouseLeave:()=>{o(!1),i()},children:e}):null},Md=({children:e})=>{const{hoverBlockId:t,startHideTimeout:n,clearHideTimeout:r,setMouseOverModal:i}=s.useSubmodalStore();return t?s.jsxRuntimeExports.jsx("div",{className:s.clx(Ys.wrapper,Ys.submodal),onMouseEnter:()=>{r(),i(!0)},onMouseLeave:()=>{i(!1),n()},children:e}):null},Bd="_applyButton_1a9kh_2",Fd="_content_1a9kh_7",Hd="_title_1a9kh_14",Ud="_label_1a9kh_21",$d="_colorValue_1a9kh_40",zd="_colorMap_1a9kh_48",Wd="_indicator_1a9kh_57",qd="_hueSlider_1a9kh_66",Vd="_slider_1a9kh_97",Yd="_buttons_1a9kh_102",Gd="_name_1a9kh_109",Xd="_secondary_1a9kh_114",Qd="_input_1a9kh_122",Kd="_modal_1a9kh_160",Zd="_alphaSlider_1a9kh_249",Jd="_alphaBackground_1a9kh_257",e0="_alphaGradient_1a9kh_268",t0="_chargeTypes_1a9kh_297",n0="_charge_1a9kh_297",r0="_chargeActive_1a9kh_326",s0="_gradient_1a9kh_334",i0="_color_1a9kh_40",a0="_colorActive_1a9kh_355",o0="_gradientWrapper_1a9kh_362",u0="_subtitle_1a9kh_368",l0="_colorTypes_1a9kh_375",c0="_colorType_1a9kh_375",d0="_colorTypeActive_1a9kh_399",h0="_colorsWrapper_1a9kh_404",m0="_colors_1a9kh_404",ue={applyButton:Bd,content:Fd,title:Hd,label:Ud,colorValue:$d,colorMap:zd,indicator:Wd,hueSlider:qd,slider:Vd,buttons:Yd,name:Gd,secondary:Xd,input:Qd,modal:Kd,alphaSlider:Zd,alphaBackground:Jd,alphaGradient:e0,chargeTypes:t0,charge:n0,chargeActive:r0,gradient:s0,color:i0,colorActive:a0,gradientWrapper:o0,subtitle:u0,colorTypes:l0,colorType:c0,colorTypeActive:d0,colorsWrapper:h0,colors:m0},p0=()=>{const{modalPosition:e,color:t,initialColor:n,setShowModal:r,hue:i,saturation:a,brightness:o,alpha:u,dragging:c,setDragging:d,setHue:m,setSaturation:h,setBrightness:f,setAlpha:p,colorChange:x,setColor:g,update:C,isGradient:b,setIsGradient:A,gradientDirection:y,setGradientDirection:P,hue2:j,saturation2:I,brightness2:q,alpha2:V,setHue2:Q,setSaturation2:w,setBrightness2:$,setAlpha2:M,activeColorIndex:H,setActiveColorIndex:Y,isGradientActive:z}=s.useColorPickerStore(),X=(ae,te,ge)=>{te/=100,ge/=100;const re=Re=>(Re+ae/60)%6,he=Re=>ge*(1-te*Math.max(0,Math.min(re(Re),4-re(Re),1))),oe=Math.round(255*he(5)),xe=Math.round(255*he(3)),fe=Math.round(255*he(1));return{r:oe,g:xe,b:fe}},G=ae=>ae.toString(16).padStart(2,"0"),W=(ae,te,ge,re)=>{const{r:he,g:oe,b:xe}=X(ae,te,ge),fe=Math.round(re/100*255);return`#${G(he)}${G(oe)}${G(xe)}${G(fe)}`},J=(ae,te,ge,re)=>{if(b)if(H===1){m(ae),h(te),f(ge),p(re);const he=W(ae,te,ge,re),oe=W(j,I,q,V),fe=`linear-gradient(${y==="vertical"?"0deg":"90deg"}, ${he} 0%, ${oe} 100%)`;x(fe),g(fe)}else{Q(ae),w(te),$(ge),M(re);const he=W(ae,te,ge,re),oe=W(i,a,o,u),fe=`linear-gradient(${y==="vertical"?"0deg":"90deg"}, ${oe} 0%, ${he} 100%)`;x(fe),g(fe)}else{const he=W(ae,te,ge,re);x(he),g(he)}},S=(ae,te,ge)=>{const{width:re,height:he}=ge.getBoundingClientRect(),oe=Math.max(0,Math.min(ae/re*100,100)),xe=Math.max(0,Math.min(100-te/he*100,100));b?H===1?(h(oe),f(xe),J(i,oe,xe,u)):(w(oe),$(xe),J(j,oe,xe,V)):(h(oe),f(xe),J(i,oe,xe,u))},Ce=ae=>{const{offsetX:te,offsetY:ge}=ae.nativeEvent;d(!0),S(te,ge,ae.currentTarget)},Pe=ae=>{if(c){const te=document.querySelector(`.${ue.colorMap}`),{left:ge,top:re}=te.getBoundingClientRect(),he=ae.clientX-ge,oe=ae.clientY-re;S(he,oe,te)}},R=()=>{d(!1)};k.useEffect(()=>{function ae(re){const he=/linear-gradient\((\d+deg),\s*(#[0-9a-fA-F]{8})\s*0%,\s*(#[0-9a-fA-F]{8})\s*100%\)/,oe=re.match(he);if(oe){const xe=oe[1],fe=oe[2],Re=oe[3];return{angle:xe,col1:fe,col2:Re}}return null}function te(re){const he=parseInt(re.slice(1,3),16),oe=parseInt(re.slice(3,5),16),xe=parseInt(re.slice(5,7),16),fe=parseInt(re.slice(7,9),16)/255*100,{h:Re,s:Dt,b:v}=ge(he,oe,xe);return{h:Re,s:Dt,b:v,a:fe}}function ge(re,he,oe){re/=255,he/=255,oe/=255;const xe=Math.max(re,he,oe),fe=Math.min(re,he,oe);let Re=0;const Dt=xe-fe,v=(xe===0?0:Dt/xe)*100,U=xe*100;if(xe===fe)Re=0;else switch(xe){case re:Re=((he-oe)/Dt+(he<oe?6:0))*60;break;case he:Re=((oe-re)/Dt+2)*60;break;case oe:Re=((re-he)/Dt+4)*60;break}return{h:Re,s:v,b:U}}if(n&&n.startsWith("linear-gradient")){const re=ae(n);if(re){const{angle:he,col1:oe,col2:xe}=re,fe=te(oe),Re=te(xe);A(!0),P(he==="0deg"?"vertical":"horizontal"),m(fe.h),h(fe.s),f(fe.b),p(fe.a),Q(Re.h),w(Re.s),$(Re.b),M(Re.a),Y(1)}}else if(n){const he=function(xe){let fe=xe;return fe.length===7?fe+"ff":fe.length===9?fe:fe.length===4?fe[0]+fe[1].repeat(2)+fe[2].repeat(2)+fe[3].repeat(2)+"ff":"#000000ff"}(n),oe=te(he);A(!1),m(oe.h),h(oe.s),f(oe.b),p(oe.a)}},[n,A,P,m,h,f,p,Q,w,$,M,Y]),k.useEffect(()=>{let ae,te,ge,re;b?H===1?(ae=i,te=a,ge=o,re=u):(ae=j,te=I,ge=q,re=V):(ae=i,te=a,ge=o,re=u),J(ae,te,ge,re)},[b,y,H,i,a,o,u,j,I,q,V]),k.useEffect(()=>{const ae=ge=>Pe(ge),te=()=>R();return c?(document.addEventListener("mousemove",ae),document.addEventListener("mouseup",te)):(document.removeEventListener("mousemove",ae),document.removeEventListener("mouseup",te)),()=>{document.removeEventListener("mousemove",ae),document.removeEventListener("mouseup",te)}},[c,b,y]);function ce(){if(!b)C(t);else{const ae=W(i,a,o,u),te=W(j,I,q,V),re=`linear-gradient(${y==="vertical"?"0deg":"90deg"}, ${ae} 0%, ${te} 100%)`;C(re)}r(!1)}function Ae(){r(!1),x(n)}const ee=b?H===1?i:j:i,De=b?H===1?a:I:a,st=b?H===1?o:q:o,Ot=b?H===1?u:V:u,{r:Rt,g:Gt,b:gr}=X(ee,De,st),ls=`linear-gradient(to right, rgba(${Rt}, ${Gt}, ${gr}, 0), rgba(${Rt}, ${Gt}, ${gr}, 1))`,Er=W(i,a,o,u),Ln=W(j,I,q,V);return s.jsxRuntimeExports.jsxs("div",{className:ue.modal,onClick:ae=>ae.stopPropagation(),style:{top:`${e.top}px`,left:`${e.left}px`},children:[s.jsxRuntimeExports.jsx("h2",{className:ue.title,children:"Color"}),z&&s.jsxRuntimeExports.jsxs("div",{className:ue.colorTypes,children:[s.jsxRuntimeExports.jsxs("div",{className:s.clx(ue.colorType,{[ue.colorTypeActive]:!b}),onClick:()=>A(!1),children:[s.jsxRuntimeExports.jsx("div",{style:{background:"#757575",width:"16px",height:"16px",borderRadius:"50%"}}),"Solid"]}),s.jsxRuntimeExports.jsxs("div",{className:s.clx(ue.colorType,{[ue.colorTypeActive]:b}),onClick:()=>A(!0),children:[s.jsxRuntimeExports.jsx("div",{style:{background:"linear-gradient(to bottom, #757575 0%, #DBDBDB 100%)",width:"16px",height:"16px",borderRadius:"50%"}}),"Linear"]})]}),b&&z&&s.jsxRuntimeExports.jsxs("div",{className:ue.colorsWrapper,children:[s.jsxRuntimeExports.jsx("div",{className:ue.colors,style:{background:`linear-gradient(90deg, ${Er} 0%, ${Ln} 100%)`}}),s.jsxRuntimeExports.jsx("div",{className:s.clx(ue.color,{[ue.colorActive]:H===1}),onClick:()=>Y(1),style:{background:Er}}),s.jsxRuntimeExports.jsx("div",{className:s.clx(ue.color,{[ue.colorActive]:H===2}),onClick:()=>Y(2),style:{background:Ln}})]}),s.jsxRuntimeExports.jsx("div",{className:ue.colorMap,onMouseDown:Ce,style:{background:`
|
|
100
100
|
linear-gradient(to top, black, transparent),
|
|
101
101
|
linear-gradient(to right, hsl(${ee}, 100%, 100%), hsl(${ee}, 100%, 50%))
|
|
102
|
-
`},children:s.jsxRuntimeExports.jsx("div",{className:ue.indicator,style:{position:"absolute",left:`${De}%`,top:`${100-st}%`,transform:"translate(-50%, -50%)"}})}),s.jsxRuntimeExports.jsx("div",{className:ue.hueSlider,style:{bottom:b?"175px":"100px"},children:s.jsxRuntimeExports.jsx("input",{type:"range",min:"0",max:"360",value:ee,onChange:ae=>{const te=Number(ae.target.value);b?H===1?J(te,a,o,u):J(te,N,q,V):(m(te),J(te,a,o,u))},className:ue.slider})}),s.jsxRuntimeExports.jsxs("div",{className:ue.alphaSlider,style:{bottom:b?"150px":"75px"},children:[s.jsxRuntimeExports.jsx("div",{className:ue.alphaBackground}),s.jsxRuntimeExports.jsx("div",{className:ue.alphaGradient,style:{background:ls}}),s.jsxRuntimeExports.jsx("input",{type:"range",min:"0",max:"100",value:Ot,onChange:ae=>{const te=Number(ae.target.value);b?H===1?J(i,a,o,te):J(j,N,q,te):(p(te),J(i,a,o,te))},className:ue.slider})]}),b&&z&&s.jsxRuntimeExports.jsxs("div",{className:ue.gradientWrapper,children:[s.jsxRuntimeExports.jsx("h3",{className:ue.subtitle,children:"Rotation"}),s.jsxRuntimeExports.jsx("div",{className:ue.gradient,children:s.jsxRuntimeExports.jsxs("div",{className:ue.chargeTypes,children:[s.jsxRuntimeExports.jsxs("div",{className:s.clx(ue.charge,{[ue.chargeActive]:y==="horizontal"}),onClick:()=>P("horizontal"),children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"ArrowsHorizontal",width:20,height:20}),"Horizontal"]}),s.jsxRuntimeExports.jsxs("div",{className:s.clx(ue.charge,{[ue.chargeActive]:y==="vertical"}),onClick:()=>P("vertical"),children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"ArrowsVertical",width:20,height:20}),"Vertical"]})]})})]}),s.jsxRuntimeExports.jsxs("div",{className:ue.buttons,children:[s.jsxRuntimeExports.jsx(s.Button,{onClick:Ae,className:s.clx(ue.applyButton,ue.cancelButton),type:"Secondary",children:"Cancel"}),s.jsxRuntimeExports.jsx(s.Button,{onClick:ce,className:ue.applyButton,children:"Apply"})]})]})},f0=()=>{const{onPreview:e,zoomLevel:t}=s.usePreviewStore(),{keyBlock:n,hoverBlockId:r,isModalVisible:i,hoverBlockTopPosition:a}=s.useSubmodalStore(),{settings:o}=s.useSettingsStore(),{sourceBlocks:u}=s.useBlocksStore(),{pageContext:c}=s.usePagesStore(),{showModal:d}=s.useColorPickerStore(),{currentDevice:m}=s.useDeviceStore(),{isLoadingThemeSettings:h}=s.useThemeSettingsStore(),{isLoadingLayers:f}=s.useLayersStore(),p=y=>y?!u||!u[y]?s.jsxRuntimeExports.jsx(s.ErrorableBlock,{error:`Block "${y}" does not exist in blocks.`}):new u[y]().renderPreview(o,c):s.jsxRuntimeExports.jsx(s.ErrorableBlock,{error:"Block or block.name is undefined."});function x(){if(m.value==="desktop")return t>=1?"100%":`${(t*100).toFixed(2)}%`;{const y=m.value==="tablet"?768:425;return t>=1?`${y}px`:`${(y*t).toFixed(2)}px`}}function g(){switch(m.value){case"desktop":return"100%";case"tablet":return 768;case"mobile":return 425;default:return"100%"}}const{isOpenSelectModal:C}=s.usePagesStore(),b=k.useRef(null),A=y=>{b.current&&(b.current.scrollTop+=y.deltaY)};return s.jsxRuntimeExports.jsxs("div",{className:Mn.preview,style:{zIndex:d&&!C?5e3:500},onWheel:y=>{y.stopPropagation(),A(y)},children:[i&&s.jsxRuntimeExports.jsx(Md,{children:s.jsxRuntimeExports.jsx(po,{})}),s.jsxRuntimeExports.jsxs(Dd,{positionTop:a,positionLeft:!r&&n?void 0:250,children:[!h&&!f&&s.jsxRuntimeExports.jsx(s.RenderBlock,{render:p,block:n},n),(h||!n||f)&&s.jsxRuntimeExports.jsx("div",{className:Mn.previewLoading,children:s.jsxRuntimeExports.jsx(Vt,{})})]}),d&&s.jsxRuntimeExports.jsx(p0,{}),e&&s.jsxRuntimeExports.jsxs("div",{className:Mn.main,style:{width:g()},children:[s.jsxRuntimeExports.jsx(Nd,{}),s.jsxRuntimeExports.jsx("div",{style:{borderLeft:x()==="100%"?"none":"var(--default-border)",borderRight:x()==="100%"?"none":"var(--default-border)",width:"100%",display:"flex",flexDirection:"column",alignItems:"center",height:"calc(100vh - 160px)",overflowY:"scroll",overflowX:"hidden"},onScroll:y=>{y.stopPropagation()},onWheel:y=>{y.stopPropagation()},children:!h&&!f?s.jsxRuntimeExports.jsx("div",{className:Mn.content,style:{width:x()},children:s.jsxRuntimeExports.jsx(s.PreviewContent,{scrollableRef:b})}):s.jsxRuntimeExports.jsx("div",{className:Mn.loading,children:s.jsxRuntimeExports.jsx(Vt,{})})})]})]})},x0="_sidebar_1xtkj_1",g0="_title_1xtkj_11",Ui={sidebar:x0,title:g0},E0="_layers_1jhzw_1",b0="_wrapper_1jhzw_9",_0="_draggingWrapper_1jhzw_17",T0="_block_1jhzw_21",C0="_dragging_1jhzw_17",S0="_active_1jhzw_56",y0="_add_1jhzw_63",R0="_addTop_1jhzw_79",k0="_visible_1jhzw_95",A0="_button_1jhzw_99",N0="_nameBlock_1jhzw_158",I0="_loader_1jhzw_162",w0="_actions_1jhzw_171",j0="_deleteButton_1jhzw_179",Me={layers:E0,wrapper:b0,draggingWrapper:_0,block:T0,dragging:C0,active:S0,add:y0,addTop:R0,visible:k0,button:A0,nameBlock:N0,loader:I0,actions:w0,deleteButton:j0},L0="_block_sj4cc_1",v0="_title_sj4cc_17",P0="_actions_sj4cc_21",Qt={block:L0,title:v0,actions:P0},xs={header:"Header",footer:"Footer",announcement:"Announcement"},gs=({id:e})=>{const{setCurrentBlock:t}=s.useLayersStore(),{activeBlock:n}=s.usePreviewStore(),[r,i]=k.useState(!1);function a(o){t(o)}return s.jsxRuntimeExports.jsxs("div",{className:s.clx(Qt.block,{[Qt.active]:n.id===e,[Qt.header]:e==="header",[Qt.footer]:e==="footer",[Qt.announcement]:e==="announcement"}),onClick:()=>a(e),onMouseOver:()=>i(!0),onMouseLeave:()=>i(!1),children:[nr[xs[e]]?s.jsxRuntimeExports.jsx("img",{src:nr[xs[e]],width:20,height:20}):s.jsxRuntimeExports.jsx(s.Icon,{name:"Cards",width:20,height:20}),s.jsxRuntimeExports.jsx("span",{className:Qt.title,children:xs[e]}),s.jsxRuntimeExports.jsx("div",{className:Qt.actions,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"PushPin",hoverable:!0,width:20,height:20,fill:"#757575"})})]})},O0=({id:e,name:t,onClick:n,isDragging:r,icon:i})=>{const{activeBlock:a,setActiveBlock:o}=s.usePreviewStore(),{showPreview:u,hidePreview:c,showModal:d,hideModal:m,clearHideTimeout:h,startHideTimeout:f,hoverBlockId:p,isModalVisible:x}=s.useSubmodalStore(),{setPositionBlock:g}=s.useLayersStore(),[C,b]=k.useState(!1),[A,y]=k.useState(!1),[P,j]=k.useState(!1),[N,q]=k.useState(!1),[V,Q]=k.useState(null),w=k.useRef(null),{attributes:$,listeners:M,setNodeRef:H,transform:Y,transition:z}=s.useSortable({id:e}),X={transform:s.CSS.Transform.toString(Y),transition:z},{setTitle:G,setDescription:W,setOnConfirm:J}=s.useConfirmationModalStore(),{pages:S,currentPage:Ce}=s.usePagesStore(),{removeBlock:Pe}=s.useLayersStore(),R=ee=>{ee.stopPropagation(),w.current&&clearTimeout(w.current),o({id:e,neededScroll:!0}),x&&m(),u(e),h()},ce=(ee,De=!0)=>{ee.stopPropagation(),c(),d(e),h(),g(e,De)},Ae=ee=>{ee.stopPropagation(),o({id:null,neededScroll:!1}),x?f():c()};return k.useEffect(()=>{j(!1),b(!1),y(!1),q(!1)},[r]),k.useEffect(()=>{x||(y(!1),b(!1))},[x]),s.jsxRuntimeExports.jsxs("div",{ref:H,style:X,className:s.clx(Me.wrapper,{[Me.draggingWrapper]:r&&a.id===e}),onClick:ee=>{ee.stopPropagation(),n(e)},onMouseEnter:R,onMouseLeave:Ae,...$,...M,children:[s.jsxRuntimeExports.jsxs("div",{className:s.clx(Me.block,{[Me.dragging]:r&&a.id===e,[Me.active]:!r&&a.id===e}),children:[i?s.jsxRuntimeExports.jsx("img",{src:i,width:20,height:20}):s.jsxRuntimeExports.jsx(s.Icon,{name:"Cards",width:20,height:20}),s.jsxRuntimeExports.jsx("span",{className:Me.nameBlock,children:t}),p===e&&!r&&s.jsxRuntimeExports.jsx("div",{className:s.clx(Me.addTop,{[Me.visible]:A}),onMouseEnter:()=>{y(!0)},onMouseLeave:()=>{y(!1)},children:s.jsxRuntimeExports.jsxs("button",{className:Me.button,onClick:ee=>ce(ee,!1),onMouseEnter:()=>{const ee=setTimeout(()=>{r||q(!0)},200);Q(ee)},onMouseLeave:()=>{V&&clearTimeout(V),q(!1)},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Plus",fill:"#fff"}),N&&s.jsxRuntimeExports.jsx(Tn,{text:"Click to add a section"})]})}),p===e&&!r&&s.jsxRuntimeExports.jsx("div",{className:s.clx(Me.add,{[Me.visible]:C}),onMouseEnter:()=>{b(!0)},onMouseLeave:()=>{b(!1)},children:s.jsxRuntimeExports.jsxs("button",{className:Me.button,onClick:ee=>ce(ee),onMouseEnter:()=>{const ee=setTimeout(()=>{r||j(!0)},200);Q(ee)},onMouseLeave:()=>{V&&clearTimeout(V),j(!1)},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Plus",fill:"#fff"}),P&&s.jsxRuntimeExports.jsx(Tn,{text:"Click to add a section"})]})})]}),p===e&&!r&&s.jsxRuntimeExports.jsxs("div",{className:Me.actions,children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"DotsSixVertical",hoverable:!0,width:20,height:20}),s.jsxRuntimeExports.jsx("div",{className:Me.deleteButton,onClick:ee=>{ee.stopPropagation(),G("Remove Block"),W(`Are you sure you want to delete ${t||"this"} block? Once you delete this block, any content visible will also be deleted. This is irreversible.`),J(()=>{S&&Pe(S[Ce].path,e)})},children:s.jsxRuntimeExports.jsx(s.Icon,{name:"Trash",fill:"#C12A2A",hoverable:!0,width:20,height:20})})]})]})},D0=()=>{const{blocks:e,setCurrentBlock:t,currentBlock:n,moveBlock:r,isLoadingLayers:i,announcement:a}=s.useLayersStore(),{currentPage:o,pages:u}=s.usePagesStore(),{setMouseOverModal:c,setHoverBlockId:d}=s.useSubmodalStore(),{sourceBlocks:m}=s.useBlocksStore();function h(b){t(b),c(!1),d(null)}const f=s.useSensors(s.useSensor(s.PointerSensor,{activationConstraint:{distance:5}})),[p,x]=k.useState(!1),g=()=>{x(!0)},C=b=>{x(!1);const{active:A,over:y}=b;if(y&&A.id!==y.id&&u&&u[o]){const P=u[o].path,j=e[P].order,N=j.indexOf(A.id),q=j.indexOf(y.id);N!==-1&&q!==-1&&r(P,N,q)}};return s.jsxRuntimeExports.jsx("div",{className:Me.layers,children:i?s.jsxRuntimeExports.jsx("div",{className:Me.loader,children:s.jsxRuntimeExports.jsx(Vt,{})}):s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[a&&s.jsxRuntimeExports.jsx(gs,{id:"announcement"}),s.jsxRuntimeExports.jsx(gs,{id:"header"}),!n&&s.jsxRuntimeExports.jsx(s.DndContext,{sensors:f,onDragEnd:C,onDragStart:g,children:u&&u[o]&&e[u[o].path]&&s.jsxRuntimeExports.jsx(s.SortableContext,{items:e[u[o].path].order,strategy:s.verticalListSortingStrategy,children:e[u[o].path].order.map((b,A)=>s.jsxRuntimeExports.jsx(O0,{id:b,name:s.getDisplayName(e[u[o].path].data[b].name,m),index:A,onClick:h,isDragging:p,icon:nr[e[u[o].path].data[b].name]},b))})}),s.jsxRuntimeExports.jsx(gs,{id:"footer"})]})})},M0="_loader_eyvkk_1",B0={loader:M0},F0=()=>{const{isLoadingSettings:e}=s.useSettingsStore();return e?s.jsxRuntimeExports.jsx("div",{className:B0.loader,children:s.jsxRuntimeExports.jsx(Vt,{})}):s.jsxRuntimeExports.jsx(H0,{})},H0=()=>{const{settings:e}=s.useSettingsStore(),{settings:t,setSettingsInstance:n}=s.useBlocksStore();if(!e)return null;const{setError:r}=s.useErrorStore(),i=new t(e.blockSettings);k.useEffect(()=>{n(i)},[e]);try{return i.renderSettings()}catch(a){throw console.error("Error rendering settings:",a),r({message:"Error rendering settings",failedPageIds:[],failedThemeSettings:!1,failedSettings:!0}),a}},U0="_theme_a1one_1",$0="_block_a1one_8",z0="_name_a1one_23",W0="_loader_a1one_27",Tr={theme:U0,block:$0,name:z0,loader:W0},q0=()=>{const e=s.useNavigate(),{isLoadingThemeSettings:t,setActiveBlock:n}=s.useThemeSettingsStore();function r(i){switch(i==null?void 0:i.name){case"Colors":e("/admin/builder/theme/colors"),n(dt[0]);break;case"Fonts":e("/admin/builder/theme/fonts"),n(dt[1]);break;case"Borders":e("/admin/builder/theme/borders"),n(dt[2]);break;case"Buttons":e("/admin/builder/theme/buttons"),n(dt[3]);break;case"Inputs":e("/admin/builder/theme/inputs"),n(dt[4]);break}}return s.jsxRuntimeExports.jsx("div",{className:Tr.theme,children:t?s.jsxRuntimeExports.jsx("div",{className:Tr.loader,children:s.jsxRuntimeExports.jsx(Vt,{})}):dt.map(i=>s.jsxRuntimeExports.jsxs("div",{onClick:()=>r(i),className:s.clx(Tr.block),children:[s.jsxRuntimeExports.jsx(s.Icon,{name:i.icon}),s.jsxRuntimeExports.jsx("span",{className:Tr.name,children:i.name}),s.jsxRuntimeExports.jsx(s.Icon,{name:"CaretRight"})]},i.icon))})},V0="_render_7e826_9",Y0="_open_7e826_24",G0="_close_7e826_51",X0="_clicked_7e826_55",Q0="_loading_7e826_72",K0="_settings_7e826_76",dn={render:V0,open:Y0,close:G0,clicked:X0,loading:Q0,settings:K0},Z0=({block:e})=>{const{pageContext:t}=s.usePagesStore(),{setError:n}=s.useErrorStore();try{return e.renderSettings(t)}catch(r){throw console.error("Error rendering settings:",r),n({message:"Error rendering block settings",failedPageIds:[],failedThemeSettings:!1,failedSettings:!0}),r}},J0="_wrapper_15ju8_1",eh="_header_15ju8_8",th="_title_15ju8_15",nh="_colorWrapper_15ju8_21",rh="_name_15ju8_35",sh="_color_15ju8_21",ih="_value_15ju8_47",ah="_length_15ju8_51",et={wrapper:J0,header:eh,title:th,colorWrapper:nh,name:rh,color:sh,value:ih,length:ah},oh=e=>{const{colors:t}=e,{themeSettings:n}=s.useThemeSettingsStore(),[r,i]=k.useState(!0);k.useEffect(()=>{t.length<=3&&i(!0)},[]);function a(o){const u=o.replace("--",""),[c,d]=u.split("-"),m=`${d.charAt(0).toUpperCase()+d.slice(1)} ${c.charAt(0).toUpperCase()+c.slice(1)}`,[h,f]=u.split("-");return{name:m,field:h,variable:f}}return s.jsxRuntimeExports.jsxs("div",{className:et.wrapper,children:[s.jsxRuntimeExports.jsxs("div",{className:et.header,children:[s.jsxRuntimeExports.jsx("div",{className:et.title,children:"Section Colors"}),!r&&s.jsxRuntimeExports.jsxs("div",{className:s.clx(et.value,et.length),onClick:()=>i(!0),children:["+",t.length]})]}),r&&s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx("div",{className:et.colors,children:t.map(o=>{const u=a(o),{variable:c,name:d,field:m}=u;return s.jsxRuntimeExports.jsx(uh,{color:n.colors[m][c],name:d})})}),t.length>3&&s.jsxRuntimeExports.jsxs("div",{className:s.clx(et.value,et.length),onClick:()=>i(!1),children:["Hide ",t.length," colors"]})]})]})},uh=e=>{const{name:t,color:n}=e,{setActiveLabel:r,setModalPosition:i,setInitialColor:a,setShowModal:o,setUpdate:u,setColor:c,setColorChange:d,colorChange:m,setIsGradientActive:h}=s.useColorPickerStore(),{updateColor:f}=s.useThemeSettingsStore(),p=(C,b)=>A=>{f(C,b,A)};k.useEffect(()=>{const C=()=>{o(!1),r(null),a(n),u(()=>{}),c(n),d(()=>{})};return document.body.addEventListener("click",C),()=>{document.body.removeEventListener("click",C)}},[]);const x=C=>{const b=t.split("/")[0],A=b.split(" ")[0].toLowerCase(),y=b.split(" ")[1].toLowerCase();C.stopPropagation(),o(!0),d(m),u(N=>p(y,A)(N)),a(n),c(n),h(y==="surface");const{top:P,left:j}=mo(C,550,288,10,20,230,80);i({top:y==="surface"?P:P+125,left:j-200})};function g(C){return C.length>15?C.slice(0,15)+"...":C}return s.jsxRuntimeExports.jsxs("div",{className:et.colorWrapper,onClick:x,children:[s.jsxRuntimeExports.jsx("div",{className:et.color,style:{background:n}}),s.jsxRuntimeExports.jsx("div",{className:et.name,children:t}),s.jsxRuntimeExports.jsx("div",{className:et.value,children:g(n)})]})},lh="_back_1sznl_1",ch="_title_1sznl_9",dh="_deleteButton_1sznl_17",hh="_backIcon_1sznl_30",Cr={back:lh,title:ch,deleteButton:dh,backIcon:hh},mh=({onClick:e,setIsClicked:t,getDisplayName:n})=>{var f,p;const{activeBlock:r}=s.useBlocksStore(),{setTitle:i,setDescription:a,setOnConfirm:o}=s.useConfirmationModalStore(),{blocks:u,currentBlock:c,removeBlock:d}=s.useLayersStore(),{currentPage:m,pages:h}=s.usePagesStore();return s.jsxRuntimeExports.jsxs("div",{className:Cr.back,children:[s.jsxRuntimeExports.jsx("div",{className:Cr.backIcon,onClick:()=>e(),children:s.jsxRuntimeExports.jsx(s.Icon,{name:"CaretLeft",hoverable:!0,width:20,height:20})}),s.jsxRuntimeExports.jsx("h3",{className:Cr.title,children:r&&n(r)||h&&h[m]&&u[h[m].path]&&c&&n((f=u[h[m].path].data[c])==null?void 0:f.name)||c&&Ct(c)||"Loading"}),c&&h&&!["header","footer","announcement"].includes(c)&&u[h[m].path].data[c]&&n((p=u[h[m].path].data[c])==null?void 0:p.name)!=="unknown name"&&s.jsxRuntimeExports.jsx("button",{onClick:x=>{var g;x.stopPropagation(),i("Remove Block"),a(`Are you sure you want to delete ${n((g=u[h[m].path].data[c])==null?void 0:g.name)||"this"} block? Once you delete this block, any content visible will also be deleted. This is irreversible.`),o(()=>{t(!0),d(h[m].path,c),e(!0)})},className:Cr.deleteButton,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"Trash",hoverable:!0,width:20,height:20,fill:"#C12A2A"})})]})},ph=()=>{const e=s.useNavigate(),[t,n]=k.useState(!1),{header:r,footer:i,announcement:a,sourceBlocks:o,activeBlock:u,setActiveBlock:c,currentInstance:d,setCurrentInstance:m}=s.useBlocksStore(),{setActiveBlock:h}=s.usePreviewStore(),{blocks:f,addBlock:p,editBlock:x,currentBlock:g,setCurrentBlock:C,header:b,footer:A,announcement:y,isLoadingLayers:P}=s.useLayersStore(),{currentPage:j,pages:N}=s.usePagesStore(),{past:q,future:V}=s.useHistoryStore();function Q(M=!1){if(N&&d&&g&&!["header","footer","announcement"].includes(g)&&!M){const H={blockSettings:{}};Object.keys(d.blockSettings).filter(Y=>!["displayName","isAddable"].includes(Y)).map(Y=>{H.blockSettings[Y]=d.blockSettings[Y]}),x(N[j].path,g,{name:f[N[j].path].data[g].name,value:H})}c(null),C(null),h({id:null,neededScroll:!1}),setTimeout(()=>{n(!1)},150),m(null)}function w(M){var X;if(!N||!j||!M)return null;if(M==="header"){const G=new r;return Object.keys(G.blockSettings).forEach(W=>{G.blockSettings[W]=b==null?void 0:b.blockSettings[W]}),Object.keys(G.blockColors).forEach(W=>{G.blockColors[W]=b==null?void 0:b.blockColors[W]}),G}if(M==="footer"){const G=new i;return Object.keys(G.blockSettings).forEach(W=>{G.blockSettings[W]=A==null?void 0:A.blockSettings[W]}),Object.keys(G.blockColors).forEach(W=>{G.blockColors[W]=A==null?void 0:A.blockColors[W]}),G}if(M==="announcement"){const G=new a;return Object.keys(G.blockSettings).forEach(W=>{G.blockSettings[W]=y==null?void 0:y.blockSettings[W]}),Object.keys(G.blockColors).forEach(W=>{G.blockColors[W]=y==null?void 0:y.blockColors[W]}),G}const H=f[N[j].path];if(!H||!H.data[M])return null;const Y=H.data[M];return!Y||!o[Y.name]?null:new o[Y.name]((X=Y.value)==null?void 0:X.blockSettings)}k.useEffect(()=>{if(g){const M=w(g);m(M)}else m(null)},[g,q,V,u]),k.useEffect(()=>{if(u&&N&&!g){const M={blockSettings:{},blockColors:{}},H=new o[u];m(H),Object.keys(H.blockSettings).filter(z=>!["displayName","isAddable"].includes(z)).map(z=>{M.blockSettings[z]=H.blockSettings[z]}),Object.keys(H.blockColors).filter(z=>!["displayName","isAddable"].includes(z)).map(z=>{M.blockColors[z]=H.blockColors[z]});const Y=p(N[j].path,{name:u,value:M});h({id:Y,neededScroll:!0}),C(Y),e("/admin/builder")}},[u,q,V]);function $(M){if(!o)return"unknown name";if(!o[M])return g==="header"?b==null?void 0:b.blockSettings.displayName:g==="footer"?A==null?void 0:A.blockSettings.displayName:g==="announcement"?y==null?void 0:y.blockSettings.displayName:"unknown name";const H=new o[M];return!H.blockSettings||!H.blockSettings.displayName?"unknown name":H.blockSettings.displayName}return s.jsxRuntimeExports.jsxs("div",{className:s.clx(dn.render,{[dn.open]:g,[dn.close]:!g,[dn.clicked]:t}),onClick:M=>M.stopPropagation(),style:{opacity:P?0:1},children:[s.jsxRuntimeExports.jsx(mh,{onClick:Q,setIsClicked:n,getDisplayName:$}),s.jsxRuntimeExports.jsxs("div",{className:dn.settings,children:[d&&s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(Z0,{block:d}),s.jsxRuntimeExports.jsx(oh,{colors:d.blockColors})]}),!u&&!g&&s.jsxRuntimeExports.jsx("div",{className:dn.loading,children:"Loading"})]})]})},fh="_header_9rrfr_1",xh="_title_9rrfr_9",gh="_backIcon_9rrfr_15",Es={header:fh,title:xh,backIcon:gh},or=({onClick:e,title:t})=>s.jsxRuntimeExports.jsxs("div",{className:Es.header,children:[s.jsxRuntimeExports.jsx("div",{className:Es.backIcon,onClick:e,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"CaretLeft",hoverable:!0,width:20,height:20})}),s.jsxRuntimeExports.jsx("span",{className:Es.title,children:t})]}),Eh="_options_ymds7_1",bh={options:Eh},_h="_wrapper_kzokw_1",Th="_open_kzokw_16",Ch="_close_kzokw_20",bs={wrapper:_h,open:Th,close:Ch},ur=e=>{const{isOpen:t,isClose:n,children:r}=e;return s.jsxRuntimeExports.jsx("div",{className:s.clx(bs.wrapper,{[bs.open]:t,[bs.close]:n}),children:r})},Sh=()=>{var d,m;const{activeBlock:e,themeSettings:t,updateBorder:n,setActiveBlock:r}=s.useThemeSettingsStore();function i(h,f){n(f,h)}const a=s.useNavigate();function o(){r(null),a("/admin/builder/theme")}const u=k.useMemo(()=>t.borders,[t]),c=(e==null?void 0:e.name)==="Borders";return s.jsxRuntimeExports.jsxs(ur,{isOpen:c,isClose:!c,children:[s.jsxRuntimeExports.jsx(or,{onClick:o,title:"Borders Style"}),s.jsxRuntimeExports.jsxs("div",{className:bh.options,children:[s.jsxRuntimeExports.jsx(s.Select,{label:"Border Radius (px)",options:Object.keys(cs),value:((d=Object.entries(cs).find(([h,f])=>f===u.radius))==null?void 0:d[0])||"None",onChange:h=>i(cs[h],"radius")}),s.jsxRuntimeExports.jsx(s.Select,{label:"Border Thickness (px)",options:Object.keys(ds),value:((m=Object.entries(ds).find(([h,f])=>f===u.thickness))==null?void 0:m[0])||"None",onChange:h=>i(ds[h],"thickness")})]})]})},yh="_options_jo38w_1",Rh="_alignments_jo38w_9",kh="_blocks_jo38w_15",Ah="_alignment_jo38w_9",Nh="_active_jo38w_34",Ih="_chargeTypes_jo38w_41",wh="_charge_jo38w_41",jh="_chargeActive_jo38w_69",Lh="_sliderContainer_jo38w_83",vh="_shadowInputs_jo38w_91",Ph="_label_jo38w_102",Oh="_shadowInputsRow_jo38w_111",Dh="_shadowInputsOpen_jo38w_119",We={options:yh,alignments:Rh,blocks:kh,alignment:Ah,active:Nh,chargeTypes:Ih,charge:wh,chargeActive:jh,sliderContainer:Lh,shadowInputs:vh,label:Ph,shadowInputsRow:Oh,shadowInputsOpen:Dh};function _s(e){return(e.includes("linear-gradient")||e.includes("radial-gradient"))&&/^linear-gradient\(\d+deg,\s*#[A-Fa-f0-9]{8}\s+\d+%,\s*#[A-Fa-f0-9]{8}\s+\d+%\)$/.test(e)?!0:/^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/.test(e)}const ht=e=>{const{initialColor:t,onChange:n,title:r,labelStyle:i="primary",isGradientActive:a=!0}=e,[o,u]=k.useState(t);k.useEffect(()=>{u(t)},[t]);const{setActiveLabel:c,setModalPosition:d,setInitialColor:m,setShowModal:h,setUpdate:f,setColor:p,setColorChange:x,setIsGradientActive:g,colorChange:C}=s.useColorPickerStore();k.useEffect(()=>{const P=()=>{h(!1),c(null),m(t),f(()=>{}),p(t),x(()=>{})};return document.body.addEventListener("click",P),()=>{document.body.removeEventListener("click",P)}},[t]);const b=P=>{P.stopPropagation(),h(!0),x(u),f(n),m(t),p(o),g(a);const{top:j,left:N}=mo(P,600,288,10,20,230,80);d({top:j,left:N})},A=P=>{const j=P.target.value;u(j),_s(j)&&(n(j),p(j),x(C))},y=()=>{_s(o)||u(t)};return s.jsxRuntimeExports.jsxs("div",{className:ue.content,children:[s.jsxRuntimeExports.jsx("span",{className:s.clx(ue.name,{[ue.secondary]:i==="secondary"}),children:r}),s.jsxRuntimeExports.jsxs("label",{className:ue.label,onClick:P=>P.stopPropagation(),children:[s.jsxRuntimeExports.jsx("div",{className:ue.colorValue,style:{background:_s(o)?o:t},onClick:b}),s.jsxRuntimeExports.jsx("input",{type:"text",value:o.includes("linear-gradient")?o:o.toUpperCase(),onChange:A,onBlur:y,className:ue.input,style:{textTransform:o.includes("linear-gradient")?"none":"uppercase"}})]})]})},Mh=["left","center","right"],Bh=()=>{const{activeBlock:e,themeSettings:t,updateButton:n,setActiveBlock:r}=s.useThemeSettingsStore(),{fonts:i}=s.useFontsStore(),[a,o]=k.useState("primary");function u(g,C){n(a,C,g)}const[c,d]=k.useState(!1),m=t.buttons[a],h=s.useNavigate();function f(){r(null),h("/admin/builder/theme")}const p=(e==null?void 0:e.name)==="Buttons";function x(g,C){u({...m.boxShadow,[g]:C},"boxShadow")}return s.jsxRuntimeExports.jsxs(ur,{isOpen:p,isClose:!p,children:[s.jsxRuntimeExports.jsx(or,{onClick:f,title:"Buttons Style"}),s.jsxRuntimeExports.jsx("div",{className:We.chargeTypes,style:{marginBottom:"10px"},children:["primary","secondary","tertiary"].map(g=>s.jsxRuntimeExports.jsx("div",{className:s.clx(We.charge,{[We.chargeActive]:a===g}),onClick:()=>o(g),children:g.charAt(0).toUpperCase()+g.slice(1)},g))}),m&&s.jsxRuntimeExports.jsxs("div",{className:We.options,children:[s.jsxRuntimeExports.jsx(s.Input,{label:"Height (px)",value:String(m.height),onChange:g=>u(Number(g),"height"),type:"number",min:0}),s.jsxRuntimeExports.jsx(s.Select,{label:"Font Size (px)",value:String(m.size),onChange:g=>u(Number(g),"size"),options:zr}),s.jsxRuntimeExports.jsx(s.Input,{label:"Border Radius (px)",value:String(m.radius),onChange:g=>u(Number(g),"radius"),type:"number",min:0}),s.jsxRuntimeExports.jsx(s.Select,{label:"Font",value:m.font,onChange:g=>u(g,"font"),options:[...i.filter(g=>g.name!==m.font).map(g=>g.name)]}),s.jsxRuntimeExports.jsx(ht,{initialColor:m.color,onChange:g=>u(g,"color"),title:"Text Color",labelStyle:"secondary",isGradientActive:!1}),s.jsxRuntimeExports.jsx(ht,{initialColor:m.background,onChange:g=>u(g,"background"),title:"Background Color",labelStyle:"secondary",isGradientActive:!0}),s.jsxRuntimeExports.jsxs("div",{className:We.sliderContainer,children:[s.jsxRuntimeExports.jsx("h4",{className:We.label,children:"Shadow"}),s.jsxRuntimeExports.jsx(s.Button,{type:"Secondary",onClick:()=>d(!c),style:{padding:5,display:"flex"},children:s.jsxRuntimeExports.jsx(s.Icon,{name:"CaretUp",style:{rotate:c?"0deg":"-180deg",transition:"0.3s rotate ease"}})})]}),s.jsxRuntimeExports.jsxs("div",{className:s.clx(We.shadowInputs,{[We.shadowInputsOpen]:c}),children:[s.jsxRuntimeExports.jsxs("div",{className:We.shadowInputsRow,children:[s.jsxRuntimeExports.jsx(s.Input,{label:"Left (px)",value:String(m.boxShadow.left),onChange:g=>x("left",Number(g)),type:"number"}),s.jsxRuntimeExports.jsx(s.Input,{label:"Top (px)",value:String(m.boxShadow.top),onChange:g=>x("top",Number(g)),type:"number"}),s.jsxRuntimeExports.jsx(s.Input,{label:"Blur (px)",value:String(m.boxShadow.blur),onChange:g=>x("blur",Number(g)),type:"number"}),s.jsxRuntimeExports.jsx("div",{style:{flex:1,whiteSpace:"nowrap"},children:s.jsxRuntimeExports.jsx(s.Input,{label:"Spread (px)",value:String(m.boxShadow.spread),onChange:g=>x("spread",Number(g)),type:"number"})})]}),s.jsxRuntimeExports.jsx(ht,{initialColor:m.boxShadow.color,onChange:g=>x("color",g),title:"Color",labelStyle:"secondary",isGradientActive:!1})]}),s.jsxRuntimeExports.jsxs("div",{className:We.alignments,children:[s.jsxRuntimeExports.jsx("h4",{className:We.label,children:"Alignment Type"}),s.jsxRuntimeExports.jsx("div",{className:We.blocks,children:Mh.map(g=>s.jsxRuntimeExports.jsx("div",{className:s.clx(We.alignment,{[We.active]:m.alignment===g}),onClick:()=>{u(g,"alignment")},children:s.jsxRuntimeExports.jsx(s.Icon,{name:g==="center"?"AlignCenterHorizontal":g==="left"?"AlignLeft":"AlignRight",fill:m.alignment===g?"#252525":"#757575"})},g))})]}),s.jsxRuntimeExports.jsx(s.Switch,{label:"Enable Hover",onChange:g=>u(g,"hover"),current:m.hover}),m.hover&&s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(ht,{initialColor:m.colorHover,onChange:g=>u(g,"colorHover"),title:"Hover Text Color",labelStyle:"secondary",isGradientActive:!1}),s.jsxRuntimeExports.jsx(ht,{initialColor:m.backgroundHover,onChange:g=>u(g,"backgroundHover"),title:"Hover Background Color",labelStyle:"secondary",isGradientActive:!0})]})]})]})},Fh="_category_hxy9u_1",Hh="_categoryTitle_hxy9u_19",Ts={category:Fh,categoryTitle:Hh},Uh=()=>{const{themeSettings:e,setActiveColorCategory:t}=s.useThemeSettingsStore();function n(r){t(r)}return s.jsxRuntimeExports.jsx("div",{className:Ts.wrapper,children:Object.keys(e.colors).map(r=>r==="icon"?s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{}):s.jsxRuntimeExports.jsxs("div",{className:Ts.category,onClick:()=>n(r),children:[s.jsxRuntimeExports.jsxs("h2",{className:Ts.categoryTitle,children:[r==="text"?"Text & Icon":Ct(r)," Colors"]}),s.jsxRuntimeExports.jsx(s.Icon,{name:"CaretRight",width:24,height:24})]},r))})},$h="_options_ikvjo_38",zh={options:$h},Wh=()=>{const{activeBlock:e,setActiveFont:t,activeFont:n,themeSettings:r,updateFont:i}=s.useThemeSettingsStore(),{fonts:a}=s.useFontsStore(),[o,u]=k.useState(null);function c(){t(null)}function d(g,C){o&&n&&i("desktop",o,n,C,g)}const[m,h]=k.useState([]),f=k.useMemo(()=>n?r.fonts.desktop.heading[n]?(u("heading"),r.fonts.desktop.heading[n]):r.fonts.desktop.body[n]?(u("body"),r.fonts.desktop.body[n]):(u(null),null):null,[n,r]);k.useEffect(()=>{if(f){const g=a.find(C=>C.name===f.font);g&&(h(g.weights),g.weights.includes(f.boldWeight)||d("400","boldWeight"),g.weights.includes(f.weight)||d("400","weight"))}},[f,n]);const p=!!((e==null?void 0:e.name)==="Fonts"&&n),x=(e==null?void 0:e.name)!=="Fonts"||!n;return s.jsxRuntimeExports.jsxs(ur,{isOpen:p,isClose:x,children:[s.jsxRuntimeExports.jsx(or,{onClick:c,title:"Font Style"}),n&&f&&s.jsxRuntimeExports.jsxs("div",{className:zh.options,children:[s.jsxRuntimeExports.jsx(s.Select,{label:"Font",value:f.font,onChange:g=>d(g,"font"),options:[...a.filter(g=>g.name!==f.font).map(g=>g.name)]}),s.jsxRuntimeExports.jsx(s.Select,{label:"Size",value:String(f.size),onChange:g=>d(g,"size"),options:zr}),s.jsxRuntimeExports.jsx(s.Select,{label:"Default Weight",value:String(f.weight),onChange:g=>d(g,"weight"),options:m}),s.jsxRuntimeExports.jsx(s.Select,{label:"Bold Weight",value:String(f.boldWeight),onChange:g=>d(g,"boldWeight"),options:m}),s.jsxRuntimeExports.jsx(s.Select,{label:"Case",value:String(f.case).charAt(0).toUpperCase()+String(f.case).slice(1),onChange:g=>d(g.toLowerCase(),"case"),options:["Normal","Uppercase","Lowercase","Capitalize"].filter(g=>g.toLowerCase()!==String(f.case))})]})]})},qh="_wrapper_mkmxa_1",Vh="_category_mkmxa_5",Yh="_categoryTitle_mkmxa_11",Gh="_font_mkmxa_17",Xh="_content_mkmxa_32",Qh="_icon_mkmxa_39",Kh="_paragraph_mkmxa_50",jt={wrapper:qh,category:Vh,categoryTitle:Yh,font:Gh,content:Xh,icon:Qh,paragraph:Kh},Zh={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",h7:"h7",lg:"large",md:"medium",sm:"small"},Jh=e=>{const{font:t,size:n,id:r,category:i}=e,{setActiveFont:a}=s.useThemeSettingsStore();return s.jsxRuntimeExports.jsxs("div",{className:jt.font,onClick:()=>a(r),children:[s.jsxRuntimeExports.jsx("div",{className:s.clx(jt.icon,{[jt.paragraph]:i==="paragraph"}),children:s.jsxRuntimeExports.jsx(s.Icon,{name:i==="paragraph"?"TextB":"TextH"})}),s.jsxRuntimeExports.jsxs("div",{className:jt.content,children:[s.jsxRuntimeExports.jsx("h2",{className:jt.categoryTitle,children:Ct(Zh[r])}),s.jsxRuntimeExports.jsx("span",{className:jt.value,children:`${t}, ${n}px`})]})]})},em=()=>{const{themeSettings:e,setActiveFont:t,activeBlock:n}=s.useThemeSettingsStore();k.useEffect(()=>(r(),()=>{r()}),[]);function r(){t(null)}if(n!=null&&n.name)return s.jsxRuntimeExports.jsx("div",{className:jt.wrapper,children:Object.entries(e.fonts.desktop).sort(([i],[a])=>i==="heading"?-1:a==="heading"?1:0).map(([i,a])=>s.jsxRuntimeExports.jsxs("div",{className:jt.category,children:[s.jsxRuntimeExports.jsx("h2",{className:jt.categoryTitle,children:Ct(i)}),Object.entries(a).map(([o,u])=>s.jsxRuntimeExports.jsx(Jh,{id:o,category:i,...u},o))]},i))})},tm="_wrapper_16ym0_2",nm="_categoryTitle_16ym0_12",rm="_title_16ym0_74",sm="_field_16ym0_82",im="_alignments_16ym0_92",am="_lineField_16ym0_98",om="_style_16ym0_106",um="_header_16ym0_113",ct={wrapper:tm,categoryTitle:nm,title:rm,field:sm,alignments:im,lineField:am,style:om,header:um},lm="_blocks_emecf_1",cm="_block_emecf_1",dm="_active_emecf_21",Cs={blocks:lm,block:cm,active:dm},$i=e=>{const{items:t,selectedItem:n,onSelect:r,getIconName:i}=e;return s.jsxRuntimeExports.jsx("div",{className:Cs.blocks,children:t.map(a=>s.jsxRuntimeExports.jsx("div",{className:s.clx(Cs.block,{[Cs.active]:n===a}),onClick:()=>r(a),children:s.jsxRuntimeExports.jsx(s.Icon,{name:i(a),fill:n===a?"#252525":"#757575"})},String(a)))})},hm=["left","center","right"],mm=["solid","dashed"],Bn=e=>{const{title:t,children:n,rightAddon:r}=e;return s.jsxRuntimeExports.jsxs("div",{className:ct.field,children:[s.jsxRuntimeExports.jsxs("div",{className:ct.header,children:[s.jsxRuntimeExports.jsx("h4",{className:ct.categoryTitle,children:t}),r]}),n]})},pm=()=>{const{themeSettings:e,updateInput:t}=s.useThemeSettingsStore(),n=k.useMemo(()=>e.inputs,[e]),r=(a,o,u)=>{t(a,o,u)},i=a=>o=>{t(a,o,"color")};return s.jsxRuntimeExports.jsxs("div",{className:ct.wrapper,children:[s.jsxRuntimeExports.jsxs(Bn,{title:"General",children:[s.jsxRuntimeExports.jsx(s.Input,{label:"Height (px)",value:String(n.general.height),onChange:a=>r("general",a,"height"),type:"number",min:0}),s.jsxRuntimeExports.jsx(s.Select,{label:"Font Size (px)",onChange:a=>r("general",a,"size"),value:String(n.general.size),options:zr}),s.jsxRuntimeExports.jsx(ht,{initialColor:Ct(n.general.color),onChange:i("general"),title:"Font Color",labelStyle:"secondary",isGradientActive:!1})]}),s.jsxRuntimeExports.jsx(Bn,{title:"Field Fill",rightAddon:s.jsxRuntimeExports.jsx("div",{className:ct.switch,children:s.jsxRuntimeExports.jsx(s.Switch,{onChange:a=>r("field",a,"active"),current:n.field.active})}),children:s.jsxRuntimeExports.jsx(ht,{initialColor:n.field.color,onChange:i("field"),title:"Color",labelStyle:"secondary"})}),s.jsxRuntimeExports.jsx(Bn,{title:"Placeholder",children:s.jsxRuntimeExports.jsx(ht,{initialColor:Ct(n.placeholder.color),onChange:i("placeholder"),title:"Font Color",labelStyle:"secondary",isGradientActive:!1})}),s.jsxRuntimeExports.jsxs(Bn,{title:"Border",rightAddon:s.jsxRuntimeExports.jsx("div",{className:ct.switch,children:s.jsxRuntimeExports.jsx(s.Switch,{onChange:a=>r("border",a,"active"),current:n.border.active})}),children:[s.jsxRuntimeExports.jsxs("div",{className:ct.lineField,children:[s.jsxRuntimeExports.jsxs("div",{className:ct.style,children:[s.jsxRuntimeExports.jsx("span",{className:ct.title,children:"Style"}),s.jsxRuntimeExports.jsx($i,{items:mm,selectedItem:n.border.style,onSelect:a=>r("border",a,"style"),getIconName:a=>a==="solid"?"Minus":"Selection"})]}),s.jsxRuntimeExports.jsx(s.Input,{label:"Radius (px)",value:String(n.border.radius),onChange:a=>r("border",a,"radius"),type:"number",min:0})]}),s.jsxRuntimeExports.jsx(s.Input,{label:"Thickness (px)",value:String(n.border.thickness),onChange:a=>r("border",a,"thickness"),type:"number",min:0}),s.jsxRuntimeExports.jsx(ht,{initialColor:Ct(n.border.color),onChange:i("border"),title:"Color",labelStyle:"secondary",isGradientActive:!1})]}),s.jsxRuntimeExports.jsxs(Bn,{title:"Label",children:[s.jsxRuntimeExports.jsx(s.Input,{label:"Line Height (px)",value:String(n.label.height),onChange:a=>r("label",a,"height"),type:"number",min:0}),s.jsxRuntimeExports.jsx(s.Select,{label:"Font Size (px)",onChange:a=>r("label",a,"size"),value:String(n.label.size),options:zr}),s.jsxRuntimeExports.jsx(ht,{initialColor:Ct(n.label.color),onChange:i("label"),title:"Color",labelStyle:"secondary",isGradientActive:!1}),s.jsxRuntimeExports.jsxs("div",{className:ct.alignments,children:[s.jsxRuntimeExports.jsx("h4",{className:ct.title,children:"Alignment Type"}),s.jsxRuntimeExports.jsx($i,{items:hm,selectedItem:n.label.alignment,onSelect:a=>r("label",a,"alignment"),getIconName:a=>a==="center"?"AlignCenterHorizontal":a==="left"?"AlignLeft":"AlignRight"})]})]})]})},fm="_wrapper_1yw63_2",xm="_color_1yw63_24",gm="_content_1yw63_33",Em="_preview_1yw63_42",bm="_container_1yw63_52",_m="_buttonWrapper_1yw63_62",Tm="_button_1yw63_62",Cm="_buttonBorder_1yw63_80",Sm="_buttonBackground_1yw63_83",ym="_text_1yw63_87",Rm="_textText_1yw63_93",km="_icon_1yw63_97",Am="_iconIcon_1yw63_100",Nm="_annotation_1yw63_104",Im="_annotationText_1yw63_111",wm="_label_1yw63_116",jm="_circle_1yw63_127",Lm="_line_1yw63_140",vm="_circle1_1yw63_154",Pm="_circle2_1yw63_159",Om="_annotationIcon_1yw63_164",Dm="_annotationBorder_1yw63_192",Mm="_line1_1yw63_203",Bm="_line2_1yw63_210",Fm="_circle3_1yw63_227",Hm="_circle4_1yw63_232",Um="_annotationSurface_1yw63_237",K={wrapper:fm,color:xm,content:gm,preview:Em,container:bm,buttonWrapper:_m,button:Tm,buttonBorder:Cm,buttonBackground:Sm,text:ym,textText:Rm,icon:km,iconIcon:Am,annotation:Nm,annotationText:Im,label:wm,circle:jm,line:Lm,circle1:vm,circle2:Pm,annotationIcon:Om,annotationBorder:Dm,line1:Mm,line2:Bm,circle3:Fm,circle4:Hm,annotationSurface:Um},$m=()=>{const{activeColorCategory:e}=s.useThemeSettingsStore();return s.jsxRuntimeExports.jsx("div",{className:K.container,children:s.jsxRuntimeExports.jsxs("div",{className:K.buttonWrapper,children:[s.jsxRuntimeExports.jsxs("div",{className:s.clx(K.button,{[K.buttonBorder]:e==="border",[K.buttonBackground]:e==="surface"}),children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Smiley",className:s.clx(K.icon,{[K.iconIcon]:e==="text"}),width:22,height:22,fill:"#757575"}),s.jsxRuntimeExports.jsx("span",{className:s.clx(K.text,{[K.textText]:e==="text"}),children:"Button Example"})]}),e==="text"&&s.jsxRuntimeExports.jsxs("div",{className:s.clx(K.annotation,K.annotationText),children:[s.jsxRuntimeExports.jsx("div",{className:K.label,children:"Text Color"}),s.jsxRuntimeExports.jsx("div",{className:K.line}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle1)}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle2)})]}),e==="text"&&s.jsxRuntimeExports.jsxs("div",{className:s.clx(K.annotation,K.annotationIcon),children:[s.jsxRuntimeExports.jsx("div",{className:K.label,children:"Icon Color"}),s.jsxRuntimeExports.jsx("div",{className:K.line}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle1)}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle2)})]}),e==="border"&&s.jsxRuntimeExports.jsxs("div",{className:s.clx(K.annotation,K.annotationBorder),children:[s.jsxRuntimeExports.jsx("div",{className:K.label,children:"Border Color"}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.line,K.line1)}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.line,K.line2)}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle1)}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle2)}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle3)}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle4)})]}),e==="surface"&&s.jsxRuntimeExports.jsxs("div",{className:s.clx(K.annotation,K.annotationSurface),children:[s.jsxRuntimeExports.jsx("div",{className:K.label,children:"Surface Color"}),s.jsxRuntimeExports.jsx("div",{className:K.line}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle1)}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle2)})]})]})})},zm={text:["primary","secondary","tertiary","inverted","action","action-hover","disabled","warning","error","success","information","link"],border:["primary","secondary","action","actionHover","disabled","warning","error","success","information","focus"],surface:["primary","secondary","action1","action1Hover","action2","action2Hover","disabled","warning","error","success","information","modal"]},Wm=()=>{const{activeBlock:e,setActiveColorCategory:t,activeColorCategory:n,themeSettings:r,updateColor:i}=s.useThemeSettingsStore();function a(){t(null)}function o(m,h,f){i(m,h,f)}const u=!!((e==null?void 0:e.name)==="Colors"&&n),c=(e==null?void 0:e.name)!=="Colors"||!n,d=n?zm[n]:[];return s.jsxRuntimeExports.jsxs(ur,{isOpen:u,isClose:c,children:[s.jsxRuntimeExports.jsx(or,{onClick:a,title:n==="text"?"Text & Icon Colors":`${Ct(n)} Colors`}),n&&s.jsxRuntimeExports.jsxs("div",{className:K.wrapper,children:[s.jsxRuntimeExports.jsx($m,{}),d.map(m=>{const h=r.colors[n][m];return typeof h!="string"?null:s.jsxRuntimeExports.jsx("div",{className:K.color,children:s.jsxRuntimeExports.jsxs("div",{className:K.content,children:[s.jsxRuntimeExports.jsx("div",{className:K.preview,style:{background:h}}),s.jsxRuntimeExports.jsx(ht,{title:Ct(m),initialColor:h,onChange:f=>o(n,m,f),isGradientActive:n==="surface"})]})},m)})]})]})},qm="_loader_1p5lr_1",Vm={loader:qm},Ym=()=>{const{activeBlock:e,themeSettings:t,isLoadingThemeSettings:n}=s.useThemeSettingsStore();return s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:n?s.jsxRuntimeExports.jsx("div",{className:Vm.loader,children:s.jsxRuntimeExports.jsx(Vt,{})}):s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[(e==null?void 0:e.name)==="Fonts"&&t.fonts&&s.jsxRuntimeExports.jsx(em,{}),(e==null?void 0:e.name)==="Fonts"&&t.fonts&&s.jsxRuntimeExports.jsx(Wh,{}),(e==null?void 0:e.name)==="Colors"&&t.colors&&s.jsxRuntimeExports.jsx(Uh,{}),(e==null?void 0:e.name)==="Colors"&&t.colors&&s.jsxRuntimeExports.jsx(Wm,{}),(e==null?void 0:e.name)==="Inputs"&&t.inputs&&s.jsxRuntimeExports.jsx(pm,{}),(e==null?void 0:e.name)==="Borders"&&t.borders&&s.jsxRuntimeExports.jsx(Sh,{}),(e==null?void 0:e.name)==="Buttons"&&t.buttons&&s.jsxRuntimeExports.jsx(Bh,{})]})})},Gm=()=>{const{activeBlock:e,setActiveBlock:t}=s.useThemeSettingsStore(),{activeBlock:n}=s.useNavbarStore(),r=s.useNavigate();function i(){t(null),r("/admin/builder/theme")}const a=!!e,o=!e||n.name!=="Theme";return s.jsxRuntimeExports.jsxs(ur,{isOpen:a,isClose:o,children:[s.jsxRuntimeExports.jsx(or,{onClick:i,title:(e==null?void 0:e.name)||""}),s.jsxRuntimeExports.jsx(Ym,{})]})},Xm=()=>{const{activeBlock:e}=s.useNavbarStore(),{showTooltip:t}=s.useTooltipStore();function n(){switch(e.name){case"Layers":return"Layers";case"Add":return"Add Sections";case"Theme":return"Theme Settings";case"Settings":return"Settings"}}return s.jsxRuntimeExports.jsxs("div",{className:Ui.sidebar,style:{zIndex:t?50:"auto"},children:[s.jsxRuntimeExports.jsx("h3",{className:Ui.title,children:n()}),e.name==="Layers"&&s.jsxRuntimeExports.jsx(D0,{}),e.name==="Add"&&s.jsxRuntimeExports.jsx(po,{}),s.jsxRuntimeExports.jsx(ph,{}),s.jsxRuntimeExports.jsx(Gm,{}),e.name==="Theme"&&s.jsxRuntimeExports.jsx(q0,{}),e.name==="Settings"&&s.jsxRuntimeExports.jsx(F0,{})]})},Qm="_wrapper_no6if_1",Km="_header_no6if_12",Zm="_content_no6if_23",Jm="_buttons_no6if_44",ep="_label_no6if_51",tp="_description_no6if_52",np="_preview_no6if_60",rp="_block_no6if_66",sp="_slug_no6if_75",ip="_title_no6if_81",ap="_closeIcon_no6if_87",ot={wrapper:Qm,header:Km,content:Zm,buttons:Jm,label:ep,description:tp,preview:np,block:rp,slug:sp,title:ip,closeIcon:ap},op=()=>{var Q,w,$,M,H,Y,z;const{setIsOpenModal:e,pages:t,createPage:n,updatePage:r,isEdit:i,setIsEdit:a,editedPage:o,setEditedPage:u,pageContext:c}=s.usePagesStore(),{setIsOpen:d}=s.useModalStore(),{createPage:m,updatePage:h}=s.useLayersStore(),[f,p]=k.useState(o?t&&((Q=t[o])==null?void 0:Q.path):""),[x,g]=k.useState(o?t&&((w=t[o])==null?void 0:w.name):""),[C,b]=k.useState(o?t&&(($=t[o])==null?void 0:$.seo)&&((H=(M=t[o])==null?void 0:M.seo)==null?void 0:H.pageDescription)||"":`${c.general.info.name} is powered by the Billgang.com platform which allows them to sell their digital products online for free.`),[A,y]=k.useState(o&&t&&(Y=t[o])!=null&&Y.isPrivate?"private":"public");function P(){p(""),g(""),b(""),y("public"),a(!1),u(null)}function j(){d(!1),setTimeout(()=>{P(),e(!1),d(!0)},300)}k.useEffect(()=>()=>{j()},[]);function N(X){return X[0]==="/"?X:"/"+X}function q(){n({path:N(f),name:x||f||"",icon:"File",seo:{pageTitle:x||"",pageDescription:C||""},visibility:A||"public"}),m(N(f)),j()}function V(){t&&(s.defaultPagePaths.includes(t[o].path)||ho(t[o].path),h(t[o].path||"",f||""),r(o,{path:N(f),name:x||f,icon:t[o].icon||"File",seo:{pageTitle:x||"",pageDescription:C||""},visibility:A||"public"})),j()}return s.jsxRuntimeExports.jsxs("div",{className:ot.wrapper,onClick:X=>X.stopPropagation(),children:[s.jsxRuntimeExports.jsxs("div",{className:ot.header,children:[s.jsxRuntimeExports.jsx("h2",{children:i?"Edit Page":"Create New Page"}),s.jsxRuntimeExports.jsx("div",{className:ot.closeIcon,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"X",fill:"#757575",hoverable:!0,onClick:j})})]}),s.jsxRuntimeExports.jsxs("div",{className:ot.content,children:[s.jsxRuntimeExports.jsx(s.Input,{label:"Page Slug",onChange:X=>p(X),value:f,placeholder:"path-to-page",disabled:!!(o&&t&&((z=t[o])!=null&&z.name)&&s.defaultPagePaths.includes(t[o].path)),required:!0,regex:"^.+$"}),s.jsxRuntimeExports.jsx(s.Input,{label:"Page Title",onChange:X=>{g(X)},value:x.charAt(0).toUpperCase()+x.slice(1),placeholder:"Contact us"}),s.jsxRuntimeExports.jsx(s.Textarea,{label:"Description",onChange:X=>b(X),value:C,placeholder:`${c.general.info.name} is powered by the Billgang.com platform which allows them to sell their digital products online for free.`,maxLength:150}),s.jsxRuntimeExports.jsxs("div",{className:ot.preview,children:[s.jsxRuntimeExports.jsx("span",{className:ot.label,children:"Preview"}),s.jsxRuntimeExports.jsxs("div",{className:ot.block,children:[s.jsxRuntimeExports.jsx("span",{className:ot.slug,children:f||"yoursite.url"}),s.jsxRuntimeExports.jsx("span",{className:ot.title,children:x||"My Blank Page"}),s.jsxRuntimeExports.jsx("span",{className:ot.description,children:C||"It is My Description"})]})]})]}),s.jsxRuntimeExports.jsxs("div",{className:ot.buttons,children:[s.jsxRuntimeExports.jsx(s.Button,{onClick:j,type:"Secondary",children:"Cancel"}),s.jsxRuntimeExports.jsx(s.Button,{onClick:i?V:q,disabled:f.length===0,children:i?"Update":"Create"})]})]})},up="_layout_1pjho_1",lp="_main_1pjho_10",cp="_content_1pjho_18",dp="_notifications_1pjho_26",Sr={layout:up,main:lp,content:cp,notifications:dp},hp="_notification_2jmah_1",mp="_text_2jmah_22",pp="_timer_2jmah_27",fp="_warning_2jmah_32",xp="_error_2jmah_37",gp="_success_2jmah_42",hn={notification:hp,text:mp,timer:pp,warning:fp,error:xp,success:gp},zi={warning:"#C1972A",error:"#FF3F19",success:"#338B13"},fo=e=>{const{type:t,message:n,style:r,padding:i,timer:a,id:o}=e,[u,c]=k.useState(a),{setNotifications:d}=s.useNotificationStore();function m(){const f=s.useNotificationStore.getState().notifications.filter(p=>p.id!==o);d([...f])}return k.useEffect(()=>{const h=setTimeout(()=>{m()},a*1e3);return()=>clearTimeout(h)},[a]),k.useEffect(()=>{const h=setInterval(()=>c(f=>f-1),1e3);return()=>clearInterval(h)},[u]),s.jsxRuntimeExports.jsx("div",{style:{padding:i,position:"relative"},children:s.jsxRuntimeExports.jsxs("div",{className:s.clx(hn.notification,{[hn.warning]:t==="warning",[hn.error]:t==="error",[hn.success]:t==="success"}),style:r,children:[s.jsxRuntimeExports.jsx("div",{children:s.jsxRuntimeExports.jsx(s.Icon,{name:"Info",fill:zi[t],width:20,height:20})}),s.jsxRuntimeExports.jsx("div",{className:hn.text,children:n}),a&&s.jsxRuntimeExports.jsx("div",{className:hn.timer,children:u}),s.jsxRuntimeExports.jsx("div",{style:{display:"flex"},children:s.jsxRuntimeExports.jsx(s.Icon,{name:"X",fill:zi[t],width:20,height:20,hoverable:!0,onClick:()=>m()})})]})})},Ep="_modal_1h74q_1",bp="_title_1h74q_14",_p="_buttons_1h74q_20",yr={modal:Ep,title:bp,buttons:_p},xo=()=>{const{title:e,description:t,onConfirm:n,setTitle:r,setDescription:i,setOnConfirm:a}=s.useConfirmationModalStore(),{setIsOpen:o}=s.useModalStore();function u(){o(!1),setTimeout(()=>{r(null),i(null),a(null),o(!0)},300)}return e&&t&&n&&s.jsxRuntimeExports.jsxs("div",{className:yr.modal,onClick:c=>c.stopPropagation(),children:[s.jsxRuntimeExports.jsx("div",{className:yr.title,children:e}),s.jsxRuntimeExports.jsx("div",{className:yr.description,children:t}),s.jsxRuntimeExports.jsxs("div",{className:yr.buttons,children:[s.jsxRuntimeExports.jsx(s.Button,{onClick:u,children:"Cancel"}),s.jsxRuntimeExports.jsx(s.Button,{onClick:()=>{n(),u()},type:"Secondary",children:"Confirm"})]})]})},Tp="_modal_270ti_1",Cp="_padding_270ti_17",Sp="_content_270ti_21",yp="_close_270ti_42",Rr={modal:Tp,padding:Cp,content:Sp,close:yp},Br=e=>{const{close:t,children:n,withAnimation:r=!0,hasPadding:i=!0}=e,{isOpen:a,setIsOpen:o}=s.useModalStore();return k.useEffect(()=>{const u=()=>{o(!1),r?setTimeout(()=>{t(!1),o(!0)},300):(t(!1),o(!0))};return document.body.addEventListener("click",u),()=>{document.body.removeEventListener("click",u)}},[]),s.jsxRuntimeExports.jsx("div",{className:s.clx(Rr.modal,{[Rr.padding]:i}),children:r?s.jsxRuntimeExports.jsx("div",{className:s.clx(Rr.content,{[Rr.close]:!a}),children:n}):s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:n})})},Rp=()=>{const{isOpenModal:e,setIsOpenModal:t}=s.usePagesStore(),{openModal:n,setOpenModal:r}=s.useChooseImageStore(),{notifications:i}=s.useNotificationStore(),{title:a,description:o,setTitle:u,setDescription:c,setOnConfirm:d}=s.useConfirmationModalStore();return s.jsxRuntimeExports.jsxs("div",{id:"builder",children:[s.jsxRuntimeExports.jsxs("div",{className:Sr.layout,children:[s.jsxRuntimeExports.jsx(dd,{}),s.jsxRuntimeExports.jsxs("main",{className:Sr.main,children:[s.jsxRuntimeExports.jsx(nd,{}),s.jsxRuntimeExports.jsxs("div",{className:Sr.content,children:[s.jsxRuntimeExports.jsx(Xm,{}),s.jsxRuntimeExports.jsx(f0,{})]})]})]}),a&&o&&s.jsxRuntimeExports.jsx(Br,{close:()=>{u(null),c(null),d(null)},children:s.jsxRuntimeExports.jsx(xo,{})}),e&&s.jsxRuntimeExports.jsx(Br,{close:t,children:s.jsxRuntimeExports.jsx(op,{})}),n&&s.jsxRuntimeExports.jsx(Br,{close:r,children:s.jsxRuntimeExports.jsx(s.ChooseImageModal,{})}),i.length>0&&s.jsxRuntimeExports.jsx("div",{className:Sr.notifications,children:i.map(m=>s.jsxRuntimeExports.jsx(fo,{type:m.status,message:m.message,timer:10,id:m.id},m.id))})]})};async function mn(e,t){const n=localStorage.getItem("shopId")||void 0,r=`${s.API_URL}/${e}/builder/shops/${n}/${t}`;return(await s.request({url:r,withToken:!0,method:"get"})).data}async function kp(){try{const[e,t,n,r,i,a,o,u]=await Promise.allSettled([mn("v1","general"),mn("v1","faqs"),mn("v1","listings"),mn("v1","products"),mn("v1","reviews"),mn("v1","categories"),{data:null},{data:null}]);return{general:e,faqs:t,listings:n,products:r,reviews:i,categories:a,fullPosts:o,posts:u}}catch(e){throw console.error("Error fetching page data:",e),e}}async function Ap(){try{const{data:e}=await s.axios.get(`${s.GOOGLE_FONTS_API}?key=AIzaSyAEsTbjAPUz_TeuFCq4z4LPK9w_vst0Pfw`);return e.items}catch(e){throw console.error("Error fetching page data:",e),e}}async function Np(){var r;const e=localStorage.getItem("shopId"),t=localStorage.getItem("draftId"),n=`${s.API_URL}/v2/builder/shops/${e}/drafts/${t}/pages`;try{return(await s.request({url:n,withToken:!0,method:"get"})).data}catch(i){return{data:[],status:(r=i.response)==null?void 0:r.status}}}async function Ip(){const e=localStorage.getItem("shopId")||void 0,t=localStorage.getItem("draftId")||void 0,n=`${s.API_URL}/v2/builder/shops/${e}/drafts/${t}/all`;return(await s.request({url:n,withToken:!0,method:"get"})).data}const wp=e=>{const{blocks:t,settings:n,header:r,footer:i,announcement:a}=e,{setBlocks:o,setSourceBlocks:u,setHeader:c,setFooter:d,setAnnouncement:m,setSettings:h}=s.useBlocksStore(),{fonts:f,setFonts:p}=s.useFontsStore(),{setSettings:x}=s.useSettingsStore(),{setPageContext:g}=s.usePagesStore(),{setThemeSettings:C,setIsLoadingThemeSettings:b}=s.useThemeSettingsStore(),{setIsLoadingSettings:A}=s.useSettingsStore(),{notifications:y,setNotifications:P}=s.useNotificationStore(),{setBlocks:j,blocks:N,createPage:q,setIsLoadingLayers:V,setHeader:Q,setAnnouncement:w,setFooter:$}=s.useLayersStore(),{setPages:M,setCurrentPage:H}=s.usePagesStore();return k.useEffect(()=>{b(!0),V(!0),A(!0);const Y={};Object.keys(t).forEach(X=>{Y[X]=t[X]}),u(Y),o(Y),c(r),d(i),m(a),h(n),(async()=>{const X={listings:null,products:null,reviews:null,categories:null,faqs:null,general:null,fullPosts:null,posts:null},G=await kp();Object.keys(G).map(ce=>{const Ae=ce;X[Ae]=G[Ae].value.data}),g(X);const{data:W}=await Ip(),{themeSettings:J,layers:S,settings:Ce}=W||{};if(Ce){if(Ce.settings){const ce=new n;ce.blockSettings={displayName:"Settings",isAddable:!1,...Ce.settings},x(ce)}Ce.header&&Q(Ce.header),Ce.footer&&$(Ce.footer),Ce.announcement&&w(Ce.announcement)}else{const ce=new n;x(ce)}J&&C(J);const Pe=await Np(),R={};if(Pe.status>=400&&P([...y,{id:s.v4(),message:"Error fetching pages",status:"error"}]),Pe.data.length>0?(Pe.data.forEach(ce=>{var Ae,ee;N[ce.path]||q(ce.path),R[ce.id||ce.path]={...ce,icon:s.pages[ce.path]?s.pages[ce.path].icon:"File",name:ce.name||((Ae=ce.seo)==null?void 0:Ae.pageTitle)||((ee=s.pages[ce.path])==null?void 0:ee.name)||ce.path}}),M(R),H(Object.keys(R)[0])):(M(s.pages),H(Object.keys(s.pages)[0])),f.length===0){const ce=await Ap();p([...ce.map(Ae=>{const ee=Ae.variants.map(De=>{if(!De.includes("italic"))return De==="regular"?"400":De}).filter(De=>De!==void 0);return{name:Ae.family,weights:ee}})])}j(S),b(!1),V(!1),A(!1)})()},[]),s.jsxRuntimeExports.jsx(Rp,{})};function jp(){const e=new URL(window.location.href);window.history.replaceState(null,"",e.pathname+e.hash)}function Lp(){const e=new URLSearchParams(document.location.search),t=e.get("shopId")||localStorage.getItem("shopId"),n=e.get("sellerAccessToken")||localStorage.getItem("sellerAccessToken"),r=e.get("draftId")||localStorage.getItem("draftId");return jp(),n&&localStorage.setItem("sellerAccessToken",n),t&&localStorage.setItem("shopId",t),r&&localStorage.setItem("draftId",r),!!(n&&t&&r)}const vp="data:image/svg+xml,%3csvg%20width='204'%20height='241'%20viewBox='0%200%20204%20241'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M204%200V118.282L154.174%20134.707V69.0074L49.7111%20102.77V43.5716L204%200Z'%20fill='%23FF3F19'/%3e%3cpath%20d='M154.174%20134.694V191.155L0%20241V117.471L49.7114%20102.757V169.597L154.174%20134.694Z'%20fill='%23FF3F19'/%3e%3c/svg%3e",Pp=e=>{const{blocks:t,settings:n,header:r,footer:i,announcement:a}=e,[o,u]=k.useState(!0),c=s.useNavigate(),d=s.useLocation();return k.useEffect(()=>{const m=d.pathname;if(m.startsWith("/admin/builder")){m==="/admin/builder/add"?document.title="Add Section | Builder":m==="/admin/builder/theme"?document.title="Theme Settings | Builder":m==="/admin/builder/settings"?document.title="Settings | Builder":document.title="Builder | Billgang";let h=document.querySelector("link[rel~='icon']");h||(h=document.createElement("link"),h.rel="icon",document.head.appendChild(h)),h&&(h.href=vp)}},[d]),k.useEffect(()=>{u(!0),Lp()?u(!1):c("/")},[]),s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:o?s.jsxRuntimeExports.jsx(Vt,{}):s.jsxRuntimeExports.jsx(wp,{blocks:t,settings:n,header:r,footer:i,announcement:a})})},Op="_wrapper_1yd2j_1",Dp="_error_1yd2j_11",Mp="_title_1yd2j_21",Bp="_buttons_1yd2j_29",Fn={wrapper:Op,error:Dp,title:Mp,buttons:Bp},Wi=async e=>{const t=localStorage.getItem("shopId")||void 0,n=localStorage.getItem("draftId"),r=`${s.API_URL}/v2/builder/shops/${t}/drafts/${n}/reset`;return await s.request({url:r,withToken:!0,method:"post",body:e})},Fp=()=>{const{error:e,setError:t}=s.useErrorStore(),{pages:n}=s.usePagesStore(),{setIsOpen:r}=s.useModalStore(),{title:i,description:a,setOnConfirm:o,setTitle:u,setDescription:c}=s.useConfirmationModalStore(),{setBlocks:d}=s.useLayersStore();async function m(){await Wi({resetSettings:(e==null?void 0:e.failedSettings)??!1,resetThemeSettings:(e==null?void 0:e.failedThemeSettings)??!1,resetPageIds:(e==null?void 0:e.failedPageIds)??[]}),t(null),d({}),window.location.reload()}async function h(){const f=[];n&&Object.keys(n).map(p=>n[p].id).filter(p=>p!==void 0).map(p=>f.push(p)),await Wi({resetSettings:!0,resetThemeSettings:!0,resetPageIds:f}),t(null)}return s.jsxRuntimeExports.jsxs("div",{className:Fn.wrapper,children:[s.jsxRuntimeExports.jsxs("div",{className:Fn.error,children:[s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx("div",{className:Fn.title,children:"Oops! Something went wrong"}),s.jsxRuntimeExports.jsx("span",{className:Fn.message,children:(e==null?void 0:e.message)||""})]}),s.jsxRuntimeExports.jsxs("div",{className:Fn.buttons,children:[s.jsxRuntimeExports.jsx(s.Button,{type:"Primary",onClick:m,children:"Reset Settings"}),s.jsxRuntimeExports.jsx(s.Button,{type:"Secondary",onClick:f=>{f.stopPropagation(),u("Reset All Settings"),c("Are you sure you want to reset all settings? This is irreversible."),o(async()=>{await h()})},children:"Reset All Settings"})]})]}),i&&a&&s.jsxRuntimeExports.jsx(Br,{close:()=>{r(!1),setTimeout(()=>{u(null),c(null),o(null),r(!0)},300)},children:s.jsxRuntimeExports.jsx(xo,{})})]})},Hp=e=>{const{children:t}=e,{pathname:n}=s.useLocation(),{setActiveBlock:r}=s.useNavbarStore(),{setActiveBlock:i}=s.useThemeSettingsStore(),{setActiveBlock:a}=s.usePreviewStore();return k.useEffect(()=>{switch(a({id:null,neededScroll:!1}),n){case"/admin/builder":r(s.navbarBlocks[0]);break;case"/admin/builder/add":r(s.navbarBlocks[1]);break;case"/admin/builder/theme":r(s.navbarBlocks[2]);break;case"/admin/builder/settings":r(s.navbarBlocks[3]);break;case"/admin/builder/theme/colors":r(s.navbarBlocks[2]),i(dt[0]);break;case"/admin/builder/theme/fonts":r(s.navbarBlocks[2]),i(dt[1]);break;case"/admin/builder/theme/borders":r(s.navbarBlocks[2]),i(dt[2]);break;case"/admin/builder/theme/buttons":r(s.navbarBlocks[2]),i(dt[3]);break;case"/admin/builder/theme/inputs":r(s.navbarBlocks[2]),i(dt[4]);break}},[n]),s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:t})},Up="_lock_1mxa7_1",$p="_wrapper_1mxa7_12",zp="_content_1mxa7_22",Wp="_info_1mxa7_31",qp="_buttons_1mxa7_38",Vp="_button_1mxa7_38",Yp="_input_1mxa7_50",Gp="_error_1mxa7_57",ut={lock:Up,wrapper:$p,content:zp,info:Wp,buttons:qp,button:Vp,input:Yp,error:Gp},Xp=()=>{const[e,t]=k.useState(!1),[n,r]=k.useState(!1),[i,a]=k.useState(""),{general:o,setGeneral:u}=s.useGeneralStore(),{setShopPassword:c}=s.useStorefrontStore(),d=s.useLocation(),m=s.useNavigate();k.useEffect(()=>{if(o&&(!o.info.passwordProtected||o.isPasswordValid)){const f=d.state.from==="/validation"?"/":d.state.from;m(f)}},[o]),k.useEffect(()=>{o||(async()=>{var g;t(!0);const p=localStorage.getItem("shopPassword")||"",x=await qs(p);if(x.isPasswordValid){const C=((g=d.state)==null?void 0:g.from)||"/";m(C)}u(x),t(!1)})()},[o]);async function h(){var p;t(!0);const f=await qs(i);if(!f.isPasswordValid)r(!0);else{localStorage.setItem("shopPassword",i),c(i);const x=((p=d.state)==null?void 0:p.from)||"/";m(x),u(f)}t(!1)}return s.jsxRuntimeExports.jsxs("div",{className:ut.wrapper,children:[!e&&s.jsxRuntimeExports.jsxs("div",{className:ut.content,children:[s.jsxRuntimeExports.jsx("div",{className:ut.lock,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"Lock",fill:"var(--text-secondary)",width:64,height:64})}),s.jsxRuntimeExports.jsxs("div",{className:ut.info,children:[s.jsxRuntimeExports.jsx("h2",{id:"h2",className:ut.title,children:"The store is password protected"}),s.jsxRuntimeExports.jsx("p",{id:"p",className:ut.description,children:"If you do not have a password, we recommend you to contact the technical support of the store or write to the mail"})]}),s.jsxRuntimeExports.jsxs("div",{className:ut.input,children:[s.jsxRuntimeExports.jsx(s.Input$1,{type:"password",onChange:f=>{r(!1),a(f)},value:i,placeholder:"Password",required:!0}),s.jsxRuntimeExports.jsx("span",{className:ut.error,children:n&&"Incorrect password"})]}),s.jsxRuntimeExports.jsxs("div",{className:ut.buttons,children:[s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",className:ut.button,onClick:()=>m("/contact"),children:"Contact Support"}),s.jsxRuntimeExports.jsx(s.Button$1,{type:"Primary",className:ut.button,disabled:n,onClick:h,children:"Submit"})]})]}),e&&s.jsxRuntimeExports.jsx(s.Loader,{})]})},Qp="_notifications_2ywhg_1",Kp={notifications:Qp},Zp=({children:e})=>{const t=s.useLocation(),{token:n,setToken:r}=s.useStorefrontStore(),{dashInfo:i,setDashInfo:a}=s.useCustomerDashboardStore(),{shopPassword:o}=s.useStorefrontStore(),u=s.useNavigate(),[c,d]=s.useSearchParams(),{notifications:m}=s.useNotificationStore(),[h,f]=k.useState(!0),{setCustomerEmail:p}=s.useCartStore(),{setThemeSettings:x,themeSettings:g}=s.useThemeSettingsStore(),{settings:C,setSettings:b}=s.useSettingsStore(),{setHeader:A,setFooter:y,setAnnouncement:P,header:j,footer:N,announcement:q}=s.useLayersStore(),{general:V,setGeneral:Q}=s.useGeneralStore(),{pageContext:w,setPageContext:$}=s.usePagesStore(),M=async()=>{const H=await s.getDynamicPage(encodeURIComponent("/products"));if(H){const{data:Y}=H;$({...w,listings:Y.listings})}};return k.useEffect(()=>{const H=localStorage.getItem("token");if(H&&(!n||!i))try{const Y=s.jwtDecode(H);a(Y),r(H),p(Y.email)}catch(Y){console.error("Failed to decode token:",Y),localStorage.removeItem("token"),r(""),a(null)}},[n,i]),k.useEffect(()=>{const H=c.get("r");H&&(localStorage.setItem("referralCode",H),c.delete("r"),d(c),u({pathname:t.pathname,search:c.toString()},{replace:!0}))},[c,t]),k.useEffect(()=>{!t.pathname.startsWith("/products")&&!t.pathname.startsWith("/admin/builder")&&V&&(V.info.passwordProtected&&o||V.isPasswordValid)&&M()},[V,o]),k.useEffect(()=>{f(!0);const H=async()=>{if(!V){const z=await qs(o);z.isPasswordValid||t.pathname.includes("/admin/builder")||u("/validation",{state:{from:t.pathname}}),Q(z)}},Y=async()=>{const{settings:z,theme:X}=(await tc()).data;if(z&&C){const G=C;if(z.settings?(Object.keys(z.settings).map(W=>{G.blockSettings[W]=z.settings[W]}),b(G)):b(C),z.header&&j){const W=j;Object.keys(z.header).map(J=>{W[J]=z.header[J]}),A(W)}if(z.footer&&N){const W=N;Object.keys(z.footer).map(J=>{W[J]=z.footer[J]}),y(W)}if(z.announcement&&q){const W=q;Object.keys(z.announcement).map(J=>{W[J]=z.announcement[J]}),P(W)}}else b(C);x(g),x(X||g),f(!1)};t.pathname.startsWith("/validation")||H(),Y()},[]),t.pathname.startsWith("/admin/builder")?s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:e}):s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:h?s.jsxRuntimeExports.jsx("div",{style:{width:"100vw",height:"100vh",display:"flex",justifyContent:"center",alignItems:"center"},children:s.jsxRuntimeExports.jsx(s.Loader,{})}):s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[e,m.length>0&&s.jsxRuntimeExports.jsx("div",{className:Kp.notifications,children:m.map(H=>s.jsxRuntimeExports.jsx(fo,{type:H.status,message:H.message,timer:10,id:H.id},H.id))})]})})},Jp=()=>(k.useEffect(()=>{setTimeout(()=>{window.location.reload()},500)},[]),s.jsxRuntimeExports.jsx("div",{style:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:s.jsxRuntimeExports.jsx(s.Loader,{})})),ef="_wrapper_rccv2_1",tf="_content_rccv2_11",nf="_title_rccv2_21",Ss={wrapper:ef,content:tf,title:nf},Nt=()=>{const e=s.useNavigate();return s.jsxRuntimeExports.jsx("div",{className:Ss.wrapper,children:s.jsxRuntimeExports.jsxs("div",{className:Ss.content,children:[s.jsxRuntimeExports.jsx("h1",{className:Ss.title,children:"Something went wrong"}),s.jsxRuntimeExports.jsx(s.Button,{type:"Primary",onClick:()=>{e("/")},children:"Go to Home"})]})})},ys="f10120ab-7ebb-4785-b240-7428edaa3c4e",kr="https://t-api.billgang.com",Ar="I",rf=10*1e3,sf=15*1e3,af=15*60*1e3,of=(e,t="production")=>{const{pathname:n}=s.useLocation(),r=k.useRef(),i=k.useRef(document.visibilityState);k.useEffect(()=>{if(!e)return;const a=()=>Date.now(),o=async()=>(await s.request({url:`${kr}/${e}/t/p`,method:"post",withToken:!1})).data.data.id,u=async p=>{const x=t==="development"?ys:p;return(await s.request({url:`${kr}/${e}/t/p/${x}/s`,method:"post",withToken:!1})).data.data.id},c=async(p,x,g,C)=>{const b=t==="development"?ys:p;return(await s.request({url:`${kr}/${e}/t/p/${b}/s/${x}/e`,method:"post",withToken:!1,body:{url:g,oldEventId:C},contentType:"application/json"})).data.data.id},d=async(p,x,g)=>{const C=t==="development"?ys:p;await s.request({url:`${kr}/${e}/t/p/${C}/s/${x}/e/${g}/h`,method:"post",withToken:!1});const b=s.fromLocalStorage(Ar);b&&(b.s.u=a().toString(),b.lu=a().toString(),s.toLocalStorage(Ar,b))},m=(p,x,g)=>{r.current&&clearInterval(r.current),r.current=setInterval(async()=>{if(document.visibilityState==="visible")try{await d(p,x,g)}catch{await h()}},rf)},h=async()=>{var C,b,A,y;const p=`${window.location.hostname}${n}`,x=s.fromLocalStorage(Ar),g=a();try{let P=x==null?void 0:x.p;P||(P=await o());let j=(C=x==null?void 0:x.s)==null?void 0:C.i;const N=Number(((b=x==null?void 0:x.s)==null?void 0:b.u)||((A=x==null?void 0:x.s)==null?void 0:A.c)),q=!j||g-N>af;(!j||q)&&(j=await u(P));const V=Number((x==null?void 0:x.lu)||0),Q=g-V>sf,w=await c(P,j,p,x!=null&&x.l&&!Q?x.l:void 0),$={p:P,s:{i:j,c:((y=x==null?void 0:x.s)==null?void 0:y.c)??g.toString(),u:g.toString()},l:w,lu:g.toString()};s.toLocalStorage(Ar,$),m(P,j,w)}catch(P){console.error("[TrackingAnalytics] error",P)}};h();const f=()=>{document.visibilityState==="visible"&&i.current!=="visible"&&h(),i.current=document.visibilityState};return document.addEventListener("visibilitychange",f),()=>{r.current&&clearInterval(r.current),document.removeEventListener("visibilitychange",f)}},[n,e,t])},uf=({children:e,shopDomain:t,shopId:n,shopPassword:r})=>{const{setShopDomain:i,setShopId:a,setShopPassword:o,setShopTerms:u,setShopPrivacyPolicy:c,setShopRefundPolicy:d}=s.useStorefrontStore();return of(n,"development"),k.useLayoutEffect(()=>{const m=async()=>{const{data:p}=await rc();u(p)},h=async()=>{const{data:p}=await ic();c(p)},f=async()=>{const{data:p}=await sc();d(p)};i(t),a(n),r&&o(r),m(),h(),f()},[t,n,r]),s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:e})},lf="_checkoutItemsContainer_1kn61_2",cf="_innerContainer_1kn61_16",df="_headerSection_1kn61_22",hf="_header_1kn61_22",mf="_productsContainer_1kn61_47",pf="_couponContainer_1kn61_54",ff="_checkoutFooter_1kn61_58",Kt={checkoutItemsContainer:lf,innerContainer:cf,headerSection:df,header:hf,productsContainer:mf,couponContainer:pf,checkoutFooter:ff},xf="_checkoutFooter_1dzvc_1",gf="_footerBranding_1dzvc_9",Ef="_poweredText_1dzvc_14",bf="_footerNav_1dzvc_19",Nr={checkoutFooter:xf,footerBranding:gf,poweredText:Ef,footerNav:bf},_f="data:image/svg+xml,%3csvg%20width='100'%20height='26'%20viewBox='0%200%20100%2026'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M20.3996%203.39999V12.8228L16.2964%2014.1313V8.89738L7.69363%2011.587V6.87107L20.3996%203.39999Z'%20fill='%23FF3F19'/%3e%3cpath%20d='M16.2964%2014.1313L16.2962%2018.6292L3.59961%2022.6V12.7592L7.69363%2011.587L7.69344%2016.9118L16.2964%2014.1313Z'%20fill='%23FF3F19'/%3e%3cpath%20d='M95.6308%2022C93.4931%2022%2091.8804%2020.882%2091.4678%2019.1776L93.118%2019.0676C93.4181%2019.984%2094.0931%2020.5338%2095.6308%2020.5338C97.4311%2020.5338%2098.4249%2019.8373%2098.4249%2018.4078V16.8316C97.9374%2017.858%2096.8122%2018.5178%2095.5183%2018.5178C92.9868%2018.5178%2091.1865%2016.575%2091.1865%2013.8076C91.1865%2011.0401%2092.9492%209.09737%2095.4433%209.09737C96.831%209.09737%2098.0499%209.77549%2098.5%2010.8568V9.3173H100V18.3711C100%2020.6438%2098.3687%2022%2095.6308%2022ZM95.5933%2017.0515C97.2998%2017.0515%2098.4062%2015.8053%2098.4249%2013.8076C98.4624%2011.8099%2097.3186%2010.5636%2095.5933%2010.5636C93.8494%2010.5636%2092.8367%2011.8099%2092.8367%2013.8076C92.8367%2015.8053%2093.8869%2017.0515%2095.5933%2017.0515Z'%20fill='%23252525'/%3e%3cpath%20d='M81.1836%2019.0309V9.3173H82.6275L82.665%2011.0584C83.1901%209.72051%2084.3527%209.09737%2085.7217%209.09737C87.9907%209.09737%2089.0783%2010.7285%2089.0783%2012.7812V19.0309H87.5031V13.2211C87.5031%2011.425%2086.8843%2010.4536%2085.3841%2010.4536C83.8464%2010.4536%2082.7588%2011.425%2082.7588%2013.2211V19.0309H81.1836Z'%20fill='%23252525'/%3e%3cpath%20d='M73.3176%2019.2509C71.2549%2019.2509%2069.9609%2018.2795%2069.9609%2016.6117C69.9609%2014.9622%2070.9173%2014.0458%2073.0926%2013.6426L76.618%2013.0011C76.618%2011.37%2075.8304%2010.5636%2074.2552%2010.5636C72.8676%2010.5636%2072.0987%2011.1867%2071.7987%2012.3047L70.1297%2012.1764C70.5048%2010.3436%2072.0049%209.09737%2074.2552%209.09737C76.8056%209.09737%2078.1932%2010.6002%2078.1932%2013.0561V17.0699C78.1932%2017.5097%2078.3433%2017.6747%2078.7183%2017.6747H79.1121V19.0309C78.9996%2019.0493%2078.7558%2019.0676%2078.512%2019.0676C77.3119%2019.0676%2076.7681%2018.6094%2076.6368%2017.5281C76.1492%2018.5361%2074.7803%2019.2509%2073.3176%2019.2509ZM73.4676%2017.8946C75.4554%2017.8946%2076.618%2016.6483%2076.618%2015.0355V14.3391L73.3926%2014.9255C72.0425%2015.1638%2071.6111%2015.6586%2071.6111%2016.4651C71.6111%2017.3814%2072.305%2017.8946%2073.4676%2017.8946Z'%20fill='%23252525'/%3e%3cpath%20d='M63.2168%2022C61.079%2022%2059.4663%2020.882%2059.0537%2019.1776L60.704%2019.0676C61.004%2019.984%2061.6791%2020.5338%2063.2168%2020.5338C65.017%2020.5338%2066.0109%2019.8373%2066.0109%2018.4078V16.8316C65.5233%2017.858%2064.3982%2018.5178%2063.1043%2018.5178C60.5727%2018.5178%2058.7725%2016.575%2058.7725%2013.8076C58.7725%2011.0401%2060.5352%209.09737%2063.0293%209.09737C64.4169%209.09737%2065.6358%209.77549%2066.0859%2010.8568V9.3173H67.5861V18.3711C67.5861%2020.6438%2065.9546%2022%2063.2168%2022ZM63.1793%2017.0515C64.8857%2017.0515%2065.9921%2015.8053%2066.0109%2013.8076C66.0484%2011.8099%2064.9045%2010.5636%2063.1793%2010.5636C61.4353%2010.5636%2060.4227%2011.8099%2060.4227%2013.8076C60.4227%2015.8053%2061.4728%2017.0515%2063.1793%2017.0515Z'%20fill='%23252525'/%3e%3cpath%20d='M56.2141%2019.0309C55.0515%2019.0309%2054.2451%2018.4811%2054.2451%2017.1982L54.2639%206.01834H55.8391V17.0699C55.8391%2017.4731%2056.0453%2017.6747%2056.4579%2017.6747H57.3205V19.0309H56.2141Z'%20fill='%23252525'/%3e%3cpath%20d='M51.0686%2019.0309C49.906%2019.0309%2049.0996%2018.4811%2049.0996%2017.1982L49.1184%206.01834H50.6936V17.0699C50.6936%2017.4731%2050.8998%2017.6747%2051.3124%2017.6747H52.175V19.0309H51.0686Z'%20fill='%23252525'/%3e%3cpath%20d='M44.5209%2019.0309V9.3173H46.0961V19.0309H44.5209ZM44.4834%207.79611V6H46.1336V7.79611H44.4834Z'%20fill='%23252525'/%3e%3cpath%20d='M32%2019.0309V6.01834H36.5756C39.726%206.01834%2041.3012%207.09967%2041.3012%209.51891C41.3012%2010.9851%2040.4198%2012.0481%2038.9384%2012.3047C40.7574%2012.5613%2041.8638%2013.7709%2041.8638%2015.4571C41.8638%2017.8213%2040.2323%2019.0309%2037.3257%2019.0309H32ZM37.3257%2017.4914C39.1447%2017.4914%2040.176%2016.74%2040.176%2015.3654C40.176%2013.9908%2039.1447%2013.1844%2037.3257%2013.1844H33.6127V17.4914H37.3257ZM36.5756%2011.6449C38.5258%2011.6449%2039.6135%2010.8935%2039.6135%209.59222C39.6135%208.21765%2038.6008%207.55786%2036.5756%207.55786H33.6127V11.6449H36.5756Z'%20fill='%23252525'/%3e%3c/svg%3e",vt=({className:e})=>{const{shopTerms:t,shopPrivacyPolicy:n,shopRefundPolicy:r}=s.useStorefrontStore();return s.jsxRuntimeExports.jsxs("footer",{className:`${Nr.checkoutFooter} ${e}`,children:[s.jsxRuntimeExports.jsxs("div",{className:Nr.footerBranding,children:[s.jsxRuntimeExports.jsx("p",{className:Nr.poweredText,id:"md",children:"Powered by"}),s.jsxRuntimeExports.jsx("img",{src:_f,alt:"Billgang"})]}),s.jsxRuntimeExports.jsx("nav",{children:s.jsxRuntimeExports.jsxs("ul",{className:Nr.footerNav,children:[(t==null?void 0:t.showTermsOfServiceOnProduct)&&s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("a",{href:t.termsOfService,target:"_blank",rel:"noopener noreferrer",children:"Terms"})}),(n==null?void 0:n.showPrivacyPolicyOnProduct)&&s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("a",{href:n.privacyPolicy,target:"_blank",rel:"noopener noreferrer",children:"Privacy"})}),(r==null?void 0:r.showRefundPolicyOnProduct)&&s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("a",{href:r.refundPolicy,target:"_blank",rel:"noopener noreferrer",children:"Refund"})})]})})]})},Tf="_checkoutHeader_d2mbf_1",Cf="_leftContainer_d2mbf_20",Sf="_backArrow_d2mbf_26",yf="_logoContainer_d2mbf_38",Rf="_logo_d2mbf_38",Hn={checkoutHeader:Tf,leftContainer:Cf,backArrow:Sf,logoContainer:yf,logo:Rf},kf="_activeBadge_1yb5i_1",Af="_activeBadgeText_1yb5i_12",qi={activeBadge:kf,activeBadgeText:Af},Nf=({className:e})=>s.jsxRuntimeExports.jsxs("div",{className:s.clx(qi.activeBadge,e),children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Check",width:20,height:20}),s.jsxRuntimeExports.jsx("p",{className:qi.activeBadgeText,children:"Active"})]}),If="_timerContainer_105jf_2",wf="_timerText_105jf_12",Vi={timerContainer:If,timerText:wf},jf=({expiresAt:e})=>{const[t,n]=k.useState(r());function r(){const i=new Date,a=new Date(e).getTime()-i.getTime();if(a<=0)return{hours:"00",minutes:"00",seconds:"00"};const o=Math.floor(a/(1e3*60*60)),u=Math.floor(a%(1e3*60*60)/(1e3*60)),c=Math.floor(a%(1e3*60)/1e3);return{hours:String(o).padStart(2,"0"),minutes:String(u).padStart(2,"0"),seconds:String(c).padStart(2,"0")}}return k.useEffect(()=>{const i=setInterval(()=>{n(r())},1e3);return()=>clearInterval(i)},[e]),t.hours==="00"&&t.minutes==="00"&&t.seconds==="00"?null:s.jsxRuntimeExports.jsxs("div",{className:Vi.timerContainer,children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Clock"}),s.jsxRuntimeExports.jsxs("p",{className:Vi.timerText,id:"md",children:[t.hours,":",t.minutes,":",t.seconds]})]})},Lf="_progressBar_mcabf_4",vf="_progressBarLabel_mcabf_12",Pf="_progressBarTrack_mcabf_17",Of="_progressBarFill_mcabf_28",Ir={progressBar:Lf,progressBarLabel:vf,progressBarTrack:Pf,progressBarFill:Of},go=({color:e,percent:t,disablePercentLabel:n})=>s.jsxRuntimeExports.jsxs("div",{className:Ir.progressBar,children:[!n&&s.jsxRuntimeExports.jsxs("p",{className:Ir.progressBarLabel,children:[t,"%"]}),s.jsxRuntimeExports.jsx("div",{className:Ir.progressBarTrack,children:s.jsxRuntimeExports.jsx("div",{style:{width:`${t}%`,background:e||void 0},className:Ir.progressBarFill})})]}),Df="_rating_1bpps_4",Mf="_disabled_1bpps_9",Bf="_ratingStar_1bpps_14",Ff="_inactive_1bpps_22",wr={rating:Df,disabled:Mf,ratingStar:Bf,inactive:Ff},Hf=({setRating:e,rating:t,disabled:n})=>{const[r,i]=k.useState(0),a=u=>{n||i(+u.currentTarget.id)},o=u=>{n||e(u)};return s.jsxRuntimeExports.jsx("div",{className:s.clx(wr.rating,{[wr.disabled]:n}),onMouseLeave:()=>i(0),children:[1,2,3,4,5].map(u=>s.jsxRuntimeExports.jsx("div",{id:u.toString(),className:s.clx(wr.ratingStar,{[wr.inactive]:!(t>=u||r>=u)}),onMouseEnter:a,onClick:()=>o(u),children:t>=u||r>=u?s.jsxRuntimeExports.jsx(s.FilledStar,{}):s.jsxRuntimeExports.jsx(s.Icon,{name:"Star",fill:"var(--text-secondary)",width:22,height:21})},u))})},Uf="_inputRange_iv6ow_4",$f="_inputRangeLabel_iv6ow_14",zf="_progressBar_iv6ow_22",Wf="_progressBarFill_iv6ow_29",qf="_stepsContainer_iv6ow_40",Vf="_step_iv6ow_40",Yf="_stepDot_iv6ow_57",Gf="_current_iv6ow_61",Xf="_active_iv6ow_69",Qf="_inactive_iv6ow_72",Kf="_tooltip_iv6ow_77",Ze={inputRange:Uf,inputRangeLabel:$f,progressBar:zf,progressBarFill:Wf,stepsContainer:qf,step:Vf,stepDot:Yf,current:Gf,default:"_default_iv6ow_65",active:Xf,inactive:Qf,tooltip:Kf},Zf=({totalSteps:e,step:t,onStepChange:n,label:r})=>{const[i,a]=k.useState(t),o=i===1?0:(i-1)/(e-1)*100,u=c=>{a(c),n(c)};return s.jsxRuntimeExports.jsxs("div",{className:Ze.inputRange,children:[r&&s.jsxRuntimeExports.jsx("div",{className:Ze.inputRangeLabel,children:r}),s.jsxRuntimeExports.jsxs("div",{className:Ze.progressBar,children:[s.jsxRuntimeExports.jsx("div",{className:Ze.progressBarFill,style:{width:`${Math.ceil(o)}%`}}),s.jsxRuntimeExports.jsx("div",{className:Ze.stepsContainer,children:[...Array(e)].map((c,d)=>{const m=d+1,h=m<=i,f=m===i;return s.jsxRuntimeExports.jsxs("div",{className:Ze.step,onClick:()=>u(m),children:[s.jsxRuntimeExports.jsx("div",{className:s.clx(Ze.stepDot,f?Ze.current:Ze.default,h?Ze.active:Ze.inactive)}),f&&s.jsxRuntimeExports.jsxs("div",{className:Ze.tooltip,style:{transform:`translateX(calc(50% - ${o<99?"40px":"70px"}))`},children:[s.jsxRuntimeExports.jsx("span",{children:i}),s.jsxRuntimeExports.jsx("span",{children:i===1?"month":"months"})]})]},m)})})]})]})},lr=({className:e,expiresAt:t})=>{const{shopGeneral:n}=s.useStorefrontStore(),r=s.useNavigate();return s.jsxRuntimeExports.jsxs("header",{className:`${Hn.checkoutHeader} ${e}`,children:[s.jsxRuntimeExports.jsxs("div",{className:Hn.leftContainer,children:[s.jsxRuntimeExports.jsx("div",{className:Hn.backArrow,onClick:()=>{window.history.length>2?r(-1):r("/")},children:s.jsxRuntimeExports.jsx(s.Icon,{name:"ArrowUp"})}),(n==null?void 0:n.info.logo)&&s.jsxRuntimeExports.jsx("div",{className:Hn.logoContainer,children:s.jsxRuntimeExports.jsx("img",{className:Hn.logo,src:s.convertCfImageIdToUrl(n.info.logo.cfId)})})]}),t&&s.jsxRuntimeExports.jsx(jf,{expiresAt:t})]})},Jf="_checkoutPrices_vp75r_1",e1="_priceRow_vp75r_12",t1="_label_vp75r_22",n1="_totalRow_vp75r_26",r1="_totalLabel_vp75r_37",s1="_totalValue_vp75r_42",gt={checkoutPrices:Jf,priceRow:e1,label:t1,totalRow:n1,totalLabel:r1,totalValue:s1},cr=({formatter:e,coupon:t,discount:n,totalWithDiscount:r,total:i,className:a,isShowSubtotal:o=!0,feeOrDiscount:u})=>{const c=Math.max(0,n),{priceAdjusment:d}=s.useCartStore(),h=(()=>{const f=r!==void 0?r:i-c;return!d||u===null||u===void 0?Math.max(f,0):d.isDiscount?Math.max(f-u,0):Math.max(f+u,0)})();return s.jsxRuntimeExports.jsxs("div",{className:`${gt.checkoutPrices} ${a||""}`,children:[o&&s.jsxRuntimeExports.jsxs("div",{className:gt.priceRow,children:[s.jsxRuntimeExports.jsx("p",{className:gt.label,id:"md",children:"Subtotal"}),s.jsxRuntimeExports.jsx("p",{id:"md",children:e.format(i)})]}),(t||c>0)&&s.jsxRuntimeExports.jsxs("div",{className:gt.priceRow,children:[s.jsxRuntimeExports.jsxs("p",{className:gt.label,id:"md",children:["Discount ",t&&!(t!=null&&t.isFixed)&&`(${t==null?void 0:t.discount}%)`]}),s.jsxRuntimeExports.jsx("p",{id:"md",children:t&&!(t!=null&&t.isFixed)&&(t==null?void 0:t.discount)===100?`-${e.format(i)}`:`-${e.format(c)}`})]}),u!=null&&u!==0&&d&&(d.fixedAmount!==0||d.percentage!==0)&&s.jsxRuntimeExports.jsxs("div",{className:gt.priceRow,children:[s.jsxRuntimeExports.jsxs("p",{className:gt.label,id:"md-bold",children:[d.isDiscount?"Discount: ":"Fee: ",d.percentage!==0&&d.fixedAmount===0&&`(${d.percentage}%)`,d.fixedAmount!==0&&d.percentage===0&&`(${e.format(d.fixedAmount)})`,d.percentage!==0&&d.fixedAmount!==0&&`(${d.percentage}% + ${e.format(d.fixedAmount)})`]}),s.jsxRuntimeExports.jsx("p",{id:"md-bold",children:e.format(u)})]}),s.jsxRuntimeExports.jsxs("div",{className:gt.totalRow,children:[s.jsxRuntimeExports.jsx("p",{className:gt.totalLabel,id:"md-bold",children:"Total Due"}),s.jsxRuntimeExports.jsx("p",{className:gt.totalValue,id:"md-bold",children:e.format(h)})]})]})},i1="_checkoutProduct_1nxq7_1",a1="_isOrder_1nxq7_1",o1="_productDetails_1nxq7_10",u1="_productImage_1nxq7_16",l1="_isOrderImage_1nxq7_26",c1="_image_1nxq7_30",d1="_productInfo_1nxq7_35",h1="_productHeader_1nxq7_40",m1="_quantityBadge_1nxq7_46",p1="_productDescription_1nxq7_57",f1="_productPrice_1nxq7_64",x1="_deliveryCategories_1nxq7_73",g1="_customerNote_1nxq7_81",E1="_noteHeader_1nxq7_88",b1="_logoContainer_1nxq7_94",_1="_shopName_1nxq7_106",T1="_noteContent_1nxq7_110",C1="_productName_1nxq7_116",S1="_link_1nxq7_121",Ne={checkoutProduct:i1,isOrder:a1,productDetails:o1,productImage:u1,isOrderImage:l1,image:c1,productInfo:d1,productHeader:h1,quantityBadge:m1,productDescription:p1,productPrice:f1,deliveryCategories:x1,customerNote:g1,noteHeader:E1,logoContainer:b1,shopName:_1,noteContent:T1,productName:C1,link:S1};function Yi(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);const o=n.slice(i,r).trim();(o||!a)&&t.push(o),i=r+1,r=n.indexOf(",",i)}return t}function Eo(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const y1=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,R1=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,k1={};function Gi(e,t){return(k1.jsx?R1:y1).test(e)}const A1=/[ \t\n\f\r]/g;function N1(e){return typeof e=="object"?e.type==="text"?Xi(e.value):!1:Xi(e)}function Xi(e){return e.replace(A1,"")===""}let dr=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};dr.prototype.normal={};dr.prototype.property={};dr.prototype.space=void 0;function bo(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new dr(n,r,t)}function rr(e){return e.toLowerCase()}let Ye=class{constructor(t,n){this.attribute=n,this.property=t}};Ye.prototype.attribute="";Ye.prototype.booleanish=!1;Ye.prototype.boolean=!1;Ye.prototype.commaOrSpaceSeparated=!1;Ye.prototype.commaSeparated=!1;Ye.prototype.defined=!1;Ye.prototype.mustUseProperty=!1;Ye.prototype.number=!1;Ye.prototype.overloadedBoolean=!1;Ye.prototype.property="";Ye.prototype.spaceSeparated=!1;Ye.prototype.space=void 0;let I1=0;const se=on(),Ie=on(),_o=on(),B=on(),_e=on(),bn=on(),Xe=on();function on(){return 2**++I1}const Gs=Object.freeze(Object.defineProperty({__proto__:null,boolean:se,booleanish:Ie,commaOrSpaceSeparated:Xe,commaSeparated:bn,number:B,overloadedBoolean:_o,spaceSeparated:_e},Symbol.toStringTag,{value:"Module"})),Rs=Object.keys(Gs);let di=class extends Ye{constructor(t,n,r,i){let a=-1;if(super(t,n),Qi(this,"space",i),typeof r=="number")for(;++a<Rs.length;){const o=Rs[a];Qi(this,Rs[a],(r&Gs[o])===Gs[o])}}};di.prototype.defined=!0;function Qi(e,t,n){n&&(e[t]=n)}function Rn(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new di(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[rr(r)]=r,n[rr(a.attribute)]=r}return new dr(t,n,e.space)}const To=Rn({properties:{ariaActiveDescendant:null,ariaAtomic:Ie,ariaAutoComplete:null,ariaBusy:Ie,ariaChecked:Ie,ariaColCount:B,ariaColIndex:B,ariaColSpan:B,ariaControls:_e,ariaCurrent:null,ariaDescribedBy:_e,ariaDetails:null,ariaDisabled:Ie,ariaDropEffect:_e,ariaErrorMessage:null,ariaExpanded:Ie,ariaFlowTo:_e,ariaGrabbed:Ie,ariaHasPopup:null,ariaHidden:Ie,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:_e,ariaLevel:B,ariaLive:null,ariaModal:Ie,ariaMultiLine:Ie,ariaMultiSelectable:Ie,ariaOrientation:null,ariaOwns:_e,ariaPlaceholder:null,ariaPosInSet:B,ariaPressed:Ie,ariaReadOnly:Ie,ariaRelevant:null,ariaRequired:Ie,ariaRoleDescription:_e,ariaRowCount:B,ariaRowIndex:B,ariaRowSpan:B,ariaSelected:Ie,ariaSetSize:B,ariaSort:null,ariaValueMax:B,ariaValueMin:B,ariaValueNow:B,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Co(e,t){return t in e?e[t]:t}function So(e,t){return Co(e,t.toLowerCase())}const w1=Rn({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:bn,acceptCharset:_e,accessKey:_e,action:null,allow:null,allowFullScreen:se,allowPaymentRequest:se,allowUserMedia:se,alt:null,as:null,async:se,autoCapitalize:null,autoComplete:_e,autoFocus:se,autoPlay:se,blocking:_e,capture:null,charSet:null,checked:se,cite:null,className:_e,cols:B,colSpan:null,content:null,contentEditable:Ie,controls:se,controlsList:_e,coords:B|bn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:se,defer:se,dir:null,dirName:null,disabled:se,download:_o,draggable:Ie,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:se,formTarget:null,headers:_e,height:B,hidden:se,high:B,href:null,hrefLang:null,htmlFor:_e,httpEquiv:_e,id:null,imageSizes:null,imageSrcSet:null,inert:se,inputMode:null,integrity:null,is:null,isMap:se,itemId:null,itemProp:_e,itemRef:_e,itemScope:se,itemType:_e,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:se,low:B,manifest:null,max:null,maxLength:B,media:null,method:null,min:null,minLength:B,multiple:se,muted:se,name:null,nonce:null,noModule:se,noValidate:se,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:se,optimum:B,pattern:null,ping:_e,placeholder:null,playsInline:se,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:se,referrerPolicy:null,rel:_e,required:se,reversed:se,rows:B,rowSpan:B,sandbox:_e,scope:null,scoped:se,seamless:se,selected:se,shadowRootClonable:se,shadowRootDelegatesFocus:se,shadowRootMode:null,shape:null,size:B,sizes:null,slot:null,span:B,spellCheck:Ie,src:null,srcDoc:null,srcLang:null,srcSet:null,start:B,step:null,style:null,tabIndex:B,target:null,title:null,translate:null,type:null,typeMustMatch:se,useMap:null,value:Ie,width:B,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:_e,axis:null,background:null,bgColor:null,border:B,borderColor:null,bottomMargin:B,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:se,declare:se,event:null,face:null,frame:null,frameBorder:null,hSpace:B,leftMargin:B,link:null,longDesc:null,lowSrc:null,marginHeight:B,marginWidth:B,noResize:se,noHref:se,noShade:se,noWrap:se,object:null,profile:null,prompt:null,rev:null,rightMargin:B,rules:null,scheme:null,scrolling:Ie,standby:null,summary:null,text:null,topMargin:B,valueType:null,version:null,vAlign:null,vLink:null,vSpace:B,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:se,disableRemotePlayback:se,prefix:null,property:null,results:B,security:null,unselectable:null},space:"html",transform:So}),j1=Rn({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Xe,accentHeight:B,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:B,amplitude:B,arabicForm:null,ascent:B,attributeName:null,attributeType:null,azimuth:B,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:B,by:null,calcMode:null,capHeight:B,className:_e,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:B,diffuseConstant:B,direction:null,display:null,dur:null,divisor:B,dominantBaseline:null,download:se,dx:null,dy:null,edgeMode:null,editable:null,elevation:B,enableBackground:null,end:null,event:null,exponent:B,externalResourcesRequired:null,fill:null,fillOpacity:B,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:bn,g2:bn,glyphName:bn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:B,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:B,horizOriginX:B,horizOriginY:B,id:null,ideographic:B,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:B,k:B,k1:B,k2:B,k3:B,k4:B,kernelMatrix:Xe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:B,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:B,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:B,overlineThickness:B,paintOrder:null,panose1:null,path:null,pathLength:B,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:_e,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:B,pointsAtY:B,pointsAtZ:B,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Xe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Xe,rev:Xe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Xe,requiredFeatures:Xe,requiredFonts:Xe,requiredFormats:Xe,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:B,specularExponent:B,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:B,strikethroughThickness:B,string:null,stroke:null,strokeDashArray:Xe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:B,strokeOpacity:B,strokeWidth:null,style:null,surfaceScale:B,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Xe,tabIndex:B,tableValues:null,target:null,targetX:B,targetY:B,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Xe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:B,underlineThickness:B,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:B,values:null,vAlphabetic:B,vMathematical:B,vectorEffect:null,vHanging:B,vIdeographic:B,version:null,vertAdvY:B,vertOriginX:B,vertOriginY:B,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:B,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Co}),yo=Rn({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Ro=Rn({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:So}),ko=Rn({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),L1={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},v1=/[A-Z]/g,Ki=/-[a-z]/g,P1=/^data[-\w.:]+$/i;function hi(e,t){const n=rr(t);let r=t,i=Ye;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&P1.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(Ki,D1);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!Ki.test(a)){let o=a.replace(v1,O1);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=di}return new i(r,t)}function O1(e){return"-"+e.toLowerCase()}function D1(e){return e.charAt(1).toUpperCase()}const Kr=bo([To,w1,yo,Ro,ko],"html"),kn=bo([To,j1,yo,Ro,ko],"svg");function Zi(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Ao(e){return e.join(" ").trim()}var No={},Ji=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,M1=/\n/g,B1=/^\s*/,F1=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,H1=/^:\s*/,U1=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,$1=/^[;\s]*/,z1=/^\s+|\s+$/g,W1=`
|
|
103
|
-
`,ea="/",ta="*",nn="",q1="comment",V1="declaration",Y1=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(x){var g=x.match(M1);g&&(n+=g.length);var C=x.lastIndexOf(W1);r=~C?x.length-C:r+x.length}function a(){var x={line:n,column:r};return function(g){return g.position=new o(x),d(),g}}function o(x){this.start=x,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function u(x){var g=new Error(t.source+":"+n+":"+r+": "+x);if(g.reason=x,g.filename=t.source,g.line=n,g.column=r,g.source=e,!t.silent)throw g}function c(x){var g=x.exec(e);if(g){var C=g[0];return i(C),e=e.slice(C.length),g}}function d(){c(B1)}function m(x){var g;for(x=x||[];g=h();)g!==!1&&x.push(g);return x}function h(){var x=a();if(!(ea!=e.charAt(0)||ta!=e.charAt(1))){for(var g=2;nn!=e.charAt(g)&&(ta!=e.charAt(g)||ea!=e.charAt(g+1));)++g;if(g+=2,nn===e.charAt(g-1))return u("End of comment missing");var C=e.slice(2,g-2);return r+=2,i(C),e=e.slice(g),r+=2,x({type:q1,comment:C})}}function f(){var x=a(),g=c(F1);if(g){if(h(),!c(H1))return u("property missing ':'");var C=c(U1),b=x({type:V1,property:na(g[0].replace(Ji,nn)),value:C?na(C[0].replace(Ji,nn)):nn});return c($1),b}}function p(){var x=[];m(x);for(var g;g=f();)g!==!1&&(x.push(g),m(x));return x}return d(),p()};function na(e){return e?e.replace(z1,nn):nn}var G1=s.commonjsGlobal&&s.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(No,"__esModule",{value:!0});var ra=No.default=Q1,X1=G1(Y1);function Q1(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,X1.default)(e),i=typeof t=="function";return r.forEach(function(a){if(a.type==="declaration"){var o=a.property,u=a.value;i?t(o,u,a):u&&(n=n||{},n[o]=u)}}),n}const K1=ra.default||ra,Zr=Io("end"),St=Io("start");function Io(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Z1(e){const t=St(e),n=Zr(e);if(t&&n)return{start:t,end:n}}function Gn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?sa(e.position):"start"in e||"end"in e?sa(e):"line"in e||"column"in e?Xs(e):""}function Xs(e){return ia(e&&e.line)+":"+ia(e&&e.column)}function sa(e){return Xs(e&&e.start)+"-"+Xs(e&&e.end)}function ia(e){return e&&typeof e=="number"?e:1}class Fe extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},o=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(o=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const c=r.indexOf(":");c===-1?a.ruleId=r:(a.source=r.slice(0,c),a.ruleId=r.slice(c+1))}if(!a.place&&a.ancestors&&a.ancestors){const c=a.ancestors[a.ancestors.length-1];c&&(a.place=c.position)}const u=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=u?u.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=u?u.line:void 0,this.name=Gn(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}Fe.prototype.file="";Fe.prototype.name="";Fe.prototype.reason="";Fe.prototype.message="";Fe.prototype.stack="";Fe.prototype.column=void 0;Fe.prototype.line=void 0;Fe.prototype.ancestors=void 0;Fe.prototype.cause=void 0;Fe.prototype.fatal=void 0;Fe.prototype.place=void 0;Fe.prototype.ruleId=void 0;Fe.prototype.source=void 0;const mi={}.hasOwnProperty,J1=new Map,e2=/[A-Z]/g,t2=/-([a-z])/g,n2=new Set(["table","tbody","thead","tfoot","tr"]),r2=new Set(["td","th"]),wo="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function s2(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=h2(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=d2(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?kn:Kr,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=jo(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function jo(e,t,n){if(t.type==="element")return i2(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return a2(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return u2(e,t,n);if(t.type==="mdxjsEsm")return o2(e,t);if(t.type==="root")return l2(e,t,n);if(t.type==="text")return c2(e,t)}function i2(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=kn,e.schema=i),e.ancestors.push(t);const a=vo(e,t.tagName,!1),o=m2(e,t);let u=fi(e,t);return n2.has(t.tagName)&&(u=u.filter(function(c){return typeof c=="string"?!N1(c):!0})),Lo(e,o,a,t),pi(o,u),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function a2(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}sr(e,t.position)}function o2(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);sr(e,t.position)}function u2(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=kn,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:vo(e,t.name,!0),o=p2(e,t),u=fi(e,t);return Lo(e,o,a,t),pi(o,u),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function l2(e,t,n){const r={};return pi(r,fi(e,t)),e.create(t,e.Fragment,r,n)}function c2(e,t){return t.value}function Lo(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function pi(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function d2(e,t,n){return r;function r(i,a,o,u){const d=Array.isArray(o.children)?n:t;return u?d(a,o,u):d(a,o)}}function h2(e,t){return n;function n(r,i,a,o){const u=Array.isArray(a.children),c=St(r);return t(i,a,o,u,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function m2(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&mi.call(t.properties,i)){const a=f2(e,i,t.properties[i]);if(a){const[o,u]=a;e.tableCellAlignToStyle&&o==="align"&&typeof u=="string"&&r2.has(t.tagName)?r=u:n[o]=u}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function p2(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const o=a.expression;o.type;const u=o.properties[0];u.type,Object.assign(n,e.evaluater.evaluateExpression(u.argument))}else sr(e,t.position);else{const i=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const u=r.value.data.estree.body[0];u.type,a=e.evaluater.evaluateExpression(u.expression)}else sr(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function fi(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:J1;for(;++r<t.children.length;){const a=t.children[r];let o;if(e.passKeys){const c=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(c){const d=i.get(c)||0;o=c+"-"+d,i.set(c,d+1)}}const u=jo(e,a,o);u!==void 0&&n.push(u)}return n}function f2(e,t,n){const r=hi(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Eo(n):Ao(n)),r.property==="style"){let i=typeof n=="object"?n:x2(e,String(n));return e.stylePropertyNameCase==="css"&&(i=g2(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?L1[r.property]||r.property:r.attribute,n]}}function x2(e,t){const n={};try{K1(t,r)}catch(i){if(!e.ignoreInvalidStyle){const a=i,o=new Fe("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:a,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=e.filePath||void 0,o.url=wo+"#cannot-parse-style-attribute",o}}return n;function r(i,a){let o=i;o.slice(0,2)!=="--"&&(o.slice(0,4)==="-ms-"&&(o="ms-"+o.slice(4)),o=o.replace(t2,b2)),n[o]=a}}function vo(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,o;for(;++a<i.length;){const u=Gi(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};o=o?{type:"MemberExpression",object:o,property:u,computed:!!(a&&u.type==="Literal"),optional:!1}:u}r=o}else r=Gi(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return mi.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);sr(e)}function sr(e,t){const n=new Fe("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=wo+"#cannot-handle-mdx-estrees-without-createevaluater",n}function g2(e){const t={};let n;for(n in e)mi.call(e,n)&&(t[E2(n)]=e[n]);return t}function E2(e){let t=e.replace(e2,_2);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function b2(e,t){return t.toUpperCase()}function _2(e){return"-"+e.toLowerCase()}const ks={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},T2={};function xi(e,t){const n=T2,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Po(e,r,i)}function Po(e,t,n){if(C2(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return aa(e.children,t,n)}return Array.isArray(e)?aa(e,t,n):""}function aa(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Po(e[i],t,n);return r.join("")}function C2(e){return!!(e&&typeof e=="object")}const oa=document.createElement("i");function gi(e){const t="&"+e+";";oa.innerHTML=t;const n=oa.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Ke(e,t,n,r){const i=e.length;let a=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function tt(e,t){return e.length>0?(Ke(e,e.length,0,t),e):t}const ua={}.hasOwnProperty;function Oo(e){const t={};let n=-1;for(;++n<e.length;)S2(t,e[n]);return t}function S2(e,t){let n;for(n in t){const i=(ua.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let o;if(a)for(o in a){ua.call(i,o)||(i[o]=[]);const u=a[o];y2(i[o],Array.isArray(u)?u:u?[u]:[])}}}function y2(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Ke(e,0,0,r)}function Do(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function mt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ze=Yt(/[A-Za-z]/),Be=Yt(/[\dA-Za-z]/),R2=Yt(/[#-'*+\--9=?A-Z^-~]/);function qr(e){return e!==null&&(e<32||e===127)}const Qs=Yt(/\d/),k2=Yt(/[\dA-Fa-f]/),A2=Yt(/[!-/:-@[-`{-~]/);function Z(e){return e!==null&&e<-2}function be(e){return e!==null&&(e<0||e===32)}function de(e){return e===-2||e===-1||e===32}const Jr=Yt(new RegExp("\\p{P}|\\p{S}","u")),an=Yt(/\s/);function Yt(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function An(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let o="";if(a===37&&Be(e.charCodeAt(n+1))&&Be(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){const u=e.charCodeAt(n+1);a<56320&&u>56319&&u<57344?(o=String.fromCharCode(a,u),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function pe(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return o;function o(c){return de(c)?(e.enter(n),u(c)):t(c)}function u(c){return de(c)&&a++<i?(e.consume(c),u):(e.exit(n),t(c))}}const N2={tokenize:I2};function I2(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),pe(e,t,"linePrefix")}function i(u){return e.enter("paragraph"),a(u)}function a(u){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,o(u)}function o(u){if(u===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(u);return}return Z(u)?(e.consume(u),e.exit("chunkText"),a):(e.consume(u),o)}}const w2={tokenize:j2},la={tokenize:L2};function j2(e){const t=this,n=[];let r=0,i,a,o;return u;function u(y){if(r<n.length){const P=n[r];return t.containerState=P[1],e.attempt(P[0].continuation,c,d)(y)}return d(y)}function c(y){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&A();const P=t.events.length;let j=P,N;for(;j--;)if(t.events[j][0]==="exit"&&t.events[j][1].type==="chunkFlow"){N=t.events[j][1].end;break}b(r);let q=P;for(;q<t.events.length;)t.events[q][1].end={...N},q++;return Ke(t.events,j+1,0,t.events.slice(P)),t.events.length=q,d(y)}return u(y)}function d(y){if(r===n.length){if(!i)return f(y);if(i.currentConstruct&&i.currentConstruct.concrete)return x(y);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(la,m,h)(y)}function m(y){return i&&A(),b(r),f(y)}function h(y){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,x(y)}function f(y){return t.containerState={},e.attempt(la,p,x)(y)}function p(y){return r++,n.push([t.currentConstruct,t.containerState]),f(y)}function x(y){if(y===null){i&&A(),b(0),e.consume(y);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),g(y)}function g(y){if(y===null){C(e.exit("chunkFlow"),!0),b(0),e.consume(y);return}return Z(y)?(e.consume(y),C(e.exit("chunkFlow")),r=0,t.interrupt=void 0,u):(e.consume(y),g)}function C(y,P){const j=t.sliceStream(y);if(P&&j.push(null),y.previous=a,a&&(a.next=y),a=y,i.defineSkip(y.start),i.write(j),t.parser.lazy[y.start.line]){let N=i.events.length;for(;N--;)if(i.events[N][1].start.offset<o&&(!i.events[N][1].end||i.events[N][1].end.offset>o))return;const q=t.events.length;let V=q,Q,w;for(;V--;)if(t.events[V][0]==="exit"&&t.events[V][1].type==="chunkFlow"){if(Q){w=t.events[V][1].end;break}Q=!0}for(b(r),N=q;N<t.events.length;)t.events[N][1].end={...w},N++;Ke(t.events,V+1,0,t.events.slice(q)),t.events.length=N}}function b(y){let P=n.length;for(;P-- >y;){const j=n[P];t.containerState=j[1],j[0].exit.call(t,e)}n.length=y}function A(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function L2(e,t,n){return pe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Cn(e){if(e===null||be(e)||an(e))return 1;if(Jr(e))return 2}function es(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const Ks={name:"attention",resolveAll:v2,tokenize:P2};function v2(e,t){let n=-1,r,i,a,o,u,c,d,m;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const h={...e[r][1].end},f={...e[n][1].start};ca(h,-c),ca(f,c),o={type:c>1?"strongSequence":"emphasisSequence",start:h,end:{...e[r][1].end}},u={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:f},a={type:c>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?"strong":"emphasis",start:{...o.start},end:{...u.end}},e[r][1].end={...o.start},e[n][1].start={...u.end},d=[],e[r][1].end.offset-e[r][1].start.offset&&(d=tt(d,[["enter",e[r][1],t],["exit",e[r][1],t]])),d=tt(d,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),d=tt(d,es(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),d=tt(d,[["exit",a,t],["enter",u,t],["exit",u,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(m=2,d=tt(d,[["enter",e[n][1],t],["exit",e[n][1],t]])):m=0,Ke(e,r-1,n-r+3,d),n=r+d.length-m-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function P2(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Cn(r);let a;return o;function o(c){return a=c,e.enter("attentionSequence"),u(c)}function u(c){if(c===a)return e.consume(c),u;const d=e.exit("attentionSequence"),m=Cn(c),h=!m||m===2&&i||n.includes(c),f=!i||i===2&&m||n.includes(r);return d._open=!!(a===42?h:h&&(i||!f)),d._close=!!(a===42?f:f&&(m||!h)),t(c)}}function ca(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const O2={name:"autolink",tokenize:D2};function D2(e,t,n){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(p){return ze(p)?(e.consume(p),o):p===64?n(p):d(p)}function o(p){return p===43||p===45||p===46||Be(p)?(r=1,u(p)):d(p)}function u(p){return p===58?(e.consume(p),r=0,c):(p===43||p===45||p===46||Be(p))&&r++<32?(e.consume(p),u):(r=0,d(p))}function c(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||qr(p)?n(p):(e.consume(p),c)}function d(p){return p===64?(e.consume(p),m):R2(p)?(e.consume(p),d):n(p)}function m(p){return Be(p)?h(p):n(p)}function h(p){return p===46?(e.consume(p),r=0,m):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):f(p)}function f(p){if((p===45||Be(p))&&r++<63){const x=p===45?f:h;return e.consume(p),x}return n(p)}}const hr={partial:!0,tokenize:M2};function M2(e,t,n){return r;function r(a){return de(a)?pe(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||Z(a)?t(a):n(a)}}const Mo={continuation:{tokenize:F2},exit:H2,name:"blockQuote",tokenize:B2};function B2(e,t,n){const r=this;return i;function i(o){if(o===62){const u=r.containerState;return u.open||(e.enter("blockQuote",{_container:!0}),u.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),a}return n(o)}function a(o){return de(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function F2(e,t,n){const r=this;return i;function i(o){return de(o)?pe(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):a(o)}function a(o){return e.attempt(Mo,t,n)(o)}}function H2(e){e.exit("blockQuote")}const Bo={name:"characterEscape",tokenize:U2};function U2(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return A2(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const Fo={name:"characterReference",tokenize:$2};function $2(e,t,n){const r=this;let i=0,a,o;return u;function u(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),c}function c(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),d):(e.enter("characterReferenceValue"),a=31,o=Be,m(h))}function d(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=k2,m):(e.enter("characterReferenceValue"),a=7,o=Qs,m(h))}function m(h){if(h===59&&i){const f=e.exit("characterReferenceValue");return o===Be&&!gi(r.sliceSerialize(f))?n(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(h)&&i++<a?(e.consume(h),m):n(h)}}const da={partial:!0,tokenize:W2},ha={concrete:!0,name:"codeFenced",tokenize:z2};function z2(e,t,n){const r=this,i={partial:!0,tokenize:j};let a=0,o=0,u;return c;function c(N){return d(N)}function d(N){const q=r.events[r.events.length-1];return a=q&&q[1].type==="linePrefix"?q[2].sliceSerialize(q[1],!0).length:0,u=N,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),m(N)}function m(N){return N===u?(o++,e.consume(N),m):o<3?n(N):(e.exit("codeFencedFenceSequence"),de(N)?pe(e,h,"whitespace")(N):h(N))}function h(N){return N===null||Z(N)?(e.exit("codeFencedFence"),r.interrupt?t(N):e.check(da,g,P)(N)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(N))}function f(N){return N===null||Z(N)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(N)):de(N)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),pe(e,p,"whitespace")(N)):N===96&&N===u?n(N):(e.consume(N),f)}function p(N){return N===null||Z(N)?h(N):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),x(N))}function x(N){return N===null||Z(N)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(N)):N===96&&N===u?n(N):(e.consume(N),x)}function g(N){return e.attempt(i,P,C)(N)}function C(N){return e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),b}function b(N){return a>0&&de(N)?pe(e,A,"linePrefix",a+1)(N):A(N)}function A(N){return N===null||Z(N)?e.check(da,g,P)(N):(e.enter("codeFlowValue"),y(N))}function y(N){return N===null||Z(N)?(e.exit("codeFlowValue"),A(N)):(e.consume(N),y)}function P(N){return e.exit("codeFenced"),t(N)}function j(N,q,V){let Q=0;return w;function w(z){return N.enter("lineEnding"),N.consume(z),N.exit("lineEnding"),$}function $(z){return N.enter("codeFencedFence"),de(z)?pe(N,M,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(z):M(z)}function M(z){return z===u?(N.enter("codeFencedFenceSequence"),H(z)):V(z)}function H(z){return z===u?(Q++,N.consume(z),H):Q>=o?(N.exit("codeFencedFenceSequence"),de(z)?pe(N,Y,"whitespace")(z):Y(z)):V(z)}function Y(z){return z===null||Z(z)?(N.exit("codeFencedFence"),q(z)):V(z)}}}function W2(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const As={name:"codeIndented",tokenize:V2},q2={partial:!0,tokenize:Y2};function V2(e,t,n){const r=this;return i;function i(d){return e.enter("codeIndented"),pe(e,a,"linePrefix",5)(d)}function a(d){const m=r.events[r.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?o(d):n(d)}function o(d){return d===null?c(d):Z(d)?e.attempt(q2,o,c)(d):(e.enter("codeFlowValue"),u(d))}function u(d){return d===null||Z(d)?(e.exit("codeFlowValue"),o(d)):(e.consume(d),u)}function c(d){return e.exit("codeIndented"),t(d)}}function Y2(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):Z(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):pe(e,a,"linePrefix",5)(o)}function a(o){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(o):Z(o)?i(o):n(o)}}const G2={name:"codeText",previous:Q2,resolve:X2,tokenize:K2};function X2(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Q2(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function K2(e,t,n){let r=0,i,a;return o;function o(h){return e.enter("codeText"),e.enter("codeTextSequence"),u(h)}function u(h){return h===96?(e.consume(h),r++,u):(e.exit("codeTextSequence"),c(h))}function c(h){return h===null?n(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),c):h===96?(a=e.enter("codeTextSequence"),i=0,m(h)):Z(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("codeTextData"),d(h))}function d(h){return h===null||h===32||h===96||Z(h)?(e.exit("codeTextData"),c(h)):(e.consume(h),d)}function m(h){return h===96?(e.consume(h),i++,m):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(a.type="codeTextData",d(h))}}class Z2{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Un(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Un(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Un(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Un(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Un(this.left,n.reverse())}}}function Un(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Ho(e){const t={};let n=-1,r,i,a,o,u,c,d;const m=new Z2(e);for(;++n<m.length;){for(;n in t;)n=t[n];if(r=m.get(n),n&&r[1].type==="chunkFlow"&&m.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type==="lineEndingBlank"&&(a+=2),a<c.length&&c[a][1].type==="content"))for(;++a<c.length&&c[a][1].type!=="content";)c[a][1].type==="chunkText"&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,J2(m,n)),n=t[n],d=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=m.get(a),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(m.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=a);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(r[1].end={...m.get(i)[1].start},u=m.slice(i,n),u.unshift(r),m.splice(i,n-i+1,u))}}return Ke(e,0,Number.POSITIVE_INFINITY,m.slice(0)),!d}function J2(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const u=o.events,c=[],d={};let m,h,f=-1,p=n,x=0,g=0;const C=[g];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(m=r.sliceStream(p),p.next||m.push(null),h&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(m),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),h=p,p=p.next}for(p=n;++f<u.length;)u[f][0]==="exit"&&u[f-1][0]==="enter"&&u[f][1].type===u[f-1][1].type&&u[f][1].start.line!==u[f][1].end.line&&(g=f+1,C.push(g),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):C.pop(),f=C.length;f--;){const b=u.slice(C[f],C[f+1]),A=a.pop();c.push([A,A+b.length-1]),e.splice(A,2,b)}for(c.reverse(),f=-1;++f<c.length;)d[x+c[f][0]]=x+c[f][1],x+=c[f][1]-c[f][0]-1;return d}const ex={resolve:nx,tokenize:rx},tx={partial:!0,tokenize:sx};function nx(e){return Ho(e),e}function rx(e,t){let n;return r;function r(u){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(u)}function i(u){return u===null?a(u):Z(u)?e.check(tx,o,a)(u):(e.consume(u),i)}function a(u){return e.exit("chunkContent"),e.exit("content"),t(u)}function o(u){return e.consume(u),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function sx(e,t,n){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),pe(e,a,"linePrefix")}function a(o){if(o===null||Z(o))return n(o);const u=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function Uo(e,t,n,r,i,a,o,u,c){const d=c||Number.POSITIVE_INFINITY;let m=0;return h;function h(b){return b===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(b),e.exit(a),f):b===null||b===32||b===41||qr(b)?n(b):(e.enter(r),e.enter(o),e.enter(u),e.enter("chunkString",{contentType:"string"}),g(b))}function f(b){return b===62?(e.enter(a),e.consume(b),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),p(b))}function p(b){return b===62?(e.exit("chunkString"),e.exit(u),f(b)):b===null||b===60||Z(b)?n(b):(e.consume(b),b===92?x:p)}function x(b){return b===60||b===62||b===92?(e.consume(b),p):p(b)}function g(b){return!m&&(b===null||b===41||be(b))?(e.exit("chunkString"),e.exit(u),e.exit(o),e.exit(r),t(b)):m<d&&b===40?(e.consume(b),m++,g):b===41?(e.consume(b),m--,g):b===null||b===32||b===40||qr(b)?n(b):(e.consume(b),b===92?C:g)}function C(b){return b===40||b===41||b===92?(e.consume(b),g):g(b)}}function $o(e,t,n,r,i,a){const o=this;let u=0,c;return d;function d(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(a),m}function m(p){return u>999||p===null||p===91||p===93&&!c||p===94&&!u&&"_hiddenFootnoteSupport"in o.parser.constructs?n(p):p===93?(e.exit(a),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):Z(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),m):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===null||p===91||p===93||Z(p)||u++>999?(e.exit("chunkString"),m(p)):(e.consume(p),c||(c=!de(p)),p===92?f:h)}function f(p){return p===91||p===92||p===93?(e.consume(p),u++,h):h(p)}}function zo(e,t,n,r,i,a){let o;return u;function u(f){return f===34||f===39||f===40?(e.enter(r),e.enter(i),e.consume(f),e.exit(i),o=f===40?41:f,c):n(f)}function c(f){return f===o?(e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):(e.enter(a),d(f))}function d(f){return f===o?(e.exit(a),c(o)):f===null?n(f):Z(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),pe(e,d,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),m(f))}function m(f){return f===o||f===null||Z(f)?(e.exit("chunkString"),d(f)):(e.consume(f),f===92?h:m)}function h(f){return f===o||f===92?(e.consume(f),m):m(f)}}function Xn(e,t){let n;return r;function r(i){return Z(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):de(i)?pe(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const ix={name:"definition",tokenize:ox},ax={partial:!0,tokenize:ux};function ox(e,t,n){const r=this;let i;return a;function a(p){return e.enter("definition"),o(p)}function o(p){return $o.call(r,e,u,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function u(p){return i=mt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),c):n(p)}function c(p){return be(p)?Xn(e,d)(p):d(p)}function d(p){return Uo(e,m,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function m(p){return e.attempt(ax,h,h)(p)}function h(p){return de(p)?pe(e,f,"whitespace")(p):f(p)}function f(p){return p===null||Z(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function ux(e,t,n){return r;function r(u){return be(u)?Xn(e,i)(u):n(u)}function i(u){return zo(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function a(u){return de(u)?pe(e,o,"whitespace")(u):o(u)}function o(u){return u===null||Z(u)?t(u):n(u)}}const lx={name:"hardBreakEscape",tokenize:cx};function cx(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return Z(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const dx={name:"headingAtx",resolve:hx,tokenize:mx};function hx(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Ke(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function mx(e,t,n){let r=0;return i;function i(m){return e.enter("atxHeading"),a(m)}function a(m){return e.enter("atxHeadingSequence"),o(m)}function o(m){return m===35&&r++<6?(e.consume(m),o):m===null||be(m)?(e.exit("atxHeadingSequence"),u(m)):n(m)}function u(m){return m===35?(e.enter("atxHeadingSequence"),c(m)):m===null||Z(m)?(e.exit("atxHeading"),t(m)):de(m)?pe(e,u,"whitespace")(m):(e.enter("atxHeadingText"),d(m))}function c(m){return m===35?(e.consume(m),c):(e.exit("atxHeadingSequence"),u(m))}function d(m){return m===null||m===35||be(m)?(e.exit("atxHeadingText"),u(m)):(e.consume(m),d)}}const px=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ma=["pre","script","style","textarea"],fx={concrete:!0,name:"htmlFlow",resolveTo:Ex,tokenize:bx},xx={partial:!0,tokenize:Tx},gx={partial:!0,tokenize:_x};function Ex(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function bx(e,t,n){const r=this;let i,a,o,u,c;return d;function d(R){return m(R)}function m(R){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(R),h}function h(R){return R===33?(e.consume(R),f):R===47?(e.consume(R),a=!0,g):R===63?(e.consume(R),i=3,r.interrupt?t:S):ze(R)?(e.consume(R),o=String.fromCharCode(R),C):n(R)}function f(R){return R===45?(e.consume(R),i=2,p):R===91?(e.consume(R),i=5,u=0,x):ze(R)?(e.consume(R),i=4,r.interrupt?t:S):n(R)}function p(R){return R===45?(e.consume(R),r.interrupt?t:S):n(R)}function x(R){const ce="CDATA[";return R===ce.charCodeAt(u++)?(e.consume(R),u===ce.length?r.interrupt?t:M:x):n(R)}function g(R){return ze(R)?(e.consume(R),o=String.fromCharCode(R),C):n(R)}function C(R){if(R===null||R===47||R===62||be(R)){const ce=R===47,Ae=o.toLowerCase();return!ce&&!a&&ma.includes(Ae)?(i=1,r.interrupt?t(R):M(R)):px.includes(o.toLowerCase())?(i=6,ce?(e.consume(R),b):r.interrupt?t(R):M(R)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(R):a?A(R):y(R))}return R===45||Be(R)?(e.consume(R),o+=String.fromCharCode(R),C):n(R)}function b(R){return R===62?(e.consume(R),r.interrupt?t:M):n(R)}function A(R){return de(R)?(e.consume(R),A):w(R)}function y(R){return R===47?(e.consume(R),w):R===58||R===95||ze(R)?(e.consume(R),P):de(R)?(e.consume(R),y):w(R)}function P(R){return R===45||R===46||R===58||R===95||Be(R)?(e.consume(R),P):j(R)}function j(R){return R===61?(e.consume(R),N):de(R)?(e.consume(R),j):y(R)}function N(R){return R===null||R===60||R===61||R===62||R===96?n(R):R===34||R===39?(e.consume(R),c=R,q):de(R)?(e.consume(R),N):V(R)}function q(R){return R===c?(e.consume(R),c=null,Q):R===null||Z(R)?n(R):(e.consume(R),q)}function V(R){return R===null||R===34||R===39||R===47||R===60||R===61||R===62||R===96||be(R)?j(R):(e.consume(R),V)}function Q(R){return R===47||R===62||de(R)?y(R):n(R)}function w(R){return R===62?(e.consume(R),$):n(R)}function $(R){return R===null||Z(R)?M(R):de(R)?(e.consume(R),$):n(R)}function M(R){return R===45&&i===2?(e.consume(R),X):R===60&&i===1?(e.consume(R),G):R===62&&i===4?(e.consume(R),Ce):R===63&&i===3?(e.consume(R),S):R===93&&i===5?(e.consume(R),J):Z(R)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(xx,Pe,H)(R)):R===null||Z(R)?(e.exit("htmlFlowData"),H(R)):(e.consume(R),M)}function H(R){return e.check(gx,Y,Pe)(R)}function Y(R){return e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),z}function z(R){return R===null||Z(R)?H(R):(e.enter("htmlFlowData"),M(R))}function X(R){return R===45?(e.consume(R),S):M(R)}function G(R){return R===47?(e.consume(R),o="",W):M(R)}function W(R){if(R===62){const ce=o.toLowerCase();return ma.includes(ce)?(e.consume(R),Ce):M(R)}return ze(R)&&o.length<8?(e.consume(R),o+=String.fromCharCode(R),W):M(R)}function J(R){return R===93?(e.consume(R),S):M(R)}function S(R){return R===62?(e.consume(R),Ce):R===45&&i===2?(e.consume(R),S):M(R)}function Ce(R){return R===null||Z(R)?(e.exit("htmlFlowData"),Pe(R)):(e.consume(R),Ce)}function Pe(R){return e.exit("htmlFlow"),t(R)}}function _x(e,t,n){const r=this;return i;function i(o){return Z(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):n(o)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function Tx(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(hr,t,n)}}const Cx={name:"htmlText",tokenize:Sx};function Sx(e,t,n){const r=this;let i,a,o;return u;function u(S){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(S),c}function c(S){return S===33?(e.consume(S),d):S===47?(e.consume(S),j):S===63?(e.consume(S),y):ze(S)?(e.consume(S),V):n(S)}function d(S){return S===45?(e.consume(S),m):S===91?(e.consume(S),a=0,x):ze(S)?(e.consume(S),A):n(S)}function m(S){return S===45?(e.consume(S),p):n(S)}function h(S){return S===null?n(S):S===45?(e.consume(S),f):Z(S)?(o=h,G(S)):(e.consume(S),h)}function f(S){return S===45?(e.consume(S),p):h(S)}function p(S){return S===62?X(S):S===45?f(S):h(S)}function x(S){const Ce="CDATA[";return S===Ce.charCodeAt(a++)?(e.consume(S),a===Ce.length?g:x):n(S)}function g(S){return S===null?n(S):S===93?(e.consume(S),C):Z(S)?(o=g,G(S)):(e.consume(S),g)}function C(S){return S===93?(e.consume(S),b):g(S)}function b(S){return S===62?X(S):S===93?(e.consume(S),b):g(S)}function A(S){return S===null||S===62?X(S):Z(S)?(o=A,G(S)):(e.consume(S),A)}function y(S){return S===null?n(S):S===63?(e.consume(S),P):Z(S)?(o=y,G(S)):(e.consume(S),y)}function P(S){return S===62?X(S):y(S)}function j(S){return ze(S)?(e.consume(S),N):n(S)}function N(S){return S===45||Be(S)?(e.consume(S),N):q(S)}function q(S){return Z(S)?(o=q,G(S)):de(S)?(e.consume(S),q):X(S)}function V(S){return S===45||Be(S)?(e.consume(S),V):S===47||S===62||be(S)?Q(S):n(S)}function Q(S){return S===47?(e.consume(S),X):S===58||S===95||ze(S)?(e.consume(S),w):Z(S)?(o=Q,G(S)):de(S)?(e.consume(S),Q):X(S)}function w(S){return S===45||S===46||S===58||S===95||Be(S)?(e.consume(S),w):$(S)}function $(S){return S===61?(e.consume(S),M):Z(S)?(o=$,G(S)):de(S)?(e.consume(S),$):Q(S)}function M(S){return S===null||S===60||S===61||S===62||S===96?n(S):S===34||S===39?(e.consume(S),i=S,H):Z(S)?(o=M,G(S)):de(S)?(e.consume(S),M):(e.consume(S),Y)}function H(S){return S===i?(e.consume(S),i=void 0,z):S===null?n(S):Z(S)?(o=H,G(S)):(e.consume(S),H)}function Y(S){return S===null||S===34||S===39||S===60||S===61||S===96?n(S):S===47||S===62||be(S)?Q(S):(e.consume(S),Y)}function z(S){return S===47||S===62||be(S)?Q(S):n(S)}function X(S){return S===62?(e.consume(S),e.exit("htmlTextData"),e.exit("htmlText"),t):n(S)}function G(S){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),W}function W(S){return de(S)?pe(e,J,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):J(S)}function J(S){return e.enter("htmlTextData"),o(S)}}const Ei={name:"labelEnd",resolveAll:Ax,resolveTo:Nx,tokenize:Ix},yx={tokenize:wx},Rx={tokenize:jx},kx={tokenize:Lx};function Ax(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&Ke(e,0,e.length,n),e}function Nx(e,t){let n=e.length,r=0,i,a,o,u;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=n);const c={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},d={type:"label",start:{...e[a][1].start},end:{...e[o][1].end}},m={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return u=[["enter",c,t],["enter",d,t]],u=tt(u,e.slice(a+1,a+r+3)),u=tt(u,[["enter",m,t]]),u=tt(u,es(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),u=tt(u,[["exit",m,t],e[o-2],e[o-1],["exit",d,t]]),u=tt(u,e.slice(o+1)),u=tt(u,[["exit",c,t]]),Ke(e,a,e.length,u),e}function Ix(e,t,n){const r=this;let i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return u;function u(f){return a?a._inactive?h(f):(o=r.parser.defined.includes(mt(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelEnd"),c):n(f)}function c(f){return f===40?e.attempt(yx,m,o?m:h)(f):f===91?e.attempt(Rx,m,o?d:h)(f):o?m(f):h(f)}function d(f){return e.attempt(kx,m,h)(f)}function m(f){return t(f)}function h(f){return a._balanced=!0,n(f)}}function wx(e,t,n){return r;function r(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),i}function i(h){return be(h)?Xn(e,a)(h):a(h)}function a(h){return h===41?m(h):Uo(e,o,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function o(h){return be(h)?Xn(e,c)(h):m(h)}function u(h){return n(h)}function c(h){return h===34||h===39||h===40?zo(e,d,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):m(h)}function d(h){return be(h)?Xn(e,m)(h):m(h)}function m(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):n(h)}}function jx(e,t,n){const r=this;return i;function i(u){return $o.call(r,e,a,o,"reference","referenceMarker","referenceString")(u)}function a(u){return r.parser.defined.includes(mt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(u):n(u)}function o(u){return n(u)}}function Lx(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const vx={name:"labelStartImage",resolveAll:Ei.resolveAll,tokenize:Px};function Px(e,t,n){const r=this;return i;function i(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),a}function a(u){return u===91?(e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelImage"),o):n(u)}function o(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const Ox={name:"labelStartLink",resolveAll:Ei.resolveAll,tokenize:Dx};function Dx(e,t,n){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),a}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const Ns={name:"lineEnding",tokenize:Mx};function Mx(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),pe(e,t,"linePrefix")}}const Fr={name:"thematicBreak",tokenize:Bx};function Bx(e,t,n){let r=0,i;return a;function a(d){return e.enter("thematicBreak"),o(d)}function o(d){return i=d,u(d)}function u(d){return d===i?(e.enter("thematicBreakSequence"),c(d)):r>=3&&(d===null||Z(d))?(e.exit("thematicBreak"),t(d)):n(d)}function c(d){return d===i?(e.consume(d),r++,c):(e.exit("thematicBreakSequence"),de(d)?pe(e,u,"whitespace")(d):u(d))}}const Ve={continuation:{tokenize:$x},exit:Wx,name:"list",tokenize:Ux},Fx={partial:!0,tokenize:qx},Hx={partial:!0,tokenize:zx};function Ux(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return u;function u(p){const x=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(x==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:Qs(p)){if(r.containerState.type||(r.containerState.type=x,e.enter(x,{_container:!0})),x==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Fr,n,d)(p):d(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(p)}return n(p)}function c(p){return Qs(p)&&++o<10?(e.consume(p),c):(!r.interrupt||o<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),d(p)):n(p)}function d(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(hr,r.interrupt?n:m,e.attempt(Fx,f,h))}function m(p){return r.containerState.initialBlankLine=!0,a++,f(p)}function h(p){return de(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),f):n(p)}function f(p){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function $x(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(hr,i,a);function i(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,pe(e,t,"listItemIndent",r.containerState.size+1)(u)}function a(u){return r.containerState.furtherBlankLines||!de(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Hx,t,o)(u))}function o(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,pe(e,e.attempt(Ve,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function zx(e,t,n){const r=this;return pe(e,i,"listItemIndent",r.containerState.size+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(a):n(a)}}function Wx(e){e.exit(this.containerState.type)}function qx(e,t,n){const r=this;return pe(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const o=r.events[r.events.length-1];return!de(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const pa={name:"setextUnderline",resolveTo:Vx,tokenize:Yx};function Vx(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function Yx(e,t,n){const r=this;let i;return a;function a(d){let m=r.events.length,h;for(;m--;)if(r.events[m][1].type!=="lineEnding"&&r.events[m][1].type!=="linePrefix"&&r.events[m][1].type!=="content"){h=r.events[m][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),i=d,o(d)):n(d)}function o(d){return e.enter("setextHeadingLineSequence"),u(d)}function u(d){return d===i?(e.consume(d),u):(e.exit("setextHeadingLineSequence"),de(d)?pe(e,c,"lineSuffix")(d):c(d))}function c(d){return d===null||Z(d)?(e.exit("setextHeadingLine"),t(d)):n(d)}}const Gx={tokenize:Xx};function Xx(e){const t=this,n=e.attempt(hr,r,e.attempt(this.parser.constructs.flowInitial,i,pe(e,e.attempt(this.parser.constructs.flow,i,e.attempt(ex,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Qx={resolveAll:qo()},Kx=Wo("string"),Zx=Wo("text");function Wo(e){return{resolveAll:qo(e==="text"?Jx:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,o,u);return o;function o(m){return d(m)?a(m):u(m)}function u(m){if(m===null){n.consume(m);return}return n.enter("data"),n.consume(m),c}function c(m){return d(m)?(n.exit("data"),a(m)):(n.consume(m),c)}function d(m){if(m===null)return!0;const h=i[m];let f=-1;if(h)for(;++f<h.length;){const p=h[f];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function qo(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function Jx(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let a=i.length,o=-1,u=0,c;for(;a--;){const d=i[a];if(typeof d=="string"){for(o=d.length;d.charCodeAt(o-1)===32;)u++,o--;if(o)break;o=-1}else if(d===-2)c=!0,u++;else if(d!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){const d={type:n===e.length||c||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-u,offset:r.end.offset-u},end:{...r.end}};r.end={...d.start},r.start.offset===r.end.offset?Object.assign(r,d):(e.splice(n,0,["enter",d,t],["exit",d,t]),n+=2)}n++}return e}const eg={42:Ve,43:Ve,45:Ve,48:Ve,49:Ve,50:Ve,51:Ve,52:Ve,53:Ve,54:Ve,55:Ve,56:Ve,57:Ve,62:Mo},tg={91:ix},ng={[-2]:As,[-1]:As,32:As},rg={35:dx,42:Fr,45:[pa,Fr],60:fx,61:pa,95:Fr,96:ha,126:ha},sg={38:Fo,92:Bo},ig={[-5]:Ns,[-4]:Ns,[-3]:Ns,33:vx,38:Fo,42:Ks,60:[O2,Cx],91:Ox,92:[lx,Bo],93:Ei,95:Ks,96:G2},ag={null:[Ks,Qx]},og={null:[42,95]},ug={null:[]},lg=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:og,contentInitial:tg,disable:ug,document:eg,flow:rg,flowInitial:ng,insideSpan:ag,string:sg,text:ig},Symbol.toStringTag,{value:"Module"}));function cg(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let o=[],u=[];const c={attempt:q(j),check:q(N),consume:A,enter:y,exit:P,interrupt:q(N,{interrupt:!0})},d={code:null,containerState:{},defineSkip:g,events:[],now:x,parser:e,previous:null,sliceSerialize:f,sliceStream:p,write:h};let m=t.tokenize.call(d,c);return t.resolveAll&&a.push(t),d;function h($){return o=tt(o,$),C(),o[o.length-1]!==null?[]:(V(t,0),d.events=es(a,d.events,d),d.events)}function f($,M){return hg(p($),M)}function p($){return dg(o,$)}function x(){const{_bufferIndex:$,_index:M,line:H,column:Y,offset:z}=r;return{_bufferIndex:$,_index:M,line:H,column:Y,offset:z}}function g($){i[$.line]=$.column,w()}function C(){let $;for(;r._index<o.length;){const M=o[r._index];if(typeof M=="string")for($=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===$&&r._bufferIndex<M.length;)b(M.charCodeAt(r._bufferIndex));else b(M)}}function b($){m=m($)}function A($){Z($)?(r.line++,r.column=1,r.offset+=$===-3?2:1,w()):$!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),d.previous=$}function y($,M){const H=M||{};return H.type=$,H.start=x(),d.events.push(["enter",H,d]),u.push(H),H}function P($){const M=u.pop();return M.end=x(),d.events.push(["exit",M,d]),M}function j($,M){V($,M.from)}function N($,M){M.restore()}function q($,M){return H;function H(Y,z,X){let G,W,J,S;return Array.isArray(Y)?Pe(Y):"tokenize"in Y?Pe([Y]):Ce(Y);function Ce(ee){return De;function De(st){const Ot=st!==null&&ee[st],Rt=st!==null&&ee.null,Gt=[...Array.isArray(Ot)?Ot:Ot?[Ot]:[],...Array.isArray(Rt)?Rt:Rt?[Rt]:[]];return Pe(Gt)(st)}}function Pe(ee){return G=ee,W=0,ee.length===0?X:R(ee[W])}function R(ee){return De;function De(st){return S=Q(),J=ee,ee.partial||(d.currentConstruct=ee),ee.name&&d.parser.constructs.disable.null.includes(ee.name)?Ae():ee.tokenize.call(M?Object.assign(Object.create(d),M):d,c,ce,Ae)(st)}}function ce(ee){return $(J,S),z}function Ae(ee){return S.restore(),++W<G.length?R(G[W]):X}}}function V($,M){$.resolveAll&&!a.includes($)&&a.push($),$.resolve&&Ke(d.events,M,d.events.length-M,$.resolve(d.events.slice(M),d)),$.resolveTo&&(d.events=$.resolveTo(d.events,d))}function Q(){const $=x(),M=d.previous,H=d.currentConstruct,Y=d.events.length,z=Array.from(u);return{from:Y,restore:X};function X(){r=$,d.previous=M,d.currentConstruct=H,d.events.length=Y,u=z,w()}}function w(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function dg(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){const u=o[0];typeof u=="string"?o[0]=u.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function hg(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let o;if(typeof a=="string")o=a;else switch(a){case-5:{o="\r";break}case-4:{o=`
|
|
102
|
+
`},children:s.jsxRuntimeExports.jsx("div",{className:ue.indicator,style:{position:"absolute",left:`${De}%`,top:`${100-st}%`,transform:"translate(-50%, -50%)"}})}),s.jsxRuntimeExports.jsx("div",{className:ue.hueSlider,style:{bottom:b?"175px":"100px"},children:s.jsxRuntimeExports.jsx("input",{type:"range",min:"0",max:"360",value:ee,onChange:ae=>{const te=Number(ae.target.value);b?H===1?J(te,a,o,u):J(te,I,q,V):(m(te),J(te,a,o,u))},className:ue.slider})}),s.jsxRuntimeExports.jsxs("div",{className:ue.alphaSlider,style:{bottom:b?"150px":"75px"},children:[s.jsxRuntimeExports.jsx("div",{className:ue.alphaBackground}),s.jsxRuntimeExports.jsx("div",{className:ue.alphaGradient,style:{background:ls}}),s.jsxRuntimeExports.jsx("input",{type:"range",min:"0",max:"100",value:Ot,onChange:ae=>{const te=Number(ae.target.value);b?H===1?J(i,a,o,te):J(j,I,q,te):(p(te),J(i,a,o,te))},className:ue.slider})]}),b&&z&&s.jsxRuntimeExports.jsxs("div",{className:ue.gradientWrapper,children:[s.jsxRuntimeExports.jsx("h3",{className:ue.subtitle,children:"Rotation"}),s.jsxRuntimeExports.jsx("div",{className:ue.gradient,children:s.jsxRuntimeExports.jsxs("div",{className:ue.chargeTypes,children:[s.jsxRuntimeExports.jsxs("div",{className:s.clx(ue.charge,{[ue.chargeActive]:y==="horizontal"}),onClick:()=>P("horizontal"),children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"ArrowsHorizontal",width:20,height:20}),"Horizontal"]}),s.jsxRuntimeExports.jsxs("div",{className:s.clx(ue.charge,{[ue.chargeActive]:y==="vertical"}),onClick:()=>P("vertical"),children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"ArrowsVertical",width:20,height:20}),"Vertical"]})]})})]}),s.jsxRuntimeExports.jsxs("div",{className:ue.buttons,children:[s.jsxRuntimeExports.jsx(s.Button,{onClick:Ae,className:s.clx(ue.applyButton,ue.cancelButton),type:"Secondary",children:"Cancel"}),s.jsxRuntimeExports.jsx(s.Button,{onClick:ce,className:ue.applyButton,children:"Apply"})]})]})},f0=()=>{const{onPreview:e,zoomLevel:t}=s.usePreviewStore(),{keyBlock:n,hoverBlockId:r,isModalVisible:i,hoverBlockTopPosition:a}=s.useSubmodalStore(),{settings:o}=s.useSettingsStore(),{sourceBlocks:u}=s.useBlocksStore(),{pageContext:c}=s.usePagesStore(),{showModal:d}=s.useColorPickerStore(),{currentDevice:m}=s.useDeviceStore(),{isLoadingThemeSettings:h}=s.useThemeSettingsStore(),{isLoadingLayers:f}=s.useLayersStore(),p=y=>y?!u||!u[y]?s.jsxRuntimeExports.jsx(s.ErrorableBlock,{error:`Block "${y}" does not exist in blocks.`}):new u[y]().renderPreview(o,c):s.jsxRuntimeExports.jsx(s.ErrorableBlock,{error:"Block or block.name is undefined."});function x(){if(m.value==="desktop")return t>=1?"100%":`${(t*100).toFixed(2)}%`;{const y=m.value==="tablet"?768:425;return t>=1?`${y}px`:`${(y*t).toFixed(2)}px`}}function g(){switch(m.value){case"desktop":return"100%";case"tablet":return 768;case"mobile":return 425;default:return"100%"}}const{isOpenSelectModal:C}=s.usePagesStore(),b=k.useRef(null),A=y=>{b.current&&(b.current.scrollTop+=y.deltaY)};return s.jsxRuntimeExports.jsxs("div",{className:Mn.preview,style:{zIndex:d&&!C?5e3:500},onWheel:y=>{y.stopPropagation(),A(y)},children:[i&&s.jsxRuntimeExports.jsx(Md,{children:s.jsxRuntimeExports.jsx(po,{})}),s.jsxRuntimeExports.jsxs(Dd,{positionTop:a,positionLeft:!r&&n?void 0:250,children:[!h&&!f&&s.jsxRuntimeExports.jsx(s.RenderBlock,{render:p,block:n},n),(h||!n||f)&&s.jsxRuntimeExports.jsx("div",{className:Mn.previewLoading,children:s.jsxRuntimeExports.jsx(Vt,{})})]}),d&&s.jsxRuntimeExports.jsx(p0,{}),e&&s.jsxRuntimeExports.jsxs("div",{className:Mn.main,style:{width:g()},children:[s.jsxRuntimeExports.jsx(Id,{}),s.jsxRuntimeExports.jsx("div",{style:{borderLeft:x()==="100%"?"none":"var(--default-border)",borderRight:x()==="100%"?"none":"var(--default-border)",width:"100%",display:"flex",flexDirection:"column",alignItems:"center",height:"calc(100vh - 160px)",overflowY:"scroll",overflowX:"hidden"},onScroll:y=>{y.stopPropagation()},onWheel:y=>{y.stopPropagation()},children:!h&&!f?s.jsxRuntimeExports.jsx("div",{className:Mn.content,style:{width:x()},children:s.jsxRuntimeExports.jsx(s.PreviewContent,{scrollableRef:b})}):s.jsxRuntimeExports.jsx("div",{className:Mn.loading,children:s.jsxRuntimeExports.jsx(Vt,{})})})]})]})},x0="_sidebar_1xtkj_1",g0="_title_1xtkj_11",Ui={sidebar:x0,title:g0},E0="_layers_1jhzw_1",b0="_wrapper_1jhzw_9",_0="_draggingWrapper_1jhzw_17",T0="_block_1jhzw_21",C0="_dragging_1jhzw_17",S0="_active_1jhzw_56",y0="_add_1jhzw_63",R0="_addTop_1jhzw_79",k0="_visible_1jhzw_95",A0="_button_1jhzw_99",I0="_nameBlock_1jhzw_158",N0="_loader_1jhzw_162",w0="_actions_1jhzw_171",j0="_deleteButton_1jhzw_179",Me={layers:E0,wrapper:b0,draggingWrapper:_0,block:T0,dragging:C0,active:S0,add:y0,addTop:R0,visible:k0,button:A0,nameBlock:I0,loader:N0,actions:w0,deleteButton:j0},L0="_block_sj4cc_1",v0="_title_sj4cc_17",P0="_actions_sj4cc_21",Qt={block:L0,title:v0,actions:P0},xs={header:"Header",footer:"Footer",announcement:"Announcement"},gs=({id:e})=>{const{setCurrentBlock:t}=s.useLayersStore(),{activeBlock:n}=s.usePreviewStore(),[r,i]=k.useState(!1);function a(o){t(o)}return s.jsxRuntimeExports.jsxs("div",{className:s.clx(Qt.block,{[Qt.active]:n.id===e,[Qt.header]:e==="header",[Qt.footer]:e==="footer",[Qt.announcement]:e==="announcement"}),onClick:()=>a(e),onMouseOver:()=>i(!0),onMouseLeave:()=>i(!1),children:[nr[xs[e]]?s.jsxRuntimeExports.jsx("img",{src:nr[xs[e]],width:20,height:20}):s.jsxRuntimeExports.jsx(s.Icon,{name:"Cards",width:20,height:20}),s.jsxRuntimeExports.jsx("span",{className:Qt.title,children:xs[e]}),s.jsxRuntimeExports.jsx("div",{className:Qt.actions,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"PushPin",hoverable:!0,width:20,height:20,fill:"#757575"})})]})},O0=({id:e,name:t,onClick:n,isDragging:r,icon:i})=>{const{activeBlock:a,setActiveBlock:o}=s.usePreviewStore(),{showPreview:u,hidePreview:c,showModal:d,hideModal:m,clearHideTimeout:h,startHideTimeout:f,hoverBlockId:p,isModalVisible:x}=s.useSubmodalStore(),{setPositionBlock:g}=s.useLayersStore(),[C,b]=k.useState(!1),[A,y]=k.useState(!1),[P,j]=k.useState(!1),[I,q]=k.useState(!1),[V,Q]=k.useState(null),w=k.useRef(null),{attributes:$,listeners:M,setNodeRef:H,transform:Y,transition:z}=s.useSortable({id:e}),X={transform:s.CSS.Transform.toString(Y),transition:z},{setTitle:G,setDescription:W,setOnConfirm:J}=s.useConfirmationModalStore(),{pages:S,currentPage:Ce}=s.usePagesStore(),{removeBlock:Pe}=s.useLayersStore(),R=ee=>{ee.stopPropagation(),w.current&&clearTimeout(w.current),o({id:e,neededScroll:!0}),x&&m(),u(e),h()},ce=(ee,De=!0)=>{ee.stopPropagation(),c(),d(e),h(),g(e,De)},Ae=ee=>{ee.stopPropagation(),o({id:null,neededScroll:!1}),x?f():c()};return k.useEffect(()=>{j(!1),b(!1),y(!1),q(!1)},[r]),k.useEffect(()=>{x||(y(!1),b(!1))},[x]),s.jsxRuntimeExports.jsxs("div",{ref:H,style:X,className:s.clx(Me.wrapper,{[Me.draggingWrapper]:r&&a.id===e}),onClick:ee=>{ee.stopPropagation(),n(e)},onMouseEnter:R,onMouseLeave:Ae,...$,...M,children:[s.jsxRuntimeExports.jsxs("div",{className:s.clx(Me.block,{[Me.dragging]:r&&a.id===e,[Me.active]:!r&&a.id===e}),children:[i?s.jsxRuntimeExports.jsx("img",{src:i,width:20,height:20}):s.jsxRuntimeExports.jsx(s.Icon,{name:"Cards",width:20,height:20}),s.jsxRuntimeExports.jsx("span",{className:Me.nameBlock,children:t}),p===e&&!r&&s.jsxRuntimeExports.jsx("div",{className:s.clx(Me.addTop,{[Me.visible]:A}),onMouseEnter:()=>{y(!0)},onMouseLeave:()=>{y(!1)},children:s.jsxRuntimeExports.jsxs("button",{className:Me.button,onClick:ee=>ce(ee,!1),onMouseEnter:()=>{const ee=setTimeout(()=>{r||q(!0)},200);Q(ee)},onMouseLeave:()=>{V&&clearTimeout(V),q(!1)},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Plus",fill:"#fff"}),I&&s.jsxRuntimeExports.jsx(Tn,{text:"Click to add a section"})]})}),p===e&&!r&&s.jsxRuntimeExports.jsx("div",{className:s.clx(Me.add,{[Me.visible]:C}),onMouseEnter:()=>{b(!0)},onMouseLeave:()=>{b(!1)},children:s.jsxRuntimeExports.jsxs("button",{className:Me.button,onClick:ee=>ce(ee),onMouseEnter:()=>{const ee=setTimeout(()=>{r||j(!0)},200);Q(ee)},onMouseLeave:()=>{V&&clearTimeout(V),j(!1)},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Plus",fill:"#fff"}),P&&s.jsxRuntimeExports.jsx(Tn,{text:"Click to add a section"})]})})]}),p===e&&!r&&s.jsxRuntimeExports.jsxs("div",{className:Me.actions,children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"DotsSixVertical",hoverable:!0,width:20,height:20}),s.jsxRuntimeExports.jsx("div",{className:Me.deleteButton,onClick:ee=>{ee.stopPropagation(),G("Remove Block"),W(`Are you sure you want to delete ${t||"this"} block? Once you delete this block, any content visible will also be deleted. This is irreversible.`),J(()=>{S&&Pe(S[Ce].path,e)})},children:s.jsxRuntimeExports.jsx(s.Icon,{name:"Trash",fill:"#C12A2A",hoverable:!0,width:20,height:20})})]})]})},D0=()=>{const{blocks:e,setCurrentBlock:t,currentBlock:n,moveBlock:r,isLoadingLayers:i,announcement:a}=s.useLayersStore(),{currentPage:o,pages:u}=s.usePagesStore(),{setMouseOverModal:c,setHoverBlockId:d}=s.useSubmodalStore(),{sourceBlocks:m}=s.useBlocksStore();function h(b){t(b),c(!1),d(null)}const f=s.useSensors(s.useSensor(s.PointerSensor,{activationConstraint:{distance:5}})),[p,x]=k.useState(!1),g=()=>{x(!0)},C=b=>{x(!1);const{active:A,over:y}=b;if(y&&A.id!==y.id&&u&&u[o]){const P=u[o].path,j=e[P].order,I=j.indexOf(A.id),q=j.indexOf(y.id);I!==-1&&q!==-1&&r(P,I,q)}};return s.jsxRuntimeExports.jsx("div",{className:Me.layers,children:i?s.jsxRuntimeExports.jsx("div",{className:Me.loader,children:s.jsxRuntimeExports.jsx(Vt,{})}):s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[a&&s.jsxRuntimeExports.jsx(gs,{id:"announcement"}),s.jsxRuntimeExports.jsx(gs,{id:"header"}),!n&&s.jsxRuntimeExports.jsx(s.DndContext,{sensors:f,onDragEnd:C,onDragStart:g,children:u&&u[o]&&e[u[o].path]&&s.jsxRuntimeExports.jsx(s.SortableContext,{items:e[u[o].path].order,strategy:s.verticalListSortingStrategy,children:e[u[o].path].order.map((b,A)=>s.jsxRuntimeExports.jsx(O0,{id:b,name:s.getDisplayName(e[u[o].path].data[b].name,m),index:A,onClick:h,isDragging:p,icon:nr[e[u[o].path].data[b].name]},b))})}),s.jsxRuntimeExports.jsx(gs,{id:"footer"})]})})},M0="_loader_eyvkk_1",B0={loader:M0},F0=()=>{const{isLoadingSettings:e}=s.useSettingsStore();return e?s.jsxRuntimeExports.jsx("div",{className:B0.loader,children:s.jsxRuntimeExports.jsx(Vt,{})}):s.jsxRuntimeExports.jsx(H0,{})},H0=()=>{const{settings:e}=s.useSettingsStore(),{settings:t,setSettingsInstance:n}=s.useBlocksStore();if(!e)return null;const{setError:r}=s.useErrorStore(),i=new t(e.blockSettings);k.useEffect(()=>{n(i)},[e]);try{return i.renderSettings()}catch(a){throw console.error("Error rendering settings:",a),r({message:"Error rendering settings",failedPageIds:[],failedThemeSettings:!1,failedSettings:!0}),a}},U0="_theme_a1one_1",$0="_block_a1one_8",z0="_name_a1one_23",W0="_loader_a1one_27",Tr={theme:U0,block:$0,name:z0,loader:W0},q0=()=>{const e=s.useNavigate(),{isLoadingThemeSettings:t,setActiveBlock:n}=s.useThemeSettingsStore();function r(i){switch(i==null?void 0:i.name){case"Colors":e("/admin/builder/theme/colors"),n(dt[0]);break;case"Fonts":e("/admin/builder/theme/fonts"),n(dt[1]);break;case"Borders":e("/admin/builder/theme/borders"),n(dt[2]);break;case"Buttons":e("/admin/builder/theme/buttons"),n(dt[3]);break;case"Inputs":e("/admin/builder/theme/inputs"),n(dt[4]);break}}return s.jsxRuntimeExports.jsx("div",{className:Tr.theme,children:t?s.jsxRuntimeExports.jsx("div",{className:Tr.loader,children:s.jsxRuntimeExports.jsx(Vt,{})}):dt.map(i=>s.jsxRuntimeExports.jsxs("div",{onClick:()=>r(i),className:s.clx(Tr.block),children:[s.jsxRuntimeExports.jsx(s.Icon,{name:i.icon}),s.jsxRuntimeExports.jsx("span",{className:Tr.name,children:i.name}),s.jsxRuntimeExports.jsx(s.Icon,{name:"CaretRight"})]},i.icon))})},V0="_render_7e826_9",Y0="_open_7e826_24",G0="_close_7e826_51",X0="_clicked_7e826_55",Q0="_loading_7e826_72",K0="_settings_7e826_76",dn={render:V0,open:Y0,close:G0,clicked:X0,loading:Q0,settings:K0},Z0=({block:e})=>{const{pageContext:t}=s.usePagesStore(),{setError:n}=s.useErrorStore();try{return e.renderSettings(t)}catch(r){throw console.error("Error rendering settings:",r),n({message:"Error rendering block settings",failedPageIds:[],failedThemeSettings:!1,failedSettings:!0}),r}},J0="_wrapper_15ju8_1",eh="_header_15ju8_8",th="_title_15ju8_15",nh="_colorWrapper_15ju8_21",rh="_name_15ju8_35",sh="_color_15ju8_21",ih="_value_15ju8_47",ah="_length_15ju8_51",et={wrapper:J0,header:eh,title:th,colorWrapper:nh,name:rh,color:sh,value:ih,length:ah},oh=e=>{const{colors:t}=e,{themeSettings:n}=s.useThemeSettingsStore(),[r,i]=k.useState(!0);k.useEffect(()=>{t.length<=3&&i(!0)},[]);function a(o){const u=o.replace("--",""),[c,d]=u.split("-"),m=`${d.charAt(0).toUpperCase()+d.slice(1)} ${c.charAt(0).toUpperCase()+c.slice(1)}`,[h,f]=u.split("-");return{name:m,field:h,variable:f}}return s.jsxRuntimeExports.jsxs("div",{className:et.wrapper,children:[s.jsxRuntimeExports.jsxs("div",{className:et.header,children:[s.jsxRuntimeExports.jsx("div",{className:et.title,children:"Section Colors"}),!r&&s.jsxRuntimeExports.jsxs("div",{className:s.clx(et.value,et.length),onClick:()=>i(!0),children:["+",t.length]})]}),r&&s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx("div",{className:et.colors,children:t.map(o=>{const u=a(o),{variable:c,name:d,field:m}=u;return s.jsxRuntimeExports.jsx(uh,{color:n.colors[m][c],name:d})})}),t.length>3&&s.jsxRuntimeExports.jsxs("div",{className:s.clx(et.value,et.length),onClick:()=>i(!1),children:["Hide ",t.length," colors"]})]})]})},uh=e=>{const{name:t,color:n}=e,{setActiveLabel:r,setModalPosition:i,setInitialColor:a,setShowModal:o,setUpdate:u,setColor:c,setColorChange:d,colorChange:m,setIsGradientActive:h}=s.useColorPickerStore(),{updateColor:f}=s.useThemeSettingsStore(),p=(C,b)=>A=>{f(C,b,A)};k.useEffect(()=>{const C=()=>{o(!1),r(null),a(n),u(()=>{}),c(n),d(()=>{})};return document.body.addEventListener("click",C),()=>{document.body.removeEventListener("click",C)}},[]);const x=C=>{const b=t.split("/")[0],A=b.split(" ")[0].toLowerCase(),y=b.split(" ")[1].toLowerCase();C.stopPropagation(),o(!0),d(m),u(I=>p(y,A)(I)),a(n),c(n),h(y==="surface");const{top:P,left:j}=mo(C,550,288,10,20,230,80);i({top:y==="surface"?P:P+125,left:j-200})};function g(C){return C.length>15?C.slice(0,15)+"...":C}return s.jsxRuntimeExports.jsxs("div",{className:et.colorWrapper,onClick:x,children:[s.jsxRuntimeExports.jsx("div",{className:et.color,style:{background:n}}),s.jsxRuntimeExports.jsx("div",{className:et.name,children:t}),s.jsxRuntimeExports.jsx("div",{className:et.value,children:g(n)})]})},lh="_back_1sznl_1",ch="_title_1sznl_9",dh="_deleteButton_1sznl_17",hh="_backIcon_1sznl_30",Cr={back:lh,title:ch,deleteButton:dh,backIcon:hh},mh=({onClick:e,setIsClicked:t,getDisplayName:n})=>{var f,p;const{activeBlock:r}=s.useBlocksStore(),{setTitle:i,setDescription:a,setOnConfirm:o}=s.useConfirmationModalStore(),{blocks:u,currentBlock:c,removeBlock:d}=s.useLayersStore(),{currentPage:m,pages:h}=s.usePagesStore();return s.jsxRuntimeExports.jsxs("div",{className:Cr.back,children:[s.jsxRuntimeExports.jsx("div",{className:Cr.backIcon,onClick:()=>e(),children:s.jsxRuntimeExports.jsx(s.Icon,{name:"CaretLeft",hoverable:!0,width:20,height:20})}),s.jsxRuntimeExports.jsx("h3",{className:Cr.title,children:r&&n(r)||h&&h[m]&&u[h[m].path]&&c&&n((f=u[h[m].path].data[c])==null?void 0:f.name)||c&&Ct(c)||"Loading"}),c&&h&&!["header","footer","announcement"].includes(c)&&u[h[m].path].data[c]&&n((p=u[h[m].path].data[c])==null?void 0:p.name)!=="unknown name"&&s.jsxRuntimeExports.jsx("button",{onClick:x=>{var g;x.stopPropagation(),i("Remove Block"),a(`Are you sure you want to delete ${n((g=u[h[m].path].data[c])==null?void 0:g.name)||"this"} block? Once you delete this block, any content visible will also be deleted. This is irreversible.`),o(()=>{t(!0),d(h[m].path,c),e(!0)})},className:Cr.deleteButton,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"Trash",hoverable:!0,width:20,height:20,fill:"#C12A2A"})})]})},ph=()=>{const e=s.useNavigate(),[t,n]=k.useState(!1),{header:r,footer:i,announcement:a,sourceBlocks:o,activeBlock:u,setActiveBlock:c,currentInstance:d,setCurrentInstance:m}=s.useBlocksStore(),{setActiveBlock:h}=s.usePreviewStore(),{blocks:f,addBlock:p,editBlock:x,currentBlock:g,setCurrentBlock:C,header:b,footer:A,announcement:y,isLoadingLayers:P}=s.useLayersStore(),{currentPage:j,pages:I}=s.usePagesStore(),{past:q,future:V}=s.useHistoryStore();function Q(M=!1){if(I&&d&&g&&!["header","footer","announcement"].includes(g)&&!M){const H={blockSettings:{}};Object.keys(d.blockSettings).filter(Y=>!["displayName","isAddable"].includes(Y)).map(Y=>{H.blockSettings[Y]=d.blockSettings[Y]}),x(I[j].path,g,{name:f[I[j].path].data[g].name,value:H})}c(null),C(null),h({id:null,neededScroll:!1}),setTimeout(()=>{n(!1)},150),m(null)}function w(M){var X;if(!I||!j||!M)return null;if(M==="header"){const G=new r;return Object.keys(G.blockSettings).forEach(W=>{G.blockSettings[W]=b==null?void 0:b.blockSettings[W]}),Object.keys(G.blockColors).forEach(W=>{G.blockColors[W]=b==null?void 0:b.blockColors[W]}),G}if(M==="footer"){const G=new i;return Object.keys(G.blockSettings).forEach(W=>{G.blockSettings[W]=A==null?void 0:A.blockSettings[W]}),Object.keys(G.blockColors).forEach(W=>{G.blockColors[W]=A==null?void 0:A.blockColors[W]}),G}if(M==="announcement"){const G=new a;return Object.keys(G.blockSettings).forEach(W=>{G.blockSettings[W]=y==null?void 0:y.blockSettings[W]}),Object.keys(G.blockColors).forEach(W=>{G.blockColors[W]=y==null?void 0:y.blockColors[W]}),G}const H=f[I[j].path];if(!H||!H.data[M])return null;const Y=H.data[M];return!Y||!o[Y.name]?null:new o[Y.name]((X=Y.value)==null?void 0:X.blockSettings)}k.useEffect(()=>{if(g){const M=w(g);m(M)}else m(null)},[g,q,V,u]),k.useEffect(()=>{if(u&&I&&!g){const M={blockSettings:{},blockColors:{}},H=new o[u];m(H),Object.keys(H.blockSettings).filter(z=>!["displayName","isAddable"].includes(z)).map(z=>{M.blockSettings[z]=H.blockSettings[z]}),Object.keys(H.blockColors).filter(z=>!["displayName","isAddable"].includes(z)).map(z=>{M.blockColors[z]=H.blockColors[z]});const Y=p(I[j].path,{name:u,value:M});h({id:Y,neededScroll:!0}),C(Y),e("/admin/builder")}},[u,q,V]);function $(M){if(!o)return"unknown name";if(!o[M])return g==="header"?b==null?void 0:b.blockSettings.displayName:g==="footer"?A==null?void 0:A.blockSettings.displayName:g==="announcement"?y==null?void 0:y.blockSettings.displayName:"unknown name";const H=new o[M];return!H.blockSettings||!H.blockSettings.displayName?"unknown name":H.blockSettings.displayName}return s.jsxRuntimeExports.jsxs("div",{className:s.clx(dn.render,{[dn.open]:g,[dn.close]:!g,[dn.clicked]:t}),onClick:M=>M.stopPropagation(),style:{opacity:P?0:1},children:[s.jsxRuntimeExports.jsx(mh,{onClick:Q,setIsClicked:n,getDisplayName:$}),s.jsxRuntimeExports.jsxs("div",{className:dn.settings,children:[d&&s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(Z0,{block:d}),s.jsxRuntimeExports.jsx(oh,{colors:d.blockColors})]}),!u&&!g&&s.jsxRuntimeExports.jsx("div",{className:dn.loading,children:"Loading"})]})]})},fh="_header_9rrfr_1",xh="_title_9rrfr_9",gh="_backIcon_9rrfr_15",Es={header:fh,title:xh,backIcon:gh},or=({onClick:e,title:t})=>s.jsxRuntimeExports.jsxs("div",{className:Es.header,children:[s.jsxRuntimeExports.jsx("div",{className:Es.backIcon,onClick:e,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"CaretLeft",hoverable:!0,width:20,height:20})}),s.jsxRuntimeExports.jsx("span",{className:Es.title,children:t})]}),Eh="_options_ymds7_1",bh={options:Eh},_h="_wrapper_kzokw_1",Th="_open_kzokw_16",Ch="_close_kzokw_20",bs={wrapper:_h,open:Th,close:Ch},ur=e=>{const{isOpen:t,isClose:n,children:r}=e;return s.jsxRuntimeExports.jsx("div",{className:s.clx(bs.wrapper,{[bs.open]:t,[bs.close]:n}),children:r})},Sh=()=>{var d,m;const{activeBlock:e,themeSettings:t,updateBorder:n,setActiveBlock:r}=s.useThemeSettingsStore();function i(h,f){n(f,h)}const a=s.useNavigate();function o(){r(null),a("/admin/builder/theme")}const u=k.useMemo(()=>t.borders,[t]),c=(e==null?void 0:e.name)==="Borders";return s.jsxRuntimeExports.jsxs(ur,{isOpen:c,isClose:!c,children:[s.jsxRuntimeExports.jsx(or,{onClick:o,title:"Borders Style"}),s.jsxRuntimeExports.jsxs("div",{className:bh.options,children:[s.jsxRuntimeExports.jsx(s.Select,{label:"Border Radius (px)",options:Object.keys(cs),value:((d=Object.entries(cs).find(([h,f])=>f===u.radius))==null?void 0:d[0])||"None",onChange:h=>i(cs[h],"radius")}),s.jsxRuntimeExports.jsx(s.Select,{label:"Border Thickness (px)",options:Object.keys(ds),value:((m=Object.entries(ds).find(([h,f])=>f===u.thickness))==null?void 0:m[0])||"None",onChange:h=>i(ds[h],"thickness")})]})]})},yh="_options_jo38w_1",Rh="_alignments_jo38w_9",kh="_blocks_jo38w_15",Ah="_alignment_jo38w_9",Ih="_active_jo38w_34",Nh="_chargeTypes_jo38w_41",wh="_charge_jo38w_41",jh="_chargeActive_jo38w_69",Lh="_sliderContainer_jo38w_83",vh="_shadowInputs_jo38w_91",Ph="_label_jo38w_102",Oh="_shadowInputsRow_jo38w_111",Dh="_shadowInputsOpen_jo38w_119",We={options:yh,alignments:Rh,blocks:kh,alignment:Ah,active:Ih,chargeTypes:Nh,charge:wh,chargeActive:jh,sliderContainer:Lh,shadowInputs:vh,label:Ph,shadowInputsRow:Oh,shadowInputsOpen:Dh};function _s(e){return(e.includes("linear-gradient")||e.includes("radial-gradient"))&&/^linear-gradient\(\d+deg,\s*#[A-Fa-f0-9]{8}\s+\d+%,\s*#[A-Fa-f0-9]{8}\s+\d+%\)$/.test(e)?!0:/^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/.test(e)}const ht=e=>{const{initialColor:t,onChange:n,title:r,labelStyle:i="primary",isGradientActive:a=!0}=e,[o,u]=k.useState(t);k.useEffect(()=>{u(t)},[t]);const{setActiveLabel:c,setModalPosition:d,setInitialColor:m,setShowModal:h,setUpdate:f,setColor:p,setColorChange:x,setIsGradientActive:g,colorChange:C}=s.useColorPickerStore();k.useEffect(()=>{const P=()=>{h(!1),c(null),m(t),f(()=>{}),p(t),x(()=>{})};return document.body.addEventListener("click",P),()=>{document.body.removeEventListener("click",P)}},[t]);const b=P=>{P.stopPropagation(),h(!0),x(u),f(n),m(t),p(o),g(a);const{top:j,left:I}=mo(P,600,288,10,20,230,80);d({top:j,left:I})},A=P=>{const j=P.target.value;u(j),_s(j)&&(n(j),p(j),x(C))},y=()=>{_s(o)||u(t)};return s.jsxRuntimeExports.jsxs("div",{className:ue.content,children:[s.jsxRuntimeExports.jsx("span",{className:s.clx(ue.name,{[ue.secondary]:i==="secondary"}),children:r}),s.jsxRuntimeExports.jsxs("label",{className:ue.label,onClick:P=>P.stopPropagation(),children:[s.jsxRuntimeExports.jsx("div",{className:ue.colorValue,style:{background:_s(o)?o:t},onClick:b}),s.jsxRuntimeExports.jsx("input",{type:"text",value:o.includes("linear-gradient")?o:o.toUpperCase(),onChange:A,onBlur:y,className:ue.input,style:{textTransform:o.includes("linear-gradient")?"none":"uppercase"}})]})]})},Mh=["left","center","right"],Bh=()=>{const{activeBlock:e,themeSettings:t,updateButton:n,setActiveBlock:r}=s.useThemeSettingsStore(),{fonts:i}=s.useFontsStore(),[a,o]=k.useState("primary");function u(g,C){n(a,C,g)}const[c,d]=k.useState(!1),m=t.buttons[a],h=s.useNavigate();function f(){r(null),h("/admin/builder/theme")}const p=(e==null?void 0:e.name)==="Buttons";function x(g,C){u({...m.boxShadow,[g]:C},"boxShadow")}return s.jsxRuntimeExports.jsxs(ur,{isOpen:p,isClose:!p,children:[s.jsxRuntimeExports.jsx(or,{onClick:f,title:"Buttons Style"}),s.jsxRuntimeExports.jsx("div",{className:We.chargeTypes,style:{marginBottom:"10px"},children:["primary","secondary","tertiary"].map(g=>s.jsxRuntimeExports.jsx("div",{className:s.clx(We.charge,{[We.chargeActive]:a===g}),onClick:()=>o(g),children:g.charAt(0).toUpperCase()+g.slice(1)},g))}),m&&s.jsxRuntimeExports.jsxs("div",{className:We.options,children:[s.jsxRuntimeExports.jsx(s.Input,{label:"Height (px)",value:String(m.height),onChange:g=>u(Number(g),"height"),type:"number",min:0}),s.jsxRuntimeExports.jsx(s.Select,{label:"Font Size (px)",value:String(m.size),onChange:g=>u(Number(g),"size"),options:zr}),s.jsxRuntimeExports.jsx(s.Input,{label:"Border Radius (px)",value:String(m.radius),onChange:g=>u(Number(g),"radius"),type:"number",min:0}),s.jsxRuntimeExports.jsx(s.Select,{label:"Font",value:m.font,onChange:g=>u(g,"font"),options:[...i.filter(g=>g.name!==m.font).map(g=>g.name)]}),s.jsxRuntimeExports.jsx(ht,{initialColor:m.color,onChange:g=>u(g,"color"),title:"Text Color",labelStyle:"secondary",isGradientActive:!1}),s.jsxRuntimeExports.jsx(ht,{initialColor:m.background,onChange:g=>u(g,"background"),title:"Background Color",labelStyle:"secondary",isGradientActive:!0}),s.jsxRuntimeExports.jsxs("div",{className:We.sliderContainer,children:[s.jsxRuntimeExports.jsx("h4",{className:We.label,children:"Shadow"}),s.jsxRuntimeExports.jsx(s.Button,{type:"Secondary",onClick:()=>d(!c),style:{padding:5,display:"flex"},children:s.jsxRuntimeExports.jsx(s.Icon,{name:"CaretUp",style:{rotate:c?"0deg":"-180deg",transition:"0.3s rotate ease"}})})]}),s.jsxRuntimeExports.jsxs("div",{className:s.clx(We.shadowInputs,{[We.shadowInputsOpen]:c}),children:[s.jsxRuntimeExports.jsxs("div",{className:We.shadowInputsRow,children:[s.jsxRuntimeExports.jsx(s.Input,{label:"Left (px)",value:String(m.boxShadow.left),onChange:g=>x("left",Number(g)),type:"number"}),s.jsxRuntimeExports.jsx(s.Input,{label:"Top (px)",value:String(m.boxShadow.top),onChange:g=>x("top",Number(g)),type:"number"}),s.jsxRuntimeExports.jsx(s.Input,{label:"Blur (px)",value:String(m.boxShadow.blur),onChange:g=>x("blur",Number(g)),type:"number"}),s.jsxRuntimeExports.jsx("div",{style:{flex:1,whiteSpace:"nowrap"},children:s.jsxRuntimeExports.jsx(s.Input,{label:"Spread (px)",value:String(m.boxShadow.spread),onChange:g=>x("spread",Number(g)),type:"number"})})]}),s.jsxRuntimeExports.jsx(ht,{initialColor:m.boxShadow.color,onChange:g=>x("color",g),title:"Color",labelStyle:"secondary",isGradientActive:!1})]}),s.jsxRuntimeExports.jsxs("div",{className:We.alignments,children:[s.jsxRuntimeExports.jsx("h4",{className:We.label,children:"Alignment Type"}),s.jsxRuntimeExports.jsx("div",{className:We.blocks,children:Mh.map(g=>s.jsxRuntimeExports.jsx("div",{className:s.clx(We.alignment,{[We.active]:m.alignment===g}),onClick:()=>{u(g,"alignment")},children:s.jsxRuntimeExports.jsx(s.Icon,{name:g==="center"?"AlignCenterHorizontal":g==="left"?"AlignLeft":"AlignRight",fill:m.alignment===g?"#252525":"#757575"})},g))})]}),s.jsxRuntimeExports.jsx(s.Switch,{label:"Enable Hover",onChange:g=>u(g,"hover"),current:m.hover}),m.hover&&s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(ht,{initialColor:m.colorHover,onChange:g=>u(g,"colorHover"),title:"Hover Text Color",labelStyle:"secondary",isGradientActive:!1}),s.jsxRuntimeExports.jsx(ht,{initialColor:m.backgroundHover,onChange:g=>u(g,"backgroundHover"),title:"Hover Background Color",labelStyle:"secondary",isGradientActive:!0})]})]})]})},Fh="_category_hxy9u_1",Hh="_categoryTitle_hxy9u_19",Ts={category:Fh,categoryTitle:Hh},Uh=()=>{const{themeSettings:e,setActiveColorCategory:t}=s.useThemeSettingsStore();function n(r){t(r)}return s.jsxRuntimeExports.jsx("div",{className:Ts.wrapper,children:Object.keys(e.colors).map(r=>r==="icon"?s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{}):s.jsxRuntimeExports.jsxs("div",{className:Ts.category,onClick:()=>n(r),children:[s.jsxRuntimeExports.jsxs("h2",{className:Ts.categoryTitle,children:[r==="text"?"Text & Icon":Ct(r)," Colors"]}),s.jsxRuntimeExports.jsx(s.Icon,{name:"CaretRight",width:24,height:24})]},r))})},$h="_options_ikvjo_38",zh={options:$h},Wh=()=>{const{activeBlock:e,setActiveFont:t,activeFont:n,themeSettings:r,updateFont:i}=s.useThemeSettingsStore(),{fonts:a}=s.useFontsStore(),[o,u]=k.useState(null);function c(){t(null)}function d(g,C){o&&n&&i("desktop",o,n,C,g)}const[m,h]=k.useState([]),f=k.useMemo(()=>n?r.fonts.desktop.heading[n]?(u("heading"),r.fonts.desktop.heading[n]):r.fonts.desktop.body[n]?(u("body"),r.fonts.desktop.body[n]):(u(null),null):null,[n,r]);k.useEffect(()=>{if(f){const g=a.find(C=>C.name===f.font);g&&(h(g.weights),g.weights.includes(f.boldWeight)||d("400","boldWeight"),g.weights.includes(f.weight)||d("400","weight"))}},[f,n]);const p=!!((e==null?void 0:e.name)==="Fonts"&&n),x=(e==null?void 0:e.name)!=="Fonts"||!n;return s.jsxRuntimeExports.jsxs(ur,{isOpen:p,isClose:x,children:[s.jsxRuntimeExports.jsx(or,{onClick:c,title:"Font Style"}),n&&f&&s.jsxRuntimeExports.jsxs("div",{className:zh.options,children:[s.jsxRuntimeExports.jsx(s.Select,{label:"Font",value:f.font,onChange:g=>d(g,"font"),options:[...a.filter(g=>g.name!==f.font).map(g=>g.name)]}),s.jsxRuntimeExports.jsx(s.Select,{label:"Size",value:String(f.size),onChange:g=>d(g,"size"),options:zr}),s.jsxRuntimeExports.jsx(s.Select,{label:"Default Weight",value:String(f.weight),onChange:g=>d(g,"weight"),options:m}),s.jsxRuntimeExports.jsx(s.Select,{label:"Bold Weight",value:String(f.boldWeight),onChange:g=>d(g,"boldWeight"),options:m}),s.jsxRuntimeExports.jsx(s.Select,{label:"Case",value:String(f.case).charAt(0).toUpperCase()+String(f.case).slice(1),onChange:g=>d(g.toLowerCase(),"case"),options:["Normal","Uppercase","Lowercase","Capitalize"].filter(g=>g.toLowerCase()!==String(f.case))})]})]})},qh="_wrapper_mkmxa_1",Vh="_category_mkmxa_5",Yh="_categoryTitle_mkmxa_11",Gh="_font_mkmxa_17",Xh="_content_mkmxa_32",Qh="_icon_mkmxa_39",Kh="_paragraph_mkmxa_50",jt={wrapper:qh,category:Vh,categoryTitle:Yh,font:Gh,content:Xh,icon:Qh,paragraph:Kh},Zh={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",h7:"h7",lg:"large",md:"medium",sm:"small"},Jh=e=>{const{font:t,size:n,id:r,category:i}=e,{setActiveFont:a}=s.useThemeSettingsStore();return s.jsxRuntimeExports.jsxs("div",{className:jt.font,onClick:()=>a(r),children:[s.jsxRuntimeExports.jsx("div",{className:s.clx(jt.icon,{[jt.paragraph]:i==="paragraph"}),children:s.jsxRuntimeExports.jsx(s.Icon,{name:i==="paragraph"?"TextB":"TextH"})}),s.jsxRuntimeExports.jsxs("div",{className:jt.content,children:[s.jsxRuntimeExports.jsx("h2",{className:jt.categoryTitle,children:Ct(Zh[r])}),s.jsxRuntimeExports.jsx("span",{className:jt.value,children:`${t}, ${n}px`})]})]})},em=()=>{const{themeSettings:e,setActiveFont:t,activeBlock:n}=s.useThemeSettingsStore();k.useEffect(()=>(r(),()=>{r()}),[]);function r(){t(null)}if(n!=null&&n.name)return s.jsxRuntimeExports.jsx("div",{className:jt.wrapper,children:Object.entries(e.fonts.desktop).sort(([i],[a])=>i==="heading"?-1:a==="heading"?1:0).map(([i,a])=>s.jsxRuntimeExports.jsxs("div",{className:jt.category,children:[s.jsxRuntimeExports.jsx("h2",{className:jt.categoryTitle,children:Ct(i)}),Object.entries(a).map(([o,u])=>s.jsxRuntimeExports.jsx(Jh,{id:o,category:i,...u},o))]},i))})},tm="_wrapper_16ym0_2",nm="_categoryTitle_16ym0_12",rm="_title_16ym0_74",sm="_field_16ym0_82",im="_alignments_16ym0_92",am="_lineField_16ym0_98",om="_style_16ym0_106",um="_header_16ym0_113",ct={wrapper:tm,categoryTitle:nm,title:rm,field:sm,alignments:im,lineField:am,style:om,header:um},lm="_blocks_emecf_1",cm="_block_emecf_1",dm="_active_emecf_21",Cs={blocks:lm,block:cm,active:dm},$i=e=>{const{items:t,selectedItem:n,onSelect:r,getIconName:i}=e;return s.jsxRuntimeExports.jsx("div",{className:Cs.blocks,children:t.map(a=>s.jsxRuntimeExports.jsx("div",{className:s.clx(Cs.block,{[Cs.active]:n===a}),onClick:()=>r(a),children:s.jsxRuntimeExports.jsx(s.Icon,{name:i(a),fill:n===a?"#252525":"#757575"})},String(a)))})},hm=["left","center","right"],mm=["solid","dashed"],Bn=e=>{const{title:t,children:n,rightAddon:r}=e;return s.jsxRuntimeExports.jsxs("div",{className:ct.field,children:[s.jsxRuntimeExports.jsxs("div",{className:ct.header,children:[s.jsxRuntimeExports.jsx("h4",{className:ct.categoryTitle,children:t}),r]}),n]})},pm=()=>{const{themeSettings:e,updateInput:t}=s.useThemeSettingsStore(),n=k.useMemo(()=>e.inputs,[e]),r=(a,o,u)=>{t(a,o,u)},i=a=>o=>{t(a,o,"color")};return s.jsxRuntimeExports.jsxs("div",{className:ct.wrapper,children:[s.jsxRuntimeExports.jsxs(Bn,{title:"General",children:[s.jsxRuntimeExports.jsx(s.Input,{label:"Height (px)",value:String(n.general.height),onChange:a=>r("general",a,"height"),type:"number",min:0}),s.jsxRuntimeExports.jsx(s.Select,{label:"Font Size (px)",onChange:a=>r("general",a,"size"),value:String(n.general.size),options:zr}),s.jsxRuntimeExports.jsx(ht,{initialColor:Ct(n.general.color),onChange:i("general"),title:"Font Color",labelStyle:"secondary",isGradientActive:!1})]}),s.jsxRuntimeExports.jsx(Bn,{title:"Field Fill",rightAddon:s.jsxRuntimeExports.jsx("div",{className:ct.switch,children:s.jsxRuntimeExports.jsx(s.Switch,{onChange:a=>r("field",a,"active"),current:n.field.active})}),children:s.jsxRuntimeExports.jsx(ht,{initialColor:n.field.color,onChange:i("field"),title:"Color",labelStyle:"secondary"})}),s.jsxRuntimeExports.jsx(Bn,{title:"Placeholder",children:s.jsxRuntimeExports.jsx(ht,{initialColor:Ct(n.placeholder.color),onChange:i("placeholder"),title:"Font Color",labelStyle:"secondary",isGradientActive:!1})}),s.jsxRuntimeExports.jsxs(Bn,{title:"Border",rightAddon:s.jsxRuntimeExports.jsx("div",{className:ct.switch,children:s.jsxRuntimeExports.jsx(s.Switch,{onChange:a=>r("border",a,"active"),current:n.border.active})}),children:[s.jsxRuntimeExports.jsxs("div",{className:ct.lineField,children:[s.jsxRuntimeExports.jsxs("div",{className:ct.style,children:[s.jsxRuntimeExports.jsx("span",{className:ct.title,children:"Style"}),s.jsxRuntimeExports.jsx($i,{items:mm,selectedItem:n.border.style,onSelect:a=>r("border",a,"style"),getIconName:a=>a==="solid"?"Minus":"Selection"})]}),s.jsxRuntimeExports.jsx(s.Input,{label:"Radius (px)",value:String(n.border.radius),onChange:a=>r("border",a,"radius"),type:"number",min:0})]}),s.jsxRuntimeExports.jsx(s.Input,{label:"Thickness (px)",value:String(n.border.thickness),onChange:a=>r("border",a,"thickness"),type:"number",min:0}),s.jsxRuntimeExports.jsx(ht,{initialColor:Ct(n.border.color),onChange:i("border"),title:"Color",labelStyle:"secondary",isGradientActive:!1})]}),s.jsxRuntimeExports.jsxs(Bn,{title:"Label",children:[s.jsxRuntimeExports.jsx(s.Input,{label:"Line Height (px)",value:String(n.label.height),onChange:a=>r("label",a,"height"),type:"number",min:0}),s.jsxRuntimeExports.jsx(s.Select,{label:"Font Size (px)",onChange:a=>r("label",a,"size"),value:String(n.label.size),options:zr}),s.jsxRuntimeExports.jsx(ht,{initialColor:Ct(n.label.color),onChange:i("label"),title:"Color",labelStyle:"secondary",isGradientActive:!1}),s.jsxRuntimeExports.jsxs("div",{className:ct.alignments,children:[s.jsxRuntimeExports.jsx("h4",{className:ct.title,children:"Alignment Type"}),s.jsxRuntimeExports.jsx($i,{items:hm,selectedItem:n.label.alignment,onSelect:a=>r("label",a,"alignment"),getIconName:a=>a==="center"?"AlignCenterHorizontal":a==="left"?"AlignLeft":"AlignRight"})]})]})]})},fm="_wrapper_1yw63_2",xm="_color_1yw63_24",gm="_content_1yw63_33",Em="_preview_1yw63_42",bm="_container_1yw63_52",_m="_buttonWrapper_1yw63_62",Tm="_button_1yw63_62",Cm="_buttonBorder_1yw63_80",Sm="_buttonBackground_1yw63_83",ym="_text_1yw63_87",Rm="_textText_1yw63_93",km="_icon_1yw63_97",Am="_iconIcon_1yw63_100",Im="_annotation_1yw63_104",Nm="_annotationText_1yw63_111",wm="_label_1yw63_116",jm="_circle_1yw63_127",Lm="_line_1yw63_140",vm="_circle1_1yw63_154",Pm="_circle2_1yw63_159",Om="_annotationIcon_1yw63_164",Dm="_annotationBorder_1yw63_192",Mm="_line1_1yw63_203",Bm="_line2_1yw63_210",Fm="_circle3_1yw63_227",Hm="_circle4_1yw63_232",Um="_annotationSurface_1yw63_237",K={wrapper:fm,color:xm,content:gm,preview:Em,container:bm,buttonWrapper:_m,button:Tm,buttonBorder:Cm,buttonBackground:Sm,text:ym,textText:Rm,icon:km,iconIcon:Am,annotation:Im,annotationText:Nm,label:wm,circle:jm,line:Lm,circle1:vm,circle2:Pm,annotationIcon:Om,annotationBorder:Dm,line1:Mm,line2:Bm,circle3:Fm,circle4:Hm,annotationSurface:Um},$m=()=>{const{activeColorCategory:e}=s.useThemeSettingsStore();return s.jsxRuntimeExports.jsx("div",{className:K.container,children:s.jsxRuntimeExports.jsxs("div",{className:K.buttonWrapper,children:[s.jsxRuntimeExports.jsxs("div",{className:s.clx(K.button,{[K.buttonBorder]:e==="border",[K.buttonBackground]:e==="surface"}),children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Smiley",className:s.clx(K.icon,{[K.iconIcon]:e==="text"}),width:22,height:22,fill:"#757575"}),s.jsxRuntimeExports.jsx("span",{className:s.clx(K.text,{[K.textText]:e==="text"}),children:"Button Example"})]}),e==="text"&&s.jsxRuntimeExports.jsxs("div",{className:s.clx(K.annotation,K.annotationText),children:[s.jsxRuntimeExports.jsx("div",{className:K.label,children:"Text Color"}),s.jsxRuntimeExports.jsx("div",{className:K.line}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle1)}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle2)})]}),e==="text"&&s.jsxRuntimeExports.jsxs("div",{className:s.clx(K.annotation,K.annotationIcon),children:[s.jsxRuntimeExports.jsx("div",{className:K.label,children:"Icon Color"}),s.jsxRuntimeExports.jsx("div",{className:K.line}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle1)}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle2)})]}),e==="border"&&s.jsxRuntimeExports.jsxs("div",{className:s.clx(K.annotation,K.annotationBorder),children:[s.jsxRuntimeExports.jsx("div",{className:K.label,children:"Border Color"}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.line,K.line1)}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.line,K.line2)}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle1)}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle2)}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle3)}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle4)})]}),e==="surface"&&s.jsxRuntimeExports.jsxs("div",{className:s.clx(K.annotation,K.annotationSurface),children:[s.jsxRuntimeExports.jsx("div",{className:K.label,children:"Surface Color"}),s.jsxRuntimeExports.jsx("div",{className:K.line}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle1)}),s.jsxRuntimeExports.jsx("div",{className:s.clx(K.circle,K.circle2)})]})]})})},zm={text:["primary","secondary","tertiary","inverted","action","action-hover","disabled","warning","error","success","information","link"],border:["primary","secondary","action","actionHover","disabled","warning","error","success","information","focus"],surface:["primary","secondary","action1","action1Hover","action2","action2Hover","disabled","warning","error","success","information","modal"]},Wm=()=>{const{activeBlock:e,setActiveColorCategory:t,activeColorCategory:n,themeSettings:r,updateColor:i}=s.useThemeSettingsStore();function a(){t(null)}function o(m,h,f){i(m,h,f)}const u=!!((e==null?void 0:e.name)==="Colors"&&n),c=(e==null?void 0:e.name)!=="Colors"||!n,d=n?zm[n]:[];return s.jsxRuntimeExports.jsxs(ur,{isOpen:u,isClose:c,children:[s.jsxRuntimeExports.jsx(or,{onClick:a,title:n==="text"?"Text & Icon Colors":`${Ct(n)} Colors`}),n&&s.jsxRuntimeExports.jsxs("div",{className:K.wrapper,children:[s.jsxRuntimeExports.jsx($m,{}),d.map(m=>{const h=r.colors[n][m];return typeof h!="string"?null:s.jsxRuntimeExports.jsx("div",{className:K.color,children:s.jsxRuntimeExports.jsxs("div",{className:K.content,children:[s.jsxRuntimeExports.jsx("div",{className:K.preview,style:{background:h}}),s.jsxRuntimeExports.jsx(ht,{title:Ct(m),initialColor:h,onChange:f=>o(n,m,f),isGradientActive:n==="surface"})]})},m)})]})]})},qm="_loader_1p5lr_1",Vm={loader:qm},Ym=()=>{const{activeBlock:e,themeSettings:t,isLoadingThemeSettings:n}=s.useThemeSettingsStore();return s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:n?s.jsxRuntimeExports.jsx("div",{className:Vm.loader,children:s.jsxRuntimeExports.jsx(Vt,{})}):s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[(e==null?void 0:e.name)==="Fonts"&&t.fonts&&s.jsxRuntimeExports.jsx(em,{}),(e==null?void 0:e.name)==="Fonts"&&t.fonts&&s.jsxRuntimeExports.jsx(Wh,{}),(e==null?void 0:e.name)==="Colors"&&t.colors&&s.jsxRuntimeExports.jsx(Uh,{}),(e==null?void 0:e.name)==="Colors"&&t.colors&&s.jsxRuntimeExports.jsx(Wm,{}),(e==null?void 0:e.name)==="Inputs"&&t.inputs&&s.jsxRuntimeExports.jsx(pm,{}),(e==null?void 0:e.name)==="Borders"&&t.borders&&s.jsxRuntimeExports.jsx(Sh,{}),(e==null?void 0:e.name)==="Buttons"&&t.buttons&&s.jsxRuntimeExports.jsx(Bh,{})]})})},Gm=()=>{const{activeBlock:e,setActiveBlock:t}=s.useThemeSettingsStore(),{activeBlock:n}=s.useNavbarStore(),r=s.useNavigate();function i(){t(null),r("/admin/builder/theme")}const a=!!e,o=!e||n.name!=="Theme";return s.jsxRuntimeExports.jsxs(ur,{isOpen:a,isClose:o,children:[s.jsxRuntimeExports.jsx(or,{onClick:i,title:(e==null?void 0:e.name)||""}),s.jsxRuntimeExports.jsx(Ym,{})]})},Xm=()=>{const{activeBlock:e}=s.useNavbarStore(),{showTooltip:t}=s.useTooltipStore();function n(){switch(e.name){case"Layers":return"Layers";case"Add":return"Add Sections";case"Theme":return"Theme Settings";case"Settings":return"Settings"}}return s.jsxRuntimeExports.jsxs("div",{className:Ui.sidebar,style:{zIndex:t?50:"auto"},children:[s.jsxRuntimeExports.jsx("h3",{className:Ui.title,children:n()}),e.name==="Layers"&&s.jsxRuntimeExports.jsx(D0,{}),e.name==="Add"&&s.jsxRuntimeExports.jsx(po,{}),s.jsxRuntimeExports.jsx(ph,{}),s.jsxRuntimeExports.jsx(Gm,{}),e.name==="Theme"&&s.jsxRuntimeExports.jsx(q0,{}),e.name==="Settings"&&s.jsxRuntimeExports.jsx(F0,{})]})},Qm="_wrapper_no6if_1",Km="_header_no6if_12",Zm="_content_no6if_23",Jm="_buttons_no6if_44",ep="_label_no6if_51",tp="_description_no6if_52",np="_preview_no6if_60",rp="_block_no6if_66",sp="_slug_no6if_75",ip="_title_no6if_81",ap="_closeIcon_no6if_87",ot={wrapper:Qm,header:Km,content:Zm,buttons:Jm,label:ep,description:tp,preview:np,block:rp,slug:sp,title:ip,closeIcon:ap},op=()=>{var Q,w,$,M,H,Y,z;const{setIsOpenModal:e,pages:t,createPage:n,updatePage:r,isEdit:i,setIsEdit:a,editedPage:o,setEditedPage:u,pageContext:c}=s.usePagesStore(),{setIsOpen:d}=s.useModalStore(),{createPage:m,updatePage:h}=s.useLayersStore(),[f,p]=k.useState(o?t&&((Q=t[o])==null?void 0:Q.path):""),[x,g]=k.useState(o?t&&((w=t[o])==null?void 0:w.name):""),[C,b]=k.useState(o?t&&(($=t[o])==null?void 0:$.seo)&&((H=(M=t[o])==null?void 0:M.seo)==null?void 0:H.pageDescription)||"":`${c.general.info.name} is powered by the Billgang.com platform which allows them to sell their digital products online for free.`),[A,y]=k.useState(o&&t&&(Y=t[o])!=null&&Y.isPrivate?"private":"public");function P(){p(""),g(""),b(""),y("public"),a(!1),u(null)}function j(){d(!1),setTimeout(()=>{P(),e(!1),d(!0)},300)}k.useEffect(()=>()=>{j()},[]);function I(X){return X[0]==="/"?X:"/"+X}function q(){n({path:I(f),name:x||f||"",icon:"File",seo:{pageTitle:x||"",pageDescription:C||""},visibility:A||"public"}),m(I(f)),j()}function V(){t&&(s.defaultPagePaths.includes(t[o].path)||ho(t[o].path),h(t[o].path||"",f||""),r(o,{path:I(f),name:x||f,icon:t[o].icon||"File",seo:{pageTitle:x||"",pageDescription:C||""},visibility:A||"public"})),j()}return s.jsxRuntimeExports.jsxs("div",{className:ot.wrapper,onClick:X=>X.stopPropagation(),children:[s.jsxRuntimeExports.jsxs("div",{className:ot.header,children:[s.jsxRuntimeExports.jsx("h2",{children:i?"Edit Page":"Create New Page"}),s.jsxRuntimeExports.jsx("div",{className:ot.closeIcon,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"X",fill:"#757575",hoverable:!0,onClick:j})})]}),s.jsxRuntimeExports.jsxs("div",{className:ot.content,children:[s.jsxRuntimeExports.jsx(s.Input,{label:"Page Slug",onChange:X=>p(X),value:f,placeholder:"path-to-page",disabled:!!(o&&t&&((z=t[o])!=null&&z.name)&&s.defaultPagePaths.includes(t[o].path)),required:!0,regex:"^.+$"}),s.jsxRuntimeExports.jsx(s.Input,{label:"Page Title",onChange:X=>{g(X)},value:x.charAt(0).toUpperCase()+x.slice(1),placeholder:"Contact us"}),s.jsxRuntimeExports.jsx(s.Textarea,{label:"Description",onChange:X=>b(X),value:C,placeholder:`${c.general.info.name} is powered by the Billgang.com platform which allows them to sell their digital products online for free.`,maxLength:150}),s.jsxRuntimeExports.jsxs("div",{className:ot.preview,children:[s.jsxRuntimeExports.jsx("span",{className:ot.label,children:"Preview"}),s.jsxRuntimeExports.jsxs("div",{className:ot.block,children:[s.jsxRuntimeExports.jsx("span",{className:ot.slug,children:f||"yoursite.url"}),s.jsxRuntimeExports.jsx("span",{className:ot.title,children:x||"My Blank Page"}),s.jsxRuntimeExports.jsx("span",{className:ot.description,children:C||"It is My Description"})]})]})]}),s.jsxRuntimeExports.jsxs("div",{className:ot.buttons,children:[s.jsxRuntimeExports.jsx(s.Button,{onClick:j,type:"Secondary",children:"Cancel"}),s.jsxRuntimeExports.jsx(s.Button,{onClick:i?V:q,disabled:f.length===0,children:i?"Update":"Create"})]})]})},up="_layout_1pjho_1",lp="_main_1pjho_10",cp="_content_1pjho_18",dp="_notifications_1pjho_26",Sr={layout:up,main:lp,content:cp,notifications:dp},hp="_notification_2jmah_1",mp="_text_2jmah_22",pp="_timer_2jmah_27",fp="_warning_2jmah_32",xp="_error_2jmah_37",gp="_success_2jmah_42",hn={notification:hp,text:mp,timer:pp,warning:fp,error:xp,success:gp},zi={warning:"#C1972A",error:"#FF3F19",success:"#338B13"},fo=e=>{const{type:t,message:n,style:r,padding:i,timer:a,id:o}=e,[u,c]=k.useState(a),{setNotifications:d}=s.useNotificationStore();function m(){const f=s.useNotificationStore.getState().notifications.filter(p=>p.id!==o);d([...f])}return k.useEffect(()=>{const h=setTimeout(()=>{m()},a*1e3);return()=>clearTimeout(h)},[a]),k.useEffect(()=>{const h=setInterval(()=>c(f=>f-1),1e3);return()=>clearInterval(h)},[u]),s.jsxRuntimeExports.jsx("div",{style:{padding:i,position:"relative"},children:s.jsxRuntimeExports.jsxs("div",{className:s.clx(hn.notification,{[hn.warning]:t==="warning",[hn.error]:t==="error",[hn.success]:t==="success"}),style:r,children:[s.jsxRuntimeExports.jsx("div",{children:s.jsxRuntimeExports.jsx(s.Icon,{name:"Info",fill:zi[t],width:20,height:20})}),s.jsxRuntimeExports.jsx("div",{className:hn.text,children:n}),a&&s.jsxRuntimeExports.jsx("div",{className:hn.timer,children:u}),s.jsxRuntimeExports.jsx("div",{style:{display:"flex"},children:s.jsxRuntimeExports.jsx(s.Icon,{name:"X",fill:zi[t],width:20,height:20,hoverable:!0,onClick:()=>m()})})]})})},Ep="_modal_1h74q_1",bp="_title_1h74q_14",_p="_buttons_1h74q_20",yr={modal:Ep,title:bp,buttons:_p},xo=()=>{const{title:e,description:t,onConfirm:n,setTitle:r,setDescription:i,setOnConfirm:a}=s.useConfirmationModalStore(),{setIsOpen:o}=s.useModalStore();function u(){o(!1),setTimeout(()=>{r(null),i(null),a(null),o(!0)},300)}return e&&t&&n&&s.jsxRuntimeExports.jsxs("div",{className:yr.modal,onClick:c=>c.stopPropagation(),children:[s.jsxRuntimeExports.jsx("div",{className:yr.title,children:e}),s.jsxRuntimeExports.jsx("div",{className:yr.description,children:t}),s.jsxRuntimeExports.jsxs("div",{className:yr.buttons,children:[s.jsxRuntimeExports.jsx(s.Button,{onClick:u,children:"Cancel"}),s.jsxRuntimeExports.jsx(s.Button,{onClick:()=>{n(),u()},type:"Secondary",children:"Confirm"})]})]})},Tp="_modal_270ti_1",Cp="_padding_270ti_17",Sp="_content_270ti_21",yp="_close_270ti_42",Rr={modal:Tp,padding:Cp,content:Sp,close:yp},Br=e=>{const{close:t,children:n,withAnimation:r=!0,hasPadding:i=!0}=e,{isOpen:a,setIsOpen:o}=s.useModalStore();return k.useEffect(()=>{const u=()=>{o(!1),r?setTimeout(()=>{t(!1),o(!0)},300):(t(!1),o(!0))};return document.body.addEventListener("click",u),()=>{document.body.removeEventListener("click",u)}},[]),s.jsxRuntimeExports.jsx("div",{className:s.clx(Rr.modal,{[Rr.padding]:i}),children:r?s.jsxRuntimeExports.jsx("div",{className:s.clx(Rr.content,{[Rr.close]:!a}),children:n}):s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:n})})},Rp=()=>{const{isOpenModal:e,setIsOpenModal:t}=s.usePagesStore(),{openModal:n,setOpenModal:r}=s.useChooseImageStore(),{notifications:i}=s.useNotificationStore(),{title:a,description:o,setTitle:u,setDescription:c,setOnConfirm:d}=s.useConfirmationModalStore();return s.jsxRuntimeExports.jsxs("div",{id:"builder",children:[s.jsxRuntimeExports.jsxs("div",{className:Sr.layout,children:[s.jsxRuntimeExports.jsx(dd,{}),s.jsxRuntimeExports.jsxs("main",{className:Sr.main,children:[s.jsxRuntimeExports.jsx(nd,{}),s.jsxRuntimeExports.jsxs("div",{className:Sr.content,children:[s.jsxRuntimeExports.jsx(Xm,{}),s.jsxRuntimeExports.jsx(f0,{})]})]})]}),a&&o&&s.jsxRuntimeExports.jsx(Br,{close:()=>{u(null),c(null),d(null)},children:s.jsxRuntimeExports.jsx(xo,{})}),e&&s.jsxRuntimeExports.jsx(Br,{close:t,children:s.jsxRuntimeExports.jsx(op,{})}),n&&s.jsxRuntimeExports.jsx(Br,{close:r,children:s.jsxRuntimeExports.jsx(s.ChooseImageModal,{})}),i.length>0&&s.jsxRuntimeExports.jsx("div",{className:Sr.notifications,children:i.map(m=>s.jsxRuntimeExports.jsx(fo,{type:m.status,message:m.message,timer:10,id:m.id},m.id))})]})};async function mn(e,t){const n=localStorage.getItem("shopId")||void 0,r=`${s.API_URL}/${e}/builder/shops/${n}/${t}`;return(await s.request({url:r,withToken:!0,method:"get"})).data}async function kp(){try{const[e,t,n,r,i,a,o,u]=await Promise.allSettled([mn("v1","general"),mn("v1","faqs"),mn("v1","listings"),mn("v1","products"),mn("v1","reviews"),mn("v1","categories"),{data:null},{data:null}]);return{general:e,faqs:t,listings:n,products:r,reviews:i,categories:a,fullPosts:o,posts:u}}catch(e){throw console.error("Error fetching page data:",e),e}}async function Ap(){try{const{data:e}=await s.axios.get(`${s.GOOGLE_FONTS_API}?key=AIzaSyAEsTbjAPUz_TeuFCq4z4LPK9w_vst0Pfw`);return e.items}catch(e){throw console.error("Error fetching page data:",e),e}}async function Ip(){var r;const e=localStorage.getItem("shopId"),t=localStorage.getItem("draftId"),n=`${s.API_URL}/v2/builder/shops/${e}/drafts/${t}/pages`;try{return(await s.request({url:n,withToken:!0,method:"get"})).data}catch(i){return{data:[],status:(r=i.response)==null?void 0:r.status}}}async function Np(){const e=localStorage.getItem("shopId")||void 0,t=localStorage.getItem("draftId")||void 0,n=`${s.API_URL}/v2/builder/shops/${e}/drafts/${t}/all`;return(await s.request({url:n,withToken:!0,method:"get"})).data}const wp=e=>{const{blocks:t,settings:n,header:r,footer:i,announcement:a}=e,{setBlocks:o,setSourceBlocks:u,setHeader:c,setFooter:d,setAnnouncement:m,setSettings:h}=s.useBlocksStore(),{fonts:f,setFonts:p}=s.useFontsStore(),{setSettings:x}=s.useSettingsStore(),{setPageContext:g}=s.usePagesStore(),{setThemeSettings:C,setIsLoadingThemeSettings:b}=s.useThemeSettingsStore(),{setIsLoadingSettings:A}=s.useSettingsStore(),{notifications:y,setNotifications:P}=s.useNotificationStore(),{setBlocks:j,blocks:I,createPage:q,setIsLoadingLayers:V,setHeader:Q,setAnnouncement:w,setFooter:$}=s.useLayersStore(),{setPages:M,setCurrentPage:H}=s.usePagesStore();return k.useEffect(()=>{b(!0),V(!0),A(!0);const Y={};Object.keys(t).forEach(X=>{Y[X]=t[X]}),u(Y),o(Y),c(r),d(i),m(a),h(n),(async()=>{const X={listings:null,products:null,reviews:null,categories:null,faqs:null,general:null,fullPosts:null,posts:null},G=await kp();Object.keys(G).map(ce=>{const Ae=ce;X[Ae]=G[Ae].value.data}),g(X);const{data:W}=await Np(),{themeSettings:J,layers:S,settings:Ce}=W||{};if(Ce){if(Ce.settings){const ce=new n;ce.blockSettings={displayName:"Settings",isAddable:!1,...Ce.settings},x(ce)}Ce.header&&Q(Ce.header),Ce.footer&&$(Ce.footer),Ce.announcement&&w(Ce.announcement)}else{const ce=new n;x(ce)}J&&C(J);const Pe=await Ip(),R={};if(Pe.status>=400&&P([...y,{id:s.v4(),message:"Error fetching pages",status:"error"}]),Pe.data.length>0?(Pe.data.forEach(ce=>{var Ae,ee;I[ce.path]||q(ce.path),R[ce.id||ce.path]={...ce,icon:s.pages[ce.path]?s.pages[ce.path].icon:"File",name:ce.name||((Ae=ce.seo)==null?void 0:Ae.pageTitle)||((ee=s.pages[ce.path])==null?void 0:ee.name)||ce.path}}),M(R),H(Object.keys(R)[0])):(M(s.pages),H(Object.keys(s.pages)[0])),f.length===0){const ce=await Ap();p([...ce.map(Ae=>{const ee=Ae.variants.map(De=>{if(!De.includes("italic"))return De==="regular"?"400":De}).filter(De=>De!==void 0);return{name:Ae.family,weights:ee}})])}j(S),b(!1),V(!1),A(!1)})()},[]),s.jsxRuntimeExports.jsx(Rp,{})};function jp(){const e=new URL(window.location.href);window.history.replaceState(null,"",e.pathname+e.hash)}function Lp(){const e=new URLSearchParams(document.location.search),t=e.get("shopId")||localStorage.getItem("shopId"),n=e.get("sellerAccessToken")||localStorage.getItem("sellerAccessToken"),r=e.get("draftId")||localStorage.getItem("draftId");return jp(),n&&localStorage.setItem("sellerAccessToken",n),t&&localStorage.setItem("shopId",t),r&&localStorage.setItem("draftId",r),!!(n&&t&&r)}const vp="data:image/svg+xml,%3csvg%20width='204'%20height='241'%20viewBox='0%200%20204%20241'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M204%200V118.282L154.174%20134.707V69.0074L49.7111%20102.77V43.5716L204%200Z'%20fill='%23FF3F19'/%3e%3cpath%20d='M154.174%20134.694V191.155L0%20241V117.471L49.7114%20102.757V169.597L154.174%20134.694Z'%20fill='%23FF3F19'/%3e%3c/svg%3e",Pp=e=>{const{blocks:t,settings:n,header:r,footer:i,announcement:a}=e,[o,u]=k.useState(!0),c=s.useNavigate(),d=s.useLocation();return k.useEffect(()=>{const m=d.pathname;if(m.startsWith("/admin/builder")){m==="/admin/builder/add"?document.title="Add Section | Builder":m==="/admin/builder/theme"?document.title="Theme Settings | Builder":m==="/admin/builder/settings"?document.title="Settings | Builder":document.title="Builder | Billgang";let h=document.querySelector("link[rel~='icon']");h||(h=document.createElement("link"),h.rel="icon",document.head.appendChild(h)),h&&(h.href=vp)}},[d]),k.useEffect(()=>{u(!0),Lp()?u(!1):c("/")},[]),s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:o?s.jsxRuntimeExports.jsx(Vt,{}):s.jsxRuntimeExports.jsx(wp,{blocks:t,settings:n,header:r,footer:i,announcement:a})})},Op="_wrapper_1yd2j_1",Dp="_error_1yd2j_11",Mp="_title_1yd2j_21",Bp="_buttons_1yd2j_29",Fn={wrapper:Op,error:Dp,title:Mp,buttons:Bp},Wi=async e=>{const t=localStorage.getItem("shopId")||void 0,n=localStorage.getItem("draftId"),r=`${s.API_URL}/v2/builder/shops/${t}/drafts/${n}/reset`;return await s.request({url:r,withToken:!0,method:"post",body:e})},Fp=()=>{const{error:e,setError:t}=s.useErrorStore(),{pages:n}=s.usePagesStore(),{setIsOpen:r}=s.useModalStore(),{title:i,description:a,setOnConfirm:o,setTitle:u,setDescription:c}=s.useConfirmationModalStore(),{setBlocks:d}=s.useLayersStore();async function m(){await Wi({resetSettings:(e==null?void 0:e.failedSettings)??!1,resetThemeSettings:(e==null?void 0:e.failedThemeSettings)??!1,resetPageIds:(e==null?void 0:e.failedPageIds)??[]}),t(null),d({}),window.location.reload()}async function h(){const f=[];n&&Object.keys(n).map(p=>n[p].id).filter(p=>p!==void 0).map(p=>f.push(p)),await Wi({resetSettings:!0,resetThemeSettings:!0,resetPageIds:f}),t(null)}return s.jsxRuntimeExports.jsxs("div",{className:Fn.wrapper,children:[s.jsxRuntimeExports.jsxs("div",{className:Fn.error,children:[s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx("div",{className:Fn.title,children:"Oops! Something went wrong"}),s.jsxRuntimeExports.jsx("span",{className:Fn.message,children:(e==null?void 0:e.message)||""})]}),s.jsxRuntimeExports.jsxs("div",{className:Fn.buttons,children:[s.jsxRuntimeExports.jsx(s.Button,{type:"Primary",onClick:m,children:"Reset Settings"}),s.jsxRuntimeExports.jsx(s.Button,{type:"Secondary",onClick:f=>{f.stopPropagation(),u("Reset All Settings"),c("Are you sure you want to reset all settings? This is irreversible."),o(async()=>{await h()})},children:"Reset All Settings"})]})]}),i&&a&&s.jsxRuntimeExports.jsx(Br,{close:()=>{r(!1),setTimeout(()=>{u(null),c(null),o(null),r(!0)},300)},children:s.jsxRuntimeExports.jsx(xo,{})})]})},Hp=e=>{const{children:t}=e,{pathname:n}=s.useLocation(),{setActiveBlock:r}=s.useNavbarStore(),{setActiveBlock:i}=s.useThemeSettingsStore(),{setActiveBlock:a}=s.usePreviewStore();return k.useEffect(()=>{switch(a({id:null,neededScroll:!1}),n){case"/admin/builder":r(s.navbarBlocks[0]);break;case"/admin/builder/add":r(s.navbarBlocks[1]);break;case"/admin/builder/theme":r(s.navbarBlocks[2]);break;case"/admin/builder/settings":r(s.navbarBlocks[3]);break;case"/admin/builder/theme/colors":r(s.navbarBlocks[2]),i(dt[0]);break;case"/admin/builder/theme/fonts":r(s.navbarBlocks[2]),i(dt[1]);break;case"/admin/builder/theme/borders":r(s.navbarBlocks[2]),i(dt[2]);break;case"/admin/builder/theme/buttons":r(s.navbarBlocks[2]),i(dt[3]);break;case"/admin/builder/theme/inputs":r(s.navbarBlocks[2]),i(dt[4]);break}},[n]),s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:t})},Up="_lock_1mxa7_1",$p="_wrapper_1mxa7_12",zp="_content_1mxa7_22",Wp="_info_1mxa7_31",qp="_buttons_1mxa7_38",Vp="_button_1mxa7_38",Yp="_input_1mxa7_50",Gp="_error_1mxa7_57",ut={lock:Up,wrapper:$p,content:zp,info:Wp,buttons:qp,button:Vp,input:Yp,error:Gp},Xp=()=>{const[e,t]=k.useState(!1),[n,r]=k.useState(!1),[i,a]=k.useState(""),{general:o,setGeneral:u}=s.useGeneralStore(),{setShopPassword:c}=s.useStorefrontStore(),d=s.useLocation(),m=s.useNavigate();k.useEffect(()=>{if(o&&(!o.info.passwordProtected||o.isPasswordValid)){const f=d.state.from==="/validation"?"/":d.state.from;m(f)}},[o]),k.useEffect(()=>{o||(async()=>{var g;t(!0);const p=localStorage.getItem("shopPassword")||"",x=await qs(p);if(x.isPasswordValid){const C=((g=d.state)==null?void 0:g.from)||"/";m(C)}u(x),t(!1)})()},[o]);async function h(){var p;t(!0);const f=await qs(i);if(!f.isPasswordValid)r(!0);else{localStorage.setItem("shopPassword",i),c(i);const x=((p=d.state)==null?void 0:p.from)||"/";m(x),u(f)}t(!1)}return s.jsxRuntimeExports.jsxs("div",{className:ut.wrapper,children:[!e&&s.jsxRuntimeExports.jsxs("div",{className:ut.content,children:[s.jsxRuntimeExports.jsx("div",{className:ut.lock,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"Lock",fill:"var(--text-secondary)",width:64,height:64})}),s.jsxRuntimeExports.jsxs("div",{className:ut.info,children:[s.jsxRuntimeExports.jsx("h2",{id:"h2",className:ut.title,children:"The store is password protected"}),s.jsxRuntimeExports.jsx("p",{id:"p",className:ut.description,children:"If you do not have a password, we recommend you to contact the technical support of the store or write to the mail"})]}),s.jsxRuntimeExports.jsxs("div",{className:ut.input,children:[s.jsxRuntimeExports.jsx(s.Input$1,{type:"password",onChange:f=>{r(!1),a(f)},value:i,placeholder:"Password",required:!0}),s.jsxRuntimeExports.jsx("span",{className:ut.error,children:n&&"Incorrect password"})]}),s.jsxRuntimeExports.jsxs("div",{className:ut.buttons,children:[s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",className:ut.button,onClick:()=>m("/contact"),children:"Contact Support"}),s.jsxRuntimeExports.jsx(s.Button$1,{type:"Primary",className:ut.button,disabled:n,onClick:h,children:"Submit"})]})]}),e&&s.jsxRuntimeExports.jsx(s.Loader,{})]})},Qp="_notifications_2ywhg_1",Kp={notifications:Qp},Ss="f10120ab-7ebb-4785-b240-7428edaa3c4e",kr="https://t-api.billgang.com",Ar="I",Zp=10*1e3,Jp=15*1e3,ef=15*60*1e3,tf=(e,t="production")=>{const{pathname:n}=s.useLocation(),r=k.useRef(),i=k.useRef(document.visibilityState);k.useEffect(()=>{if(!e)return;const a=()=>Date.now(),o=async()=>(await s.request({url:`${kr}/${e}/t/p`,method:"post",withToken:!1})).data.data.id,u=async p=>{const x=t==="development"?Ss:p;return(await s.request({url:`${kr}/${e}/t/p/${x}/s`,method:"post",withToken:!1})).data.data.id},c=async(p,x,g,C)=>{const b=t==="development"?Ss:p;return(await s.request({url:`${kr}/${e}/t/p/${b}/s/${x}/e`,method:"post",withToken:!1,body:{url:g,oldEventId:C},contentType:"application/json"})).data.data.id},d=async(p,x,g)=>{const C=t==="development"?Ss:p;await s.request({url:`${kr}/${e}/t/p/${C}/s/${x}/e/${g}/h`,method:"post",withToken:!1});const b=s.fromLocalStorage(Ar);b&&(b.s.u=a().toString(),b.lu=a().toString(),s.toLocalStorage(Ar,b))},m=(p,x,g)=>{r.current&&clearInterval(r.current),r.current=setInterval(async()=>{if(document.visibilityState==="visible")try{await d(p,x,g)}catch{await h()}},Zp)},h=async()=>{var C,b,A,y;const p=`${window.location.hostname}${n}`,x=s.fromLocalStorage(Ar),g=a();try{let P=x==null?void 0:x.p;P||(P=await o());let j=(C=x==null?void 0:x.s)==null?void 0:C.i;const I=Number(((b=x==null?void 0:x.s)==null?void 0:b.u)||((A=x==null?void 0:x.s)==null?void 0:A.c)),q=!j||g-I>ef;(!j||q)&&(j=await u(P));const V=Number((x==null?void 0:x.lu)||0),Q=g-V>Jp,w=await c(P,j,p,x!=null&&x.l&&!Q?x.l:void 0),$={p:P,s:{i:j,c:((y=x==null?void 0:x.s)==null?void 0:y.c)??g.toString(),u:g.toString()},l:w,lu:g.toString()};s.toLocalStorage(Ar,$),m(P,j,w)}catch(P){console.error("[TrackingAnalytics] error",P)}};h();const f=()=>{document.visibilityState==="visible"&&i.current!=="visible"&&h(),i.current=document.visibilityState};return document.addEventListener("visibilitychange",f),()=>{r.current&&clearInterval(r.current),document.removeEventListener("visibilitychange",f)}},[n,e,t])},nf=({children:e})=>{const t=s.useLocation(),{token:n,setToken:r}=s.useStorefrontStore(),{dashInfo:i,setDashInfo:a}=s.useCustomerDashboardStore(),{shopPassword:o}=s.useStorefrontStore(),u=s.useNavigate(),[c,d]=s.useSearchParams(),{notifications:m}=s.useNotificationStore(),[h,f]=k.useState(!0),{setCustomerEmail:p}=s.useCartStore(),{setThemeSettings:x,themeSettings:g}=s.useThemeSettingsStore(),{settings:C,setSettings:b}=s.useSettingsStore(),{setHeader:A,setFooter:y,setAnnouncement:P,header:j,footer:I,announcement:q}=s.useLayersStore(),{general:V,setGeneral:Q}=s.useGeneralStore(),{pageContext:w,setPageContext:$}=s.usePagesStore();console.log("shopId",V==null?void 0:V.info.id),tf((V==null?void 0:V.info.id)||localStorage.getItem("shopId")||"");const M=async()=>{const H=await s.getDynamicPage(encodeURIComponent("/products"));if(H){const{data:Y}=H;$({...w,listings:Y.listings})}};return k.useEffect(()=>{const H=localStorage.getItem("token");if(H&&(!n||!i))try{const Y=s.jwtDecode(H);a(Y),r(H),p(Y.email)}catch(Y){console.error("Failed to decode token:",Y),localStorage.removeItem("token"),r(""),a(null)}},[n,i]),k.useEffect(()=>{const H=c.get("r");H&&(localStorage.setItem("referralCode",H),c.delete("r"),d(c),u({pathname:t.pathname,search:c.toString()},{replace:!0}))},[c,t]),k.useEffect(()=>{!t.pathname.startsWith("/products")&&!t.pathname.startsWith("/admin/builder")&&V&&(V.info.passwordProtected&&o||V.isPasswordValid)&&M()},[V,o]),k.useEffect(()=>{f(!0);const H=async()=>{if(!V){const z=await qs(o);z.isPasswordValid||t.pathname.includes("/admin/builder")||u("/validation",{state:{from:t.pathname}}),Q(z)}},Y=async()=>{const{settings:z,theme:X}=(await tc()).data;if(z&&C){const G=C;if(z.settings?(Object.keys(z.settings).map(W=>{G.blockSettings[W]=z.settings[W]}),b(G)):b(C),z.header&&j){const W=j;Object.keys(z.header).map(J=>{W[J]=z.header[J]}),A(W)}if(z.footer&&I){const W=I;Object.keys(z.footer).map(J=>{W[J]=z.footer[J]}),y(W)}if(z.announcement&&q){const W=q;Object.keys(z.announcement).map(J=>{W[J]=z.announcement[J]}),P(W)}}else b(C);x(g),x(X||g),f(!1)};t.pathname.startsWith("/validation")||H(),Y()},[]),t.pathname.startsWith("/admin/builder")?s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:e}):s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:h?s.jsxRuntimeExports.jsx("div",{style:{width:"100vw",height:"100vh",display:"flex",justifyContent:"center",alignItems:"center"},children:s.jsxRuntimeExports.jsx(s.Loader,{})}):s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[e,m.length>0&&s.jsxRuntimeExports.jsx("div",{className:Kp.notifications,children:m.map(H=>s.jsxRuntimeExports.jsx(fo,{type:H.status,message:H.message,timer:10,id:H.id},H.id))})]})})},rf=()=>(k.useEffect(()=>{setTimeout(()=>{window.location.reload()},500)},[]),s.jsxRuntimeExports.jsx("div",{style:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:s.jsxRuntimeExports.jsx(s.Loader,{})})),sf="_wrapper_rccv2_1",af="_content_rccv2_11",of="_title_rccv2_21",ys={wrapper:sf,content:af,title:of},It=()=>{const e=s.useNavigate();return s.jsxRuntimeExports.jsx("div",{className:ys.wrapper,children:s.jsxRuntimeExports.jsxs("div",{className:ys.content,children:[s.jsxRuntimeExports.jsx("h1",{className:ys.title,children:"Something went wrong"}),s.jsxRuntimeExports.jsx(s.Button,{type:"Primary",onClick:()=>{e("/")},children:"Go to Home"})]})})},uf=({children:e,shopDomain:t,shopId:n,shopPassword:r})=>{const{setShopDomain:i,setShopId:a,setShopPassword:o,setShopTerms:u,setShopPrivacyPolicy:c,setShopRefundPolicy:d}=s.useStorefrontStore();return k.useLayoutEffect(()=>{const m=async()=>{const{data:p}=await rc();u(p)},h=async()=>{const{data:p}=await ic();c(p)},f=async()=>{const{data:p}=await sc();d(p)};i(t),a(n),r&&o(r),m(),h(),f()},[t,n,r]),s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:e})},lf="_checkoutItemsContainer_1kn61_2",cf="_innerContainer_1kn61_16",df="_headerSection_1kn61_22",hf="_header_1kn61_22",mf="_productsContainer_1kn61_47",pf="_couponContainer_1kn61_54",ff="_checkoutFooter_1kn61_58",Kt={checkoutItemsContainer:lf,innerContainer:cf,headerSection:df,header:hf,productsContainer:mf,couponContainer:pf,checkoutFooter:ff},xf="_checkoutFooter_1dzvc_1",gf="_footerBranding_1dzvc_9",Ef="_poweredText_1dzvc_14",bf="_footerNav_1dzvc_19",Ir={checkoutFooter:xf,footerBranding:gf,poweredText:Ef,footerNav:bf},_f="data:image/svg+xml,%3csvg%20width='100'%20height='26'%20viewBox='0%200%20100%2026'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M20.3996%203.39999V12.8228L16.2964%2014.1313V8.89738L7.69363%2011.587V6.87107L20.3996%203.39999Z'%20fill='%23FF3F19'/%3e%3cpath%20d='M16.2964%2014.1313L16.2962%2018.6292L3.59961%2022.6V12.7592L7.69363%2011.587L7.69344%2016.9118L16.2964%2014.1313Z'%20fill='%23FF3F19'/%3e%3cpath%20d='M95.6308%2022C93.4931%2022%2091.8804%2020.882%2091.4678%2019.1776L93.118%2019.0676C93.4181%2019.984%2094.0931%2020.5338%2095.6308%2020.5338C97.4311%2020.5338%2098.4249%2019.8373%2098.4249%2018.4078V16.8316C97.9374%2017.858%2096.8122%2018.5178%2095.5183%2018.5178C92.9868%2018.5178%2091.1865%2016.575%2091.1865%2013.8076C91.1865%2011.0401%2092.9492%209.09737%2095.4433%209.09737C96.831%209.09737%2098.0499%209.77549%2098.5%2010.8568V9.3173H100V18.3711C100%2020.6438%2098.3687%2022%2095.6308%2022ZM95.5933%2017.0515C97.2998%2017.0515%2098.4062%2015.8053%2098.4249%2013.8076C98.4624%2011.8099%2097.3186%2010.5636%2095.5933%2010.5636C93.8494%2010.5636%2092.8367%2011.8099%2092.8367%2013.8076C92.8367%2015.8053%2093.8869%2017.0515%2095.5933%2017.0515Z'%20fill='%23252525'/%3e%3cpath%20d='M81.1836%2019.0309V9.3173H82.6275L82.665%2011.0584C83.1901%209.72051%2084.3527%209.09737%2085.7217%209.09737C87.9907%209.09737%2089.0783%2010.7285%2089.0783%2012.7812V19.0309H87.5031V13.2211C87.5031%2011.425%2086.8843%2010.4536%2085.3841%2010.4536C83.8464%2010.4536%2082.7588%2011.425%2082.7588%2013.2211V19.0309H81.1836Z'%20fill='%23252525'/%3e%3cpath%20d='M73.3176%2019.2509C71.2549%2019.2509%2069.9609%2018.2795%2069.9609%2016.6117C69.9609%2014.9622%2070.9173%2014.0458%2073.0926%2013.6426L76.618%2013.0011C76.618%2011.37%2075.8304%2010.5636%2074.2552%2010.5636C72.8676%2010.5636%2072.0987%2011.1867%2071.7987%2012.3047L70.1297%2012.1764C70.5048%2010.3436%2072.0049%209.09737%2074.2552%209.09737C76.8056%209.09737%2078.1932%2010.6002%2078.1932%2013.0561V17.0699C78.1932%2017.5097%2078.3433%2017.6747%2078.7183%2017.6747H79.1121V19.0309C78.9996%2019.0493%2078.7558%2019.0676%2078.512%2019.0676C77.3119%2019.0676%2076.7681%2018.6094%2076.6368%2017.5281C76.1492%2018.5361%2074.7803%2019.2509%2073.3176%2019.2509ZM73.4676%2017.8946C75.4554%2017.8946%2076.618%2016.6483%2076.618%2015.0355V14.3391L73.3926%2014.9255C72.0425%2015.1638%2071.6111%2015.6586%2071.6111%2016.4651C71.6111%2017.3814%2072.305%2017.8946%2073.4676%2017.8946Z'%20fill='%23252525'/%3e%3cpath%20d='M63.2168%2022C61.079%2022%2059.4663%2020.882%2059.0537%2019.1776L60.704%2019.0676C61.004%2019.984%2061.6791%2020.5338%2063.2168%2020.5338C65.017%2020.5338%2066.0109%2019.8373%2066.0109%2018.4078V16.8316C65.5233%2017.858%2064.3982%2018.5178%2063.1043%2018.5178C60.5727%2018.5178%2058.7725%2016.575%2058.7725%2013.8076C58.7725%2011.0401%2060.5352%209.09737%2063.0293%209.09737C64.4169%209.09737%2065.6358%209.77549%2066.0859%2010.8568V9.3173H67.5861V18.3711C67.5861%2020.6438%2065.9546%2022%2063.2168%2022ZM63.1793%2017.0515C64.8857%2017.0515%2065.9921%2015.8053%2066.0109%2013.8076C66.0484%2011.8099%2064.9045%2010.5636%2063.1793%2010.5636C61.4353%2010.5636%2060.4227%2011.8099%2060.4227%2013.8076C60.4227%2015.8053%2061.4728%2017.0515%2063.1793%2017.0515Z'%20fill='%23252525'/%3e%3cpath%20d='M56.2141%2019.0309C55.0515%2019.0309%2054.2451%2018.4811%2054.2451%2017.1982L54.2639%206.01834H55.8391V17.0699C55.8391%2017.4731%2056.0453%2017.6747%2056.4579%2017.6747H57.3205V19.0309H56.2141Z'%20fill='%23252525'/%3e%3cpath%20d='M51.0686%2019.0309C49.906%2019.0309%2049.0996%2018.4811%2049.0996%2017.1982L49.1184%206.01834H50.6936V17.0699C50.6936%2017.4731%2050.8998%2017.6747%2051.3124%2017.6747H52.175V19.0309H51.0686Z'%20fill='%23252525'/%3e%3cpath%20d='M44.5209%2019.0309V9.3173H46.0961V19.0309H44.5209ZM44.4834%207.79611V6H46.1336V7.79611H44.4834Z'%20fill='%23252525'/%3e%3cpath%20d='M32%2019.0309V6.01834H36.5756C39.726%206.01834%2041.3012%207.09967%2041.3012%209.51891C41.3012%2010.9851%2040.4198%2012.0481%2038.9384%2012.3047C40.7574%2012.5613%2041.8638%2013.7709%2041.8638%2015.4571C41.8638%2017.8213%2040.2323%2019.0309%2037.3257%2019.0309H32ZM37.3257%2017.4914C39.1447%2017.4914%2040.176%2016.74%2040.176%2015.3654C40.176%2013.9908%2039.1447%2013.1844%2037.3257%2013.1844H33.6127V17.4914H37.3257ZM36.5756%2011.6449C38.5258%2011.6449%2039.6135%2010.8935%2039.6135%209.59222C39.6135%208.21765%2038.6008%207.55786%2036.5756%207.55786H33.6127V11.6449H36.5756Z'%20fill='%23252525'/%3e%3c/svg%3e",vt=({className:e})=>{const{shopTerms:t,shopPrivacyPolicy:n,shopRefundPolicy:r}=s.useStorefrontStore();return s.jsxRuntimeExports.jsxs("footer",{className:`${Ir.checkoutFooter} ${e}`,children:[s.jsxRuntimeExports.jsxs("div",{className:Ir.footerBranding,children:[s.jsxRuntimeExports.jsx("p",{className:Ir.poweredText,id:"md",children:"Powered by"}),s.jsxRuntimeExports.jsx("img",{src:_f,alt:"Billgang"})]}),s.jsxRuntimeExports.jsx("nav",{children:s.jsxRuntimeExports.jsxs("ul",{className:Ir.footerNav,children:[(t==null?void 0:t.showTermsOfServiceOnProduct)&&s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("a",{href:t.termsOfService,target:"_blank",rel:"noopener noreferrer",children:"Terms"})}),(n==null?void 0:n.showPrivacyPolicyOnProduct)&&s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("a",{href:n.privacyPolicy,target:"_blank",rel:"noopener noreferrer",children:"Privacy"})}),(r==null?void 0:r.showRefundPolicyOnProduct)&&s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("a",{href:r.refundPolicy,target:"_blank",rel:"noopener noreferrer",children:"Refund"})})]})})]})},Tf="_checkoutHeader_d2mbf_1",Cf="_leftContainer_d2mbf_20",Sf="_backArrow_d2mbf_26",yf="_logoContainer_d2mbf_38",Rf="_logo_d2mbf_38",Hn={checkoutHeader:Tf,leftContainer:Cf,backArrow:Sf,logoContainer:yf,logo:Rf},kf="_activeBadge_1yb5i_1",Af="_activeBadgeText_1yb5i_12",qi={activeBadge:kf,activeBadgeText:Af},If=({className:e})=>s.jsxRuntimeExports.jsxs("div",{className:s.clx(qi.activeBadge,e),children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Check",width:20,height:20}),s.jsxRuntimeExports.jsx("p",{className:qi.activeBadgeText,children:"Active"})]}),Nf="_timerContainer_105jf_2",wf="_timerText_105jf_12",Vi={timerContainer:Nf,timerText:wf},jf=({expiresAt:e})=>{const[t,n]=k.useState(r());function r(){const i=new Date,a=new Date(e).getTime()-i.getTime();if(a<=0)return{hours:"00",minutes:"00",seconds:"00"};const o=Math.floor(a/(1e3*60*60)),u=Math.floor(a%(1e3*60*60)/(1e3*60)),c=Math.floor(a%(1e3*60)/1e3);return{hours:String(o).padStart(2,"0"),minutes:String(u).padStart(2,"0"),seconds:String(c).padStart(2,"0")}}return k.useEffect(()=>{const i=setInterval(()=>{n(r())},1e3);return()=>clearInterval(i)},[e]),t.hours==="00"&&t.minutes==="00"&&t.seconds==="00"?null:s.jsxRuntimeExports.jsxs("div",{className:Vi.timerContainer,children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Clock"}),s.jsxRuntimeExports.jsxs("p",{className:Vi.timerText,id:"md",children:[t.hours,":",t.minutes,":",t.seconds]})]})},Lf="_progressBar_mcabf_4",vf="_progressBarLabel_mcabf_12",Pf="_progressBarTrack_mcabf_17",Of="_progressBarFill_mcabf_28",Nr={progressBar:Lf,progressBarLabel:vf,progressBarTrack:Pf,progressBarFill:Of},go=({color:e,percent:t,disablePercentLabel:n})=>s.jsxRuntimeExports.jsxs("div",{className:Nr.progressBar,children:[!n&&s.jsxRuntimeExports.jsxs("p",{className:Nr.progressBarLabel,children:[t,"%"]}),s.jsxRuntimeExports.jsx("div",{className:Nr.progressBarTrack,children:s.jsxRuntimeExports.jsx("div",{style:{width:`${t}%`,background:e||void 0},className:Nr.progressBarFill})})]}),Df="_rating_1bpps_4",Mf="_disabled_1bpps_9",Bf="_ratingStar_1bpps_14",Ff="_inactive_1bpps_22",wr={rating:Df,disabled:Mf,ratingStar:Bf,inactive:Ff},Hf=({setRating:e,rating:t,disabled:n})=>{const[r,i]=k.useState(0),a=u=>{n||i(+u.currentTarget.id)},o=u=>{n||e(u)};return s.jsxRuntimeExports.jsx("div",{className:s.clx(wr.rating,{[wr.disabled]:n}),onMouseLeave:()=>i(0),children:[1,2,3,4,5].map(u=>s.jsxRuntimeExports.jsx("div",{id:u.toString(),className:s.clx(wr.ratingStar,{[wr.inactive]:!(t>=u||r>=u)}),onMouseEnter:a,onClick:()=>o(u),children:t>=u||r>=u?s.jsxRuntimeExports.jsx(s.FilledStar,{}):s.jsxRuntimeExports.jsx(s.Icon,{name:"Star",fill:"var(--text-secondary)",width:22,height:21})},u))})},Uf="_inputRange_iv6ow_4",$f="_inputRangeLabel_iv6ow_14",zf="_progressBar_iv6ow_22",Wf="_progressBarFill_iv6ow_29",qf="_stepsContainer_iv6ow_40",Vf="_step_iv6ow_40",Yf="_stepDot_iv6ow_57",Gf="_current_iv6ow_61",Xf="_active_iv6ow_69",Qf="_inactive_iv6ow_72",Kf="_tooltip_iv6ow_77",Ze={inputRange:Uf,inputRangeLabel:$f,progressBar:zf,progressBarFill:Wf,stepsContainer:qf,step:Vf,stepDot:Yf,current:Gf,default:"_default_iv6ow_65",active:Xf,inactive:Qf,tooltip:Kf},Zf=({totalSteps:e,step:t,onStepChange:n,label:r})=>{const[i,a]=k.useState(t),o=i===1?0:(i-1)/(e-1)*100,u=c=>{a(c),n(c)};return s.jsxRuntimeExports.jsxs("div",{className:Ze.inputRange,children:[r&&s.jsxRuntimeExports.jsx("div",{className:Ze.inputRangeLabel,children:r}),s.jsxRuntimeExports.jsxs("div",{className:Ze.progressBar,children:[s.jsxRuntimeExports.jsx("div",{className:Ze.progressBarFill,style:{width:`${Math.ceil(o)}%`}}),s.jsxRuntimeExports.jsx("div",{className:Ze.stepsContainer,children:[...Array(e)].map((c,d)=>{const m=d+1,h=m<=i,f=m===i;return s.jsxRuntimeExports.jsxs("div",{className:Ze.step,onClick:()=>u(m),children:[s.jsxRuntimeExports.jsx("div",{className:s.clx(Ze.stepDot,f?Ze.current:Ze.default,h?Ze.active:Ze.inactive)}),f&&s.jsxRuntimeExports.jsxs("div",{className:Ze.tooltip,style:{transform:`translateX(calc(50% - ${o<99?"40px":"70px"}))`},children:[s.jsxRuntimeExports.jsx("span",{children:i}),s.jsxRuntimeExports.jsx("span",{children:i===1?"month":"months"})]})]},m)})})]})]})},lr=({className:e,expiresAt:t})=>{const{shopGeneral:n}=s.useStorefrontStore(),r=s.useNavigate();return s.jsxRuntimeExports.jsxs("header",{className:`${Hn.checkoutHeader} ${e}`,children:[s.jsxRuntimeExports.jsxs("div",{className:Hn.leftContainer,children:[s.jsxRuntimeExports.jsx("div",{className:Hn.backArrow,onClick:()=>{window.history.length>2?r(-1):r("/")},children:s.jsxRuntimeExports.jsx(s.Icon,{name:"ArrowUp"})}),(n==null?void 0:n.info.logo)&&s.jsxRuntimeExports.jsx("div",{className:Hn.logoContainer,children:s.jsxRuntimeExports.jsx("img",{className:Hn.logo,src:s.convertCfImageIdToUrl(n.info.logo.cfId)})})]}),t&&s.jsxRuntimeExports.jsx(jf,{expiresAt:t})]})},Jf="_checkoutPrices_vp75r_1",e1="_priceRow_vp75r_12",t1="_label_vp75r_22",n1="_totalRow_vp75r_26",r1="_totalLabel_vp75r_37",s1="_totalValue_vp75r_42",gt={checkoutPrices:Jf,priceRow:e1,label:t1,totalRow:n1,totalLabel:r1,totalValue:s1},cr=({formatter:e,coupon:t,discount:n,totalWithDiscount:r,total:i,className:a,isShowSubtotal:o=!0,feeOrDiscount:u})=>{const c=Math.max(0,n),{priceAdjusment:d}=s.useCartStore(),h=(()=>{const f=r!==void 0?r:i-c;return!d||u===null||u===void 0?Math.max(f,0):d.isDiscount?Math.max(f-u,0):Math.max(f+u,0)})();return s.jsxRuntimeExports.jsxs("div",{className:`${gt.checkoutPrices} ${a||""}`,children:[o&&s.jsxRuntimeExports.jsxs("div",{className:gt.priceRow,children:[s.jsxRuntimeExports.jsx("p",{className:gt.label,id:"md",children:"Subtotal"}),s.jsxRuntimeExports.jsx("p",{id:"md",children:e.format(i)})]}),(t||c>0)&&s.jsxRuntimeExports.jsxs("div",{className:gt.priceRow,children:[s.jsxRuntimeExports.jsxs("p",{className:gt.label,id:"md",children:["Discount ",t&&!(t!=null&&t.isFixed)&&`(${t==null?void 0:t.discount}%)`]}),s.jsxRuntimeExports.jsx("p",{id:"md",children:t&&!(t!=null&&t.isFixed)&&(t==null?void 0:t.discount)===100?`-${e.format(i)}`:`-${e.format(c)}`})]}),u!=null&&u!==0&&d&&(d.fixedAmount!==0||d.percentage!==0)&&s.jsxRuntimeExports.jsxs("div",{className:gt.priceRow,children:[s.jsxRuntimeExports.jsxs("p",{className:gt.label,id:"md-bold",children:[d.isDiscount?"Discount: ":"Fee: ",d.percentage!==0&&d.fixedAmount===0&&`(${d.percentage}%)`,d.fixedAmount!==0&&d.percentage===0&&`(${e.format(d.fixedAmount)})`,d.percentage!==0&&d.fixedAmount!==0&&`(${d.percentage}% + ${e.format(d.fixedAmount)})`]}),s.jsxRuntimeExports.jsx("p",{id:"md-bold",children:e.format(u)})]}),s.jsxRuntimeExports.jsxs("div",{className:gt.totalRow,children:[s.jsxRuntimeExports.jsx("p",{className:gt.totalLabel,id:"md-bold",children:"Total Due"}),s.jsxRuntimeExports.jsx("p",{className:gt.totalValue,id:"md-bold",children:e.format(h)})]})]})},i1="_checkoutProduct_1nxq7_1",a1="_isOrder_1nxq7_1",o1="_productDetails_1nxq7_10",u1="_productImage_1nxq7_16",l1="_isOrderImage_1nxq7_26",c1="_image_1nxq7_30",d1="_productInfo_1nxq7_35",h1="_productHeader_1nxq7_40",m1="_quantityBadge_1nxq7_46",p1="_productDescription_1nxq7_57",f1="_productPrice_1nxq7_64",x1="_deliveryCategories_1nxq7_73",g1="_customerNote_1nxq7_81",E1="_noteHeader_1nxq7_88",b1="_logoContainer_1nxq7_94",_1="_shopName_1nxq7_106",T1="_noteContent_1nxq7_110",C1="_productName_1nxq7_116",S1="_link_1nxq7_121",Ie={checkoutProduct:i1,isOrder:a1,productDetails:o1,productImage:u1,isOrderImage:l1,image:c1,productInfo:d1,productHeader:h1,quantityBadge:m1,productDescription:p1,productPrice:f1,deliveryCategories:x1,customerNote:g1,noteHeader:E1,logoContainer:b1,shopName:_1,noteContent:T1,productName:C1,link:S1};function Yi(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);const o=n.slice(i,r).trim();(o||!a)&&t.push(o),i=r+1,r=n.indexOf(",",i)}return t}function Eo(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const y1=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,R1=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,k1={};function Gi(e,t){return(k1.jsx?R1:y1).test(e)}const A1=/[ \t\n\f\r]/g;function I1(e){return typeof e=="object"?e.type==="text"?Xi(e.value):!1:Xi(e)}function Xi(e){return e.replace(A1,"")===""}let dr=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};dr.prototype.normal={};dr.prototype.property={};dr.prototype.space=void 0;function bo(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new dr(n,r,t)}function rr(e){return e.toLowerCase()}let Ye=class{constructor(t,n){this.attribute=n,this.property=t}};Ye.prototype.attribute="";Ye.prototype.booleanish=!1;Ye.prototype.boolean=!1;Ye.prototype.commaOrSpaceSeparated=!1;Ye.prototype.commaSeparated=!1;Ye.prototype.defined=!1;Ye.prototype.mustUseProperty=!1;Ye.prototype.number=!1;Ye.prototype.overloadedBoolean=!1;Ye.prototype.property="";Ye.prototype.spaceSeparated=!1;Ye.prototype.space=void 0;let N1=0;const se=on(),Ne=on(),_o=on(),B=on(),_e=on(),bn=on(),Xe=on();function on(){return 2**++N1}const Gs=Object.freeze(Object.defineProperty({__proto__:null,boolean:se,booleanish:Ne,commaOrSpaceSeparated:Xe,commaSeparated:bn,number:B,overloadedBoolean:_o,spaceSeparated:_e},Symbol.toStringTag,{value:"Module"})),Rs=Object.keys(Gs);let di=class extends Ye{constructor(t,n,r,i){let a=-1;if(super(t,n),Qi(this,"space",i),typeof r=="number")for(;++a<Rs.length;){const o=Rs[a];Qi(this,Rs[a],(r&Gs[o])===Gs[o])}}};di.prototype.defined=!0;function Qi(e,t,n){n&&(e[t]=n)}function Rn(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new di(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[rr(r)]=r,n[rr(a.attribute)]=r}return new dr(t,n,e.space)}const To=Rn({properties:{ariaActiveDescendant:null,ariaAtomic:Ne,ariaAutoComplete:null,ariaBusy:Ne,ariaChecked:Ne,ariaColCount:B,ariaColIndex:B,ariaColSpan:B,ariaControls:_e,ariaCurrent:null,ariaDescribedBy:_e,ariaDetails:null,ariaDisabled:Ne,ariaDropEffect:_e,ariaErrorMessage:null,ariaExpanded:Ne,ariaFlowTo:_e,ariaGrabbed:Ne,ariaHasPopup:null,ariaHidden:Ne,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:_e,ariaLevel:B,ariaLive:null,ariaModal:Ne,ariaMultiLine:Ne,ariaMultiSelectable:Ne,ariaOrientation:null,ariaOwns:_e,ariaPlaceholder:null,ariaPosInSet:B,ariaPressed:Ne,ariaReadOnly:Ne,ariaRelevant:null,ariaRequired:Ne,ariaRoleDescription:_e,ariaRowCount:B,ariaRowIndex:B,ariaRowSpan:B,ariaSelected:Ne,ariaSetSize:B,ariaSort:null,ariaValueMax:B,ariaValueMin:B,ariaValueNow:B,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Co(e,t){return t in e?e[t]:t}function So(e,t){return Co(e,t.toLowerCase())}const w1=Rn({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:bn,acceptCharset:_e,accessKey:_e,action:null,allow:null,allowFullScreen:se,allowPaymentRequest:se,allowUserMedia:se,alt:null,as:null,async:se,autoCapitalize:null,autoComplete:_e,autoFocus:se,autoPlay:se,blocking:_e,capture:null,charSet:null,checked:se,cite:null,className:_e,cols:B,colSpan:null,content:null,contentEditable:Ne,controls:se,controlsList:_e,coords:B|bn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:se,defer:se,dir:null,dirName:null,disabled:se,download:_o,draggable:Ne,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:se,formTarget:null,headers:_e,height:B,hidden:se,high:B,href:null,hrefLang:null,htmlFor:_e,httpEquiv:_e,id:null,imageSizes:null,imageSrcSet:null,inert:se,inputMode:null,integrity:null,is:null,isMap:se,itemId:null,itemProp:_e,itemRef:_e,itemScope:se,itemType:_e,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:se,low:B,manifest:null,max:null,maxLength:B,media:null,method:null,min:null,minLength:B,multiple:se,muted:se,name:null,nonce:null,noModule:se,noValidate:se,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:se,optimum:B,pattern:null,ping:_e,placeholder:null,playsInline:se,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:se,referrerPolicy:null,rel:_e,required:se,reversed:se,rows:B,rowSpan:B,sandbox:_e,scope:null,scoped:se,seamless:se,selected:se,shadowRootClonable:se,shadowRootDelegatesFocus:se,shadowRootMode:null,shape:null,size:B,sizes:null,slot:null,span:B,spellCheck:Ne,src:null,srcDoc:null,srcLang:null,srcSet:null,start:B,step:null,style:null,tabIndex:B,target:null,title:null,translate:null,type:null,typeMustMatch:se,useMap:null,value:Ne,width:B,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:_e,axis:null,background:null,bgColor:null,border:B,borderColor:null,bottomMargin:B,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:se,declare:se,event:null,face:null,frame:null,frameBorder:null,hSpace:B,leftMargin:B,link:null,longDesc:null,lowSrc:null,marginHeight:B,marginWidth:B,noResize:se,noHref:se,noShade:se,noWrap:se,object:null,profile:null,prompt:null,rev:null,rightMargin:B,rules:null,scheme:null,scrolling:Ne,standby:null,summary:null,text:null,topMargin:B,valueType:null,version:null,vAlign:null,vLink:null,vSpace:B,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:se,disableRemotePlayback:se,prefix:null,property:null,results:B,security:null,unselectable:null},space:"html",transform:So}),j1=Rn({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Xe,accentHeight:B,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:B,amplitude:B,arabicForm:null,ascent:B,attributeName:null,attributeType:null,azimuth:B,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:B,by:null,calcMode:null,capHeight:B,className:_e,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:B,diffuseConstant:B,direction:null,display:null,dur:null,divisor:B,dominantBaseline:null,download:se,dx:null,dy:null,edgeMode:null,editable:null,elevation:B,enableBackground:null,end:null,event:null,exponent:B,externalResourcesRequired:null,fill:null,fillOpacity:B,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:bn,g2:bn,glyphName:bn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:B,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:B,horizOriginX:B,horizOriginY:B,id:null,ideographic:B,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:B,k:B,k1:B,k2:B,k3:B,k4:B,kernelMatrix:Xe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:B,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:B,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:B,overlineThickness:B,paintOrder:null,panose1:null,path:null,pathLength:B,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:_e,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:B,pointsAtY:B,pointsAtZ:B,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Xe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Xe,rev:Xe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Xe,requiredFeatures:Xe,requiredFonts:Xe,requiredFormats:Xe,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:B,specularExponent:B,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:B,strikethroughThickness:B,string:null,stroke:null,strokeDashArray:Xe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:B,strokeOpacity:B,strokeWidth:null,style:null,surfaceScale:B,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Xe,tabIndex:B,tableValues:null,target:null,targetX:B,targetY:B,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Xe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:B,underlineThickness:B,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:B,values:null,vAlphabetic:B,vMathematical:B,vectorEffect:null,vHanging:B,vIdeographic:B,version:null,vertAdvY:B,vertOriginX:B,vertOriginY:B,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:B,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Co}),yo=Rn({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Ro=Rn({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:So}),ko=Rn({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),L1={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},v1=/[A-Z]/g,Ki=/-[a-z]/g,P1=/^data[-\w.:]+$/i;function hi(e,t){const n=rr(t);let r=t,i=Ye;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&P1.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(Ki,D1);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!Ki.test(a)){let o=a.replace(v1,O1);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=di}return new i(r,t)}function O1(e){return"-"+e.toLowerCase()}function D1(e){return e.charAt(1).toUpperCase()}const Kr=bo([To,w1,yo,Ro,ko],"html"),kn=bo([To,j1,yo,Ro,ko],"svg");function Zi(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Ao(e){return e.join(" ").trim()}var Io={},Ji=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,M1=/\n/g,B1=/^\s*/,F1=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,H1=/^:\s*/,U1=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,$1=/^[;\s]*/,z1=/^\s+|\s+$/g,W1=`
|
|
103
|
+
`,ea="/",ta="*",nn="",q1="comment",V1="declaration",Y1=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(x){var g=x.match(M1);g&&(n+=g.length);var C=x.lastIndexOf(W1);r=~C?x.length-C:r+x.length}function a(){var x={line:n,column:r};return function(g){return g.position=new o(x),d(),g}}function o(x){this.start=x,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function u(x){var g=new Error(t.source+":"+n+":"+r+": "+x);if(g.reason=x,g.filename=t.source,g.line=n,g.column=r,g.source=e,!t.silent)throw g}function c(x){var g=x.exec(e);if(g){var C=g[0];return i(C),e=e.slice(C.length),g}}function d(){c(B1)}function m(x){var g;for(x=x||[];g=h();)g!==!1&&x.push(g);return x}function h(){var x=a();if(!(ea!=e.charAt(0)||ta!=e.charAt(1))){for(var g=2;nn!=e.charAt(g)&&(ta!=e.charAt(g)||ea!=e.charAt(g+1));)++g;if(g+=2,nn===e.charAt(g-1))return u("End of comment missing");var C=e.slice(2,g-2);return r+=2,i(C),e=e.slice(g),r+=2,x({type:q1,comment:C})}}function f(){var x=a(),g=c(F1);if(g){if(h(),!c(H1))return u("property missing ':'");var C=c(U1),b=x({type:V1,property:na(g[0].replace(Ji,nn)),value:C?na(C[0].replace(Ji,nn)):nn});return c($1),b}}function p(){var x=[];m(x);for(var g;g=f();)g!==!1&&(x.push(g),m(x));return x}return d(),p()};function na(e){return e?e.replace(z1,nn):nn}var G1=s.commonjsGlobal&&s.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Io,"__esModule",{value:!0});var ra=Io.default=Q1,X1=G1(Y1);function Q1(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,X1.default)(e),i=typeof t=="function";return r.forEach(function(a){if(a.type==="declaration"){var o=a.property,u=a.value;i?t(o,u,a):u&&(n=n||{},n[o]=u)}}),n}const K1=ra.default||ra,Zr=No("end"),St=No("start");function No(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Z1(e){const t=St(e),n=Zr(e);if(t&&n)return{start:t,end:n}}function Gn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?sa(e.position):"start"in e||"end"in e?sa(e):"line"in e||"column"in e?Xs(e):""}function Xs(e){return ia(e&&e.line)+":"+ia(e&&e.column)}function sa(e){return Xs(e&&e.start)+"-"+Xs(e&&e.end)}function ia(e){return e&&typeof e=="number"?e:1}class Fe extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},o=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(o=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const c=r.indexOf(":");c===-1?a.ruleId=r:(a.source=r.slice(0,c),a.ruleId=r.slice(c+1))}if(!a.place&&a.ancestors&&a.ancestors){const c=a.ancestors[a.ancestors.length-1];c&&(a.place=c.position)}const u=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=u?u.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=u?u.line:void 0,this.name=Gn(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}Fe.prototype.file="";Fe.prototype.name="";Fe.prototype.reason="";Fe.prototype.message="";Fe.prototype.stack="";Fe.prototype.column=void 0;Fe.prototype.line=void 0;Fe.prototype.ancestors=void 0;Fe.prototype.cause=void 0;Fe.prototype.fatal=void 0;Fe.prototype.place=void 0;Fe.prototype.ruleId=void 0;Fe.prototype.source=void 0;const mi={}.hasOwnProperty,J1=new Map,e2=/[A-Z]/g,t2=/-([a-z])/g,n2=new Set(["table","tbody","thead","tfoot","tr"]),r2=new Set(["td","th"]),wo="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function s2(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=h2(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=d2(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?kn:Kr,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=jo(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function jo(e,t,n){if(t.type==="element")return i2(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return a2(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return u2(e,t,n);if(t.type==="mdxjsEsm")return o2(e,t);if(t.type==="root")return l2(e,t,n);if(t.type==="text")return c2(e,t)}function i2(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=kn,e.schema=i),e.ancestors.push(t);const a=vo(e,t.tagName,!1),o=m2(e,t);let u=fi(e,t);return n2.has(t.tagName)&&(u=u.filter(function(c){return typeof c=="string"?!I1(c):!0})),Lo(e,o,a,t),pi(o,u),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function a2(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}sr(e,t.position)}function o2(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);sr(e,t.position)}function u2(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=kn,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:vo(e,t.name,!0),o=p2(e,t),u=fi(e,t);return Lo(e,o,a,t),pi(o,u),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function l2(e,t,n){const r={};return pi(r,fi(e,t)),e.create(t,e.Fragment,r,n)}function c2(e,t){return t.value}function Lo(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function pi(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function d2(e,t,n){return r;function r(i,a,o,u){const d=Array.isArray(o.children)?n:t;return u?d(a,o,u):d(a,o)}}function h2(e,t){return n;function n(r,i,a,o){const u=Array.isArray(a.children),c=St(r);return t(i,a,o,u,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function m2(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&mi.call(t.properties,i)){const a=f2(e,i,t.properties[i]);if(a){const[o,u]=a;e.tableCellAlignToStyle&&o==="align"&&typeof u=="string"&&r2.has(t.tagName)?r=u:n[o]=u}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function p2(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const o=a.expression;o.type;const u=o.properties[0];u.type,Object.assign(n,e.evaluater.evaluateExpression(u.argument))}else sr(e,t.position);else{const i=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const u=r.value.data.estree.body[0];u.type,a=e.evaluater.evaluateExpression(u.expression)}else sr(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function fi(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:J1;for(;++r<t.children.length;){const a=t.children[r];let o;if(e.passKeys){const c=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(c){const d=i.get(c)||0;o=c+"-"+d,i.set(c,d+1)}}const u=jo(e,a,o);u!==void 0&&n.push(u)}return n}function f2(e,t,n){const r=hi(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Eo(n):Ao(n)),r.property==="style"){let i=typeof n=="object"?n:x2(e,String(n));return e.stylePropertyNameCase==="css"&&(i=g2(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?L1[r.property]||r.property:r.attribute,n]}}function x2(e,t){const n={};try{K1(t,r)}catch(i){if(!e.ignoreInvalidStyle){const a=i,o=new Fe("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:a,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=e.filePath||void 0,o.url=wo+"#cannot-parse-style-attribute",o}}return n;function r(i,a){let o=i;o.slice(0,2)!=="--"&&(o.slice(0,4)==="-ms-"&&(o="ms-"+o.slice(4)),o=o.replace(t2,b2)),n[o]=a}}function vo(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,o;for(;++a<i.length;){const u=Gi(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};o=o?{type:"MemberExpression",object:o,property:u,computed:!!(a&&u.type==="Literal"),optional:!1}:u}r=o}else r=Gi(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return mi.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);sr(e)}function sr(e,t){const n=new Fe("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=wo+"#cannot-handle-mdx-estrees-without-createevaluater",n}function g2(e){const t={};let n;for(n in e)mi.call(e,n)&&(t[E2(n)]=e[n]);return t}function E2(e){let t=e.replace(e2,_2);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function b2(e,t){return t.toUpperCase()}function _2(e){return"-"+e.toLowerCase()}const ks={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},T2={};function xi(e,t){const n=T2,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Po(e,r,i)}function Po(e,t,n){if(C2(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return aa(e.children,t,n)}return Array.isArray(e)?aa(e,t,n):""}function aa(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Po(e[i],t,n);return r.join("")}function C2(e){return!!(e&&typeof e=="object")}const oa=document.createElement("i");function gi(e){const t="&"+e+";";oa.innerHTML=t;const n=oa.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Ke(e,t,n,r){const i=e.length;let a=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function tt(e,t){return e.length>0?(Ke(e,e.length,0,t),e):t}const ua={}.hasOwnProperty;function Oo(e){const t={};let n=-1;for(;++n<e.length;)S2(t,e[n]);return t}function S2(e,t){let n;for(n in t){const i=(ua.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let o;if(a)for(o in a){ua.call(i,o)||(i[o]=[]);const u=a[o];y2(i[o],Array.isArray(u)?u:u?[u]:[])}}}function y2(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Ke(e,0,0,r)}function Do(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function mt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ze=Yt(/[A-Za-z]/),Be=Yt(/[\dA-Za-z]/),R2=Yt(/[#-'*+\--9=?A-Z^-~]/);function qr(e){return e!==null&&(e<32||e===127)}const Qs=Yt(/\d/),k2=Yt(/[\dA-Fa-f]/),A2=Yt(/[!-/:-@[-`{-~]/);function Z(e){return e!==null&&e<-2}function be(e){return e!==null&&(e<0||e===32)}function de(e){return e===-2||e===-1||e===32}const Jr=Yt(new RegExp("\\p{P}|\\p{S}","u")),an=Yt(/\s/);function Yt(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function An(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let o="";if(a===37&&Be(e.charCodeAt(n+1))&&Be(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){const u=e.charCodeAt(n+1);a<56320&&u>56319&&u<57344?(o=String.fromCharCode(a,u),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function pe(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return o;function o(c){return de(c)?(e.enter(n),u(c)):t(c)}function u(c){return de(c)&&a++<i?(e.consume(c),u):(e.exit(n),t(c))}}const I2={tokenize:N2};function N2(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),pe(e,t,"linePrefix")}function i(u){return e.enter("paragraph"),a(u)}function a(u){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,o(u)}function o(u){if(u===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(u);return}return Z(u)?(e.consume(u),e.exit("chunkText"),a):(e.consume(u),o)}}const w2={tokenize:j2},la={tokenize:L2};function j2(e){const t=this,n=[];let r=0,i,a,o;return u;function u(y){if(r<n.length){const P=n[r];return t.containerState=P[1],e.attempt(P[0].continuation,c,d)(y)}return d(y)}function c(y){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&A();const P=t.events.length;let j=P,I;for(;j--;)if(t.events[j][0]==="exit"&&t.events[j][1].type==="chunkFlow"){I=t.events[j][1].end;break}b(r);let q=P;for(;q<t.events.length;)t.events[q][1].end={...I},q++;return Ke(t.events,j+1,0,t.events.slice(P)),t.events.length=q,d(y)}return u(y)}function d(y){if(r===n.length){if(!i)return f(y);if(i.currentConstruct&&i.currentConstruct.concrete)return x(y);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(la,m,h)(y)}function m(y){return i&&A(),b(r),f(y)}function h(y){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,x(y)}function f(y){return t.containerState={},e.attempt(la,p,x)(y)}function p(y){return r++,n.push([t.currentConstruct,t.containerState]),f(y)}function x(y){if(y===null){i&&A(),b(0),e.consume(y);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),g(y)}function g(y){if(y===null){C(e.exit("chunkFlow"),!0),b(0),e.consume(y);return}return Z(y)?(e.consume(y),C(e.exit("chunkFlow")),r=0,t.interrupt=void 0,u):(e.consume(y),g)}function C(y,P){const j=t.sliceStream(y);if(P&&j.push(null),y.previous=a,a&&(a.next=y),a=y,i.defineSkip(y.start),i.write(j),t.parser.lazy[y.start.line]){let I=i.events.length;for(;I--;)if(i.events[I][1].start.offset<o&&(!i.events[I][1].end||i.events[I][1].end.offset>o))return;const q=t.events.length;let V=q,Q,w;for(;V--;)if(t.events[V][0]==="exit"&&t.events[V][1].type==="chunkFlow"){if(Q){w=t.events[V][1].end;break}Q=!0}for(b(r),I=q;I<t.events.length;)t.events[I][1].end={...w},I++;Ke(t.events,V+1,0,t.events.slice(q)),t.events.length=I}}function b(y){let P=n.length;for(;P-- >y;){const j=n[P];t.containerState=j[1],j[0].exit.call(t,e)}n.length=y}function A(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function L2(e,t,n){return pe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Cn(e){if(e===null||be(e)||an(e))return 1;if(Jr(e))return 2}function es(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const Ks={name:"attention",resolveAll:v2,tokenize:P2};function v2(e,t){let n=-1,r,i,a,o,u,c,d,m;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const h={...e[r][1].end},f={...e[n][1].start};ca(h,-c),ca(f,c),o={type:c>1?"strongSequence":"emphasisSequence",start:h,end:{...e[r][1].end}},u={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:f},a={type:c>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?"strong":"emphasis",start:{...o.start},end:{...u.end}},e[r][1].end={...o.start},e[n][1].start={...u.end},d=[],e[r][1].end.offset-e[r][1].start.offset&&(d=tt(d,[["enter",e[r][1],t],["exit",e[r][1],t]])),d=tt(d,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),d=tt(d,es(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),d=tt(d,[["exit",a,t],["enter",u,t],["exit",u,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(m=2,d=tt(d,[["enter",e[n][1],t],["exit",e[n][1],t]])):m=0,Ke(e,r-1,n-r+3,d),n=r+d.length-m-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function P2(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Cn(r);let a;return o;function o(c){return a=c,e.enter("attentionSequence"),u(c)}function u(c){if(c===a)return e.consume(c),u;const d=e.exit("attentionSequence"),m=Cn(c),h=!m||m===2&&i||n.includes(c),f=!i||i===2&&m||n.includes(r);return d._open=!!(a===42?h:h&&(i||!f)),d._close=!!(a===42?f:f&&(m||!h)),t(c)}}function ca(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const O2={name:"autolink",tokenize:D2};function D2(e,t,n){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(p){return ze(p)?(e.consume(p),o):p===64?n(p):d(p)}function o(p){return p===43||p===45||p===46||Be(p)?(r=1,u(p)):d(p)}function u(p){return p===58?(e.consume(p),r=0,c):(p===43||p===45||p===46||Be(p))&&r++<32?(e.consume(p),u):(r=0,d(p))}function c(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||qr(p)?n(p):(e.consume(p),c)}function d(p){return p===64?(e.consume(p),m):R2(p)?(e.consume(p),d):n(p)}function m(p){return Be(p)?h(p):n(p)}function h(p){return p===46?(e.consume(p),r=0,m):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):f(p)}function f(p){if((p===45||Be(p))&&r++<63){const x=p===45?f:h;return e.consume(p),x}return n(p)}}const hr={partial:!0,tokenize:M2};function M2(e,t,n){return r;function r(a){return de(a)?pe(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||Z(a)?t(a):n(a)}}const Mo={continuation:{tokenize:F2},exit:H2,name:"blockQuote",tokenize:B2};function B2(e,t,n){const r=this;return i;function i(o){if(o===62){const u=r.containerState;return u.open||(e.enter("blockQuote",{_container:!0}),u.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),a}return n(o)}function a(o){return de(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function F2(e,t,n){const r=this;return i;function i(o){return de(o)?pe(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):a(o)}function a(o){return e.attempt(Mo,t,n)(o)}}function H2(e){e.exit("blockQuote")}const Bo={name:"characterEscape",tokenize:U2};function U2(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return A2(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const Fo={name:"characterReference",tokenize:$2};function $2(e,t,n){const r=this;let i=0,a,o;return u;function u(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),c}function c(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),d):(e.enter("characterReferenceValue"),a=31,o=Be,m(h))}function d(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=k2,m):(e.enter("characterReferenceValue"),a=7,o=Qs,m(h))}function m(h){if(h===59&&i){const f=e.exit("characterReferenceValue");return o===Be&&!gi(r.sliceSerialize(f))?n(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(h)&&i++<a?(e.consume(h),m):n(h)}}const da={partial:!0,tokenize:W2},ha={concrete:!0,name:"codeFenced",tokenize:z2};function z2(e,t,n){const r=this,i={partial:!0,tokenize:j};let a=0,o=0,u;return c;function c(I){return d(I)}function d(I){const q=r.events[r.events.length-1];return a=q&&q[1].type==="linePrefix"?q[2].sliceSerialize(q[1],!0).length:0,u=I,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),m(I)}function m(I){return I===u?(o++,e.consume(I),m):o<3?n(I):(e.exit("codeFencedFenceSequence"),de(I)?pe(e,h,"whitespace")(I):h(I))}function h(I){return I===null||Z(I)?(e.exit("codeFencedFence"),r.interrupt?t(I):e.check(da,g,P)(I)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(I))}function f(I){return I===null||Z(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(I)):de(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),pe(e,p,"whitespace")(I)):I===96&&I===u?n(I):(e.consume(I),f)}function p(I){return I===null||Z(I)?h(I):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),x(I))}function x(I){return I===null||Z(I)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(I)):I===96&&I===u?n(I):(e.consume(I),x)}function g(I){return e.attempt(i,P,C)(I)}function C(I){return e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),b}function b(I){return a>0&&de(I)?pe(e,A,"linePrefix",a+1)(I):A(I)}function A(I){return I===null||Z(I)?e.check(da,g,P)(I):(e.enter("codeFlowValue"),y(I))}function y(I){return I===null||Z(I)?(e.exit("codeFlowValue"),A(I)):(e.consume(I),y)}function P(I){return e.exit("codeFenced"),t(I)}function j(I,q,V){let Q=0;return w;function w(z){return I.enter("lineEnding"),I.consume(z),I.exit("lineEnding"),$}function $(z){return I.enter("codeFencedFence"),de(z)?pe(I,M,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(z):M(z)}function M(z){return z===u?(I.enter("codeFencedFenceSequence"),H(z)):V(z)}function H(z){return z===u?(Q++,I.consume(z),H):Q>=o?(I.exit("codeFencedFenceSequence"),de(z)?pe(I,Y,"whitespace")(z):Y(z)):V(z)}function Y(z){return z===null||Z(z)?(I.exit("codeFencedFence"),q(z)):V(z)}}}function W2(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const As={name:"codeIndented",tokenize:V2},q2={partial:!0,tokenize:Y2};function V2(e,t,n){const r=this;return i;function i(d){return e.enter("codeIndented"),pe(e,a,"linePrefix",5)(d)}function a(d){const m=r.events[r.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?o(d):n(d)}function o(d){return d===null?c(d):Z(d)?e.attempt(q2,o,c)(d):(e.enter("codeFlowValue"),u(d))}function u(d){return d===null||Z(d)?(e.exit("codeFlowValue"),o(d)):(e.consume(d),u)}function c(d){return e.exit("codeIndented"),t(d)}}function Y2(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):Z(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):pe(e,a,"linePrefix",5)(o)}function a(o){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(o):Z(o)?i(o):n(o)}}const G2={name:"codeText",previous:Q2,resolve:X2,tokenize:K2};function X2(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Q2(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function K2(e,t,n){let r=0,i,a;return o;function o(h){return e.enter("codeText"),e.enter("codeTextSequence"),u(h)}function u(h){return h===96?(e.consume(h),r++,u):(e.exit("codeTextSequence"),c(h))}function c(h){return h===null?n(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),c):h===96?(a=e.enter("codeTextSequence"),i=0,m(h)):Z(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("codeTextData"),d(h))}function d(h){return h===null||h===32||h===96||Z(h)?(e.exit("codeTextData"),c(h)):(e.consume(h),d)}function m(h){return h===96?(e.consume(h),i++,m):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(a.type="codeTextData",d(h))}}class Z2{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Un(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Un(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Un(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Un(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Un(this.left,n.reverse())}}}function Un(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Ho(e){const t={};let n=-1,r,i,a,o,u,c,d;const m=new Z2(e);for(;++n<m.length;){for(;n in t;)n=t[n];if(r=m.get(n),n&&r[1].type==="chunkFlow"&&m.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type==="lineEndingBlank"&&(a+=2),a<c.length&&c[a][1].type==="content"))for(;++a<c.length&&c[a][1].type!=="content";)c[a][1].type==="chunkText"&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,J2(m,n)),n=t[n],d=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=m.get(a),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(m.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=a);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(r[1].end={...m.get(i)[1].start},u=m.slice(i,n),u.unshift(r),m.splice(i,n-i+1,u))}}return Ke(e,0,Number.POSITIVE_INFINITY,m.slice(0)),!d}function J2(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const u=o.events,c=[],d={};let m,h,f=-1,p=n,x=0,g=0;const C=[g];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(m=r.sliceStream(p),p.next||m.push(null),h&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(m),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),h=p,p=p.next}for(p=n;++f<u.length;)u[f][0]==="exit"&&u[f-1][0]==="enter"&&u[f][1].type===u[f-1][1].type&&u[f][1].start.line!==u[f][1].end.line&&(g=f+1,C.push(g),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):C.pop(),f=C.length;f--;){const b=u.slice(C[f],C[f+1]),A=a.pop();c.push([A,A+b.length-1]),e.splice(A,2,b)}for(c.reverse(),f=-1;++f<c.length;)d[x+c[f][0]]=x+c[f][1],x+=c[f][1]-c[f][0]-1;return d}const ex={resolve:nx,tokenize:rx},tx={partial:!0,tokenize:sx};function nx(e){return Ho(e),e}function rx(e,t){let n;return r;function r(u){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(u)}function i(u){return u===null?a(u):Z(u)?e.check(tx,o,a)(u):(e.consume(u),i)}function a(u){return e.exit("chunkContent"),e.exit("content"),t(u)}function o(u){return e.consume(u),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function sx(e,t,n){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),pe(e,a,"linePrefix")}function a(o){if(o===null||Z(o))return n(o);const u=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function Uo(e,t,n,r,i,a,o,u,c){const d=c||Number.POSITIVE_INFINITY;let m=0;return h;function h(b){return b===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(b),e.exit(a),f):b===null||b===32||b===41||qr(b)?n(b):(e.enter(r),e.enter(o),e.enter(u),e.enter("chunkString",{contentType:"string"}),g(b))}function f(b){return b===62?(e.enter(a),e.consume(b),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),p(b))}function p(b){return b===62?(e.exit("chunkString"),e.exit(u),f(b)):b===null||b===60||Z(b)?n(b):(e.consume(b),b===92?x:p)}function x(b){return b===60||b===62||b===92?(e.consume(b),p):p(b)}function g(b){return!m&&(b===null||b===41||be(b))?(e.exit("chunkString"),e.exit(u),e.exit(o),e.exit(r),t(b)):m<d&&b===40?(e.consume(b),m++,g):b===41?(e.consume(b),m--,g):b===null||b===32||b===40||qr(b)?n(b):(e.consume(b),b===92?C:g)}function C(b){return b===40||b===41||b===92?(e.consume(b),g):g(b)}}function $o(e,t,n,r,i,a){const o=this;let u=0,c;return d;function d(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(a),m}function m(p){return u>999||p===null||p===91||p===93&&!c||p===94&&!u&&"_hiddenFootnoteSupport"in o.parser.constructs?n(p):p===93?(e.exit(a),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):Z(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),m):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===null||p===91||p===93||Z(p)||u++>999?(e.exit("chunkString"),m(p)):(e.consume(p),c||(c=!de(p)),p===92?f:h)}function f(p){return p===91||p===92||p===93?(e.consume(p),u++,h):h(p)}}function zo(e,t,n,r,i,a){let o;return u;function u(f){return f===34||f===39||f===40?(e.enter(r),e.enter(i),e.consume(f),e.exit(i),o=f===40?41:f,c):n(f)}function c(f){return f===o?(e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):(e.enter(a),d(f))}function d(f){return f===o?(e.exit(a),c(o)):f===null?n(f):Z(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),pe(e,d,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),m(f))}function m(f){return f===o||f===null||Z(f)?(e.exit("chunkString"),d(f)):(e.consume(f),f===92?h:m)}function h(f){return f===o||f===92?(e.consume(f),m):m(f)}}function Xn(e,t){let n;return r;function r(i){return Z(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):de(i)?pe(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const ix={name:"definition",tokenize:ox},ax={partial:!0,tokenize:ux};function ox(e,t,n){const r=this;let i;return a;function a(p){return e.enter("definition"),o(p)}function o(p){return $o.call(r,e,u,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function u(p){return i=mt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),c):n(p)}function c(p){return be(p)?Xn(e,d)(p):d(p)}function d(p){return Uo(e,m,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function m(p){return e.attempt(ax,h,h)(p)}function h(p){return de(p)?pe(e,f,"whitespace")(p):f(p)}function f(p){return p===null||Z(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function ux(e,t,n){return r;function r(u){return be(u)?Xn(e,i)(u):n(u)}function i(u){return zo(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function a(u){return de(u)?pe(e,o,"whitespace")(u):o(u)}function o(u){return u===null||Z(u)?t(u):n(u)}}const lx={name:"hardBreakEscape",tokenize:cx};function cx(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return Z(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const dx={name:"headingAtx",resolve:hx,tokenize:mx};function hx(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Ke(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function mx(e,t,n){let r=0;return i;function i(m){return e.enter("atxHeading"),a(m)}function a(m){return e.enter("atxHeadingSequence"),o(m)}function o(m){return m===35&&r++<6?(e.consume(m),o):m===null||be(m)?(e.exit("atxHeadingSequence"),u(m)):n(m)}function u(m){return m===35?(e.enter("atxHeadingSequence"),c(m)):m===null||Z(m)?(e.exit("atxHeading"),t(m)):de(m)?pe(e,u,"whitespace")(m):(e.enter("atxHeadingText"),d(m))}function c(m){return m===35?(e.consume(m),c):(e.exit("atxHeadingSequence"),u(m))}function d(m){return m===null||m===35||be(m)?(e.exit("atxHeadingText"),u(m)):(e.consume(m),d)}}const px=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ma=["pre","script","style","textarea"],fx={concrete:!0,name:"htmlFlow",resolveTo:Ex,tokenize:bx},xx={partial:!0,tokenize:Tx},gx={partial:!0,tokenize:_x};function Ex(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function bx(e,t,n){const r=this;let i,a,o,u,c;return d;function d(R){return m(R)}function m(R){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(R),h}function h(R){return R===33?(e.consume(R),f):R===47?(e.consume(R),a=!0,g):R===63?(e.consume(R),i=3,r.interrupt?t:S):ze(R)?(e.consume(R),o=String.fromCharCode(R),C):n(R)}function f(R){return R===45?(e.consume(R),i=2,p):R===91?(e.consume(R),i=5,u=0,x):ze(R)?(e.consume(R),i=4,r.interrupt?t:S):n(R)}function p(R){return R===45?(e.consume(R),r.interrupt?t:S):n(R)}function x(R){const ce="CDATA[";return R===ce.charCodeAt(u++)?(e.consume(R),u===ce.length?r.interrupt?t:M:x):n(R)}function g(R){return ze(R)?(e.consume(R),o=String.fromCharCode(R),C):n(R)}function C(R){if(R===null||R===47||R===62||be(R)){const ce=R===47,Ae=o.toLowerCase();return!ce&&!a&&ma.includes(Ae)?(i=1,r.interrupt?t(R):M(R)):px.includes(o.toLowerCase())?(i=6,ce?(e.consume(R),b):r.interrupt?t(R):M(R)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(R):a?A(R):y(R))}return R===45||Be(R)?(e.consume(R),o+=String.fromCharCode(R),C):n(R)}function b(R){return R===62?(e.consume(R),r.interrupt?t:M):n(R)}function A(R){return de(R)?(e.consume(R),A):w(R)}function y(R){return R===47?(e.consume(R),w):R===58||R===95||ze(R)?(e.consume(R),P):de(R)?(e.consume(R),y):w(R)}function P(R){return R===45||R===46||R===58||R===95||Be(R)?(e.consume(R),P):j(R)}function j(R){return R===61?(e.consume(R),I):de(R)?(e.consume(R),j):y(R)}function I(R){return R===null||R===60||R===61||R===62||R===96?n(R):R===34||R===39?(e.consume(R),c=R,q):de(R)?(e.consume(R),I):V(R)}function q(R){return R===c?(e.consume(R),c=null,Q):R===null||Z(R)?n(R):(e.consume(R),q)}function V(R){return R===null||R===34||R===39||R===47||R===60||R===61||R===62||R===96||be(R)?j(R):(e.consume(R),V)}function Q(R){return R===47||R===62||de(R)?y(R):n(R)}function w(R){return R===62?(e.consume(R),$):n(R)}function $(R){return R===null||Z(R)?M(R):de(R)?(e.consume(R),$):n(R)}function M(R){return R===45&&i===2?(e.consume(R),X):R===60&&i===1?(e.consume(R),G):R===62&&i===4?(e.consume(R),Ce):R===63&&i===3?(e.consume(R),S):R===93&&i===5?(e.consume(R),J):Z(R)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(xx,Pe,H)(R)):R===null||Z(R)?(e.exit("htmlFlowData"),H(R)):(e.consume(R),M)}function H(R){return e.check(gx,Y,Pe)(R)}function Y(R){return e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),z}function z(R){return R===null||Z(R)?H(R):(e.enter("htmlFlowData"),M(R))}function X(R){return R===45?(e.consume(R),S):M(R)}function G(R){return R===47?(e.consume(R),o="",W):M(R)}function W(R){if(R===62){const ce=o.toLowerCase();return ma.includes(ce)?(e.consume(R),Ce):M(R)}return ze(R)&&o.length<8?(e.consume(R),o+=String.fromCharCode(R),W):M(R)}function J(R){return R===93?(e.consume(R),S):M(R)}function S(R){return R===62?(e.consume(R),Ce):R===45&&i===2?(e.consume(R),S):M(R)}function Ce(R){return R===null||Z(R)?(e.exit("htmlFlowData"),Pe(R)):(e.consume(R),Ce)}function Pe(R){return e.exit("htmlFlow"),t(R)}}function _x(e,t,n){const r=this;return i;function i(o){return Z(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):n(o)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function Tx(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(hr,t,n)}}const Cx={name:"htmlText",tokenize:Sx};function Sx(e,t,n){const r=this;let i,a,o;return u;function u(S){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(S),c}function c(S){return S===33?(e.consume(S),d):S===47?(e.consume(S),j):S===63?(e.consume(S),y):ze(S)?(e.consume(S),V):n(S)}function d(S){return S===45?(e.consume(S),m):S===91?(e.consume(S),a=0,x):ze(S)?(e.consume(S),A):n(S)}function m(S){return S===45?(e.consume(S),p):n(S)}function h(S){return S===null?n(S):S===45?(e.consume(S),f):Z(S)?(o=h,G(S)):(e.consume(S),h)}function f(S){return S===45?(e.consume(S),p):h(S)}function p(S){return S===62?X(S):S===45?f(S):h(S)}function x(S){const Ce="CDATA[";return S===Ce.charCodeAt(a++)?(e.consume(S),a===Ce.length?g:x):n(S)}function g(S){return S===null?n(S):S===93?(e.consume(S),C):Z(S)?(o=g,G(S)):(e.consume(S),g)}function C(S){return S===93?(e.consume(S),b):g(S)}function b(S){return S===62?X(S):S===93?(e.consume(S),b):g(S)}function A(S){return S===null||S===62?X(S):Z(S)?(o=A,G(S)):(e.consume(S),A)}function y(S){return S===null?n(S):S===63?(e.consume(S),P):Z(S)?(o=y,G(S)):(e.consume(S),y)}function P(S){return S===62?X(S):y(S)}function j(S){return ze(S)?(e.consume(S),I):n(S)}function I(S){return S===45||Be(S)?(e.consume(S),I):q(S)}function q(S){return Z(S)?(o=q,G(S)):de(S)?(e.consume(S),q):X(S)}function V(S){return S===45||Be(S)?(e.consume(S),V):S===47||S===62||be(S)?Q(S):n(S)}function Q(S){return S===47?(e.consume(S),X):S===58||S===95||ze(S)?(e.consume(S),w):Z(S)?(o=Q,G(S)):de(S)?(e.consume(S),Q):X(S)}function w(S){return S===45||S===46||S===58||S===95||Be(S)?(e.consume(S),w):$(S)}function $(S){return S===61?(e.consume(S),M):Z(S)?(o=$,G(S)):de(S)?(e.consume(S),$):Q(S)}function M(S){return S===null||S===60||S===61||S===62||S===96?n(S):S===34||S===39?(e.consume(S),i=S,H):Z(S)?(o=M,G(S)):de(S)?(e.consume(S),M):(e.consume(S),Y)}function H(S){return S===i?(e.consume(S),i=void 0,z):S===null?n(S):Z(S)?(o=H,G(S)):(e.consume(S),H)}function Y(S){return S===null||S===34||S===39||S===60||S===61||S===96?n(S):S===47||S===62||be(S)?Q(S):(e.consume(S),Y)}function z(S){return S===47||S===62||be(S)?Q(S):n(S)}function X(S){return S===62?(e.consume(S),e.exit("htmlTextData"),e.exit("htmlText"),t):n(S)}function G(S){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),W}function W(S){return de(S)?pe(e,J,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):J(S)}function J(S){return e.enter("htmlTextData"),o(S)}}const Ei={name:"labelEnd",resolveAll:Ax,resolveTo:Ix,tokenize:Nx},yx={tokenize:wx},Rx={tokenize:jx},kx={tokenize:Lx};function Ax(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&Ke(e,0,e.length,n),e}function Ix(e,t){let n=e.length,r=0,i,a,o,u;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=n);const c={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},d={type:"label",start:{...e[a][1].start},end:{...e[o][1].end}},m={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return u=[["enter",c,t],["enter",d,t]],u=tt(u,e.slice(a+1,a+r+3)),u=tt(u,[["enter",m,t]]),u=tt(u,es(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),u=tt(u,[["exit",m,t],e[o-2],e[o-1],["exit",d,t]]),u=tt(u,e.slice(o+1)),u=tt(u,[["exit",c,t]]),Ke(e,a,e.length,u),e}function Nx(e,t,n){const r=this;let i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return u;function u(f){return a?a._inactive?h(f):(o=r.parser.defined.includes(mt(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelEnd"),c):n(f)}function c(f){return f===40?e.attempt(yx,m,o?m:h)(f):f===91?e.attempt(Rx,m,o?d:h)(f):o?m(f):h(f)}function d(f){return e.attempt(kx,m,h)(f)}function m(f){return t(f)}function h(f){return a._balanced=!0,n(f)}}function wx(e,t,n){return r;function r(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),i}function i(h){return be(h)?Xn(e,a)(h):a(h)}function a(h){return h===41?m(h):Uo(e,o,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function o(h){return be(h)?Xn(e,c)(h):m(h)}function u(h){return n(h)}function c(h){return h===34||h===39||h===40?zo(e,d,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):m(h)}function d(h){return be(h)?Xn(e,m)(h):m(h)}function m(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):n(h)}}function jx(e,t,n){const r=this;return i;function i(u){return $o.call(r,e,a,o,"reference","referenceMarker","referenceString")(u)}function a(u){return r.parser.defined.includes(mt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(u):n(u)}function o(u){return n(u)}}function Lx(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const vx={name:"labelStartImage",resolveAll:Ei.resolveAll,tokenize:Px};function Px(e,t,n){const r=this;return i;function i(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),a}function a(u){return u===91?(e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelImage"),o):n(u)}function o(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const Ox={name:"labelStartLink",resolveAll:Ei.resolveAll,tokenize:Dx};function Dx(e,t,n){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),a}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const Is={name:"lineEnding",tokenize:Mx};function Mx(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),pe(e,t,"linePrefix")}}const Fr={name:"thematicBreak",tokenize:Bx};function Bx(e,t,n){let r=0,i;return a;function a(d){return e.enter("thematicBreak"),o(d)}function o(d){return i=d,u(d)}function u(d){return d===i?(e.enter("thematicBreakSequence"),c(d)):r>=3&&(d===null||Z(d))?(e.exit("thematicBreak"),t(d)):n(d)}function c(d){return d===i?(e.consume(d),r++,c):(e.exit("thematicBreakSequence"),de(d)?pe(e,u,"whitespace")(d):u(d))}}const Ve={continuation:{tokenize:$x},exit:Wx,name:"list",tokenize:Ux},Fx={partial:!0,tokenize:qx},Hx={partial:!0,tokenize:zx};function Ux(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return u;function u(p){const x=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(x==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:Qs(p)){if(r.containerState.type||(r.containerState.type=x,e.enter(x,{_container:!0})),x==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Fr,n,d)(p):d(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(p)}return n(p)}function c(p){return Qs(p)&&++o<10?(e.consume(p),c):(!r.interrupt||o<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),d(p)):n(p)}function d(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(hr,r.interrupt?n:m,e.attempt(Fx,f,h))}function m(p){return r.containerState.initialBlankLine=!0,a++,f(p)}function h(p){return de(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),f):n(p)}function f(p){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function $x(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(hr,i,a);function i(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,pe(e,t,"listItemIndent",r.containerState.size+1)(u)}function a(u){return r.containerState.furtherBlankLines||!de(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Hx,t,o)(u))}function o(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,pe(e,e.attempt(Ve,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function zx(e,t,n){const r=this;return pe(e,i,"listItemIndent",r.containerState.size+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(a):n(a)}}function Wx(e){e.exit(this.containerState.type)}function qx(e,t,n){const r=this;return pe(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const o=r.events[r.events.length-1];return!de(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const pa={name:"setextUnderline",resolveTo:Vx,tokenize:Yx};function Vx(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function Yx(e,t,n){const r=this;let i;return a;function a(d){let m=r.events.length,h;for(;m--;)if(r.events[m][1].type!=="lineEnding"&&r.events[m][1].type!=="linePrefix"&&r.events[m][1].type!=="content"){h=r.events[m][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),i=d,o(d)):n(d)}function o(d){return e.enter("setextHeadingLineSequence"),u(d)}function u(d){return d===i?(e.consume(d),u):(e.exit("setextHeadingLineSequence"),de(d)?pe(e,c,"lineSuffix")(d):c(d))}function c(d){return d===null||Z(d)?(e.exit("setextHeadingLine"),t(d)):n(d)}}const Gx={tokenize:Xx};function Xx(e){const t=this,n=e.attempt(hr,r,e.attempt(this.parser.constructs.flowInitial,i,pe(e,e.attempt(this.parser.constructs.flow,i,e.attempt(ex,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Qx={resolveAll:qo()},Kx=Wo("string"),Zx=Wo("text");function Wo(e){return{resolveAll:qo(e==="text"?Jx:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,o,u);return o;function o(m){return d(m)?a(m):u(m)}function u(m){if(m===null){n.consume(m);return}return n.enter("data"),n.consume(m),c}function c(m){return d(m)?(n.exit("data"),a(m)):(n.consume(m),c)}function d(m){if(m===null)return!0;const h=i[m];let f=-1;if(h)for(;++f<h.length;){const p=h[f];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function qo(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function Jx(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let a=i.length,o=-1,u=0,c;for(;a--;){const d=i[a];if(typeof d=="string"){for(o=d.length;d.charCodeAt(o-1)===32;)u++,o--;if(o)break;o=-1}else if(d===-2)c=!0,u++;else if(d!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){const d={type:n===e.length||c||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-u,offset:r.end.offset-u},end:{...r.end}};r.end={...d.start},r.start.offset===r.end.offset?Object.assign(r,d):(e.splice(n,0,["enter",d,t],["exit",d,t]),n+=2)}n++}return e}const eg={42:Ve,43:Ve,45:Ve,48:Ve,49:Ve,50:Ve,51:Ve,52:Ve,53:Ve,54:Ve,55:Ve,56:Ve,57:Ve,62:Mo},tg={91:ix},ng={[-2]:As,[-1]:As,32:As},rg={35:dx,42:Fr,45:[pa,Fr],60:fx,61:pa,95:Fr,96:ha,126:ha},sg={38:Fo,92:Bo},ig={[-5]:Is,[-4]:Is,[-3]:Is,33:vx,38:Fo,42:Ks,60:[O2,Cx],91:Ox,92:[lx,Bo],93:Ei,95:Ks,96:G2},ag={null:[Ks,Qx]},og={null:[42,95]},ug={null:[]},lg=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:og,contentInitial:tg,disable:ug,document:eg,flow:rg,flowInitial:ng,insideSpan:ag,string:sg,text:ig},Symbol.toStringTag,{value:"Module"}));function cg(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let o=[],u=[];const c={attempt:q(j),check:q(I),consume:A,enter:y,exit:P,interrupt:q(I,{interrupt:!0})},d={code:null,containerState:{},defineSkip:g,events:[],now:x,parser:e,previous:null,sliceSerialize:f,sliceStream:p,write:h};let m=t.tokenize.call(d,c);return t.resolveAll&&a.push(t),d;function h($){return o=tt(o,$),C(),o[o.length-1]!==null?[]:(V(t,0),d.events=es(a,d.events,d),d.events)}function f($,M){return hg(p($),M)}function p($){return dg(o,$)}function x(){const{_bufferIndex:$,_index:M,line:H,column:Y,offset:z}=r;return{_bufferIndex:$,_index:M,line:H,column:Y,offset:z}}function g($){i[$.line]=$.column,w()}function C(){let $;for(;r._index<o.length;){const M=o[r._index];if(typeof M=="string")for($=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===$&&r._bufferIndex<M.length;)b(M.charCodeAt(r._bufferIndex));else b(M)}}function b($){m=m($)}function A($){Z($)?(r.line++,r.column=1,r.offset+=$===-3?2:1,w()):$!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),d.previous=$}function y($,M){const H=M||{};return H.type=$,H.start=x(),d.events.push(["enter",H,d]),u.push(H),H}function P($){const M=u.pop();return M.end=x(),d.events.push(["exit",M,d]),M}function j($,M){V($,M.from)}function I($,M){M.restore()}function q($,M){return H;function H(Y,z,X){let G,W,J,S;return Array.isArray(Y)?Pe(Y):"tokenize"in Y?Pe([Y]):Ce(Y);function Ce(ee){return De;function De(st){const Ot=st!==null&&ee[st],Rt=st!==null&&ee.null,Gt=[...Array.isArray(Ot)?Ot:Ot?[Ot]:[],...Array.isArray(Rt)?Rt:Rt?[Rt]:[]];return Pe(Gt)(st)}}function Pe(ee){return G=ee,W=0,ee.length===0?X:R(ee[W])}function R(ee){return De;function De(st){return S=Q(),J=ee,ee.partial||(d.currentConstruct=ee),ee.name&&d.parser.constructs.disable.null.includes(ee.name)?Ae():ee.tokenize.call(M?Object.assign(Object.create(d),M):d,c,ce,Ae)(st)}}function ce(ee){return $(J,S),z}function Ae(ee){return S.restore(),++W<G.length?R(G[W]):X}}}function V($,M){$.resolveAll&&!a.includes($)&&a.push($),$.resolve&&Ke(d.events,M,d.events.length-M,$.resolve(d.events.slice(M),d)),$.resolveTo&&(d.events=$.resolveTo(d.events,d))}function Q(){const $=x(),M=d.previous,H=d.currentConstruct,Y=d.events.length,z=Array.from(u);return{from:Y,restore:X};function X(){r=$,d.previous=M,d.currentConstruct=H,d.events.length=Y,u=z,w()}}function w(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function dg(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){const u=o[0];typeof u=="string"?o[0]=u.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function hg(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let o;if(typeof a=="string")o=a;else switch(a){case-5:{o="\r";break}case-4:{o=`
|
|
104
104
|
`;break}case-3:{o=`\r
|
|
105
|
-
`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join("")}function mg(e){const r={constructs:Oo([lg,...(e||{}).extensions||[]]),content:i(N2),defined:[],document:i(w2),flow:i(Gx),lazy:{},string:i(Kx),text:i(Zx)};return r;function i(a){return o;function o(u){return cg(r,a,u)}}}function pg(e){for(;!Ho(e););return e}const fa=/[\0\t\n\r]/g;function fg(){let e=1,t="",n=!0,r;return i;function i(a,o,u){const c=[];let d,m,h,f,p;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(o||void 0).decode(a)),h=0,t="",n&&(a.charCodeAt(0)===65279&&h++,n=void 0);h<a.length;){if(fa.lastIndex=h,d=fa.exec(a),f=d&&d.index!==void 0?d.index:a.length,p=a.charCodeAt(f),!d){t=a.slice(h);break}if(p===10&&h===f&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),h<f&&(c.push(a.slice(h,f)),e+=f-h),p){case 0:{c.push(65533),e++;break}case 9:{for(m=Math.ceil(e/4)*4,c.push(-2);e++<m;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}h=f+1}return u&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}const xg=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function gg(e){return e.replace(xg,Eg)}function Eg(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return Do(n.slice(a?2:1),a?16:10)}return gi(n)||e}const Vo={}.hasOwnProperty;function bg(e,t,n){return typeof t!="string"&&(n=t,t=void 0),_g(n)(pg(mg(n).document().write(fg()(e,t,!0))))}function _g(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(re),autolinkProtocol:Q,autolinkEmail:Q,atxHeading:a(Ln),blockQuote:a(Rt),characterEscape:Q,characterReference:Q,codeFenced:a(Gt),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(Gt,o),codeText:a(gr,o),codeTextData:Q,data:Q,codeFlowValue:Q,definition:a(ls),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(Er),hardBreakEscape:a(ae),hardBreakTrailing:a(ae),htmlFlow:a(te,o),htmlFlowData:Q,htmlText:a(te,o),htmlTextData:Q,image:a(ge),label:o,link:a(re),listItem:a(oe),listItemValue:f,listOrdered:a(he,h),listUnordered:a(he),paragraph:a(xe),reference:R,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(Ln),strong:a(fe),thematicBreak:a(Dt)},exit:{atxHeading:c(),atxHeadingSequence:j,autolink:c(),autolinkEmail:Ot,autolinkProtocol:st,blockQuote:c(),characterEscapeValue:w,characterReferenceMarkerHexadecimal:Ae,characterReferenceMarkerNumeric:Ae,characterReferenceValue:ee,characterReference:De,codeFenced:c(C),codeFencedFence:g,codeFencedFenceInfo:p,codeFencedFenceMeta:x,codeFlowValue:w,codeIndented:c(b),codeText:c(z),codeTextData:w,data:w,definition:c(),definitionDestinationString:P,definitionLabelString:A,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(M),hardBreakTrailing:c(M),htmlFlow:c(H),htmlFlowData:w,htmlText:c(Y),htmlTextData:w,image:c(G),label:J,labelText:W,lineEnding:$,link:c(X),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:ce,resourceDestinationString:S,resourceTitleString:Ce,resource:Pe,setextHeading:c(V),setextHeadingLineSequence:q,setextHeadingText:N,strong:c(),thematicBreak:c()}};Yo(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(v){let U={type:"root",children:[]};const ne={stack:[U],tokenStack:[],config:t,enter:u,exit:d,buffer:o,resume:m,data:n},me=[];let Ee=-1;for(;++Ee<v.length;)if(v[Ee][1].type==="listOrdered"||v[Ee][1].type==="listUnordered")if(v[Ee][0]==="enter")me.push(Ee);else{const it=me.pop();Ee=i(v,it,Ee)}for(Ee=-1;++Ee<v.length;){const it=t[v[Ee][0]];Vo.call(it,v[Ee][1].type)&&it[v[Ee][1].type].call(Object.assign({sliceSerialize:v[Ee][2].sliceSerialize},ne),v[Ee][1])}if(ne.tokenStack.length>0){const it=ne.tokenStack[ne.tokenStack.length-1];(it[1]||xa).call(ne,void 0,it[0])}for(U.position={start:Mt(v.length>0?v[0][1].start:{line:1,column:1,offset:0}),end:Mt(v.length>0?v[v.length-2][1].end:{line:1,column:1,offset:0})},Ee=-1;++Ee<t.transforms.length;)U=t.transforms[Ee](U)||U;return U}function i(v,U,ne){let me=U-1,Ee=-1,it=!1,Xt,kt,vn,Pn;for(;++me<=ne;){const Ge=v[me];switch(Ge[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ge[0]==="enter"?Ee++:Ee--,Pn=void 0;break}case"lineEndingBlank":{Ge[0]==="enter"&&(Xt&&!Pn&&!Ee&&!vn&&(vn=me),Pn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Pn=void 0}if(!Ee&&Ge[0]==="enter"&&Ge[1].type==="listItemPrefix"||Ee===-1&&Ge[0]==="exit"&&(Ge[1].type==="listUnordered"||Ge[1].type==="listOrdered")){if(Xt){let cn=me;for(kt=void 0;cn--;){const At=v[cn];if(At[1].type==="lineEnding"||At[1].type==="lineEndingBlank"){if(At[0]==="exit")continue;kt&&(v[kt][1].type="lineEndingBlank",it=!0),At[1].type="lineEnding",kt=cn}else if(!(At[1].type==="linePrefix"||At[1].type==="blockQuotePrefix"||At[1].type==="blockQuotePrefixWhitespace"||At[1].type==="blockQuoteMarker"||At[1].type==="listItemIndent"))break}vn&&(!kt||vn<kt)&&(Xt._spread=!0),Xt.end=Object.assign({},kt?v[kt][1].start:Ge[1].end),v.splice(kt||me,0,["exit",Xt,Ge[2]]),me++,ne++}if(Ge[1].type==="listItemPrefix"){const cn={type:"listItem",_spread:!1,start:Object.assign({},Ge[1].start),end:void 0};Xt=cn,v.splice(me,0,["enter",cn,Ge[2]]),me++,ne++,vn=void 0,Pn=!0}}}return v[U][1]._spread=it,ne}function a(v,U){return ne;function ne(me){u.call(this,v(me),me),U&&U.call(this,me)}}function o(){this.stack.push({type:"fragment",children:[]})}function u(v,U,ne){this.stack[this.stack.length-1].children.push(v),this.stack.push(v),this.tokenStack.push([U,ne||void 0]),v.position={start:Mt(U.start),end:void 0}}function c(v){return U;function U(ne){v&&v.call(this,ne),d.call(this,ne)}}function d(v,U){const ne=this.stack.pop(),me=this.tokenStack.pop();if(me)me[0].type!==v.type&&(U?U.call(this,v,me[0]):(me[1]||xa).call(this,v,me[0]));else throw new Error("Cannot close `"+v.type+"` ("+Gn({start:v.start,end:v.end})+"): it’s not open");ne.position.end=Mt(v.end)}function m(){return xi(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function f(v){if(this.data.expectingFirstListItemValue){const U=this.stack[this.stack.length-2];U.start=Number.parseInt(this.sliceSerialize(v),10),this.data.expectingFirstListItemValue=void 0}}function p(){const v=this.resume(),U=this.stack[this.stack.length-1];U.lang=v}function x(){const v=this.resume(),U=this.stack[this.stack.length-1];U.meta=v}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){const v=this.resume(),U=this.stack[this.stack.length-1];U.value=v.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function b(){const v=this.resume(),U=this.stack[this.stack.length-1];U.value=v.replace(/(\r?\n|\r)$/g,"")}function A(v){const U=this.resume(),ne=this.stack[this.stack.length-1];ne.label=U,ne.identifier=mt(this.sliceSerialize(v)).toLowerCase()}function y(){const v=this.resume(),U=this.stack[this.stack.length-1];U.title=v}function P(){const v=this.resume(),U=this.stack[this.stack.length-1];U.url=v}function j(v){const U=this.stack[this.stack.length-1];if(!U.depth){const ne=this.sliceSerialize(v).length;U.depth=ne}}function N(){this.data.setextHeadingSlurpLineEnding=!0}function q(v){const U=this.stack[this.stack.length-1];U.depth=this.sliceSerialize(v).codePointAt(0)===61?1:2}function V(){this.data.setextHeadingSlurpLineEnding=void 0}function Q(v){const ne=this.stack[this.stack.length-1].children;let me=ne[ne.length-1];(!me||me.type!=="text")&&(me=Re(),me.position={start:Mt(v.start),end:void 0},ne.push(me)),this.stack.push(me)}function w(v){const U=this.stack.pop();U.value+=this.sliceSerialize(v),U.position.end=Mt(v.end)}function $(v){const U=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ne=U.children[U.children.length-1];ne.position.end=Mt(v.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(U.type)&&(Q.call(this,v),w.call(this,v))}function M(){this.data.atHardBreak=!0}function H(){const v=this.resume(),U=this.stack[this.stack.length-1];U.value=v}function Y(){const v=this.resume(),U=this.stack[this.stack.length-1];U.value=v}function z(){const v=this.resume(),U=this.stack[this.stack.length-1];U.value=v}function X(){const v=this.stack[this.stack.length-1];if(this.data.inReference){const U=this.data.referenceType||"shortcut";v.type+="Reference",v.referenceType=U,delete v.url,delete v.title}else delete v.identifier,delete v.label;this.data.referenceType=void 0}function G(){const v=this.stack[this.stack.length-1];if(this.data.inReference){const U=this.data.referenceType||"shortcut";v.type+="Reference",v.referenceType=U,delete v.url,delete v.title}else delete v.identifier,delete v.label;this.data.referenceType=void 0}function W(v){const U=this.sliceSerialize(v),ne=this.stack[this.stack.length-2];ne.label=gg(U),ne.identifier=mt(U).toLowerCase()}function J(){const v=this.stack[this.stack.length-1],U=this.resume(),ne=this.stack[this.stack.length-1];if(this.data.inReference=!0,ne.type==="link"){const me=v.children;ne.children=me}else ne.alt=U}function S(){const v=this.resume(),U=this.stack[this.stack.length-1];U.url=v}function Ce(){const v=this.resume(),U=this.stack[this.stack.length-1];U.title=v}function Pe(){this.data.inReference=void 0}function R(){this.data.referenceType="collapsed"}function ce(v){const U=this.resume(),ne=this.stack[this.stack.length-1];ne.label=U,ne.identifier=mt(this.sliceSerialize(v)).toLowerCase(),this.data.referenceType="full"}function Ae(v){this.data.characterReferenceType=v.type}function ee(v){const U=this.sliceSerialize(v),ne=this.data.characterReferenceType;let me;ne?(me=Do(U,ne==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):me=gi(U);const Ee=this.stack[this.stack.length-1];Ee.value+=me}function De(v){const U=this.stack.pop();U.position.end=Mt(v.end)}function st(v){w.call(this,v);const U=this.stack[this.stack.length-1];U.url=this.sliceSerialize(v)}function Ot(v){w.call(this,v);const U=this.stack[this.stack.length-1];U.url="mailto:"+this.sliceSerialize(v)}function Rt(){return{type:"blockquote",children:[]}}function Gt(){return{type:"code",lang:null,meta:null,value:""}}function gr(){return{type:"inlineCode",value:""}}function ls(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Er(){return{type:"emphasis",children:[]}}function Ln(){return{type:"heading",depth:0,children:[]}}function ae(){return{type:"break"}}function te(){return{type:"html",value:""}}function ge(){return{type:"image",title:null,url:"",alt:null}}function re(){return{type:"link",title:null,url:"",children:[]}}function he(v){return{type:"list",ordered:v.type==="listOrdered",start:null,spread:v._spread,children:[]}}function oe(v){return{type:"listItem",spread:v._spread,checked:null,children:[]}}function xe(){return{type:"paragraph",children:[]}}function fe(){return{type:"strong",children:[]}}function Re(){return{type:"text",value:""}}function Dt(){return{type:"thematicBreak"}}}function Mt(e){return{line:e.line,column:e.column,offset:e.offset}}function Yo(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Yo(e,r):Tg(e,r)}}function Tg(e,t){let n;for(n in t)if(Vo.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function xa(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Gn({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Gn({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Gn({start:t.start,end:t.end})+") is still open")}function Cg(e){const t=this;t.parser=n;function n(r){return bg(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Sg(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function yg(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
105
|
+
`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join("")}function mg(e){const r={constructs:Oo([lg,...(e||{}).extensions||[]]),content:i(I2),defined:[],document:i(w2),flow:i(Gx),lazy:{},string:i(Kx),text:i(Zx)};return r;function i(a){return o;function o(u){return cg(r,a,u)}}}function pg(e){for(;!Ho(e););return e}const fa=/[\0\t\n\r]/g;function fg(){let e=1,t="",n=!0,r;return i;function i(a,o,u){const c=[];let d,m,h,f,p;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(o||void 0).decode(a)),h=0,t="",n&&(a.charCodeAt(0)===65279&&h++,n=void 0);h<a.length;){if(fa.lastIndex=h,d=fa.exec(a),f=d&&d.index!==void 0?d.index:a.length,p=a.charCodeAt(f),!d){t=a.slice(h);break}if(p===10&&h===f&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),h<f&&(c.push(a.slice(h,f)),e+=f-h),p){case 0:{c.push(65533),e++;break}case 9:{for(m=Math.ceil(e/4)*4,c.push(-2);e++<m;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}h=f+1}return u&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}const xg=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function gg(e){return e.replace(xg,Eg)}function Eg(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return Do(n.slice(a?2:1),a?16:10)}return gi(n)||e}const Vo={}.hasOwnProperty;function bg(e,t,n){return typeof t!="string"&&(n=t,t=void 0),_g(n)(pg(mg(n).document().write(fg()(e,t,!0))))}function _g(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(re),autolinkProtocol:Q,autolinkEmail:Q,atxHeading:a(Ln),blockQuote:a(Rt),characterEscape:Q,characterReference:Q,codeFenced:a(Gt),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(Gt,o),codeText:a(gr,o),codeTextData:Q,data:Q,codeFlowValue:Q,definition:a(ls),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(Er),hardBreakEscape:a(ae),hardBreakTrailing:a(ae),htmlFlow:a(te,o),htmlFlowData:Q,htmlText:a(te,o),htmlTextData:Q,image:a(ge),label:o,link:a(re),listItem:a(oe),listItemValue:f,listOrdered:a(he,h),listUnordered:a(he),paragraph:a(xe),reference:R,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(Ln),strong:a(fe),thematicBreak:a(Dt)},exit:{atxHeading:c(),atxHeadingSequence:j,autolink:c(),autolinkEmail:Ot,autolinkProtocol:st,blockQuote:c(),characterEscapeValue:w,characterReferenceMarkerHexadecimal:Ae,characterReferenceMarkerNumeric:Ae,characterReferenceValue:ee,characterReference:De,codeFenced:c(C),codeFencedFence:g,codeFencedFenceInfo:p,codeFencedFenceMeta:x,codeFlowValue:w,codeIndented:c(b),codeText:c(z),codeTextData:w,data:w,definition:c(),definitionDestinationString:P,definitionLabelString:A,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(M),hardBreakTrailing:c(M),htmlFlow:c(H),htmlFlowData:w,htmlText:c(Y),htmlTextData:w,image:c(G),label:J,labelText:W,lineEnding:$,link:c(X),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:ce,resourceDestinationString:S,resourceTitleString:Ce,resource:Pe,setextHeading:c(V),setextHeadingLineSequence:q,setextHeadingText:I,strong:c(),thematicBreak:c()}};Yo(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(v){let U={type:"root",children:[]};const ne={stack:[U],tokenStack:[],config:t,enter:u,exit:d,buffer:o,resume:m,data:n},me=[];let Ee=-1;for(;++Ee<v.length;)if(v[Ee][1].type==="listOrdered"||v[Ee][1].type==="listUnordered")if(v[Ee][0]==="enter")me.push(Ee);else{const it=me.pop();Ee=i(v,it,Ee)}for(Ee=-1;++Ee<v.length;){const it=t[v[Ee][0]];Vo.call(it,v[Ee][1].type)&&it[v[Ee][1].type].call(Object.assign({sliceSerialize:v[Ee][2].sliceSerialize},ne),v[Ee][1])}if(ne.tokenStack.length>0){const it=ne.tokenStack[ne.tokenStack.length-1];(it[1]||xa).call(ne,void 0,it[0])}for(U.position={start:Mt(v.length>0?v[0][1].start:{line:1,column:1,offset:0}),end:Mt(v.length>0?v[v.length-2][1].end:{line:1,column:1,offset:0})},Ee=-1;++Ee<t.transforms.length;)U=t.transforms[Ee](U)||U;return U}function i(v,U,ne){let me=U-1,Ee=-1,it=!1,Xt,kt,vn,Pn;for(;++me<=ne;){const Ge=v[me];switch(Ge[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ge[0]==="enter"?Ee++:Ee--,Pn=void 0;break}case"lineEndingBlank":{Ge[0]==="enter"&&(Xt&&!Pn&&!Ee&&!vn&&(vn=me),Pn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Pn=void 0}if(!Ee&&Ge[0]==="enter"&&Ge[1].type==="listItemPrefix"||Ee===-1&&Ge[0]==="exit"&&(Ge[1].type==="listUnordered"||Ge[1].type==="listOrdered")){if(Xt){let cn=me;for(kt=void 0;cn--;){const At=v[cn];if(At[1].type==="lineEnding"||At[1].type==="lineEndingBlank"){if(At[0]==="exit")continue;kt&&(v[kt][1].type="lineEndingBlank",it=!0),At[1].type="lineEnding",kt=cn}else if(!(At[1].type==="linePrefix"||At[1].type==="blockQuotePrefix"||At[1].type==="blockQuotePrefixWhitespace"||At[1].type==="blockQuoteMarker"||At[1].type==="listItemIndent"))break}vn&&(!kt||vn<kt)&&(Xt._spread=!0),Xt.end=Object.assign({},kt?v[kt][1].start:Ge[1].end),v.splice(kt||me,0,["exit",Xt,Ge[2]]),me++,ne++}if(Ge[1].type==="listItemPrefix"){const cn={type:"listItem",_spread:!1,start:Object.assign({},Ge[1].start),end:void 0};Xt=cn,v.splice(me,0,["enter",cn,Ge[2]]),me++,ne++,vn=void 0,Pn=!0}}}return v[U][1]._spread=it,ne}function a(v,U){return ne;function ne(me){u.call(this,v(me),me),U&&U.call(this,me)}}function o(){this.stack.push({type:"fragment",children:[]})}function u(v,U,ne){this.stack[this.stack.length-1].children.push(v),this.stack.push(v),this.tokenStack.push([U,ne||void 0]),v.position={start:Mt(U.start),end:void 0}}function c(v){return U;function U(ne){v&&v.call(this,ne),d.call(this,ne)}}function d(v,U){const ne=this.stack.pop(),me=this.tokenStack.pop();if(me)me[0].type!==v.type&&(U?U.call(this,v,me[0]):(me[1]||xa).call(this,v,me[0]));else throw new Error("Cannot close `"+v.type+"` ("+Gn({start:v.start,end:v.end})+"): it’s not open");ne.position.end=Mt(v.end)}function m(){return xi(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function f(v){if(this.data.expectingFirstListItemValue){const U=this.stack[this.stack.length-2];U.start=Number.parseInt(this.sliceSerialize(v),10),this.data.expectingFirstListItemValue=void 0}}function p(){const v=this.resume(),U=this.stack[this.stack.length-1];U.lang=v}function x(){const v=this.resume(),U=this.stack[this.stack.length-1];U.meta=v}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){const v=this.resume(),U=this.stack[this.stack.length-1];U.value=v.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function b(){const v=this.resume(),U=this.stack[this.stack.length-1];U.value=v.replace(/(\r?\n|\r)$/g,"")}function A(v){const U=this.resume(),ne=this.stack[this.stack.length-1];ne.label=U,ne.identifier=mt(this.sliceSerialize(v)).toLowerCase()}function y(){const v=this.resume(),U=this.stack[this.stack.length-1];U.title=v}function P(){const v=this.resume(),U=this.stack[this.stack.length-1];U.url=v}function j(v){const U=this.stack[this.stack.length-1];if(!U.depth){const ne=this.sliceSerialize(v).length;U.depth=ne}}function I(){this.data.setextHeadingSlurpLineEnding=!0}function q(v){const U=this.stack[this.stack.length-1];U.depth=this.sliceSerialize(v).codePointAt(0)===61?1:2}function V(){this.data.setextHeadingSlurpLineEnding=void 0}function Q(v){const ne=this.stack[this.stack.length-1].children;let me=ne[ne.length-1];(!me||me.type!=="text")&&(me=Re(),me.position={start:Mt(v.start),end:void 0},ne.push(me)),this.stack.push(me)}function w(v){const U=this.stack.pop();U.value+=this.sliceSerialize(v),U.position.end=Mt(v.end)}function $(v){const U=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ne=U.children[U.children.length-1];ne.position.end=Mt(v.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(U.type)&&(Q.call(this,v),w.call(this,v))}function M(){this.data.atHardBreak=!0}function H(){const v=this.resume(),U=this.stack[this.stack.length-1];U.value=v}function Y(){const v=this.resume(),U=this.stack[this.stack.length-1];U.value=v}function z(){const v=this.resume(),U=this.stack[this.stack.length-1];U.value=v}function X(){const v=this.stack[this.stack.length-1];if(this.data.inReference){const U=this.data.referenceType||"shortcut";v.type+="Reference",v.referenceType=U,delete v.url,delete v.title}else delete v.identifier,delete v.label;this.data.referenceType=void 0}function G(){const v=this.stack[this.stack.length-1];if(this.data.inReference){const U=this.data.referenceType||"shortcut";v.type+="Reference",v.referenceType=U,delete v.url,delete v.title}else delete v.identifier,delete v.label;this.data.referenceType=void 0}function W(v){const U=this.sliceSerialize(v),ne=this.stack[this.stack.length-2];ne.label=gg(U),ne.identifier=mt(U).toLowerCase()}function J(){const v=this.stack[this.stack.length-1],U=this.resume(),ne=this.stack[this.stack.length-1];if(this.data.inReference=!0,ne.type==="link"){const me=v.children;ne.children=me}else ne.alt=U}function S(){const v=this.resume(),U=this.stack[this.stack.length-1];U.url=v}function Ce(){const v=this.resume(),U=this.stack[this.stack.length-1];U.title=v}function Pe(){this.data.inReference=void 0}function R(){this.data.referenceType="collapsed"}function ce(v){const U=this.resume(),ne=this.stack[this.stack.length-1];ne.label=U,ne.identifier=mt(this.sliceSerialize(v)).toLowerCase(),this.data.referenceType="full"}function Ae(v){this.data.characterReferenceType=v.type}function ee(v){const U=this.sliceSerialize(v),ne=this.data.characterReferenceType;let me;ne?(me=Do(U,ne==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):me=gi(U);const Ee=this.stack[this.stack.length-1];Ee.value+=me}function De(v){const U=this.stack.pop();U.position.end=Mt(v.end)}function st(v){w.call(this,v);const U=this.stack[this.stack.length-1];U.url=this.sliceSerialize(v)}function Ot(v){w.call(this,v);const U=this.stack[this.stack.length-1];U.url="mailto:"+this.sliceSerialize(v)}function Rt(){return{type:"blockquote",children:[]}}function Gt(){return{type:"code",lang:null,meta:null,value:""}}function gr(){return{type:"inlineCode",value:""}}function ls(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Er(){return{type:"emphasis",children:[]}}function Ln(){return{type:"heading",depth:0,children:[]}}function ae(){return{type:"break"}}function te(){return{type:"html",value:""}}function ge(){return{type:"image",title:null,url:"",alt:null}}function re(){return{type:"link",title:null,url:"",children:[]}}function he(v){return{type:"list",ordered:v.type==="listOrdered",start:null,spread:v._spread,children:[]}}function oe(v){return{type:"listItem",spread:v._spread,checked:null,children:[]}}function xe(){return{type:"paragraph",children:[]}}function fe(){return{type:"strong",children:[]}}function Re(){return{type:"text",value:""}}function Dt(){return{type:"thematicBreak"}}}function Mt(e){return{line:e.line,column:e.column,offset:e.offset}}function Yo(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Yo(e,r):Tg(e,r)}}function Tg(e,t){let n;for(n in t)if(Vo.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function xa(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Gn({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Gn({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Gn({start:t.start,end:t.end})+") is still open")}function Cg(e){const t=this;t.parser=n;function n(r){return bg(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Sg(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function yg(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
106
106
|
`}]}function Rg(e,t){const n=t.value?t.value+`
|
|
107
|
-
`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function kg(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ag(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function
|
|
107
|
+
`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function kg(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ag(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ig(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=An(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let o,u=e.footnoteCounts.get(r);u===void 0?(u=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,u+=1,e.footnoteCounts.set(r,u);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(u>1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,c);const d={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,d),e.applyData(t,d)}function Ng(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function wg(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Go(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function jg(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Go(e,t);const i={src:An(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function Lg(e,t){const n={src:An(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function vg(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Pg(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Go(e,t);const i={href:An(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function Og(e,t){const n={href:An(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Dg(e,t,n){const r=e.all(t),i=n?Mg(n):Xo(t),a={},o=[];if(typeof t.checked=="boolean"){const m=r[0];let h;m&&m.type==="element"&&m.tagName==="p"?h=m:(h={type:"element",tagName:"p",properties:{},children:[]},r.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let u=-1;for(;++u<r.length;){const m=r[u];(i||u!==0||m.type!=="element"||m.tagName!=="p")&&o.push({type:"text",value:`
|
|
108
108
|
`}),m.type==="element"&&m.tagName==="p"&&!i?o.push(...m.children):o.push(m)}const c=r[r.length-1];c&&(i||c.type!=="element"||c.tagName!=="p")&&o.push({type:"text",value:`
|
|
109
|
-
`});const d={type:"element",tagName:"li",properties:a,children:o};return e.patch(t,d),e.applyData(t,d)}function Mg(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Xo(n[r])}return t}function Xo(e){const t=e.spread;return t??e.children.length>1}function Bg(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const o=r[i];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function Fg(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Hg(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Ug(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function $g(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),i.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},u=St(t.children[1]),c=Zr(t.children[t.children.length-1]);u&&c&&(o.position={start:u,end:c}),i.push(o)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function zg(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,u=o?o.length:t.children.length;let c=-1;const d=[];for(;++c<u;){const h=t.children[c],f={},p=o?o[c]:void 0;p&&(f.align=p);let x={type:"element",tagName:a,properties:f,children:[]};h&&(x.children=e.all(h),e.patch(h,x),x=e.applyData(h,x)),d.push(x)}const m={type:"element",tagName:"tr",properties:{},children:e.wrap(d,!0)};return e.patch(t,m),e.applyData(t,m)}function Wg(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const ga=9,Ea=32;function qg(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const a=[];for(;r;)a.push(ba(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(ba(t.slice(i),i>0,!1)),a.join("")}function ba(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===ga||a===Ea;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===ga||a===Ea;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Vg(e,t){const n={type:"text",value:qg(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Yg(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Gg={blockquote:Sg,break:yg,code:Rg,delete:kg,emphasis:Ag,footnoteReference:
|
|
109
|
+
`});const d={type:"element",tagName:"li",properties:a,children:o};return e.patch(t,d),e.applyData(t,d)}function Mg(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Xo(n[r])}return t}function Xo(e){const t=e.spread;return t??e.children.length>1}function Bg(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const o=r[i];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function Fg(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Hg(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Ug(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function $g(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),i.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},u=St(t.children[1]),c=Zr(t.children[t.children.length-1]);u&&c&&(o.position={start:u,end:c}),i.push(o)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function zg(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,u=o?o.length:t.children.length;let c=-1;const d=[];for(;++c<u;){const h=t.children[c],f={},p=o?o[c]:void 0;p&&(f.align=p);let x={type:"element",tagName:a,properties:f,children:[]};h&&(x.children=e.all(h),e.patch(h,x),x=e.applyData(h,x)),d.push(x)}const m={type:"element",tagName:"tr",properties:{},children:e.wrap(d,!0)};return e.patch(t,m),e.applyData(t,m)}function Wg(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const ga=9,Ea=32;function qg(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const a=[];for(;r;)a.push(ba(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(ba(t.slice(i),i>0,!1)),a.join("")}function ba(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===ga||a===Ea;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===ga||a===Ea;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Vg(e,t){const n={type:"text",value:qg(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Yg(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Gg={blockquote:Sg,break:yg,code:Rg,delete:kg,emphasis:Ag,footnoteReference:Ig,heading:Ng,html:wg,imageReference:jg,image:Lg,inlineCode:vg,linkReference:Pg,link:Og,listItem:Dg,list:Bg,paragraph:Fg,root:Hg,strong:Ug,table:$g,tableCell:Wg,tableRow:zg,text:Vg,thematicBreak:Yg,toml:jr,yaml:jr,definition:jr,footnoteDefinition:jr};function jr(){}const Qo=-1,ts=0,Qn=1,Vr=2,bi=3,_i=4,Ti=5,Ci=6,Ko=7,Zo=8,_a=typeof self=="object"?self:globalThis,Xg=(e,t)=>{const n=(i,a)=>(e.set(a,i),i),r=i=>{if(e.has(i))return e.get(i);const[a,o]=t[i];switch(a){case ts:case Qo:return n(o,i);case Qn:{const u=n([],i);for(const c of o)u.push(r(c));return u}case Vr:{const u=n({},i);for(const[c,d]of o)u[r(c)]=r(d);return u}case bi:return n(new Date(o),i);case _i:{const{source:u,flags:c}=o;return n(new RegExp(u,c),i)}case Ti:{const u=n(new Map,i);for(const[c,d]of o)u.set(r(c),r(d));return u}case Ci:{const u=n(new Set,i);for(const c of o)u.add(r(c));return u}case Ko:{const{name:u,message:c}=o;return n(new _a[u](c),i)}case Zo:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:u}=new Uint8Array(o);return n(new DataView(u),o)}}return n(new _a[a](o),i)};return r},Ta=e=>Xg(new Map,e)(0),pn="",{toString:Qg}={},{keys:Kg}=Object,$n=e=>{const t=typeof e;if(t!=="object"||!e)return[ts,t];const n=Qg.call(e).slice(8,-1);switch(n){case"Array":return[Qn,pn];case"Object":return[Vr,pn];case"Date":return[bi,pn];case"RegExp":return[_i,pn];case"Map":return[Ti,pn];case"Set":return[Ci,pn];case"DataView":return[Qn,n]}return n.includes("Array")?[Qn,n]:n.includes("Error")?[Ko,n]:[Vr,n]},Lr=([e,t])=>e===ts&&(t==="function"||t==="symbol"),Zg=(e,t,n,r)=>{const i=(o,u)=>{const c=r.push(o)-1;return n.set(u,c),c},a=o=>{if(n.has(o))return n.get(o);let[u,c]=$n(o);switch(u){case ts:{let m=o;switch(c){case"bigint":u=Zo,m=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);m=null;break;case"undefined":return i([Qo],o)}return i([u,m],o)}case Qn:{if(c){let f=o;return c==="DataView"?f=new Uint8Array(o.buffer):c==="ArrayBuffer"&&(f=new Uint8Array(o)),i([c,[...f]],o)}const m=[],h=i([u,m],o);for(const f of o)m.push(a(f));return h}case Vr:{if(c)switch(c){case"BigInt":return i([c,o.toString()],o);case"Boolean":case"Number":case"String":return i([c,o.valueOf()],o)}if(t&&"toJSON"in o)return a(o.toJSON());const m=[],h=i([u,m],o);for(const f of Kg(o))(e||!Lr($n(o[f])))&&m.push([a(f),a(o[f])]);return h}case bi:return i([u,o.toISOString()],o);case _i:{const{source:m,flags:h}=o;return i([u,{source:m,flags:h}],o)}case Ti:{const m=[],h=i([u,m],o);for(const[f,p]of o)(e||!(Lr($n(f))||Lr($n(p))))&&m.push([a(f),a(p)]);return h}case Ci:{const m=[],h=i([u,m],o);for(const f of o)(e||!Lr($n(f)))&&m.push(a(f));return h}}const{message:d}=o;return i([u,{name:c,message:d}],o)};return a},Ca=(e,{json:t,lossy:n}={})=>{const r=[];return Zg(!(t||n),!!t,new Map,r)(e),r},Sn=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Ta(Ca(e,t)):structuredClone(e):(e,t)=>Ta(Ca(e,t));function Jg(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function eE(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function tE(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Jg,r=e.options.footnoteBackLabel||eE,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},u=[];let c=-1;for(;++c<e.footnoteOrder.length;){const d=e.footnoteById.get(e.footnoteOrder[c]);if(!d)continue;const m=e.all(d),h=String(d.identifier).toUpperCase(),f=An(h.toLowerCase());let p=0;const x=[],g=e.footnoteCounts.get(h);for(;g!==void 0&&++p<=g;){x.length>0&&x.push({type:"text",value:" "});let A=typeof n=="string"?n:n(c,p);typeof A=="string"&&(A={type:"text",value:A}),x.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+f+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(c,p),className:["data-footnote-backref"]},children:Array.isArray(A)?A:[A]})}const C=m[m.length-1];if(C&&C.type==="element"&&C.tagName==="p"){const A=C.children[C.children.length-1];A&&A.type==="text"?A.value+=" ":C.children.push({type:"text",value:" "}),C.children.push(...x)}else m.push(...x);const b={type:"element",tagName:"li",properties:{id:t+"fn-"+f},children:e.wrap(m,!0)};e.patch(d,b),u.push(b)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...Sn(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
|
|
110
110
|
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(u,!0)},{type:"text",value:`
|
|
111
111
|
`}]}}const ns=function(e){if(e==null)return iE;if(typeof e=="function")return rs(e);if(typeof e=="object")return Array.isArray(e)?nE(e):rE(e);if(typeof e=="string")return sE(e);throw new Error("Expected function, string, or object as test")};function nE(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=ns(e[n]);return rs(r);function r(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function rE(e){const t=e;return rs(n);function n(r){const i=r;let a;for(a in e)if(i[a]!==t[a])return!1;return!0}}function sE(e){return rs(t);function t(n){return n&&n.type===e}}function rs(e){return t;function t(n,r,i){return!!(aE(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function iE(){return!0}function aE(e){return e!==null&&typeof e=="object"&&"type"in e}const Jo=[],oE=!0,Zs=!1,uE="skip";function eu(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const a=ns(i),o=r?-1:1;u(e,void 0,[])();function u(c,d,m){const h=c&&typeof c=="object"?c:{};if(typeof h.type=="string"){const p=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(c.type+(p?"<"+p+">":""))+")"})}return f;function f(){let p=Jo,x,g,C;if((!t||a(c,d,m[m.length-1]||void 0))&&(p=lE(n(c,m)),p[0]===Zs))return p;if("children"in c&&c.children){const b=c;if(b.children&&p[0]!==uE)for(g=(r?b.children.length:-1)+o,C=m.concat(b);g>-1&&g<b.children.length;){const A=b.children[g];if(x=u(A,g,C)(),x[0]===Zs)return x;g=typeof x[1]=="number"?x[1]:g+o}}return p}}}function lE(e){return Array.isArray(e)?e:typeof e=="number"?[oE,e]:e==null?Jo:[e]}function ss(e,t,n,r){let i,a,o;typeof t=="function"&&typeof n!="function"?(a=void 0,o=t,i=n):(a=t,o=n,i=r),eu(e,a,u,i);function u(c,d){const m=d[d.length-1],h=m?m.children.indexOf(c):void 0;return o(c,h,m)}}const Js={}.hasOwnProperty,cE={};function dE(e,t){const n=t||cE,r=new Map,i=new Map,a=new Map,o={...Gg,...n.handlers},u={all:d,applyData:mE,definitionById:r,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:o,one:c,options:n,patch:hE,wrap:fE};return ss(e,function(m){if(m.type==="definition"||m.type==="footnoteDefinition"){const h=m.type==="definition"?r:i,f=String(m.identifier).toUpperCase();h.has(f)||h.set(f,m)}}),u;function c(m,h){const f=m.type,p=u.handlers[f];if(Js.call(u.handlers,f)&&p)return p(u,m,h);if(u.options.passThrough&&u.options.passThrough.includes(f)){if("children"in m){const{children:g,...C}=m,b=Sn(C);return b.children=u.all(m),b}return Sn(m)}return(u.options.unknownHandler||pE)(u,m,h)}function d(m){const h=[];if("children"in m){const f=m.children;let p=-1;for(;++p<f.length;){const x=u.one(f[p],m);if(x){if(p&&f[p-1].type==="break"&&(!Array.isArray(x)&&x.type==="text"&&(x.value=Sa(x.value)),!Array.isArray(x)&&x.type==="element")){const g=x.children[0];g&&g.type==="text"&&(g.value=Sa(g.value))}Array.isArray(x)?h.push(...x):h.push(x)}}}return h}}function hE(e,t){e.position&&(t.position=Z1(e))}function mE(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,a=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const o="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:o}}n.type==="element"&&a&&Object.assign(n.properties,Sn(a)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function pE(e,t){const n=t.data||{},r="value"in t&&!(Js.call(n,"hProperties")||Js.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function fE(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
|
|
112
112
|
`});++r<e.length;)r&&n.push({type:"text",value:`
|
|
113
113
|
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
|
|
114
114
|
`}),n}function Sa(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function ya(e,t){const n=dE(e,t),r=n.one(e,void 0),i=tE(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&a.children.push({type:"text",value:`
|
|
115
|
-
`},i),a}function xE(e,t){return e&&"run"in e?async function(n,r){const i=ya(n,{file:r,...t});await e.run(i,r)}:function(n,r){return ya(n,{file:r,...e||t})}}function Ra(e){if(e)throw e}var Hr=Object.prototype.hasOwnProperty,tu=Object.prototype.toString,ka=Object.defineProperty,Aa=Object.getOwnPropertyDescriptor,Na=function(t){return typeof Array.isArray=="function"?Array.isArray(t):tu.call(t)==="[object Array]"},Ia=function(t){if(!t||tu.call(t)!=="[object Object]")return!1;var n=Hr.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&Hr.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||Hr.call(t,i)},wa=function(t,n){ka&&n.name==="__proto__"?ka(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},ja=function(t,n){if(n==="__proto__")if(Hr.call(t,n)){if(Aa)return Aa(t,n).value}else return;return t[n]},gE=function e(){var t,n,r,i,a,o,u=arguments[0],c=1,d=arguments.length,m=!1;for(typeof u=="boolean"&&(m=u,u=arguments[1]||{},c=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});c<d;++c)if(t=arguments[c],t!=null)for(n in t)r=ja(u,n),i=ja(t,n),u!==i&&(m&&i&&(Ia(i)||(a=Na(i)))?(a?(a=!1,o=r&&Na(r)?r:[]):o=r&&Ia(r)?r:{},wa(u,{name:n,newValue:e(m,o,i)})):typeof i<"u"&&wa(u,{name:n,newValue:i}));return u};const Is=s.getDefaultExportFromCjs(gE);function ei(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function EE(){const e=[],t={run:n,use:r};return t;function n(...i){let a=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);u(null,...i);function u(c,...d){const m=e[++a];let h=-1;if(c){o(c);return}for(;++h<i.length;)(d[h]===null||d[h]===void 0)&&(d[h]=i[h]);i=d,m?bE(m,u)(...d):o(null,...d)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function bE(e,t){let n;return r;function r(...o){const u=e.length>o.length;let c;u&&o.push(i);try{c=e.apply(this,o)}catch(d){const m=d;if(u&&n)throw m;return i(m)}u||(c&&c.then&&typeof c.then=="function"?c.then(a,i):c instanceof Error?i(c):a(c))}function i(o,...u){n||(n=!0,t(o,...u))}function a(o){i(null,o)}}const _t={basename:_E,dirname:TE,extname:CE,join:SE,sep:"/"};function _E(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');mr(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,u=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),u>-1&&(e.codePointAt(i)===t.codePointAt(u--)?u<0&&(r=i):(u=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function TE(e){if(mr(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function CE(e){mr(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){const u=e.codePointAt(t);if(u===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),u===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function SE(...e){let t=-1,n;for(;++t<e.length;)mr(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":yE(n)}function yE(e){mr(e);const t=e.codePointAt(0)===47;let n=RE(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function RE(e,t){let n="",r=0,i=-1,a=0,o=-1,u,c;for(;++o<=e.length;){if(o<e.length)u=e.codePointAt(o);else{if(u===47)break;u=47}if(u===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf("/"),c!==n.length-1){c<0?(n="",r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf("/")),i=o,a=0;continue}}else if(n.length>0){n="",r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else u===46&&a>-1?a++:a=-1}return n}function mr(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const kE={cwd:AE};function AE(){return"/"}function ti(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function NE(e){if(typeof e=="string")e=new URL(e);else if(!ti(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return IE(e)}function IE(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const ws=["history","path","basename","stem","extname","dirname"];class nu{constructor(t){let n;t?ti(t)?n={path:t}:typeof t=="string"||wE(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":kE.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<ws.length;){const a=ws[r];a in n&&n[a]!==void 0&&n[a]!==null&&(this[a]=a==="history"?[...n[a]]:n[a])}let i;for(i in n)ws.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?_t.basename(this.path):void 0}set basename(t){Ls(t,"basename"),js(t,"basename"),this.path=_t.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?_t.dirname(this.path):void 0}set dirname(t){La(this.basename,"dirname"),this.path=_t.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?_t.extname(this.path):void 0}set extname(t){if(js(t,"extname"),La(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=_t.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){ti(t)&&(t=NE(t)),Ls(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?_t.basename(this.path,this.extname):void 0}set stem(t){Ls(t,"stem"),js(t,"stem"),this.path=_t.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new Fe(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function js(e,t){if(e&&e.includes(_t.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+_t.sep+"`")}function Ls(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function La(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function wE(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const jE=function(e){const r=this.constructor.prototype,i=r[e],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,r),a},LE={}.hasOwnProperty;class Si extends jE{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=EE()}copy(){const t=new Si;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Is(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Os("data",this.frozen),this.namespace[t]=n,this):LE.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Os("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=vr(t),r=this.parser||this.Parser;return vs("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),vs("process",this.parser||this.Parser),Ps("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(a,o){const u=vr(t),c=r.parse(u);r.run(c,u,function(m,h,f){if(m||!h||!f)return d(m);const p=h,x=r.stringify(p,f);OE(x)?f.value=x:f.result=x,d(m,f)});function d(m,h){m||!h?o(m):a?a(h):n(void 0,h)}}}processSync(t){let n=!1,r;return this.freeze(),vs("processSync",this.parser||this.Parser),Ps("processSync",this.compiler||this.Compiler),this.process(t,i),Pa("processSync","process",n),r;function i(a,o){n=!0,Ra(a),r=o}}run(t,n,r){va(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?a(void 0,r):new Promise(a);function a(o,u){const c=vr(n);i.run(t,c,d);function d(m,h,f){const p=h||t;m?u(m):o?o(p):r(void 0,p,f)}}}runSync(t,n){let r=!1,i;return this.run(t,n,a),Pa("runSync","run",r),i;function a(o,u){Ra(o),i=u,r=!0}}stringify(t,n){this.freeze();const r=vr(n),i=this.compiler||this.Compiler;return Ps("stringify",i),va(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Os("use",this.frozen),t!=null)if(typeof t=="function")c(t,n);else if(typeof t=="object")Array.isArray(t)?u(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(d){if(typeof d=="function")c(d,[]);else if(typeof d=="object")if(Array.isArray(d)){const[m,...h]=d;c(m,h)}else o(d);else throw new TypeError("Expected usable value, not `"+d+"`")}function o(d){if(!("plugins"in d)&&!("settings"in d))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");u(d.plugins),d.settings&&(i.settings=Is(!0,i.settings,d.settings))}function u(d){let m=-1;if(d!=null)if(Array.isArray(d))for(;++m<d.length;){const h=d[m];a(h)}else throw new TypeError("Expected a list of plugins, not `"+d+"`")}function c(d,m){let h=-1,f=-1;for(;++h<r.length;)if(r[h][0]===d){f=h;break}if(f===-1)r.push([d,...m]);else if(m.length>0){let[p,...x]=m;const g=r[f][1];ei(g)&&ei(p)&&(p=Is(!0,g,p)),r[f]=[d,p,...x]}}}}const vE=new Si().freeze();function vs(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Ps(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Os(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function va(e){if(!ei(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Pa(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function vr(e){return PE(e)?e:new nu(e)}function PE(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function OE(e){return typeof e=="string"||DE(e)}function DE(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const ME="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Oa=[],Da={allowDangerousHtml:!0},BE=/^(https?|ircs?|mailto|xmpp)$/i,FE=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function ru(e){const t=HE(e),n=UE(e);return $E(t.runSync(t.parse(n),n),e)}function HE(e){const t=e.rehypePlugins||Oa,n=e.remarkPlugins||Oa,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Da}:Da;return vE().use(Cg).use(n).use(xE,r).use(t)}function UE(e){const t=e.children||"",n=new nu;return typeof t=="string"&&(n.value=t),n}function $E(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,a=t.disallowedElements,o=t.skipHtml,u=t.unwrapDisallowed,c=t.urlTransform||zE;for(const m of FE)Object.hasOwn(t,m.from)&&(""+m.from+(m.to?"use `"+m.to+"` instead":"remove it")+ME+m.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),ss(e,d),s2(e,{Fragment:s.jsxRuntimeExports.Fragment,components:i,ignoreInvalidStyle:!0,jsx:s.jsxRuntimeExports.jsx,jsxs:s.jsxRuntimeExports.jsxs,passKeys:!0,passNode:!0});function d(m,h,f){if(m.type==="raw"&&f&&typeof h=="number")return o?f.children.splice(h,1):f.children[h]={type:"text",value:m.value},h;if(m.type==="element"){let p;for(p in ks)if(Object.hasOwn(ks,p)&&Object.hasOwn(m.properties,p)){const x=m.properties[p],g=ks[p];(g===null||g.includes(m.tagName))&&(m.properties[p]=c(String(x||""),p,m))}}if(m.type==="element"){let p=n?!n.includes(m.tagName):a?a.includes(m.tagName):!1;if(!p&&r&&typeof h=="number"&&(p=!r(m,h,f)),p&&f&&typeof h=="number")return u&&m.children?f.children.splice(h,1,...m.children):f.children.splice(h,1),h}}}function zE(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||BE.test(e.slice(0,t))?e:""}const Ma=/[#.]/g;function WE(e,t){const n=e||"",r={};let i=0,a,o;for(;i<n.length;){Ma.lastIndex=i;const u=Ma.exec(n),c=n.slice(i,u?u.index:n.length);c&&(a?a==="#"?r.id=c:Array.isArray(r.className)?r.className.push(c):r.className=[c]:o=c,i+=c.length),u&&(a=u[0],i++)}return{type:"element",tagName:o||t||"div",properties:r,children:[]}}function su(e,t,n){const r=n?GE(n):void 0;function i(a,o,...u){let c;if(a==null){c={type:"root",children:[]};const d=o;u.unshift(d)}else{c=WE(a,t);const d=c.tagName.toLowerCase(),m=r?r.get(d):void 0;if(c.tagName=m||d,qE(o))u.unshift(o);else for(const[h,f]of Object.entries(o))VE(e,c.properties,h,f)}for(const d of u)ni(c.children,d);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return i}function qE(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const i=t[r];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const a=i;for(const o of a)if(typeof o!="number"&&typeof o!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function VE(e,t,n,r){const i=hi(e,n);let a;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;a=r}else typeof r=="boolean"?a=r:typeof r=="string"?i.spaceSeparated?a=Zi(r):i.commaSeparated?a=Yi(r):i.commaOrSpaceSeparated?a=Zi(Yi(r).join(" ")):a=Ba(i,i.property,r):Array.isArray(r)?a=[...r]:a=i.property==="style"?YE(r):String(r);if(Array.isArray(a)){const o=[];for(const u of a)o.push(Ba(i,i.property,u));a=o}i.property==="className"&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function ni(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)ni(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?ni(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Ba(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||rr(n)===rr(t)))return!0}return n}function YE(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function GE(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const XE=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],QE=su(Kr,"div"),KE=su(kn,"g",XE);function ZE(e){const t=String(e),n=[];return{toOffset:i,toPoint:r};function r(a){if(typeof a=="number"&&a>-1&&a<=t.length){let o=0;for(;;){let u=n[o];if(u===void 0){const c=Fa(t,n[o-1]);u=c===-1?t.length+1:c+1,n[o]=u}if(u>a)return{line:o+1,column:a-(o>0?n[o-1]:0)+1,offset:a};o++}}}function i(a){if(a&&typeof a.line=="number"&&typeof a.column=="number"&&!Number.isNaN(a.line)&&!Number.isNaN(a.column)){for(;n.length<a.line;){const u=n[n.length-1],c=Fa(t,u),d=c===-1?t.length+1:c+1;if(u===d)break;n.push(d)}const o=(a.line>1?n[a.line-2]:0)+a.column-1;if(o<n[a.line-1])return o}}}function Fa(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
|
|
116
|
-
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const rn={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},iu={}.hasOwnProperty,JE=Object.prototype;function eb(e,t){const n=t||{};return yi({file:n.file||void 0,location:!1,schema:n.space==="svg"?kn:Kr,verbose:n.verbose||!1},e)}function yi(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Ur(e,r,n),n}case"#document":case"#document-fragment":{const r=t,i="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:au(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const a=String(e.file),o=ZE(a),u=o.toPoint(0),c=o.toPoint(a.length);n.position={start:u,end:c}}return n}case"#documentType":{const r=t;return n={type:"doctype"},Ur(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},Ur(e,r,n),n}default:return n=tb(e,t),n}}function au(e,t){let n=-1;const r=[];for(;++n<t.length;){const i=yi(e,t[n]);r.push(i)}return r}function tb(e,t){const n=e.schema;e.schema=t.namespaceURI===rn.svg?kn:Kr;let r=-1;const i={};for(;++r<t.attrs.length;){const u=t.attrs[r],c=(u.prefix?u.prefix+":":"")+u.name;iu.call(JE,c)||(i[c]=u.value)}const o=(e.schema.space==="svg"?KE:QE)(t.tagName,i,au(e,t.childNodes));if(Ur(e,t,o),o.tagName==="template"){const u=t,c=u.sourceCodeLocation,d=c&&c.startTag&&En(c.startTag),m=c&&c.endTag&&En(c.endTag),h=yi(e,u.content);d&&m&&e.file&&(h.position={start:d.end,end:m.start}),o.content=h}return e.schema=n,o}function Ur(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=nb(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function nb(e,t,n){const r=En(n);if(t.type==="element"){const i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){const a={};let o;if(n.attrs)for(o in n.attrs)iu.call(n.attrs,o)&&(a[hi(e.schema,o).property]=En(n.attrs[o]));n.startTag;const u=En(n.startTag),c=n.endTag?En(n.endTag):void 0,d={opening:u};c&&(d.closing=c),d.properties=a,t.data={position:d}}}return r}function En(e){const t=Ha({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Ha({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Ha(e){return e.line&&e.column?e:void 0}class pr{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}pr.prototype.property={};pr.prototype.normal={};pr.prototype.space=null;function ou(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new pr(n,r,t)}function ri(e){return e.toLowerCase()}class rt{constructor(t,n){this.property=t,this.attribute=n}}rt.prototype.space=null;rt.prototype.boolean=!1;rt.prototype.booleanish=!1;rt.prototype.overloadedBoolean=!1;rt.prototype.number=!1;rt.prototype.commaSeparated=!1;rt.prototype.spaceSeparated=!1;rt.prototype.commaOrSpaceSeparated=!1;rt.prototype.mustUseProperty=!1;rt.prototype.defined=!1;let rb=0;const ie=un(),we=un(),uu=un(),F=un(),Te=un(),_n=un(),Qe=un();function un(){return 2**++rb}const si=Object.freeze(Object.defineProperty({__proto__:null,boolean:ie,booleanish:we,commaOrSpaceSeparated:Qe,commaSeparated:_n,number:F,overloadedBoolean:uu,spaceSeparated:Te},Symbol.toStringTag,{value:"Module"})),Ds=Object.keys(si);class Ri extends rt{constructor(t,n,r,i){let a=-1;if(super(t,n),Ua(this,"space",i),typeof r=="number")for(;++a<Ds.length;){const o=Ds[a];Ua(this,Ds[a],(r&si[o])===si[o])}}}Ri.prototype.defined=!0;function Ua(e,t,n){n&&(e[t]=n)}const sb={}.hasOwnProperty;function Nn(e){const t={},n={};let r;for(r in e.properties)if(sb.call(e.properties,r)){const i=e.properties[r],a=new Ri(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[ri(r)]=r,n[ri(a.attribute)]=r}return new pr(t,n,e.space)}const lu=Nn({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),cu=Nn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function du(e,t){return t in e?e[t]:t}function hu(e,t){return du(e,t.toLowerCase())}const mu=Nn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:hu,properties:{xmlns:null,xmlnsXLink:null}}),pu=Nn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:we,ariaAutoComplete:null,ariaBusy:we,ariaChecked:we,ariaColCount:F,ariaColIndex:F,ariaColSpan:F,ariaControls:Te,ariaCurrent:null,ariaDescribedBy:Te,ariaDetails:null,ariaDisabled:we,ariaDropEffect:Te,ariaErrorMessage:null,ariaExpanded:we,ariaFlowTo:Te,ariaGrabbed:we,ariaHasPopup:null,ariaHidden:we,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Te,ariaLevel:F,ariaLive:null,ariaModal:we,ariaMultiLine:we,ariaMultiSelectable:we,ariaOrientation:null,ariaOwns:Te,ariaPlaceholder:null,ariaPosInSet:F,ariaPressed:we,ariaReadOnly:we,ariaRelevant:null,ariaRequired:we,ariaRoleDescription:Te,ariaRowCount:F,ariaRowIndex:F,ariaRowSpan:F,ariaSelected:we,ariaSetSize:F,ariaSort:null,ariaValueMax:F,ariaValueMin:F,ariaValueNow:F,ariaValueText:null,role:null}}),ib=Nn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:hu,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:_n,acceptCharset:Te,accessKey:Te,action:null,allow:null,allowFullScreen:ie,allowPaymentRequest:ie,allowUserMedia:ie,alt:null,as:null,async:ie,autoCapitalize:null,autoComplete:Te,autoFocus:ie,autoPlay:ie,blocking:Te,capture:null,charSet:null,checked:ie,cite:null,className:Te,cols:F,colSpan:null,content:null,contentEditable:we,controls:ie,controlsList:Te,coords:F|_n,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ie,defer:ie,dir:null,dirName:null,disabled:ie,download:uu,draggable:we,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ie,formTarget:null,headers:Te,height:F,hidden:ie,high:F,href:null,hrefLang:null,htmlFor:Te,httpEquiv:Te,id:null,imageSizes:null,imageSrcSet:null,inert:ie,inputMode:null,integrity:null,is:null,isMap:ie,itemId:null,itemProp:Te,itemRef:Te,itemScope:ie,itemType:Te,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ie,low:F,manifest:null,max:null,maxLength:F,media:null,method:null,min:null,minLength:F,multiple:ie,muted:ie,name:null,nonce:null,noModule:ie,noValidate:ie,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ie,optimum:F,pattern:null,ping:Te,placeholder:null,playsInline:ie,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ie,referrerPolicy:null,rel:Te,required:ie,reversed:ie,rows:F,rowSpan:F,sandbox:Te,scope:null,scoped:ie,seamless:ie,selected:ie,shadowRootClonable:ie,shadowRootDelegatesFocus:ie,shadowRootMode:null,shape:null,size:F,sizes:null,slot:null,span:F,spellCheck:we,src:null,srcDoc:null,srcLang:null,srcSet:null,start:F,step:null,style:null,tabIndex:F,target:null,title:null,translate:null,type:null,typeMustMatch:ie,useMap:null,value:we,width:F,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Te,axis:null,background:null,bgColor:null,border:F,borderColor:null,bottomMargin:F,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ie,declare:ie,event:null,face:null,frame:null,frameBorder:null,hSpace:F,leftMargin:F,link:null,longDesc:null,lowSrc:null,marginHeight:F,marginWidth:F,noResize:ie,noHref:ie,noShade:ie,noWrap:ie,object:null,profile:null,prompt:null,rev:null,rightMargin:F,rules:null,scheme:null,scrolling:we,standby:null,summary:null,text:null,topMargin:F,valueType:null,version:null,vAlign:null,vLink:null,vSpace:F,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ie,disableRemotePlayback:ie,prefix:null,property:null,results:F,security:null,unselectable:null}}),ab=Nn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:du,properties:{about:Qe,accentHeight:F,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:F,amplitude:F,arabicForm:null,ascent:F,attributeName:null,attributeType:null,azimuth:F,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:F,by:null,calcMode:null,capHeight:F,className:Te,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:F,diffuseConstant:F,direction:null,display:null,dur:null,divisor:F,dominantBaseline:null,download:ie,dx:null,dy:null,edgeMode:null,editable:null,elevation:F,enableBackground:null,end:null,event:null,exponent:F,externalResourcesRequired:null,fill:null,fillOpacity:F,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:_n,g2:_n,glyphName:_n,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:F,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:F,horizOriginX:F,horizOriginY:F,id:null,ideographic:F,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:F,k:F,k1:F,k2:F,k3:F,k4:F,kernelMatrix:Qe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:F,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:F,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:F,overlineThickness:F,paintOrder:null,panose1:null,path:null,pathLength:F,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Te,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:F,pointsAtY:F,pointsAtZ:F,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Qe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Qe,rev:Qe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Qe,requiredFeatures:Qe,requiredFonts:Qe,requiredFormats:Qe,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:F,specularExponent:F,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:F,strikethroughThickness:F,string:null,stroke:null,strokeDashArray:Qe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:F,strokeOpacity:F,strokeWidth:null,style:null,surfaceScale:F,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Qe,tabIndex:F,tableValues:null,target:null,targetX:F,targetY:F,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Qe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:F,underlineThickness:F,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:F,values:null,vAlphabetic:F,vMathematical:F,vectorEffect:null,vHanging:F,vIdeographic:F,version:null,vertAdvY:F,vertOriginX:F,vertOriginY:F,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:F,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),ob=/^data[-\w.:]+$/i,$a=/-[a-z]/g,ub=/[A-Z]/g;function lb(e,t){const n=ri(t);let r=t,i=rt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&ob.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace($a,db);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!$a.test(a)){let o=a.replace(ub,cb);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=Ri}return new i(r,t)}function cb(e){return"-"+e.toLowerCase()}function db(e){return e.charAt(1).toUpperCase()}const hb=ou([cu,lu,mu,pu,ib],"html"),fu=ou([cu,lu,mu,pu,ab],"svg"),za={}.hasOwnProperty;function xu(e,t){const n=t||{};function r(i,...a){let o=r.invalid;const u=r.handlers;if(i&&za.call(i,e)){const c=String(i[e]);o=za.call(u,c)?u[c]:r.unknown}if(o)return o.call(this,i,...a)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const mb={},pb={}.hasOwnProperty,gu=xu("type",{handlers:{root:xb,element:Tb,text:bb,comment:_b,doctype:Eb}});function fb(e,t){const r=(t||mb).space;return gu(e,r==="svg"?fu:hb)}function xb(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=ki(e.children,n,t),In(e,n),n}function gb(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=ki(e.children,n,t),In(e,n),n}function Eb(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return In(e,t),t}function bb(e){const t={nodeName:"#text",value:e.value,parentNode:null};return In(e,t),t}function _b(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return In(e,t),t}function Tb(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=fu);const i=[];let a;if(e.properties){for(a in e.properties)if(a!=="children"&&pb.call(e.properties,a)){const c=Cb(r,a,e.properties[a]);c&&i.push(c)}}const o=r.space,u={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:rn[o],childNodes:[],parentNode:null};return u.childNodes=ki(e.children,u,r),In(e,u),e.tagName==="template"&&e.content&&(u.content=gb(e.content,r)),u}function Cb(e,t,n){const r=lb(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Eo(n):Ao(n));const i={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const a=i.name.indexOf(":");a<0?i.prefix="":(i.name=i.name.slice(a+1),i.prefix=r.attribute.slice(0,a)),i.namespace=rn[r.space]}return i}function ki(e,t,n){let r=-1;const i=[];if(e)for(;++r<e.length;){const a=gu(e[r],n);a.parentNode=t,i.push(a)}return i}function In(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const Sb=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],yb=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),Se="�";var E;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(E||(E={}));const qe={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Eu(e){return e>=55296&&e<=57343}function Rb(e){return e>=56320&&e<=57343}function kb(e,t){return(e-55296)*1024+9216+t}function bu(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function _u(e){return e>=64976&&e<=65007||yb.has(e)}var L;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(L||(L={}));const Ab=65536;class Nb{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Ab,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:i,offset:a}=this,o=i+n,u=a+n;return{code:t,startLine:r,endLine:r,startCol:o,endCol:o,startOffset:u,endOffset:u}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(Rb(n))return this.pos++,this._addGap(),kb(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,E.EOF;return this._err(L.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,E.EOF;const r=this.html.charCodeAt(n);return r===E.CARRIAGE_RETURN?E.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,E.EOF;let t=this.html.charCodeAt(this.pos);return t===E.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,E.LINE_FEED):t===E.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Eu(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===E.LINE_FEED||t===E.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){bu(t)?this._err(L.controlCharacterInInputStream):_u(t)&&this._err(L.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var le;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(le||(le={}));function Tu(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const Ib=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),wb=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function jb(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=wb.get(e))!==null&&t!==void 0?t:e}var ve;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(ve||(ve={}));const Lb=32;var qt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(qt||(qt={}));function ii(e){return e>=ve.ZERO&&e<=ve.NINE}function vb(e){return e>=ve.UPPER_A&&e<=ve.UPPER_F||e>=ve.LOWER_A&&e<=ve.LOWER_F}function Pb(e){return e>=ve.UPPER_A&&e<=ve.UPPER_Z||e>=ve.LOWER_A&&e<=ve.LOWER_Z||ii(e)}function Ob(e){return e===ve.EQUALS||Pb(e)}var Le;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Le||(Le={}));var Lt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Lt||(Lt={}));class Db{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Le.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Lt.Strict}startEntity(t){this.decodeMode=t,this.state=Le.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Le.EntityStart:return t.charCodeAt(n)===ve.NUM?(this.state=Le.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Le.NamedEntity,this.stateNamedEntity(t,n));case Le.NumericStart:return this.stateNumericStart(t,n);case Le.NumericDecimal:return this.stateNumericDecimal(t,n);case Le.NumericHex:return this.stateNumericHex(t,n);case Le.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Lb)===ve.LOWER_X?(this.state=Le.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Le.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const a=r-n;this.result=this.result*Math.pow(i,a)+Number.parseInt(t.substr(n,a),i),this.consumed+=a}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(ii(i)||vb(i))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(ii(i))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===ve.SEMI)this.consumed+=1;else if(this.decodeMode===Lt.Strict)return 0;return this.emitCodePoint(jb(this.result),this.consumed),this.errors&&(t!==ve.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let i=r[this.treeIndex],a=(i&qt.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const o=t.charCodeAt(n);if(this.treeIndex=Mb(r,i,this.treeIndex+Math.max(1,a),o),this.treeIndex<0)return this.result===0||this.decodeMode===Lt.Attribute&&(a===0||Ob(o))?0:this.emitNotTerminatedNamedEntity();if(i=r[this.treeIndex],a=(i&qt.VALUE_LENGTH)>>14,a!==0){if(o===ve.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==Lt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&qt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~qt.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case Le.NamedEntity:return this.result!==0&&(this.decodeMode!==Lt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Le.NumericDecimal:return this.emitNumericEntity(0,2);case Le.NumericHex:return this.emitNumericEntity(0,3);case Le.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Le.EntityStart:return 0}}}function Mb(e,t,n,r){const i=(t&qt.BRANCH_LENGTH)>>7,a=t&qt.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){const c=r-a;return c<0||c>=i?-1:e[n+c]-1}let o=n,u=o+i-1;for(;o<=u;){const c=o+u>>>1,d=e[c];if(d<r)o=c+1;else if(d>r)u=c-1;else return e[c+i]}return-1}var O;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(O||(O={}));var sn;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(sn||(sn={}));var nt;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(nt||(nt={}));var I;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(I||(I={}));var l;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(l||(l={}));const Bb=new Map([[I.A,l.A],[I.ADDRESS,l.ADDRESS],[I.ANNOTATION_XML,l.ANNOTATION_XML],[I.APPLET,l.APPLET],[I.AREA,l.AREA],[I.ARTICLE,l.ARTICLE],[I.ASIDE,l.ASIDE],[I.B,l.B],[I.BASE,l.BASE],[I.BASEFONT,l.BASEFONT],[I.BGSOUND,l.BGSOUND],[I.BIG,l.BIG],[I.BLOCKQUOTE,l.BLOCKQUOTE],[I.BODY,l.BODY],[I.BR,l.BR],[I.BUTTON,l.BUTTON],[I.CAPTION,l.CAPTION],[I.CENTER,l.CENTER],[I.CODE,l.CODE],[I.COL,l.COL],[I.COLGROUP,l.COLGROUP],[I.DD,l.DD],[I.DESC,l.DESC],[I.DETAILS,l.DETAILS],[I.DIALOG,l.DIALOG],[I.DIR,l.DIR],[I.DIV,l.DIV],[I.DL,l.DL],[I.DT,l.DT],[I.EM,l.EM],[I.EMBED,l.EMBED],[I.FIELDSET,l.FIELDSET],[I.FIGCAPTION,l.FIGCAPTION],[I.FIGURE,l.FIGURE],[I.FONT,l.FONT],[I.FOOTER,l.FOOTER],[I.FOREIGN_OBJECT,l.FOREIGN_OBJECT],[I.FORM,l.FORM],[I.FRAME,l.FRAME],[I.FRAMESET,l.FRAMESET],[I.H1,l.H1],[I.H2,l.H2],[I.H3,l.H3],[I.H4,l.H4],[I.H5,l.H5],[I.H6,l.H6],[I.HEAD,l.HEAD],[I.HEADER,l.HEADER],[I.HGROUP,l.HGROUP],[I.HR,l.HR],[I.HTML,l.HTML],[I.I,l.I],[I.IMG,l.IMG],[I.IMAGE,l.IMAGE],[I.INPUT,l.INPUT],[I.IFRAME,l.IFRAME],[I.KEYGEN,l.KEYGEN],[I.LABEL,l.LABEL],[I.LI,l.LI],[I.LINK,l.LINK],[I.LISTING,l.LISTING],[I.MAIN,l.MAIN],[I.MALIGNMARK,l.MALIGNMARK],[I.MARQUEE,l.MARQUEE],[I.MATH,l.MATH],[I.MENU,l.MENU],[I.META,l.META],[I.MGLYPH,l.MGLYPH],[I.MI,l.MI],[I.MO,l.MO],[I.MN,l.MN],[I.MS,l.MS],[I.MTEXT,l.MTEXT],[I.NAV,l.NAV],[I.NOBR,l.NOBR],[I.NOFRAMES,l.NOFRAMES],[I.NOEMBED,l.NOEMBED],[I.NOSCRIPT,l.NOSCRIPT],[I.OBJECT,l.OBJECT],[I.OL,l.OL],[I.OPTGROUP,l.OPTGROUP],[I.OPTION,l.OPTION],[I.P,l.P],[I.PARAM,l.PARAM],[I.PLAINTEXT,l.PLAINTEXT],[I.PRE,l.PRE],[I.RB,l.RB],[I.RP,l.RP],[I.RT,l.RT],[I.RTC,l.RTC],[I.RUBY,l.RUBY],[I.S,l.S],[I.SCRIPT,l.SCRIPT],[I.SEARCH,l.SEARCH],[I.SECTION,l.SECTION],[I.SELECT,l.SELECT],[I.SOURCE,l.SOURCE],[I.SMALL,l.SMALL],[I.SPAN,l.SPAN],[I.STRIKE,l.STRIKE],[I.STRONG,l.STRONG],[I.STYLE,l.STYLE],[I.SUB,l.SUB],[I.SUMMARY,l.SUMMARY],[I.SUP,l.SUP],[I.TABLE,l.TABLE],[I.TBODY,l.TBODY],[I.TEMPLATE,l.TEMPLATE],[I.TEXTAREA,l.TEXTAREA],[I.TFOOT,l.TFOOT],[I.TD,l.TD],[I.TH,l.TH],[I.THEAD,l.THEAD],[I.TITLE,l.TITLE],[I.TR,l.TR],[I.TRACK,l.TRACK],[I.TT,l.TT],[I.U,l.U],[I.UL,l.UL],[I.SVG,l.SVG],[I.VAR,l.VAR],[I.WBR,l.WBR],[I.XMP,l.XMP]]);function wn(e){var t;return(t=Bb.get(e))!==null&&t!==void 0?t:l.UNKNOWN}const D=l,Fb={[O.HTML]:new Set([D.ADDRESS,D.APPLET,D.AREA,D.ARTICLE,D.ASIDE,D.BASE,D.BASEFONT,D.BGSOUND,D.BLOCKQUOTE,D.BODY,D.BR,D.BUTTON,D.CAPTION,D.CENTER,D.COL,D.COLGROUP,D.DD,D.DETAILS,D.DIR,D.DIV,D.DL,D.DT,D.EMBED,D.FIELDSET,D.FIGCAPTION,D.FIGURE,D.FOOTER,D.FORM,D.FRAME,D.FRAMESET,D.H1,D.H2,D.H3,D.H4,D.H5,D.H6,D.HEAD,D.HEADER,D.HGROUP,D.HR,D.HTML,D.IFRAME,D.IMG,D.INPUT,D.LI,D.LINK,D.LISTING,D.MAIN,D.MARQUEE,D.MENU,D.META,D.NAV,D.NOEMBED,D.NOFRAMES,D.NOSCRIPT,D.OBJECT,D.OL,D.P,D.PARAM,D.PLAINTEXT,D.PRE,D.SCRIPT,D.SECTION,D.SELECT,D.SOURCE,D.STYLE,D.SUMMARY,D.TABLE,D.TBODY,D.TD,D.TEMPLATE,D.TEXTAREA,D.TFOOT,D.TH,D.THEAD,D.TITLE,D.TR,D.TRACK,D.UL,D.WBR,D.XMP]),[O.MATHML]:new Set([D.MI,D.MO,D.MN,D.MS,D.MTEXT,D.ANNOTATION_XML]),[O.SVG]:new Set([D.TITLE,D.FOREIGN_OBJECT,D.DESC]),[O.XLINK]:new Set,[O.XML]:new Set,[O.XMLNS]:new Set},ai=new Set([D.H1,D.H2,D.H3,D.H4,D.H5,D.H6]);I.STYLE,I.SCRIPT,I.XMP,I.IFRAME,I.NOEMBED,I.NOFRAMES,I.PLAINTEXT;var _;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(_||(_={}));const ke={DATA:_.DATA,RCDATA:_.RCDATA,RAWTEXT:_.RAWTEXT,SCRIPT_DATA:_.SCRIPT_DATA,PLAINTEXT:_.PLAINTEXT,CDATA_SECTION:_.CDATA_SECTION};function Hb(e){return e>=E.DIGIT_0&&e<=E.DIGIT_9}function Yn(e){return e>=E.LATIN_CAPITAL_A&&e<=E.LATIN_CAPITAL_Z}function Ub(e){return e>=E.LATIN_SMALL_A&&e<=E.LATIN_SMALL_Z}function $t(e){return Ub(e)||Yn(e)}function Wa(e){return $t(e)||Hb(e)}function Pr(e){return e+32}function Cu(e){return e===E.SPACE||e===E.LINE_FEED||e===E.TABULATION||e===E.FORM_FEED}function qa(e){return Cu(e)||e===E.SOLIDUS||e===E.GREATER_THAN_SIGN}function $b(e){return e===E.NULL?L.nullCharacterReference:e>1114111?L.characterReferenceOutsideUnicodeRange:Eu(e)?L.surrogateCharacterReference:_u(e)?L.noncharacterCharacterReference:bu(e)||e===E.CARRIAGE_RETURN?L.controlCharacterReference:null}class zb{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=_.DATA,this.returnState=_.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Nb(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Db(Ib,(r,i)=>{this.preprocessor.pos=this.entityStartPos+i-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(L.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(L.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const i=$b(r);i&&this._err(i,1)}}:void 0)}_err(t,n=0){var r,i;(i=(r=this.handler).onParseError)===null||i===void 0||i.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:le.START_TAG,tagName:"",tagID:l.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:le.END_TAG,tagName:"",tagID:l.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:le.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:le.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(Tu(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const i=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);i[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(L.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=wn(t.tagName),t.type===le.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(L.endTagWithAttributes),t.selfClosing&&this._err(L.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case le.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case le.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case le.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:le.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=Cu(t)?le.WHITESPACE_CHARACTER:t===E.NULL?le.NULL_CHARACTER:le.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(le.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=_.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Lt.Attribute:Lt.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===_.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===_.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===_.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case _.DATA:{this._stateData(t);break}case _.RCDATA:{this._stateRcdata(t);break}case _.RAWTEXT:{this._stateRawtext(t);break}case _.SCRIPT_DATA:{this._stateScriptData(t);break}case _.PLAINTEXT:{this._statePlaintext(t);break}case _.TAG_OPEN:{this._stateTagOpen(t);break}case _.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case _.TAG_NAME:{this._stateTagName(t);break}case _.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case _.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case _.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case _.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case _.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case _.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case _.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case _.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case _.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case _.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case _.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case _.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case _.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case _.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case _.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case _.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case _.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case _.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case _.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case _.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case _.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case _.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case _.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case _.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case _.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case _.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case _.BOGUS_COMMENT:{this._stateBogusComment(t);break}case _.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case _.COMMENT_START:{this._stateCommentStart(t);break}case _.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case _.COMMENT:{this._stateComment(t);break}case _.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case _.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case _.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case _.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case _.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case _.COMMENT_END:{this._stateCommentEnd(t);break}case _.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case _.DOCTYPE:{this._stateDoctype(t);break}case _.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case _.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case _.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case _.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case _.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case _.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case _.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case _.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case _.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case _.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case _.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case _.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case _.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case _.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case _.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case _.CDATA_SECTION:{this._stateCdataSection(t);break}case _.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case _.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case _.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case _.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case E.LESS_THAN_SIGN:{this.state=_.TAG_OPEN;break}case E.AMPERSAND:{this._startCharacterReference();break}case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitCodePoint(t);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case E.AMPERSAND:{this._startCharacterReference();break}case E.LESS_THAN_SIGN:{this.state=_.RCDATA_LESS_THAN_SIGN;break}case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(Se);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case E.LESS_THAN_SIGN:{this.state=_.RAWTEXT_LESS_THAN_SIGN;break}case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(Se);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case E.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_LESS_THAN_SIGN;break}case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(Se);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(Se);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if($t(t))this._createStartTagToken(),this.state=_.TAG_NAME,this._stateTagName(t);else switch(t){case E.EXCLAMATION_MARK:{this.state=_.MARKUP_DECLARATION_OPEN;break}case E.SOLIDUS:{this.state=_.END_TAG_OPEN;break}case E.QUESTION_MARK:{this._err(L.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=_.BOGUS_COMMENT,this._stateBogusComment(t);break}case E.EOF:{this._err(L.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(L.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=_.DATA,this._stateData(t)}}_stateEndTagOpen(t){if($t(t))this._createEndTagToken(),this.state=_.TAG_NAME,this._stateTagName(t);else switch(t){case E.GREATER_THAN_SIGN:{this._err(L.missingEndTagName),this.state=_.DATA;break}case E.EOF:{this._err(L.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(L.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=_.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=_.BEFORE_ATTRIBUTE_NAME;break}case E.SOLIDUS:{this.state=_.SELF_CLOSING_START_TAG;break}case E.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentTagToken();break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.tagName+=Se;break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Yn(t)?Pr(t):t)}}_stateRcdataLessThanSign(t){t===E.SOLIDUS?this.state=_.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=_.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){$t(t)?(this.state=_.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=_.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=_.BEFORE_ATTRIBUTE_NAME,!1;case E.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=_.SELF_CLOSING_START_TAG,!1;case E.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=_.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===E.SOLIDUS?this.state=_.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=_.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){$t(t)?(this.state=_.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=_.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case E.SOLIDUS:{this.state=_.SCRIPT_DATA_END_TAG_OPEN;break}case E.EXCLAMATION_MARK:{this.state=_.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=_.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){$t(t)?(this.state=_.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===E.HYPHEN_MINUS?(this.state=_.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===E.HYPHEN_MINUS?(this.state=_.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case E.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(Se);break}case E.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case E.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_ESCAPED,this._emitChars(Se);break}case E.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case E.HYPHEN_MINUS:{this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case E.GREATER_THAN_SIGN:{this.state=_.SCRIPT_DATA,this._emitChars(">");break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_ESCAPED,this._emitChars(Se);break}case E.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===E.SOLIDUS?this.state=_.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:$t(t)?(this._emitChars("<"),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){$t(t)?(this.state=_.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(qe.SCRIPT,!1)&&qa(this.preprocessor.peek(qe.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<qe.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case E.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(Se);break}case E.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case E.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Se);break}case E.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case E.HYPHEN_MINUS:{this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case E.GREATER_THAN_SIGN:{this.state=_.SCRIPT_DATA,this._emitChars(">");break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Se);break}case E.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===E.SOLIDUS?(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(qe.SCRIPT,!1)&&qa(this.preprocessor.peek(qe.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<qe.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=_.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.SOLIDUS:case E.GREATER_THAN_SIGN:case E.EOF:{this.state=_.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case E.EQUALS_SIGN:{this._err(L.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=_.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=_.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:case E.SOLIDUS:case E.GREATER_THAN_SIGN:case E.EOF:{this._leaveAttrName(),this.state=_.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case E.EQUALS_SIGN:{this._leaveAttrName(),this.state=_.BEFORE_ATTRIBUTE_VALUE;break}case E.QUOTATION_MARK:case E.APOSTROPHE:case E.LESS_THAN_SIGN:{this._err(L.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.name+=Se;break}default:this.currentAttr.name+=String.fromCodePoint(Yn(t)?Pr(t):t)}}_stateAfterAttributeName(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.SOLIDUS:{this.state=_.SELF_CLOSING_START_TAG;break}case E.EQUALS_SIGN:{this.state=_.BEFORE_ATTRIBUTE_VALUE;break}case E.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentTagToken();break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=_.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.QUOTATION_MARK:{this.state=_.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this.state=_.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(L.missingAttributeValue),this.state=_.DATA,this.emitCurrentTagToken();break}default:this.state=_.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case E.QUOTATION_MARK:{this.state=_.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case E.AMPERSAND:{this._startCharacterReference();break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.value+=Se;break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case E.APOSTROPHE:{this.state=_.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case E.AMPERSAND:{this._startCharacterReference();break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.value+=Se;break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this._leaveAttrValue(),this.state=_.BEFORE_ATTRIBUTE_NAME;break}case E.AMPERSAND:{this._startCharacterReference();break}case E.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=_.DATA,this.emitCurrentTagToken();break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.value+=Se;break}case E.QUOTATION_MARK:case E.APOSTROPHE:case E.LESS_THAN_SIGN:case E.EQUALS_SIGN:case E.GRAVE_ACCENT:{this._err(L.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this._leaveAttrValue(),this.state=_.BEFORE_ATTRIBUTE_NAME;break}case E.SOLIDUS:{this._leaveAttrValue(),this.state=_.SELF_CLOSING_START_TAG;break}case E.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=_.DATA,this.emitCurrentTagToken();break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this._err(L.missingWhitespaceBetweenAttributes),this.state=_.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case E.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=_.DATA,this.emitCurrentTagToken();break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this._err(L.unexpectedSolidusInTag),this.state=_.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case E.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentComment(n);break}case E.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.data+=Se;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(qe.DASH_DASH,!0)?(this._createCommentToken(qe.DASH_DASH.length+1),this.state=_.COMMENT_START):this._consumeSequenceIfMatch(qe.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(qe.DOCTYPE.length+1),this.state=_.DOCTYPE):this._consumeSequenceIfMatch(qe.CDATA_START,!0)?this.inForeignNode?this.state=_.CDATA_SECTION:(this._err(L.cdataInHtmlContent),this._createCommentToken(qe.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=_.BOGUS_COMMENT):this._ensureHibernation()||(this._err(L.incorrectlyOpenedComment),this._createCommentToken(2),this.state=_.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case E.HYPHEN_MINUS:{this.state=_.COMMENT_START_DASH;break}case E.GREATER_THAN_SIGN:{this._err(L.abruptClosingOfEmptyComment),this.state=_.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=_.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{this.state=_.COMMENT_END;break}case E.GREATER_THAN_SIGN:{this._err(L.abruptClosingOfEmptyComment),this.state=_.DATA,this.emitCurrentComment(n);break}case E.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=_.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{this.state=_.COMMENT_END_DASH;break}case E.LESS_THAN_SIGN:{n.data+="<",this.state=_.COMMENT_LESS_THAN_SIGN;break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.data+=Se;break}case E.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case E.EXCLAMATION_MARK:{n.data+="!",this.state=_.COMMENT_LESS_THAN_SIGN_BANG;break}case E.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=_.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===E.HYPHEN_MINUS?this.state=_.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=_.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===E.HYPHEN_MINUS?this.state=_.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=_.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==E.GREATER_THAN_SIGN&&t!==E.EOF&&this._err(L.nestedComment),this.state=_.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{this.state=_.COMMENT_END;break}case E.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=_.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case E.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentComment(n);break}case E.EXCLAMATION_MARK:{this.state=_.COMMENT_END_BANG;break}case E.HYPHEN_MINUS:{n.data+="-";break}case E.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=_.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{n.data+="--!",this.state=_.COMMENT_END_DASH;break}case E.GREATER_THAN_SIGN:{this._err(L.incorrectlyClosedComment),this.state=_.DATA,this.emitCurrentComment(n);break}case E.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=_.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=_.BEFORE_DOCTYPE_NAME;break}case E.GREATER_THAN_SIGN:{this.state=_.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case E.EOF:{this._err(L.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingWhitespaceBeforeDoctypeName),this.state=_.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Yn(t))this._createDoctypeToken(String.fromCharCode(Pr(t))),this.state=_.DOCTYPE_NAME;else switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.NULL:{this._err(L.unexpectedNullCharacter),this._createDoctypeToken(Se),this.state=_.DOCTYPE_NAME;break}case E.GREATER_THAN_SIGN:{this._err(L.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=_.DATA;break}case E.EOF:{this._err(L.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=_.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=_.AFTER_DOCTYPE_NAME;break}case E.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentDoctype(n);break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.name+=Se;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Yn(t)?Pr(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(qe.PUBLIC,!1)?this.state=_.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(qe.SYSTEM,!1)?this.state=_.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(L.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=_.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case E.QUOTATION_MARK:{this._err(L.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this._err(L.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(L.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.QUOTATION_MARK:{n.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{n.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(L.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case E.QUOTATION_MARK:{this.state=_.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.publicId+=Se;break}case E.GREATER_THAN_SIGN:{this._err(L.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=_.DATA;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case E.APOSTROPHE:{this.state=_.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.publicId+=Se;break}case E.GREATER_THAN_SIGN:{this._err(L.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=_.DATA;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=_.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case E.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentDoctype(n);break}case E.QUOTATION_MARK:{this._err(L.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this._err(L.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=_.DATA;break}case E.QUOTATION_MARK:{n.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{n.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=_.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case E.QUOTATION_MARK:{this._err(L.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this._err(L.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(L.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.QUOTATION_MARK:{n.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{n.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(L.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case E.QUOTATION_MARK:{this.state=_.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.systemId+=Se;break}case E.GREATER_THAN_SIGN:{this._err(L.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=_.DATA;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case E.APOSTROPHE:{this.state=_.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.systemId+=Se;break}case E.GREATER_THAN_SIGN:{this._err(L.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=_.DATA;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=_.DATA;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case E.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=_.DATA;break}case E.NULL:{this._err(L.unexpectedNullCharacter);break}case E.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case E.RIGHT_SQUARE_BRACKET:{this.state=_.CDATA_SECTION_BRACKET;break}case E.EOF:{this._err(L.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===E.RIGHT_SQUARE_BRACKET?this.state=_.CDATA_SECTION_END:(this._emitChars("]"),this.state=_.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case E.GREATER_THAN_SIGN:{this.state=_.DATA;break}case E.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=_.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(E.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Wa(this.preprocessor.peek(1))?_.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Wa(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===E.SEMICOLON&&this._err(L.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Su=new Set([l.DD,l.DT,l.LI,l.OPTGROUP,l.OPTION,l.P,l.RB,l.RP,l.RT,l.RTC]),Va=new Set([...Su,l.CAPTION,l.COLGROUP,l.TBODY,l.TD,l.TFOOT,l.TH,l.THEAD,l.TR]),Yr=new Set([l.APPLET,l.CAPTION,l.HTML,l.MARQUEE,l.OBJECT,l.TABLE,l.TD,l.TEMPLATE,l.TH]),Wb=new Set([...Yr,l.OL,l.UL]),qb=new Set([...Yr,l.BUTTON]),Ya=new Set([l.ANNOTATION_XML,l.MI,l.MN,l.MO,l.MS,l.MTEXT]),Ga=new Set([l.DESC,l.FOREIGN_OBJECT,l.TITLE]),Vb=new Set([l.TR,l.TEMPLATE,l.HTML]),Yb=new Set([l.TBODY,l.TFOOT,l.THEAD,l.TEMPLATE,l.HTML]),Gb=new Set([l.TABLE,l.TEMPLATE,l.HTML]),Xb=new Set([l.TD,l.TH]);class Qb{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=l.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===l.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===O.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const i=this._indexOf(t)+1;this.items.splice(i,0,n),this.tagIDs.splice(i,0,r),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==O.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(ai,O.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Xb,O.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(Gb,O.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Yb,O.HTML)}clearBackToTableRowContext(){this.clearBackTo(Vb,O.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===l.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===l.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const i=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case O.HTML:{if(i===t)return!0;if(n.has(i))return!1;break}case O.SVG:{if(Ga.has(i))return!1;break}case O.MATHML:{if(Ya.has(i))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Yr)}hasInListItemScope(t){return this.hasInDynamicScope(t,Wb)}hasInButtonScope(t){return this.hasInDynamicScope(t,qb)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case O.HTML:{if(ai.has(n))return!0;if(Yr.has(n))return!1;break}case O.SVG:{if(Ga.has(n))return!1;break}case O.MATHML:{if(Ya.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===O.HTML)switch(this.tagIDs[n]){case t:return!0;case l.TABLE:case l.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===O.HTML)switch(this.tagIDs[t]){case l.TBODY:case l.THEAD:case l.TFOOT:return!0;case l.TABLE:case l.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===O.HTML)switch(this.tagIDs[n]){case t:return!0;case l.OPTION:case l.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Su.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Va.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&Va.has(this.currentTagId);)this.pop()}}const Ms=3;var Tt;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Tt||(Tt={}));const Xa={type:Tt.Marker};class Kb{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],i=n.length,a=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let u=0;u<this.entries.length;u++){const c=this.entries[u];if(c.type===Tt.Marker)break;const{element:d}=c;if(this.treeAdapter.getTagName(d)===a&&this.treeAdapter.getNamespaceURI(d)===o){const m=this.treeAdapter.getAttrList(d);m.length===i&&r.push({idx:u,attrs:m})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Ms)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Ms)return;const i=new Map(n.map(o=>[o.name,o.value]));let a=0;for(let o=0;o<r.length;o++){const u=r[o];u.attrs.every(c=>i.get(c.name)===c.value)&&(a+=1,a>=Ms&&this.entries.splice(u.idx,1))}}insertMarker(){this.entries.unshift(Xa)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Tt.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Tt.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(Xa);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Tt.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Tt.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Tt.Element&&n.element===t)}}const zt={createDocument(){return{nodeName:"#document",mode:nt.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const i=e.childNodes.find(a=>a.nodeName==="#documentType");if(i)i.name=t,i.publicId=n,i.systemId=r;else{const a={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};zt.appendChild(e,a)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(zt.isTextNode(n)){n.value+=t;return}}zt.appendChild(e,zt.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&zt.isTextNode(r)?r.value+=t:zt.insertBefore(e,zt.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},yu="html",Zb="about:legacy-compat",Jb="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Ru=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],e_=[...Ru,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],t_=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),ku=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],n_=[...ku,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Qa(e,t){return t.some(n=>e.startsWith(n))}function r_(e){return e.name===yu&&e.publicId===null&&(e.systemId===null||e.systemId===Zb)}function s_(e){if(e.name!==yu)return nt.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===Jb)return nt.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),t_.has(n))return nt.QUIRKS;let r=t===null?e_:Ru;if(Qa(n,r))return nt.QUIRKS;if(r=t===null?ku:n_,Qa(n,r))return nt.LIMITED_QUIRKS}return nt.NO_QUIRKS}const Ka={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},i_="definitionurl",a_="definitionURL",o_=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),u_=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:O.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:O.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:O.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:O.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:O.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:O.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:O.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:O.XML}],["xml:space",{prefix:"xml",name:"space",namespace:O.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:O.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:O.XMLNS}]]),l_=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),c_=new Set([l.B,l.BIG,l.BLOCKQUOTE,l.BODY,l.BR,l.CENTER,l.CODE,l.DD,l.DIV,l.DL,l.DT,l.EM,l.EMBED,l.H1,l.H2,l.H3,l.H4,l.H5,l.H6,l.HEAD,l.HR,l.I,l.IMG,l.LI,l.LISTING,l.MENU,l.META,l.NOBR,l.OL,l.P,l.PRE,l.RUBY,l.S,l.SMALL,l.SPAN,l.STRONG,l.STRIKE,l.SUB,l.SUP,l.TABLE,l.TT,l.U,l.UL,l.VAR]);function d_(e){const t=e.tagID;return t===l.FONT&&e.attrs.some(({name:r})=>r===sn.COLOR||r===sn.SIZE||r===sn.FACE)||c_.has(t)}function Au(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===i_){e.attrs[t].name=a_;break}}function Nu(e){for(let t=0;t<e.attrs.length;t++){const n=o_.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Ai(e){for(let t=0;t<e.attrs.length;t++){const n=u_.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function h_(e){const t=l_.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=wn(e.tagName))}function m_(e,t){return t===O.MATHML&&(e===l.MI||e===l.MO||e===l.MN||e===l.MS||e===l.MTEXT)}function p_(e,t,n){if(t===O.MATHML&&e===l.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===sn.ENCODING){const i=n[r].value.toLowerCase();return i===Ka.TEXT_HTML||i===Ka.APPLICATION_XML}}return t===O.SVG&&(e===l.FOREIGN_OBJECT||e===l.DESC||e===l.TITLE)}function f_(e,t,n,r){return(!r||r===O.HTML)&&p_(e,t,n)||(!r||r===O.MATHML)&&m_(e,t)}const x_="hidden",g_=8,E_=3;var T;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(T||(T={}));const b_={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Iu=new Set([l.TABLE,l.TBODY,l.TFOOT,l.THEAD,l.TR]),Za={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:zt,onParseError:null};class Ja{constructor(t,n,r=null,i=null){this.fragmentContext=r,this.scriptHandler=i,this.currentToken=null,this.stopped=!1,this.insertionMode=T.INITIAL,this.originalInsertionMode=T.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Za,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new zb(this.options,this),this.activeFormattingElements=new Kb(this.treeAdapter),this.fragmentContextID=r?wn(this.treeAdapter.getTagName(r)):l.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new Qb(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...Za,...n};t??(t=r.treeAdapter.createElement(I.TEMPLATE,O.HTML,[]));const i=r.treeAdapter.createElement("documentmock",O.HTML,[]),a=new this(r,i,t);return a.fragmentContextID===l.TEMPLATE&&a.tmplInsertionModeStack.unshift(T.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var i;if(!this.onParseError)return;const a=(i=t.location)!==null&&i!==void 0?i:b_,o={code:n,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:r?a.startLine:a.endLine,endCol:r?a.startCol:a.endCol,endOffset:r?a.startOffset:a.endOffset};this.onParseError(o)}onItemPush(t,n,r){var i,a;(a=(i=this.treeAdapter).onItemPush)===null||a===void 0||a.call(i,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(r=this.treeAdapter).onItemPop)===null||i===void 0||i.call(r,t,this.openElements.current),n){let a,o;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,o=this.fragmentContextID):{current:a,currentTagId:o}=this.openElements,this._setContextModes(a,o)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===O.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,O.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=T.TEXT}switchToPlaintextParsing(){this.insertionMode=T.TEXT,this.originalInsertionMode=T.IN_BODY,this.tokenizer.state=ke.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===I.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==O.HTML))switch(this.fragmentContextID){case l.TITLE:case l.TEXTAREA:{this.tokenizer.state=ke.RCDATA;break}case l.STYLE:case l.XMP:case l.IFRAME:case l.NOEMBED:case l.NOFRAMES:case l.NOSCRIPT:{this.tokenizer.state=ke.RAWTEXT;break}case l.SCRIPT:{this.tokenizer.state=ke.SCRIPT_DATA;break}case l.PLAINTEXT:{this.tokenizer.state=ke.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,i),t.location){const o=this.treeAdapter.getChildNodes(this.document).find(u=>this.treeAdapter.isDocumentTypeNode(u));o&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,O.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,O.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(I.HTML,O.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,l.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const i=this.treeAdapter.getChildNodes(n),a=r?i.lastIndexOf(r):i.length,o=i[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:c,endCol:d,endOffset:m}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:c,endCol:d,endOffset:m})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,i=this.treeAdapter.getTagName(t),a=n.type===le.END_TAG&&i===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,a)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===l.SVG&&this.treeAdapter.getTagName(n)===I.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===O.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===l.MGLYPH||t.tagID===l.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,O.HTML)}_processToken(t){switch(t.type){case le.CHARACTER:{this.onCharacter(t);break}case le.NULL_CHARACTER:{this.onNullCharacter(t);break}case le.COMMENT:{this.onComment(t);break}case le.DOCTYPE:{this.onDoctype(t);break}case le.START_TAG:{this._processStartTag(t);break}case le.END_TAG:{this.onEndTag(t);break}case le.EOF:{this.onEof(t);break}case le.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const i=this.treeAdapter.getNamespaceURI(n),a=this.treeAdapter.getAttrList(n);return f_(t,i,a,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(i=>i.type===Tt.Marker||this.openElements.contains(i.element)),r=n===-1?t-1:n-1;for(let i=r;i>=0;i--){const a=this.activeFormattingElements.entries[i];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=T.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(l.P),this.openElements.popUntilTagNamePopped(l.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case l.TR:{this.insertionMode=T.IN_ROW;return}case l.TBODY:case l.THEAD:case l.TFOOT:{this.insertionMode=T.IN_TABLE_BODY;return}case l.CAPTION:{this.insertionMode=T.IN_CAPTION;return}case l.COLGROUP:{this.insertionMode=T.IN_COLUMN_GROUP;return}case l.TABLE:{this.insertionMode=T.IN_TABLE;return}case l.BODY:{this.insertionMode=T.IN_BODY;return}case l.FRAMESET:{this.insertionMode=T.IN_FRAMESET;return}case l.SELECT:{this._resetInsertionModeForSelect(t);return}case l.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case l.HTML:{this.insertionMode=this.headElement?T.AFTER_HEAD:T.BEFORE_HEAD;return}case l.TD:case l.TH:{if(t>0){this.insertionMode=T.IN_CELL;return}break}case l.HEAD:{if(t>0){this.insertionMode=T.IN_HEAD;return}break}}this.insertionMode=T.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===l.TEMPLATE)break;if(r===l.TABLE){this.insertionMode=T.IN_SELECT_IN_TABLE;return}}this.insertionMode=T.IN_SELECT}_isElementCausesFosterParenting(t){return Iu.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case l.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===O.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case l.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return Fb[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){XT(this,t);return}switch(this.insertionMode){case T.INITIAL:{zn(this,t);break}case T.BEFORE_HTML:{Kn(this,t);break}case T.BEFORE_HEAD:{Zn(this,t);break}case T.IN_HEAD:{Jn(this,t);break}case T.IN_HEAD_NO_SCRIPT:{er(this,t);break}case T.AFTER_HEAD:{tr(this,t);break}case T.IN_BODY:case T.IN_CAPTION:case T.IN_CELL:case T.IN_TEMPLATE:{ju(this,t);break}case T.TEXT:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{Bs(this,t);break}case T.IN_TABLE_TEXT:{Mu(this,t);break}case T.IN_COLUMN_GROUP:{Gr(this,t);break}case T.AFTER_BODY:{Xr(this,t);break}case T.AFTER_AFTER_BODY:{$r(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){GT(this,t);return}switch(this.insertionMode){case T.INITIAL:{zn(this,t);break}case T.BEFORE_HTML:{Kn(this,t);break}case T.BEFORE_HEAD:{Zn(this,t);break}case T.IN_HEAD:{Jn(this,t);break}case T.IN_HEAD_NO_SCRIPT:{er(this,t);break}case T.AFTER_HEAD:{tr(this,t);break}case T.TEXT:{this._insertCharacters(t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{Bs(this,t);break}case T.IN_COLUMN_GROUP:{Gr(this,t);break}case T.AFTER_BODY:{Xr(this,t);break}case T.AFTER_AFTER_BODY:{$r(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){oi(this,t);return}switch(this.insertionMode){case T.INITIAL:case T.BEFORE_HTML:case T.BEFORE_HEAD:case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:case T.IN_BODY:case T.IN_TABLE:case T.IN_CAPTION:case T.IN_COLUMN_GROUP:case T.IN_TABLE_BODY:case T.IN_ROW:case T.IN_CELL:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:case T.IN_TEMPLATE:case T.IN_FRAMESET:case T.AFTER_FRAMESET:{oi(this,t);break}case T.IN_TABLE_TEXT:{Wn(this,t);break}case T.AFTER_BODY:{k_(this,t);break}case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{A_(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case T.INITIAL:{N_(this,t);break}case T.BEFORE_HEAD:case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:{this._err(t,L.misplacedDoctype);break}case T.IN_TABLE_TEXT:{Wn(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,L.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?QT(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case T.INITIAL:{zn(this,t);break}case T.BEFORE_HTML:{I_(this,t);break}case T.BEFORE_HEAD:{j_(this,t);break}case T.IN_HEAD:{ft(this,t);break}case T.IN_HEAD_NO_SCRIPT:{P_(this,t);break}case T.AFTER_HEAD:{D_(this,t);break}case T.IN_BODY:{He(this,t);break}case T.IN_TABLE:{yn(this,t);break}case T.IN_TABLE_TEXT:{Wn(this,t);break}case T.IN_CAPTION:{LT(this,t);break}case T.IN_COLUMN_GROUP:{wi(this,t);break}case T.IN_TABLE_BODY:{os(this,t);break}case T.IN_ROW:{us(this,t);break}case T.IN_CELL:{OT(this,t);break}case T.IN_SELECT:{Hu(this,t);break}case T.IN_SELECT_IN_TABLE:{MT(this,t);break}case T.IN_TEMPLATE:{FT(this,t);break}case T.AFTER_BODY:{UT(this,t);break}case T.IN_FRAMESET:{$T(this,t);break}case T.AFTER_FRAMESET:{WT(this,t);break}case T.AFTER_AFTER_BODY:{VT(this,t);break}case T.AFTER_AFTER_FRAMESET:{YT(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?KT(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case T.INITIAL:{zn(this,t);break}case T.BEFORE_HTML:{w_(this,t);break}case T.BEFORE_HEAD:{L_(this,t);break}case T.IN_HEAD:{v_(this,t);break}case T.IN_HEAD_NO_SCRIPT:{O_(this,t);break}case T.AFTER_HEAD:{M_(this,t);break}case T.IN_BODY:{as(this,t);break}case T.TEXT:{CT(this,t);break}case T.IN_TABLE:{ir(this,t);break}case T.IN_TABLE_TEXT:{Wn(this,t);break}case T.IN_CAPTION:{vT(this,t);break}case T.IN_COLUMN_GROUP:{PT(this,t);break}case T.IN_TABLE_BODY:{ui(this,t);break}case T.IN_ROW:{Fu(this,t);break}case T.IN_CELL:{DT(this,t);break}case T.IN_SELECT:{Uu(this,t);break}case T.IN_SELECT_IN_TABLE:{BT(this,t);break}case T.IN_TEMPLATE:{HT(this,t);break}case T.AFTER_BODY:{zu(this,t);break}case T.IN_FRAMESET:{zT(this,t);break}case T.AFTER_FRAMESET:{qT(this,t);break}case T.AFTER_AFTER_BODY:{$r(this,t);break}}}onEof(t){switch(this.insertionMode){case T.INITIAL:{zn(this,t);break}case T.BEFORE_HTML:{Kn(this,t);break}case T.BEFORE_HEAD:{Zn(this,t);break}case T.IN_HEAD:{Jn(this,t);break}case T.IN_HEAD_NO_SCRIPT:{er(this,t);break}case T.AFTER_HEAD:{tr(this,t);break}case T.IN_BODY:case T.IN_TABLE:case T.IN_CAPTION:case T.IN_COLUMN_GROUP:case T.IN_TABLE_BODY:case T.IN_ROW:case T.IN_CELL:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:{Ou(this,t);break}case T.TEXT:{ST(this,t);break}case T.IN_TABLE_TEXT:{Wn(this,t);break}case T.IN_TEMPLATE:{$u(this,t);break}case T.AFTER_BODY:case T.IN_FRAMESET:case T.AFTER_FRAMESET:case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{Ii(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===E.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:case T.TEXT:case T.IN_COLUMN_GROUP:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:case T.IN_FRAMESET:case T.AFTER_FRAMESET:{this._insertCharacters(t);break}case T.IN_BODY:case T.IN_CAPTION:case T.IN_CELL:case T.IN_TEMPLATE:case T.AFTER_BODY:case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{wu(this,t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{Bs(this,t);break}case T.IN_TABLE_TEXT:{Du(this,t);break}}}}function __(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Pu(e,t),n}function T_(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function C_(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==n;a++,o=i){i=e.openElements.getCommonAncestor(o);const u=e.activeFormattingElements.getElementEntry(o),c=u&&a>=E_;!u||c?(c&&e.activeFormattingElements.removeEntry(u),e.openElements.remove(o)):(o=S_(e,u),r===t&&(e.activeFormattingElements.bookmark=u),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function S_(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function y_(e,t,n){const r=e.treeAdapter.getTagName(t),i=wn(r);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{const a=e.treeAdapter.getNamespaceURI(t);i===l.TEMPLATE&&a===O.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function R_(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}function Ni(e,t){for(let n=0;n<g_;n++){const r=__(e,t);if(!r)break;const i=T_(e,r);if(!i)break;e.activeFormattingElements.bookmark=r;const a=C_(e,i,r.element),o=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(a),o&&y_(e,o,a),R_(e,i,r)}}function oi(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function k_(e,t){e._appendCommentNode(t,e.openElements.items[0])}function A_(e,t){e._appendCommentNode(t,e.document)}function Ii(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(r);if(i&&!i.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const a=e.openElements.items[1],o=e.treeAdapter.getNodeSourceCodeLocation(a);o&&!o.endTag&&e._setEndLocation(a,t)}}}}function N_(e,t){e._setDocumentType(t);const n=t.forceQuirks?nt.QUIRKS:s_(t);r_(t)||e._err(t,L.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=T.BEFORE_HTML}function zn(e,t){e._err(t,L.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,nt.QUIRKS),e.insertionMode=T.BEFORE_HTML,e._processToken(t)}function I_(e,t){t.tagID===l.HTML?(e._insertElement(t,O.HTML),e.insertionMode=T.BEFORE_HEAD):Kn(e,t)}function w_(e,t){const n=t.tagID;(n===l.HTML||n===l.HEAD||n===l.BODY||n===l.BR)&&Kn(e,t)}function Kn(e,t){e._insertFakeRootElement(),e.insertionMode=T.BEFORE_HEAD,e._processToken(t)}function j_(e,t){switch(t.tagID){case l.HTML:{He(e,t);break}case l.HEAD:{e._insertElement(t,O.HTML),e.headElement=e.openElements.current,e.insertionMode=T.IN_HEAD;break}default:Zn(e,t)}}function L_(e,t){const n=t.tagID;n===l.HEAD||n===l.BODY||n===l.HTML||n===l.BR?Zn(e,t):e._err(t,L.endTagWithoutMatchingOpenElement)}function Zn(e,t){e._insertFakeElement(I.HEAD,l.HEAD),e.headElement=e.openElements.current,e.insertionMode=T.IN_HEAD,e._processToken(t)}function ft(e,t){switch(t.tagID){case l.HTML:{He(e,t);break}case l.BASE:case l.BASEFONT:case l.BGSOUND:case l.LINK:case l.META:{e._appendElement(t,O.HTML),t.ackSelfClosing=!0;break}case l.TITLE:{e._switchToTextParsing(t,ke.RCDATA);break}case l.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,ke.RAWTEXT):(e._insertElement(t,O.HTML),e.insertionMode=T.IN_HEAD_NO_SCRIPT);break}case l.NOFRAMES:case l.STYLE:{e._switchToTextParsing(t,ke.RAWTEXT);break}case l.SCRIPT:{e._switchToTextParsing(t,ke.SCRIPT_DATA);break}case l.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=T.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(T.IN_TEMPLATE);break}case l.HEAD:{e._err(t,L.misplacedStartTagForHeadElement);break}default:Jn(e,t)}}function v_(e,t){switch(t.tagID){case l.HEAD:{e.openElements.pop(),e.insertionMode=T.AFTER_HEAD;break}case l.BODY:case l.BR:case l.HTML:{Jn(e,t);break}case l.TEMPLATE:{ln(e,t);break}default:e._err(t,L.endTagWithoutMatchingOpenElement)}}function ln(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==l.TEMPLATE&&e._err(t,L.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(l.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,L.endTagWithoutMatchingOpenElement)}function Jn(e,t){e.openElements.pop(),e.insertionMode=T.AFTER_HEAD,e._processToken(t)}function P_(e,t){switch(t.tagID){case l.HTML:{He(e,t);break}case l.BASEFONT:case l.BGSOUND:case l.HEAD:case l.LINK:case l.META:case l.NOFRAMES:case l.STYLE:{ft(e,t);break}case l.NOSCRIPT:{e._err(t,L.nestedNoscriptInHead);break}default:er(e,t)}}function O_(e,t){switch(t.tagID){case l.NOSCRIPT:{e.openElements.pop(),e.insertionMode=T.IN_HEAD;break}case l.BR:{er(e,t);break}default:e._err(t,L.endTagWithoutMatchingOpenElement)}}function er(e,t){const n=t.type===le.EOF?L.openElementsLeftAfterEof:L.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=T.IN_HEAD,e._processToken(t)}function D_(e,t){switch(t.tagID){case l.HTML:{He(e,t);break}case l.BODY:{e._insertElement(t,O.HTML),e.framesetOk=!1,e.insertionMode=T.IN_BODY;break}case l.FRAMESET:{e._insertElement(t,O.HTML),e.insertionMode=T.IN_FRAMESET;break}case l.BASE:case l.BASEFONT:case l.BGSOUND:case l.LINK:case l.META:case l.NOFRAMES:case l.SCRIPT:case l.STYLE:case l.TEMPLATE:case l.TITLE:{e._err(t,L.abandonedHeadElementChild),e.openElements.push(e.headElement,l.HEAD),ft(e,t),e.openElements.remove(e.headElement);break}case l.HEAD:{e._err(t,L.misplacedStartTagForHeadElement);break}default:tr(e,t)}}function M_(e,t){switch(t.tagID){case l.BODY:case l.HTML:case l.BR:{tr(e,t);break}case l.TEMPLATE:{ln(e,t);break}default:e._err(t,L.endTagWithoutMatchingOpenElement)}}function tr(e,t){e._insertFakeElement(I.BODY,l.BODY),e.insertionMode=T.IN_BODY,is(e,t)}function is(e,t){switch(t.type){case le.CHARACTER:{ju(e,t);break}case le.WHITESPACE_CHARACTER:{wu(e,t);break}case le.COMMENT:{oi(e,t);break}case le.START_TAG:{He(e,t);break}case le.END_TAG:{as(e,t);break}case le.EOF:{Ou(e,t);break}}}function wu(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ju(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function B_(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function F_(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function H_(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,O.HTML),e.insertionMode=T.IN_FRAMESET)}function U_(e,t){e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._insertElement(t,O.HTML)}function $_(e,t){e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&ai.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,O.HTML)}function z_(e,t){e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._insertElement(t,O.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function W_(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._insertElement(t,O.HTML),n||(e.formElement=e.openElements.current))}function q_(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.tagIDs[r];if(n===l.LI&&i===l.LI||(n===l.DD||n===l.DT)&&(i===l.DD||i===l.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==l.ADDRESS&&i!==l.DIV&&i!==l.P&&e._isSpecialElement(e.openElements.items[r],i))break}e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._insertElement(t,O.HTML)}function V_(e,t){e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._insertElement(t,O.HTML),e.tokenizer.state=ke.PLAINTEXT}function Y_(e,t){e.openElements.hasInScope(l.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(l.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.framesetOk=!1}function G_(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(I.A);n&&(Ni(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function X_(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Q_(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(l.NOBR)&&(Ni(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,O.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function K_(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Z_(e,t){e.treeAdapter.getDocumentMode(e.document)!==nt.QUIRKS&&e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._insertElement(t,O.HTML),e.framesetOk=!1,e.insertionMode=T.IN_TABLE}function Lu(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,O.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function vu(e){const t=Tu(e,sn.TYPE);return t!=null&&t.toLowerCase()===x_}function J_(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,O.HTML),vu(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function eT(e,t){e._appendElement(t,O.HTML),t.ackSelfClosing=!0}function tT(e,t){e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._appendElement(t,O.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function nT(e,t){t.tagName=I.IMG,t.tagID=l.IMG,Lu(e,t)}function rT(e,t){e._insertElement(t,O.HTML),e.skipNextNewLine=!0,e.tokenizer.state=ke.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=T.TEXT}function sT(e,t){e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,ke.RAWTEXT)}function iT(e,t){e.framesetOk=!1,e._switchToTextParsing(t,ke.RAWTEXT)}function eo(e,t){e._switchToTextParsing(t,ke.RAWTEXT)}function aT(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===T.IN_TABLE||e.insertionMode===T.IN_CAPTION||e.insertionMode===T.IN_TABLE_BODY||e.insertionMode===T.IN_ROW||e.insertionMode===T.IN_CELL?T.IN_SELECT_IN_TABLE:T.IN_SELECT}function oT(e,t){e.openElements.currentTagId===l.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML)}function uT(e,t){e.openElements.hasInScope(l.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,O.HTML)}function lT(e,t){e.openElements.hasInScope(l.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(l.RTC),e._insertElement(t,O.HTML)}function cT(e,t){e._reconstructActiveFormattingElements(),Au(t),Ai(t),t.selfClosing?e._appendElement(t,O.MATHML):e._insertElement(t,O.MATHML),t.ackSelfClosing=!0}function dT(e,t){e._reconstructActiveFormattingElements(),Nu(t),Ai(t),t.selfClosing?e._appendElement(t,O.SVG):e._insertElement(t,O.SVG),t.ackSelfClosing=!0}function to(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML)}function He(e,t){switch(t.tagID){case l.I:case l.S:case l.B:case l.U:case l.EM:case l.TT:case l.BIG:case l.CODE:case l.FONT:case l.SMALL:case l.STRIKE:case l.STRONG:{X_(e,t);break}case l.A:{G_(e,t);break}case l.H1:case l.H2:case l.H3:case l.H4:case l.H5:case l.H6:{$_(e,t);break}case l.P:case l.DL:case l.OL:case l.UL:case l.DIV:case l.DIR:case l.NAV:case l.MAIN:case l.MENU:case l.ASIDE:case l.CENTER:case l.FIGURE:case l.FOOTER:case l.HEADER:case l.HGROUP:case l.DIALOG:case l.DETAILS:case l.ADDRESS:case l.ARTICLE:case l.SEARCH:case l.SECTION:case l.SUMMARY:case l.FIELDSET:case l.BLOCKQUOTE:case l.FIGCAPTION:{U_(e,t);break}case l.LI:case l.DD:case l.DT:{q_(e,t);break}case l.BR:case l.IMG:case l.WBR:case l.AREA:case l.EMBED:case l.KEYGEN:{Lu(e,t);break}case l.HR:{tT(e,t);break}case l.RB:case l.RTC:{uT(e,t);break}case l.RT:case l.RP:{lT(e,t);break}case l.PRE:case l.LISTING:{z_(e,t);break}case l.XMP:{sT(e,t);break}case l.SVG:{dT(e,t);break}case l.HTML:{B_(e,t);break}case l.BASE:case l.LINK:case l.META:case l.STYLE:case l.TITLE:case l.SCRIPT:case l.BGSOUND:case l.BASEFONT:case l.TEMPLATE:{ft(e,t);break}case l.BODY:{F_(e,t);break}case l.FORM:{W_(e,t);break}case l.NOBR:{Q_(e,t);break}case l.MATH:{cT(e,t);break}case l.TABLE:{Z_(e,t);break}case l.INPUT:{J_(e,t);break}case l.PARAM:case l.TRACK:case l.SOURCE:{eT(e,t);break}case l.IMAGE:{nT(e,t);break}case l.BUTTON:{Y_(e,t);break}case l.APPLET:case l.OBJECT:case l.MARQUEE:{K_(e,t);break}case l.IFRAME:{iT(e,t);break}case l.SELECT:{aT(e,t);break}case l.OPTION:case l.OPTGROUP:{oT(e,t);break}case l.NOEMBED:case l.NOFRAMES:{eo(e,t);break}case l.FRAMESET:{H_(e,t);break}case l.TEXTAREA:{rT(e,t);break}case l.NOSCRIPT:{e.options.scriptingEnabled?eo(e,t):to(e,t);break}case l.PLAINTEXT:{V_(e,t);break}case l.COL:case l.TH:case l.TD:case l.TR:case l.HEAD:case l.FRAME:case l.TBODY:case l.TFOOT:case l.THEAD:case l.CAPTION:case l.COLGROUP:break;default:to(e,t)}}function hT(e,t){if(e.openElements.hasInScope(l.BODY)&&(e.insertionMode=T.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function mT(e,t){e.openElements.hasInScope(l.BODY)&&(e.insertionMode=T.AFTER_BODY,zu(e,t))}function pT(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function fT(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(l.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(l.FORM):n&&e.openElements.remove(n))}function xT(e){e.openElements.hasInButtonScope(l.P)||e._insertFakeElement(I.P,l.P),e._closePElement()}function gT(e){e.openElements.hasInListItemScope(l.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(l.LI),e.openElements.popUntilTagNamePopped(l.LI))}function ET(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function bT(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function _T(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function TT(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(I.BR,l.BR),e.openElements.pop(),e.framesetOk=!1}function Pu(e,t){const n=t.tagName,r=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const a=e.openElements.items[i],o=e.openElements.tagIDs[i];if(r===o&&(r!==l.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(a,o))break}}function as(e,t){switch(t.tagID){case l.A:case l.B:case l.I:case l.S:case l.U:case l.EM:case l.TT:case l.BIG:case l.CODE:case l.FONT:case l.NOBR:case l.SMALL:case l.STRIKE:case l.STRONG:{Ni(e,t);break}case l.P:{xT(e);break}case l.DL:case l.UL:case l.OL:case l.DIR:case l.DIV:case l.NAV:case l.PRE:case l.MAIN:case l.MENU:case l.ASIDE:case l.BUTTON:case l.CENTER:case l.FIGURE:case l.FOOTER:case l.HEADER:case l.HGROUP:case l.DIALOG:case l.ADDRESS:case l.ARTICLE:case l.DETAILS:case l.SEARCH:case l.SECTION:case l.SUMMARY:case l.LISTING:case l.FIELDSET:case l.BLOCKQUOTE:case l.FIGCAPTION:{pT(e,t);break}case l.LI:{gT(e);break}case l.DD:case l.DT:{ET(e,t);break}case l.H1:case l.H2:case l.H3:case l.H4:case l.H5:case l.H6:{bT(e);break}case l.BR:{TT(e);break}case l.BODY:{hT(e,t);break}case l.HTML:{mT(e,t);break}case l.FORM:{fT(e);break}case l.APPLET:case l.OBJECT:case l.MARQUEE:{_T(e,t);break}case l.TEMPLATE:{ln(e,t);break}default:Pu(e,t)}}function Ou(e,t){e.tmplInsertionModeStack.length>0?$u(e,t):Ii(e,t)}function CT(e,t){var n;t.tagID===l.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function ST(e,t){e._err(t,L.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Bs(e,t){if(e.openElements.currentTagId!==void 0&&Iu.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=T.IN_TABLE_TEXT,t.type){case le.CHARACTER:{Mu(e,t);break}case le.WHITESPACE_CHARACTER:{Du(e,t);break}}else fr(e,t)}function yT(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,O.HTML),e.insertionMode=T.IN_CAPTION}function RT(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,O.HTML),e.insertionMode=T.IN_COLUMN_GROUP}function kT(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(I.COLGROUP,l.COLGROUP),e.insertionMode=T.IN_COLUMN_GROUP,wi(e,t)}function AT(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,O.HTML),e.insertionMode=T.IN_TABLE_BODY}function NT(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(I.TBODY,l.TBODY),e.insertionMode=T.IN_TABLE_BODY,os(e,t)}function IT(e,t){e.openElements.hasInTableScope(l.TABLE)&&(e.openElements.popUntilTagNamePopped(l.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function wT(e,t){vu(t)?e._appendElement(t,O.HTML):fr(e,t),t.ackSelfClosing=!0}function jT(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,O.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function yn(e,t){switch(t.tagID){case l.TD:case l.TH:case l.TR:{NT(e,t);break}case l.STYLE:case l.SCRIPT:case l.TEMPLATE:{ft(e,t);break}case l.COL:{kT(e,t);break}case l.FORM:{jT(e,t);break}case l.TABLE:{IT(e,t);break}case l.TBODY:case l.TFOOT:case l.THEAD:{AT(e,t);break}case l.INPUT:{wT(e,t);break}case l.CAPTION:{yT(e,t);break}case l.COLGROUP:{RT(e,t);break}default:fr(e,t)}}function ir(e,t){switch(t.tagID){case l.TABLE:{e.openElements.hasInTableScope(l.TABLE)&&(e.openElements.popUntilTagNamePopped(l.TABLE),e._resetInsertionMode());break}case l.TEMPLATE:{ln(e,t);break}case l.BODY:case l.CAPTION:case l.COL:case l.COLGROUP:case l.HTML:case l.TBODY:case l.TD:case l.TFOOT:case l.TH:case l.THEAD:case l.TR:break;default:fr(e,t)}}function fr(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,is(e,t),e.fosterParentingEnabled=n}function Du(e,t){e.pendingCharacterTokens.push(t)}function Mu(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Wn(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)fr(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Bu=new Set([l.CAPTION,l.COL,l.COLGROUP,l.TBODY,l.TD,l.TFOOT,l.TH,l.THEAD,l.TR]);function LT(e,t){const n=t.tagID;Bu.has(n)?e.openElements.hasInTableScope(l.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(l.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_TABLE,yn(e,t)):He(e,t)}function vT(e,t){const n=t.tagID;switch(n){case l.CAPTION:case l.TABLE:{e.openElements.hasInTableScope(l.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(l.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_TABLE,n===l.TABLE&&ir(e,t));break}case l.BODY:case l.COL:case l.COLGROUP:case l.HTML:case l.TBODY:case l.TD:case l.TFOOT:case l.TH:case l.THEAD:case l.TR:break;default:as(e,t)}}function wi(e,t){switch(t.tagID){case l.HTML:{He(e,t);break}case l.COL:{e._appendElement(t,O.HTML),t.ackSelfClosing=!0;break}case l.TEMPLATE:{ft(e,t);break}default:Gr(e,t)}}function PT(e,t){switch(t.tagID){case l.COLGROUP:{e.openElements.currentTagId===l.COLGROUP&&(e.openElements.pop(),e.insertionMode=T.IN_TABLE);break}case l.TEMPLATE:{ln(e,t);break}case l.COL:break;default:Gr(e,t)}}function Gr(e,t){e.openElements.currentTagId===l.COLGROUP&&(e.openElements.pop(),e.insertionMode=T.IN_TABLE,e._processToken(t))}function os(e,t){switch(t.tagID){case l.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,O.HTML),e.insertionMode=T.IN_ROW;break}case l.TH:case l.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(I.TR,l.TR),e.insertionMode=T.IN_ROW,us(e,t);break}case l.CAPTION:case l.COL:case l.COLGROUP:case l.TBODY:case l.TFOOT:case l.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE,yn(e,t));break}default:yn(e,t)}}function ui(e,t){const n=t.tagID;switch(t.tagID){case l.TBODY:case l.TFOOT:case l.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE);break}case l.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE,ir(e,t));break}case l.BODY:case l.CAPTION:case l.COL:case l.COLGROUP:case l.HTML:case l.TD:case l.TH:case l.TR:break;default:ir(e,t)}}function us(e,t){switch(t.tagID){case l.TH:case l.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,O.HTML),e.insertionMode=T.IN_CELL,e.activeFormattingElements.insertMarker();break}case l.CAPTION:case l.COL:case l.COLGROUP:case l.TBODY:case l.TFOOT:case l.THEAD:case l.TR:{e.openElements.hasInTableScope(l.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,os(e,t));break}default:yn(e,t)}}function Fu(e,t){switch(t.tagID){case l.TR:{e.openElements.hasInTableScope(l.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY);break}case l.TABLE:{e.openElements.hasInTableScope(l.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,ui(e,t));break}case l.TBODY:case l.TFOOT:case l.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(l.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,ui(e,t));break}case l.BODY:case l.CAPTION:case l.COL:case l.COLGROUP:case l.HTML:case l.TD:case l.TH:break;default:ir(e,t)}}function OT(e,t){const n=t.tagID;Bu.has(n)?(e.openElements.hasInTableScope(l.TD)||e.openElements.hasInTableScope(l.TH))&&(e._closeTableCell(),us(e,t)):He(e,t)}function DT(e,t){const n=t.tagID;switch(n){case l.TD:case l.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_ROW);break}case l.TABLE:case l.TBODY:case l.TFOOT:case l.THEAD:case l.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Fu(e,t));break}case l.BODY:case l.CAPTION:case l.COL:case l.COLGROUP:case l.HTML:break;default:as(e,t)}}function Hu(e,t){switch(t.tagID){case l.HTML:{He(e,t);break}case l.OPTION:{e.openElements.currentTagId===l.OPTION&&e.openElements.pop(),e._insertElement(t,O.HTML);break}case l.OPTGROUP:{e.openElements.currentTagId===l.OPTION&&e.openElements.pop(),e.openElements.currentTagId===l.OPTGROUP&&e.openElements.pop(),e._insertElement(t,O.HTML);break}case l.HR:{e.openElements.currentTagId===l.OPTION&&e.openElements.pop(),e.openElements.currentTagId===l.OPTGROUP&&e.openElements.pop(),e._appendElement(t,O.HTML),t.ackSelfClosing=!0;break}case l.INPUT:case l.KEYGEN:case l.TEXTAREA:case l.SELECT:{e.openElements.hasInSelectScope(l.SELECT)&&(e.openElements.popUntilTagNamePopped(l.SELECT),e._resetInsertionMode(),t.tagID!==l.SELECT&&e._processStartTag(t));break}case l.SCRIPT:case l.TEMPLATE:{ft(e,t);break}}}function Uu(e,t){switch(t.tagID){case l.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===l.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===l.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===l.OPTGROUP&&e.openElements.pop();break}case l.OPTION:{e.openElements.currentTagId===l.OPTION&&e.openElements.pop();break}case l.SELECT:{e.openElements.hasInSelectScope(l.SELECT)&&(e.openElements.popUntilTagNamePopped(l.SELECT),e._resetInsertionMode());break}case l.TEMPLATE:{ln(e,t);break}}}function MT(e,t){const n=t.tagID;n===l.CAPTION||n===l.TABLE||n===l.TBODY||n===l.TFOOT||n===l.THEAD||n===l.TR||n===l.TD||n===l.TH?(e.openElements.popUntilTagNamePopped(l.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Hu(e,t)}function BT(e,t){const n=t.tagID;n===l.CAPTION||n===l.TABLE||n===l.TBODY||n===l.TFOOT||n===l.THEAD||n===l.TR||n===l.TD||n===l.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(l.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Uu(e,t)}function FT(e,t){switch(t.tagID){case l.BASE:case l.BASEFONT:case l.BGSOUND:case l.LINK:case l.META:case l.NOFRAMES:case l.SCRIPT:case l.STYLE:case l.TEMPLATE:case l.TITLE:{ft(e,t);break}case l.CAPTION:case l.COLGROUP:case l.TBODY:case l.TFOOT:case l.THEAD:{e.tmplInsertionModeStack[0]=T.IN_TABLE,e.insertionMode=T.IN_TABLE,yn(e,t);break}case l.COL:{e.tmplInsertionModeStack[0]=T.IN_COLUMN_GROUP,e.insertionMode=T.IN_COLUMN_GROUP,wi(e,t);break}case l.TR:{e.tmplInsertionModeStack[0]=T.IN_TABLE_BODY,e.insertionMode=T.IN_TABLE_BODY,os(e,t);break}case l.TD:case l.TH:{e.tmplInsertionModeStack[0]=T.IN_ROW,e.insertionMode=T.IN_ROW,us(e,t);break}default:e.tmplInsertionModeStack[0]=T.IN_BODY,e.insertionMode=T.IN_BODY,He(e,t)}}function HT(e,t){t.tagID===l.TEMPLATE&&ln(e,t)}function $u(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(l.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Ii(e,t)}function UT(e,t){t.tagID===l.HTML?He(e,t):Xr(e,t)}function zu(e,t){var n;if(t.tagID===l.HTML){if(e.fragmentContext||(e.insertionMode=T.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===l.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else Xr(e,t)}function Xr(e,t){e.insertionMode=T.IN_BODY,is(e,t)}function $T(e,t){switch(t.tagID){case l.HTML:{He(e,t);break}case l.FRAMESET:{e._insertElement(t,O.HTML);break}case l.FRAME:{e._appendElement(t,O.HTML),t.ackSelfClosing=!0;break}case l.NOFRAMES:{ft(e,t);break}}}function zT(e,t){t.tagID===l.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==l.FRAMESET&&(e.insertionMode=T.AFTER_FRAMESET))}function WT(e,t){switch(t.tagID){case l.HTML:{He(e,t);break}case l.NOFRAMES:{ft(e,t);break}}}function qT(e,t){t.tagID===l.HTML&&(e.insertionMode=T.AFTER_AFTER_FRAMESET)}function VT(e,t){t.tagID===l.HTML?He(e,t):$r(e,t)}function $r(e,t){e.insertionMode=T.IN_BODY,is(e,t)}function YT(e,t){switch(t.tagID){case l.HTML:{He(e,t);break}case l.NOFRAMES:{ft(e,t);break}}}function GT(e,t){t.chars=Se,e._insertCharacters(t)}function XT(e,t){e._insertCharacters(t),e.framesetOk=!1}function Wu(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==O.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function QT(e,t){if(d_(t))Wu(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===O.MATHML?Au(t):r===O.SVG&&(h_(t),Nu(t)),Ai(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function KT(e,t){if(t.tagID===l.P||t.tagID===l.BR){Wu(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===O.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}I.AREA,I.BASE,I.BASEFONT,I.BGSOUND,I.BR,I.COL,I.EMBED,I.FRAME,I.HR,I.IMG,I.INPUT,I.KEYGEN,I.LINK,I.META,I.PARAM,I.SOURCE,I.TRACK,I.WBR;const ZT=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,JT=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),no={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function qu(e,t){const n=l3(e),r=xu("type",{handlers:{root:e3,element:t3,text:n3,comment:Yu,doctype:r3,raw:i3},unknown:a3}),i={parser:n?new Ja(no):Ja.getFragmentParser(void 0,no),handle(u){r(u,i)},stitches:!1,options:t||{}};r(e,i),jn(i,St());const a=n?i.parser.document:i.parser.getFragment(),o=eb(a,{file:i.options.file});return i.stitches&&ss(o,"comment",function(u,c,d){const m=u;if(m.value.stitch&&d&&c!==void 0){const h=d.children;return h[c]=m.value.stitch,c}}),o.type==="root"&&o.children.length===1&&o.children[0].type===e.type?o.children[0]:o}function Vu(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function e3(e,t){Vu(e.children,t)}function t3(e,t){o3(e,t),Vu(e.children,t),u3(e,t)}function n3(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:le.CHARACTER,chars:e.value,location:xr(e)};jn(t,St(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function r3(e,t){const n={type:le.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:xr(e)};jn(t,St(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function s3(e,t){t.stitches=!0;const n=c3(e);if("children"in e&&"children"in n){const r=qu({type:"root",children:e.children},t.options);n.children=r.children}Yu({type:"comment",value:{stitch:n}},t)}function Yu(e,t){const n=e.value,r={type:le.COMMENT,data:n,location:xr(e)};jn(t,St(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function i3(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,Gu(t,St(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(ZT,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function a3(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))s3(n,t);else{let r="";throw JT.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function jn(e,t){Gu(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=ke.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function Gu(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function o3(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===ke.PLAINTEXT)return;jn(t,St(e));const r=t.parser.openElements.current;let i="namespaceURI"in r?r.namespaceURI:rn.html;i===rn.html&&n==="svg"&&(i=rn.svg);const a=fb({...e,children:[]},{space:i===rn.svg?"svg":"html"}),o={type:le.START_TAG,tagName:n,tagID:wn(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:xr(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function u3(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Sb.includes(n)||t.parser.tokenizer.state===ke.PLAINTEXT)return;jn(t,Zr(e));const r={type:le.END_TAG,tagName:n,tagID:wn(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:xr(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===ke.RCDATA||t.parser.tokenizer.state===ke.RAWTEXT||t.parser.tokenizer.state===ke.SCRIPT_DATA)&&(t.parser.tokenizer.state=ke.DATA)}function l3(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function xr(e){const t=St(e)||{line:void 0,column:void 0,offset:void 0},n=Zr(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function c3(e){return"children"in e?Sn({...e,children:[]}):Sn(e)}function d3(e){return function(t,n){return qu(t,{...e,file:n})}}function ro(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function h3(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function m3(e,t,n){const i=ns((n||{}).ignore||[]),a=p3(t);let o=-1;for(;++o<a.length;)eu(e,"text",u);function u(d,m){let h=-1,f;for(;++h<m.length;){const p=m[h],x=f?f.children:void 0;if(i(p,x?x.indexOf(p):void 0,f))return;f=p}if(f)return c(d,m)}function c(d,m){const h=m[m.length-1],f=a[o][0],p=a[o][1];let x=0;const C=h.children.indexOf(d);let b=!1,A=[];f.lastIndex=0;let y=f.exec(d.value);for(;y;){const P=y.index,j={index:y.index,input:y.input,stack:[...m,d]};let N=p(...y,j);if(typeof N=="string"&&(N=N.length>0?{type:"text",value:N}:void 0),N===!1?f.lastIndex=P+1:(x!==P&&A.push({type:"text",value:d.value.slice(x,P)}),Array.isArray(N)?A.push(...N):N&&A.push(N),x=P+y[0].length,b=!0),!f.global)break;y=f.exec(d.value)}return b?(x<d.value.length&&A.push({type:"text",value:d.value.slice(x)}),h.children.splice(C,1,...A)):A=[d],C+A.length}}function p3(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([f3(i[0]),x3(i[1])])}return t}function f3(e){return typeof e=="string"?new RegExp(h3(e),"g"):e}function x3(e){return typeof e=="function"?e:function(){return e}}const Fs="phrasing",Hs=["autolink","link","image","label"];function g3(){return{transforms:[y3],enter:{literalAutolink:b3,literalAutolinkEmail:Us,literalAutolinkHttp:Us,literalAutolinkWww:Us},exit:{literalAutolink:S3,literalAutolinkEmail:C3,literalAutolinkHttp:_3,literalAutolinkWww:T3}}}function E3(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Fs,notInConstruct:Hs},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Fs,notInConstruct:Hs},{character:":",before:"[ps]",after:"\\/",inConstruct:Fs,notInConstruct:Hs}]}}function b3(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Us(e){this.config.enter.autolinkProtocol.call(this,e)}function _3(e){this.config.exit.autolinkProtocol.call(this,e)}function T3(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function C3(e){this.config.exit.autolinkEmail.call(this,e)}function S3(e){this.exit(e)}function y3(e){m3(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,R3],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),k3]],{ignore:["link","linkReference"]})}function R3(e,t,n,r,i){let a="";if(!Xu(i)||(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!A3(n)))return!1;const o=N3(n+r);if(!o[0])return!1;const u={type:"link",title:null,url:a+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[u,{type:"text",value:o[1]}]:u}function k3(e,t,n,r){return!Xu(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function A3(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function N3(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=ro(e,"(");let a=ro(e,")");for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++;return[e,n]}function Xu(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||an(n)||Jr(n))&&(!t||n!==47)}Qu.peek=M3;function I3(){this.buffer()}function w3(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function j3(){this.buffer()}function L3(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function v3(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=mt(this.sliceSerialize(e)).toLowerCase(),n.label=t}function P3(e){this.exit(e)}function O3(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=mt(this.sliceSerialize(e)).toLowerCase(),n.label=t}function D3(e){this.exit(e)}function M3(){return"["}function Qu(e,t,n,r){const i=n.createTracker(r);let a=i.move("[^");const o=n.enter("footnoteReference"),u=n.enter("reference");return a+=i.move(n.safe(n.associationId(e),{after:"]",before:a})),u(),o(),a+=i.move("]"),a}function B3(){return{enter:{gfmFootnoteCallString:I3,gfmFootnoteCall:w3,gfmFootnoteDefinitionLabelString:j3,gfmFootnoteDefinition:L3},exit:{gfmFootnoteCallString:v3,gfmFootnoteCall:P3,gfmFootnoteDefinitionLabelString:O3,gfmFootnoteDefinition:D3}}}function F3(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:Qu},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,a,o){const u=a.createTracker(o);let c=u.move("[^");const d=a.enter("footnoteDefinition"),m=a.enter("label");return c+=u.move(a.safe(a.associationId(r),{before:c,after:"]"})),m(),c+=u.move("]:"),r.children&&r.children.length>0&&(u.shift(4),c+=u.move((t?`
|
|
117
|
-
`:" ")+a.indentLines(a.containerFlow(r,u.current()),t?Ku:H3))),d(),c}}function H3(e,t,n){return t===0?e:Ku(e,t,n)}function Ku(e,t,n){return(n?"":" ")+e}const U3=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Zu.peek=V3;function $3(){return{canContainEols:["delete"],enter:{strikethrough:W3},exit:{strikethrough:q3}}}function z3(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:U3}],handlers:{delete:Zu}}}function W3(e){this.enter({type:"delete",children:[]},e)}function q3(e){this.exit(e)}function Zu(e,t,n,r){const i=n.createTracker(r),a=n.enter("strikethrough");let o=i.move("~~");return o+=n.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function V3(){return"~"}function Y3(e){return e.length}function G3(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||Y3,a=[],o=[],u=[],c=[];let d=0,m=-1;for(;++m<e.length;){const g=[],C=[];let b=-1;for(e[m].length>d&&(d=e[m].length);++b<e[m].length;){const A=X3(e[m][b]);if(n.alignDelimiters!==!1){const y=i(A);C[b]=y,(c[b]===void 0||y>c[b])&&(c[b]=y)}g.push(A)}o[m]=g,u[m]=C}let h=-1;if(typeof r=="object"&&"length"in r)for(;++h<d;)a[h]=so(r[h]);else{const g=so(r);for(;++h<d;)a[h]=g}h=-1;const f=[],p=[];for(;++h<d;){const g=a[h];let C="",b="";g===99?(C=":",b=":"):g===108?C=":":g===114&&(b=":");let A=n.alignDelimiters===!1?1:Math.max(1,c[h]-C.length-b.length);const y=C+"-".repeat(A)+b;n.alignDelimiters!==!1&&(A=C.length+A+b.length,A>c[h]&&(c[h]=A),p[h]=A),f[h]=y}o.splice(1,0,f),u.splice(1,0,p),m=-1;const x=[];for(;++m<o.length;){const g=o[m],C=u[m];h=-1;const b=[];for(;++h<d;){const A=g[h]||"";let y="",P="";if(n.alignDelimiters!==!1){const j=c[h]-(C[h]||0),
|
|
115
|
+
`},i),a}function xE(e,t){return e&&"run"in e?async function(n,r){const i=ya(n,{file:r,...t});await e.run(i,r)}:function(n,r){return ya(n,{file:r,...e||t})}}function Ra(e){if(e)throw e}var Hr=Object.prototype.hasOwnProperty,tu=Object.prototype.toString,ka=Object.defineProperty,Aa=Object.getOwnPropertyDescriptor,Ia=function(t){return typeof Array.isArray=="function"?Array.isArray(t):tu.call(t)==="[object Array]"},Na=function(t){if(!t||tu.call(t)!=="[object Object]")return!1;var n=Hr.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&Hr.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||Hr.call(t,i)},wa=function(t,n){ka&&n.name==="__proto__"?ka(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},ja=function(t,n){if(n==="__proto__")if(Hr.call(t,n)){if(Aa)return Aa(t,n).value}else return;return t[n]},gE=function e(){var t,n,r,i,a,o,u=arguments[0],c=1,d=arguments.length,m=!1;for(typeof u=="boolean"&&(m=u,u=arguments[1]||{},c=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});c<d;++c)if(t=arguments[c],t!=null)for(n in t)r=ja(u,n),i=ja(t,n),u!==i&&(m&&i&&(Na(i)||(a=Ia(i)))?(a?(a=!1,o=r&&Ia(r)?r:[]):o=r&&Na(r)?r:{},wa(u,{name:n,newValue:e(m,o,i)})):typeof i<"u"&&wa(u,{name:n,newValue:i}));return u};const Ns=s.getDefaultExportFromCjs(gE);function ei(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function EE(){const e=[],t={run:n,use:r};return t;function n(...i){let a=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);u(null,...i);function u(c,...d){const m=e[++a];let h=-1;if(c){o(c);return}for(;++h<i.length;)(d[h]===null||d[h]===void 0)&&(d[h]=i[h]);i=d,m?bE(m,u)(...d):o(null,...d)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function bE(e,t){let n;return r;function r(...o){const u=e.length>o.length;let c;u&&o.push(i);try{c=e.apply(this,o)}catch(d){const m=d;if(u&&n)throw m;return i(m)}u||(c&&c.then&&typeof c.then=="function"?c.then(a,i):c instanceof Error?i(c):a(c))}function i(o,...u){n||(n=!0,t(o,...u))}function a(o){i(null,o)}}const _t={basename:_E,dirname:TE,extname:CE,join:SE,sep:"/"};function _E(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');mr(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,u=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),u>-1&&(e.codePointAt(i)===t.codePointAt(u--)?u<0&&(r=i):(u=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function TE(e){if(mr(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function CE(e){mr(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){const u=e.codePointAt(t);if(u===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),u===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function SE(...e){let t=-1,n;for(;++t<e.length;)mr(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":yE(n)}function yE(e){mr(e);const t=e.codePointAt(0)===47;let n=RE(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function RE(e,t){let n="",r=0,i=-1,a=0,o=-1,u,c;for(;++o<=e.length;){if(o<e.length)u=e.codePointAt(o);else{if(u===47)break;u=47}if(u===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf("/"),c!==n.length-1){c<0?(n="",r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf("/")),i=o,a=0;continue}}else if(n.length>0){n="",r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else u===46&&a>-1?a++:a=-1}return n}function mr(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const kE={cwd:AE};function AE(){return"/"}function ti(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function IE(e){if(typeof e=="string")e=new URL(e);else if(!ti(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return NE(e)}function NE(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const ws=["history","path","basename","stem","extname","dirname"];class nu{constructor(t){let n;t?ti(t)?n={path:t}:typeof t=="string"||wE(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":kE.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<ws.length;){const a=ws[r];a in n&&n[a]!==void 0&&n[a]!==null&&(this[a]=a==="history"?[...n[a]]:n[a])}let i;for(i in n)ws.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?_t.basename(this.path):void 0}set basename(t){Ls(t,"basename"),js(t,"basename"),this.path=_t.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?_t.dirname(this.path):void 0}set dirname(t){La(this.basename,"dirname"),this.path=_t.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?_t.extname(this.path):void 0}set extname(t){if(js(t,"extname"),La(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=_t.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){ti(t)&&(t=IE(t)),Ls(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?_t.basename(this.path,this.extname):void 0}set stem(t){Ls(t,"stem"),js(t,"stem"),this.path=_t.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new Fe(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function js(e,t){if(e&&e.includes(_t.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+_t.sep+"`")}function Ls(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function La(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function wE(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const jE=function(e){const r=this.constructor.prototype,i=r[e],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,r),a},LE={}.hasOwnProperty;class Si extends jE{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=EE()}copy(){const t=new Si;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Ns(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Os("data",this.frozen),this.namespace[t]=n,this):LE.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Os("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=vr(t),r=this.parser||this.Parser;return vs("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),vs("process",this.parser||this.Parser),Ps("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(a,o){const u=vr(t),c=r.parse(u);r.run(c,u,function(m,h,f){if(m||!h||!f)return d(m);const p=h,x=r.stringify(p,f);OE(x)?f.value=x:f.result=x,d(m,f)});function d(m,h){m||!h?o(m):a?a(h):n(void 0,h)}}}processSync(t){let n=!1,r;return this.freeze(),vs("processSync",this.parser||this.Parser),Ps("processSync",this.compiler||this.Compiler),this.process(t,i),Pa("processSync","process",n),r;function i(a,o){n=!0,Ra(a),r=o}}run(t,n,r){va(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?a(void 0,r):new Promise(a);function a(o,u){const c=vr(n);i.run(t,c,d);function d(m,h,f){const p=h||t;m?u(m):o?o(p):r(void 0,p,f)}}}runSync(t,n){let r=!1,i;return this.run(t,n,a),Pa("runSync","run",r),i;function a(o,u){Ra(o),i=u,r=!0}}stringify(t,n){this.freeze();const r=vr(n),i=this.compiler||this.Compiler;return Ps("stringify",i),va(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Os("use",this.frozen),t!=null)if(typeof t=="function")c(t,n);else if(typeof t=="object")Array.isArray(t)?u(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(d){if(typeof d=="function")c(d,[]);else if(typeof d=="object")if(Array.isArray(d)){const[m,...h]=d;c(m,h)}else o(d);else throw new TypeError("Expected usable value, not `"+d+"`")}function o(d){if(!("plugins"in d)&&!("settings"in d))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");u(d.plugins),d.settings&&(i.settings=Ns(!0,i.settings,d.settings))}function u(d){let m=-1;if(d!=null)if(Array.isArray(d))for(;++m<d.length;){const h=d[m];a(h)}else throw new TypeError("Expected a list of plugins, not `"+d+"`")}function c(d,m){let h=-1,f=-1;for(;++h<r.length;)if(r[h][0]===d){f=h;break}if(f===-1)r.push([d,...m]);else if(m.length>0){let[p,...x]=m;const g=r[f][1];ei(g)&&ei(p)&&(p=Ns(!0,g,p)),r[f]=[d,p,...x]}}}}const vE=new Si().freeze();function vs(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Ps(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Os(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function va(e){if(!ei(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Pa(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function vr(e){return PE(e)?e:new nu(e)}function PE(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function OE(e){return typeof e=="string"||DE(e)}function DE(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const ME="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Oa=[],Da={allowDangerousHtml:!0},BE=/^(https?|ircs?|mailto|xmpp)$/i,FE=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function ru(e){const t=HE(e),n=UE(e);return $E(t.runSync(t.parse(n),n),e)}function HE(e){const t=e.rehypePlugins||Oa,n=e.remarkPlugins||Oa,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Da}:Da;return vE().use(Cg).use(n).use(xE,r).use(t)}function UE(e){const t=e.children||"",n=new nu;return typeof t=="string"&&(n.value=t),n}function $E(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,a=t.disallowedElements,o=t.skipHtml,u=t.unwrapDisallowed,c=t.urlTransform||zE;for(const m of FE)Object.hasOwn(t,m.from)&&(""+m.from+(m.to?"use `"+m.to+"` instead":"remove it")+ME+m.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),ss(e,d),s2(e,{Fragment:s.jsxRuntimeExports.Fragment,components:i,ignoreInvalidStyle:!0,jsx:s.jsxRuntimeExports.jsx,jsxs:s.jsxRuntimeExports.jsxs,passKeys:!0,passNode:!0});function d(m,h,f){if(m.type==="raw"&&f&&typeof h=="number")return o?f.children.splice(h,1):f.children[h]={type:"text",value:m.value},h;if(m.type==="element"){let p;for(p in ks)if(Object.hasOwn(ks,p)&&Object.hasOwn(m.properties,p)){const x=m.properties[p],g=ks[p];(g===null||g.includes(m.tagName))&&(m.properties[p]=c(String(x||""),p,m))}}if(m.type==="element"){let p=n?!n.includes(m.tagName):a?a.includes(m.tagName):!1;if(!p&&r&&typeof h=="number"&&(p=!r(m,h,f)),p&&f&&typeof h=="number")return u&&m.children?f.children.splice(h,1,...m.children):f.children.splice(h,1),h}}}function zE(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||BE.test(e.slice(0,t))?e:""}const Ma=/[#.]/g;function WE(e,t){const n=e||"",r={};let i=0,a,o;for(;i<n.length;){Ma.lastIndex=i;const u=Ma.exec(n),c=n.slice(i,u?u.index:n.length);c&&(a?a==="#"?r.id=c:Array.isArray(r.className)?r.className.push(c):r.className=[c]:o=c,i+=c.length),u&&(a=u[0],i++)}return{type:"element",tagName:o||t||"div",properties:r,children:[]}}function su(e,t,n){const r=n?GE(n):void 0;function i(a,o,...u){let c;if(a==null){c={type:"root",children:[]};const d=o;u.unshift(d)}else{c=WE(a,t);const d=c.tagName.toLowerCase(),m=r?r.get(d):void 0;if(c.tagName=m||d,qE(o))u.unshift(o);else for(const[h,f]of Object.entries(o))VE(e,c.properties,h,f)}for(const d of u)ni(c.children,d);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return i}function qE(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const i=t[r];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const a=i;for(const o of a)if(typeof o!="number"&&typeof o!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function VE(e,t,n,r){const i=hi(e,n);let a;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;a=r}else typeof r=="boolean"?a=r:typeof r=="string"?i.spaceSeparated?a=Zi(r):i.commaSeparated?a=Yi(r):i.commaOrSpaceSeparated?a=Zi(Yi(r).join(" ")):a=Ba(i,i.property,r):Array.isArray(r)?a=[...r]:a=i.property==="style"?YE(r):String(r);if(Array.isArray(a)){const o=[];for(const u of a)o.push(Ba(i,i.property,u));a=o}i.property==="className"&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function ni(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)ni(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?ni(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Ba(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||rr(n)===rr(t)))return!0}return n}function YE(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function GE(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const XE=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],QE=su(Kr,"div"),KE=su(kn,"g",XE);function ZE(e){const t=String(e),n=[];return{toOffset:i,toPoint:r};function r(a){if(typeof a=="number"&&a>-1&&a<=t.length){let o=0;for(;;){let u=n[o];if(u===void 0){const c=Fa(t,n[o-1]);u=c===-1?t.length+1:c+1,n[o]=u}if(u>a)return{line:o+1,column:a-(o>0?n[o-1]:0)+1,offset:a};o++}}}function i(a){if(a&&typeof a.line=="number"&&typeof a.column=="number"&&!Number.isNaN(a.line)&&!Number.isNaN(a.column)){for(;n.length<a.line;){const u=n[n.length-1],c=Fa(t,u),d=c===-1?t.length+1:c+1;if(u===d)break;n.push(d)}const o=(a.line>1?n[a.line-2]:0)+a.column-1;if(o<n[a.line-1])return o}}}function Fa(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
|
|
116
|
+
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const rn={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},iu={}.hasOwnProperty,JE=Object.prototype;function eb(e,t){const n=t||{};return yi({file:n.file||void 0,location:!1,schema:n.space==="svg"?kn:Kr,verbose:n.verbose||!1},e)}function yi(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Ur(e,r,n),n}case"#document":case"#document-fragment":{const r=t,i="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:au(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const a=String(e.file),o=ZE(a),u=o.toPoint(0),c=o.toPoint(a.length);n.position={start:u,end:c}}return n}case"#documentType":{const r=t;return n={type:"doctype"},Ur(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},Ur(e,r,n),n}default:return n=tb(e,t),n}}function au(e,t){let n=-1;const r=[];for(;++n<t.length;){const i=yi(e,t[n]);r.push(i)}return r}function tb(e,t){const n=e.schema;e.schema=t.namespaceURI===rn.svg?kn:Kr;let r=-1;const i={};for(;++r<t.attrs.length;){const u=t.attrs[r],c=(u.prefix?u.prefix+":":"")+u.name;iu.call(JE,c)||(i[c]=u.value)}const o=(e.schema.space==="svg"?KE:QE)(t.tagName,i,au(e,t.childNodes));if(Ur(e,t,o),o.tagName==="template"){const u=t,c=u.sourceCodeLocation,d=c&&c.startTag&&En(c.startTag),m=c&&c.endTag&&En(c.endTag),h=yi(e,u.content);d&&m&&e.file&&(h.position={start:d.end,end:m.start}),o.content=h}return e.schema=n,o}function Ur(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=nb(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function nb(e,t,n){const r=En(n);if(t.type==="element"){const i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){const a={};let o;if(n.attrs)for(o in n.attrs)iu.call(n.attrs,o)&&(a[hi(e.schema,o).property]=En(n.attrs[o]));n.startTag;const u=En(n.startTag),c=n.endTag?En(n.endTag):void 0,d={opening:u};c&&(d.closing=c),d.properties=a,t.data={position:d}}}return r}function En(e){const t=Ha({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Ha({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Ha(e){return e.line&&e.column?e:void 0}class pr{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}pr.prototype.property={};pr.prototype.normal={};pr.prototype.space=null;function ou(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new pr(n,r,t)}function ri(e){return e.toLowerCase()}class rt{constructor(t,n){this.property=t,this.attribute=n}}rt.prototype.space=null;rt.prototype.boolean=!1;rt.prototype.booleanish=!1;rt.prototype.overloadedBoolean=!1;rt.prototype.number=!1;rt.prototype.commaSeparated=!1;rt.prototype.spaceSeparated=!1;rt.prototype.commaOrSpaceSeparated=!1;rt.prototype.mustUseProperty=!1;rt.prototype.defined=!1;let rb=0;const ie=un(),we=un(),uu=un(),F=un(),Te=un(),_n=un(),Qe=un();function un(){return 2**++rb}const si=Object.freeze(Object.defineProperty({__proto__:null,boolean:ie,booleanish:we,commaOrSpaceSeparated:Qe,commaSeparated:_n,number:F,overloadedBoolean:uu,spaceSeparated:Te},Symbol.toStringTag,{value:"Module"})),Ds=Object.keys(si);class Ri extends rt{constructor(t,n,r,i){let a=-1;if(super(t,n),Ua(this,"space",i),typeof r=="number")for(;++a<Ds.length;){const o=Ds[a];Ua(this,Ds[a],(r&si[o])===si[o])}}}Ri.prototype.defined=!0;function Ua(e,t,n){n&&(e[t]=n)}const sb={}.hasOwnProperty;function In(e){const t={},n={};let r;for(r in e.properties)if(sb.call(e.properties,r)){const i=e.properties[r],a=new Ri(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[ri(r)]=r,n[ri(a.attribute)]=r}return new pr(t,n,e.space)}const lu=In({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),cu=In({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function du(e,t){return t in e?e[t]:t}function hu(e,t){return du(e,t.toLowerCase())}const mu=In({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:hu,properties:{xmlns:null,xmlnsXLink:null}}),pu=In({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:we,ariaAutoComplete:null,ariaBusy:we,ariaChecked:we,ariaColCount:F,ariaColIndex:F,ariaColSpan:F,ariaControls:Te,ariaCurrent:null,ariaDescribedBy:Te,ariaDetails:null,ariaDisabled:we,ariaDropEffect:Te,ariaErrorMessage:null,ariaExpanded:we,ariaFlowTo:Te,ariaGrabbed:we,ariaHasPopup:null,ariaHidden:we,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Te,ariaLevel:F,ariaLive:null,ariaModal:we,ariaMultiLine:we,ariaMultiSelectable:we,ariaOrientation:null,ariaOwns:Te,ariaPlaceholder:null,ariaPosInSet:F,ariaPressed:we,ariaReadOnly:we,ariaRelevant:null,ariaRequired:we,ariaRoleDescription:Te,ariaRowCount:F,ariaRowIndex:F,ariaRowSpan:F,ariaSelected:we,ariaSetSize:F,ariaSort:null,ariaValueMax:F,ariaValueMin:F,ariaValueNow:F,ariaValueText:null,role:null}}),ib=In({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:hu,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:_n,acceptCharset:Te,accessKey:Te,action:null,allow:null,allowFullScreen:ie,allowPaymentRequest:ie,allowUserMedia:ie,alt:null,as:null,async:ie,autoCapitalize:null,autoComplete:Te,autoFocus:ie,autoPlay:ie,blocking:Te,capture:null,charSet:null,checked:ie,cite:null,className:Te,cols:F,colSpan:null,content:null,contentEditable:we,controls:ie,controlsList:Te,coords:F|_n,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ie,defer:ie,dir:null,dirName:null,disabled:ie,download:uu,draggable:we,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ie,formTarget:null,headers:Te,height:F,hidden:ie,high:F,href:null,hrefLang:null,htmlFor:Te,httpEquiv:Te,id:null,imageSizes:null,imageSrcSet:null,inert:ie,inputMode:null,integrity:null,is:null,isMap:ie,itemId:null,itemProp:Te,itemRef:Te,itemScope:ie,itemType:Te,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ie,low:F,manifest:null,max:null,maxLength:F,media:null,method:null,min:null,minLength:F,multiple:ie,muted:ie,name:null,nonce:null,noModule:ie,noValidate:ie,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ie,optimum:F,pattern:null,ping:Te,placeholder:null,playsInline:ie,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ie,referrerPolicy:null,rel:Te,required:ie,reversed:ie,rows:F,rowSpan:F,sandbox:Te,scope:null,scoped:ie,seamless:ie,selected:ie,shadowRootClonable:ie,shadowRootDelegatesFocus:ie,shadowRootMode:null,shape:null,size:F,sizes:null,slot:null,span:F,spellCheck:we,src:null,srcDoc:null,srcLang:null,srcSet:null,start:F,step:null,style:null,tabIndex:F,target:null,title:null,translate:null,type:null,typeMustMatch:ie,useMap:null,value:we,width:F,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Te,axis:null,background:null,bgColor:null,border:F,borderColor:null,bottomMargin:F,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ie,declare:ie,event:null,face:null,frame:null,frameBorder:null,hSpace:F,leftMargin:F,link:null,longDesc:null,lowSrc:null,marginHeight:F,marginWidth:F,noResize:ie,noHref:ie,noShade:ie,noWrap:ie,object:null,profile:null,prompt:null,rev:null,rightMargin:F,rules:null,scheme:null,scrolling:we,standby:null,summary:null,text:null,topMargin:F,valueType:null,version:null,vAlign:null,vLink:null,vSpace:F,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ie,disableRemotePlayback:ie,prefix:null,property:null,results:F,security:null,unselectable:null}}),ab=In({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:du,properties:{about:Qe,accentHeight:F,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:F,amplitude:F,arabicForm:null,ascent:F,attributeName:null,attributeType:null,azimuth:F,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:F,by:null,calcMode:null,capHeight:F,className:Te,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:F,diffuseConstant:F,direction:null,display:null,dur:null,divisor:F,dominantBaseline:null,download:ie,dx:null,dy:null,edgeMode:null,editable:null,elevation:F,enableBackground:null,end:null,event:null,exponent:F,externalResourcesRequired:null,fill:null,fillOpacity:F,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:_n,g2:_n,glyphName:_n,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:F,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:F,horizOriginX:F,horizOriginY:F,id:null,ideographic:F,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:F,k:F,k1:F,k2:F,k3:F,k4:F,kernelMatrix:Qe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:F,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:F,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:F,overlineThickness:F,paintOrder:null,panose1:null,path:null,pathLength:F,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Te,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:F,pointsAtY:F,pointsAtZ:F,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Qe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Qe,rev:Qe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Qe,requiredFeatures:Qe,requiredFonts:Qe,requiredFormats:Qe,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:F,specularExponent:F,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:F,strikethroughThickness:F,string:null,stroke:null,strokeDashArray:Qe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:F,strokeOpacity:F,strokeWidth:null,style:null,surfaceScale:F,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Qe,tabIndex:F,tableValues:null,target:null,targetX:F,targetY:F,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Qe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:F,underlineThickness:F,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:F,values:null,vAlphabetic:F,vMathematical:F,vectorEffect:null,vHanging:F,vIdeographic:F,version:null,vertAdvY:F,vertOriginX:F,vertOriginY:F,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:F,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),ob=/^data[-\w.:]+$/i,$a=/-[a-z]/g,ub=/[A-Z]/g;function lb(e,t){const n=ri(t);let r=t,i=rt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&ob.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace($a,db);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!$a.test(a)){let o=a.replace(ub,cb);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=Ri}return new i(r,t)}function cb(e){return"-"+e.toLowerCase()}function db(e){return e.charAt(1).toUpperCase()}const hb=ou([cu,lu,mu,pu,ib],"html"),fu=ou([cu,lu,mu,pu,ab],"svg"),za={}.hasOwnProperty;function xu(e,t){const n=t||{};function r(i,...a){let o=r.invalid;const u=r.handlers;if(i&&za.call(i,e)){const c=String(i[e]);o=za.call(u,c)?u[c]:r.unknown}if(o)return o.call(this,i,...a)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const mb={},pb={}.hasOwnProperty,gu=xu("type",{handlers:{root:xb,element:Tb,text:bb,comment:_b,doctype:Eb}});function fb(e,t){const r=(t||mb).space;return gu(e,r==="svg"?fu:hb)}function xb(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=ki(e.children,n,t),Nn(e,n),n}function gb(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=ki(e.children,n,t),Nn(e,n),n}function Eb(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Nn(e,t),t}function bb(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Nn(e,t),t}function _b(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Nn(e,t),t}function Tb(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=fu);const i=[];let a;if(e.properties){for(a in e.properties)if(a!=="children"&&pb.call(e.properties,a)){const c=Cb(r,a,e.properties[a]);c&&i.push(c)}}const o=r.space,u={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:rn[o],childNodes:[],parentNode:null};return u.childNodes=ki(e.children,u,r),Nn(e,u),e.tagName==="template"&&e.content&&(u.content=gb(e.content,r)),u}function Cb(e,t,n){const r=lb(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Eo(n):Ao(n));const i={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const a=i.name.indexOf(":");a<0?i.prefix="":(i.name=i.name.slice(a+1),i.prefix=r.attribute.slice(0,a)),i.namespace=rn[r.space]}return i}function ki(e,t,n){let r=-1;const i=[];if(e)for(;++r<e.length;){const a=gu(e[r],n);a.parentNode=t,i.push(a)}return i}function Nn(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const Sb=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],yb=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),Se="�";var E;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(E||(E={}));const qe={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Eu(e){return e>=55296&&e<=57343}function Rb(e){return e>=56320&&e<=57343}function kb(e,t){return(e-55296)*1024+9216+t}function bu(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function _u(e){return e>=64976&&e<=65007||yb.has(e)}var L;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(L||(L={}));const Ab=65536;class Ib{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Ab,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:i,offset:a}=this,o=i+n,u=a+n;return{code:t,startLine:r,endLine:r,startCol:o,endCol:o,startOffset:u,endOffset:u}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(Rb(n))return this.pos++,this._addGap(),kb(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,E.EOF;return this._err(L.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,E.EOF;const r=this.html.charCodeAt(n);return r===E.CARRIAGE_RETURN?E.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,E.EOF;let t=this.html.charCodeAt(this.pos);return t===E.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,E.LINE_FEED):t===E.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Eu(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===E.LINE_FEED||t===E.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){bu(t)?this._err(L.controlCharacterInInputStream):_u(t)&&this._err(L.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var le;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(le||(le={}));function Tu(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const Nb=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),wb=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function jb(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=wb.get(e))!==null&&t!==void 0?t:e}var ve;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(ve||(ve={}));const Lb=32;var qt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(qt||(qt={}));function ii(e){return e>=ve.ZERO&&e<=ve.NINE}function vb(e){return e>=ve.UPPER_A&&e<=ve.UPPER_F||e>=ve.LOWER_A&&e<=ve.LOWER_F}function Pb(e){return e>=ve.UPPER_A&&e<=ve.UPPER_Z||e>=ve.LOWER_A&&e<=ve.LOWER_Z||ii(e)}function Ob(e){return e===ve.EQUALS||Pb(e)}var Le;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Le||(Le={}));var Lt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Lt||(Lt={}));class Db{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Le.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Lt.Strict}startEntity(t){this.decodeMode=t,this.state=Le.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Le.EntityStart:return t.charCodeAt(n)===ve.NUM?(this.state=Le.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Le.NamedEntity,this.stateNamedEntity(t,n));case Le.NumericStart:return this.stateNumericStart(t,n);case Le.NumericDecimal:return this.stateNumericDecimal(t,n);case Le.NumericHex:return this.stateNumericHex(t,n);case Le.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Lb)===ve.LOWER_X?(this.state=Le.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Le.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const a=r-n;this.result=this.result*Math.pow(i,a)+Number.parseInt(t.substr(n,a),i),this.consumed+=a}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(ii(i)||vb(i))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(ii(i))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===ve.SEMI)this.consumed+=1;else if(this.decodeMode===Lt.Strict)return 0;return this.emitCodePoint(jb(this.result),this.consumed),this.errors&&(t!==ve.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let i=r[this.treeIndex],a=(i&qt.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const o=t.charCodeAt(n);if(this.treeIndex=Mb(r,i,this.treeIndex+Math.max(1,a),o),this.treeIndex<0)return this.result===0||this.decodeMode===Lt.Attribute&&(a===0||Ob(o))?0:this.emitNotTerminatedNamedEntity();if(i=r[this.treeIndex],a=(i&qt.VALUE_LENGTH)>>14,a!==0){if(o===ve.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==Lt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&qt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~qt.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case Le.NamedEntity:return this.result!==0&&(this.decodeMode!==Lt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Le.NumericDecimal:return this.emitNumericEntity(0,2);case Le.NumericHex:return this.emitNumericEntity(0,3);case Le.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Le.EntityStart:return 0}}}function Mb(e,t,n,r){const i=(t&qt.BRANCH_LENGTH)>>7,a=t&qt.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){const c=r-a;return c<0||c>=i?-1:e[n+c]-1}let o=n,u=o+i-1;for(;o<=u;){const c=o+u>>>1,d=e[c];if(d<r)o=c+1;else if(d>r)u=c-1;else return e[c+i]}return-1}var O;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(O||(O={}));var sn;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(sn||(sn={}));var nt;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(nt||(nt={}));var N;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(N||(N={}));var l;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(l||(l={}));const Bb=new Map([[N.A,l.A],[N.ADDRESS,l.ADDRESS],[N.ANNOTATION_XML,l.ANNOTATION_XML],[N.APPLET,l.APPLET],[N.AREA,l.AREA],[N.ARTICLE,l.ARTICLE],[N.ASIDE,l.ASIDE],[N.B,l.B],[N.BASE,l.BASE],[N.BASEFONT,l.BASEFONT],[N.BGSOUND,l.BGSOUND],[N.BIG,l.BIG],[N.BLOCKQUOTE,l.BLOCKQUOTE],[N.BODY,l.BODY],[N.BR,l.BR],[N.BUTTON,l.BUTTON],[N.CAPTION,l.CAPTION],[N.CENTER,l.CENTER],[N.CODE,l.CODE],[N.COL,l.COL],[N.COLGROUP,l.COLGROUP],[N.DD,l.DD],[N.DESC,l.DESC],[N.DETAILS,l.DETAILS],[N.DIALOG,l.DIALOG],[N.DIR,l.DIR],[N.DIV,l.DIV],[N.DL,l.DL],[N.DT,l.DT],[N.EM,l.EM],[N.EMBED,l.EMBED],[N.FIELDSET,l.FIELDSET],[N.FIGCAPTION,l.FIGCAPTION],[N.FIGURE,l.FIGURE],[N.FONT,l.FONT],[N.FOOTER,l.FOOTER],[N.FOREIGN_OBJECT,l.FOREIGN_OBJECT],[N.FORM,l.FORM],[N.FRAME,l.FRAME],[N.FRAMESET,l.FRAMESET],[N.H1,l.H1],[N.H2,l.H2],[N.H3,l.H3],[N.H4,l.H4],[N.H5,l.H5],[N.H6,l.H6],[N.HEAD,l.HEAD],[N.HEADER,l.HEADER],[N.HGROUP,l.HGROUP],[N.HR,l.HR],[N.HTML,l.HTML],[N.I,l.I],[N.IMG,l.IMG],[N.IMAGE,l.IMAGE],[N.INPUT,l.INPUT],[N.IFRAME,l.IFRAME],[N.KEYGEN,l.KEYGEN],[N.LABEL,l.LABEL],[N.LI,l.LI],[N.LINK,l.LINK],[N.LISTING,l.LISTING],[N.MAIN,l.MAIN],[N.MALIGNMARK,l.MALIGNMARK],[N.MARQUEE,l.MARQUEE],[N.MATH,l.MATH],[N.MENU,l.MENU],[N.META,l.META],[N.MGLYPH,l.MGLYPH],[N.MI,l.MI],[N.MO,l.MO],[N.MN,l.MN],[N.MS,l.MS],[N.MTEXT,l.MTEXT],[N.NAV,l.NAV],[N.NOBR,l.NOBR],[N.NOFRAMES,l.NOFRAMES],[N.NOEMBED,l.NOEMBED],[N.NOSCRIPT,l.NOSCRIPT],[N.OBJECT,l.OBJECT],[N.OL,l.OL],[N.OPTGROUP,l.OPTGROUP],[N.OPTION,l.OPTION],[N.P,l.P],[N.PARAM,l.PARAM],[N.PLAINTEXT,l.PLAINTEXT],[N.PRE,l.PRE],[N.RB,l.RB],[N.RP,l.RP],[N.RT,l.RT],[N.RTC,l.RTC],[N.RUBY,l.RUBY],[N.S,l.S],[N.SCRIPT,l.SCRIPT],[N.SEARCH,l.SEARCH],[N.SECTION,l.SECTION],[N.SELECT,l.SELECT],[N.SOURCE,l.SOURCE],[N.SMALL,l.SMALL],[N.SPAN,l.SPAN],[N.STRIKE,l.STRIKE],[N.STRONG,l.STRONG],[N.STYLE,l.STYLE],[N.SUB,l.SUB],[N.SUMMARY,l.SUMMARY],[N.SUP,l.SUP],[N.TABLE,l.TABLE],[N.TBODY,l.TBODY],[N.TEMPLATE,l.TEMPLATE],[N.TEXTAREA,l.TEXTAREA],[N.TFOOT,l.TFOOT],[N.TD,l.TD],[N.TH,l.TH],[N.THEAD,l.THEAD],[N.TITLE,l.TITLE],[N.TR,l.TR],[N.TRACK,l.TRACK],[N.TT,l.TT],[N.U,l.U],[N.UL,l.UL],[N.SVG,l.SVG],[N.VAR,l.VAR],[N.WBR,l.WBR],[N.XMP,l.XMP]]);function wn(e){var t;return(t=Bb.get(e))!==null&&t!==void 0?t:l.UNKNOWN}const D=l,Fb={[O.HTML]:new Set([D.ADDRESS,D.APPLET,D.AREA,D.ARTICLE,D.ASIDE,D.BASE,D.BASEFONT,D.BGSOUND,D.BLOCKQUOTE,D.BODY,D.BR,D.BUTTON,D.CAPTION,D.CENTER,D.COL,D.COLGROUP,D.DD,D.DETAILS,D.DIR,D.DIV,D.DL,D.DT,D.EMBED,D.FIELDSET,D.FIGCAPTION,D.FIGURE,D.FOOTER,D.FORM,D.FRAME,D.FRAMESET,D.H1,D.H2,D.H3,D.H4,D.H5,D.H6,D.HEAD,D.HEADER,D.HGROUP,D.HR,D.HTML,D.IFRAME,D.IMG,D.INPUT,D.LI,D.LINK,D.LISTING,D.MAIN,D.MARQUEE,D.MENU,D.META,D.NAV,D.NOEMBED,D.NOFRAMES,D.NOSCRIPT,D.OBJECT,D.OL,D.P,D.PARAM,D.PLAINTEXT,D.PRE,D.SCRIPT,D.SECTION,D.SELECT,D.SOURCE,D.STYLE,D.SUMMARY,D.TABLE,D.TBODY,D.TD,D.TEMPLATE,D.TEXTAREA,D.TFOOT,D.TH,D.THEAD,D.TITLE,D.TR,D.TRACK,D.UL,D.WBR,D.XMP]),[O.MATHML]:new Set([D.MI,D.MO,D.MN,D.MS,D.MTEXT,D.ANNOTATION_XML]),[O.SVG]:new Set([D.TITLE,D.FOREIGN_OBJECT,D.DESC]),[O.XLINK]:new Set,[O.XML]:new Set,[O.XMLNS]:new Set},ai=new Set([D.H1,D.H2,D.H3,D.H4,D.H5,D.H6]);N.STYLE,N.SCRIPT,N.XMP,N.IFRAME,N.NOEMBED,N.NOFRAMES,N.PLAINTEXT;var _;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(_||(_={}));const ke={DATA:_.DATA,RCDATA:_.RCDATA,RAWTEXT:_.RAWTEXT,SCRIPT_DATA:_.SCRIPT_DATA,PLAINTEXT:_.PLAINTEXT,CDATA_SECTION:_.CDATA_SECTION};function Hb(e){return e>=E.DIGIT_0&&e<=E.DIGIT_9}function Yn(e){return e>=E.LATIN_CAPITAL_A&&e<=E.LATIN_CAPITAL_Z}function Ub(e){return e>=E.LATIN_SMALL_A&&e<=E.LATIN_SMALL_Z}function $t(e){return Ub(e)||Yn(e)}function Wa(e){return $t(e)||Hb(e)}function Pr(e){return e+32}function Cu(e){return e===E.SPACE||e===E.LINE_FEED||e===E.TABULATION||e===E.FORM_FEED}function qa(e){return Cu(e)||e===E.SOLIDUS||e===E.GREATER_THAN_SIGN}function $b(e){return e===E.NULL?L.nullCharacterReference:e>1114111?L.characterReferenceOutsideUnicodeRange:Eu(e)?L.surrogateCharacterReference:_u(e)?L.noncharacterCharacterReference:bu(e)||e===E.CARRIAGE_RETURN?L.controlCharacterReference:null}class zb{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=_.DATA,this.returnState=_.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Ib(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Db(Nb,(r,i)=>{this.preprocessor.pos=this.entityStartPos+i-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(L.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(L.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const i=$b(r);i&&this._err(i,1)}}:void 0)}_err(t,n=0){var r,i;(i=(r=this.handler).onParseError)===null||i===void 0||i.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:le.START_TAG,tagName:"",tagID:l.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:le.END_TAG,tagName:"",tagID:l.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:le.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:le.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(Tu(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const i=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);i[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(L.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=wn(t.tagName),t.type===le.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(L.endTagWithAttributes),t.selfClosing&&this._err(L.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case le.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case le.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case le.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:le.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=Cu(t)?le.WHITESPACE_CHARACTER:t===E.NULL?le.NULL_CHARACTER:le.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(le.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=_.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Lt.Attribute:Lt.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===_.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===_.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===_.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case _.DATA:{this._stateData(t);break}case _.RCDATA:{this._stateRcdata(t);break}case _.RAWTEXT:{this._stateRawtext(t);break}case _.SCRIPT_DATA:{this._stateScriptData(t);break}case _.PLAINTEXT:{this._statePlaintext(t);break}case _.TAG_OPEN:{this._stateTagOpen(t);break}case _.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case _.TAG_NAME:{this._stateTagName(t);break}case _.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case _.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case _.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case _.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case _.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case _.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case _.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case _.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case _.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case _.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case _.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case _.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case _.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case _.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case _.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case _.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case _.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case _.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case _.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case _.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case _.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case _.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case _.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case _.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case _.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case _.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case _.BOGUS_COMMENT:{this._stateBogusComment(t);break}case _.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case _.COMMENT_START:{this._stateCommentStart(t);break}case _.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case _.COMMENT:{this._stateComment(t);break}case _.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case _.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case _.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case _.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case _.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case _.COMMENT_END:{this._stateCommentEnd(t);break}case _.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case _.DOCTYPE:{this._stateDoctype(t);break}case _.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case _.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case _.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case _.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case _.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case _.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case _.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case _.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case _.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case _.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case _.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case _.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case _.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case _.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case _.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case _.CDATA_SECTION:{this._stateCdataSection(t);break}case _.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case _.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case _.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case _.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case E.LESS_THAN_SIGN:{this.state=_.TAG_OPEN;break}case E.AMPERSAND:{this._startCharacterReference();break}case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitCodePoint(t);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case E.AMPERSAND:{this._startCharacterReference();break}case E.LESS_THAN_SIGN:{this.state=_.RCDATA_LESS_THAN_SIGN;break}case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(Se);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case E.LESS_THAN_SIGN:{this.state=_.RAWTEXT_LESS_THAN_SIGN;break}case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(Se);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case E.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_LESS_THAN_SIGN;break}case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(Se);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(Se);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if($t(t))this._createStartTagToken(),this.state=_.TAG_NAME,this._stateTagName(t);else switch(t){case E.EXCLAMATION_MARK:{this.state=_.MARKUP_DECLARATION_OPEN;break}case E.SOLIDUS:{this.state=_.END_TAG_OPEN;break}case E.QUESTION_MARK:{this._err(L.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=_.BOGUS_COMMENT,this._stateBogusComment(t);break}case E.EOF:{this._err(L.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(L.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=_.DATA,this._stateData(t)}}_stateEndTagOpen(t){if($t(t))this._createEndTagToken(),this.state=_.TAG_NAME,this._stateTagName(t);else switch(t){case E.GREATER_THAN_SIGN:{this._err(L.missingEndTagName),this.state=_.DATA;break}case E.EOF:{this._err(L.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(L.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=_.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=_.BEFORE_ATTRIBUTE_NAME;break}case E.SOLIDUS:{this.state=_.SELF_CLOSING_START_TAG;break}case E.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentTagToken();break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.tagName+=Se;break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Yn(t)?Pr(t):t)}}_stateRcdataLessThanSign(t){t===E.SOLIDUS?this.state=_.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=_.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){$t(t)?(this.state=_.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=_.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=_.BEFORE_ATTRIBUTE_NAME,!1;case E.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=_.SELF_CLOSING_START_TAG,!1;case E.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=_.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===E.SOLIDUS?this.state=_.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=_.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){$t(t)?(this.state=_.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=_.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case E.SOLIDUS:{this.state=_.SCRIPT_DATA_END_TAG_OPEN;break}case E.EXCLAMATION_MARK:{this.state=_.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=_.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){$t(t)?(this.state=_.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===E.HYPHEN_MINUS?(this.state=_.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===E.HYPHEN_MINUS?(this.state=_.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case E.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(Se);break}case E.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case E.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_ESCAPED,this._emitChars(Se);break}case E.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case E.HYPHEN_MINUS:{this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case E.GREATER_THAN_SIGN:{this.state=_.SCRIPT_DATA,this._emitChars(">");break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_ESCAPED,this._emitChars(Se);break}case E.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===E.SOLIDUS?this.state=_.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:$t(t)?(this._emitChars("<"),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){$t(t)?(this.state=_.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(qe.SCRIPT,!1)&&qa(this.preprocessor.peek(qe.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<qe.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case E.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(Se);break}case E.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case E.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Se);break}case E.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case E.HYPHEN_MINUS:{this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case E.GREATER_THAN_SIGN:{this.state=_.SCRIPT_DATA,this._emitChars(">");break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Se);break}case E.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===E.SOLIDUS?(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(qe.SCRIPT,!1)&&qa(this.preprocessor.peek(qe.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<qe.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=_.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.SOLIDUS:case E.GREATER_THAN_SIGN:case E.EOF:{this.state=_.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case E.EQUALS_SIGN:{this._err(L.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=_.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=_.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:case E.SOLIDUS:case E.GREATER_THAN_SIGN:case E.EOF:{this._leaveAttrName(),this.state=_.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case E.EQUALS_SIGN:{this._leaveAttrName(),this.state=_.BEFORE_ATTRIBUTE_VALUE;break}case E.QUOTATION_MARK:case E.APOSTROPHE:case E.LESS_THAN_SIGN:{this._err(L.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.name+=Se;break}default:this.currentAttr.name+=String.fromCodePoint(Yn(t)?Pr(t):t)}}_stateAfterAttributeName(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.SOLIDUS:{this.state=_.SELF_CLOSING_START_TAG;break}case E.EQUALS_SIGN:{this.state=_.BEFORE_ATTRIBUTE_VALUE;break}case E.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentTagToken();break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=_.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.QUOTATION_MARK:{this.state=_.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this.state=_.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(L.missingAttributeValue),this.state=_.DATA,this.emitCurrentTagToken();break}default:this.state=_.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case E.QUOTATION_MARK:{this.state=_.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case E.AMPERSAND:{this._startCharacterReference();break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.value+=Se;break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case E.APOSTROPHE:{this.state=_.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case E.AMPERSAND:{this._startCharacterReference();break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.value+=Se;break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this._leaveAttrValue(),this.state=_.BEFORE_ATTRIBUTE_NAME;break}case E.AMPERSAND:{this._startCharacterReference();break}case E.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=_.DATA,this.emitCurrentTagToken();break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.value+=Se;break}case E.QUOTATION_MARK:case E.APOSTROPHE:case E.LESS_THAN_SIGN:case E.EQUALS_SIGN:case E.GRAVE_ACCENT:{this._err(L.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this._leaveAttrValue(),this.state=_.BEFORE_ATTRIBUTE_NAME;break}case E.SOLIDUS:{this._leaveAttrValue(),this.state=_.SELF_CLOSING_START_TAG;break}case E.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=_.DATA,this.emitCurrentTagToken();break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this._err(L.missingWhitespaceBetweenAttributes),this.state=_.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case E.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=_.DATA,this.emitCurrentTagToken();break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this._err(L.unexpectedSolidusInTag),this.state=_.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case E.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentComment(n);break}case E.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.data+=Se;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(qe.DASH_DASH,!0)?(this._createCommentToken(qe.DASH_DASH.length+1),this.state=_.COMMENT_START):this._consumeSequenceIfMatch(qe.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(qe.DOCTYPE.length+1),this.state=_.DOCTYPE):this._consumeSequenceIfMatch(qe.CDATA_START,!0)?this.inForeignNode?this.state=_.CDATA_SECTION:(this._err(L.cdataInHtmlContent),this._createCommentToken(qe.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=_.BOGUS_COMMENT):this._ensureHibernation()||(this._err(L.incorrectlyOpenedComment),this._createCommentToken(2),this.state=_.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case E.HYPHEN_MINUS:{this.state=_.COMMENT_START_DASH;break}case E.GREATER_THAN_SIGN:{this._err(L.abruptClosingOfEmptyComment),this.state=_.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=_.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{this.state=_.COMMENT_END;break}case E.GREATER_THAN_SIGN:{this._err(L.abruptClosingOfEmptyComment),this.state=_.DATA,this.emitCurrentComment(n);break}case E.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=_.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{this.state=_.COMMENT_END_DASH;break}case E.LESS_THAN_SIGN:{n.data+="<",this.state=_.COMMENT_LESS_THAN_SIGN;break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.data+=Se;break}case E.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case E.EXCLAMATION_MARK:{n.data+="!",this.state=_.COMMENT_LESS_THAN_SIGN_BANG;break}case E.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=_.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===E.HYPHEN_MINUS?this.state=_.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=_.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===E.HYPHEN_MINUS?this.state=_.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=_.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==E.GREATER_THAN_SIGN&&t!==E.EOF&&this._err(L.nestedComment),this.state=_.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{this.state=_.COMMENT_END;break}case E.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=_.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case E.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentComment(n);break}case E.EXCLAMATION_MARK:{this.state=_.COMMENT_END_BANG;break}case E.HYPHEN_MINUS:{n.data+="-";break}case E.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=_.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{n.data+="--!",this.state=_.COMMENT_END_DASH;break}case E.GREATER_THAN_SIGN:{this._err(L.incorrectlyClosedComment),this.state=_.DATA,this.emitCurrentComment(n);break}case E.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=_.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=_.BEFORE_DOCTYPE_NAME;break}case E.GREATER_THAN_SIGN:{this.state=_.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case E.EOF:{this._err(L.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingWhitespaceBeforeDoctypeName),this.state=_.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Yn(t))this._createDoctypeToken(String.fromCharCode(Pr(t))),this.state=_.DOCTYPE_NAME;else switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.NULL:{this._err(L.unexpectedNullCharacter),this._createDoctypeToken(Se),this.state=_.DOCTYPE_NAME;break}case E.GREATER_THAN_SIGN:{this._err(L.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=_.DATA;break}case E.EOF:{this._err(L.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=_.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=_.AFTER_DOCTYPE_NAME;break}case E.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentDoctype(n);break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.name+=Se;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Yn(t)?Pr(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(qe.PUBLIC,!1)?this.state=_.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(qe.SYSTEM,!1)?this.state=_.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(L.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=_.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case E.QUOTATION_MARK:{this._err(L.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this._err(L.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(L.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.QUOTATION_MARK:{n.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{n.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(L.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case E.QUOTATION_MARK:{this.state=_.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.publicId+=Se;break}case E.GREATER_THAN_SIGN:{this._err(L.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=_.DATA;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case E.APOSTROPHE:{this.state=_.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.publicId+=Se;break}case E.GREATER_THAN_SIGN:{this._err(L.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=_.DATA;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=_.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case E.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentDoctype(n);break}case E.QUOTATION_MARK:{this._err(L.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this._err(L.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=_.DATA;break}case E.QUOTATION_MARK:{n.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{n.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=_.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case E.QUOTATION_MARK:{this._err(L.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this._err(L.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(L.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.QUOTATION_MARK:{n.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{n.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(L.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case E.QUOTATION_MARK:{this.state=_.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.systemId+=Se;break}case E.GREATER_THAN_SIGN:{this._err(L.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=_.DATA;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case E.APOSTROPHE:{this.state=_.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.systemId+=Se;break}case E.GREATER_THAN_SIGN:{this._err(L.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=_.DATA;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=_.DATA;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case E.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=_.DATA;break}case E.NULL:{this._err(L.unexpectedNullCharacter);break}case E.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case E.RIGHT_SQUARE_BRACKET:{this.state=_.CDATA_SECTION_BRACKET;break}case E.EOF:{this._err(L.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===E.RIGHT_SQUARE_BRACKET?this.state=_.CDATA_SECTION_END:(this._emitChars("]"),this.state=_.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case E.GREATER_THAN_SIGN:{this.state=_.DATA;break}case E.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=_.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(E.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Wa(this.preprocessor.peek(1))?_.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Wa(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===E.SEMICOLON&&this._err(L.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Su=new Set([l.DD,l.DT,l.LI,l.OPTGROUP,l.OPTION,l.P,l.RB,l.RP,l.RT,l.RTC]),Va=new Set([...Su,l.CAPTION,l.COLGROUP,l.TBODY,l.TD,l.TFOOT,l.TH,l.THEAD,l.TR]),Yr=new Set([l.APPLET,l.CAPTION,l.HTML,l.MARQUEE,l.OBJECT,l.TABLE,l.TD,l.TEMPLATE,l.TH]),Wb=new Set([...Yr,l.OL,l.UL]),qb=new Set([...Yr,l.BUTTON]),Ya=new Set([l.ANNOTATION_XML,l.MI,l.MN,l.MO,l.MS,l.MTEXT]),Ga=new Set([l.DESC,l.FOREIGN_OBJECT,l.TITLE]),Vb=new Set([l.TR,l.TEMPLATE,l.HTML]),Yb=new Set([l.TBODY,l.TFOOT,l.THEAD,l.TEMPLATE,l.HTML]),Gb=new Set([l.TABLE,l.TEMPLATE,l.HTML]),Xb=new Set([l.TD,l.TH]);class Qb{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=l.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===l.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===O.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const i=this._indexOf(t)+1;this.items.splice(i,0,n),this.tagIDs.splice(i,0,r),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==O.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(ai,O.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Xb,O.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(Gb,O.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Yb,O.HTML)}clearBackToTableRowContext(){this.clearBackTo(Vb,O.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===l.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===l.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const i=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case O.HTML:{if(i===t)return!0;if(n.has(i))return!1;break}case O.SVG:{if(Ga.has(i))return!1;break}case O.MATHML:{if(Ya.has(i))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Yr)}hasInListItemScope(t){return this.hasInDynamicScope(t,Wb)}hasInButtonScope(t){return this.hasInDynamicScope(t,qb)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case O.HTML:{if(ai.has(n))return!0;if(Yr.has(n))return!1;break}case O.SVG:{if(Ga.has(n))return!1;break}case O.MATHML:{if(Ya.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===O.HTML)switch(this.tagIDs[n]){case t:return!0;case l.TABLE:case l.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===O.HTML)switch(this.tagIDs[t]){case l.TBODY:case l.THEAD:case l.TFOOT:return!0;case l.TABLE:case l.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===O.HTML)switch(this.tagIDs[n]){case t:return!0;case l.OPTION:case l.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Su.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Va.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&Va.has(this.currentTagId);)this.pop()}}const Ms=3;var Tt;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Tt||(Tt={}));const Xa={type:Tt.Marker};class Kb{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],i=n.length,a=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let u=0;u<this.entries.length;u++){const c=this.entries[u];if(c.type===Tt.Marker)break;const{element:d}=c;if(this.treeAdapter.getTagName(d)===a&&this.treeAdapter.getNamespaceURI(d)===o){const m=this.treeAdapter.getAttrList(d);m.length===i&&r.push({idx:u,attrs:m})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Ms)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Ms)return;const i=new Map(n.map(o=>[o.name,o.value]));let a=0;for(let o=0;o<r.length;o++){const u=r[o];u.attrs.every(c=>i.get(c.name)===c.value)&&(a+=1,a>=Ms&&this.entries.splice(u.idx,1))}}insertMarker(){this.entries.unshift(Xa)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Tt.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Tt.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(Xa);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Tt.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Tt.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Tt.Element&&n.element===t)}}const zt={createDocument(){return{nodeName:"#document",mode:nt.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const i=e.childNodes.find(a=>a.nodeName==="#documentType");if(i)i.name=t,i.publicId=n,i.systemId=r;else{const a={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};zt.appendChild(e,a)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(zt.isTextNode(n)){n.value+=t;return}}zt.appendChild(e,zt.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&zt.isTextNode(r)?r.value+=t:zt.insertBefore(e,zt.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},yu="html",Zb="about:legacy-compat",Jb="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Ru=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],e_=[...Ru,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],t_=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),ku=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],n_=[...ku,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Qa(e,t){return t.some(n=>e.startsWith(n))}function r_(e){return e.name===yu&&e.publicId===null&&(e.systemId===null||e.systemId===Zb)}function s_(e){if(e.name!==yu)return nt.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===Jb)return nt.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),t_.has(n))return nt.QUIRKS;let r=t===null?e_:Ru;if(Qa(n,r))return nt.QUIRKS;if(r=t===null?ku:n_,Qa(n,r))return nt.LIMITED_QUIRKS}return nt.NO_QUIRKS}const Ka={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},i_="definitionurl",a_="definitionURL",o_=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),u_=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:O.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:O.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:O.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:O.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:O.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:O.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:O.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:O.XML}],["xml:space",{prefix:"xml",name:"space",namespace:O.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:O.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:O.XMLNS}]]),l_=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),c_=new Set([l.B,l.BIG,l.BLOCKQUOTE,l.BODY,l.BR,l.CENTER,l.CODE,l.DD,l.DIV,l.DL,l.DT,l.EM,l.EMBED,l.H1,l.H2,l.H3,l.H4,l.H5,l.H6,l.HEAD,l.HR,l.I,l.IMG,l.LI,l.LISTING,l.MENU,l.META,l.NOBR,l.OL,l.P,l.PRE,l.RUBY,l.S,l.SMALL,l.SPAN,l.STRONG,l.STRIKE,l.SUB,l.SUP,l.TABLE,l.TT,l.U,l.UL,l.VAR]);function d_(e){const t=e.tagID;return t===l.FONT&&e.attrs.some(({name:r})=>r===sn.COLOR||r===sn.SIZE||r===sn.FACE)||c_.has(t)}function Au(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===i_){e.attrs[t].name=a_;break}}function Iu(e){for(let t=0;t<e.attrs.length;t++){const n=o_.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Ai(e){for(let t=0;t<e.attrs.length;t++){const n=u_.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function h_(e){const t=l_.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=wn(e.tagName))}function m_(e,t){return t===O.MATHML&&(e===l.MI||e===l.MO||e===l.MN||e===l.MS||e===l.MTEXT)}function p_(e,t,n){if(t===O.MATHML&&e===l.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===sn.ENCODING){const i=n[r].value.toLowerCase();return i===Ka.TEXT_HTML||i===Ka.APPLICATION_XML}}return t===O.SVG&&(e===l.FOREIGN_OBJECT||e===l.DESC||e===l.TITLE)}function f_(e,t,n,r){return(!r||r===O.HTML)&&p_(e,t,n)||(!r||r===O.MATHML)&&m_(e,t)}const x_="hidden",g_=8,E_=3;var T;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(T||(T={}));const b_={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Nu=new Set([l.TABLE,l.TBODY,l.TFOOT,l.THEAD,l.TR]),Za={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:zt,onParseError:null};class Ja{constructor(t,n,r=null,i=null){this.fragmentContext=r,this.scriptHandler=i,this.currentToken=null,this.stopped=!1,this.insertionMode=T.INITIAL,this.originalInsertionMode=T.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Za,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new zb(this.options,this),this.activeFormattingElements=new Kb(this.treeAdapter),this.fragmentContextID=r?wn(this.treeAdapter.getTagName(r)):l.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new Qb(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...Za,...n};t??(t=r.treeAdapter.createElement(N.TEMPLATE,O.HTML,[]));const i=r.treeAdapter.createElement("documentmock",O.HTML,[]),a=new this(r,i,t);return a.fragmentContextID===l.TEMPLATE&&a.tmplInsertionModeStack.unshift(T.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var i;if(!this.onParseError)return;const a=(i=t.location)!==null&&i!==void 0?i:b_,o={code:n,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:r?a.startLine:a.endLine,endCol:r?a.startCol:a.endCol,endOffset:r?a.startOffset:a.endOffset};this.onParseError(o)}onItemPush(t,n,r){var i,a;(a=(i=this.treeAdapter).onItemPush)===null||a===void 0||a.call(i,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(r=this.treeAdapter).onItemPop)===null||i===void 0||i.call(r,t,this.openElements.current),n){let a,o;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,o=this.fragmentContextID):{current:a,currentTagId:o}=this.openElements,this._setContextModes(a,o)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===O.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,O.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=T.TEXT}switchToPlaintextParsing(){this.insertionMode=T.TEXT,this.originalInsertionMode=T.IN_BODY,this.tokenizer.state=ke.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===N.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==O.HTML))switch(this.fragmentContextID){case l.TITLE:case l.TEXTAREA:{this.tokenizer.state=ke.RCDATA;break}case l.STYLE:case l.XMP:case l.IFRAME:case l.NOEMBED:case l.NOFRAMES:case l.NOSCRIPT:{this.tokenizer.state=ke.RAWTEXT;break}case l.SCRIPT:{this.tokenizer.state=ke.SCRIPT_DATA;break}case l.PLAINTEXT:{this.tokenizer.state=ke.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,i),t.location){const o=this.treeAdapter.getChildNodes(this.document).find(u=>this.treeAdapter.isDocumentTypeNode(u));o&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,O.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,O.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(N.HTML,O.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,l.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const i=this.treeAdapter.getChildNodes(n),a=r?i.lastIndexOf(r):i.length,o=i[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:c,endCol:d,endOffset:m}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:c,endCol:d,endOffset:m})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,i=this.treeAdapter.getTagName(t),a=n.type===le.END_TAG&&i===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,a)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===l.SVG&&this.treeAdapter.getTagName(n)===N.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===O.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===l.MGLYPH||t.tagID===l.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,O.HTML)}_processToken(t){switch(t.type){case le.CHARACTER:{this.onCharacter(t);break}case le.NULL_CHARACTER:{this.onNullCharacter(t);break}case le.COMMENT:{this.onComment(t);break}case le.DOCTYPE:{this.onDoctype(t);break}case le.START_TAG:{this._processStartTag(t);break}case le.END_TAG:{this.onEndTag(t);break}case le.EOF:{this.onEof(t);break}case le.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const i=this.treeAdapter.getNamespaceURI(n),a=this.treeAdapter.getAttrList(n);return f_(t,i,a,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(i=>i.type===Tt.Marker||this.openElements.contains(i.element)),r=n===-1?t-1:n-1;for(let i=r;i>=0;i--){const a=this.activeFormattingElements.entries[i];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=T.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(l.P),this.openElements.popUntilTagNamePopped(l.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case l.TR:{this.insertionMode=T.IN_ROW;return}case l.TBODY:case l.THEAD:case l.TFOOT:{this.insertionMode=T.IN_TABLE_BODY;return}case l.CAPTION:{this.insertionMode=T.IN_CAPTION;return}case l.COLGROUP:{this.insertionMode=T.IN_COLUMN_GROUP;return}case l.TABLE:{this.insertionMode=T.IN_TABLE;return}case l.BODY:{this.insertionMode=T.IN_BODY;return}case l.FRAMESET:{this.insertionMode=T.IN_FRAMESET;return}case l.SELECT:{this._resetInsertionModeForSelect(t);return}case l.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case l.HTML:{this.insertionMode=this.headElement?T.AFTER_HEAD:T.BEFORE_HEAD;return}case l.TD:case l.TH:{if(t>0){this.insertionMode=T.IN_CELL;return}break}case l.HEAD:{if(t>0){this.insertionMode=T.IN_HEAD;return}break}}this.insertionMode=T.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===l.TEMPLATE)break;if(r===l.TABLE){this.insertionMode=T.IN_SELECT_IN_TABLE;return}}this.insertionMode=T.IN_SELECT}_isElementCausesFosterParenting(t){return Nu.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case l.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===O.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case l.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return Fb[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){XT(this,t);return}switch(this.insertionMode){case T.INITIAL:{zn(this,t);break}case T.BEFORE_HTML:{Kn(this,t);break}case T.BEFORE_HEAD:{Zn(this,t);break}case T.IN_HEAD:{Jn(this,t);break}case T.IN_HEAD_NO_SCRIPT:{er(this,t);break}case T.AFTER_HEAD:{tr(this,t);break}case T.IN_BODY:case T.IN_CAPTION:case T.IN_CELL:case T.IN_TEMPLATE:{ju(this,t);break}case T.TEXT:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{Bs(this,t);break}case T.IN_TABLE_TEXT:{Mu(this,t);break}case T.IN_COLUMN_GROUP:{Gr(this,t);break}case T.AFTER_BODY:{Xr(this,t);break}case T.AFTER_AFTER_BODY:{$r(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){GT(this,t);return}switch(this.insertionMode){case T.INITIAL:{zn(this,t);break}case T.BEFORE_HTML:{Kn(this,t);break}case T.BEFORE_HEAD:{Zn(this,t);break}case T.IN_HEAD:{Jn(this,t);break}case T.IN_HEAD_NO_SCRIPT:{er(this,t);break}case T.AFTER_HEAD:{tr(this,t);break}case T.TEXT:{this._insertCharacters(t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{Bs(this,t);break}case T.IN_COLUMN_GROUP:{Gr(this,t);break}case T.AFTER_BODY:{Xr(this,t);break}case T.AFTER_AFTER_BODY:{$r(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){oi(this,t);return}switch(this.insertionMode){case T.INITIAL:case T.BEFORE_HTML:case T.BEFORE_HEAD:case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:case T.IN_BODY:case T.IN_TABLE:case T.IN_CAPTION:case T.IN_COLUMN_GROUP:case T.IN_TABLE_BODY:case T.IN_ROW:case T.IN_CELL:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:case T.IN_TEMPLATE:case T.IN_FRAMESET:case T.AFTER_FRAMESET:{oi(this,t);break}case T.IN_TABLE_TEXT:{Wn(this,t);break}case T.AFTER_BODY:{k_(this,t);break}case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{A_(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case T.INITIAL:{I_(this,t);break}case T.BEFORE_HEAD:case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:{this._err(t,L.misplacedDoctype);break}case T.IN_TABLE_TEXT:{Wn(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,L.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?QT(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case T.INITIAL:{zn(this,t);break}case T.BEFORE_HTML:{N_(this,t);break}case T.BEFORE_HEAD:{j_(this,t);break}case T.IN_HEAD:{ft(this,t);break}case T.IN_HEAD_NO_SCRIPT:{P_(this,t);break}case T.AFTER_HEAD:{D_(this,t);break}case T.IN_BODY:{He(this,t);break}case T.IN_TABLE:{yn(this,t);break}case T.IN_TABLE_TEXT:{Wn(this,t);break}case T.IN_CAPTION:{LT(this,t);break}case T.IN_COLUMN_GROUP:{wi(this,t);break}case T.IN_TABLE_BODY:{os(this,t);break}case T.IN_ROW:{us(this,t);break}case T.IN_CELL:{OT(this,t);break}case T.IN_SELECT:{Hu(this,t);break}case T.IN_SELECT_IN_TABLE:{MT(this,t);break}case T.IN_TEMPLATE:{FT(this,t);break}case T.AFTER_BODY:{UT(this,t);break}case T.IN_FRAMESET:{$T(this,t);break}case T.AFTER_FRAMESET:{WT(this,t);break}case T.AFTER_AFTER_BODY:{VT(this,t);break}case T.AFTER_AFTER_FRAMESET:{YT(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?KT(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case T.INITIAL:{zn(this,t);break}case T.BEFORE_HTML:{w_(this,t);break}case T.BEFORE_HEAD:{L_(this,t);break}case T.IN_HEAD:{v_(this,t);break}case T.IN_HEAD_NO_SCRIPT:{O_(this,t);break}case T.AFTER_HEAD:{M_(this,t);break}case T.IN_BODY:{as(this,t);break}case T.TEXT:{CT(this,t);break}case T.IN_TABLE:{ir(this,t);break}case T.IN_TABLE_TEXT:{Wn(this,t);break}case T.IN_CAPTION:{vT(this,t);break}case T.IN_COLUMN_GROUP:{PT(this,t);break}case T.IN_TABLE_BODY:{ui(this,t);break}case T.IN_ROW:{Fu(this,t);break}case T.IN_CELL:{DT(this,t);break}case T.IN_SELECT:{Uu(this,t);break}case T.IN_SELECT_IN_TABLE:{BT(this,t);break}case T.IN_TEMPLATE:{HT(this,t);break}case T.AFTER_BODY:{zu(this,t);break}case T.IN_FRAMESET:{zT(this,t);break}case T.AFTER_FRAMESET:{qT(this,t);break}case T.AFTER_AFTER_BODY:{$r(this,t);break}}}onEof(t){switch(this.insertionMode){case T.INITIAL:{zn(this,t);break}case T.BEFORE_HTML:{Kn(this,t);break}case T.BEFORE_HEAD:{Zn(this,t);break}case T.IN_HEAD:{Jn(this,t);break}case T.IN_HEAD_NO_SCRIPT:{er(this,t);break}case T.AFTER_HEAD:{tr(this,t);break}case T.IN_BODY:case T.IN_TABLE:case T.IN_CAPTION:case T.IN_COLUMN_GROUP:case T.IN_TABLE_BODY:case T.IN_ROW:case T.IN_CELL:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:{Ou(this,t);break}case T.TEXT:{ST(this,t);break}case T.IN_TABLE_TEXT:{Wn(this,t);break}case T.IN_TEMPLATE:{$u(this,t);break}case T.AFTER_BODY:case T.IN_FRAMESET:case T.AFTER_FRAMESET:case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{Ni(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===E.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:case T.TEXT:case T.IN_COLUMN_GROUP:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:case T.IN_FRAMESET:case T.AFTER_FRAMESET:{this._insertCharacters(t);break}case T.IN_BODY:case T.IN_CAPTION:case T.IN_CELL:case T.IN_TEMPLATE:case T.AFTER_BODY:case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{wu(this,t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{Bs(this,t);break}case T.IN_TABLE_TEXT:{Du(this,t);break}}}}function __(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Pu(e,t),n}function T_(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function C_(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==n;a++,o=i){i=e.openElements.getCommonAncestor(o);const u=e.activeFormattingElements.getElementEntry(o),c=u&&a>=E_;!u||c?(c&&e.activeFormattingElements.removeEntry(u),e.openElements.remove(o)):(o=S_(e,u),r===t&&(e.activeFormattingElements.bookmark=u),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function S_(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function y_(e,t,n){const r=e.treeAdapter.getTagName(t),i=wn(r);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{const a=e.treeAdapter.getNamespaceURI(t);i===l.TEMPLATE&&a===O.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function R_(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}function Ii(e,t){for(let n=0;n<g_;n++){const r=__(e,t);if(!r)break;const i=T_(e,r);if(!i)break;e.activeFormattingElements.bookmark=r;const a=C_(e,i,r.element),o=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(a),o&&y_(e,o,a),R_(e,i,r)}}function oi(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function k_(e,t){e._appendCommentNode(t,e.openElements.items[0])}function A_(e,t){e._appendCommentNode(t,e.document)}function Ni(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(r);if(i&&!i.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const a=e.openElements.items[1],o=e.treeAdapter.getNodeSourceCodeLocation(a);o&&!o.endTag&&e._setEndLocation(a,t)}}}}function I_(e,t){e._setDocumentType(t);const n=t.forceQuirks?nt.QUIRKS:s_(t);r_(t)||e._err(t,L.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=T.BEFORE_HTML}function zn(e,t){e._err(t,L.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,nt.QUIRKS),e.insertionMode=T.BEFORE_HTML,e._processToken(t)}function N_(e,t){t.tagID===l.HTML?(e._insertElement(t,O.HTML),e.insertionMode=T.BEFORE_HEAD):Kn(e,t)}function w_(e,t){const n=t.tagID;(n===l.HTML||n===l.HEAD||n===l.BODY||n===l.BR)&&Kn(e,t)}function Kn(e,t){e._insertFakeRootElement(),e.insertionMode=T.BEFORE_HEAD,e._processToken(t)}function j_(e,t){switch(t.tagID){case l.HTML:{He(e,t);break}case l.HEAD:{e._insertElement(t,O.HTML),e.headElement=e.openElements.current,e.insertionMode=T.IN_HEAD;break}default:Zn(e,t)}}function L_(e,t){const n=t.tagID;n===l.HEAD||n===l.BODY||n===l.HTML||n===l.BR?Zn(e,t):e._err(t,L.endTagWithoutMatchingOpenElement)}function Zn(e,t){e._insertFakeElement(N.HEAD,l.HEAD),e.headElement=e.openElements.current,e.insertionMode=T.IN_HEAD,e._processToken(t)}function ft(e,t){switch(t.tagID){case l.HTML:{He(e,t);break}case l.BASE:case l.BASEFONT:case l.BGSOUND:case l.LINK:case l.META:{e._appendElement(t,O.HTML),t.ackSelfClosing=!0;break}case l.TITLE:{e._switchToTextParsing(t,ke.RCDATA);break}case l.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,ke.RAWTEXT):(e._insertElement(t,O.HTML),e.insertionMode=T.IN_HEAD_NO_SCRIPT);break}case l.NOFRAMES:case l.STYLE:{e._switchToTextParsing(t,ke.RAWTEXT);break}case l.SCRIPT:{e._switchToTextParsing(t,ke.SCRIPT_DATA);break}case l.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=T.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(T.IN_TEMPLATE);break}case l.HEAD:{e._err(t,L.misplacedStartTagForHeadElement);break}default:Jn(e,t)}}function v_(e,t){switch(t.tagID){case l.HEAD:{e.openElements.pop(),e.insertionMode=T.AFTER_HEAD;break}case l.BODY:case l.BR:case l.HTML:{Jn(e,t);break}case l.TEMPLATE:{ln(e,t);break}default:e._err(t,L.endTagWithoutMatchingOpenElement)}}function ln(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==l.TEMPLATE&&e._err(t,L.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(l.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,L.endTagWithoutMatchingOpenElement)}function Jn(e,t){e.openElements.pop(),e.insertionMode=T.AFTER_HEAD,e._processToken(t)}function P_(e,t){switch(t.tagID){case l.HTML:{He(e,t);break}case l.BASEFONT:case l.BGSOUND:case l.HEAD:case l.LINK:case l.META:case l.NOFRAMES:case l.STYLE:{ft(e,t);break}case l.NOSCRIPT:{e._err(t,L.nestedNoscriptInHead);break}default:er(e,t)}}function O_(e,t){switch(t.tagID){case l.NOSCRIPT:{e.openElements.pop(),e.insertionMode=T.IN_HEAD;break}case l.BR:{er(e,t);break}default:e._err(t,L.endTagWithoutMatchingOpenElement)}}function er(e,t){const n=t.type===le.EOF?L.openElementsLeftAfterEof:L.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=T.IN_HEAD,e._processToken(t)}function D_(e,t){switch(t.tagID){case l.HTML:{He(e,t);break}case l.BODY:{e._insertElement(t,O.HTML),e.framesetOk=!1,e.insertionMode=T.IN_BODY;break}case l.FRAMESET:{e._insertElement(t,O.HTML),e.insertionMode=T.IN_FRAMESET;break}case l.BASE:case l.BASEFONT:case l.BGSOUND:case l.LINK:case l.META:case l.NOFRAMES:case l.SCRIPT:case l.STYLE:case l.TEMPLATE:case l.TITLE:{e._err(t,L.abandonedHeadElementChild),e.openElements.push(e.headElement,l.HEAD),ft(e,t),e.openElements.remove(e.headElement);break}case l.HEAD:{e._err(t,L.misplacedStartTagForHeadElement);break}default:tr(e,t)}}function M_(e,t){switch(t.tagID){case l.BODY:case l.HTML:case l.BR:{tr(e,t);break}case l.TEMPLATE:{ln(e,t);break}default:e._err(t,L.endTagWithoutMatchingOpenElement)}}function tr(e,t){e._insertFakeElement(N.BODY,l.BODY),e.insertionMode=T.IN_BODY,is(e,t)}function is(e,t){switch(t.type){case le.CHARACTER:{ju(e,t);break}case le.WHITESPACE_CHARACTER:{wu(e,t);break}case le.COMMENT:{oi(e,t);break}case le.START_TAG:{He(e,t);break}case le.END_TAG:{as(e,t);break}case le.EOF:{Ou(e,t);break}}}function wu(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ju(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function B_(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function F_(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function H_(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,O.HTML),e.insertionMode=T.IN_FRAMESET)}function U_(e,t){e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._insertElement(t,O.HTML)}function $_(e,t){e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&ai.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,O.HTML)}function z_(e,t){e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._insertElement(t,O.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function W_(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._insertElement(t,O.HTML),n||(e.formElement=e.openElements.current))}function q_(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.tagIDs[r];if(n===l.LI&&i===l.LI||(n===l.DD||n===l.DT)&&(i===l.DD||i===l.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==l.ADDRESS&&i!==l.DIV&&i!==l.P&&e._isSpecialElement(e.openElements.items[r],i))break}e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._insertElement(t,O.HTML)}function V_(e,t){e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._insertElement(t,O.HTML),e.tokenizer.state=ke.PLAINTEXT}function Y_(e,t){e.openElements.hasInScope(l.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(l.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.framesetOk=!1}function G_(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(N.A);n&&(Ii(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function X_(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Q_(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(l.NOBR)&&(Ii(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,O.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function K_(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Z_(e,t){e.treeAdapter.getDocumentMode(e.document)!==nt.QUIRKS&&e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._insertElement(t,O.HTML),e.framesetOk=!1,e.insertionMode=T.IN_TABLE}function Lu(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,O.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function vu(e){const t=Tu(e,sn.TYPE);return t!=null&&t.toLowerCase()===x_}function J_(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,O.HTML),vu(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function eT(e,t){e._appendElement(t,O.HTML),t.ackSelfClosing=!0}function tT(e,t){e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._appendElement(t,O.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function nT(e,t){t.tagName=N.IMG,t.tagID=l.IMG,Lu(e,t)}function rT(e,t){e._insertElement(t,O.HTML),e.skipNextNewLine=!0,e.tokenizer.state=ke.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=T.TEXT}function sT(e,t){e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,ke.RAWTEXT)}function iT(e,t){e.framesetOk=!1,e._switchToTextParsing(t,ke.RAWTEXT)}function eo(e,t){e._switchToTextParsing(t,ke.RAWTEXT)}function aT(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===T.IN_TABLE||e.insertionMode===T.IN_CAPTION||e.insertionMode===T.IN_TABLE_BODY||e.insertionMode===T.IN_ROW||e.insertionMode===T.IN_CELL?T.IN_SELECT_IN_TABLE:T.IN_SELECT}function oT(e,t){e.openElements.currentTagId===l.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML)}function uT(e,t){e.openElements.hasInScope(l.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,O.HTML)}function lT(e,t){e.openElements.hasInScope(l.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(l.RTC),e._insertElement(t,O.HTML)}function cT(e,t){e._reconstructActiveFormattingElements(),Au(t),Ai(t),t.selfClosing?e._appendElement(t,O.MATHML):e._insertElement(t,O.MATHML),t.ackSelfClosing=!0}function dT(e,t){e._reconstructActiveFormattingElements(),Iu(t),Ai(t),t.selfClosing?e._appendElement(t,O.SVG):e._insertElement(t,O.SVG),t.ackSelfClosing=!0}function to(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML)}function He(e,t){switch(t.tagID){case l.I:case l.S:case l.B:case l.U:case l.EM:case l.TT:case l.BIG:case l.CODE:case l.FONT:case l.SMALL:case l.STRIKE:case l.STRONG:{X_(e,t);break}case l.A:{G_(e,t);break}case l.H1:case l.H2:case l.H3:case l.H4:case l.H5:case l.H6:{$_(e,t);break}case l.P:case l.DL:case l.OL:case l.UL:case l.DIV:case l.DIR:case l.NAV:case l.MAIN:case l.MENU:case l.ASIDE:case l.CENTER:case l.FIGURE:case l.FOOTER:case l.HEADER:case l.HGROUP:case l.DIALOG:case l.DETAILS:case l.ADDRESS:case l.ARTICLE:case l.SEARCH:case l.SECTION:case l.SUMMARY:case l.FIELDSET:case l.BLOCKQUOTE:case l.FIGCAPTION:{U_(e,t);break}case l.LI:case l.DD:case l.DT:{q_(e,t);break}case l.BR:case l.IMG:case l.WBR:case l.AREA:case l.EMBED:case l.KEYGEN:{Lu(e,t);break}case l.HR:{tT(e,t);break}case l.RB:case l.RTC:{uT(e,t);break}case l.RT:case l.RP:{lT(e,t);break}case l.PRE:case l.LISTING:{z_(e,t);break}case l.XMP:{sT(e,t);break}case l.SVG:{dT(e,t);break}case l.HTML:{B_(e,t);break}case l.BASE:case l.LINK:case l.META:case l.STYLE:case l.TITLE:case l.SCRIPT:case l.BGSOUND:case l.BASEFONT:case l.TEMPLATE:{ft(e,t);break}case l.BODY:{F_(e,t);break}case l.FORM:{W_(e,t);break}case l.NOBR:{Q_(e,t);break}case l.MATH:{cT(e,t);break}case l.TABLE:{Z_(e,t);break}case l.INPUT:{J_(e,t);break}case l.PARAM:case l.TRACK:case l.SOURCE:{eT(e,t);break}case l.IMAGE:{nT(e,t);break}case l.BUTTON:{Y_(e,t);break}case l.APPLET:case l.OBJECT:case l.MARQUEE:{K_(e,t);break}case l.IFRAME:{iT(e,t);break}case l.SELECT:{aT(e,t);break}case l.OPTION:case l.OPTGROUP:{oT(e,t);break}case l.NOEMBED:case l.NOFRAMES:{eo(e,t);break}case l.FRAMESET:{H_(e,t);break}case l.TEXTAREA:{rT(e,t);break}case l.NOSCRIPT:{e.options.scriptingEnabled?eo(e,t):to(e,t);break}case l.PLAINTEXT:{V_(e,t);break}case l.COL:case l.TH:case l.TD:case l.TR:case l.HEAD:case l.FRAME:case l.TBODY:case l.TFOOT:case l.THEAD:case l.CAPTION:case l.COLGROUP:break;default:to(e,t)}}function hT(e,t){if(e.openElements.hasInScope(l.BODY)&&(e.insertionMode=T.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function mT(e,t){e.openElements.hasInScope(l.BODY)&&(e.insertionMode=T.AFTER_BODY,zu(e,t))}function pT(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function fT(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(l.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(l.FORM):n&&e.openElements.remove(n))}function xT(e){e.openElements.hasInButtonScope(l.P)||e._insertFakeElement(N.P,l.P),e._closePElement()}function gT(e){e.openElements.hasInListItemScope(l.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(l.LI),e.openElements.popUntilTagNamePopped(l.LI))}function ET(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function bT(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function _T(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function TT(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(N.BR,l.BR),e.openElements.pop(),e.framesetOk=!1}function Pu(e,t){const n=t.tagName,r=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const a=e.openElements.items[i],o=e.openElements.tagIDs[i];if(r===o&&(r!==l.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(a,o))break}}function as(e,t){switch(t.tagID){case l.A:case l.B:case l.I:case l.S:case l.U:case l.EM:case l.TT:case l.BIG:case l.CODE:case l.FONT:case l.NOBR:case l.SMALL:case l.STRIKE:case l.STRONG:{Ii(e,t);break}case l.P:{xT(e);break}case l.DL:case l.UL:case l.OL:case l.DIR:case l.DIV:case l.NAV:case l.PRE:case l.MAIN:case l.MENU:case l.ASIDE:case l.BUTTON:case l.CENTER:case l.FIGURE:case l.FOOTER:case l.HEADER:case l.HGROUP:case l.DIALOG:case l.ADDRESS:case l.ARTICLE:case l.DETAILS:case l.SEARCH:case l.SECTION:case l.SUMMARY:case l.LISTING:case l.FIELDSET:case l.BLOCKQUOTE:case l.FIGCAPTION:{pT(e,t);break}case l.LI:{gT(e);break}case l.DD:case l.DT:{ET(e,t);break}case l.H1:case l.H2:case l.H3:case l.H4:case l.H5:case l.H6:{bT(e);break}case l.BR:{TT(e);break}case l.BODY:{hT(e,t);break}case l.HTML:{mT(e,t);break}case l.FORM:{fT(e);break}case l.APPLET:case l.OBJECT:case l.MARQUEE:{_T(e,t);break}case l.TEMPLATE:{ln(e,t);break}default:Pu(e,t)}}function Ou(e,t){e.tmplInsertionModeStack.length>0?$u(e,t):Ni(e,t)}function CT(e,t){var n;t.tagID===l.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function ST(e,t){e._err(t,L.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Bs(e,t){if(e.openElements.currentTagId!==void 0&&Nu.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=T.IN_TABLE_TEXT,t.type){case le.CHARACTER:{Mu(e,t);break}case le.WHITESPACE_CHARACTER:{Du(e,t);break}}else fr(e,t)}function yT(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,O.HTML),e.insertionMode=T.IN_CAPTION}function RT(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,O.HTML),e.insertionMode=T.IN_COLUMN_GROUP}function kT(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(N.COLGROUP,l.COLGROUP),e.insertionMode=T.IN_COLUMN_GROUP,wi(e,t)}function AT(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,O.HTML),e.insertionMode=T.IN_TABLE_BODY}function IT(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(N.TBODY,l.TBODY),e.insertionMode=T.IN_TABLE_BODY,os(e,t)}function NT(e,t){e.openElements.hasInTableScope(l.TABLE)&&(e.openElements.popUntilTagNamePopped(l.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function wT(e,t){vu(t)?e._appendElement(t,O.HTML):fr(e,t),t.ackSelfClosing=!0}function jT(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,O.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function yn(e,t){switch(t.tagID){case l.TD:case l.TH:case l.TR:{IT(e,t);break}case l.STYLE:case l.SCRIPT:case l.TEMPLATE:{ft(e,t);break}case l.COL:{kT(e,t);break}case l.FORM:{jT(e,t);break}case l.TABLE:{NT(e,t);break}case l.TBODY:case l.TFOOT:case l.THEAD:{AT(e,t);break}case l.INPUT:{wT(e,t);break}case l.CAPTION:{yT(e,t);break}case l.COLGROUP:{RT(e,t);break}default:fr(e,t)}}function ir(e,t){switch(t.tagID){case l.TABLE:{e.openElements.hasInTableScope(l.TABLE)&&(e.openElements.popUntilTagNamePopped(l.TABLE),e._resetInsertionMode());break}case l.TEMPLATE:{ln(e,t);break}case l.BODY:case l.CAPTION:case l.COL:case l.COLGROUP:case l.HTML:case l.TBODY:case l.TD:case l.TFOOT:case l.TH:case l.THEAD:case l.TR:break;default:fr(e,t)}}function fr(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,is(e,t),e.fosterParentingEnabled=n}function Du(e,t){e.pendingCharacterTokens.push(t)}function Mu(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Wn(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)fr(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Bu=new Set([l.CAPTION,l.COL,l.COLGROUP,l.TBODY,l.TD,l.TFOOT,l.TH,l.THEAD,l.TR]);function LT(e,t){const n=t.tagID;Bu.has(n)?e.openElements.hasInTableScope(l.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(l.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_TABLE,yn(e,t)):He(e,t)}function vT(e,t){const n=t.tagID;switch(n){case l.CAPTION:case l.TABLE:{e.openElements.hasInTableScope(l.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(l.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_TABLE,n===l.TABLE&&ir(e,t));break}case l.BODY:case l.COL:case l.COLGROUP:case l.HTML:case l.TBODY:case l.TD:case l.TFOOT:case l.TH:case l.THEAD:case l.TR:break;default:as(e,t)}}function wi(e,t){switch(t.tagID){case l.HTML:{He(e,t);break}case l.COL:{e._appendElement(t,O.HTML),t.ackSelfClosing=!0;break}case l.TEMPLATE:{ft(e,t);break}default:Gr(e,t)}}function PT(e,t){switch(t.tagID){case l.COLGROUP:{e.openElements.currentTagId===l.COLGROUP&&(e.openElements.pop(),e.insertionMode=T.IN_TABLE);break}case l.TEMPLATE:{ln(e,t);break}case l.COL:break;default:Gr(e,t)}}function Gr(e,t){e.openElements.currentTagId===l.COLGROUP&&(e.openElements.pop(),e.insertionMode=T.IN_TABLE,e._processToken(t))}function os(e,t){switch(t.tagID){case l.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,O.HTML),e.insertionMode=T.IN_ROW;break}case l.TH:case l.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(N.TR,l.TR),e.insertionMode=T.IN_ROW,us(e,t);break}case l.CAPTION:case l.COL:case l.COLGROUP:case l.TBODY:case l.TFOOT:case l.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE,yn(e,t));break}default:yn(e,t)}}function ui(e,t){const n=t.tagID;switch(t.tagID){case l.TBODY:case l.TFOOT:case l.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE);break}case l.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE,ir(e,t));break}case l.BODY:case l.CAPTION:case l.COL:case l.COLGROUP:case l.HTML:case l.TD:case l.TH:case l.TR:break;default:ir(e,t)}}function us(e,t){switch(t.tagID){case l.TH:case l.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,O.HTML),e.insertionMode=T.IN_CELL,e.activeFormattingElements.insertMarker();break}case l.CAPTION:case l.COL:case l.COLGROUP:case l.TBODY:case l.TFOOT:case l.THEAD:case l.TR:{e.openElements.hasInTableScope(l.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,os(e,t));break}default:yn(e,t)}}function Fu(e,t){switch(t.tagID){case l.TR:{e.openElements.hasInTableScope(l.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY);break}case l.TABLE:{e.openElements.hasInTableScope(l.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,ui(e,t));break}case l.TBODY:case l.TFOOT:case l.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(l.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,ui(e,t));break}case l.BODY:case l.CAPTION:case l.COL:case l.COLGROUP:case l.HTML:case l.TD:case l.TH:break;default:ir(e,t)}}function OT(e,t){const n=t.tagID;Bu.has(n)?(e.openElements.hasInTableScope(l.TD)||e.openElements.hasInTableScope(l.TH))&&(e._closeTableCell(),us(e,t)):He(e,t)}function DT(e,t){const n=t.tagID;switch(n){case l.TD:case l.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_ROW);break}case l.TABLE:case l.TBODY:case l.TFOOT:case l.THEAD:case l.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Fu(e,t));break}case l.BODY:case l.CAPTION:case l.COL:case l.COLGROUP:case l.HTML:break;default:as(e,t)}}function Hu(e,t){switch(t.tagID){case l.HTML:{He(e,t);break}case l.OPTION:{e.openElements.currentTagId===l.OPTION&&e.openElements.pop(),e._insertElement(t,O.HTML);break}case l.OPTGROUP:{e.openElements.currentTagId===l.OPTION&&e.openElements.pop(),e.openElements.currentTagId===l.OPTGROUP&&e.openElements.pop(),e._insertElement(t,O.HTML);break}case l.HR:{e.openElements.currentTagId===l.OPTION&&e.openElements.pop(),e.openElements.currentTagId===l.OPTGROUP&&e.openElements.pop(),e._appendElement(t,O.HTML),t.ackSelfClosing=!0;break}case l.INPUT:case l.KEYGEN:case l.TEXTAREA:case l.SELECT:{e.openElements.hasInSelectScope(l.SELECT)&&(e.openElements.popUntilTagNamePopped(l.SELECT),e._resetInsertionMode(),t.tagID!==l.SELECT&&e._processStartTag(t));break}case l.SCRIPT:case l.TEMPLATE:{ft(e,t);break}}}function Uu(e,t){switch(t.tagID){case l.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===l.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===l.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===l.OPTGROUP&&e.openElements.pop();break}case l.OPTION:{e.openElements.currentTagId===l.OPTION&&e.openElements.pop();break}case l.SELECT:{e.openElements.hasInSelectScope(l.SELECT)&&(e.openElements.popUntilTagNamePopped(l.SELECT),e._resetInsertionMode());break}case l.TEMPLATE:{ln(e,t);break}}}function MT(e,t){const n=t.tagID;n===l.CAPTION||n===l.TABLE||n===l.TBODY||n===l.TFOOT||n===l.THEAD||n===l.TR||n===l.TD||n===l.TH?(e.openElements.popUntilTagNamePopped(l.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Hu(e,t)}function BT(e,t){const n=t.tagID;n===l.CAPTION||n===l.TABLE||n===l.TBODY||n===l.TFOOT||n===l.THEAD||n===l.TR||n===l.TD||n===l.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(l.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Uu(e,t)}function FT(e,t){switch(t.tagID){case l.BASE:case l.BASEFONT:case l.BGSOUND:case l.LINK:case l.META:case l.NOFRAMES:case l.SCRIPT:case l.STYLE:case l.TEMPLATE:case l.TITLE:{ft(e,t);break}case l.CAPTION:case l.COLGROUP:case l.TBODY:case l.TFOOT:case l.THEAD:{e.tmplInsertionModeStack[0]=T.IN_TABLE,e.insertionMode=T.IN_TABLE,yn(e,t);break}case l.COL:{e.tmplInsertionModeStack[0]=T.IN_COLUMN_GROUP,e.insertionMode=T.IN_COLUMN_GROUP,wi(e,t);break}case l.TR:{e.tmplInsertionModeStack[0]=T.IN_TABLE_BODY,e.insertionMode=T.IN_TABLE_BODY,os(e,t);break}case l.TD:case l.TH:{e.tmplInsertionModeStack[0]=T.IN_ROW,e.insertionMode=T.IN_ROW,us(e,t);break}default:e.tmplInsertionModeStack[0]=T.IN_BODY,e.insertionMode=T.IN_BODY,He(e,t)}}function HT(e,t){t.tagID===l.TEMPLATE&&ln(e,t)}function $u(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(l.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Ni(e,t)}function UT(e,t){t.tagID===l.HTML?He(e,t):Xr(e,t)}function zu(e,t){var n;if(t.tagID===l.HTML){if(e.fragmentContext||(e.insertionMode=T.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===l.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else Xr(e,t)}function Xr(e,t){e.insertionMode=T.IN_BODY,is(e,t)}function $T(e,t){switch(t.tagID){case l.HTML:{He(e,t);break}case l.FRAMESET:{e._insertElement(t,O.HTML);break}case l.FRAME:{e._appendElement(t,O.HTML),t.ackSelfClosing=!0;break}case l.NOFRAMES:{ft(e,t);break}}}function zT(e,t){t.tagID===l.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==l.FRAMESET&&(e.insertionMode=T.AFTER_FRAMESET))}function WT(e,t){switch(t.tagID){case l.HTML:{He(e,t);break}case l.NOFRAMES:{ft(e,t);break}}}function qT(e,t){t.tagID===l.HTML&&(e.insertionMode=T.AFTER_AFTER_FRAMESET)}function VT(e,t){t.tagID===l.HTML?He(e,t):$r(e,t)}function $r(e,t){e.insertionMode=T.IN_BODY,is(e,t)}function YT(e,t){switch(t.tagID){case l.HTML:{He(e,t);break}case l.NOFRAMES:{ft(e,t);break}}}function GT(e,t){t.chars=Se,e._insertCharacters(t)}function XT(e,t){e._insertCharacters(t),e.framesetOk=!1}function Wu(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==O.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function QT(e,t){if(d_(t))Wu(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===O.MATHML?Au(t):r===O.SVG&&(h_(t),Iu(t)),Ai(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function KT(e,t){if(t.tagID===l.P||t.tagID===l.BR){Wu(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===O.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}N.AREA,N.BASE,N.BASEFONT,N.BGSOUND,N.BR,N.COL,N.EMBED,N.FRAME,N.HR,N.IMG,N.INPUT,N.KEYGEN,N.LINK,N.META,N.PARAM,N.SOURCE,N.TRACK,N.WBR;const ZT=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,JT=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),no={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function qu(e,t){const n=l3(e),r=xu("type",{handlers:{root:e3,element:t3,text:n3,comment:Yu,doctype:r3,raw:i3},unknown:a3}),i={parser:n?new Ja(no):Ja.getFragmentParser(void 0,no),handle(u){r(u,i)},stitches:!1,options:t||{}};r(e,i),jn(i,St());const a=n?i.parser.document:i.parser.getFragment(),o=eb(a,{file:i.options.file});return i.stitches&&ss(o,"comment",function(u,c,d){const m=u;if(m.value.stitch&&d&&c!==void 0){const h=d.children;return h[c]=m.value.stitch,c}}),o.type==="root"&&o.children.length===1&&o.children[0].type===e.type?o.children[0]:o}function Vu(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function e3(e,t){Vu(e.children,t)}function t3(e,t){o3(e,t),Vu(e.children,t),u3(e,t)}function n3(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:le.CHARACTER,chars:e.value,location:xr(e)};jn(t,St(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function r3(e,t){const n={type:le.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:xr(e)};jn(t,St(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function s3(e,t){t.stitches=!0;const n=c3(e);if("children"in e&&"children"in n){const r=qu({type:"root",children:e.children},t.options);n.children=r.children}Yu({type:"comment",value:{stitch:n}},t)}function Yu(e,t){const n=e.value,r={type:le.COMMENT,data:n,location:xr(e)};jn(t,St(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function i3(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,Gu(t,St(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(ZT,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function a3(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))s3(n,t);else{let r="";throw JT.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function jn(e,t){Gu(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=ke.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function Gu(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function o3(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===ke.PLAINTEXT)return;jn(t,St(e));const r=t.parser.openElements.current;let i="namespaceURI"in r?r.namespaceURI:rn.html;i===rn.html&&n==="svg"&&(i=rn.svg);const a=fb({...e,children:[]},{space:i===rn.svg?"svg":"html"}),o={type:le.START_TAG,tagName:n,tagID:wn(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:xr(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function u3(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Sb.includes(n)||t.parser.tokenizer.state===ke.PLAINTEXT)return;jn(t,Zr(e));const r={type:le.END_TAG,tagName:n,tagID:wn(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:xr(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===ke.RCDATA||t.parser.tokenizer.state===ke.RAWTEXT||t.parser.tokenizer.state===ke.SCRIPT_DATA)&&(t.parser.tokenizer.state=ke.DATA)}function l3(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function xr(e){const t=St(e)||{line:void 0,column:void 0,offset:void 0},n=Zr(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function c3(e){return"children"in e?Sn({...e,children:[]}):Sn(e)}function d3(e){return function(t,n){return qu(t,{...e,file:n})}}function ro(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function h3(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function m3(e,t,n){const i=ns((n||{}).ignore||[]),a=p3(t);let o=-1;for(;++o<a.length;)eu(e,"text",u);function u(d,m){let h=-1,f;for(;++h<m.length;){const p=m[h],x=f?f.children:void 0;if(i(p,x?x.indexOf(p):void 0,f))return;f=p}if(f)return c(d,m)}function c(d,m){const h=m[m.length-1],f=a[o][0],p=a[o][1];let x=0;const C=h.children.indexOf(d);let b=!1,A=[];f.lastIndex=0;let y=f.exec(d.value);for(;y;){const P=y.index,j={index:y.index,input:y.input,stack:[...m,d]};let I=p(...y,j);if(typeof I=="string"&&(I=I.length>0?{type:"text",value:I}:void 0),I===!1?f.lastIndex=P+1:(x!==P&&A.push({type:"text",value:d.value.slice(x,P)}),Array.isArray(I)?A.push(...I):I&&A.push(I),x=P+y[0].length,b=!0),!f.global)break;y=f.exec(d.value)}return b?(x<d.value.length&&A.push({type:"text",value:d.value.slice(x)}),h.children.splice(C,1,...A)):A=[d],C+A.length}}function p3(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([f3(i[0]),x3(i[1])])}return t}function f3(e){return typeof e=="string"?new RegExp(h3(e),"g"):e}function x3(e){return typeof e=="function"?e:function(){return e}}const Fs="phrasing",Hs=["autolink","link","image","label"];function g3(){return{transforms:[y3],enter:{literalAutolink:b3,literalAutolinkEmail:Us,literalAutolinkHttp:Us,literalAutolinkWww:Us},exit:{literalAutolink:S3,literalAutolinkEmail:C3,literalAutolinkHttp:_3,literalAutolinkWww:T3}}}function E3(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Fs,notInConstruct:Hs},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Fs,notInConstruct:Hs},{character:":",before:"[ps]",after:"\\/",inConstruct:Fs,notInConstruct:Hs}]}}function b3(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Us(e){this.config.enter.autolinkProtocol.call(this,e)}function _3(e){this.config.exit.autolinkProtocol.call(this,e)}function T3(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function C3(e){this.config.exit.autolinkEmail.call(this,e)}function S3(e){this.exit(e)}function y3(e){m3(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,R3],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),k3]],{ignore:["link","linkReference"]})}function R3(e,t,n,r,i){let a="";if(!Xu(i)||(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!A3(n)))return!1;const o=I3(n+r);if(!o[0])return!1;const u={type:"link",title:null,url:a+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[u,{type:"text",value:o[1]}]:u}function k3(e,t,n,r){return!Xu(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function A3(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function I3(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=ro(e,"(");let a=ro(e,")");for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++;return[e,n]}function Xu(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||an(n)||Jr(n))&&(!t||n!==47)}Qu.peek=M3;function N3(){this.buffer()}function w3(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function j3(){this.buffer()}function L3(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function v3(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=mt(this.sliceSerialize(e)).toLowerCase(),n.label=t}function P3(e){this.exit(e)}function O3(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=mt(this.sliceSerialize(e)).toLowerCase(),n.label=t}function D3(e){this.exit(e)}function M3(){return"["}function Qu(e,t,n,r){const i=n.createTracker(r);let a=i.move("[^");const o=n.enter("footnoteReference"),u=n.enter("reference");return a+=i.move(n.safe(n.associationId(e),{after:"]",before:a})),u(),o(),a+=i.move("]"),a}function B3(){return{enter:{gfmFootnoteCallString:N3,gfmFootnoteCall:w3,gfmFootnoteDefinitionLabelString:j3,gfmFootnoteDefinition:L3},exit:{gfmFootnoteCallString:v3,gfmFootnoteCall:P3,gfmFootnoteDefinitionLabelString:O3,gfmFootnoteDefinition:D3}}}function F3(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:Qu},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,a,o){const u=a.createTracker(o);let c=u.move("[^");const d=a.enter("footnoteDefinition"),m=a.enter("label");return c+=u.move(a.safe(a.associationId(r),{before:c,after:"]"})),m(),c+=u.move("]:"),r.children&&r.children.length>0&&(u.shift(4),c+=u.move((t?`
|
|
117
|
+
`:" ")+a.indentLines(a.containerFlow(r,u.current()),t?Ku:H3))),d(),c}}function H3(e,t,n){return t===0?e:Ku(e,t,n)}function Ku(e,t,n){return(n?"":" ")+e}const U3=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Zu.peek=V3;function $3(){return{canContainEols:["delete"],enter:{strikethrough:W3},exit:{strikethrough:q3}}}function z3(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:U3}],handlers:{delete:Zu}}}function W3(e){this.enter({type:"delete",children:[]},e)}function q3(e){this.exit(e)}function Zu(e,t,n,r){const i=n.createTracker(r),a=n.enter("strikethrough");let o=i.move("~~");return o+=n.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function V3(){return"~"}function Y3(e){return e.length}function G3(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||Y3,a=[],o=[],u=[],c=[];let d=0,m=-1;for(;++m<e.length;){const g=[],C=[];let b=-1;for(e[m].length>d&&(d=e[m].length);++b<e[m].length;){const A=X3(e[m][b]);if(n.alignDelimiters!==!1){const y=i(A);C[b]=y,(c[b]===void 0||y>c[b])&&(c[b]=y)}g.push(A)}o[m]=g,u[m]=C}let h=-1;if(typeof r=="object"&&"length"in r)for(;++h<d;)a[h]=so(r[h]);else{const g=so(r);for(;++h<d;)a[h]=g}h=-1;const f=[],p=[];for(;++h<d;){const g=a[h];let C="",b="";g===99?(C=":",b=":"):g===108?C=":":g===114&&(b=":");let A=n.alignDelimiters===!1?1:Math.max(1,c[h]-C.length-b.length);const y=C+"-".repeat(A)+b;n.alignDelimiters!==!1&&(A=C.length+A+b.length,A>c[h]&&(c[h]=A),p[h]=A),f[h]=y}o.splice(1,0,f),u.splice(1,0,p),m=-1;const x=[];for(;++m<o.length;){const g=o[m],C=u[m];h=-1;const b=[];for(;++h<d;){const A=g[h]||"";let y="",P="";if(n.alignDelimiters!==!1){const j=c[h]-(C[h]||0),I=a[h];I===114?y=" ".repeat(j):I===99?j%2?(y=" ".repeat(j/2+.5),P=" ".repeat(j/2-.5)):(y=" ".repeat(j/2),P=y):P=" ".repeat(j)}n.delimiterStart!==!1&&!h&&b.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&A==="")&&(n.delimiterStart!==!1||h)&&b.push(" "),n.alignDelimiters!==!1&&b.push(y),b.push(A),n.alignDelimiters!==!1&&b.push(P),n.padding!==!1&&b.push(" "),(n.delimiterEnd!==!1||h!==d-1)&&b.push("|")}x.push(n.delimiterEnd===!1?b.join("").replace(/ +$/,""):b.join(""))}return x.join(`
|
|
118
118
|
`)}function X3(e){return e==null?"":String(e)}function so(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function Q3(e,t,n,r){const i=n.enter("blockquote"),a=n.createTracker(r);a.move("> "),a.shift(2);const o=n.indentLines(n.containerFlow(e,a.current()),K3);return i(),o}function K3(e,t,n){return">"+(n?"":" ")+e}function Z3(e,t){return io(e,t.inConstruct,!0)&&!io(e,t.notInConstruct,!1)}function io(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function ao(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
|
|
119
119
|
`&&Z3(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
|
|
120
120
|
`}function J3(e,t){const n=String(e);let r=n.indexOf(t),i=r,a=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}function eC(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function tC(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function nC(e,t,n,r){const i=tC(n),a=e.value||"",o=i==="`"?"GraveAccent":"Tilde";if(eC(e,n)){const h=n.enter("codeIndented"),f=n.indentLines(a,rC);return h(),f}const u=n.createTracker(r),c=i.repeat(Math.max(J3(a,i)+1,3)),d=n.enter("codeFenced");let m=u.move(c);if(e.lang){const h=n.enter(`codeFencedLang${o}`);m+=u.move(n.safe(e.lang,{before:m,after:" ",encode:["`"],...u.current()})),h()}if(e.lang&&e.meta){const h=n.enter(`codeFencedMeta${o}`);m+=u.move(" "),m+=u.move(n.safe(e.meta,{before:m,after:`
|
|
@@ -126,6 +126,6 @@
|
|
|
126
126
|
`});return h(),m(),f+`
|
|
127
127
|
`+(i===1?"=":"-").repeat(f.length-(Math.max(f.lastIndexOf("\r"),f.lastIndexOf(`
|
|
128
128
|
`))+1))}const o="#".repeat(i),u=n.enter("headingAtx"),c=n.enter("phrasing");a.move(o+" ");let d=n.containerPhrasing(e,{before:"# ",after:`
|
|
129
|
-
`,...a.current()});return/^[\t ]/.test(d)&&(d=ar(d.charCodeAt(0))+d.slice(1)),d=d?o+" "+d:o,n.options.closeAtx&&(d+=" "+o),c(),u(),d}el.peek=lC;function el(e){return e.value||""}function lC(){return"<"}tl.peek=cC;function tl(e,t,n,r){const i=ji(n),a=i==='"'?"Quote":"Apostrophe",o=n.enter("image");let u=n.enter("label");const c=n.createTracker(r);let d=c.move("![");return d+=c.move(n.safe(e.alt,{before:d,after:"]",...c.current()})),d+=c.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),d+=c.move("<"),d+=c.move(n.safe(e.url,{before:d,after:">",...c.current()})),d+=c.move(">")):(u=n.enter("destinationRaw"),d+=c.move(n.safe(e.url,{before:d,after:e.title?" ":")",...c.current()}))),u(),e.title&&(u=n.enter(`title${a}`),d+=c.move(" "+i),d+=c.move(n.safe(e.title,{before:d,after:i,...c.current()})),d+=c.move(i),u()),d+=c.move(")"),o(),d}function cC(){return"!"}nl.peek=dC;function nl(e,t,n,r){const i=e.referenceType,a=n.enter("imageReference");let o=n.enter("label");const u=n.createTracker(r);let c=u.move("![");const d=n.safe(e.alt,{before:c,after:"]",...u.current()});c+=u.move(d+"]["),o();const m=n.stack;n.stack=[],o=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...u.current()});return o(),n.stack=m,a(),i==="full"||!d||d!==h?c+=u.move(h+"]"):i==="shortcut"?c=c.slice(0,-1):c+=u.move("]"),c}function dC(){return"!"}rl.peek=hC;function rl(e,t,n){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){const o=n.unsafe[a],u=n.compilePattern(o);let c;if(o.atBreak)for(;c=u.exec(r);){let d=c.index;r.charCodeAt(d)===10&&r.charCodeAt(d-1)===13&&d--,r=r.slice(0,d)+" "+r.slice(c.index+1)}}return i+r+i}function hC(){return"`"}function sl(e,t){const n=xi(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}il.peek=mC;function il(e,t,n,r){const i=ji(n),a=i==='"'?"Quote":"Apostrophe",o=n.createTracker(r);let u,c;if(sl(e,n)){const m=n.stack;n.stack=[],u=n.enter("autolink");let h=o.move("<");return h+=o.move(n.containerPhrasing(e,{before:h,after:">",...o.current()})),h+=o.move(">"),u(),n.stack=m,h}u=n.enter("link"),c=n.enter("label");let d=o.move("[");return d+=o.move(n.containerPhrasing(e,{before:d,after:"](",...o.current()})),d+=o.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),d+=o.move("<"),d+=o.move(n.safe(e.url,{before:d,after:">",...o.current()})),d+=o.move(">")):(c=n.enter("destinationRaw"),d+=o.move(n.safe(e.url,{before:d,after:e.title?" ":")",...o.current()}))),c(),e.title&&(c=n.enter(`title${a}`),d+=o.move(" "+i),d+=o.move(n.safe(e.title,{before:d,after:i,...o.current()})),d+=o.move(i),c()),d+=o.move(")"),u(),d}function mC(e,t,n){return sl(e,n)?"<":"["}al.peek=pC;function al(e,t,n,r){const i=e.referenceType,a=n.enter("linkReference");let o=n.enter("label");const u=n.createTracker(r);let c=u.move("[");const d=n.containerPhrasing(e,{before:c,after:"]",...u.current()});c+=u.move(d+"]["),o();const m=n.stack;n.stack=[],o=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...u.current()});return o(),n.stack=m,a(),i==="full"||!d||d!==h?c+=u.move(h+"]"):i==="shortcut"?c=c.slice(0,-1):c+=u.move("]"),c}function pC(){return"["}function Li(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function fC(e){const t=Li(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function xC(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function ol(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function gC(e,t,n,r){const i=n.enter("list"),a=n.bulletCurrent;let o=e.ordered?xC(n):Li(n);const u=e.ordered?o==="."?")":".":fC(n);let c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const m=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&m&&(!m.children||!m.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),ol(n)===o&&m){let h=-1;for(;++h<e.children.length;){const f=e.children[h];if(f&&f.type==="listItem"&&f.children&&f.children[0]&&f.children[0].type==="thematicBreak"){c=!0;break}}}}c&&(o=u),n.bulletCurrent=o;const d=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),d}function EC(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function bC(e,t,n,r){const i=EC(n);let a=n.bulletCurrent||Li(n);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const u=n.createTracker(r);u.move(a+" ".repeat(o-a.length)),u.shift(o);const c=n.enter("listItem"),d=n.indentLines(n.containerFlow(e,u.current()),m);return c(),d;function m(h,f,p){return f?(p?"":" ".repeat(o))+h:(p?a:a+" ".repeat(o-a.length))+h}}function _C(e,t,n,r){const i=n.enter("paragraph"),a=n.enter("phrasing"),o=n.containerPhrasing(e,r);return a(),i(),o}const TC=ns(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function CC(e,t,n,r){return(e.children.some(function(o){return TC(o)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function SC(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}ul.peek=yC;function ul(e,t,n,r){const i=SC(n),a=n.enter("strong"),o=n.createTracker(r),u=o.move(i+i);let c=o.move(n.containerPhrasing(e,{after:i,before:u,...o.current()}));const d=c.charCodeAt(0),m=Qr(r.before.charCodeAt(r.before.length-1),d,i);m.inside&&(c=ar(d)+c.slice(1));const h=c.charCodeAt(c.length-1),f=Qr(r.after.charCodeAt(0),h,i);f.inside&&(c=c.slice(0,-1)+ar(h));const p=o.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:m.outside},u+c+p}function yC(e,t,n){return n.options.strong||"*"}function RC(e,t,n,r){return n.safe(e.value,r)}function kC(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function AC(e,t,n){const r=(ol(n)+(n.options.ruleSpaces?" ":"")).repeat(kC(n));return n.options.ruleSpaces?r.slice(0,-1):r}const ll={blockquote:Q3,break:ao,code:nC,definition:sC,emphasis:Ju,hardBreak:ao,heading:uC,html:el,image:tl,imageReference:nl,inlineCode:rl,link:il,linkReference:al,list:gC,listItem:bC,paragraph:_C,root:CC,strong:ul,text:RC,thematicBreak:AC};function
|
|
129
|
+
`,...a.current()});return/^[\t ]/.test(d)&&(d=ar(d.charCodeAt(0))+d.slice(1)),d=d?o+" "+d:o,n.options.closeAtx&&(d+=" "+o),c(),u(),d}el.peek=lC;function el(e){return e.value||""}function lC(){return"<"}tl.peek=cC;function tl(e,t,n,r){const i=ji(n),a=i==='"'?"Quote":"Apostrophe",o=n.enter("image");let u=n.enter("label");const c=n.createTracker(r);let d=c.move("![");return d+=c.move(n.safe(e.alt,{before:d,after:"]",...c.current()})),d+=c.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),d+=c.move("<"),d+=c.move(n.safe(e.url,{before:d,after:">",...c.current()})),d+=c.move(">")):(u=n.enter("destinationRaw"),d+=c.move(n.safe(e.url,{before:d,after:e.title?" ":")",...c.current()}))),u(),e.title&&(u=n.enter(`title${a}`),d+=c.move(" "+i),d+=c.move(n.safe(e.title,{before:d,after:i,...c.current()})),d+=c.move(i),u()),d+=c.move(")"),o(),d}function cC(){return"!"}nl.peek=dC;function nl(e,t,n,r){const i=e.referenceType,a=n.enter("imageReference");let o=n.enter("label");const u=n.createTracker(r);let c=u.move("![");const d=n.safe(e.alt,{before:c,after:"]",...u.current()});c+=u.move(d+"]["),o();const m=n.stack;n.stack=[],o=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...u.current()});return o(),n.stack=m,a(),i==="full"||!d||d!==h?c+=u.move(h+"]"):i==="shortcut"?c=c.slice(0,-1):c+=u.move("]"),c}function dC(){return"!"}rl.peek=hC;function rl(e,t,n){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){const o=n.unsafe[a],u=n.compilePattern(o);let c;if(o.atBreak)for(;c=u.exec(r);){let d=c.index;r.charCodeAt(d)===10&&r.charCodeAt(d-1)===13&&d--,r=r.slice(0,d)+" "+r.slice(c.index+1)}}return i+r+i}function hC(){return"`"}function sl(e,t){const n=xi(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}il.peek=mC;function il(e,t,n,r){const i=ji(n),a=i==='"'?"Quote":"Apostrophe",o=n.createTracker(r);let u,c;if(sl(e,n)){const m=n.stack;n.stack=[],u=n.enter("autolink");let h=o.move("<");return h+=o.move(n.containerPhrasing(e,{before:h,after:">",...o.current()})),h+=o.move(">"),u(),n.stack=m,h}u=n.enter("link"),c=n.enter("label");let d=o.move("[");return d+=o.move(n.containerPhrasing(e,{before:d,after:"](",...o.current()})),d+=o.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),d+=o.move("<"),d+=o.move(n.safe(e.url,{before:d,after:">",...o.current()})),d+=o.move(">")):(c=n.enter("destinationRaw"),d+=o.move(n.safe(e.url,{before:d,after:e.title?" ":")",...o.current()}))),c(),e.title&&(c=n.enter(`title${a}`),d+=o.move(" "+i),d+=o.move(n.safe(e.title,{before:d,after:i,...o.current()})),d+=o.move(i),c()),d+=o.move(")"),u(),d}function mC(e,t,n){return sl(e,n)?"<":"["}al.peek=pC;function al(e,t,n,r){const i=e.referenceType,a=n.enter("linkReference");let o=n.enter("label");const u=n.createTracker(r);let c=u.move("[");const d=n.containerPhrasing(e,{before:c,after:"]",...u.current()});c+=u.move(d+"]["),o();const m=n.stack;n.stack=[],o=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...u.current()});return o(),n.stack=m,a(),i==="full"||!d||d!==h?c+=u.move(h+"]"):i==="shortcut"?c=c.slice(0,-1):c+=u.move("]"),c}function pC(){return"["}function Li(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function fC(e){const t=Li(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function xC(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function ol(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function gC(e,t,n,r){const i=n.enter("list"),a=n.bulletCurrent;let o=e.ordered?xC(n):Li(n);const u=e.ordered?o==="."?")":".":fC(n);let c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const m=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&m&&(!m.children||!m.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),ol(n)===o&&m){let h=-1;for(;++h<e.children.length;){const f=e.children[h];if(f&&f.type==="listItem"&&f.children&&f.children[0]&&f.children[0].type==="thematicBreak"){c=!0;break}}}}c&&(o=u),n.bulletCurrent=o;const d=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),d}function EC(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function bC(e,t,n,r){const i=EC(n);let a=n.bulletCurrent||Li(n);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const u=n.createTracker(r);u.move(a+" ".repeat(o-a.length)),u.shift(o);const c=n.enter("listItem"),d=n.indentLines(n.containerFlow(e,u.current()),m);return c(),d;function m(h,f,p){return f?(p?"":" ".repeat(o))+h:(p?a:a+" ".repeat(o-a.length))+h}}function _C(e,t,n,r){const i=n.enter("paragraph"),a=n.enter("phrasing"),o=n.containerPhrasing(e,r);return a(),i(),o}const TC=ns(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function CC(e,t,n,r){return(e.children.some(function(o){return TC(o)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function SC(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}ul.peek=yC;function ul(e,t,n,r){const i=SC(n),a=n.enter("strong"),o=n.createTracker(r),u=o.move(i+i);let c=o.move(n.containerPhrasing(e,{after:i,before:u,...o.current()}));const d=c.charCodeAt(0),m=Qr(r.before.charCodeAt(r.before.length-1),d,i);m.inside&&(c=ar(d)+c.slice(1));const h=c.charCodeAt(c.length-1),f=Qr(r.after.charCodeAt(0),h,i);f.inside&&(c=c.slice(0,-1)+ar(h));const p=o.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:m.outside},u+c+p}function yC(e,t,n){return n.options.strong||"*"}function RC(e,t,n,r){return n.safe(e.value,r)}function kC(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function AC(e,t,n){const r=(ol(n)+(n.options.ruleSpaces?" ":"")).repeat(kC(n));return n.options.ruleSpaces?r.slice(0,-1):r}const ll={blockquote:Q3,break:ao,code:nC,definition:sC,emphasis:Ju,hardBreak:ao,heading:uC,html:el,image:tl,imageReference:nl,inlineCode:rl,link:il,linkReference:al,list:gC,listItem:bC,paragraph:_C,root:CC,strong:ul,text:RC,thematicBreak:AC};function IC(){return{enter:{table:NC,tableData:oo,tableHeader:oo,tableRow:jC},exit:{codeText:LC,table:wC,tableData:$s,tableHeader:$s,tableRow:$s}}}function NC(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function wC(e){this.exit(e),this.data.inTable=void 0}function jC(e){this.enter({type:"tableRow",children:[]},e)}function $s(e){this.exit(e)}function oo(e){this.enter({type:"tableCell",children:[]},e)}function LC(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,vC));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function vC(e,t){return t==="|"?t:e}function PC(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
130
130
|
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:f,table:o,tableCell:c,tableRow:u}};function o(p,x,g,C){return d(m(p,g,C),p.align)}function u(p,x,g,C){const b=h(p,g,C),A=d([b]);return A.slice(0,A.indexOf(`
|
|
131
|
-
`))}function c(p,x,g,C){const b=g.enter("tableCell"),A=g.enter("phrasing"),y=g.containerPhrasing(p,{...C,before:a,after:a});return A(),b(),y}function d(p,x){return G3(p,{align:x,alignDelimiters:r,padding:n,stringLength:i})}function m(p,x,g){const C=p.children;let b=-1;const A=[],y=x.enter("table");for(;++b<C.length;)A[b]=h(C[b],x,g);return y(),A}function h(p,x,g){const C=p.children;let b=-1;const A=[],y=x.enter("tableRow");for(;++b<C.length;)A[b]=c(C[b],p,x,g);return y(),A}function f(p,x,g){let C=ll.inlineCode(p,x,g);return g.stack.includes("tableCell")&&(C=C.replace(/\|/g,"\\$&")),C}}function OC(){return{exit:{taskListCheckValueChecked:uo,taskListCheckValueUnchecked:uo,paragraph:MC}}}function DC(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:BC}}}function uo(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function MC(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let a=-1,o;for(;++a<i.length;){const u=i[a];if(u.type==="paragraph"){o=u;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function BC(e,t,n,r){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",u=n.createTracker(r);a&&u.move(o);let c=ll.listItem(e,t,n,{...r,...u.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,d)),c;function d(m){return m+o}}function FC(){return[g3(),B3(),$3(),NC(),OC()]}function HC(e){return{extensions:[E3(),F3(e),z3(),PC(e),DC()]}}const UC={tokenize:YC,partial:!0},cl={tokenize:GC,partial:!0},dl={tokenize:XC,partial:!0},hl={tokenize:QC,partial:!0},$C={tokenize:KC,partial:!0},ml={name:"wwwAutolink",tokenize:qC,previous:fl},pl={name:"protocolAutolink",tokenize:VC,previous:xl},Pt={name:"emailAutolink",tokenize:WC,previous:gl},yt={};function zC(){return{text:yt}}let Zt=48;for(;Zt<123;)yt[Zt]=Pt,Zt++,Zt===58?Zt=65:Zt===91&&(Zt=97);yt[43]=Pt;yt[45]=Pt;yt[46]=Pt;yt[95]=Pt;yt[72]=[Pt,pl];yt[104]=[Pt,pl];yt[87]=[Pt,ml];yt[119]=[Pt,ml];function WC(e,t,n){const r=this;let i,a;return o;function o(h){return!li(h)||!gl.call(r,r.previous)||vi(r.events)?n(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),u(h))}function u(h){return li(h)?(e.consume(h),u):h===64?(e.consume(h),c):n(h)}function c(h){return h===46?e.check($C,m,d)(h):h===45||h===95||Be(h)?(a=!0,e.consume(h),c):m(h)}function d(h){return e.consume(h),i=!0,c}function m(h){return a&&i&&ze(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):n(h)}}function qC(e,t,n){const r=this;return i;function i(o){return o!==87&&o!==119||!fl.call(r,r.previous)||vi(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(UC,e.attempt(cl,e.attempt(dl,a),n),n)(o))}function a(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function VC(e,t,n){const r=this;let i="",a=!1;return o;function o(h){return(h===72||h===104)&&xl.call(r,r.previous)&&!vi(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(h),e.consume(h),u):n(h)}function u(h){if(ze(h)&&i.length<5)return i+=String.fromCodePoint(h),e.consume(h),u;if(h===58){const f=i.toLowerCase();if(f==="http"||f==="https")return e.consume(h),c}return n(h)}function c(h){return h===47?(e.consume(h),a?d:(a=!0,c)):n(h)}function d(h){return h===null||qr(h)||be(h)||an(h)||Jr(h)?n(h):e.attempt(cl,e.attempt(dl,m),n)(h)}function m(h){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(h)}}function YC(e,t,n){let r=0;return i;function i(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),i):o===46&&r===3?(e.consume(o),a):n(o)}function a(o){return o===null?n(o):t(o)}}function GC(e,t,n){let r,i,a;return o;function o(d){return d===46||d===95?e.check(hl,c,u)(d):d===null||be(d)||an(d)||d!==45&&Jr(d)?c(d):(a=!0,e.consume(d),o)}function u(d){return d===95?r=!0:(i=r,r=void 0),e.consume(d),o}function c(d){return i||r||!a?n(d):t(d)}}function XC(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(hl,t,a)(o):o===null||be(o)||an(o)?t(o):(e.consume(o),i)}function a(o){return o===41&&r++,e.consume(o),i}}function QC(e,t,n){return r;function r(u){return u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126?(e.consume(u),r):u===38?(e.consume(u),a):u===93?(e.consume(u),i):u===60||u===null||be(u)||an(u)?t(u):n(u)}function i(u){return u===null||u===40||u===91||be(u)||an(u)?t(u):r(u)}function a(u){return ze(u)?o(u):n(u)}function o(u){return u===59?(e.consume(u),r):ze(u)?(e.consume(u),o):n(u)}}function KC(e,t,n){return r;function r(a){return e.consume(a),i}function i(a){return Be(a)?n(a):t(a)}}function fl(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||be(e)}function xl(e){return!ze(e)}function gl(e){return!(e===47||li(e))}function li(e){return e===43||e===45||e===46||e===95||Be(e)}function vi(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const ZC={tokenize:aS,partial:!0};function JC(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:rS,continuation:{tokenize:sS},exit:iS}},text:{91:{name:"gfmFootnoteCall",tokenize:nS},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eS,resolveTo:tS}}}}function eS(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const c=r.events[i][1];if(c.type==="labelImage"){o=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return u;function u(c){if(!o||!o._balanced)return n(c);const d=mt(r.sliceSerialize({start:o.end,end:r.now()}));return d.codePointAt(0)!==94||!a.includes(d.slice(1))?n(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),t(c))}}function tS(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},u=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...u),e}function nS(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,o;return u;function u(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),c}function c(h){return h!==94?n(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",d)}function d(h){if(a>999||h===93&&!o||h===null||h===91||be(h))return n(h);if(h===93){e.exit("chunkString");const f=e.exit("gfmFootnoteCallString");return i.includes(mt(r.sliceSerialize(f)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(h)}return be(h)||(o=!0),a++,e.consume(h),h===92?m:d}function m(h){return h===91||h===92||h===93?(e.consume(h),a++,d):d(h)}}function rS(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,o=0,u;return c;function c(x){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionLabelMarker"),d}function d(x){return x===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",m):n(x)}function m(x){if(o>999||x===93&&!u||x===null||x===91||be(x))return n(x);if(x===93){e.exit("chunkString");const g=e.exit("gfmFootnoteDefinitionLabelString");return a=mt(r.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return be(x)||(u=!0),o++,e.consume(x),x===92?h:m}function h(x){return x===91||x===92||x===93?(e.consume(x),o++,m):m(x)}function f(x){return x===58?(e.enter("definitionMarker"),e.consume(x),e.exit("definitionMarker"),i.includes(a)||i.push(a),pe(e,p,"gfmFootnoteDefinitionWhitespace")):n(x)}function p(x){return t(x)}}function sS(e,t,n){return e.check(hr,t,e.attempt(ZC,t,n))}function iS(e){e.exit("gfmFootnoteDefinition")}function aS(e,t,n){const r=this;return pe(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(a):n(a)}}function oS(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(o,u){let c=-1;for(;++c<o.length;)if(o[c][0]==="enter"&&o[c][1].type==="strikethroughSequenceTemporary"&&o[c][1]._close){let d=c;for(;d--;)if(o[d][0]==="exit"&&o[d][1].type==="strikethroughSequenceTemporary"&&o[d][1]._open&&o[c][1].end.offset-o[c][1].start.offset===o[d][1].end.offset-o[d][1].start.offset){o[c][1].type="strikethroughSequence",o[d][1].type="strikethroughSequence";const m={type:"strikethrough",start:Object.assign({},o[d][1].start),end:Object.assign({},o[c][1].end)},h={type:"strikethroughText",start:Object.assign({},o[d][1].end),end:Object.assign({},o[c][1].start)},f=[["enter",m,u],["enter",o[d][1],u],["exit",o[d][1],u],["enter",h,u]],p=u.parser.constructs.insideSpan.null;p&&Ke(f,f.length,0,es(p,o.slice(d+1,c),u)),Ke(f,f.length,0,[["exit",h,u],["enter",o[c][1],u],["exit",o[c][1],u],["exit",m,u]]),Ke(o,d-1,c-d+3,f),c=d+f.length-2;break}}for(c=-1;++c<o.length;)o[c][1].type==="strikethroughSequenceTemporary"&&(o[c][1].type="data");return o}function a(o,u,c){const d=this.previous,m=this.events;let h=0;return f;function f(x){return d===126&&m[m.length-1][1].type!=="characterEscape"?c(x):(o.enter("strikethroughSequenceTemporary"),p(x))}function p(x){const g=Cn(d);if(x===126)return h>1?c(x):(o.consume(x),h++,p);if(h<2&&!n)return c(x);const C=o.exit("strikethroughSequenceTemporary"),b=Cn(x);return C._open=!b||b===2&&!!g,C._close=!g||g===2&&!!b,u(x)}}}class uS{constructor(){this.map=[]}add(t,n,r){lS(this,t,n,r)}consume(t){if(this.map.sort(function(a,o){return a[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const a of i)t.push(a);i=r.pop()}this.map.length=0}}function lS(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function cS(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=r.length-1;r[a]=r[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function dS(){return{flow:{null:{name:"table",tokenize:hS,resolveAll:mS}}}}function hS(e,t,n){const r=this;let i=0,a=0,o;return u;function u(w){let $=r.events.length-1;for(;$>-1;){const Y=r.events[$][1].type;if(Y==="lineEnding"||Y==="linePrefix")$--;else break}const M=$>-1?r.events[$][1].type:null,H=M==="tableHead"||M==="tableRow"?N:c;return H===N&&r.parser.lazy[r.now().line]?n(w):H(w)}function c(w){return e.enter("tableHead"),e.enter("tableRow"),d(w)}function d(w){return w===124||(o=!0,a+=1),m(w)}function m(w){return w===null?n(w):Z(w)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),p):n(w):de(w)?pe(e,m,"whitespace")(w):(a+=1,o&&(o=!1,i+=1),w===124?(e.enter("tableCellDivider"),e.consume(w),e.exit("tableCellDivider"),o=!0,m):(e.enter("data"),h(w)))}function h(w){return w===null||w===124||be(w)?(e.exit("data"),m(w)):(e.consume(w),w===92?f:h)}function f(w){return w===92||w===124?(e.consume(w),h):h(w)}function p(w){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(w):(e.enter("tableDelimiterRow"),o=!1,de(w)?pe(e,x,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):x(w))}function x(w){return w===45||w===58?C(w):w===124?(o=!0,e.enter("tableCellDivider"),e.consume(w),e.exit("tableCellDivider"),g):j(w)}function g(w){return de(w)?pe(e,C,"whitespace")(w):C(w)}function C(w){return w===58?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(w),e.exit("tableDelimiterMarker"),b):w===45?(a+=1,b(w)):w===null||Z(w)?P(w):j(w)}function b(w){return w===45?(e.enter("tableDelimiterFiller"),A(w)):j(w)}function A(w){return w===45?(e.consume(w),A):w===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(w),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(w))}function y(w){return de(w)?pe(e,P,"whitespace")(w):P(w)}function P(w){return w===124?x(w):w===null||Z(w)?!o||i!==a?j(w):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(w)):j(w)}function j(w){return n(w)}function N(w){return e.enter("tableRow"),q(w)}function q(w){return w===124?(e.enter("tableCellDivider"),e.consume(w),e.exit("tableCellDivider"),q):w===null||Z(w)?(e.exit("tableRow"),t(w)):de(w)?pe(e,q,"whitespace")(w):(e.enter("data"),V(w))}function V(w){return w===null||w===124||be(w)?(e.exit("data"),q(w)):(e.consume(w),w===92?Q:V)}function Q(w){return w===92||w===124?(e.consume(w),V):V(w)}}function mS(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],u=!1,c=0,d,m,h;const f=new uS;for(;++n<e.length;){const p=e[n],x=p[1];p[0]==="enter"?x.type==="tableHead"?(u=!1,c!==0&&(lo(f,t,c,d,m),m=void 0,c=0),d={type:"table",start:Object.assign({},x.start),end:Object.assign({},x.end)},f.add(n,0,[["enter",d,t]])):x.type==="tableRow"||x.type==="tableDelimiterRow"?(r=!0,h=void 0,a=[0,0,0,0],o=[0,n+1,0,0],u&&(u=!1,m={type:"tableBody",start:Object.assign({},x.start),end:Object.assign({},x.end)},f.add(n,0,[["enter",m,t]])),i=x.type==="tableDelimiterRow"?2:m?3:1):i&&(x.type==="data"||x.type==="tableDelimiterMarker"||x.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],h=Or(f,t,a,i,void 0,h),a=[0,0,0,0]),o[2]=n)):x.type==="tableCellDivider"&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],h=Or(f,t,a,i,void 0,h)),a=o,o=[a[1],n,0,0])):x.type==="tableHead"?(u=!0,c=n):x.type==="tableRow"||x.type==="tableDelimiterRow"?(c=n,a[1]!==0?(o[0]=o[1],h=Or(f,t,a,i,n,h)):o[1]!==0&&(h=Or(f,t,o,i,n,h)),i=0):i&&(x.type==="data"||x.type==="tableDelimiterMarker"||x.type==="tableDelimiterFiller")&&(o[3]=n)}for(c!==0&&lo(f,t,c,d,m),f.consume(t.events),n=-1;++n<t.events.length;){const p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=cS(t.events,n))}return e}function Or(e,t,n,r,i,a){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",u="tableContent";n[0]!==0&&(a.end=Object.assign({},xn(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const c=xn(t.events,n[1]);if(a={type:o,start:Object.assign({},c),end:Object.assign({},c)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const d=xn(t.events,n[2]),m=xn(t.events,n[3]),h={type:u,start:Object.assign({},d),end:Object.assign({},m)};if(e.add(n[2],0,[["enter",h,t]]),r!==2){const f=t.events[n[2]],p=t.events[n[3]];if(f[1].end=Object.assign({},p[1].end),f[1].type="chunkText",f[1].contentType="text",n[3]>n[2]+1){const x=n[2]+1,g=n[3]-n[2]-1;e.add(x,g,[])}}e.add(n[3]+1,0,[["exit",h,t]])}return i!==void 0&&(a.end=Object.assign({},xn(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function lo(e,t,n,r,i){const a=[],o=xn(t.events,n);i&&(i.end=Object.assign({},o),a.push(["exit",i,t])),r.end=Object.assign({},o),a.push(["exit",r,t]),e.add(n+1,0,a)}function xn(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const pS={name:"tasklistCheck",tokenize:xS};function fS(){return{text:{91:pS}}}function xS(e,t,n){const r=this;return i;function i(c){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(c):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),a)}function a(c){return be(c)?(e.enter("taskListCheckValueUnchecked"),e.consume(c),e.exit("taskListCheckValueUnchecked"),o):c===88||c===120?(e.enter("taskListCheckValueChecked"),e.consume(c),e.exit("taskListCheckValueChecked"),o):n(c)}function o(c){return c===93?(e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),u):n(c)}function u(c){return Z(c)?t(c):de(c)?e.check({tokenize:gS},t,n)(c):n(c)}}function gS(e,t,n){return pe(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function ES(e){return Oo([zC(),JC(),oS(e),dS(),fS()])}const bS={};function _S(e){const t=this,n=e||bS,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(ES(n)),a.push(FC()),o.push(HC(n))}const Pi=({isOrder:e,product:t})=>{var a;const{shopGeneral:n}=s.useStorefrontStore(),r=t.subscriptionSettings,{cart:i}=s.useCart();return console.log(t.description),s.jsxRuntimeExports.jsxs("div",{className:`${Ne.checkoutProduct} ${e?Ne.isOrder:""}`,children:[s.jsxRuntimeExports.jsxs("div",{className:Ne.productDetails,children:[s.jsxRuntimeExports.jsx("div",{className:`${Ne.productImage} ${e?Ne.isOrderImage:""}`,children:t!=null&&t.image?s.jsxRuntimeExports.jsx("img",{className:Ne.image,src:s.convertCfImageIdToUrl(t.image.cfId)}):s.jsxRuntimeExports.jsx(s.Icon,{name:"Image",fill:"var(--text-secondary)"})}),s.jsxRuntimeExports.jsx("div",{className:Ne.productInfo,children:s.jsxRuntimeExports.jsxs("div",{className:Ne.productHeader,children:[s.jsxRuntimeExports.jsx("h2",{className:Ne.productName,id:"h5",children:t.name}),s.jsxRuntimeExports.jsxs("span",{className:Ne.quantityBadge,id:"md",children:[t.price.quantity,"x"]})]})}),t.chargeType==="RECURRING"&&s.jsxRuntimeExports.jsx("p",{className:Ne.productPrice,id:"md",children:r&&`${s.formatPrice(r.price)} / ${s.normalizeInterval(r.recurringIntervalDays||0)}${r.entryFee?" + "+s.formatPrice(r.entryFee):""}`}),t.chargeType==="ONE_TIME"&&s.jsxRuntimeExports.jsx("p",{className:Ne.productPrice,id:"md",children:t.variantsGateways&&i.gateway&&t.variantsGateways.some(o=>o.name===i.gateway&&o.overrodePrice)?s.formatPrice(((a=t.variantsGateways.find(o=>o.name===i.gateway))==null?void 0:a.overrodePrice)||t.price):s.formatPrice(t.price)})]}),t.description&&s.jsxRuntimeExports.jsx("p",{className:Ne.productDescription,children:s.jsxRuntimeExports.jsx(ru,{remarkPlugins:[_S],rehypePlugins:[d3],components:{a:({node:o,...u})=>s.jsxRuntimeExports.jsx("a",{...u,target:"_blank",rel:"noopener noreferrer",className:Ne.link})},children:t.description})}),t.deliveryCategories&&s.jsxRuntimeExports.jsx("div",{className:Ne.deliveryCategories,children:t.deliveryCategories.map(o=>s.jsxRuntimeExports.jsx(s.DeliveryItem,{deliveryConfiguration:o},o.id))}),t.customerNote&&s.jsxRuntimeExports.jsxs("div",{className:Ne.customerNote,children:[s.jsxRuntimeExports.jsxs("div",{className:Ne.noteHeader,children:[(n==null?void 0:n.info.logo)&&s.jsxRuntimeExports.jsx("div",{className:Ne.logoContainer,children:s.jsxRuntimeExports.jsx("img",{src:s.convertCfImageIdToUrl(n==null?void 0:n.info.logo.cfId)})}),s.jsxRuntimeExports.jsx("p",{className:Ne.shopName,id:"md",children:n==null?void 0:n.info.name})]}),s.jsxRuntimeExports.jsx("p",{className:Ne.noteContent,id:"md",children:t.customerNote})]})]})},TS="_coupon_dkjzv_1",CS="_couponApplied_dkjzv_7",SS="_discount_dkjzv_17",yS="_removeButton_dkjzv_23",RS="_removeButtonText_dkjzv_27",kS="_couponInput_dkjzv_31",AS="_couponInputContainer_dkjzv_37",Bt={coupon:TS,couponApplied:CS,discount:SS,removeButton:yS,removeButtonText:RS,couponInput:kS,couponInputContainer:AS},NS=({applyCoupon:e,couponData:t,discount:n,removeCoupon:r,gateway:i})=>{const[a,o]=k.useState(null),[u,c]=k.useState(!1);return s.jsxRuntimeExports.jsxs("div",{className:Bt.coupon,children:[u&&s.jsxRuntimeExports.jsx(s.ContentLoader,{speed:2,width:500,height:48,viewBox:"0 0 500 48",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",className:Bt.skeleton,children:s.jsxRuntimeExports.jsx("rect",{x:"0",y:"0",rx:"10",ry:"10",width:"100%",height:"48"})}),!u&&(t?s.jsxRuntimeExports.jsxs("div",{className:Bt.couponApplied,children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Check",fill:"var(--text-success)"}),s.jsxRuntimeExports.jsxs("p",{id:"md",children:[a," is applied"," ",s.jsxRuntimeExports.jsxs("span",{className:Bt.discount,children:["-",n," ",!t.isFixed&&`(${t.discount}%)`]})]}),s.jsxRuntimeExports.jsx("button",{className:Bt.removeButton,onClick:r,children:s.jsxRuntimeExports.jsx("span",{className:Bt.removeButtonText,children:"Remove"})})]}):s.jsxRuntimeExports.jsxs("div",{className:Bt.couponInput,children:[s.jsxRuntimeExports.jsxs("div",{className:Bt.couponInputContainer,children:[s.jsxRuntimeExports.jsx(s.Input$1,{placeholder:"Enter a discount code",value:a||"",onChange:d=>{o(d===""?null:d)}}),s.jsxRuntimeExports.jsx(s.Button$1,{onClick:async()=>{c(!0),a&&await e(a),c(!1)},disabled:!i||!a,type:"Primary",children:"Apply"})]}),!i&&s.jsxRuntimeExports.jsx(s.Tip,{type:"warning",message:"The discount is related to the method of payment. Select to enter.",id:"md"})]}))]})},IS=({cart:e,products:t,applyCoupon:n,applyCouponPending:r,coupon:i,totalAndDiscount:a,removeCoupon:o})=>{var g;const{priceAdjusment:u}=s.useCartStore(),[c,d]=k.useState(!1),m=k.useMemo(()=>e.parts.map(C=>{const b=t.find(y=>y.id===C.productId),A=b==null?void 0:b.variants.find(y=>y.id===C.productVariantId);return C.chargeType==="RECURRING"&&d(!0),{id:(b==null?void 0:b.id)||0,image:b==null?void 0:b.images[0],name:(A==null?void 0:A.name)||"",description:(A==null?void 0:A.description)||"",price:{quantity:C.quantity,amount:(A==null?void 0:A.price.amount)||0,currency:A==null?void 0:A.price.currency},subscriptionSettings:A==null?void 0:A.subscriptionSettings,chargeType:C.chargeType,variantsGateways:A==null?void 0:A.gateways}}),[e,t]),h=((g=m[0])==null?void 0:g.price.currency)||"USD",f=new Intl.NumberFormat("en-US",{style:"currency",currency:h}),p=k.useMemo(()=>i&&!i.isFixed&&i.discount===100?a.total:a.totalWithDiscount?a.total-a.totalWithDiscount:0,[a,i]),x=u?(u==null?void 0:u.fixedAmount)+Math.round((a.totalWithDiscount!==void 0?a.totalWithDiscount:a.total-p)*((u==null?void 0:u.percentage)/100)):null;return s.jsxRuntimeExports.jsx("div",{className:Kt.checkoutItemsContainer,children:s.jsxRuntimeExports.jsxs("div",{className:Kt.innerContainer,children:[s.jsxRuntimeExports.jsx(lr,{}),s.jsxRuntimeExports.jsxs("div",{className:Kt.headerSection,children:[s.jsxRuntimeExports.jsx("header",{className:Kt.header,children:s.jsxRuntimeExports.jsx("h1",{id:"h3",children:"Checkout"})}),s.jsxRuntimeExports.jsx("div",{className:Kt.productsContainer,children:m.map(C=>s.jsxRuntimeExports.jsx(Pi,{product:C},C.id))}),s.jsxRuntimeExports.jsx("div",{className:Kt.couponContainer,children:s.jsxRuntimeExports.jsx(NS,{applyCoupon:n,applyCouponPending:r,couponData:i,discount:f.format(p),removeCoupon:o,gateway:e.gateway})}),s.jsxRuntimeExports.jsx(cr,{formatter:f,coupon:i,total:a.total,discount:p,totalWithDiscount:a.totalWithDiscount,feeOrDiscount:c?null:x})]}),s.jsxRuntimeExports.jsx("div",{className:Kt.checkoutFooter,children:s.jsxRuntimeExports.jsx(vt,{})})]})})},wS="_checkoutOperational_6gxie_1",jS="_innerContainer_6gxie_17",LS="_paymentMethodsSection_6gxie_22",vS="_socialConnectSection_6gxie_28",PS="_socialConnectLabel_6gxie_31",OS="_socialConnectContent_6gxie_35",DS="_continueButton_6gxie_39",MS="_button_6gxie_43",BS="_checkoutFooter_6gxie_47",It={checkoutOperational:wS,innerContainer:jS,paymentMethodsSection:LS,socialConnectSection:vS,socialConnectLabel:PS,socialConnectContent:OS,continueButton:DS,button:MS,checkoutFooter:BS},FS="_customFields_uhcib_2",HS="_checkboxWrapper_uhcib_9",US="_textareaWrapper_uhcib_16",$S="_inputWrapper_uhcib_17",zS="_requiredStar_uhcib_27",gn={customFields:FS,checkboxWrapper:HS,textareaWrapper:US,inputWrapper:$S,requiredStar:zS},WS=({customFields:e,setCustomFields:t})=>{if(e.length===0)return null;const n=e.map(r=>s.jsxRuntimeExports.jsx(qS,{customField:r,setCustomFields:t},r.name));return s.jsxRuntimeExports.jsx("div",{className:gn.customFields,children:n})},qS=({customField:e,setCustomFields:t})=>{const n=r=>{t(i=>i.map(a=>a.name===e.name?{...a,value:r}:a))};return s.jsxRuntimeExports.jsx(VS,{value:e.value??"",placeholder:e.placeholder,required:e.required,defaultValue:e.defaultValue,type:e.type,onValueChange:n,label:e.name,regex:e.regex})},VS=({label:e,type:t,defaultValue:n,value:r,placeholder:i,regex:a,required:o,onValueChange:u})=>{if(k.useEffect(()=>{r===""&&n!==void 0&&u(String(n))},[]),t===s.PRODUCT_VARIANT_EXTRA_FIELD_TYPE.Checkbox)return s.jsxRuntimeExports.jsxs("label",{className:gn.checkboxWrapper,children:[s.jsxRuntimeExports.jsx(s.Checkbox,{value:r==="true",onChange:d=>u(d?"true":"false")}),s.jsxRuntimeExports.jsxs("p",{className:gn.checkboxLabel,children:[e,o&&s.jsxRuntimeExports.jsx("span",{className:gn.requiredStar,children:"*"})]})]});if(t===s.PRODUCT_VARIANT_EXTRA_FIELD_TYPE.Hidden)return s.jsxRuntimeExports.jsx("input",{type:"hidden",value:String(n??""),required:o});const c=d=>{(t===s.PRODUCT_VARIANT_EXTRA_FIELD_TYPE.Number?/^\d*$/:a?new RegExp(a):/.*/).test(d)&&u(d)};return t===s.PRODUCT_VARIANT_EXTRA_FIELD_TYPE.Textarea?s.jsxRuntimeExports.jsx("div",{className:gn.textareaWrapper,children:s.jsxRuntimeExports.jsx(s.Textarea$1,{label:e,value:r,placeholder:i,onChange:c,required:o})}):s.jsxRuntimeExports.jsx("div",{className:gn.inputWrapper,children:s.jsxRuntimeExports.jsx(s.Input$1,{type:t===s.PRODUCT_VARIANT_EXTRA_FIELD_TYPE.Number?"number":"text",placeholder:t===s.PRODUCT_VARIANT_EXTRA_FIELD_TYPE.Number?"Type something number...":i,label:e,value:r,required:o,onChange:c})})},YS="_connectedContainer_1rxr8_1",GS="_userInfo_1rxr8_10",XS="_avatar_1rxr8_16",QS="_avatarImage_1rxr8_26",Dr={connectedContainer:YS,userInfo:GS,avatar:XS,avatarImage:QS},KS=({customerEmail:e})=>{const{discordInfo:t,setDiscordInfo:n}=s.useDiscordStore(),{notifications:r,setNotifications:i}=s.useNotificationStore(),[a,o]=k.useState(!1),[u,c]=k.useState(0),[d,m]=k.useState(null),h=20,f=g=>{var C,b,A,y;return(b=(C=g==null?void 0:g.response)==null?void 0:C.data)!=null&&b.error?g.response.data.error:(y=(A=g==null?void 0:g.response)==null?void 0:A.data)!=null&&y.message?g.response.data.message:g!=null&&g.message?g.message:"Failed to connect to Discord. Please try again later."},p=(g,C)=>{i([...r,{id:s.v4(),message:g,status:C}])};k.useEffect(()=>{if(d&&a){const g=setInterval(()=>{d.closed&&(clearInterval(g),o(!1),m(null))},1e3);return()=>clearInterval(g)}},[d,a]);const x=()=>{e.trim()!==""&&(o(!0),c(0),uc({customerEmail:e}).then(({data:g})=>{const C=window.open(g.redirectUrl);m(C),(!C||C.closed||typeof C.closed>"u")&&setTimeout(()=>{const y=document.createElement("a");y.href=g.redirectUrl,y.target="_blank",y.click()});let b;const A=()=>{if(c(y=>y+1),u>=h||C&&C.closed){u>=h&&p("Authorization timeout. Please try again.","error"),o(!1),clearTimeout(b);return}lc({id:g.id,customerEmail:e}).then(({data:y})=>{n({authorized:!0,id:y.discordId,avatar:y.avatar,username:y.username}),C&&C.close(),o(!1),m(null),p("Discord successfully connected!","success"),clearTimeout(b)}).catch(y=>{var P;if(console.log("Waiting for authorization...",y,{newWindow:C}),C&&C.closed){o(!1),clearTimeout(b);return}if((P=y==null?void 0:y.response)!=null&&P.status&&y.response.status!==404&&y.response.status>=400){p(f(y),"error"),o(!1),clearTimeout(b);return}clearTimeout(b),b=setTimeout(A,1500)})};A()}).catch(g=>{console.log("Could not initiate Discord authorization",g),p(f(g),"error"),o(!1)}))};return t!=null&&t.authorized?s.jsxRuntimeExports.jsxs("div",{className:Dr.connectedContainer,children:[s.jsxRuntimeExports.jsxs("div",{className:Dr.userInfo,children:[s.jsxRuntimeExports.jsx("div",{className:Dr.avatar,children:t.avatar?s.jsxRuntimeExports.jsx("img",{className:Dr.avatarImage,src:`https://cdn.discordapp.com/avatars/${t.id}/${t.avatar}.png?size=256`}):s.jsxRuntimeExports.jsx(s.Icon,{name:"UserCircle"})}),s.jsxRuntimeExports.jsx("p",{children:t.username}),s.jsxRuntimeExports.jsx(Nf,{})]}),s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:x,children:"Reconnect"})]}):s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:x,style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"center",gap:"10px"},disabled:a,children:a?s.jsxRuntimeExports.jsx(s.Loader,{}):s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"DiscordLogo"}),s.jsxRuntimeExports.jsx(s.StableText,{children:"Connect Your Discord"})]})})},ZS="_paymentMethodsContainer_a3he6_2",JS={paymentMethodsContainer:ZS},ey="_bottomSheet_1x8kc_1",ty="_content_1x8kc_8",ny="_description_1x8kc_11",ry="_title_1x8kc_15",sy="_buttonGroup_1x8kc_19",iy="_buttonWrapper_1x8kc_29",ay="_fullWidthButton_1x8kc_32",oy="_modal_1x8kc_36",uy="_header_1x8kc_43",wt={bottomSheet:ey,content:ty,description:ny,title:ry,buttonGroup:sy,buttonWrapper:iy,fullWidthButton:ay,modal:oy,header:uy},ly=({setIsOpen:e,balance:t})=>{const n=s.useNavigate(),{setIsOpen:r}=s.useModalStore(),i=()=>{n("/top-up?redirectRoute=checkout")};function a(){r(!1),setTimeout(()=>{e(!1)},300)}return s.jsxRuntimeExports.jsxs("div",{className:wt.modal,onClick:o=>o.stopPropagation(),children:[s.jsxRuntimeExports.jsxs("div",{className:wt.header,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",className:wt.title,children:"Insufficient Customer Balance"}),s.jsxRuntimeExports.jsx(s.Icon,{name:"X",hoverable:!0,onClick:a,fill:"var(--text-primary)"})]}),s.jsxRuntimeExports.jsxs("div",{className:wt.bottomSheet,children:[s.jsxRuntimeExports.jsx("div",{className:wt.content,children:s.jsxRuntimeExports.jsxs("p",{className:wt.description,children:["You currently have ",t&&s.formatPrice(t)," in your balance. After topping up the required amount, you can continue to checkout."]})}),s.jsxRuntimeExports.jsxs("div",{className:wt.buttonGroup,children:[s.jsxRuntimeExports.jsx("div",{className:wt.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:a,children:"Cancel"})}),s.jsxRuntimeExports.jsx("div",{className:wt.fullWidthButton,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Primary",onClick:i,children:"Add Balance"})})]})]})]})},El=({align:e,gateway:t,gatewayDisplayName:n,selected:r,onSelect:i,total:a,onSignInClick:o,reversed:u})=>{const{token:c}=s.useStorefrontStore(),{balance:d}=s.useCustomerDashboardStore(),[m,h]=k.useState(!1),{setIsOpen:f}=s.useModalStore(),p=x=>{x.stopPropagation(),i&&i(t),d&&d.amount<a&&(h(!0),f(!0))};return k.useEffect(()=>{},[d,a]),s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsxs("div",{className:s.clx(s.styles$3.paymentMethod,{[s.styles$3.selected]:r,[s.styles$3.alignColumn]:e==="column",[s.styles$3.reversed]:u}),onClick:p,children:[s.jsxRuntimeExports.jsxs("p",{className:s.styles$3.paymentText,id:"md",children:[n," ",s.jsxRuntimeExports.jsxs("span",{className:s.styles$3.balanceText,id:"md",children:["(",c?d&&s.formatPrice(d):s.jsxRuntimeExports.jsx("a",{className:s.styles$3.signInLink,onClick:o,id:"md",children:"Sign in"}),")"]})]}),s.jsxRuntimeExports.jsx("div",{className:s.styles$3.iconContainer,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"Wallet",fill:"var(--text-primary)",width:20,height:20})})]}),m&&s.jsxRuntimeExports.jsx(s.Modal,{close:()=>h(!1),children:s.jsxRuntimeExports.jsx(ly,{setIsOpen:h,balance:d})})]})},bl=({possibleGateways:e,setGateway:t,totalAndDiscount:n,onSignInClick:r,setPaymentMethod:i})=>{const[a,o]=k.useState(),[u,c]=k.useState(),{setPriceAdjustment:d}=s.useCartStore(),[m,h]=k.useState(null),f=(p,x)=>{var g;u!==x&&(t(x),d(((g=m==null?void 0:m.find(C=>C.name===x))==null?void 0:g.priceAdjustment)||null)),i(p),o(p),c(x)};return k.useEffect(()=>{const p=async()=>{const{data:x}=await s.fetchGatewaysDetail([...e.availableGateways,...e.requiresSignInGateways]);h(x)};e.availableGateways.length&&p()},[]),k.useLayoutEffect(()=>{d(null)},[]),s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[m&&s.jsxRuntimeExports.jsx("div",{className:JS.paymentMethodsContainer,children:m==null?void 0:m.map(p=>p.name==="Balance"?s.jsxRuntimeExports.jsx(El,{gateway:p.name,gatewayDisplayName:p.displayName,onSelect:x=>{c(x),u!==x&&t(x)},selected:p.name===u,total:n.total,onSignInClick:r,reversed:!0},p.name):p.paymentMethods.map(x=>s.jsxRuntimeExports.jsx(s.CheckoutPaymentMethod,{paymentMethod:x,gateway:p.name,gatewayDisplayName:p.displayName,gatewayLogoCfId:p.logoCfImageId,poweredByLogoCfId:p.poweredByImageCfImageId,onSelect:g=>f(g,p.name),selected:a===x&&u===p.name},`${p.name}-${x}`)))}),!m&&s.jsxRuntimeExports.jsx(s.ContentLoader,{speed:2,width:"100%",height:"220px",viewBox:"0 0 600 220",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",children:s.jsxRuntimeExports.jsx("rect",{x:"0",y:"0",rx:"5",ry:"5",width:"100%",height:"100%"})})]})},cy="_modal_14r0b_1",dy={modal:cy},hy=({setIsOpen:e})=>{const{token:t}=s.useStorefrontStore(),{setIsOpen:n}=s.useModalStore();k.useEffect(()=>{t&&r()},[t]);const r=()=>{n(!1),setTimeout(()=>{e(!1)},300)};return s.jsxRuntimeExports.jsx("div",{className:dy.modal,onClick:i=>i.stopPropagation(),children:s.jsxRuntimeExports.jsx(s.Auth,{inModal:!0})})},my=({getPossibleGateways:e,setGateway:t,getDiscordSettings:n,cart:r,products:i,submitCart:a,reset:o,setCustomFieldsToCart:u,totalAndDiscount:c,setDiscordSocialConnectId:d,setPaymentMethod:m})=>{const h=k.useMemo(()=>n(),[]),[f,p]=k.useState([]),{balance:x,setBalance:g}=s.useCustomerDashboardStore(),{token:C}=s.useStorefrontStore(),{executeRecaptcha:b}=s.useReCaptcha(),{discordInfo:A}=s.useDiscordStore(),{customerEmail:y,setCustomerEmail:P}=s.useCartStore(),j=A!=null&&A.authorized?A.id:void 0,N=s.useNavigate(),q=k.useMemo(()=>e(),[r.parts]),[V,Q]=k.useState(!1),{setIsOpen:w}=s.useModalStore(),{notifications:$,setNotifications:M}=s.useNotificationStore();k.useEffect(()=>{const G=s.getCommonCustomFields(r.parts,i).map(W=>W.type===s.PRODUCT_VARIANT_EXTRA_FIELD_TYPE.Checkbox?{...W,value:String(W.defaultValue)}:W);p([...G])},[]),k.useEffect(()=>{const X=s.getCommonCustomFields(r.parts,i);p(G=>{const W=new Map(G.map(J=>[J.name,J]));return X.map(J=>{const S=W.get(J.name);return S&&S.value?{...J,value:S.value}:J.type===s.PRODUCT_VARIANT_EXTRA_FIELD_TYPE.Checkbox?{...J,value:String(J.defaultValue)}:J})})},[r.parts,i]),k.useEffect(()=>{C&&(async()=>{const G=await s.getBalance();g(G)})()},[C]);function H(X){return X&&/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(X)}const Y=()=>{const X=[];return f.forEach(G=>{var W;G.required&&!((W=G.value)!=null&&W.toString().trim())&&X.push({message:`Field "${G.name}" is required.`,status:"error",id:s.v4()})}),X.length>0?(M([...$,...X]),!1):!0},z=async X=>{if(X.stopPropagation(),r.gateway==="Balance"&&!C){w(!0),Q(!0);return}if(!Y())return;const G=Object.fromEntries(f.map(J=>[J.name,J.value||""]));u({...G}),j&&h.isEnabled&&d(j);const W=await b();if(W){const J=await a(W);N(`/orders/${"order"in J?J.order.id:J.id}`),setTimeout(()=>o(),0)}};return s.jsxRuntimeExports.jsxs("div",{className:It.checkoutOperational,children:[s.jsxRuntimeExports.jsxs("div",{className:It.innerContainer,children:[r.parts.length>0&&s.jsxRuntimeExports.jsx(bl,{possibleGateways:q,setGateway:t,setPaymentMethod:m,balance:x,totalAndDiscount:c,onSignInClick:()=>{Q(!0),w(!0)}}),s.jsxRuntimeExports.jsx("div",{className:It.paymentMethodsSection,children:s.jsxRuntimeExports.jsx(s.Input$1,{placeholder:"mail@mail.com",value:y||"",onChange:X=>P(X),disabled:!!C,label:"Email Address"})}),s.jsxRuntimeExports.jsx(WS,{customFields:f,setCustomFields:p}),h.isEnabled&&s.jsxRuntimeExports.jsxs("div",{className:It.socialConnectSection,children:[s.jsxRuntimeExports.jsx("p",{className:It.socialConnectLabel,id:"md",children:"Social Connect"}),s.jsxRuntimeExports.jsx("div",{className:It.socialConnectContent,children:s.jsxRuntimeExports.jsx(KS,{customerEmail:y||""})})]}),s.jsxRuntimeExports.jsxs("div",{className:It.continueButton,children:[s.jsxRuntimeExports.jsx(s.Button$1,{onClick:z,disabled:!r.gateway||!H(y||"")||h.isRequired&&!(A!=null&&A.authorized),className:It.button,children:"Continue to Checkout"}),s.jsxRuntimeExports.jsx(s.TermsOfService,{}),s.jsxRuntimeExports.jsx(s.SecuredBySsl,{})]}),s.jsxRuntimeExports.jsx(vt,{className:It.checkoutFooter})]}),V&&s.jsxRuntimeExports.jsx(s.Modal,{close:()=>Q(!1),children:s.jsxRuntimeExports.jsx(hy,{setIsOpen:Q})})]})},py="_mt1_1t7v2_1",fy="_notifyBlock_1t7v2_13",xy="_notifyHeader_1t7v2_19",gy="_notifyContent_1t7v2_25",Ey="_buttonBlock_1t7v2_30",by="_imageBlock_1t7v2_34",_y="_imageContainer_1t7v2_42",Ty="_sectionBlock_1t7v2_54",Cy="_sectionTitle_1t7v2_61",Sy="_sectionSubtitle_1t7v2_64",yy="_inputContainer_1t7v2_69",pt={mt1:py,notifyBlock:fy,notifyHeader:xy,notifyContent:gy,buttonBlock:Ey,imageBlock:by,imageContainer:_y,sectionBlock:Ty,sectionTitle:Cy,sectionSubtitle:Sy,inputContainer:yy},Ry=({props:e})=>{const t=s.useCopy();return s.jsxRuntimeExports.jsx("div",{className:pt.mt1,children:s.jsxRuntimeExports.jsxs("div",{className:pt.inputContainer,children:[s.jsxRuntimeExports.jsx(s.Input$1,{value:e.text,disabled:!0,onChange:()=>{}}),e.shownCopyButton&&s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:()=>t(e.text),children:s.jsxRuntimeExports.jsx(s.Icon,{name:"Copy"})})]})})},ky=({props:e})=>s.jsxRuntimeExports.jsx(s.Button$1,{className:pt.buttonBlock,onClick:()=>window.open(e.url,"_blank","noopener"),children:e.text}),Ay=({props:e})=>s.jsxRuntimeExports.jsx("div",{className:pt.imageBlock,children:s.jsxRuntimeExports.jsx("div",{className:pt.imageContainer,children:s.jsxRuntimeExports.jsx("img",{src:e.src,alt:""})})}),Ny=({props:e})=>s.jsxRuntimeExports.jsxs("div",{className:pt.notifyBlock,children:[s.jsxRuntimeExports.jsxs("div",{className:pt.notifyHeader,children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Info",width:24,height:24,fill:"var(--text-secondary)"}),s.jsxRuntimeExports.jsx("p",{children:e.heading})]}),s.jsxRuntimeExports.jsx("p",{className:pt.notifyContent,children:e.content})]}),Iy=({props:e})=>{var t;return s.jsxRuntimeExports.jsxs("div",{className:pt.sectionBlock,children:[s.jsxRuntimeExports.jsx("p",{className:pt.sectionTitle,children:e.title}),s.jsxRuntimeExports.jsx("span",{className:pt.sectionSubtitle,children:e.subTitle}),(t=e.children)==null?void 0:t.map((n,r)=>s.jsxRuntimeExports.jsx(_l,{block:n},r))]})},_l=({block:e})=>{switch(e.type){case"Section":return s.jsxRuntimeExports.jsx(Iy,{...e});case"ReadOnlyTextInput":return s.jsxRuntimeExports.jsx(Ry,{...e});case"Notify":return s.jsxRuntimeExports.jsx(Ny,{...e});case"Button":return s.jsxRuntimeExports.jsx(ky,{...e});case"Image":return s.jsxRuntimeExports.jsx(Ay,{...e});default:return null}},wy="_bottomSheet_1x4sq_1",jy="_content_1x4sq_8",Ly="_agreementList_1x4sq_11",vy="_agreementItem_1x4sq_16",Py="_warning_1x4sq_23",Oy="_buttonGroup_1x4sq_31",Dy="_buttonWrapper_1x4sq_41",My="_fullWidthButton_1x4sq_44",By="_modal_1x4sq_48",Fy="_header_1x4sq_55",Je={bottomSheet:wy,content:jy,agreementList:Ly,agreementItem:vy,warning:Py,buttonGroup:Oy,buttonWrapper:Dy,fullWidthButton:My,modal:By,header:Fy},Hy=({setIsOpen:e,price:t})=>{const[n,r]=k.useState({agreeToSendAsFF:!1,agreeToSend:!1,agreeToNotAddNote:!1}),{setIsOpen:i}=s.useModalStore(),a=()=>{i(!1),setTimeout(()=>{e(!1)},300)};return s.jsxRuntimeExports.jsxs("div",{className:Je.modal,onClick:o=>o.stopPropagation(),children:[s.jsxRuntimeExports.jsxs("div",{className:Je.header,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",children:"Note"}),s.jsxRuntimeExports.jsx(s.Icon,{name:"X",hoverable:!0,onClick:a,fill:"var(--text-primary)"})]}),s.jsxRuntimeExports.jsxs("div",{className:Je.bottomSheet,children:[s.jsxRuntimeExports.jsxs("div",{className:Je.content,children:[s.jsxRuntimeExports.jsxs("div",{className:Je.agreementList,children:[s.jsxRuntimeExports.jsxs("label",{className:Je.agreementItem,children:[s.jsxRuntimeExports.jsx(s.Checkbox,{value:n.agreeToSendAsFF,onChange:o=>r({...n,agreeToSendAsFF:o})}),s.jsxRuntimeExports.jsx("p",{children:"I agree to send the payment as friends & family"})]}),s.jsxRuntimeExports.jsxs("label",{className:Je.agreementItem,children:[s.jsxRuntimeExports.jsx(s.Checkbox,{value:n.agreeToSend,onChange:o=>r({...n,agreeToSend:o})}),s.jsxRuntimeExports.jsxs("p",{children:["I agree to send the payment of ",s.formatPrice(t)," ",t.currency]})]}),s.jsxRuntimeExports.jsxs("label",{className:Je.agreementItem,children:[s.jsxRuntimeExports.jsx(s.Checkbox,{value:n.agreeToNotAddNote,onChange:o=>r({...n,agreeToNotAddNote:o})}),s.jsxRuntimeExports.jsx("p",{children:"I agree to not add a note to this payment"})]})]}),s.jsxRuntimeExports.jsx("div",{className:Je.warning,children:s.jsxRuntimeExports.jsxs("p",{children:["Please note that you are required to send the exact payment of ",s.formatPrice(t)," ",t.currency,". If you were to send any amount over or below, your funds will be lost."]})})]}),s.jsxRuntimeExports.jsxs("div",{className:Je.buttonGroup,children:[s.jsxRuntimeExports.jsx("div",{className:Je.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",children:s.jsxRuntimeExports.jsx("span",{className:"text-[var(--text-secondary)]",children:"Cancel"})})}),s.jsxRuntimeExports.jsx("div",{className:Je.fullWidthButton,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Primary",disabled:!(n.agreeToSendAsFF&&n.agreeToNotAddNote&&n.agreeToSend),onClick:a,children:"Continue to Payment"})})]})]})]})},Uy="_chargeItemsContainer_qmv3w_4",$y="_chargeItemsInner_qmv3w_20",zy="_productsContainer_qmv3w_27",Wy="_chargeHeader_qmv3w_41",qy="_chargeTitle_qmv3w_49",Vy="_chargeDescription_qmv3w_55",Yy="_copyButton_qmv3w_61",Gy="_productsList_qmv3w_73",Xy="_trackingContainer_qmv3w_81",Qy="_footerContainer_qmv3w_91",Et={chargeItemsContainer:Uy,chargeItemsInner:$y,productsContainer:zy,chargeHeader:Wy,chargeTitle:qy,chargeDescription:Vy,copyButton:Yy,productsList:Gy,trackingContainer:Xy,footerContainer:Qy},Ky=({charge:e})=>{var a;const t=s.useCopy(),n=(e==null?void 0:e.price.currency)||"USD",r=new Intl.NumberFormat("en-US",{style:"currency",currency:n}),i=k.useMemo(()=>{var o;return((o=e==null?void 0:e.order)==null?void 0:o.partOrders.map(u=>{var c,d,m,h,f,p;return{id:(u==null?void 0:u.id)||0,image:u.productWithVariant.image,name:((c=u.productWithVariant)==null?void 0:c.variantName)||"",description:((d=u.productWithVariant)==null?void 0:d.description)||"",price:{quantity:u.quantity,amount:((m=u.productWithVariant)==null?void 0:m.price.amount)||0,currency:(h=u.productWithVariant)==null?void 0:h.price.currency},subscriptionSettings:(f=e.order)!=null&&f.subscriptionOrderId?(p=u.productWithVariant)==null?void 0:p.subscriptionSettings:null}}))||[]},[e]);return s.jsxRuntimeExports.jsx("div",{className:Et.chargeItemsContainer,children:s.jsxRuntimeExports.jsxs("div",{className:Et.chargeItemsInner,children:[s.jsxRuntimeExports.jsx(lr,{expiresAt:e==null?void 0:e.expiresAt}),s.jsxRuntimeExports.jsxs("div",{className:Et.productsContainer,children:[(e==null?void 0:e.name)&&s.jsxRuntimeExports.jsxs("header",{className:Et.chargeHeader,children:[s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx("h1",{className:Et.chargeTitle,id:"h5",children:e.name}),e.description&&s.jsxRuntimeExports.jsx("p",{className:Et.chargeDescription,id:"md",children:e.description})]}),((a=e.order)==null?void 0:a.id)&&s.jsxRuntimeExports.jsxs(s.Button$1,{type:"Secondary",className:Et.copyButton,onClick:()=>{var o;return t(((o=e.order)==null?void 0:o.id)||"")},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Copy"}),"Copy Order ID"]})]}),s.jsxRuntimeExports.jsxs("div",{style:{flex:1},children:[!!i.length&&s.jsxRuntimeExports.jsx("div",{className:Et.productsList,children:i.map(o=>s.jsxRuntimeExports.jsx(Pi,{product:o},o.id))}),s.jsxRuntimeExports.jsx(cr,{formatter:r,coupon:null,total:(e==null?void 0:e.price.amount)||0,discount:0,totalWithDiscount:(e==null?void 0:e.price.amount)||0,isShowSubtotal:!1})]}),s.jsxRuntimeExports.jsxs("div",{children:[e&&s.jsxRuntimeExports.jsx("div",{className:Et.trackingContainer,children:s.jsxRuntimeExports.jsx(s.TrackPayment,{timeline:e.timeline})}),s.jsxRuntimeExports.jsx(vt,{className:Et.footerContainer})]})]})]})})},Zy="_checkoutOrderMainData_hqf60_1",Jy="_orderDetailRow_hqf60_6",e5="_chargeIdRow_hqf60_16",t5="_detailLabel_hqf60_25",n5="_detailValue_hqf60_29",r5="_chargeIdContainer_hqf60_33",s5="_chargeId_hqf60_16",i5="_copyIcon_hqf60_51",Ue={checkoutOrderMainData:Zy,orderDetailRow:Jy,chargeIdRow:e5,detailLabel:t5,detailValue:n5,chargeIdContainer:r5,chargeId:s5,copyIcon:i5},Tl=({lastUpdate:e,invoiceId:t,email:n,paymentType:r})=>{const i=s.useCopy(),[a,o]=k.useState(null),u=a==null?void 0:a.find(d=>d.name===r);k.useEffect(()=>{a||(async()=>{const m=[r],h=await s.getGatewaysDetail(m);o(h)})()},[r,a]);const c=d=>{const m=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],h=d.getDate().toString().padStart(2,"0"),f=m[d.getMonth()],p=d.getFullYear(),x=d.getHours(),g=d.getMinutes().toString().padStart(2,"0"),C=d.getSeconds().toString().padStart(2,"0"),b=x>=12?"PM":"AM",A=(x%12||12).toString().padStart(2,"0");return`${f} ${h}, ${p} at ${A}:${g}:${C} ${b}`};return s.jsxRuntimeExports.jsxs("div",{className:Ue.checkoutOrderMainData,children:[s.jsxRuntimeExports.jsxs("div",{className:Ue.orderDetailRow,children:[s.jsxRuntimeExports.jsx("p",{className:Ue.detailLabel,id:"md",children:"Last Updated"}),s.jsxRuntimeExports.jsx("p",{className:Ue.detailValue,id:"md",children:c(new Date(e))})]}),s.jsxRuntimeExports.jsxs("div",{className:Ue.orderDetailRow,children:[s.jsxRuntimeExports.jsx("p",{className:Ue.detailLabel,id:"md",children:"Payment Type"}),s.jsxRuntimeExports.jsx("p",{className:Ue.detailValue,id:"md",children:u==null?void 0:u.displayName})]}),s.jsxRuntimeExports.jsxs("div",{className:Ue.orderDetailRow,children:[s.jsxRuntimeExports.jsx("p",{className:Ue.detailLabel,id:"md",children:"Email"}),s.jsxRuntimeExports.jsx("p",{className:Ue.detailValue,id:"md",children:n})]}),s.jsxRuntimeExports.jsxs("div",{className:Ue.chargeIdRow,children:[s.jsxRuntimeExports.jsx("p",{className:Ue.detailLabel,id:"md",children:"Charge ID"}),s.jsxRuntimeExports.jsxs("div",{className:Ue.chargeIdContainer,children:[s.jsxRuntimeExports.jsx("p",{className:Ue.chargeId,id:"md",children:t}),s.jsxRuntimeExports.jsx("div",{className:Ue.copyIcon,onClick:()=>i(t),children:s.jsxRuntimeExports.jsx(s.Icon,{name:"Copy"})})]})]})]})},a5="_bottomSheet_1yai1_1",o5="_formContainer_1yai1_8",u5="_error_1yai1_14",l5="_buttonGroup_1yai1_18",c5="_buttonWrapper_1yai1_28",d5="_fullWidthButton_1yai1_31",h5="_modal_1yai1_41",m5="_header_1yai1_48",Ft={bottomSheet:a5,formContainer:o5,error:u5,buttonGroup:l5,buttonWrapper:c5,fullWidthButton:d5,modal:h5,header:m5},p5=({chargeId:e,setIsOpen:t})=>{const[n,r]=k.useState(""),[i,a]=k.useState(""),{setIsOpen:o}=s.useModalStore(),u=m=>{try{return new URL(m),!0}catch{return!1}},c=async m=>{if(m.preventDefault(),!n){a("The link field cannot be empty.");return}if(!u(n)){a("Please enter a valid URL");return}await nc({url:n},e)&&(alert("CashApp successfully verified"),t(!1))},d=()=>{o(!1),setTimeout(()=>{t(!1)},300)};return s.jsxRuntimeExports.jsxs("div",{className:Ft.modal,onClick:m=>m.stopPropagation(),children:[s.jsxRuntimeExports.jsxs("div",{className:Ft.header,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",children:"CashApp Verify"}),s.jsxRuntimeExports.jsx(s.Icon,{name:"X",hoverable:!0,onClick:d,fill:"var(--text-primary)"})]}),s.jsxRuntimeExports.jsx("form",{onSubmit:c,children:s.jsxRuntimeExports.jsxs("div",{className:Ft.bottomSheet,children:[s.jsxRuntimeExports.jsx("div",{className:Ft.formContainer,children:s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx(s.Input$1,{value:n,onChange:m=>{r(m),a("")},label:"Enter Cashapp Link",placeholder:"https://cash.app/payments/0000"}),i&&s.jsxRuntimeExports.jsx("p",{className:Ft.error,children:i})]})}),s.jsxRuntimeExports.jsxs("div",{className:Ft.buttonGroup,children:[s.jsxRuntimeExports.jsx("div",{className:Ft.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:d,children:"Cancel"})}),s.jsxRuntimeExports.jsx("div",{className:Ft.fullWidthButton,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Primary",children:"Verify"})})]})]})})]})},f5="_container_1opbn_1",x5="_productDetails_1opbn_8",g5="_imageContainer_1opbn_14",E5="_image_1opbn_14",b5="_textContainer_1opbn_32",_5="_header_1opbn_40",T5="_title_1opbn_46",C5="_price_1opbn_53",S5="_badgeContainer_1opbn_57",y5="_description_1opbn_61",bt={container:f5,productDetails:x5,imageContainer:g5,image:E5,textContainer:b5,header:_5,title:T5,price:C5,badgeContainer:S5,description:y5},R5=({subscription:e})=>s.jsxRuntimeExports.jsxs("div",{className:bt.container,children:[s.jsxRuntimeExports.jsxs("div",{className:bt.productDetails,children:[s.jsxRuntimeExports.jsx("div",{className:bt.imageContainer,children:e!=null&&e.image?s.jsxRuntimeExports.jsx("img",{className:bt.image,src:s.convertCfImageIdToUrl(e.image.cfId),alt:e==null?void 0:e.name}):s.jsxRuntimeExports.jsx(s.Icon,{name:"Image"})}),s.jsxRuntimeExports.jsxs("div",{className:bt.textContainer,children:[s.jsxRuntimeExports.jsx("div",{className:bt.header,children:s.jsxRuntimeExports.jsx("h2",{className:bt.title,children:e.name})}),s.jsxRuntimeExports.jsxs("p",{className:bt.price,children:[s.formatPrice(e.price)," / ",e.recurringInterval]})]}),s.jsxRuntimeExports.jsx("div",{className:bt.badgeContainer,children:s.jsxRuntimeExports.jsx(s.SubscriptionStatusBadge,{status:e.status})})]}),e.description&&s.jsxRuntimeExports.jsx(ru,{className:bt.description,children:e.description})]}),k5="_card_69liy_1",A5="_price_69liy_10",N5="_interval_69liy_17",I5="_name_69liy_22",w5="_description_69liy_28",j5="_currentPlan_69liy_32",L5="_selectButton_69liy_45",v5="_progressSection_69liy_50",P5="_progressLabel_69liy_54",O5="_bottomSheet_69liy_60",D5="_title_69liy_69",M5="_typeSelector_69liy_80",B5="_typeOption_69liy_90",F5="_active_69liy_100",H5="_saveTag_69liy_108",U5="_planSelector_69liy_117",$5="_modal_69liy_127",z5="_inactive_69liy_148",W5="_notMounted_69liy_151",q5="_closeButton_69liy_157",ye={card:k5,price:A5,interval:N5,name:I5,description:w5,currentPlan:j5,selectButton:L5,progressSection:v5,progressLabel:P5,bottomSheet:O5,title:D5,typeSelector:M5,typeOption:B5,active:F5,saveTag:H5,planSelector:U5,modal:$5,inactive:z5,notMounted:W5,closeButton:q5},V5=({variant:e,onSelect:t,isCurrent:n})=>{const r=e.subscriptionSettings.recurringIntervalDays===30?"month":e.subscriptionSettings.recurringIntervalDays===365?"year":"period",i=e.subscriptionSettings.price.amount.toFixed(2),a=e.subscriptionSettings.recurringIntervalDays,o=10;return s.jsxRuntimeExports.jsxs("div",{className:ye.card,onClick:t,children:[s.jsxRuntimeExports.jsxs("h2",{className:ye.price,children:["$",i," ",s.jsxRuntimeExports.jsxs("span",{className:ye.interval,children:["/ ",r]})]}),s.jsxRuntimeExports.jsx("h3",{className:ye.name,children:e.name}),e.description&&s.jsxRuntimeExports.jsx("p",{className:ye.description,children:e.description}),n?s.jsxRuntimeExports.jsxs("div",{className:ye.currentPlan,children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Check"}),"Your current Plan"]}):s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",className:ye.selectButton,children:"Select"}),n&&s.jsxRuntimeExports.jsxs("div",{className:ye.progressSection,children:[s.jsxRuntimeExports.jsx(go,{percent:o/a*100,disablePercentLabel:!0}),s.jsxRuntimeExports.jsxs("p",{className:ye.progressLabel,children:["Used: ",o," of ",a," days"]})]})]})},Y5=({isOpen:e,setIsOpen:t,subscription:n})=>{const[r,i]=k.useState(null),[a,o]=k.useState(null),[u,c]=k.useState(null),{id:d,accessToken:m}=s.useParams(),[h,f]=k.useState(!1),[p,x]=k.useState(!1),{setIsOpen:g}=s.useModalStore();k.useEffect(()=>{e&&f(!0)},[e]);const C=()=>{t(!1)},[b,A]=k.useState(null);k.useEffect(()=>{d&&m&&(async()=>{if(d&&m){const{data:N}=await s.getSubscriptionUpgradePlans({id:d,accessToken:m});A(N)}})()},[d,m]),k.useEffect(()=>{var j;if(b!=null&&b.data.types[0]){const N=(j=b.data.types.flatMap(q=>q.productVariants).find(q=>q.data.id===(n==null?void 0:n.variantId)))==null?void 0:j.data;N&&(c(N),o(N))}},[b,n]),k.useEffect(()=>{b!=null&&b.data.types[0]&&i(b==null?void 0:b.data.types[0])},[b==null?void 0:b.data.types]);const y=j=>{i(j),o(null)},P=j=>{o(j),g(!0),x(!0)};return s.jsxRuntimeExports.jsxs("div",{className:s.clx(ye.modal,{[ye.active]:e,[ye.inactive]:!e&&h,[ye.notMounted]:!h}),onClick:j=>j.stopPropagation(),children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"X",onClick:C,hoverable:!0,className:ye.closeButton,fill:"var(--text-primary)"}),s.jsxRuntimeExports.jsxs("div",{className:ye.bottomSheet,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",className:ye.title,children:"Change Plan"}),s.jsxRuntimeExports.jsx("p",{className:ye.description,children:b==null?void 0:b.data.description}),s.jsxRuntimeExports.jsx("div",{className:ye.typeSelector,children:b==null?void 0:b.data.types.map(j=>s.jsxRuntimeExports.jsxs("div",{className:s.clx(ye.typeOption,{[ye.active]:(r==null?void 0:r.id)===j.id}),onClick:()=>y(j),children:[j.name,j.name==="Yearly"&&s.jsxRuntimeExports.jsx("span",{className:ye.saveTag,children:"Save %"})]},j.id))}),r&&s.jsxRuntimeExports.jsx("div",{className:ye.planSelector,children:r.productVariants.map(j=>s.jsxRuntimeExports.jsx(V5,{variant:j.data,isSelected:(a==null?void 0:a.id)===j.data.id,isCurrent:(u==null?void 0:u.id)===j.data.id,onSelect:()=>P(j.data)},j.data.id))})]}),p&&a&&n&&s.jsxRuntimeExports.jsx(s.Modal,{close:()=>{x(!1)},children:s.jsxRuntimeExports.jsx(MR,{setIsOpen:x,selectedVariant:a,subscription:n})})]})},G5="_container_nb625_1",X5="_title_nb625_11",Q5="_subtitle_nb625_16",K5="_info_nb625_20",Mr={container:G5,title:X5,subtitle:Q5,info:K5},Z5=()=>{const{subscription:e}=s.useSubscriptionStore(),[t,n]=s.extractDateAndTime((e==null?void 0:e.activeTo)||""),[r,i]=k.useState(!1),{setIsOpen:a}=s.useModalStore();return s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsxs("div",{className:Mr.container,children:[s.jsxRuntimeExports.jsxs("div",{className:Mr.info,children:[s.jsxRuntimeExports.jsx("p",{className:Mr.title,children:"Expiration Date"}),s.jsxRuntimeExports.jsxs("p",{className:Mr.subtitle,children:[t," at ",n]})]}),s.jsxRuntimeExports.jsx(s.Button$1,{type:"Special",onClick:o=>{o.stopPropagation(),a(!0),i(!0)},children:"Extend"})]}),r&&s.jsxRuntimeExports.jsx(s.Modal,{close:()=>i(!1),children:s.jsxRuntimeExports.jsx(t6,{setIsOpen:i})})]})},J5="_couponContainer_1sspa_1",eR="_iconWrapper_1sspa_10",tR="_details_1sspa_21",nR="_title_1sspa_25",rR="_progress_1sspa_29",sR="_foreverText_1sspa_34",fn={couponContainer:J5,iconWrapper:eR,details:tR,title:nR,progress:rR,foreverText:sR},iR=({coupon:e,currency:t})=>{const n=e.isFixed?s.formatPrice({amount:e.discount,currency:t}):`${e.discount}%`,r=e.initialCouponDurationForSubscriptions?s.percentageDifference(e.initialCouponDurationForSubscriptions,e.currentCouponDurationForSubscriptions||1):100;return s.jsxRuntimeExports.jsxs("div",{className:fn.couponContainer,children:[s.jsxRuntimeExports.jsx("div",{className:fn.iconWrapper,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"CheckCircle"})}),s.jsxRuntimeExports.jsxs("div",{className:fn.details,children:[s.jsxRuntimeExports.jsxs("p",{className:fn.title,children:[e.name,", ",n," discount"]}),s.jsxRuntimeExports.jsx("div",{className:fn.progress,children:s.jsxRuntimeExports.jsx(go,{color:"#C2C2C2",percent:r,disablePercentLabel:!0})}),s.jsxRuntimeExports.jsx("p",{className:fn.foreverText,children:"Forever discount code"})]})]})},aR="_paymentMethodContainer_1g0da_4",oR="_paymentMethodTitle_1g0da_15",uR="_activeMethod_1g0da_20",lR="_noMethod_1g0da_28",cR="_activeMethodPaymentMethod_1g0da_37",dR="_paymentMethodLogo_1g0da_47",hR="_paymentMethodNumber_1g0da_57",mR="_method_1g0da_61",Wt={paymentMethodContainer:aR,paymentMethodTitle:oR,activeMethod:uR,noMethod:lR,activeMethodPaymentMethod:cR,paymentMethodLogo:dR,paymentMethodNumber:hR,method:mR},pR="_paymentMethods_1gev0_1",fR="_modal_1gev0_14",xR="_header_1gev0_28",gR="_content_1gev0_37",Jt={paymentMethods:pR,modal:fR,header:xR,content:gR},ER=e=>{const{setIsLoading:t,setIsOpen:n}=e,{subscription:r,setSubscription:i}=s.useSubscriptionStore();if(!r)return null;const{id:a}=s.useParams(),o=s.useNavigate(),{notifications:u,setNotifications:c}=s.useNotificationStore(),{setPaymentMethod:d,setGateway:m,cart:h}=s.useCart(),{setIsOpen:f}=s.useModalStore();async function p(){if(x(),t(!0),a&&r){const{data:g}=await s.changeSubscriptionGateway(a,h.gateway);g.isReconnectPaymentNeeded?o(`/charges/${g.chargeId}`):(c([...u,{status:"success",id:s.v4(),message:"Your action has been successfully completed"}]),i({...r,gatewayName:h.gateway}))}else c([...u,{status:"error",id:s.v4(),message:"Your action has been failed. Try again!"}]);t(!1)}function x(){f(!1),setTimeout(()=>{n(!1)},300)}return s.jsxRuntimeExports.jsxs("div",{className:Jt.modal,onClick:g=>{g.stopPropagation()},children:[s.jsxRuntimeExports.jsxs("div",{className:Jt.header,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",className:Jt.title,children:"Choose Payment Method"}),s.jsxRuntimeExports.jsx(s.Icon,{name:"X",onClick:x,hoverable:!0,fill:"var(--text-primary)"})]}),s.jsxRuntimeExports.jsxs("div",{className:Jt.content,children:[(r==null?void 0:r.availableGateways)&&s.jsxRuntimeExports.jsx(bl,{possibleGateways:{availableGateways:r.availableGateways,requiresSignInGateways:r.availableGateways},setGateway:m,setPaymentMethod:d,totalAndDiscount:{total:(r==null?void 0:r.price.amount)||0,totalWithDiscount:r==null?void 0:r.price.amount},onSignInClick:()=>o("/customer-dash")}),s.jsxRuntimeExports.jsxs("div",{className:Jt.paymentMethods,children:[s.jsxRuntimeExports.jsx("div",{className:Jt.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:x,children:"Cancel"})}),s.jsxRuntimeExports.jsx("div",{className:Jt.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Primary",disabled:!h.gateway,onClick:()=>p(),children:"Continue"})})]})]})]})},bR="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20131.39%2086.9'%3e%3cdefs%3e%3cstyle%3e.a{opacity:0;}.b{fill:%23fff;}.c{fill:%23ff5f00;}.d{fill:%23eb001b;}.e{fill:%23f79e1b;}%3c/style%3e%3c/defs%3e%3ctitle%3eAsset%201%3c/title%3e%3cg%20class='a'%3e%3crect%20class='b'%20width='131.39'%20height='86.9'/%3e%3c/g%3e%3crect%20class='c'%20x='48.37'%20y='15.14'%20width='34.66'%20height='56.61'/%3e%3cpath%20class='d'%20d='M51.94,43.45a35.94,35.94,0,0,1,13.75-28.3,36,36,0,1,0,0,56.61A35.94,35.94,0,0,1,51.94,43.45Z'/%3e%3cpath%20class='e'%20d='M120.5,65.76V64.6H121v-.24h-1.19v.24h.47v1.16Zm2.31,0v-1.4h-.36l-.42,1-.42-1h-.36v1.4h.26V64.7l.39.91h.27l.39-.91v1.06Z'/%3e%3cpath%20class='e'%20d='M123.94,43.45a36,36,0,0,1-58.25,28.3,36,36,0,0,0,0-56.61,36,36,0,0,1,58.25,28.3Z'/%3e%3c/svg%3e",_R=()=>{var x,g,C;const{subscription:e}=s.useSubscriptionStore(),{cart:t,setPaymentMethod:n}=s.useCart(),r=s.useNavigate(),[i,a]=k.useState(null),[o,u]=k.useState(!1),[c,d]=k.useState(!1),{setIsOpen:m}=s.useModalStore();if(!e)return null;const[h,f]=k.useState(e.gatewayName||t.gateway),p=t.paymentMethod;return k.useEffect(()=>{(async()=>{const A=await s.getGatewaysDetail(e.availableGateways);a(A)})()},[]),k.useEffect(()=>{t.gateway!==h&&f(t.gateway)},[t.gateway]),s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsxs("div",{className:Wt.paymentMethodContainer,children:[s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx("p",{className:Wt.paymentMethodTitle,children:"Active Payment Method"}),e.gatewayInfo&&Object.keys(e.gatewayInfo).length>0&&s.jsxRuntimeExports.jsx(TR,{gatewayInfo:e.gatewayInfo}),(!e.gatewayInfo||Object.keys(e.gatewayInfo).length===0)&&h==="Balance"&&s.jsxRuntimeExports.jsx(El,{gateway:h,gatewayDisplayName:h,total:(e==null?void 0:e.price.amount)||0,onSignInClick:()=>r("/customer-dash")}),(!e.gatewayInfo||Object.keys(e.gatewayInfo).length===0)&&!h&&s.jsxRuntimeExports.jsx("span",{className:Wt.noMethod,children:"Payment method is not set"}),(!e.gatewayInfo||Object.keys(e.gatewayInfo).length===0)&&h&&s.jsxRuntimeExports.jsx("div",{className:Wt.activeMethod,children:i&&s.jsxRuntimeExports.jsx(s.CheckoutPaymentMethod,{align:"row",gatewayLogoCfId:(x=i.find(b=>b.name===h))==null?void 0:x.logoCfImageId,gatewayDisplayName:(g=i.find(b=>b.name===h))==null?void 0:g.displayName,gateway:h,poweredByLogoCfId:(C=i.find(b=>b.name===h))==null?void 0:C.poweredByImageCfImageId,className:Wt.activeMethodPaymentMethod,selected:p===h,onSelect:b=>{n(b)}},h)})]}),s.jsxRuntimeExports.jsx(s.Button$1,{type:"Special",onClick:b=>{b.stopPropagation(),m(!0),d(!0)},children:t.gateway?"Change":"Manage"})]}),c&&s.jsxRuntimeExports.jsx(s.Modal,{close:()=>d(!1),children:s.jsxRuntimeExports.jsx(ER,{setIsLoading:u,setIsOpen:d})})]})},TR=({gatewayInfo:e})=>{var t,n,r,i,a;return s.jsxRuntimeExports.jsxs("div",{className:Wt.method,children:[s.jsxRuntimeExports.jsxs("div",{className:Wt.paymentMethodLogo,children:[((t=e.card)==null?void 0:t.brand.toLowerCase())==="visa"&&s.jsxRuntimeExports.jsx(s.Visa,{}),((n=e.card)==null?void 0:n.brand.toLowerCase())==="mastercard"&&s.jsxRuntimeExports.jsx("img",{src:bR,alt:"",width:22}),((r=e.card)==null?void 0:r.brand.toLowerCase())!=="visa"&&((i=e.card)==null?void 0:i.brand.toLowerCase())!=="mastercard"&&s.jsxRuntimeExports.jsx(s.Icon,{name:"CreditCard",width:22})]}),s.jsxRuntimeExports.jsxs("p",{className:Wt.paymentMethodNumber,children:["•••• •••• •••• ",(a=e.card)==null?void 0:a.last4]})]})},CR="_subscriptionProductContainer_83ibx_4",SR="_subscriptionProductImage_83ibx_15",yR="_subscriptionProductInfo_83ibx_32",RR="_name_83ibx_37",kR="_price_83ibx_40",qn={subscriptionProductContainer:CR,subscriptionProductImage:SR,subscriptionProductInfo:yR,name:RR,price:kR},AR=({subscription:e,id:t,accessToken:n})=>{const[r,i]=k.useState(!1),{setIsOpen:a}=s.useModalStore();return s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsxs("div",{className:qn.subscriptionProductContainer,onClick:o=>o.stopPropagation(),children:[s.jsxRuntimeExports.jsx("div",{className:qn.subscriptionProductImage,children:e!=null&&e.image?s.jsxRuntimeExports.jsx("img",{src:s.convertCfImageIdToUrl(e.image.cfId)}):s.jsxRuntimeExports.jsx(s.Icon,{name:"Image"})}),s.jsxRuntimeExports.jsxs("div",{className:qn.subscriptionProductInfo,children:[s.jsxRuntimeExports.jsx("div",{className:"flex items-center gap-2",children:s.jsxRuntimeExports.jsx("h2",{className:qn.name,children:e.name})}),s.jsxRuntimeExports.jsxs("p",{className:qn.price,children:[s.formatPrice(e.price)," / ",e.recurringInterval]})]}),s.jsxRuntimeExports.jsx(s.Button$1,{type:"Special",onClick:o=>{o.preventDefault(),i(!0),a(!0)},children:"Cancel"})]}),r&&s.jsxRuntimeExports.jsx(s.Modal,{close:()=>i(!1),children:s.jsxRuntimeExports.jsx(p6,{accessToken:n,id:t,isOpen:r,setIsOpen:i})})]})},NR="_content_5ctxw_1",IR="_selectedPlan_5ctxw_37",wR="_planName_5ctxw_44",jR="_description_5ctxw_48",LR="_price_5ctxw_51",vR="_buttonGroup_5ctxw_79",PR="_buttonWrapper_5ctxw_84",OR="_modal_5ctxw_88",DR="_header_5ctxw_95",lt={content:NR,selectedPlan:IR,planName:wR,description:jR,price:LR,buttonGroup:vR,buttonWrapper:PR,modal:OR,header:DR},MR=({setIsOpen:e,selectedVariant:t,subscription:n})=>{if(!t)return null;const{setIsOpen:r}=s.useModalStore(),i=()=>{a()},a=()=>{r(!1),setTimeout(()=>{e(!1)},300)},o=(t.subscriptionSettings.compareAtPrice||t.subscriptionSettings.price).amount,u=t.subscriptionSettings.compareAtPrice?t.subscriptionSettings.compareAtPrice.amount-t.subscriptionSettings.price.amount:t.subscriptionSettings.price.amount,c=o-u,d=new Intl.NumberFormat("en-US",{style:"currency",currency:n.price.currency});return s.jsxRuntimeExports.jsxs("div",{className:lt.modal,children:[s.jsxRuntimeExports.jsxs("div",{className:lt.header,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",children:"Choose upgrade method"}),s.jsxRuntimeExports.jsx(s.Icon,{name:"X",hoverable:!0,onClick:()=>a(),fill:"var(--text-primary)"})]}),s.jsxRuntimeExports.jsxs("div",{className:lt.bottomSheet,children:[s.jsxRuntimeExports.jsxs("div",{className:lt.content,children:[s.jsxRuntimeExports.jsxs("div",{className:lt.selectedPlan,children:[s.jsxRuntimeExports.jsx("h2",{className:lt.planName,children:t.name}),s.jsxRuntimeExports.jsx("p",{className:lt.description,children:t.description}),s.jsxRuntimeExports.jsxs("p",{className:lt.price,children:["$",t.subscriptionSettings.price.amount.toFixed(2)," /"," ",t.subscriptionSettings.recurringIntervalDays===30?"month":"year"]})]}),s.jsxRuntimeExports.jsx(cr,{formatter:d,coupon:null,total:c,discount:u})]}),s.jsxRuntimeExports.jsxs("div",{className:lt.buttonGroup,children:[s.jsxRuntimeExports.jsx("div",{className:lt.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:()=>a(),children:"Stay with us"})}),s.jsxRuntimeExports.jsx("div",{className:lt.buttonWrapper,children:s.jsxRuntimeExports.jsxs(s.Button$1,{type:"Primary",onClick:i,children:["Upgrade for $",c.toFixed(2)]})})]})]})]})},BR="_reviewMessage_1t8u4_1",FR="_leaveReviewContainer_1t8u4_11",HR="_leaveReviewTitle_1t8u4_20",zs={reviewMessage:BR,leaveReviewContainer:FR,leaveReviewTitle:HR},UR=({review:e,orderId:t,className:n})=>{const[r,i]=k.useState((e==null?void 0:e.rating)||0),[a,o]=k.useState(!1),{setIsOpen:u}=s.useModalStore(),{notifications:c,setNotifications:d}=s.useNotificationStore(),m=async h=>{e&&"accessToken"in e&&(await ac({comment:h,rating:r},t,e.accessToken),d([...c,{status:"success",id:s.v4(),message:"Review left successfully"}]),o(!1))};return k.useEffect(()=>{e&&r&&"accessToken"in e&&!e.rating&&(u(!0),o(!0))},[r]),e?e.rating&&"accessToken"in e?s.jsxRuntimeExports.jsxs("div",{className:zs.reviewMessage,children:["You left a ",e.rating," star rating"]}):s.jsxRuntimeExports.jsxs("div",{className:s.clx(zs.leaveReviewContainer,n),children:[s.jsxRuntimeExports.jsx("p",{className:zs.leaveReviewTitle,children:"Leave a review"}),s.jsxRuntimeExports.jsx(Hf,{rating:r,setRating:i,disabled:!!e.rating||!("accessToken"in e)}),a&&s.jsxRuntimeExports.jsx(s.Modal,{close:()=>o(!1),children:s.jsxRuntimeExports.jsx(XR,{setIsOpen:o,onSubmit:m})})]}):null},$R="_bottomSheet_1bcyj_1",zR="_content_1bcyj_7",WR="_title_1bcyj_18",qR="_buttonGroup_1bcyj_22",VR="_buttonWrapper_1bcyj_33",YR="_modal_1bcyj_37",GR="_header_1bcyj_44",Ht={bottomSheet:$R,content:zR,title:WR,buttonGroup:qR,buttonWrapper:VR,modal:YR,header:GR},XR=({setIsOpen:e,onSubmit:t})=>{const[n,r]=k.useState(""),{setIsOpen:i}=s.useModalStore(),a=()=>{i(!1),setTimeout(()=>{e(!1)},300)};return s.jsxRuntimeExports.jsxs("div",{className:Ht.modal,onClick:o=>o.stopPropagation(),children:[s.jsxRuntimeExports.jsxs("div",{className:Ht.header,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",className:Ht.title,children:"Review Description"}),s.jsxRuntimeExports.jsx(s.Icon,{name:"X",hoverable:!0,onClick:a,fill:"var(--text-primary)"})]}),s.jsxRuntimeExports.jsxs("div",{className:Ht.bottomSheet,children:[s.jsxRuntimeExports.jsx("div",{className:Ht.content,children:s.jsxRuntimeExports.jsx(s.Textarea$1,{placeholder:"Great product and fast checkout...",value:n,onChange:o=>r(o),label:"Describe your review in detail below"})}),s.jsxRuntimeExports.jsxs("div",{className:Ht.buttonGroup,children:[s.jsxRuntimeExports.jsx("div",{className:Ht.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:a,children:"Cancel"})}),s.jsxRuntimeExports.jsx("div",{className:Ht.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Primary",disabled:!n,onClick:()=>{a(),t(n)},children:"Submit"})})]})]})]})},QR="_container_1idhv_1",KR="_buttonGroup_1idhv_8",ZR="_buttonWrapper_1idhv_15",JR="_header_1idhv_19",e6="_content_1idhv_28",en={container:QR,buttonGroup:KR,buttonWrapper:ZR,header:JR,content:e6},t6=({setIsOpen:e})=>{const{subscription:t}=s.useSubscriptionStore(),{getTotalAndDiscount:n,cart:r,coupon:i}=s.useCart(),[a,o]=k.useState(1),u=s.useNavigate(),{setIsOpen:c}=s.useModalStore(),{setNotifications:d,notifications:m}=s.useNotificationStore(),[h,f]=k.useState(!1),p=k.useMemo(()=>n(),[i,r]),x=k.useMemo(()=>p.totalWithDiscount?p.total-p.totalWithDiscount:0,[p]);if(h)return s.jsxRuntimeExports.jsx(s.ProcessingPaymentModal,{});const g=(t==null?void 0:t.price.currency)||"USD",C=new Intl.NumberFormat("en-US",{style:"currency",currency:g});async function b(){var y;f(!0);try{const{data:P}=await s.extendSubscription((t==null?void 0:t.id)||"",{});d([{id:s.v4(),message:"Order created successfully",status:"success"}]),u(`/orders/${(y=P.data)==null?void 0:y.id}/${P.data.fullAccessToken}`)}catch(P){const j=P;d([...m,{id:s.v4(),message:`Order creation failed: ${j.message}`,status:"error"}]),A()}finally{f(!1)}}function A(){c(!1),setTimeout(()=>{e(!1)},300)}return s.jsxRuntimeExports.jsxs("div",{className:en.container,onClick:y=>y.stopPropagation(),children:[s.jsxRuntimeExports.jsxs("div",{className:en.header,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",className:en.title,children:"Extend Subscription"}),s.jsxRuntimeExports.jsx(s.Icon,{name:"X",onClick:A,hoverable:!0,fill:"var(--text-primary)"})]}),s.jsxRuntimeExports.jsxs("div",{className:en.content,children:[s.jsxRuntimeExports.jsx(Zf,{step:a,totalSteps:12,onStepChange:o,label:"How long would you like to extend your subscription for?"}),s.jsxRuntimeExports.jsx(cr,{formatter:C,coupon:i,total:p.total,discount:x,totalWithDiscount:p.totalWithDiscount}),s.jsxRuntimeExports.jsxs("div",{className:en.buttonGroup,children:[s.jsxRuntimeExports.jsx("div",{className:en.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:A,children:"Cancel"})}),s.jsxRuntimeExports.jsx("div",{className:en.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Primary",onClick:b,children:"Extend"})})]})]})]})},n6="_bottomSheet_uw5jb_1",r6="_content_uw5jb_7",s6="_radioGroup_uw5jb_11",i6="_confirmation_uw5jb_26",a6="_iconWrapper_uw5jb_33",o6="_title_uw5jb_42",u6="_message_uw5jb_48",l6="_buttonGroup_uw5jb_54",c6="_buttonWrapper_uw5jb_64",d6="_modal_uw5jb_68",h6="_header_uw5jb_77",je={bottomSheet:n6,content:r6,radioGroup:s6,confirmation:i6,iconWrapper:a6,title:o6,message:u6,buttonGroup:l6,buttonWrapper:c6,modal:d6,header:h6},m6={0:"Are you sure?",1:"Just making sure",2:"We're sorry to see you go"},p6=({isOpen:e,setIsOpen:t,id:n,accessToken:r})=>{const[i,a]=k.useState(0),[o,u]=k.useState(!1),[c,d]=k.useState(""),[m,h]=k.useState(""),{setIsOpen:f}=s.useModalStore(),p=async()=>{if(!c)return;u(!0);const g=await s.cancelSubscription(n,r,{reason:c==="Other reason"?m:c});u(!1),g&&a(2)};k.useEffect(()=>{e||(a(0),d(""),h(""))},[e]);const x=()=>{f(!1),setTimeout(()=>{t(!1)},300)};return s.jsxRuntimeExports.jsxs("div",{className:je.modal,onClick:g=>g.stopPropagation(),children:[s.jsxRuntimeExports.jsxs("div",{className:je.header,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",children:m6[i]||""}),s.jsxRuntimeExports.jsx(s.Icon,{name:"X",onClick:x,hoverable:!0,fill:"var(--text-primary)"})]}),s.jsxRuntimeExports.jsxs("div",{className:je.content,children:[i===0&&s.jsxRuntimeExports.jsxs("div",{className:je.bottomSheet,children:[s.jsxRuntimeExports.jsx("p",{children:"Before you cancel your subscription can you tell us why?"}),s.jsxRuntimeExports.jsxs("div",{className:je.radioGroup,children:[s.jsxRuntimeExports.jsx(s.Radio,{defaultValue:c,onChange:g=>d(g),options:[{value:"Found another company",label:"Found another company"},{value:"Expensive",label:"Expensive"},{value:"Technical problems",label:"Technical problems"},{value:"Support problems",label:"Support problems"},{value:"Other reason",label:"Other reason"}],flexDirection:"column"}),c==="Other reason"&&s.jsxRuntimeExports.jsx(s.Textarea$1,{value:m,onChange:g=>h(g),placeholder:"Describe the reason..."})]}),s.jsxRuntimeExports.jsxs("div",{className:je.buttonGroup,children:[s.jsxRuntimeExports.jsx("div",{className:je.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:x,children:"Stay with us"})}),s.jsxRuntimeExports.jsx("div",{className:je.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Primary",onClick:()=>c&&a(1),disabled:!c,children:"Continue"})})]})]}),i===1&&s.jsxRuntimeExports.jsxs("div",{className:je.bottomSheet,children:[s.jsxRuntimeExports.jsx("p",{children:"You'll lose access to all of the features and content available within this subscription."}),s.jsxRuntimeExports.jsxs("div",{className:je.buttonGroup,children:[s.jsxRuntimeExports.jsx("div",{className:je.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:x,children:"Stay with us"})}),s.jsxRuntimeExports.jsx("div",{className:je.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Primary",onClick:p,disabled:o,children:"Cancel it anyway"})})]})]}),i===2&&s.jsxRuntimeExports.jsxs("div",{className:je.bottomSheet,children:[s.jsxRuntimeExports.jsxs("div",{className:`${je.confirmation}`,children:[s.jsxRuntimeExports.jsx("div",{className:je.iconWrapper,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"Check",fill:"var(--text-success)"})}),s.jsxRuntimeExports.jsx("p",{className:je.title,children:"Subscription Cancelled"}),s.jsxRuntimeExports.jsx("p",{className:je.message,children:"You'll lose access to all of the features and content available within this subscription."})]}),s.jsxRuntimeExports.jsx("div",{className:je.buttonGroup,children:s.jsxRuntimeExports.jsx("div",{className:je.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:x,children:"Close"})})})]})]})]})},f6="_checkoutContainer_wkomn_1",x6="_loaderContainer_wkomn_20",Ws={checkoutContainer:f6,loaderContainer:x6},g6=()=>{const{cart:e,products:t,pending:n,getTotalAndDiscount:r,getPossibleGateways:i,submitCart:a,setGateway:o,applyCoupon:u,setDiscordSocialConnectId:c,setCustomFields:d,applyCouponPending:m,coupon:h,removeCoupon:f,getDiscordSettings:p,setPaymentMethod:x,reset:g}=s.useCart(),C=k.useMemo(()=>r(),[h,e]),b=s.useNavigate();return k.useEffect(()=>{if(e.parts.length===0)try{b(-1)}catch{b("/")}},[e.parts]),n?s.jsxRuntimeExports.jsx("div",{className:Ws.checkoutContainer,children:s.jsxRuntimeExports.jsx("div",{className:Ws.loaderContainer,children:s.jsxRuntimeExports.jsx(s.Loader,{})})}):s.jsxRuntimeExports.jsxs("div",{className:Ws.checkoutContainer,children:[s.jsxRuntimeExports.jsx(IS,{cart:e,products:t,applyCoupon:u,applyCouponPending:m,coupon:h,removeCoupon:f,totalAndDiscount:C}),s.jsxRuntimeExports.jsx(my,{cart:e,getPossibleGateways:i,setGateway:o,getDiscordSettings:p,products:t,submitCart:a,totalAndDiscount:C,setCustomFieldsToCart:d,setDiscordSocialConnectId:c,setPaymentMethod:x,reset:g})]})},E6="_chargePageContainer_1a200_1",b6="_chargeItems_1a200_14",_6="_mainContent_1a200_25",T6="_contentWrapper_1a200_36",C6="_statusBlock_1a200_41",S6="_notPaidSection_1a200_45",y6="_footer_1a200_53",R6="_loaderContainer_1a200_63",Ut={chargePageContainer:E6,chargeItems:b6,mainContent:_6,contentWrapper:T6,statusBlock:C6,notPaidSection:S6,footer:y6,loaderContainer:R6},k6=()=>{const{id:e}=s.useParams(),[t,n]=s.useSearchParams(),[r,i]=k.useState(!1),[a,o]=k.useState(),[u,c]=k.useState(!0),d=s.useNavigate(),m=k.useRef(),{setIsOpen:h}=s.useModalStore();return k.useEffect(()=>{const f=async(x,g=!1)=>{g||i(!0);const{data:C}=await oc(x);i(!1),o(C)},p=setInterval(()=>{e&&f(e,!0)},5e3);return e&&f(e),()=>{clearInterval(p)}},[]),k.useEffect(()=>{const f=t.get("redirectRoute");(a==null?void 0:a.status)===s.ChargeStatus.Paid&&a.redirectUrl&&!m.current&&window.open(a.redirectUrl,"_self"),(a==null?void 0:a.status)===s.ChargeStatus.Paid&&m.current&&d(m.current,{replace:!0}),f&&m&&(m.current=f,t.delete("redirectRoute"),n(t))},[a]),k.useEffect(()=>{((a==null?void 0:a.gateway)==="PayPalFF"||(a==null?void 0:a.gateway)==="Сashapp")&&h(!0)},[a]),r?s.jsxRuntimeExports.jsx("div",{className:Ut.loaderContainer,children:s.jsxRuntimeExports.jsx(s.Loader,{})}):s.jsxRuntimeExports.jsxs("div",{className:Ut.chargePageContainer,children:[s.jsxRuntimeExports.jsx("div",{className:Ut.chargeItems,children:s.jsxRuntimeExports.jsx(Ky,{charge:a})}),s.jsxRuntimeExports.jsx("div",{className:Ut.mainContent,children:s.jsxRuntimeExports.jsxs("div",{className:Ut.contentWrapper,children:[a&&(a==null?void 0:a.status)!==s.ChargeStatus.NotPaid&&s.jsxRuntimeExports.jsx(s.ChargeStatusBlock,{charge:a}),a&&s.jsxRuntimeExports.jsx("div",{className:`${Ut.statusBlock}`,children:s.jsxRuntimeExports.jsx(Tl,{lastUpdate:a.expiresAt,email:a.customerForCharge.email,invoiceId:a.id,paymentType:a.gateway})}),(a==null?void 0:a.status)===s.ChargeStatus.NotPaid&&s.jsxRuntimeExports.jsx("div",{className:Ut.notPaidSection,children:a==null?void 0:a.displayPaymentInfo.map((f,p)=>s.jsxRuntimeExports.jsx(_l,{block:f},p))}),s.jsxRuntimeExports.jsx(vt,{className:Ut.footer})]})}),(a==null?void 0:a.gateway)==="PayPalFF"&&u&&s.jsxRuntimeExports.jsx(s.Modal,{close:()=>c(!1),children:s.jsxRuntimeExports.jsx(Hy,{price:a.price,setIsOpen:c})}),(a==null?void 0:a.gateway)==="Сashapp"&&u&&s.jsxRuntimeExports.jsx(s.Modal,{close:()=>i(!1),children:s.jsxRuntimeExports.jsx(p5,{setIsOpen:c,chargeId:a.id})})]})},A6="_wrapper_1fax2_1",N6="_title_1fax2_20",I6="_container_1fax2_26",w6="_content_1fax2_36",j6="_messages_1fax2_46",L6="_input_1fax2_58",v6="_textarea_1fax2_64",P6="_message_1fax2_46",O6="_messageDate_1fax2_88",D6="_myMessage_1fax2_94",M6="_otherMessage_1fax2_101",B6="_button_1fax2_108",F6="_loadingMessage_1fax2_117",$e={wrapper:A6,title:N6,container:I6,content:w6,messages:j6,input:L6,textarea:v6,message:P6,messageDate:O6,myMessage:D6,otherMessage:M6,button:B6,loadingMessage:F6},H6=()=>{const e=window.location.pathname.split("/"),t=e[e.length-1],n=e[e.length-2],[r,i]=k.useState(!0),[a,o]=k.useState(null),[u,c]=k.useState(""),[d,m]=k.useState(null),{executeRecaptcha:h}=s.useReCaptcha(),f=async()=>{if(n&&t){const{data:g}=await s.fetchTicket(n,t);o(g),i(!1)}};k.useEffect(()=>{f();const g=setInterval(()=>{f()},5e3);return()=>clearInterval(g)},[]);const p=async()=>{const g=await h();if(!n||!t||!g||!u.trim())return;const C={content:u,createdAt:new Date().toISOString(),id:Date.now(),isSellerReply:!1};o(b=>b?{...b,messages:[...b.messages,C]}:null),m(C.id),c("");try{await s.sendTicketMessage(n,t,u,g),await f()}finally{setTimeout(()=>{m(null)},1e4)}},x=g=>{const C=new Date,b=new Date(g),A=Math.floor((C.getTime()-b.getTime())/1e3);if(A<60)return"right now";if(A<3600){const y=Math.floor(A/60);return`${y} minute${y>1?"s":""} ago`}else if(A<10800){const y=Math.floor(A/3600);return`${y} hour${y>1?"s":""} ago`}else return b.getFullYear()===C.getFullYear()?b.toLocaleDateString("en-US",{month:"short",day:"2-digit",hour:"2-digit",minute:"2-digit"}):b.toLocaleDateString("en-US",{year:"numeric",month:"short",day:"2-digit",hour:"2-digit",minute:"2-digit"})};return s.jsxRuntimeExports.jsx("div",{className:$e.wrapper,children:r&&!a?s.jsxRuntimeExports.jsx(s.Loader,{}):s.jsxRuntimeExports.jsxs("div",{className:$e.container,children:[s.jsxRuntimeExports.jsx("div",{className:$e.title,children:`#${n} (${a==null?void 0:a.title})`}),s.jsxRuntimeExports.jsxs("div",{className:$e.content,children:[s.jsxRuntimeExports.jsx("div",{className:$e.messages,children:a==null?void 0:a.messages.sort((g,C)=>new Date(g.createdAt).getTime()-new Date(C.createdAt).getTime()).map(g=>s.jsxRuntimeExports.jsxs("div",{className:s.clx($e.message,{[$e.myMessage]:!g.isSellerReply,[$e.otherMessage]:g.isSellerReply,[$e.loadingMessage]:d===g.id}),children:[s.jsxRuntimeExports.jsx("div",{className:$e.messageContent,children:s.splitTextIntoSpans(g.content,!1)}),d!==g.id&&s.jsxRuntimeExports.jsx("div",{className:$e.messageDate,children:x(g.createdAt)}),d===g.id&&s.jsxRuntimeExports.jsx("div",{className:$e.messageDate,children:s.jsxRuntimeExports.jsx(s.Loader,{})})]},g.id))}),s.jsxRuntimeExports.jsxs("div",{className:$e.input,children:[s.jsxRuntimeExports.jsx("textarea",{className:$e.textarea,value:u,placeholder:"What worries you?",onChange:g=>c(g.target.value),onKeyDown:g=>{g.key==="Enter"&&!g.shiftKey&&(g.preventDefault(),p())},style:{resize:"none",maxHeight:"150px",overflowY:"auto"}}),s.jsxRuntimeExports.jsx("div",{className:$e.button,onClick:p,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"PaperPlaneRight"})})]})]})]})})},U6="_subscriptionContainer_1j6ol_1",$6="_leftSection_1j6ol_15",z6="_content_1j6ol_26",W6="_mainContent_1j6ol_33",q6="_detailsSection_1j6ol_37",V6="_buttonGroup_1j6ol_50",Y6="_detailsContent_1j6ol_57",tn={subscriptionContainer:U6,leftSection:$6,content:z6,mainContent:W6,detailsSection:q6,buttonGroup:V6,detailsContent:Y6},G6=()=>{const{id:e,accessToken:t}=s.useParams(),{subscription:n,setSubscription:r}=s.useSubscriptionStore(),{setIsOpen:i}=s.useModalStore(),[a,o]=k.useState(!1),[u,c]=k.useState(!1);k.useLayoutEffect(()=>{r(null)},[e,t]);const{balanceSettings:d,setBalanceSettings:m}=s.useCustomerDashboardStore();return k.useEffect(()=>{e&&t&&(async()=>{if(!e||!t)return;c(!0);const{data:f}=await s.fetchSubscription(e,t);r({...f}),c(!1)})()},[e,t]),k.useEffect(()=>{d||(async()=>{const f=await s.getBalanceSettings();m(f)})()},[d]),u?s.jsxRuntimeExports.jsx(s.Loader,{}):s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsxs("div",{className:tn.subscriptionContainer,children:[s.jsxRuntimeExports.jsx("div",{className:tn.leftSection,children:s.jsxRuntimeExports.jsxs("div",{className:tn.content,children:[s.jsxRuntimeExports.jsx(lr,{}),s.jsxRuntimeExports.jsxs("div",{className:tn.mainContent,children:[n&&s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",children:"Your Subscription"}),s.jsxRuntimeExports.jsx(R5,{subscription:{price:n.price,name:n.productName,description:n.productDescription,status:n.status,image:n.productImage,recurringInterval:n.recurringInterval}}),s.jsxRuntimeExports.jsx("div",{className:tn.buttonGroup,children:n.pricingPlanExists&&s.jsxRuntimeExports.jsx(s.Button$1,{onClick:h=>{h.stopPropagation(),i(!0),o(!0)},style:{maxWidth:"500px",width:"100%"},children:"Change Plan"})})]}),s.jsxRuntimeExports.jsx(vt,{})]})]})}),s.jsxRuntimeExports.jsx("div",{className:tn.detailsSection,children:s.jsxRuntimeExports.jsxs("div",{className:tn.detailsContent,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",children:"Details"}),(n==null?void 0:n.coupon)&&s.jsxRuntimeExports.jsx(iR,{coupon:n.coupon,currency:n.price.currency||"USD"}),n&&s.jsxRuntimeExports.jsx(AR,{id:e||"",accessToken:t||"",subscription:{price:n.price,name:n.productName,description:n.productDescription,status:n.status,image:n.productImage,recurringInterval:n.recurringInterval}}),n&&s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(_R,{}),n.activeTo&&s.jsxRuntimeExports.jsx(Z5,{})]}),s.jsxRuntimeExports.jsx(vt,{className:"flex md:hidden"})]})})]}),s.jsxRuntimeExports.jsx(Y5,{isOpen:a,setIsOpen:o,subscription:n})]})},X6="_topUpContainer_1pag6_1",Q6="_formWrapper_1pag6_15",K6="_header_1pag6_29",Z6="_footer_1pag6_82",J6="_wrapper_1pag6_105",Vn={topUpContainer:X6,formWrapper:Q6,header:K6,footer:Z6,wrapper:J6},ek=()=>{const{gatewaysDetail:e,setGatewaysDetail:t,balanceSettings:n,setBalanceSettings:r}=s.useCustomerDashboardStore();return k.useEffect(()=>{!e&&n&&(async()=>{const a=await s.getGatewaysDetail(n!=null&&n.isEnabled?(n==null?void 0:n.topUpSettings.gateways)||[]:[]);t(a)})()},[e,n]),k.useEffect(()=>{n||(async()=>{const a=await s.getBalanceSettings();r(a)})()},[n]),s.jsxRuntimeExports.jsxs("div",{className:Vn.wrapper,children:[s.jsxRuntimeExports.jsx(lr,{className:Vn.header}),s.jsxRuntimeExports.jsx("div",{className:Vn.topUpContainer,children:n?s.jsxRuntimeExports.jsx("div",{className:Vn.formWrapper,children:s.jsxRuntimeExports.jsx(s.BalanceModal,{setIsOpen:()=>{},isModal:!1})}):s.jsxRuntimeExports.jsx(s.Loader,{})}),s.jsxRuntimeExports.jsx("div",{className:Vn.footer,children:s.jsxRuntimeExports.jsx(vt,{})})]})},tk="_orderPage_1nvve_1",nk="_leftSection_1nvve_15",rk="_content_1nvve_35",sk="_main_1nvve_42",ik="_statusBlock_1nvve_54",ak="_timelineBlock_1nvve_58",ok="_footer_1nvve_62",uk="_rightSection_1nvve_71",lk="_header_1nvve_84",ck="_productList_1nvve_92",dk="_mobileFooter_1nvve_99",hk="_loaderContainer_1nvve_108",mk="_orderMainData_1nvve_116",pk="_prices_1nvve_123",fk="_headerTitle_1nvve_127",xk="_headerDescription_1nvve_131",Oe={orderPage:tk,leftSection:nk,content:rk,main:sk,statusBlock:ik,timelineBlock:ak,footer:ok,rightSection:uk,header:lk,productList:ck,mobileFooter:dk,loaderContainer:hk,orderMainData:mk,prices:pk,headerTitle:fk,headerDescription:xk},gk=()=>{var h,f,p;const{id:e,accessToken:t}=s.useParams(),n=s.useNavigate(),[r,i]=k.useState(),[a,o]=k.useState(!1),u=s.useCopy(),c=((h=r==null?void 0:r.rawPrice)==null?void 0:h.currency)||"USD",d=new Intl.NumberFormat("en-US",{style:"currency",currency:c}),m=k.useMemo(()=>(r==null?void 0:r.partOrders.map(x=>{var g,C,b,A;return{id:(x==null?void 0:x.id)||0,image:x.productWithVariant.image,name:((g=x.productWithVariant)==null?void 0:g.name)||"",description:((C=x.productWithVariant)==null?void 0:C.description)||"",price:{quantity:x.quantity,amount:((b=x.productWithVariant)==null?void 0:b.price.amount)||0,currency:(A=x.productWithVariant)==null?void 0:A.price.currency},deliveryCategories:"deliveryCategories"in x?x.deliveryCategories:void 0,customerNote:x.customerNote,chargeType:x.chargeType||"ONE_TIME"}}))||[],[r]);return k.useEffect(()=>{const x=async(C,b=!1)=>{b||o(!0);const{data:A}=await(t?s.fetchAuthorizedOrder(`${C}/${t}`):s.fetchOrder(C));o(!1),A.charge.status===s.ChargeStatus.NotPaid&&n(`/charges/${A.charge.id}`,{replace:!0}),i(A)};e&&x(e);const g=setInterval(()=>{e&&x(e,!0)},5e3);return()=>{clearInterval(g)}},[]),a?s.jsxRuntimeExports.jsx("div",{className:Oe.loaderContainer,children:s.jsxRuntimeExports.jsx(s.Loader,{})}):s.jsxRuntimeExports.jsxs("div",{className:Oe.orderPage,children:[s.jsxRuntimeExports.jsx("div",{className:Oe.leftSection,children:s.jsxRuntimeExports.jsxs("div",{className:Oe.content,children:[s.jsxRuntimeExports.jsx(lr,{}),r&&s.jsxRuntimeExports.jsxs("div",{className:Oe.main,children:[s.jsxRuntimeExports.jsx(s.OrderStatusBlock,{className:Oe.statusBlock,orderStatus:r.status}),s.jsxRuntimeExports.jsxs("div",{className:Oe.orderMainData,children:[s.jsxRuntimeExports.jsx(Tl,{lastUpdate:r.createdAt,paymentType:r.charge.gateway,email:r.charge.customerForCharge.email,invoiceId:r.charge.id}),"accessToken"in r.review&&s.jsxRuntimeExports.jsx(UR,{orderId:r.id,review:r.review})]}),r.charge&&s.jsxRuntimeExports.jsx(s.TrackPayment,{className:Oe.timelineBlock,timeline:r.charge.timeline}),s.jsxRuntimeExports.jsx(vt,{className:Oe.footer})]})]})}),s.jsxRuntimeExports.jsx("div",{className:Oe.rightSection,children:s.jsxRuntimeExports.jsxs("div",{className:Oe.content,children:[(r==null?void 0:r.charge.name)&&s.jsxRuntimeExports.jsxs("header",{className:Oe.header,children:[s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx("h1",{className:Oe.headerTitle,children:r.charge.name}),r.charge.description&&s.jsxRuntimeExports.jsx("p",{className:Oe.headerDescription,children:r.charge.description})]}),s.jsxRuntimeExports.jsxs(s.Button$1,{type:"Secondary",onClick:()=>u((r==null?void 0:r.id)||""),style:{whiteSpace:"nowrap",display:"flex",alignItems:"center",gap:"4px"},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Copy"}),s.jsxRuntimeExports.jsx("span",{children:"Copy ID"})]})]}),s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx("div",{className:Oe.productList,children:m.map(x=>s.jsxRuntimeExports.jsx(Pi,{product:x,isOrder:!0},x.id))}),s.jsxRuntimeExports.jsx(cr,{formatter:d,coupon:null,total:((f=r==null?void 0:r.charge)==null?void 0:f.price.amount)||0,discount:0,totalWithDiscount:((p=r==null?void 0:r.charge)==null?void 0:p.price.amount)||0,className:Oe.prices,isShowSubtotal:!1}),s.jsxRuntimeExports.jsx(vt,{className:Oe.mobileFooter})]})]})})]})},Ek=e=>{const{blocks:t,settings:n,header:r,footer:i,announcement:a}=e,[o,u]=k.useState(null),{general:c}=s.useGeneralStore(),{setBlocks:d,setSourceBlocks:m,setHeader:h,setFooter:f,setAnnouncement:p,setSettings:x}=s.useBlocksStore(),{setHeader:g,setFooter:C,setAnnouncement:b}=s.useLayersStore(),{themeSettings:A}=s.useThemeSettingsStore(),{settings:y,setSettings:P}=s.useSettingsStore(),j=window.location.hostname.includes("localhost")?localStorage.getItem("fakeDomain")||"flagship-theme.pages.dev":window.location.hostname,N=localStorage.getItem("shopPassword"),q=localStorage.getItem("shopId")||"";return k.useEffect(()=>{if(A&&y){const V=hc(A,y);Ec(A),mc(V)}},[A,y,window.location.hostname]),k.useEffect(()=>{const V={};Object.keys(t).map(W=>{V[W]=t[W]}),m(V),d(V),h(r),f(i),p(a),x(n);const Q=new r,w=JSON.parse(JSON.stringify(Q));g(w,!1);const $=new i,M=JSON.parse(JSON.stringify($));C(M,!1);const H=new a,Y=JSON.parse(JSON.stringify(H));b(Y,!1);const z=new n,X=JSON.parse(JSON.stringify(z));P(X);const G=s.createBrowserRouter([{element:s.jsxRuntimeExports.jsx(uf,{shopDomain:j,shopId:q,shopPassword:N||void 0,children:s.jsxRuntimeExports.jsx(s.ReCaptchaProvider,{children:s.jsxRuntimeExports.jsx(Zp,{children:s.jsxRuntimeExports.jsx(s.Outlet,{})})})}),errorElement:s.jsxRuntimeExports.jsx(Jp,{}),children:[{path:"/admin/builder/*",element:s.jsxRuntimeExports.jsx(Hp,{children:s.jsxRuntimeExports.jsx(Pp,{blocks:t,settings:n,header:r,footer:i,announcement:a})}),errorElement:s.jsxRuntimeExports.jsx(Fp,{})},{path:"/checkout",element:s.jsxRuntimeExports.jsx(g6,{}),errorElement:s.jsxRuntimeExports.jsx(Nt,{}),loader:()=>(document.title="Checkout",!0)},{path:"/top-up",element:s.jsxRuntimeExports.jsx(ek,{}),errorElement:s.jsxRuntimeExports.jsx(Nt,{}),loader:()=>(document.title="Top Up Balance",!0)},{path:"/charges/:id",element:s.jsxRuntimeExports.jsx(k6,{}),errorElement:s.jsxRuntimeExports.jsx(Nt,{}),loader:()=>(document.title="Charges",!0)},{path:"/orders/:id/:accessToken?",element:s.jsxRuntimeExports.jsx(gk,{}),errorElement:s.jsxRuntimeExports.jsx(Nt,{}),loader:()=>(document.title="Orders",!0)},{path:"/subscriptions/:id/:accessToken?",element:s.jsxRuntimeExports.jsx(G6,{}),errorElement:s.jsxRuntimeExports.jsx(Nt,{}),loader:()=>(document.title="Subscriptions",!0)},{path:"/customer-dash",element:s.jsxRuntimeExports.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"100vw",height:"100vh",overflowY:"scroll",overflowX:"hidden"},children:[s.jsxRuntimeExports.jsx(s.RenderAnnouncement,{}),s.jsxRuntimeExports.jsx(s.RenderHeader,{}),s.jsxRuntimeExports.jsx("div",{style:{flex:"1 1 auto",background:"var(--surface-primary)"},children:s.jsxRuntimeExports.jsx(s.CustomerDashboard,{})}),s.jsxRuntimeExports.jsx(s.RenderFooter,{})]}),errorElement:s.jsxRuntimeExports.jsx(Nt,{}),loader:()=>(document.title="Customer Dashboard",!0)},{path:"/validation",element:s.jsxRuntimeExports.jsx(Xp,{}),errorElement:s.jsxRuntimeExports.jsx(Nt,{}),loader:()=>(document.title="Validation",!0)},{path:"/ticket/:id/:accessToken",element:s.jsxRuntimeExports.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"100vw",height:"100vh",overflowY:"scroll",overflowX:"hidden"},children:[s.jsxRuntimeExports.jsx(s.RenderHeader,{}),s.jsxRuntimeExports.jsx("div",{style:{flex:1,width:"100%",height:"100%"},children:s.jsxRuntimeExports.jsx(s.ReCaptchaProvider,{children:s.jsxRuntimeExports.jsx(H6,{})})}),s.jsxRuntimeExports.jsx(s.RenderFooter,{})]}),errorElement:s.jsxRuntimeExports.jsx(Nt,{}),loader:()=>(document.title="Ticket",!0)},{path:"*",element:s.jsxRuntimeExports.jsx(dc,{}),errorElement:s.jsxRuntimeExports.jsx(Nt,{})}]}]);u(G)},[c]),s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:o&&s.jsxRuntimeExports.jsx(s.RouterProvider,{router:o})})};exports.ReCaptchaProvider=s.ReCaptchaProvider;exports.aspectRatioOptions=s.aspectRatioOptions;exports.formatPrice=s.formatPrice;exports.splitTextIntoSpans=s.splitTextIntoSpans;exports.useAdaptiveStyles=s.useAdaptiveStyles;exports.useReCaptcha=s.useReCaptcha;exports.App=Ek;exports.ColorVariables=co;exports.hotReload=bc;exports.iconNames=Sl;exports.useBuilderPages=Tc;exports.useCreateTicket=_c;
|
|
131
|
+
`))}function c(p,x,g,C){const b=g.enter("tableCell"),A=g.enter("phrasing"),y=g.containerPhrasing(p,{...C,before:a,after:a});return A(),b(),y}function d(p,x){return G3(p,{align:x,alignDelimiters:r,padding:n,stringLength:i})}function m(p,x,g){const C=p.children;let b=-1;const A=[],y=x.enter("table");for(;++b<C.length;)A[b]=h(C[b],x,g);return y(),A}function h(p,x,g){const C=p.children;let b=-1;const A=[],y=x.enter("tableRow");for(;++b<C.length;)A[b]=c(C[b],p,x,g);return y(),A}function f(p,x,g){let C=ll.inlineCode(p,x,g);return g.stack.includes("tableCell")&&(C=C.replace(/\|/g,"\\$&")),C}}function OC(){return{exit:{taskListCheckValueChecked:uo,taskListCheckValueUnchecked:uo,paragraph:MC}}}function DC(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:BC}}}function uo(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function MC(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let a=-1,o;for(;++a<i.length;){const u=i[a];if(u.type==="paragraph"){o=u;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function BC(e,t,n,r){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",u=n.createTracker(r);a&&u.move(o);let c=ll.listItem(e,t,n,{...r,...u.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,d)),c;function d(m){return m+o}}function FC(){return[g3(),B3(),$3(),IC(),OC()]}function HC(e){return{extensions:[E3(),F3(e),z3(),PC(e),DC()]}}const UC={tokenize:YC,partial:!0},cl={tokenize:GC,partial:!0},dl={tokenize:XC,partial:!0},hl={tokenize:QC,partial:!0},$C={tokenize:KC,partial:!0},ml={name:"wwwAutolink",tokenize:qC,previous:fl},pl={name:"protocolAutolink",tokenize:VC,previous:xl},Pt={name:"emailAutolink",tokenize:WC,previous:gl},yt={};function zC(){return{text:yt}}let Zt=48;for(;Zt<123;)yt[Zt]=Pt,Zt++,Zt===58?Zt=65:Zt===91&&(Zt=97);yt[43]=Pt;yt[45]=Pt;yt[46]=Pt;yt[95]=Pt;yt[72]=[Pt,pl];yt[104]=[Pt,pl];yt[87]=[Pt,ml];yt[119]=[Pt,ml];function WC(e,t,n){const r=this;let i,a;return o;function o(h){return!li(h)||!gl.call(r,r.previous)||vi(r.events)?n(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),u(h))}function u(h){return li(h)?(e.consume(h),u):h===64?(e.consume(h),c):n(h)}function c(h){return h===46?e.check($C,m,d)(h):h===45||h===95||Be(h)?(a=!0,e.consume(h),c):m(h)}function d(h){return e.consume(h),i=!0,c}function m(h){return a&&i&&ze(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):n(h)}}function qC(e,t,n){const r=this;return i;function i(o){return o!==87&&o!==119||!fl.call(r,r.previous)||vi(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(UC,e.attempt(cl,e.attempt(dl,a),n),n)(o))}function a(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function VC(e,t,n){const r=this;let i="",a=!1;return o;function o(h){return(h===72||h===104)&&xl.call(r,r.previous)&&!vi(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(h),e.consume(h),u):n(h)}function u(h){if(ze(h)&&i.length<5)return i+=String.fromCodePoint(h),e.consume(h),u;if(h===58){const f=i.toLowerCase();if(f==="http"||f==="https")return e.consume(h),c}return n(h)}function c(h){return h===47?(e.consume(h),a?d:(a=!0,c)):n(h)}function d(h){return h===null||qr(h)||be(h)||an(h)||Jr(h)?n(h):e.attempt(cl,e.attempt(dl,m),n)(h)}function m(h){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(h)}}function YC(e,t,n){let r=0;return i;function i(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),i):o===46&&r===3?(e.consume(o),a):n(o)}function a(o){return o===null?n(o):t(o)}}function GC(e,t,n){let r,i,a;return o;function o(d){return d===46||d===95?e.check(hl,c,u)(d):d===null||be(d)||an(d)||d!==45&&Jr(d)?c(d):(a=!0,e.consume(d),o)}function u(d){return d===95?r=!0:(i=r,r=void 0),e.consume(d),o}function c(d){return i||r||!a?n(d):t(d)}}function XC(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(hl,t,a)(o):o===null||be(o)||an(o)?t(o):(e.consume(o),i)}function a(o){return o===41&&r++,e.consume(o),i}}function QC(e,t,n){return r;function r(u){return u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126?(e.consume(u),r):u===38?(e.consume(u),a):u===93?(e.consume(u),i):u===60||u===null||be(u)||an(u)?t(u):n(u)}function i(u){return u===null||u===40||u===91||be(u)||an(u)?t(u):r(u)}function a(u){return ze(u)?o(u):n(u)}function o(u){return u===59?(e.consume(u),r):ze(u)?(e.consume(u),o):n(u)}}function KC(e,t,n){return r;function r(a){return e.consume(a),i}function i(a){return Be(a)?n(a):t(a)}}function fl(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||be(e)}function xl(e){return!ze(e)}function gl(e){return!(e===47||li(e))}function li(e){return e===43||e===45||e===46||e===95||Be(e)}function vi(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const ZC={tokenize:aS,partial:!0};function JC(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:rS,continuation:{tokenize:sS},exit:iS}},text:{91:{name:"gfmFootnoteCall",tokenize:nS},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eS,resolveTo:tS}}}}function eS(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const c=r.events[i][1];if(c.type==="labelImage"){o=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return u;function u(c){if(!o||!o._balanced)return n(c);const d=mt(r.sliceSerialize({start:o.end,end:r.now()}));return d.codePointAt(0)!==94||!a.includes(d.slice(1))?n(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),t(c))}}function tS(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},u=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...u),e}function nS(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,o;return u;function u(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),c}function c(h){return h!==94?n(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",d)}function d(h){if(a>999||h===93&&!o||h===null||h===91||be(h))return n(h);if(h===93){e.exit("chunkString");const f=e.exit("gfmFootnoteCallString");return i.includes(mt(r.sliceSerialize(f)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(h)}return be(h)||(o=!0),a++,e.consume(h),h===92?m:d}function m(h){return h===91||h===92||h===93?(e.consume(h),a++,d):d(h)}}function rS(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,o=0,u;return c;function c(x){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionLabelMarker"),d}function d(x){return x===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",m):n(x)}function m(x){if(o>999||x===93&&!u||x===null||x===91||be(x))return n(x);if(x===93){e.exit("chunkString");const g=e.exit("gfmFootnoteDefinitionLabelString");return a=mt(r.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return be(x)||(u=!0),o++,e.consume(x),x===92?h:m}function h(x){return x===91||x===92||x===93?(e.consume(x),o++,m):m(x)}function f(x){return x===58?(e.enter("definitionMarker"),e.consume(x),e.exit("definitionMarker"),i.includes(a)||i.push(a),pe(e,p,"gfmFootnoteDefinitionWhitespace")):n(x)}function p(x){return t(x)}}function sS(e,t,n){return e.check(hr,t,e.attempt(ZC,t,n))}function iS(e){e.exit("gfmFootnoteDefinition")}function aS(e,t,n){const r=this;return pe(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(a):n(a)}}function oS(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(o,u){let c=-1;for(;++c<o.length;)if(o[c][0]==="enter"&&o[c][1].type==="strikethroughSequenceTemporary"&&o[c][1]._close){let d=c;for(;d--;)if(o[d][0]==="exit"&&o[d][1].type==="strikethroughSequenceTemporary"&&o[d][1]._open&&o[c][1].end.offset-o[c][1].start.offset===o[d][1].end.offset-o[d][1].start.offset){o[c][1].type="strikethroughSequence",o[d][1].type="strikethroughSequence";const m={type:"strikethrough",start:Object.assign({},o[d][1].start),end:Object.assign({},o[c][1].end)},h={type:"strikethroughText",start:Object.assign({},o[d][1].end),end:Object.assign({},o[c][1].start)},f=[["enter",m,u],["enter",o[d][1],u],["exit",o[d][1],u],["enter",h,u]],p=u.parser.constructs.insideSpan.null;p&&Ke(f,f.length,0,es(p,o.slice(d+1,c),u)),Ke(f,f.length,0,[["exit",h,u],["enter",o[c][1],u],["exit",o[c][1],u],["exit",m,u]]),Ke(o,d-1,c-d+3,f),c=d+f.length-2;break}}for(c=-1;++c<o.length;)o[c][1].type==="strikethroughSequenceTemporary"&&(o[c][1].type="data");return o}function a(o,u,c){const d=this.previous,m=this.events;let h=0;return f;function f(x){return d===126&&m[m.length-1][1].type!=="characterEscape"?c(x):(o.enter("strikethroughSequenceTemporary"),p(x))}function p(x){const g=Cn(d);if(x===126)return h>1?c(x):(o.consume(x),h++,p);if(h<2&&!n)return c(x);const C=o.exit("strikethroughSequenceTemporary"),b=Cn(x);return C._open=!b||b===2&&!!g,C._close=!g||g===2&&!!b,u(x)}}}class uS{constructor(){this.map=[]}add(t,n,r){lS(this,t,n,r)}consume(t){if(this.map.sort(function(a,o){return a[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const a of i)t.push(a);i=r.pop()}this.map.length=0}}function lS(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function cS(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=r.length-1;r[a]=r[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function dS(){return{flow:{null:{name:"table",tokenize:hS,resolveAll:mS}}}}function hS(e,t,n){const r=this;let i=0,a=0,o;return u;function u(w){let $=r.events.length-1;for(;$>-1;){const Y=r.events[$][1].type;if(Y==="lineEnding"||Y==="linePrefix")$--;else break}const M=$>-1?r.events[$][1].type:null,H=M==="tableHead"||M==="tableRow"?I:c;return H===I&&r.parser.lazy[r.now().line]?n(w):H(w)}function c(w){return e.enter("tableHead"),e.enter("tableRow"),d(w)}function d(w){return w===124||(o=!0,a+=1),m(w)}function m(w){return w===null?n(w):Z(w)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),p):n(w):de(w)?pe(e,m,"whitespace")(w):(a+=1,o&&(o=!1,i+=1),w===124?(e.enter("tableCellDivider"),e.consume(w),e.exit("tableCellDivider"),o=!0,m):(e.enter("data"),h(w)))}function h(w){return w===null||w===124||be(w)?(e.exit("data"),m(w)):(e.consume(w),w===92?f:h)}function f(w){return w===92||w===124?(e.consume(w),h):h(w)}function p(w){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(w):(e.enter("tableDelimiterRow"),o=!1,de(w)?pe(e,x,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):x(w))}function x(w){return w===45||w===58?C(w):w===124?(o=!0,e.enter("tableCellDivider"),e.consume(w),e.exit("tableCellDivider"),g):j(w)}function g(w){return de(w)?pe(e,C,"whitespace")(w):C(w)}function C(w){return w===58?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(w),e.exit("tableDelimiterMarker"),b):w===45?(a+=1,b(w)):w===null||Z(w)?P(w):j(w)}function b(w){return w===45?(e.enter("tableDelimiterFiller"),A(w)):j(w)}function A(w){return w===45?(e.consume(w),A):w===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(w),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(w))}function y(w){return de(w)?pe(e,P,"whitespace")(w):P(w)}function P(w){return w===124?x(w):w===null||Z(w)?!o||i!==a?j(w):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(w)):j(w)}function j(w){return n(w)}function I(w){return e.enter("tableRow"),q(w)}function q(w){return w===124?(e.enter("tableCellDivider"),e.consume(w),e.exit("tableCellDivider"),q):w===null||Z(w)?(e.exit("tableRow"),t(w)):de(w)?pe(e,q,"whitespace")(w):(e.enter("data"),V(w))}function V(w){return w===null||w===124||be(w)?(e.exit("data"),q(w)):(e.consume(w),w===92?Q:V)}function Q(w){return w===92||w===124?(e.consume(w),V):V(w)}}function mS(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],u=!1,c=0,d,m,h;const f=new uS;for(;++n<e.length;){const p=e[n],x=p[1];p[0]==="enter"?x.type==="tableHead"?(u=!1,c!==0&&(lo(f,t,c,d,m),m=void 0,c=0),d={type:"table",start:Object.assign({},x.start),end:Object.assign({},x.end)},f.add(n,0,[["enter",d,t]])):x.type==="tableRow"||x.type==="tableDelimiterRow"?(r=!0,h=void 0,a=[0,0,0,0],o=[0,n+1,0,0],u&&(u=!1,m={type:"tableBody",start:Object.assign({},x.start),end:Object.assign({},x.end)},f.add(n,0,[["enter",m,t]])),i=x.type==="tableDelimiterRow"?2:m?3:1):i&&(x.type==="data"||x.type==="tableDelimiterMarker"||x.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],h=Or(f,t,a,i,void 0,h),a=[0,0,0,0]),o[2]=n)):x.type==="tableCellDivider"&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],h=Or(f,t,a,i,void 0,h)),a=o,o=[a[1],n,0,0])):x.type==="tableHead"?(u=!0,c=n):x.type==="tableRow"||x.type==="tableDelimiterRow"?(c=n,a[1]!==0?(o[0]=o[1],h=Or(f,t,a,i,n,h)):o[1]!==0&&(h=Or(f,t,o,i,n,h)),i=0):i&&(x.type==="data"||x.type==="tableDelimiterMarker"||x.type==="tableDelimiterFiller")&&(o[3]=n)}for(c!==0&&lo(f,t,c,d,m),f.consume(t.events),n=-1;++n<t.events.length;){const p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=cS(t.events,n))}return e}function Or(e,t,n,r,i,a){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",u="tableContent";n[0]!==0&&(a.end=Object.assign({},xn(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const c=xn(t.events,n[1]);if(a={type:o,start:Object.assign({},c),end:Object.assign({},c)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const d=xn(t.events,n[2]),m=xn(t.events,n[3]),h={type:u,start:Object.assign({},d),end:Object.assign({},m)};if(e.add(n[2],0,[["enter",h,t]]),r!==2){const f=t.events[n[2]],p=t.events[n[3]];if(f[1].end=Object.assign({},p[1].end),f[1].type="chunkText",f[1].contentType="text",n[3]>n[2]+1){const x=n[2]+1,g=n[3]-n[2]-1;e.add(x,g,[])}}e.add(n[3]+1,0,[["exit",h,t]])}return i!==void 0&&(a.end=Object.assign({},xn(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function lo(e,t,n,r,i){const a=[],o=xn(t.events,n);i&&(i.end=Object.assign({},o),a.push(["exit",i,t])),r.end=Object.assign({},o),a.push(["exit",r,t]),e.add(n+1,0,a)}function xn(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const pS={name:"tasklistCheck",tokenize:xS};function fS(){return{text:{91:pS}}}function xS(e,t,n){const r=this;return i;function i(c){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(c):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),a)}function a(c){return be(c)?(e.enter("taskListCheckValueUnchecked"),e.consume(c),e.exit("taskListCheckValueUnchecked"),o):c===88||c===120?(e.enter("taskListCheckValueChecked"),e.consume(c),e.exit("taskListCheckValueChecked"),o):n(c)}function o(c){return c===93?(e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),u):n(c)}function u(c){return Z(c)?t(c):de(c)?e.check({tokenize:gS},t,n)(c):n(c)}}function gS(e,t,n){return pe(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function ES(e){return Oo([zC(),JC(),oS(e),dS(),fS()])}const bS={};function _S(e){const t=this,n=e||bS,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(ES(n)),a.push(FC()),o.push(HC(n))}const Pi=({isOrder:e,product:t})=>{var a;const{shopGeneral:n}=s.useStorefrontStore(),r=t.subscriptionSettings,{cart:i}=s.useCart();return console.log(t.description),s.jsxRuntimeExports.jsxs("div",{className:`${Ie.checkoutProduct} ${e?Ie.isOrder:""}`,children:[s.jsxRuntimeExports.jsxs("div",{className:Ie.productDetails,children:[s.jsxRuntimeExports.jsx("div",{className:`${Ie.productImage} ${e?Ie.isOrderImage:""}`,children:t!=null&&t.image?s.jsxRuntimeExports.jsx("img",{className:Ie.image,src:s.convertCfImageIdToUrl(t.image.cfId)}):s.jsxRuntimeExports.jsx(s.Icon,{name:"Image",fill:"var(--text-secondary)"})}),s.jsxRuntimeExports.jsx("div",{className:Ie.productInfo,children:s.jsxRuntimeExports.jsxs("div",{className:Ie.productHeader,children:[s.jsxRuntimeExports.jsx("h2",{className:Ie.productName,id:"h5",children:t.name}),s.jsxRuntimeExports.jsxs("span",{className:Ie.quantityBadge,id:"md",children:[t.price.quantity,"x"]})]})}),t.chargeType==="RECURRING"&&s.jsxRuntimeExports.jsx("p",{className:Ie.productPrice,id:"md",children:r&&`${s.formatPrice(r.price)} / ${s.normalizeInterval(r.recurringIntervalDays||0)}${r.entryFee?" + "+s.formatPrice(r.entryFee):""}`}),t.chargeType==="ONE_TIME"&&s.jsxRuntimeExports.jsx("p",{className:Ie.productPrice,id:"md",children:t.variantsGateways&&i.gateway&&t.variantsGateways.some(o=>o.name===i.gateway&&o.overrodePrice)?s.formatPrice(((a=t.variantsGateways.find(o=>o.name===i.gateway))==null?void 0:a.overrodePrice)||t.price):s.formatPrice(t.price)})]}),t.description&&s.jsxRuntimeExports.jsx("p",{className:Ie.productDescription,children:s.jsxRuntimeExports.jsx(ru,{remarkPlugins:[_S],rehypePlugins:[d3],components:{a:({node:o,...u})=>s.jsxRuntimeExports.jsx("a",{...u,target:"_blank",rel:"noopener noreferrer",className:Ie.link})},children:t.description})}),t.deliveryCategories&&s.jsxRuntimeExports.jsx("div",{className:Ie.deliveryCategories,children:t.deliveryCategories.map(o=>s.jsxRuntimeExports.jsx(s.DeliveryItem,{deliveryConfiguration:o},o.id))}),t.customerNote&&s.jsxRuntimeExports.jsxs("div",{className:Ie.customerNote,children:[s.jsxRuntimeExports.jsxs("div",{className:Ie.noteHeader,children:[(n==null?void 0:n.info.logo)&&s.jsxRuntimeExports.jsx("div",{className:Ie.logoContainer,children:s.jsxRuntimeExports.jsx("img",{src:s.convertCfImageIdToUrl(n==null?void 0:n.info.logo.cfId)})}),s.jsxRuntimeExports.jsx("p",{className:Ie.shopName,id:"md",children:n==null?void 0:n.info.name})]}),s.jsxRuntimeExports.jsx("p",{className:Ie.noteContent,id:"md",children:t.customerNote})]})]})},TS="_coupon_dkjzv_1",CS="_couponApplied_dkjzv_7",SS="_discount_dkjzv_17",yS="_removeButton_dkjzv_23",RS="_removeButtonText_dkjzv_27",kS="_couponInput_dkjzv_31",AS="_couponInputContainer_dkjzv_37",Bt={coupon:TS,couponApplied:CS,discount:SS,removeButton:yS,removeButtonText:RS,couponInput:kS,couponInputContainer:AS},IS=({applyCoupon:e,couponData:t,discount:n,removeCoupon:r,gateway:i})=>{const[a,o]=k.useState(null),[u,c]=k.useState(!1);return s.jsxRuntimeExports.jsxs("div",{className:Bt.coupon,children:[u&&s.jsxRuntimeExports.jsx(s.ContentLoader,{speed:2,width:500,height:48,viewBox:"0 0 500 48",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",className:Bt.skeleton,children:s.jsxRuntimeExports.jsx("rect",{x:"0",y:"0",rx:"10",ry:"10",width:"100%",height:"48"})}),!u&&(t?s.jsxRuntimeExports.jsxs("div",{className:Bt.couponApplied,children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Check",fill:"var(--text-success)"}),s.jsxRuntimeExports.jsxs("p",{id:"md",children:[a," is applied"," ",s.jsxRuntimeExports.jsxs("span",{className:Bt.discount,children:["-",n," ",!t.isFixed&&`(${t.discount}%)`]})]}),s.jsxRuntimeExports.jsx("button",{className:Bt.removeButton,onClick:r,children:s.jsxRuntimeExports.jsx("span",{className:Bt.removeButtonText,children:"Remove"})})]}):s.jsxRuntimeExports.jsxs("div",{className:Bt.couponInput,children:[s.jsxRuntimeExports.jsxs("div",{className:Bt.couponInputContainer,children:[s.jsxRuntimeExports.jsx(s.Input$1,{placeholder:"Enter a discount code",value:a||"",onChange:d=>{o(d===""?null:d)}}),s.jsxRuntimeExports.jsx(s.Button$1,{onClick:async()=>{c(!0),a&&await e(a),c(!1)},disabled:!i||!a,type:"Primary",children:"Apply"})]}),!i&&s.jsxRuntimeExports.jsx(s.Tip,{type:"warning",message:"The discount is related to the method of payment. Select to enter.",id:"md"})]}))]})},NS=({cart:e,products:t,applyCoupon:n,applyCouponPending:r,coupon:i,totalAndDiscount:a,removeCoupon:o})=>{var g;const{priceAdjusment:u}=s.useCartStore(),[c,d]=k.useState(!1),m=k.useMemo(()=>e.parts.map(C=>{const b=t.find(y=>y.id===C.productId),A=b==null?void 0:b.variants.find(y=>y.id===C.productVariantId);return C.chargeType==="RECURRING"&&d(!0),{id:(b==null?void 0:b.id)||0,image:b==null?void 0:b.images[0],name:(A==null?void 0:A.name)||"",description:(A==null?void 0:A.description)||"",price:{quantity:C.quantity,amount:(A==null?void 0:A.price.amount)||0,currency:A==null?void 0:A.price.currency},subscriptionSettings:A==null?void 0:A.subscriptionSettings,chargeType:C.chargeType,variantsGateways:A==null?void 0:A.gateways}}),[e,t]),h=((g=m[0])==null?void 0:g.price.currency)||"USD",f=new Intl.NumberFormat("en-US",{style:"currency",currency:h}),p=k.useMemo(()=>i&&!i.isFixed&&i.discount===100?a.total:a.totalWithDiscount?a.total-a.totalWithDiscount:0,[a,i]),x=u?(u==null?void 0:u.fixedAmount)+Math.round((a.totalWithDiscount!==void 0?a.totalWithDiscount:a.total-p)*((u==null?void 0:u.percentage)/100)):null;return s.jsxRuntimeExports.jsx("div",{className:Kt.checkoutItemsContainer,children:s.jsxRuntimeExports.jsxs("div",{className:Kt.innerContainer,children:[s.jsxRuntimeExports.jsx(lr,{}),s.jsxRuntimeExports.jsxs("div",{className:Kt.headerSection,children:[s.jsxRuntimeExports.jsx("header",{className:Kt.header,children:s.jsxRuntimeExports.jsx("h1",{id:"h3",children:"Checkout"})}),s.jsxRuntimeExports.jsx("div",{className:Kt.productsContainer,children:m.map(C=>s.jsxRuntimeExports.jsx(Pi,{product:C},C.id))}),s.jsxRuntimeExports.jsx("div",{className:Kt.couponContainer,children:s.jsxRuntimeExports.jsx(IS,{applyCoupon:n,applyCouponPending:r,couponData:i,discount:f.format(p),removeCoupon:o,gateway:e.gateway})}),s.jsxRuntimeExports.jsx(cr,{formatter:f,coupon:i,total:a.total,discount:p,totalWithDiscount:a.totalWithDiscount,feeOrDiscount:c?null:x})]}),s.jsxRuntimeExports.jsx("div",{className:Kt.checkoutFooter,children:s.jsxRuntimeExports.jsx(vt,{})})]})})},wS="_checkoutOperational_6gxie_1",jS="_innerContainer_6gxie_17",LS="_paymentMethodsSection_6gxie_22",vS="_socialConnectSection_6gxie_28",PS="_socialConnectLabel_6gxie_31",OS="_socialConnectContent_6gxie_35",DS="_continueButton_6gxie_39",MS="_button_6gxie_43",BS="_checkoutFooter_6gxie_47",Nt={checkoutOperational:wS,innerContainer:jS,paymentMethodsSection:LS,socialConnectSection:vS,socialConnectLabel:PS,socialConnectContent:OS,continueButton:DS,button:MS,checkoutFooter:BS},FS="_customFields_uhcib_2",HS="_checkboxWrapper_uhcib_9",US="_textareaWrapper_uhcib_16",$S="_inputWrapper_uhcib_17",zS="_requiredStar_uhcib_27",gn={customFields:FS,checkboxWrapper:HS,textareaWrapper:US,inputWrapper:$S,requiredStar:zS},WS=({customFields:e,setCustomFields:t})=>{if(e.length===0)return null;const n=e.map(r=>s.jsxRuntimeExports.jsx(qS,{customField:r,setCustomFields:t},r.name));return s.jsxRuntimeExports.jsx("div",{className:gn.customFields,children:n})},qS=({customField:e,setCustomFields:t})=>{const n=r=>{t(i=>i.map(a=>a.name===e.name?{...a,value:r}:a))};return s.jsxRuntimeExports.jsx(VS,{value:e.value??"",placeholder:e.placeholder,required:e.required,defaultValue:e.defaultValue,type:e.type,onValueChange:n,label:e.name,regex:e.regex})},VS=({label:e,type:t,defaultValue:n,value:r,placeholder:i,regex:a,required:o,onValueChange:u})=>{if(k.useEffect(()=>{r===""&&n!==void 0&&u(String(n))},[]),t===s.PRODUCT_VARIANT_EXTRA_FIELD_TYPE.Checkbox)return s.jsxRuntimeExports.jsxs("label",{className:gn.checkboxWrapper,children:[s.jsxRuntimeExports.jsx(s.Checkbox,{value:r==="true",onChange:d=>u(d?"true":"false")}),s.jsxRuntimeExports.jsxs("p",{className:gn.checkboxLabel,children:[e,o&&s.jsxRuntimeExports.jsx("span",{className:gn.requiredStar,children:"*"})]})]});if(t===s.PRODUCT_VARIANT_EXTRA_FIELD_TYPE.Hidden)return s.jsxRuntimeExports.jsx("input",{type:"hidden",value:String(n??""),required:o});const c=d=>{(t===s.PRODUCT_VARIANT_EXTRA_FIELD_TYPE.Number?/^\d*$/:a?new RegExp(a):/.*/).test(d)&&u(d)};return t===s.PRODUCT_VARIANT_EXTRA_FIELD_TYPE.Textarea?s.jsxRuntimeExports.jsx("div",{className:gn.textareaWrapper,children:s.jsxRuntimeExports.jsx(s.Textarea$1,{label:e,value:r,placeholder:i,onChange:c,required:o})}):s.jsxRuntimeExports.jsx("div",{className:gn.inputWrapper,children:s.jsxRuntimeExports.jsx(s.Input$1,{type:t===s.PRODUCT_VARIANT_EXTRA_FIELD_TYPE.Number?"number":"text",placeholder:t===s.PRODUCT_VARIANT_EXTRA_FIELD_TYPE.Number?"Type something number...":i,label:e,value:r,required:o,onChange:c})})},YS="_connectedContainer_1rxr8_1",GS="_userInfo_1rxr8_10",XS="_avatar_1rxr8_16",QS="_avatarImage_1rxr8_26",Dr={connectedContainer:YS,userInfo:GS,avatar:XS,avatarImage:QS},KS=({customerEmail:e})=>{const{discordInfo:t,setDiscordInfo:n}=s.useDiscordStore(),{notifications:r,setNotifications:i}=s.useNotificationStore(),[a,o]=k.useState(!1),[u,c]=k.useState(0),[d,m]=k.useState(null),h=20,f=g=>{var C,b,A,y;return(b=(C=g==null?void 0:g.response)==null?void 0:C.data)!=null&&b.error?g.response.data.error:(y=(A=g==null?void 0:g.response)==null?void 0:A.data)!=null&&y.message?g.response.data.message:g!=null&&g.message?g.message:"Failed to connect to Discord. Please try again later."},p=(g,C)=>{i([...r,{id:s.v4(),message:g,status:C}])};k.useEffect(()=>{if(d&&a){const g=setInterval(()=>{d.closed&&(clearInterval(g),o(!1),m(null))},1e3);return()=>clearInterval(g)}},[d,a]);const x=()=>{e.trim()!==""&&(o(!0),c(0),uc({customerEmail:e}).then(({data:g})=>{const C=window.open(g.redirectUrl);m(C),(!C||C.closed||typeof C.closed>"u")&&setTimeout(()=>{const y=document.createElement("a");y.href=g.redirectUrl,y.target="_blank",y.click()});let b;const A=()=>{if(c(y=>y+1),u>=h||C&&C.closed){u>=h&&p("Authorization timeout. Please try again.","error"),o(!1),clearTimeout(b);return}lc({id:g.id,customerEmail:e}).then(({data:y})=>{n({authorized:!0,id:y.discordId,avatar:y.avatar,username:y.username}),C&&C.close(),o(!1),m(null),p("Discord successfully connected!","success"),clearTimeout(b)}).catch(y=>{var P;if(console.log("Waiting for authorization...",y,{newWindow:C}),C&&C.closed){o(!1),clearTimeout(b);return}if((P=y==null?void 0:y.response)!=null&&P.status&&y.response.status!==404&&y.response.status>=400){p(f(y),"error"),o(!1),clearTimeout(b);return}clearTimeout(b),b=setTimeout(A,1500)})};A()}).catch(g=>{console.log("Could not initiate Discord authorization",g),p(f(g),"error"),o(!1)}))};return t!=null&&t.authorized?s.jsxRuntimeExports.jsxs("div",{className:Dr.connectedContainer,children:[s.jsxRuntimeExports.jsxs("div",{className:Dr.userInfo,children:[s.jsxRuntimeExports.jsx("div",{className:Dr.avatar,children:t.avatar?s.jsxRuntimeExports.jsx("img",{className:Dr.avatarImage,src:`https://cdn.discordapp.com/avatars/${t.id}/${t.avatar}.png?size=256`}):s.jsxRuntimeExports.jsx(s.Icon,{name:"UserCircle"})}),s.jsxRuntimeExports.jsx("p",{children:t.username}),s.jsxRuntimeExports.jsx(If,{})]}),s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:x,children:"Reconnect"})]}):s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:x,style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"center",gap:"10px"},disabled:a,children:a?s.jsxRuntimeExports.jsx(s.Loader,{}):s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"DiscordLogo"}),s.jsxRuntimeExports.jsx(s.StableText,{children:"Connect Your Discord"})]})})},ZS="_paymentMethodsContainer_a3he6_2",JS={paymentMethodsContainer:ZS},ey="_bottomSheet_1x8kc_1",ty="_content_1x8kc_8",ny="_description_1x8kc_11",ry="_title_1x8kc_15",sy="_buttonGroup_1x8kc_19",iy="_buttonWrapper_1x8kc_29",ay="_fullWidthButton_1x8kc_32",oy="_modal_1x8kc_36",uy="_header_1x8kc_43",wt={bottomSheet:ey,content:ty,description:ny,title:ry,buttonGroup:sy,buttonWrapper:iy,fullWidthButton:ay,modal:oy,header:uy},ly=({setIsOpen:e,balance:t})=>{const n=s.useNavigate(),{setIsOpen:r}=s.useModalStore(),i=()=>{n("/top-up?redirectRoute=checkout")};function a(){r(!1),setTimeout(()=>{e(!1)},300)}return s.jsxRuntimeExports.jsxs("div",{className:wt.modal,onClick:o=>o.stopPropagation(),children:[s.jsxRuntimeExports.jsxs("div",{className:wt.header,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",className:wt.title,children:"Insufficient Customer Balance"}),s.jsxRuntimeExports.jsx(s.Icon,{name:"X",hoverable:!0,onClick:a,fill:"var(--text-primary)"})]}),s.jsxRuntimeExports.jsxs("div",{className:wt.bottomSheet,children:[s.jsxRuntimeExports.jsx("div",{className:wt.content,children:s.jsxRuntimeExports.jsxs("p",{className:wt.description,children:["You currently have ",t&&s.formatPrice(t)," in your balance. After topping up the required amount, you can continue to checkout."]})}),s.jsxRuntimeExports.jsxs("div",{className:wt.buttonGroup,children:[s.jsxRuntimeExports.jsx("div",{className:wt.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:a,children:"Cancel"})}),s.jsxRuntimeExports.jsx("div",{className:wt.fullWidthButton,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Primary",onClick:i,children:"Add Balance"})})]})]})]})},El=({align:e,gateway:t,gatewayDisplayName:n,selected:r,onSelect:i,total:a,onSignInClick:o,reversed:u})=>{const{token:c}=s.useStorefrontStore(),{balance:d}=s.useCustomerDashboardStore(),[m,h]=k.useState(!1),{setIsOpen:f}=s.useModalStore(),p=x=>{x.stopPropagation(),i&&i(t),d&&d.amount<a&&(h(!0),f(!0))};return k.useEffect(()=>{},[d,a]),s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsxs("div",{className:s.clx(s.styles$3.paymentMethod,{[s.styles$3.selected]:r,[s.styles$3.alignColumn]:e==="column",[s.styles$3.reversed]:u}),onClick:p,children:[s.jsxRuntimeExports.jsxs("p",{className:s.styles$3.paymentText,id:"md",children:[n," ",s.jsxRuntimeExports.jsxs("span",{className:s.styles$3.balanceText,id:"md",children:["(",c?d&&s.formatPrice(d):s.jsxRuntimeExports.jsx("a",{className:s.styles$3.signInLink,onClick:o,id:"md",children:"Sign in"}),")"]})]}),s.jsxRuntimeExports.jsx("div",{className:s.styles$3.iconContainer,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"Wallet",fill:"var(--text-primary)",width:20,height:20})})]}),m&&s.jsxRuntimeExports.jsx(s.Modal,{close:()=>h(!1),children:s.jsxRuntimeExports.jsx(ly,{setIsOpen:h,balance:d})})]})},bl=({possibleGateways:e,setGateway:t,totalAndDiscount:n,onSignInClick:r,setPaymentMethod:i})=>{const[a,o]=k.useState(),[u,c]=k.useState(),{setPriceAdjustment:d}=s.useCartStore(),[m,h]=k.useState(null),f=(p,x)=>{var g;u!==x&&(t(x),d(((g=m==null?void 0:m.find(C=>C.name===x))==null?void 0:g.priceAdjustment)||null)),i(p),o(p),c(x)};return k.useEffect(()=>{const p=async()=>{const{data:x}=await s.fetchGatewaysDetail([...e.availableGateways,...e.requiresSignInGateways]);h(x)};e.availableGateways.length&&p()},[]),k.useLayoutEffect(()=>{d(null)},[]),s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[m&&s.jsxRuntimeExports.jsx("div",{className:JS.paymentMethodsContainer,children:m==null?void 0:m.map(p=>p.name==="Balance"?s.jsxRuntimeExports.jsx(El,{gateway:p.name,gatewayDisplayName:p.displayName,onSelect:x=>{c(x),u!==x&&t(x)},selected:p.name===u,total:n.total,onSignInClick:r,reversed:!0},p.name):p.paymentMethods.map(x=>s.jsxRuntimeExports.jsx(s.CheckoutPaymentMethod,{paymentMethod:x,gateway:p.name,gatewayDisplayName:p.displayName,gatewayLogoCfId:p.logoCfImageId,poweredByLogoCfId:p.poweredByImageCfImageId,onSelect:g=>f(g,p.name),selected:a===x&&u===p.name},`${p.name}-${x}`)))}),!m&&s.jsxRuntimeExports.jsx(s.ContentLoader,{speed:2,width:"100%",height:"220px",viewBox:"0 0 600 220",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",children:s.jsxRuntimeExports.jsx("rect",{x:"0",y:"0",rx:"5",ry:"5",width:"100%",height:"100%"})})]})},cy="_modal_14r0b_1",dy={modal:cy},hy=({setIsOpen:e})=>{const{token:t}=s.useStorefrontStore(),{setIsOpen:n}=s.useModalStore();k.useEffect(()=>{t&&r()},[t]);const r=()=>{n(!1),setTimeout(()=>{e(!1)},300)};return s.jsxRuntimeExports.jsx("div",{className:dy.modal,onClick:i=>i.stopPropagation(),children:s.jsxRuntimeExports.jsx(s.Auth,{inModal:!0})})},my=({getPossibleGateways:e,setGateway:t,getDiscordSettings:n,cart:r,products:i,submitCart:a,reset:o,setCustomFieldsToCart:u,totalAndDiscount:c,setDiscordSocialConnectId:d,setPaymentMethod:m})=>{const h=k.useMemo(()=>n(),[]),[f,p]=k.useState([]),{balance:x,setBalance:g}=s.useCustomerDashboardStore(),{token:C}=s.useStorefrontStore(),{executeRecaptcha:b}=s.useReCaptcha(),{discordInfo:A}=s.useDiscordStore(),{customerEmail:y,setCustomerEmail:P}=s.useCartStore(),j=A!=null&&A.authorized?A.id:void 0,I=s.useNavigate(),q=k.useMemo(()=>e(),[r.parts]),[V,Q]=k.useState(!1),{setIsOpen:w}=s.useModalStore(),{notifications:$,setNotifications:M}=s.useNotificationStore();k.useEffect(()=>{const G=s.getCommonCustomFields(r.parts,i).map(W=>W.type===s.PRODUCT_VARIANT_EXTRA_FIELD_TYPE.Checkbox?{...W,value:String(W.defaultValue)}:W);p([...G])},[]),k.useEffect(()=>{const X=s.getCommonCustomFields(r.parts,i);p(G=>{const W=new Map(G.map(J=>[J.name,J]));return X.map(J=>{const S=W.get(J.name);return S&&S.value?{...J,value:S.value}:J.type===s.PRODUCT_VARIANT_EXTRA_FIELD_TYPE.Checkbox?{...J,value:String(J.defaultValue)}:J})})},[r.parts,i]),k.useEffect(()=>{C&&(async()=>{const G=await s.getBalance();g(G)})()},[C]);function H(X){return X&&/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(X)}const Y=()=>{const X=[];return f.forEach(G=>{var W;G.required&&!((W=G.value)!=null&&W.toString().trim())&&X.push({message:`Field "${G.name}" is required.`,status:"error",id:s.v4()})}),X.length>0?(M([...$,...X]),!1):!0},z=async X=>{if(X.stopPropagation(),r.gateway==="Balance"&&!C){w(!0),Q(!0);return}if(!Y())return;const G=Object.fromEntries(f.map(J=>[J.name,J.value||""]));u({...G}),j&&h.isEnabled&&d(j);const W=await b();if(W){const J=await a(W);I(`/orders/${"order"in J?J.order.id:J.id}`),setTimeout(()=>o(),0)}};return s.jsxRuntimeExports.jsxs("div",{className:Nt.checkoutOperational,children:[s.jsxRuntimeExports.jsxs("div",{className:Nt.innerContainer,children:[r.parts.length>0&&s.jsxRuntimeExports.jsx(bl,{possibleGateways:q,setGateway:t,setPaymentMethod:m,balance:x,totalAndDiscount:c,onSignInClick:()=>{Q(!0),w(!0)}}),s.jsxRuntimeExports.jsx("div",{className:Nt.paymentMethodsSection,children:s.jsxRuntimeExports.jsx(s.Input$1,{placeholder:"mail@mail.com",value:y||"",onChange:X=>P(X),disabled:!!C,label:"Email Address"})}),s.jsxRuntimeExports.jsx(WS,{customFields:f,setCustomFields:p}),h.isEnabled&&s.jsxRuntimeExports.jsxs("div",{className:Nt.socialConnectSection,children:[s.jsxRuntimeExports.jsx("p",{className:Nt.socialConnectLabel,id:"md",children:"Social Connect"}),s.jsxRuntimeExports.jsx("div",{className:Nt.socialConnectContent,children:s.jsxRuntimeExports.jsx(KS,{customerEmail:y||""})})]}),s.jsxRuntimeExports.jsxs("div",{className:Nt.continueButton,children:[s.jsxRuntimeExports.jsx(s.Button$1,{onClick:z,disabled:!r.gateway||!H(y||"")||h.isRequired&&!(A!=null&&A.authorized),className:Nt.button,children:"Continue to Checkout"}),s.jsxRuntimeExports.jsx(s.TermsOfService,{}),s.jsxRuntimeExports.jsx(s.SecuredBySsl,{})]}),s.jsxRuntimeExports.jsx(vt,{className:Nt.checkoutFooter})]}),V&&s.jsxRuntimeExports.jsx(s.Modal,{close:()=>Q(!1),children:s.jsxRuntimeExports.jsx(hy,{setIsOpen:Q})})]})},py="_mt1_1t7v2_1",fy="_notifyBlock_1t7v2_13",xy="_notifyHeader_1t7v2_19",gy="_notifyContent_1t7v2_25",Ey="_buttonBlock_1t7v2_30",by="_imageBlock_1t7v2_34",_y="_imageContainer_1t7v2_42",Ty="_sectionBlock_1t7v2_54",Cy="_sectionTitle_1t7v2_61",Sy="_sectionSubtitle_1t7v2_64",yy="_inputContainer_1t7v2_69",pt={mt1:py,notifyBlock:fy,notifyHeader:xy,notifyContent:gy,buttonBlock:Ey,imageBlock:by,imageContainer:_y,sectionBlock:Ty,sectionTitle:Cy,sectionSubtitle:Sy,inputContainer:yy},Ry=({props:e})=>{const t=s.useCopy();return s.jsxRuntimeExports.jsx("div",{className:pt.mt1,children:s.jsxRuntimeExports.jsxs("div",{className:pt.inputContainer,children:[s.jsxRuntimeExports.jsx(s.Input$1,{value:e.text,disabled:!0,onChange:()=>{}}),e.shownCopyButton&&s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:()=>t(e.text),children:s.jsxRuntimeExports.jsx(s.Icon,{name:"Copy"})})]})})},ky=({props:e})=>s.jsxRuntimeExports.jsx(s.Button$1,{className:pt.buttonBlock,onClick:()=>window.open(e.url,"_blank","noopener"),children:e.text}),Ay=({props:e})=>s.jsxRuntimeExports.jsx("div",{className:pt.imageBlock,children:s.jsxRuntimeExports.jsx("div",{className:pt.imageContainer,children:s.jsxRuntimeExports.jsx("img",{src:e.src,alt:""})})}),Iy=({props:e})=>s.jsxRuntimeExports.jsxs("div",{className:pt.notifyBlock,children:[s.jsxRuntimeExports.jsxs("div",{className:pt.notifyHeader,children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Info",width:24,height:24,fill:"var(--text-secondary)"}),s.jsxRuntimeExports.jsx("p",{children:e.heading})]}),s.jsxRuntimeExports.jsx("p",{className:pt.notifyContent,children:e.content})]}),Ny=({props:e})=>{var t;return s.jsxRuntimeExports.jsxs("div",{className:pt.sectionBlock,children:[s.jsxRuntimeExports.jsx("p",{className:pt.sectionTitle,children:e.title}),s.jsxRuntimeExports.jsx("span",{className:pt.sectionSubtitle,children:e.subTitle}),(t=e.children)==null?void 0:t.map((n,r)=>s.jsxRuntimeExports.jsx(_l,{block:n},r))]})},_l=({block:e})=>{switch(e.type){case"Section":return s.jsxRuntimeExports.jsx(Ny,{...e});case"ReadOnlyTextInput":return s.jsxRuntimeExports.jsx(Ry,{...e});case"Notify":return s.jsxRuntimeExports.jsx(Iy,{...e});case"Button":return s.jsxRuntimeExports.jsx(ky,{...e});case"Image":return s.jsxRuntimeExports.jsx(Ay,{...e});default:return null}},wy="_bottomSheet_1x4sq_1",jy="_content_1x4sq_8",Ly="_agreementList_1x4sq_11",vy="_agreementItem_1x4sq_16",Py="_warning_1x4sq_23",Oy="_buttonGroup_1x4sq_31",Dy="_buttonWrapper_1x4sq_41",My="_fullWidthButton_1x4sq_44",By="_modal_1x4sq_48",Fy="_header_1x4sq_55",Je={bottomSheet:wy,content:jy,agreementList:Ly,agreementItem:vy,warning:Py,buttonGroup:Oy,buttonWrapper:Dy,fullWidthButton:My,modal:By,header:Fy},Hy=({setIsOpen:e,price:t})=>{const[n,r]=k.useState({agreeToSendAsFF:!1,agreeToSend:!1,agreeToNotAddNote:!1}),{setIsOpen:i}=s.useModalStore(),a=()=>{i(!1),setTimeout(()=>{e(!1)},300)};return s.jsxRuntimeExports.jsxs("div",{className:Je.modal,onClick:o=>o.stopPropagation(),children:[s.jsxRuntimeExports.jsxs("div",{className:Je.header,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",children:"Note"}),s.jsxRuntimeExports.jsx(s.Icon,{name:"X",hoverable:!0,onClick:a,fill:"var(--text-primary)"})]}),s.jsxRuntimeExports.jsxs("div",{className:Je.bottomSheet,children:[s.jsxRuntimeExports.jsxs("div",{className:Je.content,children:[s.jsxRuntimeExports.jsxs("div",{className:Je.agreementList,children:[s.jsxRuntimeExports.jsxs("label",{className:Je.agreementItem,children:[s.jsxRuntimeExports.jsx(s.Checkbox,{value:n.agreeToSendAsFF,onChange:o=>r({...n,agreeToSendAsFF:o})}),s.jsxRuntimeExports.jsx("p",{children:"I agree to send the payment as friends & family"})]}),s.jsxRuntimeExports.jsxs("label",{className:Je.agreementItem,children:[s.jsxRuntimeExports.jsx(s.Checkbox,{value:n.agreeToSend,onChange:o=>r({...n,agreeToSend:o})}),s.jsxRuntimeExports.jsxs("p",{children:["I agree to send the payment of ",s.formatPrice(t)," ",t.currency]})]}),s.jsxRuntimeExports.jsxs("label",{className:Je.agreementItem,children:[s.jsxRuntimeExports.jsx(s.Checkbox,{value:n.agreeToNotAddNote,onChange:o=>r({...n,agreeToNotAddNote:o})}),s.jsxRuntimeExports.jsx("p",{children:"I agree to not add a note to this payment"})]})]}),s.jsxRuntimeExports.jsx("div",{className:Je.warning,children:s.jsxRuntimeExports.jsxs("p",{children:["Please note that you are required to send the exact payment of ",s.formatPrice(t)," ",t.currency,". If you were to send any amount over or below, your funds will be lost."]})})]}),s.jsxRuntimeExports.jsxs("div",{className:Je.buttonGroup,children:[s.jsxRuntimeExports.jsx("div",{className:Je.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",children:s.jsxRuntimeExports.jsx("span",{className:"text-[var(--text-secondary)]",children:"Cancel"})})}),s.jsxRuntimeExports.jsx("div",{className:Je.fullWidthButton,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Primary",disabled:!(n.agreeToSendAsFF&&n.agreeToNotAddNote&&n.agreeToSend),onClick:a,children:"Continue to Payment"})})]})]})]})},Uy="_chargeItemsContainer_qmv3w_4",$y="_chargeItemsInner_qmv3w_20",zy="_productsContainer_qmv3w_27",Wy="_chargeHeader_qmv3w_41",qy="_chargeTitle_qmv3w_49",Vy="_chargeDescription_qmv3w_55",Yy="_copyButton_qmv3w_61",Gy="_productsList_qmv3w_73",Xy="_trackingContainer_qmv3w_81",Qy="_footerContainer_qmv3w_91",Et={chargeItemsContainer:Uy,chargeItemsInner:$y,productsContainer:zy,chargeHeader:Wy,chargeTitle:qy,chargeDescription:Vy,copyButton:Yy,productsList:Gy,trackingContainer:Xy,footerContainer:Qy},Ky=({charge:e})=>{var a;const t=s.useCopy(),n=(e==null?void 0:e.price.currency)||"USD",r=new Intl.NumberFormat("en-US",{style:"currency",currency:n}),i=k.useMemo(()=>{var o;return((o=e==null?void 0:e.order)==null?void 0:o.partOrders.map(u=>{var c,d,m,h,f,p;return{id:(u==null?void 0:u.id)||0,image:u.productWithVariant.image,name:((c=u.productWithVariant)==null?void 0:c.variantName)||"",description:((d=u.productWithVariant)==null?void 0:d.description)||"",price:{quantity:u.quantity,amount:((m=u.productWithVariant)==null?void 0:m.price.amount)||0,currency:(h=u.productWithVariant)==null?void 0:h.price.currency},subscriptionSettings:(f=e.order)!=null&&f.subscriptionOrderId?(p=u.productWithVariant)==null?void 0:p.subscriptionSettings:null}}))||[]},[e]);return s.jsxRuntimeExports.jsx("div",{className:Et.chargeItemsContainer,children:s.jsxRuntimeExports.jsxs("div",{className:Et.chargeItemsInner,children:[s.jsxRuntimeExports.jsx(lr,{expiresAt:e==null?void 0:e.expiresAt}),s.jsxRuntimeExports.jsxs("div",{className:Et.productsContainer,children:[(e==null?void 0:e.name)&&s.jsxRuntimeExports.jsxs("header",{className:Et.chargeHeader,children:[s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx("h1",{className:Et.chargeTitle,id:"h5",children:e.name}),e.description&&s.jsxRuntimeExports.jsx("p",{className:Et.chargeDescription,id:"md",children:e.description})]}),((a=e.order)==null?void 0:a.id)&&s.jsxRuntimeExports.jsxs(s.Button$1,{type:"Secondary",className:Et.copyButton,onClick:()=>{var o;return t(((o=e.order)==null?void 0:o.id)||"")},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Copy"}),"Copy Order ID"]})]}),s.jsxRuntimeExports.jsxs("div",{style:{flex:1},children:[!!i.length&&s.jsxRuntimeExports.jsx("div",{className:Et.productsList,children:i.map(o=>s.jsxRuntimeExports.jsx(Pi,{product:o},o.id))}),s.jsxRuntimeExports.jsx(cr,{formatter:r,coupon:null,total:(e==null?void 0:e.price.amount)||0,discount:0,totalWithDiscount:(e==null?void 0:e.price.amount)||0,isShowSubtotal:!1})]}),s.jsxRuntimeExports.jsxs("div",{children:[e&&s.jsxRuntimeExports.jsx("div",{className:Et.trackingContainer,children:s.jsxRuntimeExports.jsx(s.TrackPayment,{timeline:e.timeline})}),s.jsxRuntimeExports.jsx(vt,{className:Et.footerContainer})]})]})]})})},Zy="_checkoutOrderMainData_hqf60_1",Jy="_orderDetailRow_hqf60_6",e5="_chargeIdRow_hqf60_16",t5="_detailLabel_hqf60_25",n5="_detailValue_hqf60_29",r5="_chargeIdContainer_hqf60_33",s5="_chargeId_hqf60_16",i5="_copyIcon_hqf60_51",Ue={checkoutOrderMainData:Zy,orderDetailRow:Jy,chargeIdRow:e5,detailLabel:t5,detailValue:n5,chargeIdContainer:r5,chargeId:s5,copyIcon:i5},Tl=({lastUpdate:e,invoiceId:t,email:n,paymentType:r})=>{const i=s.useCopy(),[a,o]=k.useState(null),u=a==null?void 0:a.find(d=>d.name===r);k.useEffect(()=>{a||(async()=>{const m=[r],h=await s.getGatewaysDetail(m);o(h)})()},[r,a]);const c=d=>{const m=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],h=d.getDate().toString().padStart(2,"0"),f=m[d.getMonth()],p=d.getFullYear(),x=d.getHours(),g=d.getMinutes().toString().padStart(2,"0"),C=d.getSeconds().toString().padStart(2,"0"),b=x>=12?"PM":"AM",A=(x%12||12).toString().padStart(2,"0");return`${f} ${h}, ${p} at ${A}:${g}:${C} ${b}`};return s.jsxRuntimeExports.jsxs("div",{className:Ue.checkoutOrderMainData,children:[s.jsxRuntimeExports.jsxs("div",{className:Ue.orderDetailRow,children:[s.jsxRuntimeExports.jsx("p",{className:Ue.detailLabel,id:"md",children:"Last Updated"}),s.jsxRuntimeExports.jsx("p",{className:Ue.detailValue,id:"md",children:c(new Date(e))})]}),s.jsxRuntimeExports.jsxs("div",{className:Ue.orderDetailRow,children:[s.jsxRuntimeExports.jsx("p",{className:Ue.detailLabel,id:"md",children:"Payment Type"}),s.jsxRuntimeExports.jsx("p",{className:Ue.detailValue,id:"md",children:u==null?void 0:u.displayName})]}),s.jsxRuntimeExports.jsxs("div",{className:Ue.orderDetailRow,children:[s.jsxRuntimeExports.jsx("p",{className:Ue.detailLabel,id:"md",children:"Email"}),s.jsxRuntimeExports.jsx("p",{className:Ue.detailValue,id:"md",children:n})]}),s.jsxRuntimeExports.jsxs("div",{className:Ue.chargeIdRow,children:[s.jsxRuntimeExports.jsx("p",{className:Ue.detailLabel,id:"md",children:"Charge ID"}),s.jsxRuntimeExports.jsxs("div",{className:Ue.chargeIdContainer,children:[s.jsxRuntimeExports.jsx("p",{className:Ue.chargeId,id:"md",children:t}),s.jsxRuntimeExports.jsx("div",{className:Ue.copyIcon,onClick:()=>i(t),children:s.jsxRuntimeExports.jsx(s.Icon,{name:"Copy"})})]})]})]})},a5="_bottomSheet_1yai1_1",o5="_formContainer_1yai1_8",u5="_error_1yai1_14",l5="_buttonGroup_1yai1_18",c5="_buttonWrapper_1yai1_28",d5="_fullWidthButton_1yai1_31",h5="_modal_1yai1_41",m5="_header_1yai1_48",Ft={bottomSheet:a5,formContainer:o5,error:u5,buttonGroup:l5,buttonWrapper:c5,fullWidthButton:d5,modal:h5,header:m5},p5=({chargeId:e,setIsOpen:t})=>{const[n,r]=k.useState(""),[i,a]=k.useState(""),{setIsOpen:o}=s.useModalStore(),u=m=>{try{return new URL(m),!0}catch{return!1}},c=async m=>{if(m.preventDefault(),!n){a("The link field cannot be empty.");return}if(!u(n)){a("Please enter a valid URL");return}await nc({url:n},e)&&(alert("CashApp successfully verified"),t(!1))},d=()=>{o(!1),setTimeout(()=>{t(!1)},300)};return s.jsxRuntimeExports.jsxs("div",{className:Ft.modal,onClick:m=>m.stopPropagation(),children:[s.jsxRuntimeExports.jsxs("div",{className:Ft.header,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",children:"CashApp Verify"}),s.jsxRuntimeExports.jsx(s.Icon,{name:"X",hoverable:!0,onClick:d,fill:"var(--text-primary)"})]}),s.jsxRuntimeExports.jsx("form",{onSubmit:c,children:s.jsxRuntimeExports.jsxs("div",{className:Ft.bottomSheet,children:[s.jsxRuntimeExports.jsx("div",{className:Ft.formContainer,children:s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx(s.Input$1,{value:n,onChange:m=>{r(m),a("")},label:"Enter Cashapp Link",placeholder:"https://cash.app/payments/0000"}),i&&s.jsxRuntimeExports.jsx("p",{className:Ft.error,children:i})]})}),s.jsxRuntimeExports.jsxs("div",{className:Ft.buttonGroup,children:[s.jsxRuntimeExports.jsx("div",{className:Ft.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:d,children:"Cancel"})}),s.jsxRuntimeExports.jsx("div",{className:Ft.fullWidthButton,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Primary",children:"Verify"})})]})]})})]})},f5="_container_1opbn_1",x5="_productDetails_1opbn_8",g5="_imageContainer_1opbn_14",E5="_image_1opbn_14",b5="_textContainer_1opbn_32",_5="_header_1opbn_40",T5="_title_1opbn_46",C5="_price_1opbn_53",S5="_badgeContainer_1opbn_57",y5="_description_1opbn_61",bt={container:f5,productDetails:x5,imageContainer:g5,image:E5,textContainer:b5,header:_5,title:T5,price:C5,badgeContainer:S5,description:y5},R5=({subscription:e})=>s.jsxRuntimeExports.jsxs("div",{className:bt.container,children:[s.jsxRuntimeExports.jsxs("div",{className:bt.productDetails,children:[s.jsxRuntimeExports.jsx("div",{className:bt.imageContainer,children:e!=null&&e.image?s.jsxRuntimeExports.jsx("img",{className:bt.image,src:s.convertCfImageIdToUrl(e.image.cfId),alt:e==null?void 0:e.name}):s.jsxRuntimeExports.jsx(s.Icon,{name:"Image"})}),s.jsxRuntimeExports.jsxs("div",{className:bt.textContainer,children:[s.jsxRuntimeExports.jsx("div",{className:bt.header,children:s.jsxRuntimeExports.jsx("h2",{className:bt.title,children:e.name})}),s.jsxRuntimeExports.jsxs("p",{className:bt.price,children:[s.formatPrice(e.price)," / ",e.recurringInterval]})]}),s.jsxRuntimeExports.jsx("div",{className:bt.badgeContainer,children:s.jsxRuntimeExports.jsx(s.SubscriptionStatusBadge,{status:e.status})})]}),e.description&&s.jsxRuntimeExports.jsx(ru,{className:bt.description,children:e.description})]}),k5="_card_69liy_1",A5="_price_69liy_10",I5="_interval_69liy_17",N5="_name_69liy_22",w5="_description_69liy_28",j5="_currentPlan_69liy_32",L5="_selectButton_69liy_45",v5="_progressSection_69liy_50",P5="_progressLabel_69liy_54",O5="_bottomSheet_69liy_60",D5="_title_69liy_69",M5="_typeSelector_69liy_80",B5="_typeOption_69liy_90",F5="_active_69liy_100",H5="_saveTag_69liy_108",U5="_planSelector_69liy_117",$5="_modal_69liy_127",z5="_inactive_69liy_148",W5="_notMounted_69liy_151",q5="_closeButton_69liy_157",ye={card:k5,price:A5,interval:I5,name:N5,description:w5,currentPlan:j5,selectButton:L5,progressSection:v5,progressLabel:P5,bottomSheet:O5,title:D5,typeSelector:M5,typeOption:B5,active:F5,saveTag:H5,planSelector:U5,modal:$5,inactive:z5,notMounted:W5,closeButton:q5},V5=({variant:e,onSelect:t,isCurrent:n})=>{const r=e.subscriptionSettings.recurringIntervalDays===30?"month":e.subscriptionSettings.recurringIntervalDays===365?"year":"period",i=e.subscriptionSettings.price.amount.toFixed(2),a=e.subscriptionSettings.recurringIntervalDays,o=10;return s.jsxRuntimeExports.jsxs("div",{className:ye.card,onClick:t,children:[s.jsxRuntimeExports.jsxs("h2",{className:ye.price,children:["$",i," ",s.jsxRuntimeExports.jsxs("span",{className:ye.interval,children:["/ ",r]})]}),s.jsxRuntimeExports.jsx("h3",{className:ye.name,children:e.name}),e.description&&s.jsxRuntimeExports.jsx("p",{className:ye.description,children:e.description}),n?s.jsxRuntimeExports.jsxs("div",{className:ye.currentPlan,children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Check"}),"Your current Plan"]}):s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",className:ye.selectButton,children:"Select"}),n&&s.jsxRuntimeExports.jsxs("div",{className:ye.progressSection,children:[s.jsxRuntimeExports.jsx(go,{percent:o/a*100,disablePercentLabel:!0}),s.jsxRuntimeExports.jsxs("p",{className:ye.progressLabel,children:["Used: ",o," of ",a," days"]})]})]})},Y5=({isOpen:e,setIsOpen:t,subscription:n})=>{const[r,i]=k.useState(null),[a,o]=k.useState(null),[u,c]=k.useState(null),{id:d,accessToken:m}=s.useParams(),[h,f]=k.useState(!1),[p,x]=k.useState(!1),{setIsOpen:g}=s.useModalStore();k.useEffect(()=>{e&&f(!0)},[e]);const C=()=>{t(!1)},[b,A]=k.useState(null);k.useEffect(()=>{d&&m&&(async()=>{if(d&&m){const{data:I}=await s.getSubscriptionUpgradePlans({id:d,accessToken:m});A(I)}})()},[d,m]),k.useEffect(()=>{var j;if(b!=null&&b.data.types[0]){const I=(j=b.data.types.flatMap(q=>q.productVariants).find(q=>q.data.id===(n==null?void 0:n.variantId)))==null?void 0:j.data;I&&(c(I),o(I))}},[b,n]),k.useEffect(()=>{b!=null&&b.data.types[0]&&i(b==null?void 0:b.data.types[0])},[b==null?void 0:b.data.types]);const y=j=>{i(j),o(null)},P=j=>{o(j),g(!0),x(!0)};return s.jsxRuntimeExports.jsxs("div",{className:s.clx(ye.modal,{[ye.active]:e,[ye.inactive]:!e&&h,[ye.notMounted]:!h}),onClick:j=>j.stopPropagation(),children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"X",onClick:C,hoverable:!0,className:ye.closeButton,fill:"var(--text-primary)"}),s.jsxRuntimeExports.jsxs("div",{className:ye.bottomSheet,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",className:ye.title,children:"Change Plan"}),s.jsxRuntimeExports.jsx("p",{className:ye.description,children:b==null?void 0:b.data.description}),s.jsxRuntimeExports.jsx("div",{className:ye.typeSelector,children:b==null?void 0:b.data.types.map(j=>s.jsxRuntimeExports.jsxs("div",{className:s.clx(ye.typeOption,{[ye.active]:(r==null?void 0:r.id)===j.id}),onClick:()=>y(j),children:[j.name,j.name==="Yearly"&&s.jsxRuntimeExports.jsx("span",{className:ye.saveTag,children:"Save %"})]},j.id))}),r&&s.jsxRuntimeExports.jsx("div",{className:ye.planSelector,children:r.productVariants.map(j=>s.jsxRuntimeExports.jsx(V5,{variant:j.data,isSelected:(a==null?void 0:a.id)===j.data.id,isCurrent:(u==null?void 0:u.id)===j.data.id,onSelect:()=>P(j.data)},j.data.id))})]}),p&&a&&n&&s.jsxRuntimeExports.jsx(s.Modal,{close:()=>{x(!1)},children:s.jsxRuntimeExports.jsx(MR,{setIsOpen:x,selectedVariant:a,subscription:n})})]})},G5="_container_nb625_1",X5="_title_nb625_11",Q5="_subtitle_nb625_16",K5="_info_nb625_20",Mr={container:G5,title:X5,subtitle:Q5,info:K5},Z5=()=>{const{subscription:e}=s.useSubscriptionStore(),[t,n]=s.extractDateAndTime((e==null?void 0:e.activeTo)||""),[r,i]=k.useState(!1),{setIsOpen:a}=s.useModalStore();return s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsxs("div",{className:Mr.container,children:[s.jsxRuntimeExports.jsxs("div",{className:Mr.info,children:[s.jsxRuntimeExports.jsx("p",{className:Mr.title,children:"Expiration Date"}),s.jsxRuntimeExports.jsxs("p",{className:Mr.subtitle,children:[t," at ",n]})]}),s.jsxRuntimeExports.jsx(s.Button$1,{type:"Special",onClick:o=>{o.stopPropagation(),a(!0),i(!0)},children:"Extend"})]}),r&&s.jsxRuntimeExports.jsx(s.Modal,{close:()=>i(!1),children:s.jsxRuntimeExports.jsx(t6,{setIsOpen:i})})]})},J5="_couponContainer_1sspa_1",eR="_iconWrapper_1sspa_10",tR="_details_1sspa_21",nR="_title_1sspa_25",rR="_progress_1sspa_29",sR="_foreverText_1sspa_34",fn={couponContainer:J5,iconWrapper:eR,details:tR,title:nR,progress:rR,foreverText:sR},iR=({coupon:e,currency:t})=>{const n=e.isFixed?s.formatPrice({amount:e.discount,currency:t}):`${e.discount}%`,r=e.initialCouponDurationForSubscriptions?s.percentageDifference(e.initialCouponDurationForSubscriptions,e.currentCouponDurationForSubscriptions||1):100;return s.jsxRuntimeExports.jsxs("div",{className:fn.couponContainer,children:[s.jsxRuntimeExports.jsx("div",{className:fn.iconWrapper,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"CheckCircle"})}),s.jsxRuntimeExports.jsxs("div",{className:fn.details,children:[s.jsxRuntimeExports.jsxs("p",{className:fn.title,children:[e.name,", ",n," discount"]}),s.jsxRuntimeExports.jsx("div",{className:fn.progress,children:s.jsxRuntimeExports.jsx(go,{color:"#C2C2C2",percent:r,disablePercentLabel:!0})}),s.jsxRuntimeExports.jsx("p",{className:fn.foreverText,children:"Forever discount code"})]})]})},aR="_paymentMethodContainer_1g0da_4",oR="_paymentMethodTitle_1g0da_15",uR="_activeMethod_1g0da_20",lR="_noMethod_1g0da_28",cR="_activeMethodPaymentMethod_1g0da_37",dR="_paymentMethodLogo_1g0da_47",hR="_paymentMethodNumber_1g0da_57",mR="_method_1g0da_61",Wt={paymentMethodContainer:aR,paymentMethodTitle:oR,activeMethod:uR,noMethod:lR,activeMethodPaymentMethod:cR,paymentMethodLogo:dR,paymentMethodNumber:hR,method:mR},pR="_paymentMethods_1gev0_1",fR="_modal_1gev0_14",xR="_header_1gev0_28",gR="_content_1gev0_37",Jt={paymentMethods:pR,modal:fR,header:xR,content:gR},ER=e=>{const{setIsLoading:t,setIsOpen:n}=e,{subscription:r,setSubscription:i}=s.useSubscriptionStore();if(!r)return null;const{id:a}=s.useParams(),o=s.useNavigate(),{notifications:u,setNotifications:c}=s.useNotificationStore(),{setPaymentMethod:d,setGateway:m,cart:h}=s.useCart(),{setIsOpen:f}=s.useModalStore();async function p(){if(x(),t(!0),a&&r){const{data:g}=await s.changeSubscriptionGateway(a,h.gateway);g.isReconnectPaymentNeeded?o(`/charges/${g.chargeId}`):(c([...u,{status:"success",id:s.v4(),message:"Your action has been successfully completed"}]),i({...r,gatewayName:h.gateway}))}else c([...u,{status:"error",id:s.v4(),message:"Your action has been failed. Try again!"}]);t(!1)}function x(){f(!1),setTimeout(()=>{n(!1)},300)}return s.jsxRuntimeExports.jsxs("div",{className:Jt.modal,onClick:g=>{g.stopPropagation()},children:[s.jsxRuntimeExports.jsxs("div",{className:Jt.header,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",className:Jt.title,children:"Choose Payment Method"}),s.jsxRuntimeExports.jsx(s.Icon,{name:"X",onClick:x,hoverable:!0,fill:"var(--text-primary)"})]}),s.jsxRuntimeExports.jsxs("div",{className:Jt.content,children:[(r==null?void 0:r.availableGateways)&&s.jsxRuntimeExports.jsx(bl,{possibleGateways:{availableGateways:r.availableGateways,requiresSignInGateways:r.availableGateways},setGateway:m,setPaymentMethod:d,totalAndDiscount:{total:(r==null?void 0:r.price.amount)||0,totalWithDiscount:r==null?void 0:r.price.amount},onSignInClick:()=>o("/customer-dash")}),s.jsxRuntimeExports.jsxs("div",{className:Jt.paymentMethods,children:[s.jsxRuntimeExports.jsx("div",{className:Jt.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:x,children:"Cancel"})}),s.jsxRuntimeExports.jsx("div",{className:Jt.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Primary",disabled:!h.gateway,onClick:()=>p(),children:"Continue"})})]})]})]})},bR="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20131.39%2086.9'%3e%3cdefs%3e%3cstyle%3e.a{opacity:0;}.b{fill:%23fff;}.c{fill:%23ff5f00;}.d{fill:%23eb001b;}.e{fill:%23f79e1b;}%3c/style%3e%3c/defs%3e%3ctitle%3eAsset%201%3c/title%3e%3cg%20class='a'%3e%3crect%20class='b'%20width='131.39'%20height='86.9'/%3e%3c/g%3e%3crect%20class='c'%20x='48.37'%20y='15.14'%20width='34.66'%20height='56.61'/%3e%3cpath%20class='d'%20d='M51.94,43.45a35.94,35.94,0,0,1,13.75-28.3,36,36,0,1,0,0,56.61A35.94,35.94,0,0,1,51.94,43.45Z'/%3e%3cpath%20class='e'%20d='M120.5,65.76V64.6H121v-.24h-1.19v.24h.47v1.16Zm2.31,0v-1.4h-.36l-.42,1-.42-1h-.36v1.4h.26V64.7l.39.91h.27l.39-.91v1.06Z'/%3e%3cpath%20class='e'%20d='M123.94,43.45a36,36,0,0,1-58.25,28.3,36,36,0,0,0,0-56.61,36,36,0,0,1,58.25,28.3Z'/%3e%3c/svg%3e",_R=()=>{var x,g,C;const{subscription:e}=s.useSubscriptionStore(),{cart:t,setPaymentMethod:n}=s.useCart(),r=s.useNavigate(),[i,a]=k.useState(null),[o,u]=k.useState(!1),[c,d]=k.useState(!1),{setIsOpen:m}=s.useModalStore();if(!e)return null;const[h,f]=k.useState(e.gatewayName||t.gateway),p=t.paymentMethod;return k.useEffect(()=>{(async()=>{const A=await s.getGatewaysDetail(e.availableGateways);a(A)})()},[]),k.useEffect(()=>{t.gateway!==h&&f(t.gateway)},[t.gateway]),s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsxs("div",{className:Wt.paymentMethodContainer,children:[s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx("p",{className:Wt.paymentMethodTitle,children:"Active Payment Method"}),e.gatewayInfo&&Object.keys(e.gatewayInfo).length>0&&s.jsxRuntimeExports.jsx(TR,{gatewayInfo:e.gatewayInfo}),(!e.gatewayInfo||Object.keys(e.gatewayInfo).length===0)&&h==="Balance"&&s.jsxRuntimeExports.jsx(El,{gateway:h,gatewayDisplayName:h,total:(e==null?void 0:e.price.amount)||0,onSignInClick:()=>r("/customer-dash")}),(!e.gatewayInfo||Object.keys(e.gatewayInfo).length===0)&&!h&&s.jsxRuntimeExports.jsx("span",{className:Wt.noMethod,children:"Payment method is not set"}),(!e.gatewayInfo||Object.keys(e.gatewayInfo).length===0)&&h&&s.jsxRuntimeExports.jsx("div",{className:Wt.activeMethod,children:i&&s.jsxRuntimeExports.jsx(s.CheckoutPaymentMethod,{align:"row",gatewayLogoCfId:(x=i.find(b=>b.name===h))==null?void 0:x.logoCfImageId,gatewayDisplayName:(g=i.find(b=>b.name===h))==null?void 0:g.displayName,gateway:h,poweredByLogoCfId:(C=i.find(b=>b.name===h))==null?void 0:C.poweredByImageCfImageId,className:Wt.activeMethodPaymentMethod,selected:p===h,onSelect:b=>{n(b)}},h)})]}),s.jsxRuntimeExports.jsx(s.Button$1,{type:"Special",onClick:b=>{b.stopPropagation(),m(!0),d(!0)},children:t.gateway?"Change":"Manage"})]}),c&&s.jsxRuntimeExports.jsx(s.Modal,{close:()=>d(!1),children:s.jsxRuntimeExports.jsx(ER,{setIsLoading:u,setIsOpen:d})})]})},TR=({gatewayInfo:e})=>{var t,n,r,i,a;return s.jsxRuntimeExports.jsxs("div",{className:Wt.method,children:[s.jsxRuntimeExports.jsxs("div",{className:Wt.paymentMethodLogo,children:[((t=e.card)==null?void 0:t.brand.toLowerCase())==="visa"&&s.jsxRuntimeExports.jsx(s.Visa,{}),((n=e.card)==null?void 0:n.brand.toLowerCase())==="mastercard"&&s.jsxRuntimeExports.jsx("img",{src:bR,alt:"",width:22}),((r=e.card)==null?void 0:r.brand.toLowerCase())!=="visa"&&((i=e.card)==null?void 0:i.brand.toLowerCase())!=="mastercard"&&s.jsxRuntimeExports.jsx(s.Icon,{name:"CreditCard",width:22})]}),s.jsxRuntimeExports.jsxs("p",{className:Wt.paymentMethodNumber,children:["•••• •••• •••• ",(a=e.card)==null?void 0:a.last4]})]})},CR="_subscriptionProductContainer_83ibx_4",SR="_subscriptionProductImage_83ibx_15",yR="_subscriptionProductInfo_83ibx_32",RR="_name_83ibx_37",kR="_price_83ibx_40",qn={subscriptionProductContainer:CR,subscriptionProductImage:SR,subscriptionProductInfo:yR,name:RR,price:kR},AR=({subscription:e,id:t,accessToken:n})=>{const[r,i]=k.useState(!1),{setIsOpen:a}=s.useModalStore();return s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsxs("div",{className:qn.subscriptionProductContainer,onClick:o=>o.stopPropagation(),children:[s.jsxRuntimeExports.jsx("div",{className:qn.subscriptionProductImage,children:e!=null&&e.image?s.jsxRuntimeExports.jsx("img",{src:s.convertCfImageIdToUrl(e.image.cfId)}):s.jsxRuntimeExports.jsx(s.Icon,{name:"Image"})}),s.jsxRuntimeExports.jsxs("div",{className:qn.subscriptionProductInfo,children:[s.jsxRuntimeExports.jsx("div",{className:"flex items-center gap-2",children:s.jsxRuntimeExports.jsx("h2",{className:qn.name,children:e.name})}),s.jsxRuntimeExports.jsxs("p",{className:qn.price,children:[s.formatPrice(e.price)," / ",e.recurringInterval]})]}),s.jsxRuntimeExports.jsx(s.Button$1,{type:"Special",onClick:o=>{o.preventDefault(),i(!0),a(!0)},children:"Cancel"})]}),r&&s.jsxRuntimeExports.jsx(s.Modal,{close:()=>i(!1),children:s.jsxRuntimeExports.jsx(p6,{accessToken:n,id:t,isOpen:r,setIsOpen:i})})]})},IR="_content_5ctxw_1",NR="_selectedPlan_5ctxw_37",wR="_planName_5ctxw_44",jR="_description_5ctxw_48",LR="_price_5ctxw_51",vR="_buttonGroup_5ctxw_79",PR="_buttonWrapper_5ctxw_84",OR="_modal_5ctxw_88",DR="_header_5ctxw_95",lt={content:IR,selectedPlan:NR,planName:wR,description:jR,price:LR,buttonGroup:vR,buttonWrapper:PR,modal:OR,header:DR},MR=({setIsOpen:e,selectedVariant:t,subscription:n})=>{if(!t)return null;const{setIsOpen:r}=s.useModalStore(),i=()=>{a()},a=()=>{r(!1),setTimeout(()=>{e(!1)},300)},o=(t.subscriptionSettings.compareAtPrice||t.subscriptionSettings.price).amount,u=t.subscriptionSettings.compareAtPrice?t.subscriptionSettings.compareAtPrice.amount-t.subscriptionSettings.price.amount:t.subscriptionSettings.price.amount,c=o-u,d=new Intl.NumberFormat("en-US",{style:"currency",currency:n.price.currency});return s.jsxRuntimeExports.jsxs("div",{className:lt.modal,children:[s.jsxRuntimeExports.jsxs("div",{className:lt.header,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",children:"Choose upgrade method"}),s.jsxRuntimeExports.jsx(s.Icon,{name:"X",hoverable:!0,onClick:()=>a(),fill:"var(--text-primary)"})]}),s.jsxRuntimeExports.jsxs("div",{className:lt.bottomSheet,children:[s.jsxRuntimeExports.jsxs("div",{className:lt.content,children:[s.jsxRuntimeExports.jsxs("div",{className:lt.selectedPlan,children:[s.jsxRuntimeExports.jsx("h2",{className:lt.planName,children:t.name}),s.jsxRuntimeExports.jsx("p",{className:lt.description,children:t.description}),s.jsxRuntimeExports.jsxs("p",{className:lt.price,children:["$",t.subscriptionSettings.price.amount.toFixed(2)," /"," ",t.subscriptionSettings.recurringIntervalDays===30?"month":"year"]})]}),s.jsxRuntimeExports.jsx(cr,{formatter:d,coupon:null,total:c,discount:u})]}),s.jsxRuntimeExports.jsxs("div",{className:lt.buttonGroup,children:[s.jsxRuntimeExports.jsx("div",{className:lt.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:()=>a(),children:"Stay with us"})}),s.jsxRuntimeExports.jsx("div",{className:lt.buttonWrapper,children:s.jsxRuntimeExports.jsxs(s.Button$1,{type:"Primary",onClick:i,children:["Upgrade for $",c.toFixed(2)]})})]})]})]})},BR="_reviewMessage_1t8u4_1",FR="_leaveReviewContainer_1t8u4_11",HR="_leaveReviewTitle_1t8u4_20",zs={reviewMessage:BR,leaveReviewContainer:FR,leaveReviewTitle:HR},UR=({review:e,orderId:t,className:n})=>{const[r,i]=k.useState((e==null?void 0:e.rating)||0),[a,o]=k.useState(!1),{setIsOpen:u}=s.useModalStore(),{notifications:c,setNotifications:d}=s.useNotificationStore(),m=async h=>{e&&"accessToken"in e&&(await ac({comment:h,rating:r},t,e.accessToken),d([...c,{status:"success",id:s.v4(),message:"Review left successfully"}]),o(!1))};return k.useEffect(()=>{e&&r&&"accessToken"in e&&!e.rating&&(u(!0),o(!0))},[r]),e?e.rating&&"accessToken"in e?s.jsxRuntimeExports.jsxs("div",{className:zs.reviewMessage,children:["You left a ",e.rating," star rating"]}):s.jsxRuntimeExports.jsxs("div",{className:s.clx(zs.leaveReviewContainer,n),children:[s.jsxRuntimeExports.jsx("p",{className:zs.leaveReviewTitle,children:"Leave a review"}),s.jsxRuntimeExports.jsx(Hf,{rating:r,setRating:i,disabled:!!e.rating||!("accessToken"in e)}),a&&s.jsxRuntimeExports.jsx(s.Modal,{close:()=>o(!1),children:s.jsxRuntimeExports.jsx(XR,{setIsOpen:o,onSubmit:m})})]}):null},$R="_bottomSheet_1bcyj_1",zR="_content_1bcyj_7",WR="_title_1bcyj_18",qR="_buttonGroup_1bcyj_22",VR="_buttonWrapper_1bcyj_33",YR="_modal_1bcyj_37",GR="_header_1bcyj_44",Ht={bottomSheet:$R,content:zR,title:WR,buttonGroup:qR,buttonWrapper:VR,modal:YR,header:GR},XR=({setIsOpen:e,onSubmit:t})=>{const[n,r]=k.useState(""),{setIsOpen:i}=s.useModalStore(),a=()=>{i(!1),setTimeout(()=>{e(!1)},300)};return s.jsxRuntimeExports.jsxs("div",{className:Ht.modal,onClick:o=>o.stopPropagation(),children:[s.jsxRuntimeExports.jsxs("div",{className:Ht.header,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",className:Ht.title,children:"Review Description"}),s.jsxRuntimeExports.jsx(s.Icon,{name:"X",hoverable:!0,onClick:a,fill:"var(--text-primary)"})]}),s.jsxRuntimeExports.jsxs("div",{className:Ht.bottomSheet,children:[s.jsxRuntimeExports.jsx("div",{className:Ht.content,children:s.jsxRuntimeExports.jsx(s.Textarea$1,{placeholder:"Great product and fast checkout...",value:n,onChange:o=>r(o),label:"Describe your review in detail below"})}),s.jsxRuntimeExports.jsxs("div",{className:Ht.buttonGroup,children:[s.jsxRuntimeExports.jsx("div",{className:Ht.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:a,children:"Cancel"})}),s.jsxRuntimeExports.jsx("div",{className:Ht.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Primary",disabled:!n,onClick:()=>{a(),t(n)},children:"Submit"})})]})]})]})},QR="_container_1idhv_1",KR="_buttonGroup_1idhv_8",ZR="_buttonWrapper_1idhv_15",JR="_header_1idhv_19",e6="_content_1idhv_28",en={container:QR,buttonGroup:KR,buttonWrapper:ZR,header:JR,content:e6},t6=({setIsOpen:e})=>{const{subscription:t}=s.useSubscriptionStore(),{getTotalAndDiscount:n,cart:r,coupon:i}=s.useCart(),[a,o]=k.useState(1),u=s.useNavigate(),{setIsOpen:c}=s.useModalStore(),{setNotifications:d,notifications:m}=s.useNotificationStore(),[h,f]=k.useState(!1),p=k.useMemo(()=>n(),[i,r]),x=k.useMemo(()=>p.totalWithDiscount?p.total-p.totalWithDiscount:0,[p]);if(h)return s.jsxRuntimeExports.jsx(s.ProcessingPaymentModal,{});const g=(t==null?void 0:t.price.currency)||"USD",C=new Intl.NumberFormat("en-US",{style:"currency",currency:g});async function b(){var y;f(!0);try{const{data:P}=await s.extendSubscription((t==null?void 0:t.id)||"",{});d([{id:s.v4(),message:"Order created successfully",status:"success"}]),u(`/orders/${(y=P.data)==null?void 0:y.id}/${P.data.fullAccessToken}`)}catch(P){const j=P;d([...m,{id:s.v4(),message:`Order creation failed: ${j.message}`,status:"error"}]),A()}finally{f(!1)}}function A(){c(!1),setTimeout(()=>{e(!1)},300)}return s.jsxRuntimeExports.jsxs("div",{className:en.container,onClick:y=>y.stopPropagation(),children:[s.jsxRuntimeExports.jsxs("div",{className:en.header,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",className:en.title,children:"Extend Subscription"}),s.jsxRuntimeExports.jsx(s.Icon,{name:"X",onClick:A,hoverable:!0,fill:"var(--text-primary)"})]}),s.jsxRuntimeExports.jsxs("div",{className:en.content,children:[s.jsxRuntimeExports.jsx(Zf,{step:a,totalSteps:12,onStepChange:o,label:"How long would you like to extend your subscription for?"}),s.jsxRuntimeExports.jsx(cr,{formatter:C,coupon:i,total:p.total,discount:x,totalWithDiscount:p.totalWithDiscount}),s.jsxRuntimeExports.jsxs("div",{className:en.buttonGroup,children:[s.jsxRuntimeExports.jsx("div",{className:en.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:A,children:"Cancel"})}),s.jsxRuntimeExports.jsx("div",{className:en.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Primary",onClick:b,children:"Extend"})})]})]})]})},n6="_bottomSheet_uw5jb_1",r6="_content_uw5jb_7",s6="_radioGroup_uw5jb_11",i6="_confirmation_uw5jb_26",a6="_iconWrapper_uw5jb_33",o6="_title_uw5jb_42",u6="_message_uw5jb_48",l6="_buttonGroup_uw5jb_54",c6="_buttonWrapper_uw5jb_64",d6="_modal_uw5jb_68",h6="_header_uw5jb_77",je={bottomSheet:n6,content:r6,radioGroup:s6,confirmation:i6,iconWrapper:a6,title:o6,message:u6,buttonGroup:l6,buttonWrapper:c6,modal:d6,header:h6},m6={0:"Are you sure?",1:"Just making sure",2:"We're sorry to see you go"},p6=({isOpen:e,setIsOpen:t,id:n,accessToken:r})=>{const[i,a]=k.useState(0),[o,u]=k.useState(!1),[c,d]=k.useState(""),[m,h]=k.useState(""),{setIsOpen:f}=s.useModalStore(),p=async()=>{if(!c)return;u(!0);const g=await s.cancelSubscription(n,r,{reason:c==="Other reason"?m:c});u(!1),g&&a(2)};k.useEffect(()=>{e||(a(0),d(""),h(""))},[e]);const x=()=>{f(!1),setTimeout(()=>{t(!1)},300)};return s.jsxRuntimeExports.jsxs("div",{className:je.modal,onClick:g=>g.stopPropagation(),children:[s.jsxRuntimeExports.jsxs("div",{className:je.header,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",children:m6[i]||""}),s.jsxRuntimeExports.jsx(s.Icon,{name:"X",onClick:x,hoverable:!0,fill:"var(--text-primary)"})]}),s.jsxRuntimeExports.jsxs("div",{className:je.content,children:[i===0&&s.jsxRuntimeExports.jsxs("div",{className:je.bottomSheet,children:[s.jsxRuntimeExports.jsx("p",{children:"Before you cancel your subscription can you tell us why?"}),s.jsxRuntimeExports.jsxs("div",{className:je.radioGroup,children:[s.jsxRuntimeExports.jsx(s.Radio,{defaultValue:c,onChange:g=>d(g),options:[{value:"Found another company",label:"Found another company"},{value:"Expensive",label:"Expensive"},{value:"Technical problems",label:"Technical problems"},{value:"Support problems",label:"Support problems"},{value:"Other reason",label:"Other reason"}],flexDirection:"column"}),c==="Other reason"&&s.jsxRuntimeExports.jsx(s.Textarea$1,{value:m,onChange:g=>h(g),placeholder:"Describe the reason..."})]}),s.jsxRuntimeExports.jsxs("div",{className:je.buttonGroup,children:[s.jsxRuntimeExports.jsx("div",{className:je.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:x,children:"Stay with us"})}),s.jsxRuntimeExports.jsx("div",{className:je.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Primary",onClick:()=>c&&a(1),disabled:!c,children:"Continue"})})]})]}),i===1&&s.jsxRuntimeExports.jsxs("div",{className:je.bottomSheet,children:[s.jsxRuntimeExports.jsx("p",{children:"You'll lose access to all of the features and content available within this subscription."}),s.jsxRuntimeExports.jsxs("div",{className:je.buttonGroup,children:[s.jsxRuntimeExports.jsx("div",{className:je.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:x,children:"Stay with us"})}),s.jsxRuntimeExports.jsx("div",{className:je.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Primary",onClick:p,disabled:o,children:"Cancel it anyway"})})]})]}),i===2&&s.jsxRuntimeExports.jsxs("div",{className:je.bottomSheet,children:[s.jsxRuntimeExports.jsxs("div",{className:`${je.confirmation}`,children:[s.jsxRuntimeExports.jsx("div",{className:je.iconWrapper,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"Check",fill:"var(--text-success)"})}),s.jsxRuntimeExports.jsx("p",{className:je.title,children:"Subscription Cancelled"}),s.jsxRuntimeExports.jsx("p",{className:je.message,children:"You'll lose access to all of the features and content available within this subscription."})]}),s.jsxRuntimeExports.jsx("div",{className:je.buttonGroup,children:s.jsxRuntimeExports.jsx("div",{className:je.buttonWrapper,children:s.jsxRuntimeExports.jsx(s.Button$1,{type:"Secondary",onClick:x,children:"Close"})})})]})]})]})},f6="_checkoutContainer_wkomn_1",x6="_loaderContainer_wkomn_20",Ws={checkoutContainer:f6,loaderContainer:x6},g6=()=>{const{cart:e,products:t,pending:n,getTotalAndDiscount:r,getPossibleGateways:i,submitCart:a,setGateway:o,applyCoupon:u,setDiscordSocialConnectId:c,setCustomFields:d,applyCouponPending:m,coupon:h,removeCoupon:f,getDiscordSettings:p,setPaymentMethod:x,reset:g}=s.useCart(),C=k.useMemo(()=>r(),[h,e]),b=s.useNavigate();return k.useEffect(()=>{if(e.parts.length===0)try{b(-1)}catch{b("/")}},[e.parts]),n?s.jsxRuntimeExports.jsx("div",{className:Ws.checkoutContainer,children:s.jsxRuntimeExports.jsx("div",{className:Ws.loaderContainer,children:s.jsxRuntimeExports.jsx(s.Loader,{})})}):s.jsxRuntimeExports.jsxs("div",{className:Ws.checkoutContainer,children:[s.jsxRuntimeExports.jsx(NS,{cart:e,products:t,applyCoupon:u,applyCouponPending:m,coupon:h,removeCoupon:f,totalAndDiscount:C}),s.jsxRuntimeExports.jsx(my,{cart:e,getPossibleGateways:i,setGateway:o,getDiscordSettings:p,products:t,submitCart:a,totalAndDiscount:C,setCustomFieldsToCart:d,setDiscordSocialConnectId:c,setPaymentMethod:x,reset:g})]})},E6="_chargePageContainer_1a200_1",b6="_chargeItems_1a200_14",_6="_mainContent_1a200_25",T6="_contentWrapper_1a200_36",C6="_statusBlock_1a200_41",S6="_notPaidSection_1a200_45",y6="_footer_1a200_53",R6="_loaderContainer_1a200_63",Ut={chargePageContainer:E6,chargeItems:b6,mainContent:_6,contentWrapper:T6,statusBlock:C6,notPaidSection:S6,footer:y6,loaderContainer:R6},k6=()=>{const{id:e}=s.useParams(),[t,n]=s.useSearchParams(),[r,i]=k.useState(!1),[a,o]=k.useState(),[u,c]=k.useState(!0),d=s.useNavigate(),m=k.useRef(),{setIsOpen:h}=s.useModalStore();return k.useEffect(()=>{const f=async(x,g=!1)=>{g||i(!0);const{data:C}=await oc(x);i(!1),o(C)},p=setInterval(()=>{e&&f(e,!0)},5e3);return e&&f(e),()=>{clearInterval(p)}},[]),k.useEffect(()=>{const f=t.get("redirectRoute");(a==null?void 0:a.status)===s.ChargeStatus.Paid&&a.redirectUrl&&!m.current&&window.open(a.redirectUrl,"_self"),(a==null?void 0:a.status)===s.ChargeStatus.Paid&&m.current&&d(m.current,{replace:!0}),f&&m&&(m.current=f,t.delete("redirectRoute"),n(t))},[a]),k.useEffect(()=>{((a==null?void 0:a.gateway)==="PayPalFF"||(a==null?void 0:a.gateway)==="Сashapp")&&h(!0)},[a]),r?s.jsxRuntimeExports.jsx("div",{className:Ut.loaderContainer,children:s.jsxRuntimeExports.jsx(s.Loader,{})}):s.jsxRuntimeExports.jsxs("div",{className:Ut.chargePageContainer,children:[s.jsxRuntimeExports.jsx("div",{className:Ut.chargeItems,children:s.jsxRuntimeExports.jsx(Ky,{charge:a})}),s.jsxRuntimeExports.jsx("div",{className:Ut.mainContent,children:s.jsxRuntimeExports.jsxs("div",{className:Ut.contentWrapper,children:[a&&(a==null?void 0:a.status)!==s.ChargeStatus.NotPaid&&s.jsxRuntimeExports.jsx(s.ChargeStatusBlock,{charge:a}),a&&s.jsxRuntimeExports.jsx("div",{className:`${Ut.statusBlock}`,children:s.jsxRuntimeExports.jsx(Tl,{lastUpdate:a.expiresAt,email:a.customerForCharge.email,invoiceId:a.id,paymentType:a.gateway})}),(a==null?void 0:a.status)===s.ChargeStatus.NotPaid&&s.jsxRuntimeExports.jsx("div",{className:Ut.notPaidSection,children:a==null?void 0:a.displayPaymentInfo.map((f,p)=>s.jsxRuntimeExports.jsx(_l,{block:f},p))}),s.jsxRuntimeExports.jsx(vt,{className:Ut.footer})]})}),(a==null?void 0:a.gateway)==="PayPalFF"&&u&&s.jsxRuntimeExports.jsx(s.Modal,{close:()=>c(!1),children:s.jsxRuntimeExports.jsx(Hy,{price:a.price,setIsOpen:c})}),(a==null?void 0:a.gateway)==="Сashapp"&&u&&s.jsxRuntimeExports.jsx(s.Modal,{close:()=>i(!1),children:s.jsxRuntimeExports.jsx(p5,{setIsOpen:c,chargeId:a.id})})]})},A6="_wrapper_1fax2_1",I6="_title_1fax2_20",N6="_container_1fax2_26",w6="_content_1fax2_36",j6="_messages_1fax2_46",L6="_input_1fax2_58",v6="_textarea_1fax2_64",P6="_message_1fax2_46",O6="_messageDate_1fax2_88",D6="_myMessage_1fax2_94",M6="_otherMessage_1fax2_101",B6="_button_1fax2_108",F6="_loadingMessage_1fax2_117",$e={wrapper:A6,title:I6,container:N6,content:w6,messages:j6,input:L6,textarea:v6,message:P6,messageDate:O6,myMessage:D6,otherMessage:M6,button:B6,loadingMessage:F6},H6=()=>{const e=window.location.pathname.split("/"),t=e[e.length-1],n=e[e.length-2],[r,i]=k.useState(!0),[a,o]=k.useState(null),[u,c]=k.useState(""),[d,m]=k.useState(null),{executeRecaptcha:h}=s.useReCaptcha(),f=async()=>{if(n&&t){const{data:g}=await s.fetchTicket(n,t);o(g),i(!1)}};k.useEffect(()=>{f();const g=setInterval(()=>{f()},5e3);return()=>clearInterval(g)},[]);const p=async()=>{const g=await h();if(!n||!t||!g||!u.trim())return;const C={content:u,createdAt:new Date().toISOString(),id:Date.now(),isSellerReply:!1};o(b=>b?{...b,messages:[...b.messages,C]}:null),m(C.id),c("");try{await s.sendTicketMessage(n,t,u,g),await f()}finally{setTimeout(()=>{m(null)},1e4)}},x=g=>{const C=new Date,b=new Date(g),A=Math.floor((C.getTime()-b.getTime())/1e3);if(A<60)return"right now";if(A<3600){const y=Math.floor(A/60);return`${y} minute${y>1?"s":""} ago`}else if(A<10800){const y=Math.floor(A/3600);return`${y} hour${y>1?"s":""} ago`}else return b.getFullYear()===C.getFullYear()?b.toLocaleDateString("en-US",{month:"short",day:"2-digit",hour:"2-digit",minute:"2-digit"}):b.toLocaleDateString("en-US",{year:"numeric",month:"short",day:"2-digit",hour:"2-digit",minute:"2-digit"})};return s.jsxRuntimeExports.jsx("div",{className:$e.wrapper,children:r&&!a?s.jsxRuntimeExports.jsx(s.Loader,{}):s.jsxRuntimeExports.jsxs("div",{className:$e.container,children:[s.jsxRuntimeExports.jsx("div",{className:$e.title,children:`#${n} (${a==null?void 0:a.title})`}),s.jsxRuntimeExports.jsxs("div",{className:$e.content,children:[s.jsxRuntimeExports.jsx("div",{className:$e.messages,children:a==null?void 0:a.messages.sort((g,C)=>new Date(g.createdAt).getTime()-new Date(C.createdAt).getTime()).map(g=>s.jsxRuntimeExports.jsxs("div",{className:s.clx($e.message,{[$e.myMessage]:!g.isSellerReply,[$e.otherMessage]:g.isSellerReply,[$e.loadingMessage]:d===g.id}),children:[s.jsxRuntimeExports.jsx("div",{className:$e.messageContent,children:s.splitTextIntoSpans(g.content,!1)}),d!==g.id&&s.jsxRuntimeExports.jsx("div",{className:$e.messageDate,children:x(g.createdAt)}),d===g.id&&s.jsxRuntimeExports.jsx("div",{className:$e.messageDate,children:s.jsxRuntimeExports.jsx(s.Loader,{})})]},g.id))}),s.jsxRuntimeExports.jsxs("div",{className:$e.input,children:[s.jsxRuntimeExports.jsx("textarea",{className:$e.textarea,value:u,placeholder:"What worries you?",onChange:g=>c(g.target.value),onKeyDown:g=>{g.key==="Enter"&&!g.shiftKey&&(g.preventDefault(),p())},style:{resize:"none",maxHeight:"150px",overflowY:"auto"}}),s.jsxRuntimeExports.jsx("div",{className:$e.button,onClick:p,children:s.jsxRuntimeExports.jsx(s.Icon,{name:"PaperPlaneRight"})})]})]})]})})},U6="_subscriptionContainer_1j6ol_1",$6="_leftSection_1j6ol_15",z6="_content_1j6ol_26",W6="_mainContent_1j6ol_33",q6="_detailsSection_1j6ol_37",V6="_buttonGroup_1j6ol_50",Y6="_detailsContent_1j6ol_57",tn={subscriptionContainer:U6,leftSection:$6,content:z6,mainContent:W6,detailsSection:q6,buttonGroup:V6,detailsContent:Y6},G6=()=>{const{id:e,accessToken:t}=s.useParams(),{subscription:n,setSubscription:r}=s.useSubscriptionStore(),{setIsOpen:i}=s.useModalStore(),[a,o]=k.useState(!1),[u,c]=k.useState(!1);k.useLayoutEffect(()=>{r(null)},[e,t]);const{balanceSettings:d,setBalanceSettings:m}=s.useCustomerDashboardStore();return k.useEffect(()=>{e&&t&&(async()=>{if(!e||!t)return;c(!0);const{data:f}=await s.fetchSubscription(e,t);r({...f}),c(!1)})()},[e,t]),k.useEffect(()=>{d||(async()=>{const f=await s.getBalanceSettings();m(f)})()},[d]),u?s.jsxRuntimeExports.jsx(s.Loader,{}):s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsxs("div",{className:tn.subscriptionContainer,children:[s.jsxRuntimeExports.jsx("div",{className:tn.leftSection,children:s.jsxRuntimeExports.jsxs("div",{className:tn.content,children:[s.jsxRuntimeExports.jsx(lr,{}),s.jsxRuntimeExports.jsxs("div",{className:tn.mainContent,children:[n&&s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",children:"Your Subscription"}),s.jsxRuntimeExports.jsx(R5,{subscription:{price:n.price,name:n.productName,description:n.productDescription,status:n.status,image:n.productImage,recurringInterval:n.recurringInterval}}),s.jsxRuntimeExports.jsx("div",{className:tn.buttonGroup,children:n.pricingPlanExists&&s.jsxRuntimeExports.jsx(s.Button$1,{onClick:h=>{h.stopPropagation(),i(!0),o(!0)},style:{maxWidth:"500px",width:"100%"},children:"Change Plan"})})]}),s.jsxRuntimeExports.jsx(vt,{})]})]})}),s.jsxRuntimeExports.jsx("div",{className:tn.detailsSection,children:s.jsxRuntimeExports.jsxs("div",{className:tn.detailsContent,children:[s.jsxRuntimeExports.jsx("h3",{id:"h3",children:"Details"}),(n==null?void 0:n.coupon)&&s.jsxRuntimeExports.jsx(iR,{coupon:n.coupon,currency:n.price.currency||"USD"}),n&&s.jsxRuntimeExports.jsx(AR,{id:e||"",accessToken:t||"",subscription:{price:n.price,name:n.productName,description:n.productDescription,status:n.status,image:n.productImage,recurringInterval:n.recurringInterval}}),n&&s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(_R,{}),n.activeTo&&s.jsxRuntimeExports.jsx(Z5,{})]}),s.jsxRuntimeExports.jsx(vt,{className:"flex md:hidden"})]})})]}),s.jsxRuntimeExports.jsx(Y5,{isOpen:a,setIsOpen:o,subscription:n})]})},X6="_topUpContainer_1pag6_1",Q6="_formWrapper_1pag6_15",K6="_header_1pag6_29",Z6="_footer_1pag6_82",J6="_wrapper_1pag6_105",Vn={topUpContainer:X6,formWrapper:Q6,header:K6,footer:Z6,wrapper:J6},ek=()=>{const{gatewaysDetail:e,setGatewaysDetail:t,balanceSettings:n,setBalanceSettings:r}=s.useCustomerDashboardStore();return k.useEffect(()=>{!e&&n&&(async()=>{const a=await s.getGatewaysDetail(n!=null&&n.isEnabled?(n==null?void 0:n.topUpSettings.gateways)||[]:[]);t(a)})()},[e,n]),k.useEffect(()=>{n||(async()=>{const a=await s.getBalanceSettings();r(a)})()},[n]),s.jsxRuntimeExports.jsxs("div",{className:Vn.wrapper,children:[s.jsxRuntimeExports.jsx(lr,{className:Vn.header}),s.jsxRuntimeExports.jsx("div",{className:Vn.topUpContainer,children:n?s.jsxRuntimeExports.jsx("div",{className:Vn.formWrapper,children:s.jsxRuntimeExports.jsx(s.BalanceModal,{setIsOpen:()=>{},isModal:!1})}):s.jsxRuntimeExports.jsx(s.Loader,{})}),s.jsxRuntimeExports.jsx("div",{className:Vn.footer,children:s.jsxRuntimeExports.jsx(vt,{})})]})},tk="_orderPage_1nvve_1",nk="_leftSection_1nvve_15",rk="_content_1nvve_35",sk="_main_1nvve_42",ik="_statusBlock_1nvve_54",ak="_timelineBlock_1nvve_58",ok="_footer_1nvve_62",uk="_rightSection_1nvve_71",lk="_header_1nvve_84",ck="_productList_1nvve_92",dk="_mobileFooter_1nvve_99",hk="_loaderContainer_1nvve_108",mk="_orderMainData_1nvve_116",pk="_prices_1nvve_123",fk="_headerTitle_1nvve_127",xk="_headerDescription_1nvve_131",Oe={orderPage:tk,leftSection:nk,content:rk,main:sk,statusBlock:ik,timelineBlock:ak,footer:ok,rightSection:uk,header:lk,productList:ck,mobileFooter:dk,loaderContainer:hk,orderMainData:mk,prices:pk,headerTitle:fk,headerDescription:xk},gk=()=>{var h,f,p;const{id:e,accessToken:t}=s.useParams(),n=s.useNavigate(),[r,i]=k.useState(),[a,o]=k.useState(!1),u=s.useCopy(),c=((h=r==null?void 0:r.rawPrice)==null?void 0:h.currency)||"USD",d=new Intl.NumberFormat("en-US",{style:"currency",currency:c}),m=k.useMemo(()=>(r==null?void 0:r.partOrders.map(x=>{var g,C,b,A;return{id:(x==null?void 0:x.id)||0,image:x.productWithVariant.image,name:((g=x.productWithVariant)==null?void 0:g.name)||"",description:((C=x.productWithVariant)==null?void 0:C.description)||"",price:{quantity:x.quantity,amount:((b=x.productWithVariant)==null?void 0:b.price.amount)||0,currency:(A=x.productWithVariant)==null?void 0:A.price.currency},deliveryCategories:"deliveryCategories"in x?x.deliveryCategories:void 0,customerNote:x.customerNote,chargeType:x.chargeType||"ONE_TIME"}}))||[],[r]);return k.useEffect(()=>{const x=async(C,b=!1)=>{b||o(!0);const{data:A}=await(t?s.fetchAuthorizedOrder(`${C}/${t}`):s.fetchOrder(C));o(!1),A.charge.status===s.ChargeStatus.NotPaid&&n(`/charges/${A.charge.id}`,{replace:!0}),i(A)};e&&x(e);const g=setInterval(()=>{e&&x(e,!0)},5e3);return()=>{clearInterval(g)}},[]),a?s.jsxRuntimeExports.jsx("div",{className:Oe.loaderContainer,children:s.jsxRuntimeExports.jsx(s.Loader,{})}):s.jsxRuntimeExports.jsxs("div",{className:Oe.orderPage,children:[s.jsxRuntimeExports.jsx("div",{className:Oe.leftSection,children:s.jsxRuntimeExports.jsxs("div",{className:Oe.content,children:[s.jsxRuntimeExports.jsx(lr,{}),r&&s.jsxRuntimeExports.jsxs("div",{className:Oe.main,children:[s.jsxRuntimeExports.jsx(s.OrderStatusBlock,{className:Oe.statusBlock,orderStatus:r.status}),s.jsxRuntimeExports.jsxs("div",{className:Oe.orderMainData,children:[s.jsxRuntimeExports.jsx(Tl,{lastUpdate:r.createdAt,paymentType:r.charge.gateway,email:r.charge.customerForCharge.email,invoiceId:r.charge.id}),"accessToken"in r.review&&s.jsxRuntimeExports.jsx(UR,{orderId:r.id,review:r.review})]}),r.charge&&s.jsxRuntimeExports.jsx(s.TrackPayment,{className:Oe.timelineBlock,timeline:r.charge.timeline}),s.jsxRuntimeExports.jsx(vt,{className:Oe.footer})]})]})}),s.jsxRuntimeExports.jsx("div",{className:Oe.rightSection,children:s.jsxRuntimeExports.jsxs("div",{className:Oe.content,children:[(r==null?void 0:r.charge.name)&&s.jsxRuntimeExports.jsxs("header",{className:Oe.header,children:[s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx("h1",{className:Oe.headerTitle,children:r.charge.name}),r.charge.description&&s.jsxRuntimeExports.jsx("p",{className:Oe.headerDescription,children:r.charge.description})]}),s.jsxRuntimeExports.jsxs(s.Button$1,{type:"Secondary",onClick:()=>u((r==null?void 0:r.id)||""),style:{whiteSpace:"nowrap",display:"flex",alignItems:"center",gap:"4px"},children:[s.jsxRuntimeExports.jsx(s.Icon,{name:"Copy"}),s.jsxRuntimeExports.jsx("span",{children:"Copy ID"})]})]}),s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx("div",{className:Oe.productList,children:m.map(x=>s.jsxRuntimeExports.jsx(Pi,{product:x,isOrder:!0},x.id))}),s.jsxRuntimeExports.jsx(cr,{formatter:d,coupon:null,total:((f=r==null?void 0:r.charge)==null?void 0:f.price.amount)||0,discount:0,totalWithDiscount:((p=r==null?void 0:r.charge)==null?void 0:p.price.amount)||0,className:Oe.prices,isShowSubtotal:!1}),s.jsxRuntimeExports.jsx(vt,{className:Oe.mobileFooter})]})]})})]})},Ek=e=>{const{blocks:t,settings:n,header:r,footer:i,announcement:a}=e,[o,u]=k.useState(null),{general:c}=s.useGeneralStore(),{setBlocks:d,setSourceBlocks:m,setHeader:h,setFooter:f,setAnnouncement:p,setSettings:x}=s.useBlocksStore(),{setHeader:g,setFooter:C,setAnnouncement:b}=s.useLayersStore(),{themeSettings:A}=s.useThemeSettingsStore(),{settings:y,setSettings:P}=s.useSettingsStore(),j=window.location.hostname.includes("localhost")?localStorage.getItem("fakeDomain")||"flagship-theme.pages.dev":window.location.hostname,I=localStorage.getItem("shopPassword"),q=localStorage.getItem("shopId")||"";return k.useEffect(()=>{q||localStorage.setItem("shopId",(c==null?void 0:c.info.id)||"")},[c]),k.useEffect(()=>{if(A&&y){const V=hc(A,y);Ec(A),mc(V)}},[A,y,window.location.hostname]),k.useEffect(()=>{const V={};Object.keys(t).map(W=>{V[W]=t[W]}),m(V),d(V),h(r),f(i),p(a),x(n);const Q=new r,w=JSON.parse(JSON.stringify(Q));g(w,!1);const $=new i,M=JSON.parse(JSON.stringify($));C(M,!1);const H=new a,Y=JSON.parse(JSON.stringify(H));b(Y,!1);const z=new n,X=JSON.parse(JSON.stringify(z));P(X);const G=s.createBrowserRouter([{element:s.jsxRuntimeExports.jsx(uf,{shopDomain:j,shopId:q,shopPassword:I||void 0,children:s.jsxRuntimeExports.jsx(s.ReCaptchaProvider,{children:s.jsxRuntimeExports.jsx(nf,{children:s.jsxRuntimeExports.jsx(s.Outlet,{})})})}),errorElement:s.jsxRuntimeExports.jsx(rf,{}),children:[{path:"/admin/builder/*",element:s.jsxRuntimeExports.jsx(Hp,{children:s.jsxRuntimeExports.jsx(Pp,{blocks:t,settings:n,header:r,footer:i,announcement:a})}),errorElement:s.jsxRuntimeExports.jsx(Fp,{})},{path:"/checkout",element:s.jsxRuntimeExports.jsx(g6,{}),errorElement:s.jsxRuntimeExports.jsx(It,{}),loader:()=>(document.title="Checkout",!0)},{path:"/top-up",element:s.jsxRuntimeExports.jsx(ek,{}),errorElement:s.jsxRuntimeExports.jsx(It,{}),loader:()=>(document.title="Top Up Balance",!0)},{path:"/charges/:id",element:s.jsxRuntimeExports.jsx(k6,{}),errorElement:s.jsxRuntimeExports.jsx(It,{}),loader:()=>(document.title="Charges",!0)},{path:"/orders/:id/:accessToken?",element:s.jsxRuntimeExports.jsx(gk,{}),errorElement:s.jsxRuntimeExports.jsx(It,{}),loader:()=>(document.title="Orders",!0)},{path:"/subscriptions/:id/:accessToken?",element:s.jsxRuntimeExports.jsx(G6,{}),errorElement:s.jsxRuntimeExports.jsx(It,{}),loader:()=>(document.title="Subscriptions",!0)},{path:"/customer-dash",element:s.jsxRuntimeExports.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"100vw",height:"100vh",overflowY:"scroll",overflowX:"hidden",background:"var(--surface-primary)",color:"var(--text-primary)"},children:[s.jsxRuntimeExports.jsx(s.RenderAnnouncement,{}),s.jsxRuntimeExports.jsx(s.RenderHeader,{}),s.jsxRuntimeExports.jsx("div",{style:{flex:"1 1 auto"},children:s.jsxRuntimeExports.jsx(s.CustomerDashboard,{})}),s.jsxRuntimeExports.jsx(s.RenderFooter,{})]}),errorElement:s.jsxRuntimeExports.jsx(It,{}),loader:()=>(document.title="Customer Dashboard",!0)},{path:"/validation",element:s.jsxRuntimeExports.jsx(Xp,{}),errorElement:s.jsxRuntimeExports.jsx(It,{}),loader:()=>(document.title="Validation",!0)},{path:"/ticket/:id/:accessToken",element:s.jsxRuntimeExports.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"100vw",height:"100vh",overflowY:"scroll",overflowX:"hidden",background:"var(--surface-primary)",color:"var(--text-primary)"},children:[s.jsxRuntimeExports.jsx(s.RenderHeader,{}),s.jsxRuntimeExports.jsx("div",{style:{flex:1,width:"100%",height:"100%"},children:s.jsxRuntimeExports.jsx(s.ReCaptchaProvider,{children:s.jsxRuntimeExports.jsx(H6,{})})}),s.jsxRuntimeExports.jsx(s.RenderFooter,{})]}),errorElement:s.jsxRuntimeExports.jsx(It,{}),loader:()=>(document.title="Ticket",!0)},{path:"*",element:s.jsxRuntimeExports.jsx(dc,{}),errorElement:s.jsxRuntimeExports.jsx(It,{})}]}]);u(G)},[c]),s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:o&&s.jsxRuntimeExports.jsx(s.RouterProvider,{router:o})})};exports.ReCaptchaProvider=s.ReCaptchaProvider;exports.aspectRatioOptions=s.aspectRatioOptions;exports.formatPrice=s.formatPrice;exports.splitTextIntoSpans=s.splitTextIntoSpans;exports.useAdaptiveStyles=s.useAdaptiveStyles;exports.useReCaptcha=s.useReCaptcha;exports.App=Ek;exports.ColorVariables=co;exports.hotReload=bc;exports.iconNames=Sl;exports.useBuilderPages=Tc;exports.useCreateTicket=_c;
|