diff --git a/assets/css/table.css b/assets/css/table.css index 19b95d896..9617d5d4f 100644 --- a/assets/css/table.css +++ b/assets/css/table.css @@ -1,1997 +1 @@ -:root { - --ac-text-color: #23282d; - --ac-link: #0073aa; - --ac-link-hover: #0096dd; - --ac-button-bg: #f6f7f7; - --ac-button-color: #2271b1; - --ac-button-border: var(--ac-button-color); - --ac-button-hover: #0a4b78; - --ac-primary-color: #2271b1; - --ac-primary-color-hover: #135e96; - --ac-notification-red: #d63638; - --ac-notification-blue: #72aee6; - --ac-notification-yellow: #dba617; - --ac-notification-orange: #d54e21; - --ac-notification-green: #00a32a; - --ac-border-grey: #ddd; - --ac-pink-color: #e9426e; - --ac-form-input-border: #757575; - --ac-select-hover-bg: #5897fb; - --ac-table-border: #c3c4c7; - --ac-table-color: #50575e; -} - -:root body.admin-color-coffee { - --ac-button-color: #32373c; - --ac-button-border: #8c8f94; - --ac-primary-color: #c7a589; - --ac-primary-color-hover: #ccad93; -} - -:root body.admin-color-light { - --ac-button-color: #04a4cc; - --ac-button-border: #04a4cc; - --ac-button-hover: #04b0db; - --ac-primary-color: #04a4cc; - --ac-primary-color-hover: #04b0db; -} - -:root body.admin-color-modern { - --ac-link: #3858e9; - --ac-link-hover: #183ad6; - --ac-button-color: #3858e9; - --ac-button-border: #3858e9; - --ac-primary-color: #3858e9; - --ac-primary-color-hover: #04b0db; -} - -:root body.admin-color-blue { - --ac-button-color: #096484; - --ac-primary-color: #e1a948; - --ac-primary-color-hover: #e3af55; -} - -:root body.admin-color-ectoplasm { - --ac-button-color: #a3b745; - --ac-primary-color: #a3b745; - --ac-primary-color-hover: #a9bd4f; -} - -:root body.admin-color-ocean { - --ac-button-color: #7e8993; - --ac-primary-color: #9ebaa0; - --ac-primary-color-hover: #a7c0a9; -} - -:root body.admin-color-sunrise { - --ac-button-color: #dd823b; - --ac-button-hover: #db7728; - --ac-primary-color: #dd823b; - --ac-primary-color-hover: #df8a48; -} - -@font-face { - font-family: "cpac_icons"; - src: url("../fonts/cpac_icons.woff2?v=569879") format("woff2"), url("../fonts/cpac_icons.woff?v=134916") format("woff"); - font-style: normal; - font-weight: 400; -} -.cpacicon, [class^=cpacicon-], [class*=" cpacicon-"] { - display: inline-block; - transform: translate(0, 0); - text-rendering: auto; - font: normal normal 400 14px/1 cpac_icons; - font-size: inherit; - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; -} - -.cpacicon-bulk-edit::before { - content: "\ea01"; -} - -.cpacicon-delete::before { - content: "\ea02"; -} - -.cpacicon-download::before { - content: "\ea03"; -} - -.cpacicon-draft::before { - content: "\ea04"; -} - -.cpacicon-duplicate::before { - content: "\ea05"; -} - -.cpacicon-filter::before { - content: "\ea06"; -} - -.cpacicon-more::before { - content: "\ea07"; -} - -.cpacicon-move::before { - content: "\ea08"; -} - -.cpacicon-rename::before { - content: "\ea09"; -} - -.cpacicon-reset-password::before { - content: "\ea0a"; -} - -.cpacicon-segment::before { - content: "\ea0b"; -} - -.cpacicon-smart-filter::before { - content: "\ea0c"; -} - -.cpacicon-text-clip::before { - content: "\ea0d"; -} - -.cpacicon-text-wrap::before { - content: "\ea0e"; -} - -.cpacicon-user-switch::before { - content: "\ea0f"; -} - -/** - * Modal - */ -body .ac-modal { - position: fixed; - overflow: auto; - z-index: 100000; - left: 0; - top: 0; - right: 0; - bottom: 0; - background: rgba(0, 0, 0, 0.5); - display: none; -} -body .ac-modal.-active { - display: flex; - align-items: center; - justify-content: center; -} -body .ac-modal__dialog { - border: 1px solid #C8C8C8; - background: #fff; - position: fixed; - width: 650px; - max-width: 90%; -} -body .ac-modal__dialog__header { - font-size: 16px; - line-height: 16px; - color: #555555; - padding: 17px 20px; -} -body .ac-modal__dialog__close { - display: inline-block; - padding: 0; - margin: 0; - border: none; - background: none; - position: absolute; - right: 0; - top: 0; - width: 52px; - height: 52px; - text-align: center; - color: #555555; - cursor: pointer; -} -body .ac-modal__dialog__close:hover { - background-color: #f2f2f2; -} -body .ac-modal__dialog__close span.dashicons { - font-size: 22px; -} -body .ac-modal__dialog__close span.dashicons:hover { - color: var(--ac-primary-color-hover); -} -body .ac-modal__dialog__content { - padding: 20px; - max-height: calc(100vh - 200px); - overflow: auto; -} -body .ac-modal__dialog__content__lead { - font-weight: bold; - font-size: 15px; - margin-top: 5px; - margin-bottom: 25px; - color: #6D6D6D; -} -body .ac-modal__dialog__content.-p0 { - padding: 0; -} -body .ac-modal__dialog__content.-accent { - border-top: 1px solid #DBDBDB; - background: #F9F9F9; -} -body .ac-modal__dialog__content.-hide { - display: none; -} -body .ac-modal__dialog__list li { - position: relative; - padding-left: 25px; - font-weight: 400; - font-size: 16px; - letter-spacing: 0.5px; - margin-bottom: 10px; -} -body .ac-modal__dialog__list li:before { - content: "\f147"; - font-family: Dashicons; - position: absolute; - left: 0; - top: 0; - color: #3D4350; -} -body .ac-modal__dialog__list li:nth-child(2n) { - color: #e9426e; -} -body .ac-modal__dialog__footer { - padding: 12px 20px; - border-top: 1px solid #DBDBDB; - background: #F9F9F9; - font-size: 13px; -} -body .ac-modal__dialog__footer .button { - margin-left: 0; - padding-left: 15px; - padding-right: 15px; -} -body .ac-modal.-blocking { - background: #E3E7EB; -} -@media only screen and (max-width: 720px) { - body .ac-modal__dialog__footer__content { - display: block; - } - body .ac-modal__dialog__footer .button { - margin-left: 0; - margin-top: 10px; - } -} -body .ac-modal .ac-modal-footer-actions { - display: flex; -} -body .ac-modal .ac-modal-footer-actions__info { - flex-grow: 1; - display: flex; - align-items: center; -} - -@keyframes ac-striped-animation { - from { - transform: translateX(0); - } - to { - transform: translateX(46px); - } -} -.ac-striped-loading { - overflow: hidden; - position: relative; -} -.ac-striped-loading:before { - animation: ac-striped-animation 2s linear infinite; - content: ""; - display: block; - position: absolute; - left: -46px; - top: 0; - bottom: 0; - right: 0; - background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.1) 1px, transparent 2px, transparent 11px, rgba(255, 255, 255, 0.1) 12px, rgba(255, 255, 255, 0.1) 20px); -} - -.ac-confirmation { - position: fixed; - left: 0; - top: 0; - width: 100%; - height: 100%; - z-index: 100000000; - cursor: not-allowed; -} -.ac-confirmation__modal { - cursor: pointer; - padding: 20px; - min-width: 300px; - max-width: 400px; - margin: 20px; - height: auto; - transform: translateX(-50%); - background: #fff; - border-radius: 3px; - box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); - border: 1px solid #d8d8d8; - position: absolute; - top: 30%; - left: 50%; -} -.ac-confirmation__modal__content { - margin-bottom: 20px; -} -.ac-confirmation__modal__footer { - display: block; - text-align: right; -} -.ac-confirmation__modal__footer button { - margin-left: 6px !important; - min-width: 80px; -} - -.ac-tooltip-wrapper { - position: relative; -} -.ac-tooltip-wrapper:focus .ac-tooltip, .ac-tooltip-wrapper:hover .ac-tooltip { - opacity: 1; -} - -.ac-tooltip { - background: #000; - border-radius: 3px; - padding: 5px 10px; - color: #fff; - position: absolute; - transform: translateX(-50%); - min-width: 30px; - margin-top: 5px; - display: block; - opacity: 0; - transition: opacity 0.3s; - pointer-events: none; - font-size: 11px; - line-height: 16px; - z-index: 100000; - max-width: 200px; -} -.ac-tooltip:before { - content: ""; - display: block; - width: 0; - height: 0; - border-bottom: 4px solid rgba(0, 0, 0, 0.8); - border-left: 6px solid transparent; - border-right: 6px solid transparent; - position: absolute; - left: 50%; - top: -4px; - transform: translateX(-4px); -} -.ac-tooltip.hover { - opacity: 1; -} - -html.wp-toolbar .ac-tooltip { - margin-top: 36px; -} - -.ac-toggle-container { - display: inline-flex; -} -.ac-toggle-container .ac-toggle-label { - margin-left: 7px; - transform: translateY(-1px); -} - -.ac-toggle { - display: inline-block; - white-space: nowrap; -} -.ac-toggle input { - position: absolute; - left: -3000em; -} -.rtl .ac-toggle input { - left: inherit; - right: -3000em; -} -.ac-toggle__switch { - display: inline-block; - background: #ccc; - border-radius: 8px; - width: 30px; - height: 16px; - position: relative; - transition: background-color 0.3s; -} -.ac-toggle__switch__on, .ac-toggle__switch__off { - font-size: 11px; - font-weight: bold; - color: #fff; - position: absolute; - top: 5px; - line-height: 11px; -} -.ac-toggle__switch__off { - right: 6px; - color: #555; -} -.ac-toggle__switch__on { - left: 8px; -} -.ac-toggle__switch__track { - border-radius: 50%; - display: inline-block; - background: #fff; - position: absolute; - left: 3px; - top: 3px; - height: 10px; - width: 10px; - transition: all 0.1s; -} -.ac-toggle input:checked + .ac-toggle__switch { - background: var(--ac-primary-color); -} -.ac-toggle input:checked + .ac-toggle__switch .ac-toggle__switch__track { - left: calc(100% - 13px); -} - -.ac-toggle-v2 { - position: relative; -} -.ac-toggle-v2.-disabled { - cursor: not-allowed; -} -.ac-toggle-v2.-disabled * { - cursor: not-allowed; -} -.ac-toggle-v2__toggle { - position: relative; - display: inline-block; - margin-right: 5px; -} -.ac-toggle-v2__toggle input[type=checkbox] { - position: absolute; - left: 0; - top: 0; - opacity: 0; - width: 100%; - height: 100%; - cursor: pointer; - z-index: 2; - border: none; - margin: 0 !important; -} -.ac-toggle-v2__toggle input[type=checkbox]:focus:not(:disabled) ~ .ac-toggle-v2__toggle__track, .ac-toggle-v2__toggle input[type=checkbox]:active:not(:disabled) ~ .ac-toggle-v2__toggle__track { - box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ac-primary-color); -} -.ac-toggle-v2__toggle input[type=checkbox]:checked ~ .ac-toggle-v2__toggle__thumb { - transform: translateX(14px); -} -.ac-toggle-v2__toggle input[type=checkbox]:checked ~ .ac-toggle-v2__toggle__track { - background: var(--ac-primary-color); -} -.ac-toggle-v2__toggle input[type=checkbox]:disabled { - cursor: not-allowed; -} -.ac-toggle-v2__toggle input[type=checkbox]:disabled ~ .ac-toggle-v2__toggle__track { - background: #ddd !important; - cursor: not-allowed; -} -.ac-toggle-v2__toggle input[type=checkbox]:disabled ~ .ac-toggle-v2__toggle__thumb { - cursor: not-allowed; -} -.ac-toggle-v2__toggle__track { - content: ""; - display: inline-block; - box-sizing: border-box; - vertical-align: top; - background-color: #D8D8D8; - width: 36px; - height: 22px; - border-radius: 11px; - transition: background 0.2s ease; -} -.ac-toggle-v2__toggle__thumb { - display: block; - position: absolute; - box-sizing: border-box; - top: 3px; - left: 3px; - width: 16px; - height: 16px; - border-radius: 50%; - transition: transform 0.1s ease; - background-color: #fff; - border: 5px solid #fff; -} -.ac-toggle-v2.-small { - margin-bottom: 10px; -} -.ac-toggle-v2.-small .ac-toggle-v2__toggle { - transform: translateY(2px); -} -.ac-toggle-v2.-small .ac-toggle-v2__toggle__track { - width: 30px; - height: 18px; -} -.ac-toggle-v2.-small .ac-toggle-v2__toggle__thumb { - top: 2px; - left: 2px; - width: 14px; - height: 14px; -} -.ac-toggle-v2.-small .ac-toggle-v2__toggle input[type=checkbox]:checked ~ .ac-toggle-v2__toggle__thumb { - transform: translateX(12px); -} - -.ac-pointer-modal-container { - position: absolute; - z-index: 100000; - width: 500px; -} - -.ac-pointer-modal { - background: #fff; - border: 1px solid var(--ac-border-grey); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} -.ac-pointer-modal__content { - padding-bottom: 20px; -} -.ac-pointer-modal__content img { - max-width: calc(100% - 30px); - margin: 0 15px; - margin-bottom: 5px; - height: auto; -} -.ac-pointer-modal__content h3 { - background: var(--ac-primary-color); - color: #fff; - padding: 10px 15px; - font-weight: 400; - font-size: 14px; - margin: 0; - margin-bottom: 10px; -} -.ac-pointer-modal__content h4 { - padding: 0 15px; - margin-bottom: 10px; -} -.ac-pointer-modal__content p { - padding: 0 15px; - margin-bottom: 10px; -} -.ac-pointer-modal__arrow { - display: block; - width: 10px; - height: 10px; - border-left: 1px solid var(--ac-border-grey); - border-bottom: 1px solid var(--ac-border-grey); - position: absolute; - background: #fff; - top: 50%; - transform: translateY(-5px) rotate(45deg); - left: -5px; -} -.ac-pointer-modal__arrow[data-pos=left] { - left: inherit; - right: -5px; - transform: translateY(-5px) rotate(-135deg); -} -.ac-pointer-modal__arrow[data-pos=right_bottom] { - display: none; -} - -.ac-value-modal .ac-value-modal-background { - position: fixed; - left: 0; - top: 0; - right: 0; - bottom: 0; - z-index: 10000000000; - background: rgba(0, 0, 0, 0.6); -} -.ac-value-modal .ac-value-modal-container { - display: flex; - position: fixed; - top: 0; - left: 0; - bottom: 0; - right: 0; - align-items: center; - justify-content: center; - z-index: 10000000001; -} -.ac-value-modal table td { - vertical-align: top; -} -.ac-value-modal.-w-large .ac-value-modal-panel { - width: 800px; -} -.ac-value-modal .ac-value-modal-panel { - background: #fff; - width: 600px; -} -.ac-value-modal .ac-value-modal-panel__header { - background: #fafafa; - border-bottom: 1px solid #ccc; - text-align: right; - display: flex; -} -.ac-value-modal .ac-value-modal-panel__header .ac-value-modal-title { - text-align: left; - display: flex; - align-items: center; - flex: 1; - overflow: hidden; -} -.ac-value-modal .ac-value-modal-panel__header .ac-value-modal-title h2 { - margin: 0; - font-size: 15px; - padding: 10px 20px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} -.ac-value-modal .ac-value-modal-panel__header .ac-value-modal-actions { - width: 70px; - display: flex; - align-items: center; - justify-content: flex-end; -} -.ac-value-modal .ac-value-modal-panel__header .ac-value-modal-actions button { - border: none; - background-color: transparent; - cursor: pointer; - border-left: 1px solid #ccc; - display: block; - width: 50px; - height: 50px; -} -.ac-value-modal .ac-value-modal-panel__header .ac-value-modal-actions button:hover { - background: #efefef; -} -.ac-value-modal .ac-value-modal-panel__body { - padding: 20px; - max-height: calc(100vh - 150px); - overflow: auto; -} -.ac-value-modal .ac-value-modal-panel__body video { - display: block; -} -.ac-value-modal .ac-value-modal-panel__body img { - width: 100%; - height: auto; -} -.ac-value-modal .ac-value-modal-panel__body span.loading { - display: block; - margin: 20px; - text-align: center; -} -.ac-value-modal .ac-value-modal-panel__footer { - display: flex; - border-top: 1px solid #ccc; - background: #fafafa; -} -.ac-value-modal .ac-value-modal-panel__footer .ac-value-modal__edit a { - margin-top: 5px; - margin-bottom: 5px; -} -.ac-value-modal .ac-value-modal-panel__footer button { - width: 40px; - height: 40px; - border: none; - border-left: 1px solid #ccc; - justify-content: center; - cursor: pointer; - background: none; - align-items: center; -} -.ac-value-modal .ac-value-modal-panel__footer button .dashicons { - transform: translateY(2px); - font-size: 16px; -} -.ac-value-modal .ac-value-modal-panel__footer button:hover { - background: #efefef; -} -.ac-value-modal__edit { - flex-grow: 1; - padding-left: 10px; - display: flex; - align-items: center; -} -.ac-value-modal__edit a.button { - margin-right: 5px; -} -.ac-value-modal__navigation { - flex-grow: 0; - width: 100px; - display: flex; - justify-content: flex-end; -} -.ac-value-modal .ac-badge { - background: #eee; - border-radius: 3px; - color: #464646; - font-size: 13px; - padding: 2px 10px; -} -.ac-value-modal.-nopadding .ac-value-modal-panel__body { - padding: 0; -} -.ac-value-modal.-nopadding .ac-value-modal-panel__body .loading { - padding: 20px; -} - -.ac-value-modal.-preview .ac-value-modal-panel { - width: auto; - max-width: 80vw; - min-width: 400px; - top: 0; - left: 0; - transform: none; -} -.ac-value-modal.-preview .ac-value-modal-panel .ac-value-modal-panel__header h2 { - text-overflow: ellipsis; - max-width: 500px; - overflow: hidden; - white-space: nowrap; -} -.ac-value-modal.-preview .ac-value-modal-panel .ac-value-modal-panel__body img { - width: auto; - min-width: 300px; - max-width: 100%; - max-height: calc(100vh - 150px); - display: block; - margin: auto; -} - -[data-component=ac-json] { - overflow-x: scroll; - width: 100%; - font-size: 12px !important; -} -[data-component=ac-json] ul { - font-size: 13px !important; -} -[data-component=ac-json] > div > div > ul { - margin-left: 0; -} -[data-component=ac-json] > div > div > ul > ul > li.indent { - margin-left: 0; - padding-left: 0; -} -[data-component=ac-json]::-webkit-scrollbar { - display: none; -} -[data-component=ac-json] .arrow { - width: auto; - height: auto; - left: inherit; - bottom: inherit; -} -[data-component=ac-json] .root { - max-width: 100px; - white-space: nowrap; - margin-bottom: 5px; -} -[data-component=ac-json] .root > .container { - padding-left: 10px; -} -[data-component=ac-json] .root > .container .arrow { - margin-left: -6px; -} -[data-component=ac-json] ul .root { - display: none; -} -[data-component=ac-json] ul li.indent { - white-space: nowrap; - margin-bottom: 0; -} -[data-component=ac-json] ul li.indent ul { - margin-top: 4px; - margin-bottom: 4px; -} -[data-component=ac-json] ul li span.container { - display: none; -} -[data-component=ac-json] ul li span.container + span.property { - color: var(--ac-primary-color); - cursor: pointer !important; - font-style: italic; -} -[data-component=ac-json] ul li span.container + span.property:hover { - color: var(--ac-primary-color-hover); -} -[data-component=ac-json] ul li span.container ~ span.operator { - display: none; -} - -[data-modal-value] { - cursor: pointer; -} - -/* =Status icons --------------------------------------------------------------- */ -.column-status .dashicons { - font-size: 22px; -} -.column-status .dashicons.large { - width: 25px; - height: 28px; - font-size: 28px; -} -.column-status .dashicons.dashicons-lock { - font-size: 15px; - margin-left: -2px; -} - -/* =Available Sizes column --------------------------------------------------------------- */ -.ac-image-sizes .ac-missing-size { - color: #929292; -} - -table .column-audio_player { - min-width: 310px !important; -} - -/* =Comments bubble --------------------------------------------------------------- */ -.ac-comment-bubble .post-com-count { - display: inline-block; - vertical-align: top; -} -.ac-comment-bubble .post-com-count-no-comments, -.ac-comment-bubble .post-com-count-approved { - margin-top: 5px; -} -.ac-comment-bubble .comment-count-no-comments, -.ac-comment-bubble .comment-count-approved { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - display: block; - padding: 0 8px; - min-width: 24px; - height: 2em; - -webkit-border-radius: 5px; - border-radius: 5px; - background-color: #72777c; - color: #fff; - font-size: 11px; - line-height: 21px; - text-align: center; -} -.ac-comment-bubble .post-com-count-no-comments:after, -.ac-comment-bubble .post-com-count-approved:after { - content: ""; - display: block; - margin-left: 8px; - width: 0; - height: 0; - border-top: 5px solid #72777c; - border-right: 5px solid transparent; -} -.ac-comment-bubble .post-com-count-approved:hover .comment-count-approved, -.ac-comment-bubble .post-com-count-approved:focus .comment-count-approved { - background: #0073aa; -} -.ac-comment-bubble .post-com-count-approved:hover:after, -.ac-comment-bubble .post-com-count-approved:focus:after { - border-top-color: #0073aa; -} -.ac-comment-bubble .post-com-count-pending { - position: relative; - left: -3px; - padding: 0 5px; - min-width: 7px; - height: 17px; - border: 2px solid #fff; - -webkit-border-radius: 11px; - border-radius: 11px; - background: #ca4a1f; - color: #fff; - font-size: 9px; - line-height: 17px; - text-align: center; -} -.ac-comment-bubble .post-com-count-no-pending { - display: none; -} - -/* =General --------------------------------------------------------------- */ -.ac-divider { - display: inline-block; - width: 14px; - height: 12px; - position: relative; -} -.ac-divider:before { - content: ""; - display: block; - width: 2px; - height: 2px; - background: #000; - position: absolute; - left: 50%; - margin-left: -1px; - top: 60%; -} - -span.status-closed { - color: red; -} - -.ac-value-stars { - white-space: nowrap; - word-wrap: normal; - display: block; -} -.ac-value-stars .ac-value-star { - font-size: 16px; - width: auto; - margin-right: -3px; -} - -.actions #post-query-submit { - float: left; - vertical-align: middle; -} - -body:not(.post-type-attachment) .actions #post-query-submit { - margin-bottom: 4px; -} - -.tablenav.top .ac-button { - top: 2px; - display: inline-block; - vertical-align: middle; - float: left; - margin-bottom: 4px; -} -body.edit-tags-php .tablenav.top .ac-button { - float: none; -} - -span.dashicons.flip:before { - transform: scale(-1, 1); - display: inline-block; -} -span.dashicons.yellow { - color: #ffb900; -} -span.dashicons.orange { - color: #d54e21; -} -span.dashicons.red { - color: #dc3232; -} -span.dashicons.green { - color: #46b450; -} -span.dashicons.light-gray { - color: #bbb; -} -span.dashicons.gray { - color: var(--ac-table-color); -} -span.dashicons.blue { - color: #0073aa; -} -span.dashicons.light-blue { - color: #00a0d2; -} - -body.edit-php #delete_all { - float: left; - margin-right: 3px; -} - -body.users-php .tablenav .actions a.add-new-h2 { - float: none; - vertical-align: middle !important; - top: 2px !important; -} - -@media screen and (max-width: 782px) { - .tablenav.top .actions { - display: block !important; - margin-bottom: 4px; - } - .tablenav.top .actions * { - display: none; - } - .tablenav.top .actions .ac-button { - display: inline-block; - } -} -body.upload-php .tablenav.top .ac-button { - float: none; -} - -/* =Column values --------------------------------------------------------------- */ -.ac-toggle-box-link:focus { - outline: none; - box-shadow: none; -} -.ac-toggle-box-link .spinner { - float: none; - margin-top: -2px; -} -.ac-toggle-box-link .spinner { - display: none; -} -.ac-toggle-box-link.loading .spinner { - display: inline-block; - visibility: visible; -} - -.ac-toggle-box-contents-ajax { - padding: 5px 0 0; -} - -.ac-toggle-box-contents { - display: none; - padding: 5px 0 0; -} -.ac-toggle-box-contents.-open { - display: block; -} - -table.ac-table-items { - border-spacing: 0; -} -table.ac-table-items tr td { - border: 0; - margin: 0; - padding: 0 0 3px; -} -table.ac-table-items tr td.ac-table-item-qty { - color: #999; - padding-right: 6px; - text-align: left; -} - -a.ac-badge-post-count { - display: inline-block; - background: #eee; - border-radius: 3px; - font-size: 13px; - padding: 6px 14px; - text-decoration: none; - margin-right: 6px; - margin-bottom: 6px; -} -a.ac-badge-post-count span.-label { - color: #464646; -} -a.ac-badge-post-count:hover { - background: #dcdcdc; -} - -table.ac-table-items.-user-posts { - width: 100%; -} -table.ac-table-items.-user-posts tr td, table.ac-table-items.-user-posts tr th { - padding: 12px 20px 14px; -} -table.ac-table-items.-user-posts thead tr > * { - padding-bottom: 5px; - border-bottom: 1px solid #eee; -} -table.ac-table-items.-user-posts tbody tr td, table.ac-table-items.-user-posts tbody tr th { - border-bottom: 1px solid #eee; -} -table.ac-table-items.-user-posts tbody tr:last-child td, table.ac-table-items.-user-posts tbody tr:last-child th { - border-bottom: none; -} -table.ac-table-items.-user-posts .col-id { - text-align: left; - font-size: 14px; - padding-left: 0; - padding-right: 0; - width: 40px; - white-space: nowrap; -} -table.ac-table-items.-user-posts .col-date { - white-space: nowrap; - width: 1px; -} -table.ac-table-items.-user-posts .col-post-type { - white-space: nowrap; - width: 1px; -} -table.ac-table-items.-user-posts .col-post-type { - text-align: right; - padding-right: 0; -} - -/* =Post Format column --------------------------------------------------------------- */ -.ac-post-state-format:before { - color: var(--ac-table-color); -} - -/* =Image in Content column --------------------------------------------------------------- */ -.ac-image-details .ac-image-info { - display: inline-block; - border-radius: 7px; - padding: 0 9px; - min-height: 20px; - background-color: #e9e9e9; - text-align: left; - font-size: 11px; - font-weight: bold; - margin: 0 6px 5px 0; - white-space: nowrap; -} -.ac-image-details .ac-image-info > span { - margin-right: 6px; -} -.ac-image-details .ac-image-info > span:last-child { - margin-right: 0; -} -.ac-image-details .ac-image-info span { - vertical-align: middle; - line-height: 20px; -} -.ac-image-details .ac-image-info span.image-id { - font-size: 11px; - color: #757575; -} -.ac-image-details .ac-image-info span.image-file-size { - font-size: 12px; -} -.ac-image-details .ac-image-info span.image-extension { - text-transform: uppercase; - font-size: 11px; - color: #757575; -} -.ac-image-details .ac-image-info span.suffix { - display: inline-block; - text-transform: uppercase; - font-size: 10px; - color: #757575; - padding-left: 3px; - margin-top: -2px; -} -.ac-image-details .ac-image-info span.dashicons { - margin-top: -2px; - color: #757575; - font-size: 14px; - width: 16px; -} -.ac-image-details a.ac-image-info:hover { - color: var(--ac-link); -} -.ac-image-details a.ac-image-info:hover span.dashicons { - color: #3d4350; -} - -/* =Storage Space column --------------------------------------------------------------- */ -.ac-upload-space .ac-upload-space-labels { - display: table; - width: 100%; -} -.ac-upload-space .ac-upload-space-labels .inner { - display: table-row; -} -.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-icon { - display: table-cell; -} -.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-icon:before { - color: #82878c; - content: "\f104"; - display: inline-block; - font-family: "dashicons", serif; - width: 20px; - height: 20px; - font-size: 18px; - line-height: 1; - text-decoration: inherit; - font-weight: normal; - font-style: normal; - vertical-align: top; - text-align: center; - margin-right: 4px; -} -.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-left { - display: table-cell; - white-space: nowrap; -} -.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-right { - width: 100%; - text-align: right; - padding-left: 6px; - display: table-cell; - white-space: nowrap; -} -.ac-upload-space .ac-upload-space-progress { - margin-top: 6px; - height: 3px; - background: white; - border: 1px solid #dfdfdf; - position: relative; -} -.ac-upload-space .ac-upload-space-progress .ac-upload-space-progress-bar { - background-color: var(--ac-notification-green); - height: 100%; - display: block; -} -.ac-upload-space.warning .ac-upload-space-icon:before { - color: var(--ac-notification-yellow); - content: "\f534"; - margin-top: 1px; -} -.ac-upload-space.warning .ac-upload-space-progress-bar { - background-color: var(--ac-notification-yellow); -} -.ac-upload-space.full .ac-upload-space-icon:before { - color: var(--ac-notification-orange); - content: "\f153"; - margin-top: 1px; -} -.ac-upload-space.full .ac-upload-space-progress-bar { - background-color: var(--ac-notification-red); -} - -/* =Network screen --------------------------------------------------------------- */ -#form-site-list .tablenav .actions .ac-button { - float: none; -} - -/* =General Column --------------------------------------------------------------- */ -.ac-inline-info { - display: inline-block; - border-radius: 3px; - min-width: 8px; - padding: 0 6px; - min-height: 20px; - background-color: #e9e9e9; - text-align: center; - margin-right: 7px; - font-size: 11px; - font-weight: bold; -} - -.ac-rounded { - display: inline-block; - border-radius: 10px; - min-width: 8px; - padding: 0 6px; - height: 20px; - background-color: #e0e0e0; - text-align: center; - margin-left: 7px; - margin-right: 7px; - font-size: 12px; -} -.ac-rounded.ac-rounded-first { - margin-left: 0; -} - -.ac-spacing { - display: inline-block; - margin-right: 10px; - margin-bottom: 4px; -} - -.cpac-suffix { - margin-left: 8px; - color: #808080; -} - -.ac-small-block { - display: inline-block; - border-radius: 3px; - background-color: rgba(224, 224, 224, 0.6); - padding: 2px 7px; - margin: 0 5px 5px 0; -} - -.ac-more-link-show { - cursor: pointer; -} - -.ac-show-more__content { - margin-right: 4px; -} -.ac-show-more__toggle { - cursor: pointer; - white-space: nowrap; -} -.ac-show-more__part.-more { - display: none; -} -.ac-show-more.-on .ac-show-more__part.-more { - display: inline; -} -.ac-show-more__divider { - color: #ddd; - padding-right: 4px; -} - -/* =Images Column --------------------------------------------------------------- */ -.ac-image-container { - margin-bottom: -6px; -} - -.ac-image:not(body) { - display: inline-block; - margin-right: 2px; - margin-bottom: 6px; - overflow: hidden; - max-width: 100%; - background-color: #ccc; - vertical-align: middle; -} -.ac-image:not(body) img { - display: block; - margin: 0 auto; -} -.ac-image:not(body) .ac-extension { - font-size: 12px; - line-height: 22px; - display: block; - text-align: center; - text-transform: uppercase; - font-weight: bold; -} -.ac-image:not(body).ac-icon { - background-color: transparent; -} -.ac-image:not(body).-cover img { - object-fit: cover; -} - -.rtl .column-column-attachment img { - padding-left: 5px; - padding-right: 0; -} - -.ac-progress-bar { - width: 100%; - display: flex; -} -.ac-progress-bar .ac-label-main { - width: 65px; -} -.ac-progress-bar .ac-bar-container { - flex: auto; - background-color: #fff; - min-height: 22px; - line-height: 22px; - position: relative; - border: 1px solid #ccc; - border-radius: 2px; -} -.ac-progress-bar .ac-bar-container .ac-bar { - height: 100%; - background-color: #69c471; - border-right: 1px solid #fff; -} -.ac-progress-bar .ac-bar-container .ac-label-left, -.ac-progress-bar .ac-bar-container .ac-label-right { - text-shadow: rgba(255, 255, 255, 0.65) 0 0 5px; - color: #555; - position: absolute; -} -.ac-progress-bar .ac-bar-container .ac-label-left { - left: 5px; -} -.ac-progress-bar .ac-bar-container .ac-label-right { - right: 5px; -} -.ac-progress-bar.full .ac-bar-container .ac-bar { - background-color: rgba(255, 0, 0, 0.45); - border: none; -} -.ac-progress-bar.dark .ac-bar-container { - flex: auto; - background-color: #a6a6a6; - min-height: 22px; - line-height: 22px; - position: relative; -} -.ac-progress-bar.dark .ac-bar-container .ac-bar { - height: 100%; - background-color: #46b450; - border-right: 1px solid #fff; -} -.ac-progress-bar.dark .ac-bar-container .ac-label-left { - color: #fff; - position: absolute; - left: 5px; -} -.ac-progress-bar.dark .ac-bar-container .ac-label-right { - color: #fff; - position: absolute; - right: 5px; -} -.ac-progress-bar.dark.full .ac-bar-container .ac-bar { - background-color: rgba(255, 0, 0, 0.68); - border: none; -} - -/* =Color Column --------------------------------------------------------------- */ -div.cpac-color { - line-height: 26px; -} - -div.cpac-color span { - display: block; - -webkit-border-radius: 3px; - border-radius: 3px; - color: #ffffff; - float: left; - height: 16px; - line-height: 16px; - margin-right: 12px; - overflow: hidden; - padding: 4px 5px; - font-size: 10px; - font-family: Monaco, Menlo, Consolas, "Courier New", monospace; - min-width: 47px; - text-align: center; -} - -.rtl div.cpac-color span { - float: right; - margin-left: 12px; - margin-right: 0; -} - -/* =Actions column --------------------------------------------------------------- */ -.button.cpac-button-action { - position: relative; - text-indent: 9999px; - margin-right: 4px; - padding: 0 13px; - overflow: hidden; -} -.button.cpac-button-action:before { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - text-indent: 0; -} - -.cpac_wp_button, .column-actions .cpac_use_icons + .hidden + .row-actions > span a, .column-actions .cpac_use_icons + .hidden + .row-actions > span button, -.column-actions .cpac_use_icons + .row-actions > span a, -.column-actions .cpac_use_icons + .row-actions > span button { - color: #555; - background: #f7f7f7; - box-shadow: 0 1px 0 #ccc; - vertical-align: top; - display: inline-block; - text-decoration: none; - font-size: 13px; - line-height: 26px; - height: 28px; - margin: 0; - padding: 0 10px 1px; - cursor: pointer; - border: 1px solid #ccc; - border-radius: 3px; - white-space: nowrap; - box-sizing: border-box; -} -.cpac_wp_button:hover, .column-actions .cpac_use_icons + .hidden + .row-actions > span a:hover, .column-actions .cpac_use_icons + .hidden + .row-actions > span button:hover, -.column-actions .cpac_use_icons + .row-actions > span a:hover, -.column-actions .cpac_use_icons + .row-actions > span button:hover { - background: #fafafa; - color: #23282d; - border-color: #999; -} - -.column-actions .row-actions { - left: 0; - position: relative; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span, -.column-actions .cpac_use_icons + .row-actions > span { - color: transparent; - font-size: 0; - margin-right: 5px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span a, .column-actions .cpac_use_icons + .hidden + .row-actions > span button, -.column-actions .cpac_use_icons + .row-actions > span a, -.column-actions .cpac_use_icons + .row-actions > span button { - display: inline-flex; - align-items: center; - justify-content: center; - position: relative; - min-width: 26px; - margin-bottom: 5px; - padding-left: 6px; - padding-right: 6px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span button:before, -.column-actions .cpac_use_icons + .row-actions > span a:before, -.column-actions .cpac_use_icons + .row-actions > span button:before { - text-indent: 0; - font-family: Dashicons, sans-serif; - font-size: 16px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.edit a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.edit button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.inline a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.inline button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.trash a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.trash button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.view a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.view button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.quickedit a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.quickedit button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.approve a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.approve button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.unapprove a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.unapprove button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.spam a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.spam button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.untrash a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.untrash button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.unspam a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.unspam button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.reply a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.reply button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.delete a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.delete button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.backend a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.backend button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.visit a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.visit button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.deactivate a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.deactivate button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.archive a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.archive button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.unarchive a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.unarchive button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.activate a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.activate button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.download a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.download button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.duplicate a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.duplicate button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.edit a, -.column-actions .cpac_use_icons + .row-actions > span.edit button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.inline a, -.column-actions .cpac_use_icons + .row-actions > span.inline button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.trash a, -.column-actions .cpac_use_icons + .row-actions > span.trash button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.view a, -.column-actions .cpac_use_icons + .row-actions > span.view button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.quickedit a, -.column-actions .cpac_use_icons + .row-actions > span.quickedit button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.approve a, -.column-actions .cpac_use_icons + .row-actions > span.approve button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.unapprove a, -.column-actions .cpac_use_icons + .row-actions > span.unapprove button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.spam a, -.column-actions .cpac_use_icons + .row-actions > span.spam button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.untrash a, -.column-actions .cpac_use_icons + .row-actions > span.untrash button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.unspam a, -.column-actions .cpac_use_icons + .row-actions > span.unspam button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.reply a, -.column-actions .cpac_use_icons + .row-actions > span.reply button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.delete a, -.column-actions .cpac_use_icons + .row-actions > span.delete button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.backend a, -.column-actions .cpac_use_icons + .row-actions > span.backend button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.visit a, -.column-actions .cpac_use_icons + .row-actions > span.visit button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.deactivate a, -.column-actions .cpac_use_icons + .row-actions > span.deactivate button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.archive a, -.column-actions .cpac_use_icons + .row-actions > span.archive button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.unarchive a, -.column-actions .cpac_use_icons + .row-actions > span.unarchive button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.activate a, -.column-actions .cpac_use_icons + .row-actions > span.activate button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.download a, -.column-actions .cpac_use_icons + .row-actions > span.download button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.duplicate a, -.column-actions .cpac_use_icons + .row-actions > span.duplicate button.button-link { - text-indent: -3000em; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.edit a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.edit button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.inline a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.inline button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.trash a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.trash button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.view a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.view button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.quickedit a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.quickedit button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.approve a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.approve button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.unapprove a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.unapprove button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.spam a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.spam button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.untrash a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.untrash button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.unspam a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.unspam button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.reply a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.reply button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.delete a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.delete button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.backend a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.backend button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.visit a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.visit button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.deactivate a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.deactivate button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.archive a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.archive button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.unarchive a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.unarchive button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.activate a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.activate button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.download a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.download button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.duplicate a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.duplicate button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.edit a:before, -.column-actions .cpac_use_icons + .row-actions > span.edit button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.inline a:before, -.column-actions .cpac_use_icons + .row-actions > span.inline button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.trash a:before, -.column-actions .cpac_use_icons + .row-actions > span.trash button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.view a:before, -.column-actions .cpac_use_icons + .row-actions > span.view button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.quickedit a:before, -.column-actions .cpac_use_icons + .row-actions > span.quickedit button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.approve a:before, -.column-actions .cpac_use_icons + .row-actions > span.approve button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.unapprove a:before, -.column-actions .cpac_use_icons + .row-actions > span.unapprove button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.spam a:before, -.column-actions .cpac_use_icons + .row-actions > span.spam button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.untrash a:before, -.column-actions .cpac_use_icons + .row-actions > span.untrash button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.unspam a:before, -.column-actions .cpac_use_icons + .row-actions > span.unspam button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.reply a:before, -.column-actions .cpac_use_icons + .row-actions > span.reply button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.delete a:before, -.column-actions .cpac_use_icons + .row-actions > span.delete button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.backend a:before, -.column-actions .cpac_use_icons + .row-actions > span.backend button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.visit a:before, -.column-actions .cpac_use_icons + .row-actions > span.visit button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.deactivate a:before, -.column-actions .cpac_use_icons + .row-actions > span.deactivate button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.archive a:before, -.column-actions .cpac_use_icons + .row-actions > span.archive button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.unarchive a:before, -.column-actions .cpac_use_icons + .row-actions > span.unarchive button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.activate a:before, -.column-actions .cpac_use_icons + .row-actions > span.activate button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.download a:before, -.column-actions .cpac_use_icons + .row-actions > span.download button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.duplicate a:before, -.column-actions .cpac_use_icons + .row-actions > span.duplicate button.button-link:before { - text-indent: 0; - font-family: Dashicons, sans-serif; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.inline a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.inline.quickedit a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.inline button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.inline a:before, -.column-actions .cpac_use_icons + .row-actions > span.inline.quickedit a:before, -.column-actions .cpac_use_icons + .row-actions > span.inline button.button-link:before { - content: "\f119"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.trash a, -.column-actions .cpac_use_icons + .row-actions > span.trash a { - border-radius: 3px; - border: 1px solid #ccc; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.trash a:before, -.column-actions .cpac_use_icons + .row-actions > span.trash a:before { - content: "\f182"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.trash a:hover, -.column-actions .cpac_use_icons + .row-actions > span.trash a:hover { - border-color: #999; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.edit a, -.column-actions .cpac_use_icons + .row-actions > span.edit a { - padding-left: 4px; - padding-right: 5px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.edit a:before, -.column-actions .cpac_use_icons + .row-actions > span.edit a:before { - content: "\f464"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.duplicate a, -.column-actions .cpac_use_icons + .row-actions > span.duplicate a { - padding-left: 4px; - padding-right: 5px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.duplicate a:before, -.column-actions .cpac_use_icons + .row-actions > span.duplicate a:before { - content: "\f105"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.view a, -.column-actions .cpac_use_icons + .row-actions > span.view a { - padding-left: 4px; - padding-right: 5px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.view a:before, -.column-actions .cpac_use_icons + .row-actions > span.view a:before { - content: "\f177"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.unapprove a, -.column-actions .cpac_use_icons + .row-actions > span.unapprove a { - padding-left: 4px; - padding-right: 5px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.unapprove a:before, -.column-actions .cpac_use_icons + .row-actions > span.unapprove a:before { - content: "\f158"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.approve a, -.column-actions .cpac_use_icons + .row-actions > span.approve a { - padding-left: 4px; - padding-right: 5px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.approve a:before, -.column-actions .cpac_use_icons + .row-actions > span.approve a:before { - content: "\f147"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.spam a, -.column-actions .cpac_use_icons + .row-actions > span.spam a { - padding-left: 4px; - padding-right: 5px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.spam a:before, -.column-actions .cpac_use_icons + .row-actions > span.spam a:before { - content: "\f117"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.reply a, -.column-actions .cpac_use_icons + .row-actions > span.reply a { - padding-left: 4px; - padding-right: 5px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.reply a:before, -.column-actions .cpac_use_icons + .row-actions > span.reply a:before { - content: "\f473"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.untrash a, -.column-actions .cpac_use_icons + .row-actions > span.untrash a { - padding-left: 4px; - padding-right: 5px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.untrash a:before, -.column-actions .cpac_use_icons + .row-actions > span.untrash a:before { - content: "\f171"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.unspam a, -.column-actions .cpac_use_icons + .row-actions > span.unspam a { - padding-left: 4px; - padding-right: 5px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.unspam a:before, -.column-actions .cpac_use_icons + .row-actions > span.unspam a:before { - content: "\f171"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.delete a, -.column-actions .cpac_use_icons + .row-actions > span.delete a { - padding-left: 4px; - padding-right: 5px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.delete a:before, -.column-actions .cpac_use_icons + .row-actions > span.delete a:before { - content: "\f182"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.backend a, -.column-actions .cpac_use_icons + .row-actions > span.backend a { - padding-left: 4px; - padding-right: 5px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.backend a:before, -.column-actions .cpac_use_icons + .row-actions > span.backend a:before { - content: "\f226"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.visit a, -.column-actions .cpac_use_icons + .row-actions > span.visit a { - padding-left: 4px; - padding-right: 5px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.visit a:before, -.column-actions .cpac_use_icons + .row-actions > span.visit a:before { - content: "\f115"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.deactivate a, -.column-actions .cpac_use_icons + .row-actions > span.deactivate a { - padding-left: 4px; - padding-right: 5px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.deactivate a:before, -.column-actions .cpac_use_icons + .row-actions > span.deactivate a:before { - content: "\f530"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.archive a, -.column-actions .cpac_use_icons + .row-actions > span.archive a { - padding-left: 4px; - padding-right: 5px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.archive a:before, -.column-actions .cpac_use_icons + .row-actions > span.archive a:before { - content: "\f480"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.unarchive a, -.column-actions .cpac_use_icons + .row-actions > span.unarchive a { - padding-left: 4px; - padding-right: 5px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.unarchive a:before, -.column-actions .cpac_use_icons + .row-actions > span.unarchive a:before { - content: "\f322"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.activate a, -.column-actions .cpac_use_icons + .row-actions > span.activate a { - padding-left: 4px; - padding-right: 5px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.activate a:before, -.column-actions .cpac_use_icons + .row-actions > span.activate a:before { - content: "\f177"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.download a, -.column-actions .cpac_use_icons + .row-actions > span.download a { - padding-left: 4px; - padding-right: 5px; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.download a:before, -.column-actions .cpac_use_icons + .row-actions > span.download a:before { - content: "\f316"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.resetpassword a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.resetpassword button.button-link, .column-actions .cpac_use_icons + .hidden + .row-actions > span.switch_to_user a, .column-actions .cpac_use_icons + .hidden + .row-actions > span.switch_to_user button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.resetpassword a, -.column-actions .cpac_use_icons + .row-actions > span.resetpassword button.button-link, -.column-actions .cpac_use_icons + .row-actions > span.switch_to_user a, -.column-actions .cpac_use_icons + .row-actions > span.switch_to_user button.button-link { - text-indent: -3000em; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.resetpassword a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.resetpassword button.button-link:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.switch_to_user a:before, .column-actions .cpac_use_icons + .hidden + .row-actions > span.switch_to_user button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.resetpassword a:before, -.column-actions .cpac_use_icons + .row-actions > span.resetpassword button.button-link:before, -.column-actions .cpac_use_icons + .row-actions > span.switch_to_user a:before, -.column-actions .cpac_use_icons + .row-actions > span.switch_to_user button.button-link:before { - font-size: 13px; - text-indent: 0; - font-family: cpac_icons, sans-serif; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.resetpassword a:before, -.column-actions .cpac_use_icons + .row-actions > span.resetpassword a:before { - content: "\ea0a"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.switch_to_user a:before, -.column-actions .cpac_use_icons + .row-actions > span.switch_to_user a:before { - content: "\ea0f"; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.copy, -.column-actions .cpac_use_icons + .row-actions > span.copy { - background: red; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.copy .copy-to-clipboard-container button, -.column-actions .cpac_use_icons + .row-actions > span.copy .copy-to-clipboard-container button { - text-indent: -3000em; - zoom: 0; -} -.column-actions .cpac_use_icons + .hidden + .row-actions > span.copy .copy-to-clipboard-container button:before, -.column-actions .cpac_use_icons + .row-actions > span.copy .copy-to-clipboard-container button:before { - font-family: Dashicons; - content: "\f481"; -} - -/* Responsive table screen --------------------------------------------------------------- */ -@media screen and (max-width: 782px) { - .wp-list-table.widefat thead th { - display: none; - } - .wp-list-table.widefat thead th.column-primary { - display: table-cell; - } - .wp-list-table.widefat tbody tr:not(.inline-edit-row):not(.no-items) td { - display: none; - } - .wp-list-table.widefat tbody tr:not(.inline-edit-row):not(.no-items) td.column-primary { - display: block; - } -} - -.ac-tip { - display: inline-block; -} - -.ac-table-actions { - display: none; - position: relative; - z-index: 20; - float: left; - white-space: nowrap; - margin-right: 5px; - margin-left: 1px; - margin-bottom: 5px; -} -.ac-table-actions.-init { - display: block; -} -.ac-table-actions .ac-table-actions-buttons { - white-space: nowrap; - display: inline-flex; - height: 30px; - box-sizing: border-box; - vertical-align: top; - border: 1px solid var(--ac-button-border); - border-radius: 3px; - overflow: hidden; -} -.ac-table-actions .ac-table-actions-buttons .ac-table-button { - display: flex; -} -.ac-table-actions .ac-table-button { - display: inline-block; - padding: 2px 12px; - cursor: pointer; - color: var(--ac-button-color); - border-right: 1px solid var(--ac-button-border); - background: var(--ac-button-bg); - text-decoration: none; - font-size: 13px; - height: 24px; - line-height: 24px; - text-align: center; -} -.ac-table-actions .ac-table-button:last-child { - border-right: none !important; -} -.ac-table-actions .ac-table-button:hover, .ac-table-actions .ac-table-button:focus, .ac-table-actions .ac-table-button:active { - outline: none; - box-shadow: none; - background-color: #f0f0f1; - color: var(--ac-button-hover); -} -.ac-table-actions .ac-table-button .dashicons { - font-size: 14px; - width: 14px; - height: 14px; - line-height: 24px; -} -.ac-table-actions .ac-table-button.disabled { - background: #ddd; - color: #484848; - cursor: not-allowed; -} -.ac-table-actions .ac-table-button.active { - background: #00A0D2; - border: 1px solid #008EC2; - color: #fff; -} -.ac-table-actions .ac-table-button.active + .ac-table-button { - border-left: none; -} -.ac-table-actions .ac-table-button.-inline-edit .dashicons { - font-size: 18px; - margin-left: -2px; -} -.ac-table-actions .ac-table-button.-toggle { - background: none; - border: 1px solid transparent; - padding-left: 4px; - padding-right: 4px; - transform: translateY(-1px); -} -.ac-table-actions .ac-table-button.-toggle .ac-toggle__switch { - vertical-align: middle; - margin-top: -3px; - margin-right: 1px; - color: #888; -} -.ac-table-actions .ac-table-button__caret { - display: inline-block; - vertical-align: middle; - width: 0; - height: 0; - border-left: 3px solid transparent; - border-right: 3px solid transparent; - border-top: 4px solid #6F6F6F; - transition: transform 0.2s; -} -.ac-table-actions .ac-table-button.-open { - color: #0072AA; -} -.ac-table-actions .ac-table-button.-open .ac-table-button__caret { - transform: rotate(180deg); -} - -.hide-column-tog + span .dashicons { - transform: translateY(5px); - margin-left: 3px; -} - -/* Ajax Modal --------------------------------------------------------------- */ -.ac-value-modal-container .ac-modal-images-container { - display: grid; - grid-template-columns: repeat(4, 1fr); - grid-auto-rows: min-content; - grid-gap: 10px; - width: 100%; -} -@media screen and (max-width: 782px) { - .ac-value-modal-container .ac-modal-images-container { - grid-template-columns: repeat(2, 1fr); - } -} -.ac-value-modal-container .ac-modal-images-container .ac-image-container { - border: 1px solid #c3c4c7; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - background: #fff; - margin-bottom: 0; - border-radius: 2px; -} -.ac-value-modal-container .ac-modal-images-container .ac-image-container .ac-image-center img { - display: block; - width: 100%; - aspect-ratio: 4/3; - object-fit: cover; -} -.ac-value-modal-container .ac-modal-images-container .ac-image-container .ac-image-meta { - padding: 6px 0; -} -.ac-value-modal-container .ac-modal-images-container .ac-image-container .ac-image-meta .ac-image-meta-item { - word-break: break-word; - padding: 6px 10px 8px; -} - -/*# sourceMappingURL=table.css.map */ +:root{--ac-text-color: #23282d;--ac-link: #0073aa;--ac-link-hover: #0096dd;--ac-button-bg: #f6f7f7;--ac-button-color: #2271b1;--ac-button-border: var(--ac-button-color);--ac-button-hover: #0a4b78;--ac-primary-color: #2271b1;--ac-primary-color-hover: #135e96;--ac-notification-red: #d63638;--ac-notification-blue: #72aee6;--ac-notification-yellow: #dba617;--ac-notification-orange: #d54e21;--ac-notification-green: #00a32a;--ac-border-grey: #ddd;--ac-pink-color: #e9426e;--ac-form-input-border: #757575;--ac-select-hover-bg: #5897fb;--ac-table-border: #c3c4c7;--ac-table-color: #50575e}:root body.admin-color-coffee{--ac-button-color: #32373c;--ac-button-border: #8c8f94;--ac-primary-color: #c7a589;--ac-primary-color-hover: #ccad93}:root body.admin-color-light{--ac-button-color: #04a4cc;--ac-button-border: #04a4cc;--ac-button-hover: #04b0db;--ac-primary-color: #04a4cc;--ac-primary-color-hover: #04b0db}:root body.admin-color-modern{--ac-link: #3858e9;--ac-link-hover: #183ad6;--ac-button-color: #3858e9;--ac-button-border: #3858e9;--ac-primary-color: #3858e9;--ac-primary-color-hover: #04b0db}:root body.admin-color-blue{--ac-button-color: #096484;--ac-primary-color: #e1a948;--ac-primary-color-hover: #e3af55}:root body.admin-color-ectoplasm{--ac-button-color: #a3b745;--ac-primary-color: #a3b745;--ac-primary-color-hover: #a9bd4f}:root body.admin-color-ocean{--ac-button-color: #7e8993;--ac-primary-color: #9ebaa0;--ac-primary-color-hover: #a7c0a9}:root body.admin-color-sunrise{--ac-button-color: #dd823b;--ac-button-hover: #db7728;--ac-primary-color: #dd823b;--ac-primary-color-hover: #df8a48}@font-face{font-family:"cpac_icons";src:url("../fonts/cpac_icons.woff2?v=569879") format("woff2"),url("../fonts/cpac_icons.woff?v=134916") format("woff");font-style:normal;font-weight:400}.cpacicon,[class^=cpacicon-],[class*=" cpacicon-"]{display:inline-block;transform:translate(0, 0);text-rendering:auto;font:normal normal 400 14px/1 cpac_icons;font-size:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.cpacicon-bulk-edit::before{content:""}.cpacicon-delete::before{content:""}.cpacicon-download::before{content:""}.cpacicon-draft::before{content:""}.cpacicon-duplicate::before{content:""}.cpacicon-filter::before{content:""}.cpacicon-more::before{content:""}.cpacicon-move::before{content:""}.cpacicon-rename::before{content:""}.cpacicon-reset-password::before{content:""}.cpacicon-segment::before{content:""}.cpacicon-smart-filter::before{content:""}.cpacicon-text-clip::before{content:""}.cpacicon-text-wrap::before{content:""}.cpacicon-user-switch::before{content:""}body .ac-modal{position:fixed;overflow:auto;z-index:100000;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:none}body .ac-modal.-active{display:flex;align-items:center;justify-content:center}body .ac-modal__dialog{border:1px solid #c8c8c8;background:#fff;position:fixed;width:650px;max-width:90%}body .ac-modal__dialog__header{font-size:16px;line-height:16px;color:#555;padding:17px 20px}body .ac-modal__dialog__close{display:inline-block;padding:0;margin:0;border:none;background:none;position:absolute;right:0;top:0;width:52px;height:52px;text-align:center;color:#555;cursor:pointer}body .ac-modal__dialog__close:hover{background-color:#f2f2f2}body .ac-modal__dialog__close span.dashicons{font-size:22px}body .ac-modal__dialog__close span.dashicons:hover{color:var(--ac-primary-color-hover)}body .ac-modal__dialog__content{padding:20px;max-height:calc(100vh - 200px);overflow:auto}body .ac-modal__dialog__content__lead{font-weight:bold;font-size:15px;margin-top:5px;margin-bottom:25px;color:#6d6d6d}body .ac-modal__dialog__content.-p0{padding:0}body .ac-modal__dialog__content.-accent{border-top:1px solid #dbdbdb;background:#f9f9f9}body .ac-modal__dialog__content.-hide{display:none}body .ac-modal__dialog__list li{position:relative;padding-left:25px;font-weight:400;font-size:16px;letter-spacing:.5px;margin-bottom:10px}body .ac-modal__dialog__list li:before{content:"";font-family:Dashicons;position:absolute;left:0;top:0;color:#3d4350}body .ac-modal__dialog__list li:nth-child(2n){color:#e9426e}body .ac-modal__dialog__footer{padding:12px 20px;border-top:1px solid #dbdbdb;background:#f9f9f9;font-size:13px}body .ac-modal__dialog__footer .button{margin-left:0;padding-left:15px;padding-right:15px}body .ac-modal.-blocking{background:#e3e7eb}@media only screen and (max-width: 720px){body .ac-modal__dialog__footer__content{display:block}body .ac-modal__dialog__footer .button{margin-left:0;margin-top:10px}}body .ac-modal .ac-modal-footer-actions{display:flex}body .ac-modal .ac-modal-footer-actions__info{flex-grow:1;display:flex;align-items:center}@keyframes ac-striped-animation{from{transform:translateX(0)}to{transform:translateX(46px)}}.ac-striped-loading{overflow:hidden;position:relative}.ac-striped-loading:before{animation:ac-striped-animation 2s linear infinite;content:"";display:block;position:absolute;left:-46px;top:0;bottom:0;right:0;background:repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.1) 1px, transparent 2px, transparent 11px, rgba(255, 255, 255, 0.1) 12px, rgba(255, 255, 255, 0.1) 20px)}.ac-confirmation{position:fixed;left:0;top:0;width:100%;height:100%;z-index:100000000;cursor:not-allowed}.ac-confirmation__modal{cursor:pointer;padding:20px;min-width:300px;max-width:400px;margin:20px;height:auto;transform:translateX(-50%);background:#fff;border-radius:3px;box-shadow:0 0 5px rgba(0,0,0,.2);border:1px solid #d8d8d8;position:absolute;top:30%;left:50%}.ac-confirmation__modal__content{margin-bottom:20px}.ac-confirmation__modal__footer{display:block;text-align:right}.ac-confirmation__modal__footer button{margin-left:6px !important;min-width:80px}.ac-tooltip-wrapper{position:relative}.ac-tooltip-wrapper:focus .ac-tooltip,.ac-tooltip-wrapper:hover .ac-tooltip{opacity:1}.ac-tooltip{background:#000;border-radius:3px;padding:5px 10px;color:#fff;position:absolute;transform:translateX(-50%);min-width:30px;margin-top:5px;display:block;opacity:0;transition:opacity .3s;pointer-events:none;font-size:11px;line-height:16px;z-index:100000;max-width:200px}.ac-tooltip:before{content:"";display:block;width:0;height:0;border-bottom:4px solid rgba(0,0,0,.8);border-left:6px solid rgba(0,0,0,0);border-right:6px solid rgba(0,0,0,0);position:absolute;left:50%;top:-4px;transform:translateX(-4px)}.ac-tooltip.hover{opacity:1}html.wp-toolbar .ac-tooltip{margin-top:36px}.ac-toggle-container{display:inline-flex}.ac-toggle-container .ac-toggle-label{margin-left:7px;transform:translateY(-1px)}.ac-toggle{display:inline-block;white-space:nowrap}.ac-toggle input{position:absolute;left:-3000em}.rtl .ac-toggle input{left:inherit;right:-3000em}.ac-toggle__switch{display:inline-block;background:#ccc;border-radius:8px;width:30px;height:16px;position:relative;transition:background-color .3s}.ac-toggle__switch__on,.ac-toggle__switch__off{font-size:11px;font-weight:bold;color:#fff;position:absolute;top:5px;line-height:11px}.ac-toggle__switch__off{right:6px;color:#555}.ac-toggle__switch__on{left:8px}.ac-toggle__switch__track{border-radius:50%;display:inline-block;background:#fff;position:absolute;left:3px;top:3px;height:10px;width:10px;transition:all .1s}.ac-toggle input:checked+.ac-toggle__switch{background:var(--ac-primary-color)}.ac-toggle input:checked+.ac-toggle__switch .ac-toggle__switch__track{left:calc(100% - 13px)}.ac-toggle-v2{position:relative}.ac-toggle-v2.-disabled{cursor:not-allowed}.ac-toggle-v2.-disabled *{cursor:not-allowed}.ac-toggle-v2__toggle{position:relative;display:inline-block;margin-right:5px}.ac-toggle-v2__toggle input[type=checkbox]{position:absolute;left:0;top:0;opacity:0;width:100%;height:100%;cursor:pointer;z-index:2;border:none;margin:0 !important}.ac-toggle-v2__toggle input[type=checkbox]:focus:not(:disabled)~.ac-toggle-v2__toggle__track,.ac-toggle-v2__toggle input[type=checkbox]:active:not(:disabled)~.ac-toggle-v2__toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--ac-primary-color)}.ac-toggle-v2__toggle input[type=checkbox]:checked~.ac-toggle-v2__toggle__thumb{transform:translateX(14px)}.ac-toggle-v2__toggle input[type=checkbox]:checked~.ac-toggle-v2__toggle__track{background:var(--ac-primary-color)}.ac-toggle-v2__toggle input[type=checkbox]:disabled{cursor:not-allowed}.ac-toggle-v2__toggle input[type=checkbox]:disabled~.ac-toggle-v2__toggle__track{background:#ddd !important;cursor:not-allowed}.ac-toggle-v2__toggle input[type=checkbox]:disabled~.ac-toggle-v2__toggle__thumb{cursor:not-allowed}.ac-toggle-v2__toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#d8d8d8;width:36px;height:22px;border-radius:11px;transition:background .2s ease}.ac-toggle-v2__toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:3px;left:3px;width:16px;height:16px;border-radius:50%;transition:transform .1s ease;background-color:#fff;border:5px solid #fff}.ac-toggle-v2.-small{margin-bottom:10px}.ac-toggle-v2.-small .ac-toggle-v2__toggle{transform:translateY(2px)}.ac-toggle-v2.-small .ac-toggle-v2__toggle__track{width:30px;height:18px}.ac-toggle-v2.-small .ac-toggle-v2__toggle__thumb{top:2px;left:2px;width:14px;height:14px}.ac-toggle-v2.-small .ac-toggle-v2__toggle input[type=checkbox]:checked~.ac-toggle-v2__toggle__thumb{transform:translateX(12px)}.ac-pointer-modal-container{position:absolute;z-index:100000;width:500px}.ac-pointer-modal{background:#fff;border:1px solid var(--ac-border-grey);box-shadow:0 1px 3px rgba(0,0,0,.1)}.ac-pointer-modal__content{padding-bottom:20px}.ac-pointer-modal__content img{max-width:calc(100% - 30px);margin:0 15px;margin-bottom:5px;height:auto}.ac-pointer-modal__content h3{background:var(--ac-primary-color);color:#fff;padding:10px 15px;font-weight:400;font-size:14px;margin:0;margin-bottom:10px}.ac-pointer-modal__content h4{padding:0 15px;margin-bottom:10px}.ac-pointer-modal__content p{padding:0 15px;margin-bottom:10px}.ac-pointer-modal__arrow{display:block;width:10px;height:10px;border-left:1px solid var(--ac-border-grey);border-bottom:1px solid var(--ac-border-grey);position:absolute;background:#fff;top:50%;transform:translateY(-5px) rotate(45deg);left:-5px}.ac-pointer-modal__arrow[data-pos=left]{left:inherit;right:-5px;transform:translateY(-5px) rotate(-135deg)}.ac-pointer-modal__arrow[data-pos=right_bottom]{display:none}.ac-value-modal .ac-value-modal-background{position:fixed;left:0;top:0;right:0;bottom:0;z-index:10000000000;background:rgba(0,0,0,.6)}.ac-value-modal .ac-value-modal-container{display:flex;position:fixed;top:0;left:0;bottom:0;right:0;align-items:center;justify-content:center;z-index:10000000001}.ac-value-modal table td{vertical-align:top}.ac-value-modal.-w-large .ac-value-modal-panel{width:800px}.ac-value-modal .ac-value-modal-panel{background:#fff;width:600px}.ac-value-modal .ac-value-modal-panel__header{background:#fafafa;border-bottom:1px solid #ccc;text-align:right;display:flex}.ac-value-modal .ac-value-modal-panel__header .ac-value-modal-title{text-align:left;display:flex;align-items:center;flex:1;overflow:hidden}.ac-value-modal .ac-value-modal-panel__header .ac-value-modal-title h2{margin:0;font-size:15px;padding:10px 20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ac-value-modal .ac-value-modal-panel__header .ac-value-modal-actions{width:70px;display:flex;align-items:center;justify-content:flex-end}.ac-value-modal .ac-value-modal-panel__header .ac-value-modal-actions button{border:none;background-color:rgba(0,0,0,0);cursor:pointer;border-left:1px solid #ccc;display:block;width:50px;height:50px}.ac-value-modal .ac-value-modal-panel__header .ac-value-modal-actions button:hover{background:#efefef}.ac-value-modal .ac-value-modal-panel__body{padding:20px;max-height:calc(100vh - 150px);overflow:auto}.ac-value-modal .ac-value-modal-panel__body video{display:block}.ac-value-modal .ac-value-modal-panel__body img{width:100%;height:auto}.ac-value-modal .ac-value-modal-panel__body span.loading{display:block;margin:20px;text-align:center}.ac-value-modal .ac-value-modal-panel__footer{display:flex;border-top:1px solid #ccc;background:#fafafa}.ac-value-modal .ac-value-modal-panel__footer .ac-value-modal__edit a{margin-top:5px;margin-bottom:5px}.ac-value-modal .ac-value-modal-panel__footer button{width:40px;height:40px;border:none;border-left:1px solid #ccc;justify-content:center;cursor:pointer;background:none;align-items:center}.ac-value-modal .ac-value-modal-panel__footer button .dashicons{transform:translateY(2px);font-size:16px}.ac-value-modal .ac-value-modal-panel__footer button:hover{background:#efefef}.ac-value-modal__edit{flex-grow:1;padding-left:10px;display:flex;align-items:center}.ac-value-modal__edit a.button{margin-right:5px}.ac-value-modal__navigation{flex-grow:0;width:100px;display:flex;justify-content:flex-end}.ac-value-modal .ac-badge{background:#eee;border-radius:3px;color:#464646;font-size:13px;padding:2px 10px}.ac-value-modal.-nopadding .ac-value-modal-panel__body{padding:0}.ac-value-modal.-nopadding .ac-value-modal-panel__body .loading{padding:20px}.ac-value-modal.-preview .ac-value-modal-panel{width:auto;max-width:80vw;min-width:400px;top:0;left:0;transform:none}.ac-value-modal.-preview .ac-value-modal-panel .ac-value-modal-panel__header h2{text-overflow:ellipsis;max-width:500px;overflow:hidden;white-space:nowrap}.ac-value-modal.-preview .ac-value-modal-panel .ac-value-modal-panel__body img{width:auto;min-width:300px;max-width:100%;max-height:calc(100vh - 150px);display:block;margin:auto}[data-component=ac-json]{overflow-x:scroll;width:100%;font-size:12px !important}[data-component=ac-json] ul{font-size:13px !important}[data-component=ac-json]>div>div>ul{margin-left:0}[data-component=ac-json]>div>div>ul>ul>li.indent{margin-left:0;padding-left:0}[data-component=ac-json]::-webkit-scrollbar{display:none}[data-component=ac-json] .arrow{width:auto;height:auto;left:inherit;bottom:inherit}[data-component=ac-json] .root{max-width:100px;white-space:nowrap;margin-bottom:5px}[data-component=ac-json] .root>.container{padding-left:10px}[data-component=ac-json] .root>.container .arrow{margin-left:-6px}[data-component=ac-json] ul .root{display:none}[data-component=ac-json] ul li.indent{white-space:nowrap;margin-bottom:0}[data-component=ac-json] ul li.indent ul{margin-top:4px;margin-bottom:4px}[data-component=ac-json] ul li span.container{display:none}[data-component=ac-json] ul li span.container+span.property{color:var(--ac-primary-color);cursor:pointer !important;font-style:italic}[data-component=ac-json] ul li span.container+span.property:hover{color:var(--ac-primary-color-hover)}[data-component=ac-json] ul li span.container~span.operator{display:none}[data-modal-value]{cursor:pointer}.column-status .dashicons{font-size:22px}.column-status .dashicons.large{width:25px;height:28px;font-size:28px}.column-status .dashicons.dashicons-lock{font-size:15px;margin-left:-2px}.ac-image-sizes .ac-missing-size{color:#929292}table .column-audio_player{min-width:310px !important}.ac-comment-bubble .post-com-count{display:inline-block;vertical-align:top}.ac-comment-bubble .post-com-count-no-comments,.ac-comment-bubble .post-com-count-approved{margin-top:5px}.ac-comment-bubble .comment-count-no-comments,.ac-comment-bubble .comment-count-approved{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;padding:0 8px;min-width:24px;height:2em;-webkit-border-radius:5px;border-radius:5px;background-color:#72777c;color:#fff;font-size:11px;line-height:21px;text-align:center}.ac-comment-bubble .post-com-count-no-comments:after,.ac-comment-bubble .post-com-count-approved:after{content:"";display:block;margin-left:8px;width:0;height:0;border-top:5px solid #72777c;border-right:5px solid rgba(0,0,0,0)}.ac-comment-bubble .post-com-count-approved:hover .comment-count-approved,.ac-comment-bubble .post-com-count-approved:focus .comment-count-approved{background:#0073aa}.ac-comment-bubble .post-com-count-approved:hover:after,.ac-comment-bubble .post-com-count-approved:focus:after{border-top-color:#0073aa}.ac-comment-bubble .post-com-count-pending{position:relative;left:-3px;padding:0 5px;min-width:7px;height:17px;border:2px solid #fff;-webkit-border-radius:11px;border-radius:11px;background:#ca4a1f;color:#fff;font-size:9px;line-height:17px;text-align:center}.ac-comment-bubble .post-com-count-no-pending{display:none}.ac-divider{display:inline-block;width:14px;height:12px;position:relative}.ac-divider:before{content:"";display:block;width:2px;height:2px;background:#000;position:absolute;left:50%;margin-left:-1px;top:60%}span.status-closed{color:red}.ac-value-stars{white-space:nowrap;word-wrap:normal;display:block}.ac-value-stars .ac-value-star{font-size:16px;width:auto;margin-right:-3px}.actions #post-query-submit{float:left;vertical-align:middle}body:not(.post-type-attachment) .actions #post-query-submit{margin-bottom:4px}.tablenav.top .ac-button{top:2px;display:inline-block;vertical-align:middle;float:left;margin-bottom:4px}body.edit-tags-php .tablenav.top .ac-button{float:none}span.dashicons.flip:before{transform:scale(-1, 1);display:inline-block}span.dashicons.yellow{color:#ffb900}span.dashicons.orange{color:#d54e21}span.dashicons.red{color:#dc3232}span.dashicons.green{color:#46b450}span.dashicons.light-gray{color:#bbb}span.dashicons.gray{color:var(--ac-table-color)}span.dashicons.blue{color:#0073aa}span.dashicons.light-blue{color:#00a0d2}body.edit-php #delete_all{float:left;margin-right:3px}body.users-php .tablenav .actions a.add-new-h2{float:none;vertical-align:middle !important;top:2px !important}@media screen and (max-width: 782px){.tablenav.top .actions{display:block !important;margin-bottom:4px}.tablenav.top .actions *{display:none}.tablenav.top .actions .ac-button{display:inline-block}}body.upload-php .tablenav.top .ac-button{float:none}.ac-toggle-box-link:focus{outline:none;box-shadow:none}.ac-toggle-box-link .spinner{float:none;margin-top:-2px}.ac-toggle-box-link .spinner{display:none}.ac-toggle-box-link.loading .spinner{display:inline-block;visibility:visible}.ac-toggle-box-contents-ajax{padding:5px 0 0}.ac-toggle-box-contents{display:none;padding:5px 0 0}.ac-toggle-box-contents.-open{display:block}table.ac-table-items{border-spacing:0}table.ac-table-items tr td{border:0;margin:0;padding:0 0 3px}table.ac-table-items tr td.ac-table-item-qty{color:#999;padding-right:6px;text-align:left}a.ac-badge-post-count{display:inline-block;background:#eee;border-radius:3px;font-size:13px;padding:6px 14px;text-decoration:none;margin-right:6px;margin-bottom:6px}a.ac-badge-post-count span.-label{color:#464646}a.ac-badge-post-count:hover{background:#dcdcdc}table.ac-table-items.-user-posts{width:100%}table.ac-table-items.-user-posts tr td,table.ac-table-items.-user-posts tr th{padding:12px 20px 14px}table.ac-table-items.-user-posts thead tr>*{padding-bottom:5px;border-bottom:1px solid #eee}table.ac-table-items.-user-posts tbody tr td,table.ac-table-items.-user-posts tbody tr th{border-bottom:1px solid #eee}table.ac-table-items.-user-posts tbody tr:last-child td,table.ac-table-items.-user-posts tbody tr:last-child th{border-bottom:none}table.ac-table-items.-user-posts .col-id{text-align:left;font-size:14px;padding-left:0;padding-right:0;width:40px;white-space:nowrap}table.ac-table-items.-user-posts .col-date{white-space:nowrap;width:1px}table.ac-table-items.-user-posts .col-post-type{white-space:nowrap;width:1px}table.ac-table-items.-user-posts .col-post-type{text-align:right;padding-right:0}.ac-post-state-format:before{color:var(--ac-table-color)}.ac-image-details .ac-image-info{display:inline-block;border-radius:7px;padding:0 9px;min-height:20px;background-color:#e9e9e9;text-align:left;font-size:11px;font-weight:bold;margin:0 6px 5px 0;white-space:nowrap}.ac-image-details .ac-image-info>span{margin-right:6px}.ac-image-details .ac-image-info>span:last-child{margin-right:0}.ac-image-details .ac-image-info span{vertical-align:middle;line-height:20px}.ac-image-details .ac-image-info span.image-id{font-size:11px;color:#757575}.ac-image-details .ac-image-info span.image-file-size{font-size:12px}.ac-image-details .ac-image-info span.image-extension{text-transform:uppercase;font-size:11px;color:#757575}.ac-image-details .ac-image-info span.suffix{display:inline-block;text-transform:uppercase;font-size:10px;color:#757575;padding-left:3px;margin-top:-2px}.ac-image-details .ac-image-info span.dashicons{margin-top:-2px;color:#757575;font-size:14px;width:16px}.ac-image-details a.ac-image-info:hover{color:var(--ac-link)}.ac-image-details a.ac-image-info:hover span.dashicons{color:#3d4350}.ac-upload-space .ac-upload-space-labels{display:table;width:100%}.ac-upload-space .ac-upload-space-labels .inner{display:table-row}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-icon{display:table-cell}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-icon:before{color:#82878c;content:"";display:inline-block;font-family:"dashicons",serif;width:20px;height:20px;font-size:18px;line-height:1;text-decoration:inherit;font-weight:normal;font-style:normal;vertical-align:top;text-align:center;margin-right:4px}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-left{display:table-cell;white-space:nowrap}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-right{width:100%;text-align:right;padding-left:6px;display:table-cell;white-space:nowrap}.ac-upload-space .ac-upload-space-progress{margin-top:6px;height:3px;background:#fff;border:1px solid #dfdfdf;position:relative}.ac-upload-space .ac-upload-space-progress .ac-upload-space-progress-bar{background-color:var(--ac-notification-green);height:100%;display:block}.ac-upload-space.warning .ac-upload-space-icon:before{color:var(--ac-notification-yellow);content:"";margin-top:1px}.ac-upload-space.warning .ac-upload-space-progress-bar{background-color:var(--ac-notification-yellow)}.ac-upload-space.full .ac-upload-space-icon:before{color:var(--ac-notification-orange);content:"";margin-top:1px}.ac-upload-space.full .ac-upload-space-progress-bar{background-color:var(--ac-notification-red)}#form-site-list .tablenav .actions .ac-button{float:none}.ac-inline-info{display:inline-block;border-radius:3px;min-width:8px;padding:0 6px;min-height:20px;background-color:#e9e9e9;text-align:center;margin-right:7px;font-size:11px;font-weight:bold}.ac-rounded{display:inline-block;border-radius:10px;min-width:8px;padding:0 6px;height:20px;background-color:#e0e0e0;text-align:center;margin-left:7px;margin-right:7px;font-size:12px}.ac-rounded.ac-rounded-first{margin-left:0}.ac-spacing{display:inline-block;margin-right:10px;margin-bottom:4px}.cpac-suffix{margin-left:8px;color:gray}.ac-small-block{display:inline-block;border-radius:3px;background-color:rgba(224,224,224,.6);padding:2px 7px;margin:0 5px 5px 0}.ac-more-link-show{cursor:pointer}.ac-show-more__content{margin-right:4px}.ac-show-more__toggle{cursor:pointer;white-space:nowrap}.ac-show-more__part.-more{display:none}.ac-show-more.-on .ac-show-more__part.-more{display:inline}.ac-show-more__divider{color:#ddd;padding-right:4px}.ac-image-container{margin-bottom:-6px}.ac-image:not(body){display:inline-block;margin-right:2px;margin-bottom:6px;overflow:hidden;max-width:100%;background-color:#ccc;vertical-align:middle}.ac-image:not(body) img{display:block;margin:0 auto}.ac-image:not(body) .ac-extension{font-size:12px;line-height:22px;display:block;text-align:center;text-transform:uppercase;font-weight:bold}.ac-image:not(body).ac-icon{background-color:rgba(0,0,0,0)}.ac-image:not(body).-cover img{object-fit:cover}.rtl .column-column-attachment img{padding-left:5px;padding-right:0}.ac-progress-bar{width:100%;display:flex}.ac-progress-bar .ac-label-main{width:65px}.ac-progress-bar .ac-bar-container{flex:auto;background-color:#fff;min-height:22px;line-height:22px;position:relative;border:1px solid #ccc;border-radius:2px}.ac-progress-bar .ac-bar-container .ac-bar{height:100%;background-color:#69c471;border-right:1px solid #fff}.ac-progress-bar .ac-bar-container .ac-label-left,.ac-progress-bar .ac-bar-container .ac-label-right{text-shadow:rgba(255,255,255,.65) 0 0 5px;color:#555;position:absolute}.ac-progress-bar .ac-bar-container .ac-label-left{left:5px}.ac-progress-bar .ac-bar-container .ac-label-right{right:5px}.ac-progress-bar.full .ac-bar-container .ac-bar{background-color:rgba(255,0,0,.45);border:none}.ac-progress-bar.dark .ac-bar-container{flex:auto;background-color:#a6a6a6;min-height:22px;line-height:22px;position:relative}.ac-progress-bar.dark .ac-bar-container .ac-bar{height:100%;background-color:#46b450;border-right:1px solid #fff}.ac-progress-bar.dark .ac-bar-container .ac-label-left{color:#fff;position:absolute;left:5px}.ac-progress-bar.dark .ac-bar-container .ac-label-right{color:#fff;position:absolute;right:5px}.ac-progress-bar.dark.full .ac-bar-container .ac-bar{background-color:rgba(255,0,0,.68);border:none}div.cpac-color{line-height:26px}div.cpac-color span{display:block;-webkit-border-radius:3px;border-radius:3px;color:#fff;float:left;height:16px;line-height:16px;margin-right:12px;overflow:hidden;padding:4px 5px;font-size:10px;font-family:Monaco,Menlo,Consolas,"Courier New",monospace;min-width:47px;text-align:center}.rtl div.cpac-color span{float:right;margin-left:12px;margin-right:0}.button.cpac-button-action{position:relative;text-indent:9999px;margin-right:4px;padding:0 13px;overflow:hidden}.button.cpac-button-action:before{position:absolute;top:0;left:0;width:100%;height:100%;text-indent:0}.cpac_wp_button,.column-actions .cpac_use_icons+.hidden+.row-actions>span a,.column-actions .cpac_use_icons+.hidden+.row-actions>span button,.column-actions .cpac_use_icons+.row-actions>span a,.column-actions .cpac_use_icons+.row-actions>span button{color:#555;background:#f7f7f7;box-shadow:0 1px 0 #ccc;vertical-align:top;display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border:1px solid #ccc;border-radius:3px;white-space:nowrap;box-sizing:border-box}.cpac_wp_button:hover,.column-actions .cpac_use_icons+.hidden+.row-actions>span a:hover,.column-actions .cpac_use_icons+.hidden+.row-actions>span button:hover,.column-actions .cpac_use_icons+.row-actions>span a:hover,.column-actions .cpac_use_icons+.row-actions>span button:hover{background:#fafafa;color:#23282d;border-color:#999}.column-actions .row-actions{left:0;position:relative}.column-actions .cpac_use_icons+.hidden+.row-actions>span,.column-actions .cpac_use_icons+.row-actions>span{color:rgba(0,0,0,0);font-size:0;margin-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span a,.column-actions .cpac_use_icons+.hidden+.row-actions>span button,.column-actions .cpac_use_icons+.row-actions>span a,.column-actions .cpac_use_icons+.row-actions>span button{display:inline-flex;align-items:center;justify-content:center;position:relative;min-width:26px;margin-bottom:5px;padding-left:6px;padding-right:6px}.column-actions .cpac_use_icons+.hidden+.row-actions>span a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span button:before,.column-actions .cpac_use_icons+.row-actions>span a:before,.column-actions .cpac_use_icons+.row-actions>span button:before{text-indent:0;font-family:Dashicons,sans-serif;font-size:16px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.edit a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.edit button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.view a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.view button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.quickedit a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.quickedit button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.approve a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.approve button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unapprove a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unapprove button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.spam a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.spam button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.untrash a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.untrash button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unspam a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unspam button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.reply a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.reply button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.delete a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.delete button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.backend a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.backend button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.visit a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.visit button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.deactivate a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.deactivate button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.archive a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.archive button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unarchive a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unarchive button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.activate a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.activate button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.download a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.download button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.duplicate a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.duplicate button.button-link,.column-actions .cpac_use_icons+.row-actions>span.edit a,.column-actions .cpac_use_icons+.row-actions>span.edit button.button-link,.column-actions .cpac_use_icons+.row-actions>span.inline a,.column-actions .cpac_use_icons+.row-actions>span.inline button.button-link,.column-actions .cpac_use_icons+.row-actions>span.trash a,.column-actions .cpac_use_icons+.row-actions>span.trash button.button-link,.column-actions .cpac_use_icons+.row-actions>span.view a,.column-actions .cpac_use_icons+.row-actions>span.view button.button-link,.column-actions .cpac_use_icons+.row-actions>span.quickedit a,.column-actions .cpac_use_icons+.row-actions>span.quickedit button.button-link,.column-actions .cpac_use_icons+.row-actions>span.approve a,.column-actions .cpac_use_icons+.row-actions>span.approve button.button-link,.column-actions .cpac_use_icons+.row-actions>span.unapprove a,.column-actions .cpac_use_icons+.row-actions>span.unapprove button.button-link,.column-actions .cpac_use_icons+.row-actions>span.spam a,.column-actions .cpac_use_icons+.row-actions>span.spam button.button-link,.column-actions .cpac_use_icons+.row-actions>span.untrash a,.column-actions .cpac_use_icons+.row-actions>span.untrash button.button-link,.column-actions .cpac_use_icons+.row-actions>span.unspam a,.column-actions .cpac_use_icons+.row-actions>span.unspam button.button-link,.column-actions .cpac_use_icons+.row-actions>span.reply a,.column-actions .cpac_use_icons+.row-actions>span.reply button.button-link,.column-actions .cpac_use_icons+.row-actions>span.delete a,.column-actions .cpac_use_icons+.row-actions>span.delete button.button-link,.column-actions .cpac_use_icons+.row-actions>span.backend a,.column-actions .cpac_use_icons+.row-actions>span.backend button.button-link,.column-actions .cpac_use_icons+.row-actions>span.visit a,.column-actions .cpac_use_icons+.row-actions>span.visit button.button-link,.column-actions .cpac_use_icons+.row-actions>span.deactivate a,.column-actions .cpac_use_icons+.row-actions>span.deactivate button.button-link,.column-actions .cpac_use_icons+.row-actions>span.archive a,.column-actions .cpac_use_icons+.row-actions>span.archive button.button-link,.column-actions .cpac_use_icons+.row-actions>span.unarchive a,.column-actions .cpac_use_icons+.row-actions>span.unarchive button.button-link,.column-actions .cpac_use_icons+.row-actions>span.activate a,.column-actions .cpac_use_icons+.row-actions>span.activate button.button-link,.column-actions .cpac_use_icons+.row-actions>span.download a,.column-actions .cpac_use_icons+.row-actions>span.download button.button-link,.column-actions .cpac_use_icons+.row-actions>span.duplicate a,.column-actions .cpac_use_icons+.row-actions>span.duplicate button.button-link{text-indent:-3000em}.column-actions .cpac_use_icons+.hidden+.row-actions>span.edit a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.edit button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.view a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.view button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.quickedit a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.quickedit button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.approve a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.approve button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unapprove a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unapprove button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.spam a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.spam button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.untrash a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.untrash button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unspam a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unspam button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.reply a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.reply button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.delete a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.delete button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.backend a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.backend button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.visit a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.visit button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.deactivate a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.deactivate button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.archive a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.archive button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unarchive a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unarchive button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.activate a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.activate button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.download a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.download button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.duplicate a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.duplicate button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.edit a:before,.column-actions .cpac_use_icons+.row-actions>span.edit button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.inline a:before,.column-actions .cpac_use_icons+.row-actions>span.inline button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.trash a:before,.column-actions .cpac_use_icons+.row-actions>span.trash button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.view a:before,.column-actions .cpac_use_icons+.row-actions>span.view button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.quickedit a:before,.column-actions .cpac_use_icons+.row-actions>span.quickedit button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.approve a:before,.column-actions .cpac_use_icons+.row-actions>span.approve button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.unapprove a:before,.column-actions .cpac_use_icons+.row-actions>span.unapprove button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.spam a:before,.column-actions .cpac_use_icons+.row-actions>span.spam button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.untrash a:before,.column-actions .cpac_use_icons+.row-actions>span.untrash button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.unspam a:before,.column-actions .cpac_use_icons+.row-actions>span.unspam button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.reply a:before,.column-actions .cpac_use_icons+.row-actions>span.reply button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.delete a:before,.column-actions .cpac_use_icons+.row-actions>span.delete button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.backend a:before,.column-actions .cpac_use_icons+.row-actions>span.backend button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.visit a:before,.column-actions .cpac_use_icons+.row-actions>span.visit button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.deactivate a:before,.column-actions .cpac_use_icons+.row-actions>span.deactivate button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.archive a:before,.column-actions .cpac_use_icons+.row-actions>span.archive button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.unarchive a:before,.column-actions .cpac_use_icons+.row-actions>span.unarchive button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.activate a:before,.column-actions .cpac_use_icons+.row-actions>span.activate button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.download a:before,.column-actions .cpac_use_icons+.row-actions>span.download button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.duplicate a:before,.column-actions .cpac_use_icons+.row-actions>span.duplicate button.button-link:before{text-indent:0;font-family:Dashicons,sans-serif}.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline.quickedit a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.inline a:before,.column-actions .cpac_use_icons+.row-actions>span.inline.quickedit a:before,.column-actions .cpac_use_icons+.row-actions>span.inline button.button-link:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash a,.column-actions .cpac_use_icons+.row-actions>span.trash a{border-radius:3px;border:1px solid #ccc}.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash a:before,.column-actions .cpac_use_icons+.row-actions>span.trash a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash a:hover,.column-actions .cpac_use_icons+.row-actions>span.trash a:hover{border-color:#999}.column-actions .cpac_use_icons+.hidden+.row-actions>span.edit a,.column-actions .cpac_use_icons+.row-actions>span.edit a{padding-left:4px;padding-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.edit a:before,.column-actions .cpac_use_icons+.row-actions>span.edit a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.duplicate a,.column-actions .cpac_use_icons+.row-actions>span.duplicate a{padding-left:4px;padding-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.duplicate a:before,.column-actions .cpac_use_icons+.row-actions>span.duplicate a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.view a,.column-actions .cpac_use_icons+.row-actions>span.view a{padding-left:4px;padding-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.view a:before,.column-actions .cpac_use_icons+.row-actions>span.view a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.unapprove a,.column-actions .cpac_use_icons+.row-actions>span.unapprove a{padding-left:4px;padding-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.unapprove a:before,.column-actions .cpac_use_icons+.row-actions>span.unapprove a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.approve a,.column-actions .cpac_use_icons+.row-actions>span.approve a{padding-left:4px;padding-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.approve a:before,.column-actions .cpac_use_icons+.row-actions>span.approve a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.spam a,.column-actions .cpac_use_icons+.row-actions>span.spam a{padding-left:4px;padding-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.spam a:before,.column-actions .cpac_use_icons+.row-actions>span.spam a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.reply a,.column-actions .cpac_use_icons+.row-actions>span.reply a{padding-left:4px;padding-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.reply a:before,.column-actions .cpac_use_icons+.row-actions>span.reply a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.untrash a,.column-actions .cpac_use_icons+.row-actions>span.untrash a{padding-left:4px;padding-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.untrash a:before,.column-actions .cpac_use_icons+.row-actions>span.untrash a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.unspam a,.column-actions .cpac_use_icons+.row-actions>span.unspam a{padding-left:4px;padding-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.unspam a:before,.column-actions .cpac_use_icons+.row-actions>span.unspam a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.delete a,.column-actions .cpac_use_icons+.row-actions>span.delete a{padding-left:4px;padding-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.delete a:before,.column-actions .cpac_use_icons+.row-actions>span.delete a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.backend a,.column-actions .cpac_use_icons+.row-actions>span.backend a{padding-left:4px;padding-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.backend a:before,.column-actions .cpac_use_icons+.row-actions>span.backend a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.visit a,.column-actions .cpac_use_icons+.row-actions>span.visit a{padding-left:4px;padding-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.visit a:before,.column-actions .cpac_use_icons+.row-actions>span.visit a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.deactivate a,.column-actions .cpac_use_icons+.row-actions>span.deactivate a{padding-left:4px;padding-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.deactivate a:before,.column-actions .cpac_use_icons+.row-actions>span.deactivate a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.archive a,.column-actions .cpac_use_icons+.row-actions>span.archive a{padding-left:4px;padding-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.archive a:before,.column-actions .cpac_use_icons+.row-actions>span.archive a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.unarchive a,.column-actions .cpac_use_icons+.row-actions>span.unarchive a{padding-left:4px;padding-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.unarchive a:before,.column-actions .cpac_use_icons+.row-actions>span.unarchive a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.activate a,.column-actions .cpac_use_icons+.row-actions>span.activate a{padding-left:4px;padding-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.activate a:before,.column-actions .cpac_use_icons+.row-actions>span.activate a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.download a,.column-actions .cpac_use_icons+.row-actions>span.download a{padding-left:4px;padding-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.download a:before,.column-actions .cpac_use_icons+.row-actions>span.download a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.resetpassword a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.resetpassword button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.switch_to_user a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.switch_to_user button.button-link,.column-actions .cpac_use_icons+.row-actions>span.resetpassword a,.column-actions .cpac_use_icons+.row-actions>span.resetpassword button.button-link,.column-actions .cpac_use_icons+.row-actions>span.switch_to_user a,.column-actions .cpac_use_icons+.row-actions>span.switch_to_user button.button-link{text-indent:-3000em}.column-actions .cpac_use_icons+.hidden+.row-actions>span.resetpassword a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.resetpassword button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.switch_to_user a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.switch_to_user button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.resetpassword a:before,.column-actions .cpac_use_icons+.row-actions>span.resetpassword button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.switch_to_user a:before,.column-actions .cpac_use_icons+.row-actions>span.switch_to_user button.button-link:before{font-size:13px;text-indent:0;font-family:cpac_icons,sans-serif}.column-actions .cpac_use_icons+.hidden+.row-actions>span.resetpassword a:before,.column-actions .cpac_use_icons+.row-actions>span.resetpassword a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.switch_to_user a:before,.column-actions .cpac_use_icons+.row-actions>span.switch_to_user a:before{content:""}.column-actions .cpac_use_icons+.hidden+.row-actions>span.copy,.column-actions .cpac_use_icons+.row-actions>span.copy{background:red}.column-actions .cpac_use_icons+.hidden+.row-actions>span.copy .copy-to-clipboard-container button,.column-actions .cpac_use_icons+.row-actions>span.copy .copy-to-clipboard-container button{text-indent:-3000em;zoom:0}.column-actions .cpac_use_icons+.hidden+.row-actions>span.copy .copy-to-clipboard-container button:before,.column-actions .cpac_use_icons+.row-actions>span.copy .copy-to-clipboard-container button:before{font-family:Dashicons;content:""}@media screen and (max-width: 782px){.wp-list-table.widefat thead th{display:none}.wp-list-table.widefat thead th.column-primary{display:table-cell}.wp-list-table.widefat tbody tr:not(.inline-edit-row):not(.no-items) td{display:none}.wp-list-table.widefat tbody tr:not(.inline-edit-row):not(.no-items) td.column-primary{display:block}}.ac-tip{display:inline-block}.ac-table-actions{display:none;position:relative;z-index:20;float:left;white-space:nowrap;margin-right:5px;margin-left:1px;margin-bottom:5px}.ac-table-actions.-init{display:block}.ac-table-actions .ac-table-actions-buttons{white-space:nowrap;display:inline-flex;height:30px;box-sizing:border-box;vertical-align:top;border:1px solid var(--ac-button-border);border-radius:3px;overflow:hidden}.ac-table-actions .ac-table-actions-buttons .ac-table-button{display:flex}.ac-table-actions .ac-table-button{display:inline-block;padding:2px 12px;cursor:pointer;color:var(--ac-button-color);border-right:1px solid var(--ac-button-border);background:var(--ac-button-bg);text-decoration:none;font-size:13px;height:24px;line-height:24px;text-align:center}.ac-table-actions .ac-table-button:last-child{border-right:none !important}.ac-table-actions .ac-table-button:hover,.ac-table-actions .ac-table-button:focus,.ac-table-actions .ac-table-button:active{outline:none;box-shadow:none;background-color:#f0f0f1;color:var(--ac-button-hover)}.ac-table-actions .ac-table-button .dashicons{font-size:14px;width:14px;height:14px;line-height:24px}.ac-table-actions .ac-table-button.disabled{background:#ddd;color:#484848;cursor:not-allowed}.ac-table-actions .ac-table-button.active{background:#00a0d2;border:1px solid #008ec2;color:#fff}.ac-table-actions .ac-table-button.active+.ac-table-button{border-left:none}.ac-table-actions .ac-table-button.-inline-edit .dashicons{font-size:18px;margin-left:-2px}.ac-table-actions .ac-table-button.-toggle{background:none;border:1px solid rgba(0,0,0,0);padding-left:4px;padding-right:4px;transform:translateY(-1px)}.ac-table-actions .ac-table-button.-toggle .ac-toggle__switch{vertical-align:middle;margin-top:-3px;margin-right:1px;color:#888}.ac-table-actions .ac-table-button__caret{display:inline-block;vertical-align:middle;width:0;height:0;border-left:3px solid rgba(0,0,0,0);border-right:3px solid rgba(0,0,0,0);border-top:4px solid #6f6f6f;transition:transform .2s}.ac-table-actions .ac-table-button.-open{color:#0072aa}.ac-table-actions .ac-table-button.-open .ac-table-button__caret{transform:rotate(180deg)}.hide-column-tog+span .dashicons{transform:translateY(5px);margin-left:3px}.ac-value-modal-container .ac-modal-images-container{display:grid;grid-template-columns:repeat(4, 1fr);grid-auto-rows:min-content;grid-gap:10px;width:100%}@media screen and (max-width: 782px){.ac-value-modal-container .ac-modal-images-container{grid-template-columns:repeat(2, 1fr)}}.ac-value-modal-container .ac-modal-images-container .ac-image-container{border:1px solid #c3c4c7;box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff;margin-bottom:0;border-radius:2px}.ac-value-modal-container .ac-modal-images-container .ac-image-container .ac-image-center img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.ac-value-modal-container .ac-modal-images-container .ac-image-container .ac-image-meta{padding:6px 0}.ac-value-modal-container .ac-modal-images-container .ac-image-container .ac-image-meta .ac-image-meta-item{word-break:break-word;padding:6px 10px 8px} diff --git a/assets/js/admin-general.js b/assets/js/admin-general.js index 1dfa5625f..ce4f0bbb8 100644 --- a/assets/js/admin-general.js +++ b/assets/js/admin-general.js @@ -1,6375 +1,2 @@ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./js/components/PointerModal.svelte": -/*!*******************************************!*\ - !*** ./js/components/PointerModal.svelte ***! - \*******************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var svelte_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! svelte/internal */ "./node_modules/svelte/src/runtime/internal/index.js"); -/* harmony import */ var svelte_internal_disclose_version__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! svelte/internal/disclose-version */ "./node_modules/svelte/src/runtime/internal/disclose-version/index.js"); -/* js/components/PointerModal.svelte generated by Svelte v4.2.0 */ - - -function create_fragment(ctx) { - let div2; - let div0; - let t; - let div1; - let div2_class_value; - let mounted; - let dispose; - return { - c() { - div2 = (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.element)("div"); - div0 = (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.element)("div"); - t = (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.space)(); - div1 = (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.element)("div"); - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.attr)(div0, "class", "ac-pointer-modal__arrow"); - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.attr)(div0, "data-pos", /*position*/ctx[1]); - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.attr)(div1, "class", "ac-pointer-modal__content"); - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.attr)(div2, "class", div2_class_value = "ac-pointer-modal -" + /*position*/ctx[1] + ""); - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.attr)(div2, "role", "none"); - }, - m(target, anchor) { - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.insert)(target, div2, anchor); - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.append)(div2, div0); - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.append)(div2, t); - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.append)(div2, div1); - div1.innerHTML = /*content*/ctx[0]; - if (!mounted) { - dispose = [(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.listen)(div2, "mouseenter", /*mouseenter_handler*/ctx[6]), (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.listen)(div2, "mouseleave", /*mouseleave_handler*/ctx[7])]; - mounted = true; - } - }, - p(ctx, [dirty]) { - if (dirty & /*position*/2) { - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.attr)(div0, "data-pos", /*position*/ctx[1]); - } - if (dirty & /*content*/1) div1.innerHTML = /*content*/ctx[0]; - ; - if (dirty & /*position*/2 && div2_class_value !== (div2_class_value = "ac-pointer-modal -" + /*position*/ctx[1] + "")) { - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.attr)(div2, "class", div2_class_value); - } - }, - i: svelte_internal__WEBPACK_IMPORTED_MODULE_0__.noop, - o: svelte_internal__WEBPACK_IMPORTED_MODULE_0__.noop, - d(detaching) { - if (detaching) { - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.detach)(div2); - } - mounted = false; - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.run_all)(dispose); - } - }; -} -function instance($$self, $$props, $$invalidate) { - let { - content = '' - } = $$props; - let { - position = '' - } = $$props; - let onElement = false; - let { - closeHandler - } = $$props; - const isOnElement = () => { - return onElement; - }; - const checkLeave = () => { - $$invalidate(2, onElement = false); - closeHandler(); - }; - const mouseenter_handler = () => $$invalidate(2, onElement = true); - const mouseleave_handler = () => checkLeave(); - $$self.$$set = $$props => { - if ('content' in $$props) $$invalidate(0, content = $$props.content); - if ('position' in $$props) $$invalidate(1, position = $$props.position); - if ('closeHandler' in $$props) $$invalidate(4, closeHandler = $$props.closeHandler); - }; - return [content, position, onElement, checkLeave, closeHandler, isOnElement, mouseenter_handler, mouseleave_handler]; -} -class PointerModal extends svelte_internal__WEBPACK_IMPORTED_MODULE_0__.SvelteComponent { - constructor(options) { - super(); - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.init)(this, options, instance, create_fragment, svelte_internal__WEBPACK_IMPORTED_MODULE_0__.safe_not_equal, { - content: 0, - position: 1, - closeHandler: 4, - isOnElement: 5 - }); - } - get isOnElement() { - return this.$$.ctx[5]; - } -} -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PointerModal); - -/***/ }), - -/***/ "./ui/acui-toggle-buttons/AcToggleButtons.svelte": -/*!*******************************************************!*\ - !*** ./ui/acui-toggle-buttons/AcToggleButtons.svelte ***! - \*******************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var svelte_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! svelte/internal */ "./node_modules/svelte/src/runtime/internal/index.js"); -/* harmony import */ var svelte_internal_disclose_version__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! svelte/internal/disclose-version */ "./node_modules/svelte/src/runtime/internal/disclose-version/index.js"); -/* ui/acui-toggle-buttons/AcToggleButtons.svelte generated by Svelte v4.2.0 */ - - -function get_each_context(ctx, list, i) { - const child_ctx = ctx.slice(); - child_ctx[5] = list[i]; - return child_ctx; -} - -// (13:3) {#if value === option.value} -function create_if_block(ctx) { - let span; - return { - c() { - span = (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.element)("span"); - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.attr)(span, "class", "dashicons dashicons-yes"); - }, - m(target, anchor) { - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.insert)(target, span, anchor); - }, - d(detaching) { - if (detaching) { - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.detach)(span); - } - } - }; -} - -// (11:1) {#each options as option} -function create_each_block(ctx) { - let button; - let t0; - let t1_value = /*option*/ctx[5].label + ""; - let t1; - let t2; - let button_value_value; - let mounted; - let dispose; - let if_block = /*value*/ctx[0] === /*option*/ctx[5].value && create_if_block(ctx); - function click_handler() { - return (/*click_handler*/ctx[4]( /*option*/ctx[5]) - ); - } - return { - c() { - button = (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.element)("button"); - if (if_block) if_block.c(); - t0 = (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.space)(); - t1 = (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.text)(t1_value); - t2 = (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.space)(); - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.attr)(button, "class", "button"); - button.value = button_value_value = /*option*/ctx[5].value; - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.toggle_class)(button, "button-primary", /*value*/ctx[0] === /*option*/ctx[5].value); - }, - m(target, anchor) { - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.insert)(target, button, anchor); - if (if_block) if_block.m(button, null); - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.append)(button, t0); - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.append)(button, t1); - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.append)(button, t2); - if (!mounted) { - dispose = (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.listen)(button, "click", (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.prevent_default)(click_handler)); - mounted = true; - } - }, - p(new_ctx, dirty) { - ctx = new_ctx; - if ( /*value*/ctx[0] === /*option*/ctx[5].value) { - if (if_block) {} else { - if_block = create_if_block(ctx); - if_block.c(); - if_block.m(button, t0); - } - } else if (if_block) { - if_block.d(1); - if_block = null; - } - if (dirty & /*options*/2 && t1_value !== (t1_value = /*option*/ctx[5].label + "")) (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.set_data)(t1, t1_value); - if (dirty & /*options*/2 && button_value_value !== (button_value_value = /*option*/ctx[5].value)) { - button.value = button_value_value; - } - if (dirty & /*value, options*/3) { - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.toggle_class)(button, "button-primary", /*value*/ctx[0] === /*option*/ctx[5].value); - } - }, - d(detaching) { - if (detaching) { - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.detach)(button); - } - if (if_block) if_block.d(); - mounted = false; - dispose(); - } - }; -} -function create_fragment(ctx) { - let div; - let each_value = (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ensure_array_like)( /*options*/ctx[1]); - let each_blocks = []; - for (let i = 0; i < each_value.length; i += 1) { - each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i)); - } - return { - c() { - div = (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.element)("div"); - for (let i = 0; i < each_blocks.length; i += 1) { - each_blocks[i].c(); - } - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.attr)(div, "class", "acui-toggle-buttons"); - }, - m(target, anchor) { - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.insert)(target, div, anchor); - for (let i = 0; i < each_blocks.length; i += 1) { - if (each_blocks[i]) { - each_blocks[i].m(div, null); - } - } - }, - p(ctx, [dirty]) { - if (dirty & /*options, value, handleValue*/7) { - each_value = (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ensure_array_like)( /*options*/ctx[1]); - let i; - for (i = 0; i < each_value.length; i += 1) { - const child_ctx = get_each_context(ctx, each_value, i); - if (each_blocks[i]) { - each_blocks[i].p(child_ctx, dirty); - } else { - each_blocks[i] = create_each_block(child_ctx); - each_blocks[i].c(); - each_blocks[i].m(div, null); - } - } - for (; i < each_blocks.length; i += 1) { - each_blocks[i].d(1); - } - each_blocks.length = each_value.length; - } - }, - i: svelte_internal__WEBPACK_IMPORTED_MODULE_0__.noop, - o: svelte_internal__WEBPACK_IMPORTED_MODULE_0__.noop, - d(detaching) { - if (detaching) { - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.detach)(div); - } - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.destroy_each)(each_blocks, detaching); - } - }; -} -function instance($$self, $$props, $$invalidate) { - let { - value - } = $$props; - let { - options - } = $$props; - let { - onChange - } = $$props; - const handleValue = v => { - $$invalidate(0, value = v); - onChange(v); - }; - const click_handler = option => handleValue(option.value); - $$self.$$set = $$props => { - if ('value' in $$props) $$invalidate(0, value = $$props.value); - if ('options' in $$props) $$invalidate(1, options = $$props.options); - if ('onChange' in $$props) $$invalidate(3, onChange = $$props.onChange); - }; - return [value, options, handleValue, onChange, click_handler]; -} -class AcToggleButtons extends svelte_internal__WEBPACK_IMPORTED_MODULE_0__.SvelteComponent { - constructor(options) { - super(); - (0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.init)(this, options, instance, create_fragment, svelte_internal__WEBPACK_IMPORTED_MODULE_0__.safe_not_equal, { - value: 0, - options: 1, - onChange: 3 - }); - } -} -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AcToggleButtons); - -/***/ }), - -/***/ "./node_modules/js-cookie/src/js.cookie.js": -/*!*************************************************!*\ - !*** ./node_modules/js-cookie/src/js.cookie.js ***! - \*************************************************/ -/***/ ((module, exports, __webpack_require__) => { - -var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! - * JavaScript Cookie v2.2.1 - * https://github.com/js-cookie/js-cookie - * - * Copyright 2006, 2015 Klaus Hartl & Fagner Brack - * Released under the MIT license - */ -;(function (factory) { - var registeredInModuleLoader; - if (true) { - !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), - __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? - (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : - __WEBPACK_AMD_DEFINE_FACTORY__), - __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); - registeredInModuleLoader = true; - } - if (true) { - module.exports = factory(); - registeredInModuleLoader = true; - } - if (!registeredInModuleLoader) { - var OldCookies = window.Cookies; - var api = window.Cookies = factory(); - api.noConflict = function () { - window.Cookies = OldCookies; - return api; - }; - } -}(function () { - function extend () { - var i = 0; - var result = {}; - for (; i < arguments.length; i++) { - var attributes = arguments[ i ]; - for (var key in attributes) { - result[key] = attributes[key]; - } - } - return result; - } - - function decode (s) { - return s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent); - } - - function init (converter) { - function api() {} - - function set (key, value, attributes) { - if (typeof document === 'undefined') { - return; - } - - attributes = extend({ - path: '/' - }, api.defaults, attributes); - - if (typeof attributes.expires === 'number') { - attributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5); - } - - // We're using "expires" because "max-age" is not supported by IE - attributes.expires = attributes.expires ? attributes.expires.toUTCString() : ''; - - try { - var result = JSON.stringify(value); - if (/^[\{\[]/.test(result)) { - value = result; - } - } catch (e) {} - - value = converter.write ? - converter.write(value, key) : - encodeURIComponent(String(value)) - .replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent); - - key = encodeURIComponent(String(key)) - .replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent) - .replace(/[\(\)]/g, escape); - - var stringifiedAttributes = ''; - for (var attributeName in attributes) { - if (!attributes[attributeName]) { - continue; - } - stringifiedAttributes += '; ' + attributeName; - if (attributes[attributeName] === true) { - continue; - } - - // Considers RFC 6265 section 5.2: - // ... - // 3. If the remaining unparsed-attributes contains a %x3B (";") - // character: - // Consume the characters of the unparsed-attributes up to, - // not including, the first %x3B (";") character. - // ... - stringifiedAttributes += '=' + attributes[attributeName].split(';')[0]; - } - - return (document.cookie = key + '=' + value + stringifiedAttributes); - } - - function get (key, json) { - if (typeof document === 'undefined') { - return; - } - - var jar = {}; - // To prevent the for loop in the first place assign an empty array - // in case there are no cookies at all. - var cookies = document.cookie ? document.cookie.split('; ') : []; - var i = 0; - - for (; i < cookies.length; i++) { - var parts = cookies[i].split('='); - var cookie = parts.slice(1).join('='); - - if (!json && cookie.charAt(0) === '"') { - cookie = cookie.slice(1, -1); - } - - try { - var name = decode(parts[0]); - cookie = (converter.read || converter)(cookie, name) || - decode(cookie); - - if (json) { - try { - cookie = JSON.parse(cookie); - } catch (e) {} - } - - jar[name] = cookie; - - if (key === name) { - break; - } - } catch (e) {} - } - - return key ? jar[key] : jar; - } - - api.set = set; - api.get = function (key) { - return get(key, false /* read as raw */); - }; - api.getJSON = function (key) { - return get(key, true /* read as json */); - }; - api.remove = function (key, attributes) { - set(key, '', extend(attributes, { - expires: -1 - })); - }; - - api.defaults = {}; - - api.withConverter = init; - - return api; - } - - return init(function () {}); -})); - - -/***/ }), - -/***/ "./node_modules/nanoassert/index.js": -/*!******************************************!*\ - !*** ./node_modules/nanoassert/index.js ***! - \******************************************/ -/***/ ((module) => { - -assert.notEqual = notEqual -assert.notOk = notOk -assert.equal = equal -assert.ok = assert - -module.exports = assert - -function equal (a, b, m) { - assert(a == b, m) // eslint-disable-line eqeqeq -} - -function notEqual (a, b, m) { - assert(a != b, m) // eslint-disable-line eqeqeq -} - -function notOk (t, m) { - assert(!t, m) -} - -function assert (t, m) { - if (!t) throw new Error(m || 'AssertionError') -} - - -/***/ }), - -/***/ "./node_modules/nanobus/index.js": -/*!***************************************!*\ - !*** ./node_modules/nanobus/index.js ***! - \***************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var splice = __webpack_require__(/*! remove-array-items */ "./node_modules/remove-array-items/index.js") -var nanotiming = __webpack_require__(/*! nanotiming */ "./node_modules/nanotiming/browser.js") -var assert = __webpack_require__(/*! assert */ "./node_modules/nanoassert/index.js") - -module.exports = Nanobus - -function Nanobus (name) { - if (!(this instanceof Nanobus)) return new Nanobus(name) - - this._name = name || 'nanobus' - this._starListeners = [] - this._listeners = {} -} - -Nanobus.prototype.emit = function (eventName) { - assert.ok(typeof eventName === 'string' || typeof eventName === 'symbol', 'nanobus.emit: eventName should be type string or symbol') - - var data = [] - for (var i = 1, len = arguments.length; i < len; i++) { - data.push(arguments[i]) - } - - var emitTiming = nanotiming(this._name + "('" + eventName.toString() + "')") - var listeners = this._listeners[eventName] - if (listeners && listeners.length > 0) { - this._emit(this._listeners[eventName], data) - } - - if (this._starListeners.length > 0) { - this._emit(this._starListeners, eventName, data, emitTiming.uuid) - } - emitTiming() - - return this -} - -Nanobus.prototype.on = Nanobus.prototype.addListener = function (eventName, listener) { - assert.ok(typeof eventName === 'string' || typeof eventName === 'symbol', 'nanobus.on: eventName should be type string or symbol') - assert.equal(typeof listener, 'function', 'nanobus.on: listener should be type function') - - if (eventName === '*') { - this._starListeners.push(listener) - } else { - if (!this._listeners[eventName]) this._listeners[eventName] = [] - this._listeners[eventName].push(listener) - } - return this -} - -Nanobus.prototype.prependListener = function (eventName, listener) { - assert.ok(typeof eventName === 'string' || typeof eventName === 'symbol', 'nanobus.prependListener: eventName should be type string or symbol') - assert.equal(typeof listener, 'function', 'nanobus.prependListener: listener should be type function') - - if (eventName === '*') { - this._starListeners.unshift(listener) - } else { - if (!this._listeners[eventName]) this._listeners[eventName] = [] - this._listeners[eventName].unshift(listener) - } - return this -} - -Nanobus.prototype.once = function (eventName, listener) { - assert.ok(typeof eventName === 'string' || typeof eventName === 'symbol', 'nanobus.once: eventName should be type string or symbol') - assert.equal(typeof listener, 'function', 'nanobus.once: listener should be type function') - - var self = this - this.on(eventName, once) - function once () { - listener.apply(self, arguments) - self.removeListener(eventName, once) - } - return this -} - -Nanobus.prototype.prependOnceListener = function (eventName, listener) { - assert.ok(typeof eventName === 'string' || typeof eventName === 'symbol', 'nanobus.prependOnceListener: eventName should be type string or symbol') - assert.equal(typeof listener, 'function', 'nanobus.prependOnceListener: listener should be type function') - - var self = this - this.prependListener(eventName, once) - function once () { - listener.apply(self, arguments) - self.removeListener(eventName, once) - } - return this -} - -Nanobus.prototype.removeListener = function (eventName, listener) { - assert.ok(typeof eventName === 'string' || typeof eventName === 'symbol', 'nanobus.removeListener: eventName should be type string or symbol') - assert.equal(typeof listener, 'function', 'nanobus.removeListener: listener should be type function') - - if (eventName === '*') { - this._starListeners = this._starListeners.slice() - return remove(this._starListeners, listener) - } else { - if (typeof this._listeners[eventName] !== 'undefined') { - this._listeners[eventName] = this._listeners[eventName].slice() - } - - return remove(this._listeners[eventName], listener) - } - - function remove (arr, listener) { - if (!arr) return - var index = arr.indexOf(listener) - if (index !== -1) { - splice(arr, index, 1) - return true - } - } -} - -Nanobus.prototype.removeAllListeners = function (eventName) { - if (eventName) { - if (eventName === '*') { - this._starListeners = [] - } else { - this._listeners[eventName] = [] - } - } else { - this._starListeners = [] - this._listeners = {} - } - return this -} - -Nanobus.prototype.listeners = function (eventName) { - var listeners = eventName !== '*' - ? this._listeners[eventName] - : this._starListeners - - var ret = [] - if (listeners) { - var ilength = listeners.length - for (var i = 0; i < ilength; i++) ret.push(listeners[i]) - } - return ret -} - -Nanobus.prototype._emit = function (arr, eventName, data, uuid) { - if (typeof arr === 'undefined') return - if (arr.length === 0) return - if (data === undefined) { - data = eventName - eventName = null - } - - if (eventName) { - if (uuid !== undefined) { - data = [eventName].concat(data, uuid) - } else { - data = [eventName].concat(data) - } - } - - var length = arr.length - for (var i = 0; i < length; i++) { - var listener = arr[i] - listener.apply(listener, data) - } -} - - -/***/ }), - -/***/ "./node_modules/nanoscheduler/index.js": -/*!*********************************************!*\ - !*** ./node_modules/nanoscheduler/index.js ***! - \*********************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var assert = __webpack_require__(/*! assert */ "./node_modules/nanoassert/index.js") - -var hasWindow = typeof window !== 'undefined' - -function createScheduler () { - var scheduler - if (hasWindow) { - if (!window._nanoScheduler) window._nanoScheduler = new NanoScheduler(true) - scheduler = window._nanoScheduler - } else { - scheduler = new NanoScheduler() - } - return scheduler -} - -function NanoScheduler (hasWindow) { - this.hasWindow = hasWindow - this.hasIdle = this.hasWindow && window.requestIdleCallback - this.method = this.hasIdle ? window.requestIdleCallback.bind(window) : this.setTimeout - this.scheduled = false - this.queue = [] -} - -NanoScheduler.prototype.push = function (cb) { - assert.equal(typeof cb, 'function', 'nanoscheduler.push: cb should be type function') - - this.queue.push(cb) - this.schedule() -} - -NanoScheduler.prototype.schedule = function () { - if (this.scheduled) return - - this.scheduled = true - var self = this - this.method(function (idleDeadline) { - var cb - while (self.queue.length && idleDeadline.timeRemaining() > 0) { - cb = self.queue.shift() - cb(idleDeadline) - } - self.scheduled = false - if (self.queue.length) self.schedule() - }) -} - -NanoScheduler.prototype.setTimeout = function (cb) { - setTimeout(cb, 0, { - timeRemaining: function () { - return 1 - } - }) -} - -module.exports = createScheduler - - -/***/ }), - -/***/ "./node_modules/nanotiming/browser.js": -/*!********************************************!*\ - !*** ./node_modules/nanotiming/browser.js ***! - \********************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var scheduler = __webpack_require__(/*! nanoscheduler */ "./node_modules/nanoscheduler/index.js")() -var assert = __webpack_require__(/*! assert */ "./node_modules/nanoassert/index.js") - -var perf -nanotiming.disabled = true -try { - perf = window.performance - nanotiming.disabled = window.localStorage.DISABLE_NANOTIMING === 'true' || !perf.mark -} catch (e) { } - -module.exports = nanotiming - -function nanotiming (name) { - assert.equal(typeof name, 'string', 'nanotiming: name should be type string') - - if (nanotiming.disabled) return noop - - var uuid = (perf.now() * 10000).toFixed() % Number.MAX_SAFE_INTEGER - var startName = 'start-' + uuid + '-' + name - perf.mark(startName) - - function end (cb) { - var endName = 'end-' + uuid + '-' + name - perf.mark(endName) - - scheduler.push(function () { - var err = null - try { - var measureName = name + ' [' + uuid + ']' - perf.measure(measureName, startName, endName) - perf.clearMarks(startName) - perf.clearMarks(endName) - } catch (e) { err = e } - if (cb) cb(err, name) - }) - } - - end.uuid = uuid - return end -} - -function noop (cb) { - if (cb) { - scheduler.push(function () { - cb(new Error('nanotiming: performance API unavailable')) - }) - } -} - - -/***/ }), - -/***/ "./node_modules/remove-array-items/index.js": -/*!**************************************************!*\ - !*** ./node_modules/remove-array-items/index.js ***! - \**************************************************/ -/***/ ((module) => { - -"use strict"; - - -/** - * Remove a range of items from an array - * - * @function removeItems - * @param {Array<*>} arr The target array - * @param {number} startIdx The index to begin removing from (inclusive) - * @param {number} removeCount How many items to remove - */ -module.exports = function removeItems (arr, startIdx, removeCount) { - var i, length = arr.length - - if (startIdx >= length || removeCount === 0) { - return - } - - removeCount = (startIdx + removeCount > length ? length - startIdx : removeCount) - - var len = length - removeCount - - for (i = startIdx; i < len; ++i) { - arr[i] = arr[i + removeCount] - } - - arr.length = len -} - - -/***/ }), - -/***/ "./js/helpers/admin-columns.ts": -/*!*************************************!*\ - !*** ./js/helpers/admin-columns.ts ***! - \*************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ initAcServices: () => (/* binding */ initAcServices) -/* harmony export */ }); -/* harmony import */ var _modules_ac_services__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../modules/ac-services */ "./js/modules/ac-services.ts"); - -const initAcServices = () => { - if (!window.AC_SERVICES) { - window.AC_SERVICES = new _modules_ac_services__WEBPACK_IMPORTED_MODULE_0__["default"](); - } - return window.AC_SERVICES; -}; - - -/***/ }), - -/***/ "./js/helpers/html-element.ts": -/*!************************************!*\ - !*** ./js/helpers/html-element.ts ***! - \************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ AcHtmlElement) -/* harmony export */ }); -class AcHtmlElement { - constructor(element) { - this.element = element; - } - static find(selector) { - let element = document.querySelector(selector); - return element === null ? null : new AcHtmlElement(element); - } - static create(el) { - return new AcHtmlElement(document.createElement(el)); - } - getElement() { - return this.element; - } - addId(id) { - this.element.id = id; - return this; - } - toggleClass(className, add = null) { - if (add === null) { - return this.element.classList.contains(className) - ? this.removeClass(className) - : this.addClass(className); - } - return add - ? this.addClass(className) - : this.removeClasses(className); - } - addClass(className) { - this.element.classList.add(className); - return this; - } - addClasses(...classNames) { - classNames.forEach(className => this.addClass(className)); - return this; - } - removeClasses(...classNames) { - classNames.forEach(className => this.removeClass(className)); - return this; - } - removeClass(className) { - this.element.classList.remove(className); - return this; - } - setAttribute(name, value) { - this.element.setAttribute(name, value); - return this; - } - setAttributes(attributes) { - Object.keys(attributes).forEach(k => this.setAttribute(k, attributes[k])); - return this; - } - addHtml(html) { - this.element.innerHTML = html; - return this; - } - append(element) { - this.element.appendChild(element); - return this; - } - appendFound(selector) { - document.querySelectorAll(selector).forEach(el => this.append(el)); - return this; - } - appendSelfTo(element) { - element.append(this.element); - return this; - } - prepend(element) { - this.element.prepend(element); - return this; - } - prependSelfTo(element) { - element.prepend(this.element); - return this; - } - css(property, value) { - this.element.style[property] = value; - return this; - } - insertAfter(insertedElement) { - var _a; - try { - (_a = this.element.parentElement) === null || _a === void 0 ? void 0 : _a.insertBefore(insertedElement, this.element.nextElementSibling); - } - catch (e) { - console.error("Not able to insert element after current node", this.element); - } - } - insertSelfBefore(referenceNode) { - var _a; - try { - (_a = referenceNode.parentElement) === null || _a === void 0 ? void 0 : _a.insertBefore(this.element, referenceNode); - } - catch (e) { - console.error("Not able to insert element before current node", this.element); - } - return this; - } - insertBefore(insertedElement) { - var _a; - try { - (_a = this.element.parentElement) === null || _a === void 0 ? void 0 : _a.insertBefore(insertedElement, this.element); - } - catch (e) { - console.error("Not able to insert element before current node", this.element); - } - return this; - } - addEventListener(event, listener) { - this.element.addEventListener(event, listener); - return this; - } - addEventListeners(events, listener) { - events.forEach(e => this.addEventListener(e, listener)); - return this; - } - $() { - return this.getElement(); - } -} - - -/***/ }), - -/***/ "./js/modules/ac-hookable-filters.ts": -/*!*******************************************!*\ - !*** ./js/modules/ac-hookable-filters.ts ***! - \*******************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ AcHookableFilters) -/* harmony export */ }); -class AcHookableFilters { - constructor() { - this.filters = {}; - } - addFilter(name, callback, priority = 10) { - if (!this.filters.hasOwnProperty(name)) { - this.filters[name] = {}; - } - if (!this.filters[name].hasOwnProperty(priority)) { - this.filters[name][priority] = []; - } - this.filters[name][priority].push(callback); - } - applyFilters(name, value, payload = {}) { - if (!this.filters.hasOwnProperty(name)) { - return value; - } - Object.keys(this.filters[name]).forEach((priority) => { - this.filters[name][parseInt(priority)].forEach(cb => { - value = cb(value, payload); - }); - }); - return value; - } -} - - -/***/ }), - -/***/ "./js/modules/ac-pointer.ts": -/*!**********************************!*\ - !*** ./js/modules/ac-pointer.ts ***! - \**********************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Pointer: () => (/* binding */ Pointer), -/* harmony export */ initPointers: () => (/* binding */ initPointers) -/* harmony export */ }); -/* harmony import */ var _tooltips__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./tooltips */ "./js/modules/tooltips.ts"); -/* harmony import */ var _components_PointerModal_svelte__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/PointerModal.svelte */ "./js/components/PointerModal.svelte"); - - -class Pointer { - constructor(element, target) { - var _a, _b; - this.element = element; - this.target = target; - this.width = (_a = element.dataset.width) !== null && _a !== void 0 ? _a : null; - this.position = (_b = element.dataset.pos) !== null && _b !== void 0 ? _b : 'right'; - this.noClick = typeof element.dataset.noclick !== 'undefined'; - this.waitingForClose = false; - this.initEvents(); - } - initEvents() { - if (this.element.dataset.acTooltipInit === '1') { - return; - } - this.container = createPointerElement(); - if (this.width) { - this.container.style.width = `${this.width}px`; - } - this.attachModel(); - this.element.dataset.acTooltipInit = '1'; - this.element.addEventListener('mouseenter', () => { - if (this.onScreen) { - return; - } - this.onScreen = true; - document.body.appendChild(this.container); - this.container.style.width = `${this.width}px`; - this.setPosition(); - setTimeout(() => { - this.setPosition(); - }, 100); - }); - this.element.addEventListener('mouseleave', () => { - this.checkClose(); - }); - this.element.addEventListener('click', () => { - if (this.noClick) { - return; - } - this.waitingForClose = true; - }); - } - setPosition() { - const bodyOffset = document.body.getBoundingClientRect(); - const viewportOffset = this.element.getBoundingClientRect(); - this.container.style.top = ((viewportOffset.top - bodyOffset.top) + this.element.offsetHeight - (this.container.offsetHeight / 2) + 20) + 'px'; - switch (this.position) { - case 'right_bottom': - this.container.style.top = ((viewportOffset.top - bodyOffset.top) - this.container.offsetHeight + 100) + 'px'; - this.container.style.left = ((viewportOffset.left - bodyOffset.left) + this.element.offsetWidth + 14) + 'px'; - break; - case 'left': - this.container.style.left = ((viewportOffset.left - bodyOffset.left) - this.container.offsetWidth - 12) + 'px'; - break; - default: - this.container.style.left = ((viewportOffset.left - bodyOffset.left) + this.element.offsetWidth + 10) + 'px'; - } - } - checkClose() { - setTimeout(() => { - if (!this.waitingForClose) { - this.closeHandler(); - } - }, 50); - } - closeHandler() { - if (this.onScreen) { - document.body.removeChild(this.container); - this.onScreen = false; - this.waitingForClose = false; - } - } - destroyComponent() { - if (this.component !== null) { - this.component.$destroy(); - } - } - attachModel() { - this.component = new _components_PointerModal_svelte__WEBPACK_IMPORTED_MODULE_1__["default"]({ - target: this.container, - props: { - content: this.target.innerHTML, - position: this.position, - closeHandler: () => this.closeHandler(), - destroyHandler: () => this.destroyComponent() - } - }); - } -} -const createPointerElement = () => { - const element = document.createElement('div'); - element.classList.add('ac-pointer-modal-container'); - element.style.position = 'absolute'; - return element; -}; -const initPointers = (elements = null) => { - if (!elements) { - elements = document.querySelectorAll('.ac-pointer'); - } - elements.forEach(element => { - var _a; - let relElement = document.querySelector((_a = `#${element.getAttribute('rel')}`) !== null && _a !== void 0 ? _a : '#n'); - if (relElement) { - new Pointer(element, relElement); - } - }); - new _tooltips__WEBPACK_IMPORTED_MODULE_0__["default"](); -}; - - -/***/ }), - -/***/ "./js/modules/ac-section.ts": -/*!**********************************!*\ - !*** ./js/modules/ac-section.ts ***! - \**********************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ AcSection) -/* harmony export */ }); -let Cookies = __webpack_require__(/*! js-cookie */ "./node_modules/js-cookie/src/js.cookie.js"); -class AcSection { - constructor(el) { - this.element = el; - this.init(); - } - init() { - if (this.element.classList.contains('-closable')) { - const header = this.element.querySelector('.ac-section__header'); - if (header) { - header.addEventListener('click', () => { - this.toggle(); - }); - } - if (this.isStorable()) { - let setting = Cookies.get(this.getCookieKey()); - if (setting !== undefined) { - (parseInt(setting) === 1) ? this.open : this.close(); - } - } - } - } - getCookieKey() { - return `ac-section_${this.getSectionId()}`; - } - getSectionId() { - return this.element.dataset.section; - } - isStorable() { - return typeof this.element.dataset.section !== 'undefined'; - } - toggle() { - this.isOpen() ? this.close() : this.open(); - } - isOpen() { - return !this.element.classList.contains('-closed'); - } - open() { - this.element.classList.remove('-closed'); - if (this.isStorable()) { - Cookies.set(this.getCookieKey(), 1); - } - } - close() { - this.element.classList.add('-closed'); - if (this.isStorable()) { - Cookies.set(this.getCookieKey(), 0); - } - } -} - - -/***/ }), - -/***/ "./js/modules/ac-services.ts": -/*!***********************************!*\ - !*** ./js/modules/ac-services.ts ***! - \***********************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ AcServices) -/* harmony export */ }); -/* harmony import */ var nanobus__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! nanobus */ "./node_modules/nanobus/index.js"); -/* harmony import */ var nanobus__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(nanobus__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _helpers_html_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/html-element */ "./js/helpers/html-element.ts"); -/* harmony import */ var _ac_hookable_filters__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ac-hookable-filters */ "./js/modules/ac-hookable-filters.ts"); - - - -class AcServices { - constructor() { - this.services = {}; - this.events = new (nanobus__WEBPACK_IMPORTED_MODULE_0___default())(); - this.filters = new _ac_hookable_filters__WEBPACK_IMPORTED_MODULE_2__["default"](); - this.$ = _helpers_html_element__WEBPACK_IMPORTED_MODULE_1__["default"]; - } - registerService(name, service) { - this.services[name] = service; - this.events.emit(`Service.Registered.${name}`, service); - return this; - } - getService(name) { - return this.hasService(name) ? this.services[name] : null; - } - hasService(name) { - return this.services.hasOwnProperty(name); - } - addListener(name, callback) { - this.events.addListener(name, callback); - } - emitEvent(name, args) { - this.events.emit(name, args); - } -} - - -/***/ }), - -/***/ "./js/modules/tooltips.ts": -/*!********************************!*\ - !*** ./js/modules/tooltips.ts ***! - \********************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var _plugin_tooltip__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../plugin/tooltip */ "./js/plugin/tooltip.ts"); - -class Tooltips { - constructor() { - this.init(); - } - init() { - (0,_plugin_tooltip__WEBPACK_IMPORTED_MODULE_0__.initAcTooltips)(); - } -} -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tooltips); - - -/***/ }), - -/***/ "./js/plugin/tooltip.ts": -/*!******************************!*\ - !*** ./js/plugin/tooltip.ts ***! - \******************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Tooltip: () => (/* binding */ Tooltip), -/* harmony export */ initAcTooltips: () => (/* binding */ initAcTooltips) -/* harmony export */ }); -const initAcTooltips = () => { - document.querySelectorAll('.ac-tooltip').forEach(el => el.remove()); - document.querySelectorAll('[data-ac-tip]').forEach((element) => { - new Tooltip(element); - }); -}; -class Tooltip { - constructor(el, content = '') { - this.element = el; - this.content = content ? content : el.dataset.acTip; - this.tip = createTooltip(this.content); - this.initEvents(); - } - initEvents() { - if (this.element.dataset.acTooltipInit === '1') { - return; - } - this.element.dataset.acTooltipInit = '1'; - this.element.addEventListener('mouseenter', () => { - const bodyOffset = document.body.getBoundingClientRect(); - const viewportOffset = this.element.getBoundingClientRect(); - document.body.appendChild(this.tip); - this.tip.style.left = ((viewportOffset.left - bodyOffset.left) + this.element.offsetWidth / 2) + 'px'; - this.tip.style.top = ((viewportOffset.top - bodyOffset.top) + this.element.offsetHeight) + 'px'; - this.tip.classList.add('hover'); - }); - this.element.addEventListener('mouseleave', () => { - this.tip.classList.remove('hover'); - if (document.body.contains(this.tip)) { - document.body.removeChild(this.tip); - } - }); - this.element.removeAttribute('title'); - } -} -const createTooltip = (content) => { - let tip = document.createElement('div'); - tip.classList.add('ac-tooltip'); - tip.innerHTML = content; - return tip; -}; - - -/***/ }), - -/***/ "./js/ui-wrapper/functions.ts": -/*!************************************!*\ - !*** ./js/ui-wrapper/functions.ts ***! - \************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ initUiToggleButtons: () => (/* binding */ initUiToggleButtons) -/* harmony export */ }); -/* harmony import */ var _toggle_buttons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toggle-buttons */ "./js/ui-wrapper/toggle-buttons.ts"); - -const initUiToggleButtons = () => { - document.querySelectorAll('input[data-component="acui-toggle-buttons"]').forEach(input => { - new _toggle_buttons__WEBPACK_IMPORTED_MODULE_0__["default"](input); - }); -}; - - -/***/ }), - -/***/ "./js/ui-wrapper/toggle-buttons.ts": -/*!*****************************************!*\ - !*** ./js/ui-wrapper/toggle-buttons.ts ***! - \*****************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* binding */ AcuiToggleButtonsWrapper) -/* harmony export */ }); -/* harmony import */ var ACUi_acui_toggle_buttons_AcToggleButtons_svelte__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ACUi/acui-toggle-buttons/AcToggleButtons.svelte */ "./ui/acui-toggle-buttons/AcToggleButtons.svelte"); -/* harmony import */ var _helpers_html_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/html-element */ "./js/helpers/html-element.ts"); - - -class AcuiToggleButtonsWrapper { - constructor(input) { - this.input = input; - this.parseOptions(); - this.wrap(); - } - parseOptions() { - const dataOptions = this.input.dataset.options ? JSON.parse(this.input.dataset.options) : {}; - let options = []; - Object.keys(JSON.parse(this.input.dataset.options)).forEach(key => { - options.push({ value: key, label: dataOptions[key] }); - }); - this.options = options; - } - wrap() { - const wrapper = _helpers_html_element__WEBPACK_IMPORTED_MODULE_1__["default"].create('div').addClass('acui-plugin-toggle-buttons'); - const target = _helpers_html_element__WEBPACK_IMPORTED_MODULE_1__["default"].create('div'); - this.input.readOnly = true; - this.input.type = 'hidden'; - this.input.parentElement.insertBefore(wrapper.getElement(), this.input); - wrapper.append(this.input).append(target.getElement()); - new ACUi_acui_toggle_buttons_AcToggleButtons_svelte__WEBPACK_IMPORTED_MODULE_0__["default"]({ - target: target.getElement(), - props: { - onChange: (e) => { - this.input.value = e; - this.input.dispatchEvent(new Event('change')); - this.input.dispatchEvent(new Event('input')); - }, - value: this.input.value, - options: this.options - } - }); - } -} - - -/***/ }), - -/***/ "./node_modules/svelte/src/runtime/internal/Component.js": -/*!***************************************************************!*\ - !*** ./node_modules/svelte/src/runtime/internal/Component.js ***! - \***************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ SvelteComponent: () => (/* binding */ SvelteComponent), -/* harmony export */ SvelteElement: () => (/* binding */ SvelteElement), -/* harmony export */ bind: () => (/* binding */ bind), -/* harmony export */ claim_component: () => (/* binding */ claim_component), -/* harmony export */ create_component: () => (/* binding */ create_component), -/* harmony export */ create_custom_element: () => (/* binding */ create_custom_element), -/* harmony export */ destroy_component: () => (/* binding */ destroy_component), -/* harmony export */ init: () => (/* binding */ init), -/* harmony export */ mount_component: () => (/* binding */ mount_component) -/* harmony export */ }); -/* harmony import */ var _scheduler_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./scheduler.js */ "./node_modules/svelte/src/runtime/internal/scheduler.js"); -/* harmony import */ var _lifecycle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./lifecycle.js */ "./node_modules/svelte/src/runtime/internal/lifecycle.js"); -/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils.js */ "./node_modules/svelte/src/runtime/internal/utils.js"); -/* harmony import */ var _dom_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./dom.js */ "./node_modules/svelte/src/runtime/internal/dom.js"); -/* harmony import */ var _transitions_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./transitions.js */ "./node_modules/svelte/src/runtime/internal/transitions.js"); - - - - - - -/** @returns {void} */ -function bind(component, name, callback) { - const index = component.$$.props[name]; - if (index !== undefined) { - component.$$.bound[index] = callback; - callback(component.$$.ctx[index]); - } -} - -/** @returns {void} */ -function create_component(block) { - block && block.c(); -} - -/** @returns {void} */ -function claim_component(block, parent_nodes) { - block && block.l(parent_nodes); -} - -/** @returns {void} */ -function mount_component(component, target, anchor) { - const { fragment, after_update } = component.$$; - fragment && fragment.m(target, anchor); - // onMount happens before the initial afterUpdate - (0,_scheduler_js__WEBPACK_IMPORTED_MODULE_0__.add_render_callback)(() => { - const new_on_destroy = component.$$.on_mount.map(_utils_js__WEBPACK_IMPORTED_MODULE_2__.run).filter(_utils_js__WEBPACK_IMPORTED_MODULE_2__.is_function); - // if the component was destroyed immediately - // it will update the `$$.on_destroy` reference to `null`. - // the destructured on_destroy may still reference to the old array - if (component.$$.on_destroy) { - component.$$.on_destroy.push(...new_on_destroy); - } else { - // Edge case - component was destroyed immediately, - // most likely as a result of a binding initialising - (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.run_all)(new_on_destroy); - } - component.$$.on_mount = []; - }); - after_update.forEach(_scheduler_js__WEBPACK_IMPORTED_MODULE_0__.add_render_callback); -} - -/** @returns {void} */ -function destroy_component(component, detaching) { - const $$ = component.$$; - if ($$.fragment !== null) { - (0,_scheduler_js__WEBPACK_IMPORTED_MODULE_0__.flush_render_callbacks)($$.after_update); - (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.run_all)($$.on_destroy); - $$.fragment && $$.fragment.d(detaching); - // TODO null out other refs, including component.$$ (but need to - // preserve final state?) - $$.on_destroy = $$.fragment = null; - $$.ctx = []; - } -} - -/** @returns {void} */ -function make_dirty(component, i) { - if (component.$$.dirty[0] === -1) { - _scheduler_js__WEBPACK_IMPORTED_MODULE_0__.dirty_components.push(component); - (0,_scheduler_js__WEBPACK_IMPORTED_MODULE_0__.schedule_update)(); - component.$$.dirty.fill(0); - } - component.$$.dirty[(i / 31) | 0] |= 1 << i % 31; -} - -/** @returns {void} */ -function init( - component, - options, - instance, - create_fragment, - not_equal, - props, - append_styles, - dirty = [-1] -) { - const parent_component = _lifecycle_js__WEBPACK_IMPORTED_MODULE_1__.current_component; - (0,_lifecycle_js__WEBPACK_IMPORTED_MODULE_1__.set_current_component)(component); - /** @type {import('./private.js').T$$} */ - const $$ = (component.$$ = { - fragment: null, - ctx: [], - // state - props, - update: _utils_js__WEBPACK_IMPORTED_MODULE_2__.noop, - not_equal, - bound: (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.blank_object)(), - // lifecycle - on_mount: [], - on_destroy: [], - on_disconnect: [], - before_update: [], - after_update: [], - context: new Map(options.context || (parent_component ? parent_component.$$.context : [])), - // everything else - callbacks: (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.blank_object)(), - dirty, - skip_bound: false, - root: options.target || parent_component.$$.root - }); - append_styles && append_styles($$.root); - let ready = false; - $$.ctx = instance - ? instance(component, options.props || {}, (i, ret, ...rest) => { - const value = rest.length ? rest[0] : ret; - if ($$.ctx && not_equal($$.ctx[i], ($$.ctx[i] = value))) { - if (!$$.skip_bound && $$.bound[i]) $$.bound[i](value); - if (ready) make_dirty(component, i); - } - return ret; - }) - : []; - $$.update(); - ready = true; - (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.run_all)($$.before_update); - // `false` as a special case of no DOM component - $$.fragment = create_fragment ? create_fragment($$.ctx) : false; - if (options.target) { - if (options.hydrate) { - (0,_dom_js__WEBPACK_IMPORTED_MODULE_3__.start_hydrating)(); - const nodes = (0,_dom_js__WEBPACK_IMPORTED_MODULE_3__.children)(options.target); - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - $$.fragment && $$.fragment.l(nodes); - nodes.forEach(_dom_js__WEBPACK_IMPORTED_MODULE_3__.detach); - } else { - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - $$.fragment && $$.fragment.c(); - } - if (options.intro) (0,_transitions_js__WEBPACK_IMPORTED_MODULE_4__.transition_in)(component.$$.fragment); - mount_component(component, options.target, options.anchor); - (0,_dom_js__WEBPACK_IMPORTED_MODULE_3__.end_hydrating)(); - (0,_scheduler_js__WEBPACK_IMPORTED_MODULE_0__.flush)(); - } - (0,_lifecycle_js__WEBPACK_IMPORTED_MODULE_1__.set_current_component)(parent_component); -} - -let SvelteElement; - -if (typeof HTMLElement === 'function') { - SvelteElement = class extends HTMLElement { - /** The Svelte component constructor */ - $$ctor; - /** Slots */ - $$s; - /** The Svelte component instance */ - $$c; - /** Whether or not the custom element is connected */ - $$cn = false; - /** Component props data */ - $$d = {}; - /** `true` if currently in the process of reflecting component props back to attributes */ - $$r = false; - /** @type {Record} Props definition (name, reflected, type etc) */ - $$p_d = {}; - /** @type {Record} Event listeners */ - $$l = {}; - /** @type {Map} Event listener unsubscribe functions */ - $$l_u = new Map(); - - constructor($$componentCtor, $$slots, use_shadow_dom) { - super(); - this.$$ctor = $$componentCtor; - this.$$s = $$slots; - if (use_shadow_dom) { - this.attachShadow({ mode: 'open' }); - } - } - - addEventListener(type, listener, options) { - // We can't determine upfront if the event is a custom event or not, so we have to - // listen to both. If someone uses a custom event with the same name as a regular - // browser event, this fires twice - we can't avoid that. - this.$$l[type] = this.$$l[type] || []; - this.$$l[type].push(listener); - if (this.$$c) { - const unsub = this.$$c.$on(type, listener); - this.$$l_u.set(listener, unsub); - } - super.addEventListener(type, listener, options); - } - - removeEventListener(type, listener, options) { - super.removeEventListener(type, listener, options); - if (this.$$c) { - const unsub = this.$$l_u.get(listener); - if (unsub) { - unsub(); - this.$$l_u.delete(listener); - } - } - } - - async connectedCallback() { - this.$$cn = true; - if (!this.$$c) { - // We wait one tick to let possible child slot elements be created/mounted - await Promise.resolve(); - if (!this.$$cn) { - return; - } - function create_slot(name) { - return () => { - let node; - const obj = { - c: function create() { - node = (0,_dom_js__WEBPACK_IMPORTED_MODULE_3__.element)('slot'); - if (name !== 'default') { - (0,_dom_js__WEBPACK_IMPORTED_MODULE_3__.attr)(node, 'name', name); - } - }, - /** - * @param {HTMLElement} target - * @param {HTMLElement} [anchor] - */ - m: function mount(target, anchor) { - (0,_dom_js__WEBPACK_IMPORTED_MODULE_3__.insert)(target, node, anchor); - }, - d: function destroy(detaching) { - if (detaching) { - (0,_dom_js__WEBPACK_IMPORTED_MODULE_3__.detach)(node); - } - } - }; - return obj; - }; - } - const $$slots = {}; - const existing_slots = (0,_dom_js__WEBPACK_IMPORTED_MODULE_3__.get_custom_elements_slots)(this); - for (const name of this.$$s) { - if (name in existing_slots) { - $$slots[name] = [create_slot(name)]; - } - } - for (const attribute of this.attributes) { - // this.$$data takes precedence over this.attributes - const name = this.$$g_p(attribute.name); - if (!(name in this.$$d)) { - this.$$d[name] = get_custom_element_value(name, attribute.value, this.$$p_d, 'toProp'); - } - } - this.$$c = new this.$$ctor({ - target: this.shadowRoot || this, - props: { - ...this.$$d, - $$slots, - $$scope: { - ctx: [] - } - } - }); - - // Reflect component props as attributes - const reflect_attributes = () => { - this.$$r = true; - for (const key in this.$$p_d) { - this.$$d[key] = this.$$c.$$.ctx[this.$$c.$$.props[key]]; - if (this.$$p_d[key].reflect) { - const attribute_value = get_custom_element_value( - key, - this.$$d[key], - this.$$p_d, - 'toAttribute' - ); - if (attribute_value == null) { - this.removeAttribute(key); - } else { - this.setAttribute(this.$$p_d[key].attribute || key, attribute_value); - } - } - } - this.$$r = false; - }; - this.$$c.$$.after_update.push(reflect_attributes); - reflect_attributes(); // once initially because after_update is added too late for first render - - for (const type in this.$$l) { - for (const listener of this.$$l[type]) { - const unsub = this.$$c.$on(type, listener); - this.$$l_u.set(listener, unsub); - } - } - this.$$l = {}; - } - } - - // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte - // and setting attributes through setAttribute etc, this is helpful - attributeChangedCallback(attr, _oldValue, newValue) { - if (this.$$r) return; - attr = this.$$g_p(attr); - this.$$d[attr] = get_custom_element_value(attr, newValue, this.$$p_d, 'toProp'); - this.$$c?.$set({ [attr]: this.$$d[attr] }); - } - - disconnectedCallback() { - this.$$cn = false; - // In a microtask, because this could be a move within the DOM - Promise.resolve().then(() => { - if (!this.$$cn) { - this.$$c.$destroy(); - this.$$c = undefined; - } - }); - } - - $$g_p(attribute_name) { - return ( - Object.keys(this.$$p_d).find( - (key) => - this.$$p_d[key].attribute === attribute_name || - (!this.$$p_d[key].attribute && key.toLowerCase() === attribute_name) - ) || attribute_name - ); - } - }; -} - -/** - * @param {string} prop - * @param {any} value - * @param {Record} props_definition - * @param {'toAttribute' | 'toProp'} [transform] - */ -function get_custom_element_value(prop, value, props_definition, transform) { - const type = props_definition[prop]?.type; - value = type === 'Boolean' && typeof value !== 'boolean' ? value != null : value; - if (!transform || !props_definition[prop]) { - return value; - } else if (transform === 'toAttribute') { - switch (type) { - case 'Object': - case 'Array': - return value == null ? null : JSON.stringify(value); - case 'Boolean': - return value ? '' : null; - case 'Number': - return value == null ? null : value; - default: - return value; - } - } else { - switch (type) { - case 'Object': - case 'Array': - return value && JSON.parse(value); - case 'Boolean': - return value; // conversion already handled above - case 'Number': - return value != null ? +value : value; - default: - return value; - } - } -} - -/** - * @internal - * - * Turn a Svelte component into a custom element. - * @param {import('./public.js').ComponentType} Component A Svelte component constructor - * @param {Record} props_definition The props to observe - * @param {string[]} slots The slots to create - * @param {string[]} accessors Other accessors besides the ones for props the component has - * @param {boolean} use_shadow_dom Whether to use shadow DOM - * @param {(ce: new () => HTMLElement) => new () => HTMLElement} [extend] - */ -function create_custom_element( - Component, - props_definition, - slots, - accessors, - use_shadow_dom, - extend -) { - let Class = class extends SvelteElement { - constructor() { - super(Component, slots, use_shadow_dom); - this.$$p_d = props_definition; - } - static get observedAttributes() { - return Object.keys(props_definition).map((key) => - (props_definition[key].attribute || key).toLowerCase() - ); - } - }; - Object.keys(props_definition).forEach((prop) => { - Object.defineProperty(Class.prototype, prop, { - get() { - return this.$$c && prop in this.$$c ? this.$$c[prop] : this.$$d[prop]; - }, - set(value) { - value = get_custom_element_value(prop, value, props_definition); - this.$$d[prop] = value; - this.$$c?.$set({ [prop]: value }); - } - }); - }); - accessors.forEach((accessor) => { - Object.defineProperty(Class.prototype, accessor, { - get() { - return this.$$c?.[accessor]; - } - }); - }); - if (extend) { - // @ts-expect-error - assigning here is fine - Class = extend(Class); - } - Component.element = /** @type {any} */ (Class); - return Class; -} - -/** - * Base class for Svelte components. Used when dev=false. - * - * @template {Record} [Props=any] - * @template {Record} [Events=any] - */ -class SvelteComponent { - /** - * ### PRIVATE API - * - * Do not use, may change at any time - * - * @type {any} - */ - $$ = undefined; - /** - * ### PRIVATE API - * - * Do not use, may change at any time - * - * @type {any} - */ - $$set = undefined; - - /** @returns {void} */ - $destroy() { - destroy_component(this, 1); - this.$destroy = _utils_js__WEBPACK_IMPORTED_MODULE_2__.noop; - } - - /** - * @template {Extract} K - * @param {K} type - * @param {((e: Events[K]) => void) | null | undefined} callback - * @returns {() => void} - */ - $on(type, callback) { - if (!(0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.is_function)(callback)) { - return _utils_js__WEBPACK_IMPORTED_MODULE_2__.noop; - } - const callbacks = this.$$.callbacks[type] || (this.$$.callbacks[type] = []); - callbacks.push(callback); - return () => { - const index = callbacks.indexOf(callback); - if (index !== -1) callbacks.splice(index, 1); - }; - } - - /** - * @param {Partial} props - * @returns {void} - */ - $set(props) { - if (this.$$set && !(0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.is_empty)(props)) { - this.$$.skip_bound = true; - this.$$set(props); - this.$$.skip_bound = false; - } - } -} - -/** - * @typedef {Object} CustomElementPropDefinition - * @property {string} [attribute] - * @property {boolean} [reflect] - * @property {'String'|'Boolean'|'Number'|'Array'|'Object'} [type] - */ - - -/***/ }), - -/***/ "./node_modules/svelte/src/runtime/internal/ResizeObserverSingleton.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/svelte/src/runtime/internal/ResizeObserverSingleton.js ***! - \*****************************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ ResizeObserverSingleton: () => (/* binding */ ResizeObserverSingleton) -/* harmony export */ }); -/* harmony import */ var _globals_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./globals.js */ "./node_modules/svelte/src/runtime/internal/globals.js"); - - -/** - * Resize observer singleton. - * One listener per element only! - * https://groups.google.com/a/chromium.org/g/blink-dev/c/z6ienONUb5A/m/F5-VcUZtBAAJ - */ -class ResizeObserverSingleton { - /** - * @private - * @readonly - * @type {WeakMap} - */ - _listeners = "WeakMap" in _globals_js__WEBPACK_IMPORTED_MODULE_0__.globals ? new WeakMap() : undefined; - - /** - * @private - * @type {ResizeObserver} - */ - _observer = undefined; - - /** @type {ResizeObserverOptions} */ - options; - - /** @param {ResizeObserverOptions} options */ - constructor(options) { - this.options = options; - } - - /** - * @param {Element} element - * @param {import('./private.js').Listener} listener - * @returns {() => void} - */ - observe(element, listener) { - this._listeners.set(element, listener); - this._getObserver().observe(element, this.options); - return () => { - this._listeners.delete(element); - this._observer.unobserve(element); // this line can probably be removed - }; - } - - /** - * @private - */ - _getObserver() { - return ( - this._observer ?? - (this._observer = new ResizeObserver((entries) => { - for (const entry of entries) { - ResizeObserverSingleton.entries.set(entry.target, entry); - this._listeners.get(entry.target)?.(entry); - } - })) - ); - } -} - -// Needs to be written like this to pass the tree-shake-test -ResizeObserverSingleton.entries = "WeakMap" in _globals_js__WEBPACK_IMPORTED_MODULE_0__.globals ? new WeakMap() : undefined; - - -/***/ }), - -/***/ "./node_modules/svelte/src/runtime/internal/animations.js": -/*!****************************************************************!*\ - !*** ./node_modules/svelte/src/runtime/internal/animations.js ***! - \****************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ add_transform: () => (/* binding */ add_transform), -/* harmony export */ create_animation: () => (/* binding */ create_animation), -/* harmony export */ fix_position: () => (/* binding */ fix_position) -/* harmony export */ }); -/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ "./node_modules/svelte/src/runtime/internal/utils.js"); -/* harmony import */ var _environment_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./environment.js */ "./node_modules/svelte/src/runtime/internal/environment.js"); -/* harmony import */ var _loop_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./loop.js */ "./node_modules/svelte/src/runtime/internal/loop.js"); -/* harmony import */ var _style_manager_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./style_manager.js */ "./node_modules/svelte/src/runtime/internal/style_manager.js"); - - - - - -/** - * @param {Element & ElementCSSInlineStyle} node - * @param {import('./private.js').PositionRect} from - * @param {import('./private.js').AnimationFn} fn - */ -function create_animation(node, from, fn, params) { - if (!from) return _utils_js__WEBPACK_IMPORTED_MODULE_0__.noop; - const to = node.getBoundingClientRect(); - if ( - from.left === to.left && - from.right === to.right && - from.top === to.top && - from.bottom === to.bottom - ) - return _utils_js__WEBPACK_IMPORTED_MODULE_0__.noop; - const { - delay = 0, - duration = 300, - easing = _utils_js__WEBPACK_IMPORTED_MODULE_0__.identity, - // @ts-ignore todo: should this be separated from destructuring? Or start/end added to public api and documentation? - start: start_time = (0,_environment_js__WEBPACK_IMPORTED_MODULE_1__.now)() + delay, - // @ts-ignore todo: - end = start_time + duration, - tick = _utils_js__WEBPACK_IMPORTED_MODULE_0__.noop, - css - } = fn(node, { from, to }, params); - let running = true; - let started = false; - let name; - /** @returns {void} */ - function start() { - if (css) { - name = (0,_style_manager_js__WEBPACK_IMPORTED_MODULE_3__.create_rule)(node, 0, 1, duration, delay, easing, css); - } - if (!delay) { - started = true; - } - } - /** @returns {void} */ - function stop() { - if (css) (0,_style_manager_js__WEBPACK_IMPORTED_MODULE_3__.delete_rule)(node, name); - running = false; - } - (0,_loop_js__WEBPACK_IMPORTED_MODULE_2__.loop)((now) => { - if (!started && now >= start_time) { - started = true; - } - if (started && now >= end) { - tick(1, 0); - stop(); - } - if (!running) { - return false; - } - if (started) { - const p = now - start_time; - const t = 0 + 1 * easing(p / duration); - tick(t, 1 - t); - } - return true; - }); - start(); - tick(0, 1); - return stop; -} - -/** - * @param {Element & ElementCSSInlineStyle} node - * @returns {void} - */ -function fix_position(node) { - const style = getComputedStyle(node); - if (style.position !== 'absolute' && style.position !== 'fixed') { - const { width, height } = style; - const a = node.getBoundingClientRect(); - node.style.position = 'absolute'; - node.style.width = width; - node.style.height = height; - add_transform(node, a); - } -} - -/** - * @param {Element & ElementCSSInlineStyle} node - * @param {import('./private.js').PositionRect} a - * @returns {void} - */ -function add_transform(node, a) { - const b = node.getBoundingClientRect(); - if (a.left !== b.left || a.top !== b.top) { - const style = getComputedStyle(node); - const transform = style.transform === 'none' ? '' : style.transform; - node.style.transform = `${transform} translate(${a.left - b.left}px, ${a.top - b.top}px)`; - } -} - - -/***/ }), - -/***/ "./node_modules/svelte/src/runtime/internal/await_block.js": -/*!*****************************************************************!*\ - !*** ./node_modules/svelte/src/runtime/internal/await_block.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ handle_promise: () => (/* binding */ handle_promise), -/* harmony export */ update_await_block_branch: () => (/* binding */ update_await_block_branch) -/* harmony export */ }); -/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ "./node_modules/svelte/src/runtime/internal/utils.js"); -/* harmony import */ var _transitions_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transitions.js */ "./node_modules/svelte/src/runtime/internal/transitions.js"); -/* harmony import */ var _scheduler_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./scheduler.js */ "./node_modules/svelte/src/runtime/internal/scheduler.js"); -/* harmony import */ var _lifecycle_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./lifecycle.js */ "./node_modules/svelte/src/runtime/internal/lifecycle.js"); - - - - - -/** - * @template T - * @param {Promise} promise - * @param {import('./private.js').PromiseInfo} info - * @returns {boolean} - */ -function handle_promise(promise, info) { - const token = (info.token = {}); - /** - * @param {import('./private.js').FragmentFactory} type - * @param {0 | 1 | 2} index - * @param {number} [key] - * @param {any} [value] - * @returns {void} - */ - function update(type, index, key, value) { - if (info.token !== token) return; - info.resolved = value; - let child_ctx = info.ctx; - if (key !== undefined) { - child_ctx = child_ctx.slice(); - child_ctx[key] = value; - } - const block = type && (info.current = type)(child_ctx); - let needs_flush = false; - if (info.block) { - if (info.blocks) { - info.blocks.forEach((block, i) => { - if (i !== index && block) { - (0,_transitions_js__WEBPACK_IMPORTED_MODULE_1__.group_outros)(); - (0,_transitions_js__WEBPACK_IMPORTED_MODULE_1__.transition_out)(block, 1, 1, () => { - if (info.blocks[i] === block) { - info.blocks[i] = null; - } - }); - (0,_transitions_js__WEBPACK_IMPORTED_MODULE_1__.check_outros)(); - } - }); - } else { - info.block.d(1); - } - block.c(); - (0,_transitions_js__WEBPACK_IMPORTED_MODULE_1__.transition_in)(block, 1); - block.m(info.mount(), info.anchor); - needs_flush = true; - } - info.block = block; - if (info.blocks) info.blocks[index] = block; - if (needs_flush) { - (0,_scheduler_js__WEBPACK_IMPORTED_MODULE_2__.flush)(); - } - } - if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.is_promise)(promise)) { - const current_component = (0,_lifecycle_js__WEBPACK_IMPORTED_MODULE_3__.get_current_component)(); - promise.then( - (value) => { - (0,_lifecycle_js__WEBPACK_IMPORTED_MODULE_3__.set_current_component)(current_component); - update(info.then, 1, info.value, value); - (0,_lifecycle_js__WEBPACK_IMPORTED_MODULE_3__.set_current_component)(null); - }, - (error) => { - (0,_lifecycle_js__WEBPACK_IMPORTED_MODULE_3__.set_current_component)(current_component); - update(info.catch, 2, info.error, error); - (0,_lifecycle_js__WEBPACK_IMPORTED_MODULE_3__.set_current_component)(null); - if (!info.hasCatch) { - throw error; - } - } - ); - // if we previously had a then/catch block, destroy it - if (info.current !== info.pending) { - update(info.pending, 0); - return true; - } - } else { - if (info.current !== info.then) { - update(info.then, 1, info.value, promise); - return true; - } - info.resolved = /** @type {T} */ (promise); - } -} - -/** @returns {void} */ -function update_await_block_branch(info, ctx, dirty) { - const child_ctx = ctx.slice(); - const { resolved } = info; - if (info.current === info.then) { - child_ctx[info.value] = resolved; - } - if (info.current === info.catch) { - child_ctx[info.error] = resolved; - } - info.block.p(child_ctx, dirty); -} - - -/***/ }), - -/***/ "./node_modules/svelte/src/runtime/internal/dev.js": -/*!*********************************************************!*\ - !*** ./node_modules/svelte/src/runtime/internal/dev.js ***! - \*********************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ SvelteComponentDev: () => (/* binding */ SvelteComponentDev), -/* harmony export */ SvelteComponentTyped: () => (/* binding */ SvelteComponentTyped), -/* harmony export */ append_dev: () => (/* binding */ append_dev), -/* harmony export */ append_hydration_dev: () => (/* binding */ append_hydration_dev), -/* harmony export */ attr_dev: () => (/* binding */ attr_dev), -/* harmony export */ construct_svelte_component_dev: () => (/* binding */ construct_svelte_component_dev), -/* harmony export */ dataset_dev: () => (/* binding */ dataset_dev), -/* harmony export */ detach_after_dev: () => (/* binding */ detach_after_dev), -/* harmony export */ detach_before_dev: () => (/* binding */ detach_before_dev), -/* harmony export */ detach_between_dev: () => (/* binding */ detach_between_dev), -/* harmony export */ detach_dev: () => (/* binding */ detach_dev), -/* harmony export */ dispatch_dev: () => (/* binding */ dispatch_dev), -/* harmony export */ ensure_array_like_dev: () => (/* binding */ ensure_array_like_dev), -/* harmony export */ insert_dev: () => (/* binding */ insert_dev), -/* harmony export */ insert_hydration_dev: () => (/* binding */ insert_hydration_dev), -/* harmony export */ listen_dev: () => (/* binding */ listen_dev), -/* harmony export */ loop_guard: () => (/* binding */ loop_guard), -/* harmony export */ prop_dev: () => (/* binding */ prop_dev), -/* harmony export */ set_data_contenteditable_dev: () => (/* binding */ set_data_contenteditable_dev), -/* harmony export */ set_data_dev: () => (/* binding */ set_data_dev), -/* harmony export */ set_data_maybe_contenteditable_dev: () => (/* binding */ set_data_maybe_contenteditable_dev), -/* harmony export */ validate_dynamic_element: () => (/* binding */ validate_dynamic_element), -/* harmony export */ validate_slots: () => (/* binding */ validate_slots), -/* harmony export */ validate_void_dynamic_element: () => (/* binding */ validate_void_dynamic_element) -/* harmony export */ }); -/* harmony import */ var _dom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dom.js */ "./node_modules/svelte/src/runtime/internal/dom.js"); -/* harmony import */ var _Component_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Component.js */ "./node_modules/svelte/src/runtime/internal/Component.js"); -/* harmony import */ var _shared_utils_names_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../shared/utils/names.js */ "./node_modules/svelte/src/shared/utils/names.js"); -/* harmony import */ var _shared_version_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../shared/version.js */ "./node_modules/svelte/src/shared/version.js"); -/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils.js */ "./node_modules/svelte/src/runtime/internal/utils.js"); -/* harmony import */ var _each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./each.js */ "./node_modules/svelte/src/runtime/internal/each.js"); - - - - - - - -/** - * @template T - * @param {string} type - * @param {T} [detail] - * @returns {void} - */ -function dispatch_dev(type, detail) { - document.dispatchEvent((0,_dom_js__WEBPACK_IMPORTED_MODULE_0__.custom_event)(type, { version: _shared_version_js__WEBPACK_IMPORTED_MODULE_3__.VERSION, ...detail }, { bubbles: true })); -} - -/** - * @param {Node} target - * @param {Node} node - * @returns {void} - */ -function append_dev(target, node) { - dispatch_dev('SvelteDOMInsert', { target, node }); - (0,_dom_js__WEBPACK_IMPORTED_MODULE_0__.append)(target, node); -} - -/** - * @param {Node} target - * @param {Node} node - * @returns {void} - */ -function append_hydration_dev(target, node) { - dispatch_dev('SvelteDOMInsert', { target, node }); - (0,_dom_js__WEBPACK_IMPORTED_MODULE_0__.append_hydration)(target, node); -} - -/** - * @param {Node} target - * @param {Node} node - * @param {Node} [anchor] - * @returns {void} - */ -function insert_dev(target, node, anchor) { - dispatch_dev('SvelteDOMInsert', { target, node, anchor }); - (0,_dom_js__WEBPACK_IMPORTED_MODULE_0__.insert)(target, node, anchor); -} - -/** @param {Node} target - * @param {Node} node - * @param {Node} [anchor] - * @returns {void} - */ -function insert_hydration_dev(target, node, anchor) { - dispatch_dev('SvelteDOMInsert', { target, node, anchor }); - (0,_dom_js__WEBPACK_IMPORTED_MODULE_0__.insert_hydration)(target, node, anchor); -} - -/** - * @param {Node} node - * @returns {void} - */ -function detach_dev(node) { - dispatch_dev('SvelteDOMRemove', { node }); - (0,_dom_js__WEBPACK_IMPORTED_MODULE_0__.detach)(node); -} - -/** - * @param {Node} before - * @param {Node} after - * @returns {void} - */ -function detach_between_dev(before, after) { - while (before.nextSibling && before.nextSibling !== after) { - detach_dev(before.nextSibling); - } -} - -/** - * @param {Node} after - * @returns {void} - */ -function detach_before_dev(after) { - while (after.previousSibling) { - detach_dev(after.previousSibling); - } -} - -/** - * @param {Node} before - * @returns {void} - */ -function detach_after_dev(before) { - while (before.nextSibling) { - detach_dev(before.nextSibling); - } -} - -/** - * @param {Node} node - * @param {string} event - * @param {EventListenerOrEventListenerObject} handler - * @param {boolean | AddEventListenerOptions | EventListenerOptions} [options] - * @param {boolean} [has_prevent_default] - * @param {boolean} [has_stop_propagation] - * @param {boolean} [has_stop_immediate_propagation] - * @returns {() => void} - */ -function listen_dev( - node, - event, - handler, - options, - has_prevent_default, - has_stop_propagation, - has_stop_immediate_propagation -) { - const modifiers = - options === true ? ['capture'] : options ? Array.from(Object.keys(options)) : []; - if (has_prevent_default) modifiers.push('preventDefault'); - if (has_stop_propagation) modifiers.push('stopPropagation'); - if (has_stop_immediate_propagation) modifiers.push('stopImmediatePropagation'); - dispatch_dev('SvelteDOMAddEventListener', { node, event, handler, modifiers }); - const dispose = (0,_dom_js__WEBPACK_IMPORTED_MODULE_0__.listen)(node, event, handler, options); - return () => { - dispatch_dev('SvelteDOMRemoveEventListener', { node, event, handler, modifiers }); - dispose(); - }; -} - -/** - * @param {Element} node - * @param {string} attribute - * @param {string} [value] - * @returns {void} - */ -function attr_dev(node, attribute, value) { - (0,_dom_js__WEBPACK_IMPORTED_MODULE_0__.attr)(node, attribute, value); - if (value == null) dispatch_dev('SvelteDOMRemoveAttribute', { node, attribute }); - else dispatch_dev('SvelteDOMSetAttribute', { node, attribute, value }); -} - -/** - * @param {Element} node - * @param {string} property - * @param {any} [value] - * @returns {void} - */ -function prop_dev(node, property, value) { - node[property] = value; - dispatch_dev('SvelteDOMSetProperty', { node, property, value }); -} - -/** - * @param {HTMLElement} node - * @param {string} property - * @param {any} [value] - * @returns {void} - */ -function dataset_dev(node, property, value) { - node.dataset[property] = value; - dispatch_dev('SvelteDOMSetDataset', { node, property, value }); -} - -/** - * @param {Text} text - * @param {unknown} data - * @returns {void} - */ -function set_data_dev(text, data) { - data = '' + data; - if (text.data === data) return; - dispatch_dev('SvelteDOMSetData', { node: text, data }); - text.data = /** @type {string} */ (data); -} - -/** - * @param {Text} text - * @param {unknown} data - * @returns {void} - */ -function set_data_contenteditable_dev(text, data) { - data = '' + data; - if (text.wholeText === data) return; - dispatch_dev('SvelteDOMSetData', { node: text, data }); - text.data = /** @type {string} */ (data); -} - -/** - * @param {Text} text - * @param {unknown} data - * @param {string} attr_value - * @returns {void} - */ -function set_data_maybe_contenteditable_dev(text, data, attr_value) { - if (~_utils_js__WEBPACK_IMPORTED_MODULE_4__.contenteditable_truthy_values.indexOf(attr_value)) { - set_data_contenteditable_dev(text, data); - } else { - set_data_dev(text, data); - } -} - -function ensure_array_like_dev(arg) { - if ( - typeof arg !== 'string' && - !(arg && typeof arg === 'object' && 'length' in arg) && - !(typeof Symbol === 'function' && arg && Symbol.iterator in arg) - ) { - throw new Error('{#each} only works with iterable values.'); - } - return (0,_each_js__WEBPACK_IMPORTED_MODULE_5__.ensure_array_like)(arg); -} - -/** - * @returns {void} */ -function validate_slots(name, slot, keys) { - for (const slot_key of Object.keys(slot)) { - if (!~keys.indexOf(slot_key)) { - console.warn(`<${name}> received an unexpected slot "${slot_key}".`); - } - } -} - -/** - * @param {unknown} tag - * @returns {void} - */ -function validate_dynamic_element(tag) { - const is_string = typeof tag === 'string'; - if (tag && !is_string) { - throw new Error(' expects "this" attribute to be a string.'); - } -} - -/** - * @param {undefined | string} tag - * @returns {void} - */ -function validate_void_dynamic_element(tag) { - if (tag && (0,_shared_utils_names_js__WEBPACK_IMPORTED_MODULE_2__.is_void)(tag)) { - console.warn(` is self-closing and cannot have content.`); - } -} - -function construct_svelte_component_dev(component, props) { - const error_message = 'this={...} of should specify a Svelte component.'; - try { - const instance = new component(props); - if (!instance.$$ || !instance.$set || !instance.$on || !instance.$destroy) { - throw new Error(error_message); - } - return instance; - } catch (err) { - const { message } = err; - if (typeof message === 'string' && message.indexOf('is not a constructor') !== -1) { - throw new Error(error_message); - } else { - throw err; - } - } -} - -/** - * Base class for Svelte components with some minor dev-enhancements. Used when dev=true. - * - * Can be used to create strongly typed Svelte components. - * - * #### Example: - * - * You have component library on npm called `component-library`, from which - * you export a component called `MyComponent`. For Svelte+TypeScript users, - * you want to provide typings. Therefore you create a `index.d.ts`: - * ```ts - * import { SvelteComponent } from "svelte"; - * export class MyComponent extends SvelteComponent<{foo: string}> {} - * ``` - * Typing this makes it possible for IDEs like VS Code with the Svelte extension - * to provide intellisense and to use the component like this in a Svelte file - * with TypeScript: - * ```svelte - * - * - * ``` - * @template {Record} [Props=any] - * @template {Record} [Events=any] - * @template {Record} [Slots=any] - * @extends {SvelteComponent} - */ -class SvelteComponentDev extends _Component_js__WEBPACK_IMPORTED_MODULE_1__.SvelteComponent { - /** - * For type checking capabilities only. - * Does not exist at runtime. - * ### DO NOT USE! - * - * @type {Props} - */ - $$prop_def; - /** - * For type checking capabilities only. - * Does not exist at runtime. - * ### DO NOT USE! - * - * @type {Events} - */ - $$events_def; - /** - * For type checking capabilities only. - * Does not exist at runtime. - * ### DO NOT USE! - * - * @type {Slots} - */ - $$slot_def; - - /** @param {import('./public.js').ComponentConstructorOptions} options */ - constructor(options) { - if (!options || (!options.target && !options.$$inline)) { - throw new Error("'target' is a required option"); - } - super(); - } - - /** @returns {void} */ - $destroy() { - super.$destroy(); - this.$destroy = () => { - console.warn('Component was already destroyed'); // eslint-disable-line no-console - }; - } - - /** @returns {void} */ - $capture_state() {} - - /** @returns {void} */ - $inject_state() {} -} -/** - * @template {Record} [Props=any] - * @template {Record} [Events=any] - * @template {Record} [Slots=any] - * @deprecated Use `SvelteComponent` instead. See PR for more information: https://github.com/sveltejs/svelte/pull/8512 - * @extends {SvelteComponentDev} - */ -class SvelteComponentTyped extends SvelteComponentDev {} - -/** @returns {() => void} */ -function loop_guard(timeout) { - const start = Date.now(); - return () => { - if (Date.now() - start > timeout) { - throw new Error('Infinite loop detected'); - } - }; -} - - -/***/ }), - -/***/ "./node_modules/svelte/src/runtime/internal/disclose-version/index.js": -/*!****************************************************************************!*\ - !*** ./node_modules/svelte/src/runtime/internal/disclose-version/index.js ***! - \****************************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _shared_version_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../shared/version.js */ "./node_modules/svelte/src/shared/version.js"); - - -if (typeof window !== 'undefined') - // @ts-ignore - (window.__svelte || (window.__svelte = { v: new Set() })).v.add(_shared_version_js__WEBPACK_IMPORTED_MODULE_0__.PUBLIC_VERSION); - - -/***/ }), - -/***/ "./node_modules/svelte/src/runtime/internal/dom.js": -/*!*********************************************************!*\ - !*** ./node_modules/svelte/src/runtime/internal/dom.js ***! - \*********************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ HtmlTag: () => (/* binding */ HtmlTag), -/* harmony export */ HtmlTagHydration: () => (/* binding */ HtmlTagHydration), -/* harmony export */ ResizeObserverSingleton: () => (/* reexport safe */ _ResizeObserverSingleton_js__WEBPACK_IMPORTED_MODULE_0__.ResizeObserverSingleton), -/* harmony export */ add_iframe_resize_listener: () => (/* binding */ add_iframe_resize_listener), -/* harmony export */ append: () => (/* binding */ append), -/* harmony export */ append_empty_stylesheet: () => (/* binding */ append_empty_stylesheet), -/* harmony export */ append_hydration: () => (/* binding */ append_hydration), -/* harmony export */ append_styles: () => (/* binding */ append_styles), -/* harmony export */ attr: () => (/* binding */ attr), -/* harmony export */ attribute_to_object: () => (/* binding */ attribute_to_object), -/* harmony export */ children: () => (/* binding */ children), -/* harmony export */ claim_comment: () => (/* binding */ claim_comment), -/* harmony export */ claim_element: () => (/* binding */ claim_element), -/* harmony export */ claim_html_tag: () => (/* binding */ claim_html_tag), -/* harmony export */ claim_space: () => (/* binding */ claim_space), -/* harmony export */ claim_svg_element: () => (/* binding */ claim_svg_element), -/* harmony export */ claim_text: () => (/* binding */ claim_text), -/* harmony export */ comment: () => (/* binding */ comment), -/* harmony export */ construct_svelte_component: () => (/* binding */ construct_svelte_component), -/* harmony export */ custom_event: () => (/* binding */ custom_event), -/* harmony export */ destroy_each: () => (/* binding */ destroy_each), -/* harmony export */ detach: () => (/* binding */ detach), -/* harmony export */ element: () => (/* binding */ element), -/* harmony export */ element_is: () => (/* binding */ element_is), -/* harmony export */ empty: () => (/* binding */ empty), -/* harmony export */ end_hydrating: () => (/* binding */ end_hydrating), -/* harmony export */ get_binding_group_value: () => (/* binding */ get_binding_group_value), -/* harmony export */ get_custom_elements_slots: () => (/* binding */ get_custom_elements_slots), -/* harmony export */ get_root_for_style: () => (/* binding */ get_root_for_style), -/* harmony export */ get_svelte_dataset: () => (/* binding */ get_svelte_dataset), -/* harmony export */ head_selector: () => (/* binding */ head_selector), -/* harmony export */ init_binding_group: () => (/* binding */ init_binding_group), -/* harmony export */ init_binding_group_dynamic: () => (/* binding */ init_binding_group_dynamic), -/* harmony export */ insert: () => (/* binding */ insert), -/* harmony export */ insert_hydration: () => (/* binding */ insert_hydration), -/* harmony export */ is_crossorigin: () => (/* binding */ is_crossorigin), -/* harmony export */ listen: () => (/* binding */ listen), -/* harmony export */ object_without_properties: () => (/* binding */ object_without_properties), -/* harmony export */ prevent_default: () => (/* binding */ prevent_default), -/* harmony export */ query_selector_all: () => (/* binding */ query_selector_all), -/* harmony export */ resize_observer_border_box: () => (/* binding */ resize_observer_border_box), -/* harmony export */ resize_observer_content_box: () => (/* binding */ resize_observer_content_box), -/* harmony export */ resize_observer_device_pixel_content_box: () => (/* binding */ resize_observer_device_pixel_content_box), -/* harmony export */ select_multiple_value: () => (/* binding */ select_multiple_value), -/* harmony export */ select_option: () => (/* binding */ select_option), -/* harmony export */ select_options: () => (/* binding */ select_options), -/* harmony export */ select_value: () => (/* binding */ select_value), -/* harmony export */ self: () => (/* binding */ self), -/* harmony export */ set_attributes: () => (/* binding */ set_attributes), -/* harmony export */ set_custom_element_data: () => (/* binding */ set_custom_element_data), -/* harmony export */ set_custom_element_data_map: () => (/* binding */ set_custom_element_data_map), -/* harmony export */ set_data: () => (/* binding */ set_data), -/* harmony export */ set_data_contenteditable: () => (/* binding */ set_data_contenteditable), -/* harmony export */ set_data_maybe_contenteditable: () => (/* binding */ set_data_maybe_contenteditable), -/* harmony export */ set_dynamic_element_data: () => (/* binding */ set_dynamic_element_data), -/* harmony export */ set_input_type: () => (/* binding */ set_input_type), -/* harmony export */ set_input_value: () => (/* binding */ set_input_value), -/* harmony export */ set_style: () => (/* binding */ set_style), -/* harmony export */ set_svg_attributes: () => (/* binding */ set_svg_attributes), -/* harmony export */ space: () => (/* binding */ space), -/* harmony export */ start_hydrating: () => (/* binding */ start_hydrating), -/* harmony export */ stop_immediate_propagation: () => (/* binding */ stop_immediate_propagation), -/* harmony export */ stop_propagation: () => (/* binding */ stop_propagation), -/* harmony export */ svg_element: () => (/* binding */ svg_element), -/* harmony export */ text: () => (/* binding */ text), -/* harmony export */ time_ranges_to_array: () => (/* binding */ time_ranges_to_array), -/* harmony export */ to_number: () => (/* binding */ to_number), -/* harmony export */ toggle_class: () => (/* binding */ toggle_class), -/* harmony export */ trusted: () => (/* binding */ trusted), -/* harmony export */ xlink_attr: () => (/* binding */ xlink_attr) -/* harmony export */ }); -/* harmony import */ var _ResizeObserverSingleton_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ResizeObserverSingleton.js */ "./node_modules/svelte/src/runtime/internal/ResizeObserverSingleton.js"); -/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils.js */ "./node_modules/svelte/src/runtime/internal/utils.js"); - - -// Track which nodes are claimed during hydration. Unclaimed nodes can then be removed from the DOM -// at the end of hydration without touching the remaining nodes. -let is_hydrating = false; - -/** - * @returns {void} - */ -function start_hydrating() { - is_hydrating = true; -} - -/** - * @returns {void} - */ -function end_hydrating() { - is_hydrating = false; -} - -/** - * @param {number} low - * @param {number} high - * @param {(index: number) => number} key - * @param {number} value - * @returns {number} - */ -function upper_bound(low, high, key, value) { - // Return first index of value larger than input value in the range [low, high) - while (low < high) { - const mid = low + ((high - low) >> 1); - if (key(mid) <= value) { - low = mid + 1; - } else { - high = mid; - } - } - return low; -} - -/** - * @param {NodeEx} target - * @returns {void} - */ -function init_hydrate(target) { - if (target.hydrate_init) return; - target.hydrate_init = true; - // We know that all children have claim_order values since the unclaimed have been detached if target is not - - let children = /** @type {ArrayLike} */ (target.childNodes); - // If target is , there may be children without claim_order - if (target.nodeName === 'HEAD') { - const myChildren = []; - for (let i = 0; i < children.length; i++) { - const node = children[i]; - if (node.claim_order !== undefined) { - myChildren.push(node); - } - } - children = myChildren; - } - /* - * Reorder claimed children optimally. - * We can reorder claimed children optimally by finding the longest subsequence of - * nodes that are already claimed in order and only moving the rest. The longest - * subsequence of nodes that are claimed in order can be found by - * computing the longest increasing subsequence of .claim_order values. - * - * This algorithm is optimal in generating the least amount of reorder operations - * possible. - * - * Proof: - * We know that, given a set of reordering operations, the nodes that do not move - * always form an increasing subsequence, since they do not move among each other - * meaning that they must be already ordered among each other. Thus, the maximal - * set of nodes that do not move form a longest increasing subsequence. - */ - // Compute longest increasing subsequence - // m: subsequence length j => index k of smallest value that ends an increasing subsequence of length j - const m = new Int32Array(children.length + 1); - // Predecessor indices + 1 - const p = new Int32Array(children.length); - m[0] = -1; - let longest = 0; - for (let i = 0; i < children.length; i++) { - const current = children[i].claim_order; - // Find the largest subsequence length such that it ends in a value less than our current value - // upper_bound returns first greater value, so we subtract one - // with fast path for when we are on the current longest subsequence - const seqLen = - (longest > 0 && children[m[longest]].claim_order <= current - ? longest + 1 - : upper_bound(1, longest, (idx) => children[m[idx]].claim_order, current)) - 1; - p[i] = m[seqLen] + 1; - const newLen = seqLen + 1; - // We can guarantee that current is the smallest value. Otherwise, we would have generated a longer sequence. - m[newLen] = i; - longest = Math.max(newLen, longest); - } - // The longest increasing subsequence of nodes (initially reversed) - - /** - * @type {NodeEx2[]} - */ - const lis = []; - // The rest of the nodes, nodes that will be moved - - /** - * @type {NodeEx2[]} - */ - const toMove = []; - let last = children.length - 1; - for (let cur = m[longest] + 1; cur != 0; cur = p[cur - 1]) { - lis.push(children[cur - 1]); - for (; last >= cur; last--) { - toMove.push(children[last]); - } - last--; - } - for (; last >= 0; last--) { - toMove.push(children[last]); - } - lis.reverse(); - // We sort the nodes being moved to guarantee that their insertion order matches the claim order - toMove.sort((a, b) => a.claim_order - b.claim_order); - // Finally, we move the nodes - for (let i = 0, j = 0; i < toMove.length; i++) { - while (j < lis.length && toMove[i].claim_order >= lis[j].claim_order) { - j++; - } - const anchor = j < lis.length ? lis[j] : null; - target.insertBefore(toMove[i], anchor); - } -} - -/** - * @param {Node} target - * @param {Node} node - * @returns {void} - */ -function append(target, node) { - target.appendChild(node); -} - -/** - * @param {Node} target - * @param {string} style_sheet_id - * @param {string} styles - * @returns {void} - */ -function append_styles(target, style_sheet_id, styles) { - const append_styles_to = get_root_for_style(target); - if (!append_styles_to.getElementById(style_sheet_id)) { - const style = element('style'); - style.id = style_sheet_id; - style.textContent = styles; - append_stylesheet(append_styles_to, style); - } -} - -/** - * @param {Node} node - * @returns {ShadowRoot | Document} - */ -function get_root_for_style(node) { - if (!node) return document; - const root = node.getRootNode ? node.getRootNode() : node.ownerDocument; - if (root && /** @type {ShadowRoot} */ (root).host) { - return /** @type {ShadowRoot} */ (root); - } - return node.ownerDocument; -} - -/** - * @param {Node} node - * @returns {CSSStyleSheet} - */ -function append_empty_stylesheet(node) { - const style_element = element('style'); - // For transitions to work without 'style-src: unsafe-inline' Content Security Policy, - // these empty tags need to be allowed with a hash as a workaround until we move to the Web Animations API. - // Using the hash for the empty string (for an empty tag) works in all browsers except Safari. - // So as a workaround for the workaround, when we append empty style tags we set their content to /* empty */. - // The hash 'sha256-9OlNO0DNEeaVzHL4RZwCLsBHA8WBQ8toBp/4F5XV2nc=' will then work even in Safari. - style_element.textContent = '/* empty */'; - append_stylesheet(get_root_for_style(node), style_element); - return style_element.sheet; -} - -/** - * @param {ShadowRoot | Document} node - * @param {HTMLStyleElement} style - * @returns {CSSStyleSheet} - */ -function append_stylesheet(node, style) { - append(/** @type {Document} */ (node).head || node, style); - return style.sheet; -} - -/** - * @param {NodeEx} target - * @param {NodeEx} node - * @returns {void} - */ -function append_hydration(target, node) { - if (is_hydrating) { - init_hydrate(target); - if ( - target.actual_end_child === undefined || - (target.actual_end_child !== null && target.actual_end_child.parentNode !== target) - ) { - target.actual_end_child = target.firstChild; - } - // Skip nodes of undefined ordering - while (target.actual_end_child !== null && target.actual_end_child.claim_order === undefined) { - target.actual_end_child = target.actual_end_child.nextSibling; - } - if (node !== target.actual_end_child) { - // We only insert if the ordering of this node should be modified or the parent node is not target - if (node.claim_order !== undefined || node.parentNode !== target) { - target.insertBefore(node, target.actual_end_child); - } - } else { - target.actual_end_child = node.nextSibling; - } - } else if (node.parentNode !== target || node.nextSibling !== null) { - target.appendChild(node); - } -} - -/** - * @param {Node} target - * @param {Node} node - * @param {Node} [anchor] - * @returns {void} - */ -function insert(target, node, anchor) { - target.insertBefore(node, anchor || null); -} - -/** - * @param {NodeEx} target - * @param {NodeEx} node - * @param {NodeEx} [anchor] - * @returns {void} - */ -function insert_hydration(target, node, anchor) { - if (is_hydrating && !anchor) { - append_hydration(target, node); - } else if (node.parentNode !== target || node.nextSibling != anchor) { - target.insertBefore(node, anchor || null); - } -} - -/** - * @param {Node} node - * @returns {void} - */ -function detach(node) { - if (node.parentNode) { - node.parentNode.removeChild(node); - } -} - -/** - * @returns {void} */ -function destroy_each(iterations, detaching) { - for (let i = 0; i < iterations.length; i += 1) { - if (iterations[i]) iterations[i].d(detaching); - } -} - -/** - * @template {keyof HTMLElementTagNameMap} K - * @param {K} name - * @returns {HTMLElementTagNameMap[K]} - */ -function element(name) { - return document.createElement(name); -} - -/** - * @template {keyof HTMLElementTagNameMap} K - * @param {K} name - * @param {string} is - * @returns {HTMLElementTagNameMap[K]} - */ -function element_is(name, is) { - return document.createElement(name, { is }); -} - -/** - * @template T - * @template {keyof T} K - * @param {T} obj - * @param {K[]} exclude - * @returns {Pick>} - */ -function object_without_properties(obj, exclude) { - const target = /** @type {Pick>} */ ({}); - for (const k in obj) { - if ( - (0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.has_prop)(obj, k) && - // @ts-ignore - exclude.indexOf(k) === -1 - ) { - // @ts-ignore - target[k] = obj[k]; - } - } - return target; -} - -/** - * @template {keyof SVGElementTagNameMap} K - * @param {K} name - * @returns {SVGElement} - */ -function svg_element(name) { - return document.createElementNS('http://www.w3.org/2000/svg', name); -} - -/** - * @param {string} data - * @returns {Text} - */ -function text(data) { - return document.createTextNode(data); -} - -/** - * @returns {Text} */ -function space() { - return text(' '); -} - -/** - * @returns {Text} */ -function empty() { - return text(''); -} - -/** - * @param {string} content - * @returns {Comment} - */ -function comment(content) { - return document.createComment(content); -} - -/** - * @param {EventTarget} node - * @param {string} event - * @param {EventListenerOrEventListenerObject} handler - * @param {boolean | AddEventListenerOptions | EventListenerOptions} [options] - * @returns {() => void} - */ -function listen(node, event, handler, options) { - node.addEventListener(event, handler, options); - return () => node.removeEventListener(event, handler, options); -} - -/** - * @returns {(event: any) => any} */ -function prevent_default(fn) { - return function (event) { - event.preventDefault(); - // @ts-ignore - return fn.call(this, event); - }; -} - -/** - * @returns {(event: any) => any} */ -function stop_propagation(fn) { - return function (event) { - event.stopPropagation(); - // @ts-ignore - return fn.call(this, event); - }; -} - -/** - * @returns {(event: any) => any} */ -function stop_immediate_propagation(fn) { - return function (event) { - event.stopImmediatePropagation(); - // @ts-ignore - return fn.call(this, event); - }; -} - -/** - * @returns {(event: any) => void} */ -function self(fn) { - return function (event) { - // @ts-ignore - if (event.target === this) fn.call(this, event); - }; -} - -/** - * @returns {(event: any) => void} */ -function trusted(fn) { - return function (event) { - // @ts-ignore - if (event.isTrusted) fn.call(this, event); - }; -} - -/** - * @param {Element} node - * @param {string} attribute - * @param {string} [value] - * @returns {void} - */ -function attr(node, attribute, value) { - if (value == null) node.removeAttribute(attribute); - else if (node.getAttribute(attribute) !== value) node.setAttribute(attribute, value); -} -/** - * List of attributes that should always be set through the attr method, - * because updating them through the property setter doesn't work reliably. - * In the example of `width`/`height`, the problem is that the setter only - * accepts numeric values, but the attribute can also be set to a string like `50%`. - * If this list becomes too big, rethink this approach. - */ -const always_set_through_set_attribute = ['width', 'height']; - -/** - * @param {Element & ElementCSSInlineStyle} node - * @param {{ [x: string]: string }} attributes - * @returns {void} - */ -function set_attributes(node, attributes) { - // @ts-ignore - const descriptors = Object.getOwnPropertyDescriptors(node.__proto__); - for (const key in attributes) { - if (attributes[key] == null) { - node.removeAttribute(key); - } else if (key === 'style') { - node.style.cssText = attributes[key]; - } else if (key === '__value') { - /** @type {any} */ (node).value = node[key] = attributes[key]; - } else if ( - descriptors[key] && - descriptors[key].set && - always_set_through_set_attribute.indexOf(key) === -1 - ) { - node[key] = attributes[key]; - } else { - attr(node, key, attributes[key]); - } - } -} - -/** - * @param {Element & ElementCSSInlineStyle} node - * @param {{ [x: string]: string }} attributes - * @returns {void} - */ -function set_svg_attributes(node, attributes) { - for (const key in attributes) { - attr(node, key, attributes[key]); - } -} - -/** - * @param {Record} data_map - * @returns {void} - */ -function set_custom_element_data_map(node, data_map) { - Object.keys(data_map).forEach((key) => { - set_custom_element_data(node, key, data_map[key]); - }); -} - -/** - * @returns {void} */ -function set_custom_element_data(node, prop, value) { - if (prop in node) { - node[prop] = typeof node[prop] === 'boolean' && value === '' ? true : value; - } else { - attr(node, prop, value); - } -} - -/** - * @param {string} tag - */ -function set_dynamic_element_data(tag) { - return /-/.test(tag) ? set_custom_element_data_map : set_attributes; -} - -/** - * @returns {void} - */ -function xlink_attr(node, attribute, value) { - node.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value); -} - -/** - * @param {HTMLElement} node - * @returns {string} - */ -function get_svelte_dataset(node) { - return node.dataset.svelteH; -} - -/** - * @returns {unknown[]} */ -function get_binding_group_value(group, __value, checked) { - const value = new Set(); - for (let i = 0; i < group.length; i += 1) { - if (group[i].checked) value.add(group[i].__value); - } - if (!checked) { - value.delete(__value); - } - return Array.from(value); -} - -/** - * @param {HTMLInputElement[]} group - * @returns {{ p(...inputs: HTMLInputElement[]): void; r(): void; }} - */ -function init_binding_group(group) { - /** - * @type {HTMLInputElement[]} */ - let _inputs; - return { - /* push */ p(...inputs) { - _inputs = inputs; - _inputs.forEach((input) => group.push(input)); - }, - /* remove */ r() { - _inputs.forEach((input) => group.splice(group.indexOf(input), 1)); - } - }; -} - -/** - * @param {number[]} indexes - * @returns {{ u(new_indexes: number[]): void; p(...inputs: HTMLInputElement[]): void; r: () => void; }} - */ -function init_binding_group_dynamic(group, indexes) { - /** - * @type {HTMLInputElement[]} */ - let _group = get_binding_group(group); - - /** - * @type {HTMLInputElement[]} */ - let _inputs; - - function get_binding_group(group) { - for (let i = 0; i < indexes.length; i++) { - group = group[indexes[i]] = group[indexes[i]] || []; - } - return group; - } - - /** - * @returns {void} */ - function push() { - _inputs.forEach((input) => _group.push(input)); - } - - /** - * @returns {void} */ - function remove() { - _inputs.forEach((input) => _group.splice(_group.indexOf(input), 1)); - } - return { - /* update */ u(new_indexes) { - indexes = new_indexes; - const new_group = get_binding_group(group); - if (new_group !== _group) { - remove(); - _group = new_group; - push(); - } - }, - /* push */ p(...inputs) { - _inputs = inputs; - push(); - }, - /* remove */ r: remove - }; -} - -/** @returns {number} */ -function to_number(value) { - return value === '' ? null : +value; -} - -/** @returns {any[]} */ -function time_ranges_to_array(ranges) { - const array = []; - for (let i = 0; i < ranges.length; i += 1) { - array.push({ start: ranges.start(i), end: ranges.end(i) }); - } - return array; -} - -/** - * @param {Element} element - * @returns {ChildNode[]} - */ -function children(element) { - return Array.from(element.childNodes); -} - -/** - * @param {ChildNodeArray} nodes - * @returns {void} - */ -function init_claim_info(nodes) { - if (nodes.claim_info === undefined) { - nodes.claim_info = { last_index: 0, total_claimed: 0 }; - } -} - -/** - * @template {ChildNodeEx} R - * @param {ChildNodeArray} nodes - * @param {(node: ChildNodeEx) => node is R} predicate - * @param {(node: ChildNodeEx) => ChildNodeEx | undefined} processNode - * @param {() => R} createNode - * @param {boolean} dontUpdateLastIndex - * @returns {R} - */ -function claim_node(nodes, predicate, processNode, createNode, dontUpdateLastIndex = false) { - // Try to find nodes in an order such that we lengthen the longest increasing subsequence - init_claim_info(nodes); - const resultNode = (() => { - // We first try to find an element after the previous one - for (let i = nodes.claim_info.last_index; i < nodes.length; i++) { - const node = nodes[i]; - if (predicate(node)) { - const replacement = processNode(node); - if (replacement === undefined) { - nodes.splice(i, 1); - } else { - nodes[i] = replacement; - } - if (!dontUpdateLastIndex) { - nodes.claim_info.last_index = i; - } - return node; - } - } - // Otherwise, we try to find one before - // We iterate in reverse so that we don't go too far back - for (let i = nodes.claim_info.last_index - 1; i >= 0; i--) { - const node = nodes[i]; - if (predicate(node)) { - const replacement = processNode(node); - if (replacement === undefined) { - nodes.splice(i, 1); - } else { - nodes[i] = replacement; - } - if (!dontUpdateLastIndex) { - nodes.claim_info.last_index = i; - } else if (replacement === undefined) { - // Since we spliced before the last_index, we decrease it - nodes.claim_info.last_index--; - } - return node; - } - } - // If we can't find any matching node, we create a new one - return createNode(); - })(); - resultNode.claim_order = nodes.claim_info.total_claimed; - nodes.claim_info.total_claimed += 1; - return resultNode; -} - -/** - * @param {ChildNodeArray} nodes - * @param {string} name - * @param {{ [key: string]: boolean }} attributes - * @param {(name: string) => Element | SVGElement} create_element - * @returns {Element | SVGElement} - */ -function claim_element_base(nodes, name, attributes, create_element) { - return claim_node( - nodes, - /** @returns {node is Element | SVGElement} */ - (node) => node.nodeName === name, - /** @param {Element} node */ - (node) => { - const remove = []; - for (let j = 0; j < node.attributes.length; j++) { - const attribute = node.attributes[j]; - if (!attributes[attribute.name]) { - remove.push(attribute.name); - } - } - remove.forEach((v) => node.removeAttribute(v)); - return undefined; - }, - () => create_element(name) - ); -} - -/** - * @param {ChildNodeArray} nodes - * @param {string} name - * @param {{ [key: string]: boolean }} attributes - * @returns {Element | SVGElement} - */ -function claim_element(nodes, name, attributes) { - return claim_element_base(nodes, name, attributes, element); -} - -/** - * @param {ChildNodeArray} nodes - * @param {string} name - * @param {{ [key: string]: boolean }} attributes - * @returns {Element | SVGElement} - */ -function claim_svg_element(nodes, name, attributes) { - return claim_element_base(nodes, name, attributes, svg_element); -} - -/** - * @param {ChildNodeArray} nodes - * @returns {Text} - */ -function claim_text(nodes, data) { - return claim_node( - nodes, - /** @returns {node is Text} */ - (node) => node.nodeType === 3, - /** @param {Text} node */ - (node) => { - const dataStr = '' + data; - if (node.data.startsWith(dataStr)) { - if (node.data.length !== dataStr.length) { - return node.splitText(dataStr.length); - } - } else { - node.data = dataStr; - } - }, - () => text(data), - true // Text nodes should not update last index since it is likely not worth it to eliminate an increasing subsequence of actual elements - ); -} - -/** - * @returns {Text} */ -function claim_space(nodes) { - return claim_text(nodes, ' '); -} - -/** - * @param {ChildNodeArray} nodes - * @returns {Comment} - */ -function claim_comment(nodes, data) { - return claim_node( - nodes, - /** @returns {node is Comment} */ - (node) => node.nodeType === 8, - /** @param {Comment} node */ - (node) => { - node.data = '' + data; - return undefined; - }, - () => comment(data), - true - ); -} - -function get_comment_idx(nodes, text, start) { - for (let i = start; i < nodes.length; i += 1) { - const node = nodes[i]; - if (node.nodeType === 8 /* comment node */ && node.textContent.trim() === text) { - return i; - } - } - return -1; -} - -/** - * @param {boolean} is_svg - * @returns {HtmlTagHydration} - */ -function claim_html_tag(nodes, is_svg) { - // find html opening tag - const start_index = get_comment_idx(nodes, 'HTML_TAG_START', 0); - const end_index = get_comment_idx(nodes, 'HTML_TAG_END', start_index + 1); - if (start_index === -1 || end_index === -1) { - return new HtmlTagHydration(is_svg); - } - - init_claim_info(nodes); - const html_tag_nodes = nodes.splice(start_index, end_index - start_index + 1); - detach(html_tag_nodes[0]); - detach(html_tag_nodes[html_tag_nodes.length - 1]); - const claimed_nodes = html_tag_nodes.slice(1, html_tag_nodes.length - 1); - for (const n of claimed_nodes) { - n.claim_order = nodes.claim_info.total_claimed; - nodes.claim_info.total_claimed += 1; - } - return new HtmlTagHydration(is_svg, claimed_nodes); -} - -/** - * @param {Text} text - * @param {unknown} data - * @returns {void} - */ -function set_data(text, data) { - data = '' + data; - if (text.data === data) return; - text.data = /** @type {string} */ (data); -} - -/** - * @param {Text} text - * @param {unknown} data - * @returns {void} - */ -function set_data_contenteditable(text, data) { - data = '' + data; - if (text.wholeText === data) return; - text.data = /** @type {string} */ (data); -} - -/** - * @param {Text} text - * @param {unknown} data - * @param {string} attr_value - * @returns {void} - */ -function set_data_maybe_contenteditable(text, data, attr_value) { - if (~_utils_js__WEBPACK_IMPORTED_MODULE_1__.contenteditable_truthy_values.indexOf(attr_value)) { - set_data_contenteditable(text, data); - } else { - set_data(text, data); - } -} - -/** - * @returns {void} */ -function set_input_value(input, value) { - input.value = value == null ? '' : value; -} - -/** - * @returns {void} */ -function set_input_type(input, type) { - try { - input.type = type; - } catch (e) { - // do nothing - } -} - -/** - * @returns {void} */ -function set_style(node, key, value, important) { - if (value == null) { - node.style.removeProperty(key); - } else { - node.style.setProperty(key, value, important ? 'important' : ''); - } -} - -/** - * @returns {void} */ -function select_option(select, value, mounting) { - for (let i = 0; i < select.options.length; i += 1) { - const option = select.options[i]; - if (option.__value === value) { - option.selected = true; - return; - } - } - if (!mounting || value !== undefined) { - select.selectedIndex = -1; // no option should be selected - } -} - -/** - * @returns {void} */ -function select_options(select, value) { - for (let i = 0; i < select.options.length; i += 1) { - const option = select.options[i]; - option.selected = ~value.indexOf(option.__value); - } -} - -function select_value(select) { - const selected_option = select.querySelector(':checked'); - return selected_option && selected_option.__value; -} - -function select_multiple_value(select) { - return [].map.call(select.querySelectorAll(':checked'), (option) => option.__value); -} -// unfortunately this can't be a constant as that wouldn't be tree-shakeable -// so we cache the result instead - -/** - * @type {boolean} */ -let crossorigin; - -/** - * @returns {boolean} */ -function is_crossorigin() { - if (crossorigin === undefined) { - crossorigin = false; - try { - if (typeof window !== 'undefined' && window.parent) { - void window.parent.document; - } - } catch (error) { - crossorigin = true; - } - } - return crossorigin; -} - -/** - * @param {HTMLElement} node - * @param {() => void} fn - * @returns {() => void} - */ -function add_iframe_resize_listener(node, fn) { - const computed_style = getComputedStyle(node); - if (computed_style.position === 'static') { - node.style.position = 'relative'; - } - const iframe = element('iframe'); - iframe.setAttribute( - 'style', - 'display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; ' + - 'overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;' - ); - iframe.setAttribute('aria-hidden', 'true'); - iframe.tabIndex = -1; - const crossorigin = is_crossorigin(); - - /** - * @type {() => void} - */ - let unsubscribe; - if (crossorigin) { - iframe.src = "data:text/html,"; - unsubscribe = listen( - window, - 'message', - /** @param {MessageEvent} event */ (event) => { - if (event.source === iframe.contentWindow) fn(); - } - ); - } else { - iframe.src = 'about:blank'; - iframe.onload = () => { - unsubscribe = listen(iframe.contentWindow, 'resize', fn); - // make sure an initial resize event is fired _after_ the iframe is loaded (which is asynchronous) - // see https://github.com/sveltejs/svelte/issues/4233 - fn(); - }; - } - append(node, iframe); - return () => { - if (crossorigin) { - unsubscribe(); - } else if (unsubscribe && iframe.contentWindow) { - unsubscribe(); - } - detach(iframe); - }; -} -const resize_observer_content_box = /* @__PURE__ */ new _ResizeObserverSingleton_js__WEBPACK_IMPORTED_MODULE_0__.ResizeObserverSingleton({ - box: 'content-box' -}); -const resize_observer_border_box = /* @__PURE__ */ new _ResizeObserverSingleton_js__WEBPACK_IMPORTED_MODULE_0__.ResizeObserverSingleton({ - box: 'border-box' -}); -const resize_observer_device_pixel_content_box = /* @__PURE__ */ new _ResizeObserverSingleton_js__WEBPACK_IMPORTED_MODULE_0__.ResizeObserverSingleton( - { box: 'device-pixel-content-box' } -); - - -/** - * @returns {void} */ -function toggle_class(element, name, toggle) { - // The `!!` is required because an `undefined` flag means flipping the current state. - element.classList.toggle(name, !!toggle); -} - -/** - * @template T - * @param {string} type - * @param {T} [detail] - * @param {{ bubbles?: boolean, cancelable?: boolean }} [options] - * @returns {CustomEvent} - */ -function custom_event(type, detail, { bubbles = false, cancelable = false } = {}) { - return new CustomEvent(type, { detail, bubbles, cancelable }); -} - -/** - * @param {string} selector - * @param {HTMLElement} parent - * @returns {ChildNodeArray} - */ -function query_selector_all(selector, parent = document.body) { - return Array.from(parent.querySelectorAll(selector)); -} - -/** - * @param {string} nodeId - * @param {HTMLElement} head - * @returns {any[]} - */ -function head_selector(nodeId, head) { - const result = []; - let started = 0; - for (const node of head.childNodes) { - if (node.nodeType === 8 /* comment node */) { - const comment = node.textContent.trim(); - if (comment === `HEAD_${nodeId}_END`) { - started -= 1; - result.push(node); - } else if (comment === `HEAD_${nodeId}_START`) { - started += 1; - result.push(node); - } - } else if (started > 0) { - result.push(node); - } - } - return result; -} -/** */ -class HtmlTag { - /** - * @private - * @default false - */ - is_svg = false; - /** parent for creating node */ - e = undefined; - /** html tag nodes */ - n = undefined; - /** target */ - t = undefined; - /** anchor */ - a = undefined; - constructor(is_svg = false) { - this.is_svg = is_svg; - this.e = this.n = null; - } - - /** - * @param {string} html - * @returns {void} - */ - c(html) { - this.h(html); - } - - /** - * @param {string} html - * @param {HTMLElement | SVGElement} target - * @param {HTMLElement | SVGElement} anchor - * @returns {void} - */ - m(html, target, anchor = null) { - if (!this.e) { - if (this.is_svg) - this.e = svg_element(/** @type {keyof SVGElementTagNameMap} */ (target.nodeName)); - /** #7364 target for